From 9a5352e0eb9b683193ebcd15b1e6ea6dd7b156ba Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Thu, 30 Mar 2023 22:04:23 +0000 Subject: [PATCH 1/2] chore: update import paths for Go targets to match open source location chore: update go_package in protos to match open source location chore: add explicit release levels to Go gapic targets PiperOrigin-RevId: 520705454 Source-Link: https://github.com/googleapis/googleapis/commit/1cfcea4fbef317c44cc13d73017a0b0462c4737d Source-Link: https://github.com/googleapis/googleapis-gen/commit/15732ab75211b0255433d6f87415e8a3ce466826 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMTU3MzJhYjc1MjExYjAyNTU0MzNkNmY4NzQxNWU4YTNjZTQ2NjgyNiJ9 --- .../database/v1/DatabaseAdminClient.java | 0 .../database/v1/DatabaseAdminSettings.java | 1 + .../admin/database/v1/gapic_metadata.json | 0 .../admin/database/v1/package-info.java | 0 .../database/v1/stub/DatabaseAdminStub.java | 0 .../v1/stub/DatabaseAdminStubSettings.java | 0 .../GrpcDatabaseAdminCallableFactory.java | 0 .../v1/stub/GrpcDatabaseAdminStub.java | 1 + .../HttpJsonDatabaseAdminCallableFactory.java | 0 .../v1/stub/HttpJsonDatabaseAdminStub.java | 1 + .../instance/v1/InstanceAdminClient.java | 0 .../instance/v1/InstanceAdminSettings.java | 1 + .../admin/instance/v1/gapic_metadata.json | 0 .../admin/instance/v1/package-info.java | 0 .../GrpcInstanceAdminCallableFactory.java | 0 .../v1/stub/GrpcInstanceAdminStub.java | 1 + .../HttpJsonInstanceAdminCallableFactory.java | 0 .../v1/stub/HttpJsonInstanceAdminStub.java | 1 + .../instance/v1/stub/InstanceAdminStub.java | 0 .../v1/stub/InstanceAdminStubSettings.java | 0 .../cloud/spanner/v1/SpannerClient.java | 0 .../cloud/spanner/v1/SpannerSettings.java | 1 + .../cloud/spanner/v1/gapic_metadata.json | 0 .../google/cloud/spanner/v1/package-info.java | 0 .../v1/stub/GrpcSpannerCallableFactory.java | 0 .../spanner/v1/stub/GrpcSpannerStub.java | 1 + .../stub/HttpJsonSpannerCallableFactory.java | 0 .../spanner/v1/stub/HttpJsonSpannerStub.java | 0 .../cloud/spanner/v1/stub/SpannerStub.java | 0 .../spanner/v1/stub/SpannerStubSettings.java | 0 .../v1/DatabaseAdminClientHttpJsonTest.java | 2274 +++++++++++++++++ .../database/v1/DatabaseAdminClientTest.java | 2104 +++++++++++++++ .../admin/database/v1/MockDatabaseAdmin.java | 59 + .../database/v1/MockDatabaseAdminImpl.java | 486 ++++ .../v1/InstanceAdminClientHttpJsonTest.java | 1461 +++++++++++ .../instance/v1/InstanceAdminClientTest.java | 1318 ++++++++++ .../admin/instance/v1/MockInstanceAdmin.java | 59 + .../instance/v1/MockInstanceAdminImpl.java | 377 +++ .../google/cloud/spanner/v1/MockSpanner.java | 59 + .../cloud/spanner/v1/MockSpannerImpl.java | 393 +++ .../spanner/v1/SpannerClientHttpJsonTest.java | 1318 ++++++++++ .../cloud/spanner/v1/SpannerClientTest.java | 1362 ++++++++++ .../admin/database/v1/DatabaseAdminGrpc.java | 1919 +++++--------- .../admin/instance/v1/InstanceAdminGrpc.java | 1471 ++++------- .../com/google/spanner/v1/SpannerGrpc.java | 1395 ++++------ .../spanner/admin/database/v1/Backup.java | 1581 ++++-------- .../spanner/admin/database/v1/BackupInfo.java | 572 ++--- .../database/v1/BackupInfoOrBuilder.java | 52 +- .../spanner/admin/database/v1/BackupName.java | 0 .../admin/database/v1/BackupOrBuilder.java | 208 +- .../admin/database/v1/BackupProto.java | 324 +++ .../admin/database/v1/CommonProto.java | 117 + .../v1/CopyBackupEncryptionConfig.java | 564 ++-- .../CopyBackupEncryptionConfigOrBuilder.java | 52 +- .../admin/database/v1/CopyBackupMetadata.java | 584 ++--- .../v1/CopyBackupMetadataOrBuilder.java | 52 +- .../admin/database/v1/CopyBackupRequest.java | 814 +++--- .../v1/CopyBackupRequestOrBuilder.java | 101 +- .../v1/CreateBackupEncryptionConfig.java | 572 ++--- ...CreateBackupEncryptionConfigOrBuilder.java | 52 +- .../database/v1/CreateBackupMetadata.java | 584 ++--- .../v1/CreateBackupMetadataOrBuilder.java | 52 +- .../database/v1/CreateBackupRequest.java | 734 ++---- .../v1/CreateBackupRequestOrBuilder.java | 87 +- .../database/v1/CreateDatabaseMetadata.java | 328 +-- .../v1/CreateDatabaseMetadataOrBuilder.java | 27 +- .../database/v1/CreateDatabaseRequest.java | 786 ++---- .../v1/CreateDatabaseRequestOrBuilder.java | 96 +- .../spanner/admin/database/v1/Database.java | 1557 ++++------- .../admin/database/v1/DatabaseDialect.java | 82 +- .../admin/database/v1/DatabaseName.java | 0 .../admin/database/v1/DatabaseOrBuilder.java | 185 +- .../admin/database/v1/DatabaseRole.java | 325 +-- .../database/v1/DatabaseRoleOrBuilder.java | 27 +- .../database/v1/DeleteBackupRequest.java | 356 ++- .../v1/DeleteBackupRequestOrBuilder.java | 33 + .../database/v1/DropDatabaseRequest.java | 356 ++- .../v1/DropDatabaseRequestOrBuilder.java | 29 + .../admin/database/v1/EncryptionConfig.java | 328 +-- .../v1/EncryptionConfigOrBuilder.java | 27 +- .../admin/database/v1/EncryptionInfo.java | 649 ++--- .../database/v1/EncryptionInfoOrBuilder.java | 66 +- .../admin/database/v1/GetBackupRequest.java | 356 ++- .../v1/GetBackupRequestOrBuilder.java | 33 + .../database/v1/GetDatabaseDdlRequest.java | 356 ++- .../v1/GetDatabaseDdlRequestOrBuilder.java | 33 + .../database/v1/GetDatabaseDdlResponse.java | 360 ++- .../v1/GetDatabaseDdlResponseOrBuilder.java | 36 +- .../admin/database/v1/GetDatabaseRequest.java | 356 ++- .../v1/GetDatabaseRequestOrBuilder.java | 31 + .../admin/database/v1/InstanceName.java | 0 .../v1/ListBackupOperationsRequest.java | 558 ++-- .../ListBackupOperationsRequestOrBuilder.java | 56 +- .../v1/ListBackupOperationsResponse.java | 518 ++-- ...ListBackupOperationsResponseOrBuilder.java | 46 +- .../admin/database/v1/ListBackupsRequest.java | 535 ++-- .../v1/ListBackupsRequestOrBuilder.java | 56 +- .../database/v1/ListBackupsResponse.java | 489 ++-- .../v1/ListBackupsResponseOrBuilder.java | 45 +- .../v1/ListDatabaseOperationsRequest.java | 570 ++--- ...istDatabaseOperationsRequestOrBuilder.java | 56 +- .../v1/ListDatabaseOperationsResponse.java | 525 ++-- ...stDatabaseOperationsResponseOrBuilder.java | 46 +- .../database/v1/ListDatabaseRolesRequest.java | 471 ++-- .../v1/ListDatabaseRolesRequestOrBuilder.java | 47 +- .../v1/ListDatabaseRolesResponse.java | 492 ++-- .../ListDatabaseRolesResponseOrBuilder.java | 45 +- .../database/v1/ListDatabasesRequest.java | 461 ++-- .../v1/ListDatabasesRequestOrBuilder.java | 47 +- .../database/v1/ListDatabasesResponse.java | 489 ++-- .../v1/ListDatabasesResponseOrBuilder.java | 45 +- .../admin/database/v1/OperationProgress.java | 458 ++-- .../v1/OperationProgressOrBuilder.java | 37 +- .../v1/OptimizeRestoredDatabaseMetadata.java | 461 ++-- ...mizeRestoredDatabaseMetadataOrBuilder.java | 35 +- .../v1/RestoreDatabaseEncryptionConfig.java | 579 ++--- ...toreDatabaseEncryptionConfigOrBuilder.java | 52 +- .../database/v1/RestoreDatabaseMetadata.java | 794 +++--- .../v1/RestoreDatabaseMetadataOrBuilder.java | 69 +- .../database/v1/RestoreDatabaseRequest.java | 730 ++---- .../v1/RestoreDatabaseRequestOrBuilder.java | 79 +- .../admin/database/v1/RestoreInfo.java | 445 ++-- .../database/v1/RestoreInfoOrBuilder.java | 32 +- .../admin/database/v1/RestoreSourceType.java | 77 +- .../v1/SpannerDatabaseAdminProto.java | 541 ++++ .../database/v1/UpdateBackupRequest.java | 529 ++-- .../v1/UpdateBackupRequestOrBuilder.java | 55 +- .../v1/UpdateDatabaseDdlMetadata.java | 793 +++--- .../UpdateDatabaseDdlMetadataOrBuilder.java | 84 +- .../database/v1/UpdateDatabaseDdlRequest.java | 544 ++-- .../v1/UpdateDatabaseDdlRequestOrBuilder.java | 62 +- .../spanner/admin/database/v1/backup.proto | 2 +- .../spanner/admin/database/v1/common.proto | 2 +- .../database/v1/spanner_database_admin.proto | 2 +- .../admin/instance/v1/CommonProto.java | 60 + .../v1/CreateInstanceConfigMetadata.java | 573 ++--- ...CreateInstanceConfigMetadataOrBuilder.java | 42 +- .../v1/CreateInstanceConfigRequest.java | 634 ++--- .../CreateInstanceConfigRequestOrBuilder.java | 67 +- .../instance/v1/CreateInstanceMetadata.java | 608 ++--- .../v1/CreateInstanceMetadataOrBuilder.java | 50 +- .../instance/v1/CreateInstanceRequest.java | 570 ++--- .../v1/CreateInstanceRequestOrBuilder.java | 64 +- .../v1/DeleteInstanceConfigRequest.java | 487 ++-- .../DeleteInstanceConfigRequestOrBuilder.java | 47 +- .../instance/v1/DeleteInstanceRequest.java | 356 ++- .../v1/DeleteInstanceRequestOrBuilder.java | 31 + .../instance/v1/GetInstanceConfigRequest.java | 366 ++- .../v1/GetInstanceConfigRequestOrBuilder.java | 31 + .../admin/instance/v1/GetInstanceRequest.java | 439 ++-- .../v1/GetInstanceRequestOrBuilder.java | 43 +- .../spanner/admin/instance/v1/Instance.java | 1336 ++++------ .../admin/instance/v1/InstanceConfig.java | 1643 +++++------- .../admin/instance/v1/InstanceConfigName.java | 0 .../instance/v1/InstanceConfigOrBuilder.java | 189 +- .../admin/instance/v1/InstanceName.java | 0 .../admin/instance/v1/InstanceOrBuilder.java | 155 +- .../ListInstanceConfigOperationsRequest.java | 587 ++--- ...tanceConfigOperationsRequestOrBuilder.java | 56 +- .../ListInstanceConfigOperationsResponse.java | 543 ++-- ...anceConfigOperationsResponseOrBuilder.java | 46 +- .../v1/ListInstanceConfigsRequest.java | 484 ++-- .../ListInstanceConfigsRequestOrBuilder.java | 47 +- .../v1/ListInstanceConfigsResponse.java | 498 ++-- .../ListInstanceConfigsResponseOrBuilder.java | 42 +- .../instance/v1/ListInstancesRequest.java | 535 ++-- .../v1/ListInstancesRequestOrBuilder.java | 56 +- .../instance/v1/ListInstancesResponse.java | 489 ++-- .../v1/ListInstancesResponseOrBuilder.java | 45 +- .../admin/instance/v1/OperationProgress.java | 458 ++-- .../v1/OperationProgressOrBuilder.java | 37 +- .../admin/instance/v1/ProjectName.java | 0 .../admin/instance/v1/ReplicaInfo.java | 502 ++-- .../instance/v1/ReplicaInfoOrBuilder.java | 36 +- .../v1/SpannerInstanceAdminProto.java | 534 ++++ .../v1/UpdateInstanceConfigMetadata.java | 573 ++--- ...UpdateInstanceConfigMetadataOrBuilder.java | 42 +- .../v1/UpdateInstanceConfigRequest.java | 590 ++--- .../UpdateInstanceConfigRequestOrBuilder.java | 58 +- .../instance/v1/UpdateInstanceMetadata.java | 608 ++--- .../v1/UpdateInstanceMetadataOrBuilder.java | 50 +- .../instance/v1/UpdateInstanceRequest.java | 520 ++-- .../v1/UpdateInstanceRequestOrBuilder.java | 55 +- .../spanner/admin/instance/v1/common.proto | 2 +- .../instance/v1/spanner_instance_admin.proto | 2 +- .../v1/BatchCreateSessionsRequest.java | 484 ++-- .../BatchCreateSessionsRequestOrBuilder.java | 46 +- .../v1/BatchCreateSessionsResponse.java | 418 ++- .../BatchCreateSessionsResponseOrBuilder.java | 37 +- .../spanner/v1/BeginTransactionRequest.java | 589 ++--- .../v1/BeginTransactionRequestOrBuilder.java | 63 +- .../com/google/spanner/v1/CommitRequest.java | 820 +++--- .../spanner/v1/CommitRequestOrBuilder.java | 79 +- .../com/google/spanner/v1/CommitResponse.java | 714 +++--- .../spanner/v1/CommitResponseOrBuilder.java | 34 +- .../spanner/v1/CommitResponseProto.java | 70 + .../spanner/v1/CreateSessionRequest.java | 456 ++-- .../v1/CreateSessionRequestOrBuilder.java | 43 +- .../com/google/spanner/v1/DatabaseName.java | 0 .../spanner/v1/DeleteSessionRequest.java | 346 +-- .../v1/DeleteSessionRequestOrBuilder.java | 29 + .../spanner/v1/ExecuteBatchDmlRequest.java | 1537 +++++------ .../v1/ExecuteBatchDmlRequestOrBuilder.java | 104 +- .../spanner/v1/ExecuteBatchDmlResponse.java | 480 ++-- .../v1/ExecuteBatchDmlResponseOrBuilder.java | 45 +- .../google/spanner/v1/ExecuteSqlRequest.java | 1683 +++++------- .../v1/ExecuteSqlRequestOrBuilder.java | 124 +- .../google/spanner/v1/GetSessionRequest.java | 343 +-- .../v1/GetSessionRequestOrBuilder.java | 29 + .../java/com/google/spanner/v1/KeyRange.java | 697 ++--- .../google/spanner/v1/KeyRangeOrBuilder.java | 50 +- .../java/com/google/spanner/v1/KeySet.java | 587 ++--- .../google/spanner/v1/KeySetOrBuilder.java | 59 +- .../java/com/google/spanner/v1/KeysProto.java | 74 + .../spanner/v1/ListSessionsRequest.java | 525 ++-- .../v1/ListSessionsRequestOrBuilder.java | 56 +- .../spanner/v1/ListSessionsResponse.java | 480 ++-- .../v1/ListSessionsResponseOrBuilder.java | 46 +- .../java/com/google/spanner/v1/Mutation.java | 1788 +++++-------- .../google/spanner/v1/MutationOrBuilder.java | 58 +- .../com/google/spanner/v1/MutationProto.java | 99 + .../google/spanner/v1/PartialResultSet.java | 655 ++--- .../spanner/v1/PartialResultSetOrBuilder.java | 59 +- .../java/com/google/spanner/v1/Partition.java | 266 +- .../google/spanner/v1/PartitionOptions.java | 314 +-- .../spanner/v1/PartitionOptionsOrBuilder.java | 24 +- .../google/spanner/v1/PartitionOrBuilder.java | 21 + .../spanner/v1/PartitionQueryRequest.java | 923 +++---- .../v1/PartitionQueryRequestOrBuilder.java | 98 +- .../spanner/v1/PartitionReadRequest.java | 867 +++---- .../v1/PartitionReadRequestOrBuilder.java | 95 +- .../google/spanner/v1/PartitionResponse.java | 497 ++-- .../v1/PartitionResponseOrBuilder.java | 45 +- .../java/com/google/spanner/v1/PlanNode.java | 1918 ++++++-------- .../google/spanner/v1/PlanNodeOrBuilder.java | 78 +- .../java/com/google/spanner/v1/QueryPlan.java | 395 ++- .../google/spanner/v1/QueryPlanOrBuilder.java | 37 +- .../com/google/spanner/v1/QueryPlanProto.java | 116 + .../com/google/spanner/v1/ReadRequest.java | 1002 +++----- .../spanner/v1/ReadRequestOrBuilder.java | 107 +- .../com/google/spanner/v1/RequestOptions.java | 512 ++-- .../spanner/v1/RequestOptionsOrBuilder.java | 42 +- .../java/com/google/spanner/v1/ResultSet.java | 578 ++--- .../google/spanner/v1/ResultSetMetadata.java | 526 ++-- .../v1/ResultSetMetadataOrBuilder.java | 42 +- .../google/spanner/v1/ResultSetOrBuilder.java | 53 +- .../com/google/spanner/v1/ResultSetProto.java | 115 + .../com/google/spanner/v1/ResultSetStats.java | 562 ++-- .../spanner/v1/ResultSetStatsOrBuilder.java | 46 +- .../google/spanner/v1/RollbackRequest.java | 375 ++- .../spanner/v1/RollbackRequestOrBuilder.java | 39 + .../java/com/google/spanner/v1/Session.java | 904 +++---- .../com/google/spanner/v1/SessionName.java | 0 .../google/spanner/v1/SessionOrBuilder.java | 103 +- .../com/google/spanner/v1/SpannerProto.java | 583 +++++ .../com/google/spanner/v1/StructType.java | 788 +++--- .../spanner/v1/StructTypeOrBuilder.java | 36 +- .../com/google/spanner/v1/Transaction.java | 370 ++- .../google/spanner/v1/TransactionOptions.java | 2019 ++++++--------- .../v1/TransactionOptionsOrBuilder.java | 42 +- .../spanner/v1/TransactionOrBuilder.java | 29 +- .../google/spanner/v1/TransactionProto.java | 137 + .../spanner/v1/TransactionSelector.java | 534 ++-- .../v1/TransactionSelectorOrBuilder.java | 40 +- .../main/java/com/google/spanner/v1/Type.java | 517 ++-- .../google/spanner/v1/TypeAnnotationCode.java | 80 +- .../java/com/google/spanner/v1/TypeCode.java | 143 +- .../com/google/spanner/v1/TypeOrBuilder.java | 46 +- .../java/com/google/spanner/v1/TypeProto.java | 96 + .../google/spanner/v1/commit_response.proto | 2 +- .../main/proto/google/spanner/v1/keys.proto | 2 +- .../proto/google/spanner/v1/mutation.proto | 2 +- .../proto/google/spanner/v1/query_plan.proto | 2 +- .../proto/google/spanner/v1/result_set.proto | 2 +- .../proto/google/spanner/v1/spanner.proto | 2 +- .../proto/google/spanner/v1/transaction.proto | 2 +- .../main/proto/google/spanner/v1/type.proto | 2 +- .../admin/database/v1/BackupProto.java | 364 --- .../admin/database/v1/CommonProto.java | 135 - .../v1/DeleteBackupRequestOrBuilder.java | 58 - .../v1/DropDatabaseRequestOrBuilder.java | 54 - .../v1/GetBackupRequestOrBuilder.java | 58 - .../v1/GetDatabaseDdlRequestOrBuilder.java | 58 - .../v1/GetDatabaseRequestOrBuilder.java | 56 - .../v1/SpannerDatabaseAdminProto.java | 591 ----- .../admin/instance/v1/CommonProto.java | 76 - .../v1/DeleteInstanceRequestOrBuilder.java | 56 - .../v1/GetInstanceConfigRequestOrBuilder.java | 56 - .../v1/SpannerInstanceAdminProto.java | 594 ----- .../spanner/v1/CommitResponseProto.java | 86 - .../v1/DeleteSessionRequestOrBuilder.java | 54 - .../v1/GetSessionRequestOrBuilder.java | 54 - .../java/com/google/spanner/v1/KeysProto.java | 89 - .../com/google/spanner/v1/MutationProto.java | 116 - .../google/spanner/v1/PartitionOrBuilder.java | 40 - .../com/google/spanner/v1/QueryPlanProto.java | 143 -- .../com/google/spanner/v1/ResultSetProto.java | 133 - .../spanner/v1/RollbackRequestOrBuilder.java | 67 - .../com/google/spanner/v1/SpannerProto.java | 652 ----- .../google/spanner/v1/TransactionProto.java | 161 -- .../java/com/google/spanner/v1/TypeProto.java | 113 - 301 files changed, 40871 insertions(+), 50303 deletions(-) rename {google-cloud-spanner => owl-bot-staging/v1/google-cloud-spanner}/src/main/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminClient.java (100%) rename {google-cloud-spanner => owl-bot-staging/v1/google-cloud-spanner}/src/main/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminSettings.java (99%) rename {google-cloud-spanner => owl-bot-staging/v1/google-cloud-spanner}/src/main/java/com/google/cloud/spanner/admin/database/v1/gapic_metadata.json (100%) rename {google-cloud-spanner => owl-bot-staging/v1/google-cloud-spanner}/src/main/java/com/google/cloud/spanner/admin/database/v1/package-info.java (100%) rename {google-cloud-spanner => owl-bot-staging/v1/google-cloud-spanner}/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/DatabaseAdminStub.java (100%) rename {google-cloud-spanner => owl-bot-staging/v1/google-cloud-spanner}/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/DatabaseAdminStubSettings.java (100%) rename {google-cloud-spanner => owl-bot-staging/v1/google-cloud-spanner}/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/GrpcDatabaseAdminCallableFactory.java (100%) rename {google-cloud-spanner => owl-bot-staging/v1/google-cloud-spanner}/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/GrpcDatabaseAdminStub.java (99%) rename {google-cloud-spanner => owl-bot-staging/v1/google-cloud-spanner}/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/HttpJsonDatabaseAdminCallableFactory.java (100%) rename {google-cloud-spanner => owl-bot-staging/v1/google-cloud-spanner}/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/HttpJsonDatabaseAdminStub.java (99%) rename {google-cloud-spanner => owl-bot-staging/v1/google-cloud-spanner}/src/main/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminClient.java (100%) rename {google-cloud-spanner => owl-bot-staging/v1/google-cloud-spanner}/src/main/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminSettings.java (99%) rename {google-cloud-spanner => owl-bot-staging/v1/google-cloud-spanner}/src/main/java/com/google/cloud/spanner/admin/instance/v1/gapic_metadata.json (100%) rename {google-cloud-spanner => owl-bot-staging/v1/google-cloud-spanner}/src/main/java/com/google/cloud/spanner/admin/instance/v1/package-info.java (100%) rename {google-cloud-spanner => owl-bot-staging/v1/google-cloud-spanner}/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/GrpcInstanceAdminCallableFactory.java (100%) rename {google-cloud-spanner => owl-bot-staging/v1/google-cloud-spanner}/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/GrpcInstanceAdminStub.java (99%) rename {google-cloud-spanner => owl-bot-staging/v1/google-cloud-spanner}/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/HttpJsonInstanceAdminCallableFactory.java (100%) rename {google-cloud-spanner => owl-bot-staging/v1/google-cloud-spanner}/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/HttpJsonInstanceAdminStub.java (99%) rename {google-cloud-spanner => owl-bot-staging/v1/google-cloud-spanner}/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/InstanceAdminStub.java (100%) rename {google-cloud-spanner => owl-bot-staging/v1/google-cloud-spanner}/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/InstanceAdminStubSettings.java (100%) rename {google-cloud-spanner => owl-bot-staging/v1/google-cloud-spanner}/src/main/java/com/google/cloud/spanner/v1/SpannerClient.java (100%) rename {google-cloud-spanner => owl-bot-staging/v1/google-cloud-spanner}/src/main/java/com/google/cloud/spanner/v1/SpannerSettings.java (99%) rename {google-cloud-spanner => owl-bot-staging/v1/google-cloud-spanner}/src/main/java/com/google/cloud/spanner/v1/gapic_metadata.json (100%) rename {google-cloud-spanner => owl-bot-staging/v1/google-cloud-spanner}/src/main/java/com/google/cloud/spanner/v1/package-info.java (100%) rename {google-cloud-spanner => owl-bot-staging/v1/google-cloud-spanner}/src/main/java/com/google/cloud/spanner/v1/stub/GrpcSpannerCallableFactory.java (100%) rename {google-cloud-spanner => owl-bot-staging/v1/google-cloud-spanner}/src/main/java/com/google/cloud/spanner/v1/stub/GrpcSpannerStub.java (99%) rename {google-cloud-spanner => owl-bot-staging/v1/google-cloud-spanner}/src/main/java/com/google/cloud/spanner/v1/stub/HttpJsonSpannerCallableFactory.java (100%) rename {google-cloud-spanner => owl-bot-staging/v1/google-cloud-spanner}/src/main/java/com/google/cloud/spanner/v1/stub/HttpJsonSpannerStub.java (100%) rename {google-cloud-spanner => owl-bot-staging/v1/google-cloud-spanner}/src/main/java/com/google/cloud/spanner/v1/stub/SpannerStub.java (100%) rename {google-cloud-spanner => owl-bot-staging/v1/google-cloud-spanner}/src/main/java/com/google/cloud/spanner/v1/stub/SpannerStubSettings.java (100%) create mode 100644 owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminClientHttpJsonTest.java create mode 100644 owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminClientTest.java create mode 100644 owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/database/v1/MockDatabaseAdmin.java create mode 100644 owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/database/v1/MockDatabaseAdminImpl.java create mode 100644 owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminClientHttpJsonTest.java create mode 100644 owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminClientTest.java create mode 100644 owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/instance/v1/MockInstanceAdmin.java create mode 100644 owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/instance/v1/MockInstanceAdminImpl.java create mode 100644 owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/v1/MockSpanner.java create mode 100644 owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/v1/MockSpannerImpl.java create mode 100644 owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/v1/SpannerClientHttpJsonTest.java create mode 100644 owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/v1/SpannerClientTest.java rename {grpc-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/grpc-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/DatabaseAdminGrpc.java (54%) rename {grpc-google-cloud-spanner-admin-instance-v1 => owl-bot-staging/v1/grpc-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/InstanceAdminGrpc.java (63%) rename {grpc-google-cloud-spanner-v1 => owl-bot-staging/v1/grpc-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/SpannerGrpc.java (59%) rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/Backup.java (73%) rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/BackupInfo.java (73%) rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/BackupInfoOrBuilder.java (80%) rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/BackupName.java (100%) rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/BackupOrBuilder.java (78%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupProto.java create mode 100644 owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CommonProto.java rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/CopyBackupEncryptionConfig.java (62%) rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/CopyBackupEncryptionConfigOrBuilder.java (53%) rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/CopyBackupMetadata.java (76%) rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/CopyBackupMetadataOrBuilder.java (86%) rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/CopyBackupRequest.java (69%) rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/CopyBackupRequestOrBuilder.java (71%) rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/CreateBackupEncryptionConfig.java (61%) rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/CreateBackupEncryptionConfigOrBuilder.java (53%) rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/CreateBackupMetadata.java (75%) rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/CreateBackupMetadataOrBuilder.java (85%) rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/CreateBackupRequest.java (65%) rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/CreateBackupRequestOrBuilder.java (65%) rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseMetadata.java (66%) rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseMetadataOrBuilder.java (50%) rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseRequest.java (69%) rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseRequestOrBuilder.java (72%) rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/Database.java (69%) rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/DatabaseDialect.java (67%) rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/DatabaseName.java (100%) rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/DatabaseOrBuilder.java (73%) rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/DatabaseRole.java (69%) rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/DatabaseRoleOrBuilder.java (64%) rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/DeleteBackupRequest.java (63%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DeleteBackupRequestOrBuilder.java rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/DropDatabaseRequest.java (63%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DropDatabaseRequestOrBuilder.java rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/EncryptionConfig.java (67%) rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/EncryptionConfigOrBuilder.java (60%) rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/EncryptionInfo.java (65%) rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/EncryptionInfoOrBuilder.java (58%) rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/GetBackupRequest.java (62%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetBackupRequestOrBuilder.java rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlRequest.java (64%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlRequestOrBuilder.java rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlResponse.java (69%) rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlResponseOrBuilder.java (64%) rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseRequest.java (64%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseRequestOrBuilder.java rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/InstanceName.java (100%) rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsRequest.java (81%) rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsRequestOrBuilder.java (89%) rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsResponse.java (77%) rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsResponseOrBuilder.java (83%) rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/ListBackupsRequest.java (76%) rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/ListBackupsRequestOrBuilder.java (82%) rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/ListBackupsResponse.java (73%) rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/ListBackupsResponseOrBuilder.java (73%) rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsRequest.java (77%) rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsRequestOrBuilder.java (85%) rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsResponse.java (74%) rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsResponseOrBuilder.java (78%) rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesRequest.java (68%) rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesRequestOrBuilder.java (63%) rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesResponse.java (72%) rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesResponseOrBuilder.java (71%) rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesRequest.java (68%) rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesRequestOrBuilder.java (62%) rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesResponse.java (72%) rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesResponseOrBuilder.java (71%) rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/OperationProgress.java (70%) rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/OperationProgressOrBuilder.java (72%) rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/OptimizeRestoredDatabaseMetadata.java (65%) rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/OptimizeRestoredDatabaseMetadataOrBuilder.java (66%) rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseEncryptionConfig.java (61%) rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseEncryptionConfigOrBuilder.java (54%) rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseMetadata.java (77%) rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseMetadataOrBuilder.java (88%) rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseRequest.java (70%) rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseRequestOrBuilder.java (73%) rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/RestoreInfo.java (69%) rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/RestoreInfoOrBuilder.java (72%) rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/RestoreSourceType.java (66%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/SpannerDatabaseAdminProto.java rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/UpdateBackupRequest.java (68%) rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/UpdateBackupRequestOrBuilder.java (70%) rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlMetadata.java (79%) rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlMetadataOrBuilder.java (86%) rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlRequest.java (74%) rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlRequestOrBuilder.java (77%) rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/proto/google/spanner/admin/database/v1/backup.proto (99%) rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/proto/google/spanner/admin/database/v1/common.proto (97%) rename {proto-google-cloud-spanner-admin-database-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1}/src/main/proto/google/spanner/admin/database/v1/spanner_database_admin.proto (99%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CommonProto.java rename {proto-google-cloud-spanner-admin-instance-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigMetadata.java (68%) rename {proto-google-cloud-spanner-admin-instance-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigMetadataOrBuilder.java (78%) rename {proto-google-cloud-spanner-admin-instance-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigRequest.java (67%) rename {proto-google-cloud-spanner-admin-instance-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigRequestOrBuilder.java (68%) rename {proto-google-cloud-spanner-admin-instance-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceMetadata.java (73%) rename {proto-google-cloud-spanner-admin-instance-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceMetadataOrBuilder.java (82%) rename {proto-google-cloud-spanner-admin-instance-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceRequest.java (65%) rename {proto-google-cloud-spanner-admin-instance-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceRequestOrBuilder.java (59%) rename {proto-google-cloud-spanner-admin-instance-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceConfigRequest.java (68%) rename {proto-google-cloud-spanner-admin-instance-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceConfigRequestOrBuilder.java (66%) rename {proto-google-cloud-spanner-admin-instance-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceRequest.java (64%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceRequestOrBuilder.java rename {proto-google-cloud-spanner-admin-instance-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceConfigRequest.java (62%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceConfigRequestOrBuilder.java rename {proto-google-cloud-spanner-admin-instance-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceRequest.java (69%) rename {proto-google-cloud-spanner-admin-instance-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceRequestOrBuilder.java (66%) rename {proto-google-cloud-spanner-admin-instance-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/Instance.java (73%) rename {proto-google-cloud-spanner-admin-instance-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/InstanceConfig.java (74%) rename {proto-google-cloud-spanner-admin-instance-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/InstanceConfigName.java (100%) rename {proto-google-cloud-spanner-admin-instance-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/InstanceConfigOrBuilder.java (83%) rename {proto-google-cloud-spanner-admin-instance-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/InstanceName.java (100%) rename {proto-google-cloud-spanner-admin-instance-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/InstanceOrBuilder.java (85%) rename {proto-google-cloud-spanner-admin-instance-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsRequest.java (76%) rename {proto-google-cloud-spanner-admin-instance-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsRequestOrBuilder.java (84%) rename {proto-google-cloud-spanner-admin-instance-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsResponse.java (73%) rename {proto-google-cloud-spanner-admin-instance-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsResponseOrBuilder.java (78%) rename {proto-google-cloud-spanner-admin-instance-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsRequest.java (67%) rename {proto-google-cloud-spanner-admin-instance-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsRequestOrBuilder.java (63%) rename {proto-google-cloud-spanner-admin-instance-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsResponse.java (72%) rename {proto-google-cloud-spanner-admin-instance-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsResponseOrBuilder.java (73%) rename {proto-google-cloud-spanner-admin-instance-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesRequest.java (74%) rename {proto-google-cloud-spanner-admin-instance-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesRequestOrBuilder.java (76%) rename {proto-google-cloud-spanner-admin-instance-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesResponse.java (72%) rename {proto-google-cloud-spanner-admin-instance-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesResponseOrBuilder.java (71%) rename {proto-google-cloud-spanner-admin-instance-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/OperationProgress.java (70%) rename {proto-google-cloud-spanner-admin-instance-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/OperationProgressOrBuilder.java (72%) rename {proto-google-cloud-spanner-admin-instance-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/ProjectName.java (100%) rename {proto-google-cloud-spanner-admin-instance-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/ReplicaInfo.java (70%) rename {proto-google-cloud-spanner-admin-instance-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/ReplicaInfoOrBuilder.java (67%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/SpannerInstanceAdminProto.java rename {proto-google-cloud-spanner-admin-instance-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigMetadata.java (68%) rename {proto-google-cloud-spanner-admin-instance-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigMetadataOrBuilder.java (78%) rename {proto-google-cloud-spanner-admin-instance-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigRequest.java (69%) rename {proto-google-cloud-spanner-admin-instance-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigRequestOrBuilder.java (75%) rename {proto-google-cloud-spanner-admin-instance-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceMetadata.java (73%) rename {proto-google-cloud-spanner-admin-instance-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceMetadataOrBuilder.java (82%) rename {proto-google-cloud-spanner-admin-instance-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceRequest.java (69%) rename {proto-google-cloud-spanner-admin-instance-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceRequestOrBuilder.java (70%) rename {proto-google-cloud-spanner-admin-instance-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1}/src/main/proto/google/spanner/admin/instance/v1/common.proto (94%) rename {proto-google-cloud-spanner-admin-instance-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1}/src/main/proto/google/spanner/admin/instance/v1/spanner_instance_admin.proto (99%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/BatchCreateSessionsRequest.java (67%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/BatchCreateSessionsRequestOrBuilder.java (63%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/BatchCreateSessionsResponse.java (69%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/BatchCreateSessionsResponseOrBuilder.java (56%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/BeginTransactionRequest.java (65%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/BeginTransactionRequestOrBuilder.java (63%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/CommitRequest.java (75%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/CommitRequestOrBuilder.java (82%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/CommitResponse.java (71%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/CommitResponseOrBuilder.java (75%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitResponseProto.java rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/CreateSessionRequest.java (64%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/CreateSessionRequestOrBuilder.java (55%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/DatabaseName.java (100%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/DeleteSessionRequest.java (61%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/DeleteSessionRequestOrBuilder.java rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/ExecuteBatchDmlRequest.java (73%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/ExecuteBatchDmlRequestOrBuilder.java (69%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/ExecuteBatchDmlResponse.java (81%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/ExecuteBatchDmlResponseOrBuilder.java (84%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/ExecuteSqlRequest.java (78%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/ExecuteSqlRequestOrBuilder.java (88%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/GetSessionRequest.java (62%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/GetSessionRequestOrBuilder.java rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/KeyRange.java (76%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/KeyRangeOrBuilder.java (83%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/KeySet.java (78%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/KeySetOrBuilder.java (78%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeysProto.java rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/ListSessionsRequest.java (70%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/ListSessionsRequestOrBuilder.java (69%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/ListSessionsResponse.java (71%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/ListSessionsResponseOrBuilder.java (64%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/Mutation.java (80%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/MutationOrBuilder.java (89%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/MutationProto.java rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/PartialResultSet.java (89%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/PartialResultSetOrBuilder.java (94%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/Partition.java (67%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/PartitionOptions.java (70%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/PartitionOptionsOrBuilder.java (66%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionOrBuilder.java rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/PartitionQueryRequest.java (74%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/PartitionQueryRequestOrBuilder.java (84%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/PartitionReadRequest.java (75%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/PartitionReadRequestOrBuilder.java (83%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/PartitionResponse.java (71%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/PartitionResponseOrBuilder.java (69%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/PlanNode.java (75%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/PlanNodeOrBuilder.java (86%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/QueryPlan.java (74%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/QueryPlanOrBuilder.java (71%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/QueryPlanProto.java rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/ReadRequest.java (78%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/ReadRequestOrBuilder.java (87%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/RequestOptions.java (76%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/RequestOptionsOrBuilder.java (81%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/ResultSet.java (79%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/ResultSetMetadata.java (76%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/ResultSetMetadataOrBuilder.java (86%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/ResultSetOrBuilder.java (86%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetProto.java rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/ResultSetStats.java (73%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/ResultSetStatsOrBuilder.java (82%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/RollbackRequest.java (65%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RollbackRequestOrBuilder.java rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/Session.java (66%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/SessionName.java (100%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/SessionOrBuilder.java (75%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SpannerProto.java rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/StructType.java (77%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/StructTypeOrBuilder.java (79%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/Transaction.java (72%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/TransactionOptions.java (81%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/TransactionOptionsOrBuilder.java (83%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/TransactionOrBuilder.java (78%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionProto.java rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/TransactionSelector.java (73%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/TransactionSelectorOrBuilder.java (80%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/Type.java (75%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/TypeAnnotationCode.java (77%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/TypeCode.java (80%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/TypeOrBuilder.java (85%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeProto.java rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/proto/google/spanner/v1/commit_response.proto (96%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/proto/google/spanner/v1/keys.proto (98%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/proto/google/spanner/v1/mutation.proto (98%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/proto/google/spanner/v1/query_plan.proto (98%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/proto/google/spanner/v1/result_set.proto (99%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/proto/google/spanner/v1/spanner.proto (99%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/proto/google/spanner/v1/transaction.proto (99%) rename {proto-google-cloud-spanner-v1 => owl-bot-staging/v1/proto-google-cloud-spanner-v1}/src/main/proto/google/spanner/v1/type.proto (98%) delete mode 100644 proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupProto.java delete mode 100644 proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CommonProto.java delete mode 100644 proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DeleteBackupRequestOrBuilder.java delete mode 100644 proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DropDatabaseRequestOrBuilder.java delete mode 100644 proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetBackupRequestOrBuilder.java delete mode 100644 proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlRequestOrBuilder.java delete mode 100644 proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseRequestOrBuilder.java delete mode 100644 proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/SpannerDatabaseAdminProto.java delete mode 100644 proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CommonProto.java delete mode 100644 proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceRequestOrBuilder.java delete mode 100644 proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceConfigRequestOrBuilder.java delete mode 100644 proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/SpannerInstanceAdminProto.java delete mode 100644 proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitResponseProto.java delete mode 100644 proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/DeleteSessionRequestOrBuilder.java delete mode 100644 proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/GetSessionRequestOrBuilder.java delete mode 100644 proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeysProto.java delete mode 100644 proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/MutationProto.java delete mode 100644 proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionOrBuilder.java delete mode 100644 proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/QueryPlanProto.java delete mode 100644 proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetProto.java delete mode 100644 proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RollbackRequestOrBuilder.java delete mode 100644 proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SpannerProto.java delete mode 100644 proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionProto.java delete mode 100644 proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeProto.java diff --git a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminClient.java b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminClient.java similarity index 100% rename from google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminClient.java rename to owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminClient.java diff --git a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminSettings.java b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminSettings.java similarity index 99% rename from google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminSettings.java rename to owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminSettings.java index 7f86f2a522a..ba6eca8cf52 100644 --- a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminSettings.java +++ b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminSettings.java @@ -33,6 +33,7 @@ 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.cloud.spanner.admin.database.v1.stub.DatabaseAdminStubSettings; diff --git a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/gapic_metadata.json b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/gapic_metadata.json similarity index 100% rename from google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/gapic_metadata.json rename to owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/gapic_metadata.json diff --git a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/package-info.java b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/package-info.java similarity index 100% rename from google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/package-info.java rename to owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/package-info.java diff --git a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/DatabaseAdminStub.java b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/DatabaseAdminStub.java similarity index 100% rename from google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/DatabaseAdminStub.java rename to owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/DatabaseAdminStub.java diff --git a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/DatabaseAdminStubSettings.java b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/DatabaseAdminStubSettings.java similarity index 100% rename from google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/DatabaseAdminStubSettings.java rename to owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/DatabaseAdminStubSettings.java diff --git a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/GrpcDatabaseAdminCallableFactory.java b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/GrpcDatabaseAdminCallableFactory.java similarity index 100% rename from google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/GrpcDatabaseAdminCallableFactory.java rename to owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/GrpcDatabaseAdminCallableFactory.java diff --git a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/GrpcDatabaseAdminStub.java b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/GrpcDatabaseAdminStub.java similarity index 99% rename from google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/GrpcDatabaseAdminStub.java rename to owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/GrpcDatabaseAdminStub.java index 84b44e2ded8..4ab285d02e2 100644 --- a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/GrpcDatabaseAdminStub.java +++ b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/GrpcDatabaseAdminStub.java @@ -70,6 +70,7 @@ 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; diff --git a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/HttpJsonDatabaseAdminCallableFactory.java b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/HttpJsonDatabaseAdminCallableFactory.java similarity index 100% rename from google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/HttpJsonDatabaseAdminCallableFactory.java rename to owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/HttpJsonDatabaseAdminCallableFactory.java diff --git a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/HttpJsonDatabaseAdminStub.java b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/HttpJsonDatabaseAdminStub.java similarity index 99% rename from google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/HttpJsonDatabaseAdminStub.java rename to owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/HttpJsonDatabaseAdminStub.java index af9509761df..5c94c2eba56 100644 --- a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/HttpJsonDatabaseAdminStub.java +++ b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/HttpJsonDatabaseAdminStub.java @@ -35,6 +35,7 @@ import com.google.api.gax.httpjson.ProtoMessageResponseParser; import com.google.api.gax.httpjson.ProtoRestSerializer; import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; +import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.UnaryCallable; diff --git a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminClient.java b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminClient.java similarity index 100% rename from google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminClient.java rename to owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminClient.java diff --git a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminSettings.java b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminSettings.java similarity index 99% rename from google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminSettings.java rename to owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminSettings.java index 4409fa180e2..96a4bdb5c7f 100644 --- a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminSettings.java +++ b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminSettings.java @@ -31,6 +31,7 @@ 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.cloud.spanner.admin.instance.v1.stub.InstanceAdminStubSettings; diff --git a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/gapic_metadata.json b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/gapic_metadata.json similarity index 100% rename from google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/gapic_metadata.json rename to owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/gapic_metadata.json diff --git a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/package-info.java b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/package-info.java similarity index 100% rename from google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/package-info.java rename to owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/package-info.java diff --git a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/GrpcInstanceAdminCallableFactory.java b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/GrpcInstanceAdminCallableFactory.java similarity index 100% rename from google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/GrpcInstanceAdminCallableFactory.java rename to owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/GrpcInstanceAdminCallableFactory.java diff --git a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/GrpcInstanceAdminStub.java b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/GrpcInstanceAdminStub.java similarity index 99% rename from google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/GrpcInstanceAdminStub.java rename to owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/GrpcInstanceAdminStub.java index aef9f8725c7..1ec0df3bc99 100644 --- a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/GrpcInstanceAdminStub.java +++ b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/GrpcInstanceAdminStub.java @@ -59,6 +59,7 @@ 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; diff --git a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/HttpJsonInstanceAdminCallableFactory.java b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/HttpJsonInstanceAdminCallableFactory.java similarity index 100% rename from google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/HttpJsonInstanceAdminCallableFactory.java rename to owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/HttpJsonInstanceAdminCallableFactory.java diff --git a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/HttpJsonInstanceAdminStub.java b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/HttpJsonInstanceAdminStub.java similarity index 99% rename from google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/HttpJsonInstanceAdminStub.java rename to owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/HttpJsonInstanceAdminStub.java index 7266e61881f..4ea6fed1444 100644 --- a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/HttpJsonInstanceAdminStub.java +++ b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/HttpJsonInstanceAdminStub.java @@ -33,6 +33,7 @@ import com.google.api.gax.httpjson.ProtoMessageResponseParser; import com.google.api.gax.httpjson.ProtoRestSerializer; import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; +import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.UnaryCallable; diff --git a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/InstanceAdminStub.java b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/InstanceAdminStub.java similarity index 100% rename from google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/InstanceAdminStub.java rename to owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/InstanceAdminStub.java diff --git a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/InstanceAdminStubSettings.java b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/InstanceAdminStubSettings.java similarity index 100% rename from google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/InstanceAdminStubSettings.java rename to owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/InstanceAdminStubSettings.java diff --git a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/SpannerClient.java b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/SpannerClient.java similarity index 100% rename from google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/SpannerClient.java rename to owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/SpannerClient.java diff --git a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/SpannerSettings.java b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/SpannerSettings.java similarity index 99% rename from google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/SpannerSettings.java rename to owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/SpannerSettings.java index 6cec68b9a21..18fd2617b00 100644 --- a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/SpannerSettings.java +++ b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/SpannerSettings.java @@ -29,6 +29,7 @@ import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; 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.cloud.spanner.v1.stub.SpannerStubSettings; diff --git a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/gapic_metadata.json b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/gapic_metadata.json similarity index 100% rename from google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/gapic_metadata.json rename to owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/gapic_metadata.json diff --git a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/package-info.java b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/package-info.java similarity index 100% rename from google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/package-info.java rename to owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/package-info.java diff --git a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/GrpcSpannerCallableFactory.java b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/GrpcSpannerCallableFactory.java similarity index 100% rename from google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/GrpcSpannerCallableFactory.java rename to owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/GrpcSpannerCallableFactory.java diff --git a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/GrpcSpannerStub.java b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/GrpcSpannerStub.java similarity index 99% rename from google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/GrpcSpannerStub.java rename to owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/GrpcSpannerStub.java index 0e99079a91f..7ef42dd3f51 100644 --- a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/GrpcSpannerStub.java +++ b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/GrpcSpannerStub.java @@ -53,6 +53,7 @@ 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; diff --git a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/HttpJsonSpannerCallableFactory.java b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/HttpJsonSpannerCallableFactory.java similarity index 100% rename from google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/HttpJsonSpannerCallableFactory.java rename to owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/HttpJsonSpannerCallableFactory.java diff --git a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/HttpJsonSpannerStub.java b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/HttpJsonSpannerStub.java similarity index 100% rename from google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/HttpJsonSpannerStub.java rename to owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/HttpJsonSpannerStub.java diff --git a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/SpannerStub.java b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/SpannerStub.java similarity index 100% rename from google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/SpannerStub.java rename to owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/SpannerStub.java diff --git a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/SpannerStubSettings.java b/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/SpannerStubSettings.java similarity index 100% rename from google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/SpannerStubSettings.java rename to owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/SpannerStubSettings.java diff --git a/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminClientHttpJsonTest.java b/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminClientHttpJsonTest.java new file mode 100644 index 00000000000..31e6d9d97fb --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminClientHttpJsonTest.java @@ -0,0 +1,2274 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.spanner.admin.database.v1; + +import static com.google.cloud.spanner.admin.database.v1.DatabaseAdminClient.ListBackupOperationsPagedResponse; +import static com.google.cloud.spanner.admin.database.v1.DatabaseAdminClient.ListBackupsPagedResponse; +import static com.google.cloud.spanner.admin.database.v1.DatabaseAdminClient.ListDatabaseOperationsPagedResponse; +import static com.google.cloud.spanner.admin.database.v1.DatabaseAdminClient.ListDatabaseRolesPagedResponse; +import static com.google.cloud.spanner.admin.database.v1.DatabaseAdminClient.ListDatabasesPagedResponse; + +import com.google.api.gax.core.NoCredentialsProvider; +import com.google.api.gax.httpjson.GaxHttpJsonProperties; +import com.google.api.gax.httpjson.testing.MockHttpService; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ApiException; +import com.google.api.gax.rpc.ApiExceptionFactory; +import com.google.api.gax.rpc.InvalidArgumentException; +import com.google.api.gax.rpc.StatusCode; +import com.google.api.gax.rpc.testing.FakeStatusCode; +import com.google.api.resourcenames.ResourceName; +import com.google.cloud.spanner.admin.database.v1.stub.HttpJsonDatabaseAdminStub; +import com.google.common.collect.Lists; +import com.google.iam.v1.AuditConfig; +import com.google.iam.v1.Binding; +import com.google.iam.v1.Policy; +import com.google.iam.v1.TestIamPermissionsResponse; +import com.google.longrunning.Operation; +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 com.google.spanner.admin.database.v1.Backup; +import com.google.spanner.admin.database.v1.BackupName; +import com.google.spanner.admin.database.v1.Database; +import com.google.spanner.admin.database.v1.DatabaseDialect; +import com.google.spanner.admin.database.v1.DatabaseName; +import com.google.spanner.admin.database.v1.DatabaseRole; +import com.google.spanner.admin.database.v1.EncryptionConfig; +import com.google.spanner.admin.database.v1.EncryptionInfo; +import com.google.spanner.admin.database.v1.GetDatabaseDdlResponse; +import com.google.spanner.admin.database.v1.InstanceName; +import com.google.spanner.admin.database.v1.ListBackupOperationsResponse; +import com.google.spanner.admin.database.v1.ListBackupsResponse; +import com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse; +import com.google.spanner.admin.database.v1.ListDatabaseRolesResponse; +import com.google.spanner.admin.database.v1.ListDatabasesResponse; +import com.google.spanner.admin.database.v1.RestoreInfo; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; +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 DatabaseAdminClientHttpJsonTest { + private static MockHttpService mockService; + private static DatabaseAdminClient client; + + @BeforeClass + public static void startStaticServer() throws IOException { + mockService = + new MockHttpService( + HttpJsonDatabaseAdminStub.getMethodDescriptors(), + DatabaseAdminSettings.getDefaultEndpoint()); + DatabaseAdminSettings settings = + DatabaseAdminSettings.newHttpJsonBuilder() + .setTransportChannelProvider( + DatabaseAdminSettings.defaultHttpJsonTransportProviderBuilder() + .setHttpTransport(mockService) + .build()) + .setCredentialsProvider(NoCredentialsProvider.create()) + .build(); + client = DatabaseAdminClient.create(settings); + } + + @AfterClass + public static void stopServer() { + client.close(); + } + + @Before + public void setUp() {} + + @After + public void tearDown() throws Exception { + mockService.reset(); + } + + @Test + public void listDatabasesTest() throws Exception { + Database responsesElement = Database.newBuilder().build(); + ListDatabasesResponse expectedResponse = + ListDatabasesResponse.newBuilder() + .setNextPageToken("") + .addAllDatabases(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + + ListDatabasesPagedResponse pagedListResponse = client.listDatabases(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getDatabasesList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listDatabasesExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + client.listDatabases(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listDatabasesTest2() throws Exception { + Database responsesElement = Database.newBuilder().build(); + ListDatabasesResponse expectedResponse = + ListDatabasesResponse.newBuilder() + .setNextPageToken("") + .addAllDatabases(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-8887/instances/instance-8887"; + + ListDatabasesPagedResponse pagedListResponse = client.listDatabases(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getDatabasesList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listDatabasesExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-8887/instances/instance-8887"; + client.listDatabases(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createDatabaseTest() throws Exception { + Database expectedResponse = + Database.newBuilder() + .setName(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setEncryptionConfig(EncryptionConfig.newBuilder().build()) + .addAllEncryptionInfo(new ArrayList()) + .setVersionRetentionPeriod("versionRetentionPeriod-629783929") + .setEarliestVersionTime(Timestamp.newBuilder().build()) + .setDefaultLeader("defaultLeader759009962") + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createDatabaseTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String createStatement = "createStatement744686547"; + + Database actualResponse = client.createDatabaseAsync(parent, createStatement).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createDatabaseExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String createStatement = "createStatement744686547"; + client.createDatabaseAsync(parent, createStatement).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void createDatabaseTest2() throws Exception { + Database expectedResponse = + Database.newBuilder() + .setName(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setEncryptionConfig(EncryptionConfig.newBuilder().build()) + .addAllEncryptionInfo(new ArrayList()) + .setVersionRetentionPeriod("versionRetentionPeriod-629783929") + .setEarliestVersionTime(Timestamp.newBuilder().build()) + .setDefaultLeader("defaultLeader759009962") + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createDatabaseTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + String parent = "projects/project-8887/instances/instance-8887"; + String createStatement = "createStatement744686547"; + + Database actualResponse = client.createDatabaseAsync(parent, createStatement).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createDatabaseExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-8887/instances/instance-8887"; + String createStatement = "createStatement744686547"; + client.createDatabaseAsync(parent, createStatement).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void getDatabaseTest() throws Exception { + Database expectedResponse = + Database.newBuilder() + .setName(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setEncryptionConfig(EncryptionConfig.newBuilder().build()) + .addAllEncryptionInfo(new ArrayList()) + .setVersionRetentionPeriod("versionRetentionPeriod-629783929") + .setEarliestVersionTime(Timestamp.newBuilder().build()) + .setDefaultLeader("defaultLeader759009962") + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .build(); + mockService.addResponse(expectedResponse); + + DatabaseName name = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]"); + + Database actualResponse = client.getDatabase(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getDatabaseExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + DatabaseName name = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]"); + client.getDatabase(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getDatabaseTest2() throws Exception { + Database expectedResponse = + Database.newBuilder() + .setName(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setEncryptionConfig(EncryptionConfig.newBuilder().build()) + .addAllEncryptionInfo(new ArrayList()) + .setVersionRetentionPeriod("versionRetentionPeriod-629783929") + .setEarliestVersionTime(Timestamp.newBuilder().build()) + .setDefaultLeader("defaultLeader759009962") + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-5262/instances/instance-5262/databases/database-5262"; + + Database actualResponse = client.getDatabase(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getDatabaseExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-5262/instances/instance-5262/databases/database-5262"; + client.getDatabase(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void updateDatabaseDdlTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + Operation resultOperation = + Operation.newBuilder() + .setName("updateDatabaseDdlTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]"); + List statements = new ArrayList<>(); + + client.updateDatabaseDdlAsync(database, statements).get(); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void updateDatabaseDdlExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]"); + List statements = new ArrayList<>(); + client.updateDatabaseDdlAsync(database, statements).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void updateDatabaseDdlTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + Operation resultOperation = + Operation.newBuilder() + .setName("updateDatabaseDdlTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + String database = "projects/project-3102/instances/instance-3102/databases/database-3102"; + List statements = new ArrayList<>(); + + client.updateDatabaseDdlAsync(database, statements).get(); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void updateDatabaseDdlExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String database = "projects/project-3102/instances/instance-3102/databases/database-3102"; + List statements = new ArrayList<>(); + client.updateDatabaseDdlAsync(database, statements).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void dropDatabaseTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]"); + + client.dropDatabase(database); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void dropDatabaseExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]"); + client.dropDatabase(database); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void dropDatabaseTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + String database = "projects/project-3102/instances/instance-3102/databases/database-3102"; + + client.dropDatabase(database); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void dropDatabaseExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String database = "projects/project-3102/instances/instance-3102/databases/database-3102"; + client.dropDatabase(database); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getDatabaseDdlTest() throws Exception { + GetDatabaseDdlResponse expectedResponse = + GetDatabaseDdlResponse.newBuilder().addAllStatements(new ArrayList()).build(); + mockService.addResponse(expectedResponse); + + DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]"); + + GetDatabaseDdlResponse actualResponse = client.getDatabaseDdl(database); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getDatabaseDdlExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]"); + client.getDatabaseDdl(database); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getDatabaseDdlTest2() throws Exception { + GetDatabaseDdlResponse expectedResponse = + GetDatabaseDdlResponse.newBuilder().addAllStatements(new ArrayList()).build(); + mockService.addResponse(expectedResponse); + + String database = "projects/project-3102/instances/instance-3102/databases/database-3102"; + + GetDatabaseDdlResponse actualResponse = client.getDatabaseDdl(database); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getDatabaseDdlExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String database = "projects/project-3102/instances/instance-3102/databases/database-3102"; + client.getDatabaseDdl(database); + 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(); + mockService.addResponse(expectedResponse); + + ResourceName resource = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]"); + Policy policy = Policy.newBuilder().build(); + + Policy actualResponse = client.setIamPolicy(resource, policy); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void setIamPolicyExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + ResourceName resource = BackupName.of("[PROJECT]", "[INSTANCE]", "[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(); + mockService.addResponse(expectedResponse); + + String resource = "projects/project-1023/instances/instance-1023/databases/database-1023"; + Policy policy = Policy.newBuilder().build(); + + Policy actualResponse = client.setIamPolicy(resource, policy); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void setIamPolicyExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String resource = "projects/project-1023/instances/instance-1023/databases/database-1023"; + Policy policy = Policy.newBuilder().build(); + client.setIamPolicy(resource, policy); + 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(); + mockService.addResponse(expectedResponse); + + ResourceName resource = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]"); + + Policy actualResponse = client.getIamPolicy(resource); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getIamPolicyExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + ResourceName resource = BackupName.of("[PROJECT]", "[INSTANCE]", "[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(); + mockService.addResponse(expectedResponse); + + String resource = "projects/project-1023/instances/instance-1023/databases/database-1023"; + + Policy actualResponse = client.getIamPolicy(resource); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getIamPolicyExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String resource = "projects/project-1023/instances/instance-1023/databases/database-1023"; + client.getIamPolicy(resource); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void testIamPermissionsTest() throws Exception { + TestIamPermissionsResponse expectedResponse = + TestIamPermissionsResponse.newBuilder().addAllPermissions(new ArrayList()).build(); + mockService.addResponse(expectedResponse); + + ResourceName resource = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]"); + List permissions = new ArrayList<>(); + + TestIamPermissionsResponse actualResponse = client.testIamPermissions(resource, permissions); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void testIamPermissionsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + ResourceName resource = BackupName.of("[PROJECT]", "[INSTANCE]", "[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(); + mockService.addResponse(expectedResponse); + + String resource = "projects/project-1023/instances/instance-1023/databases/database-1023"; + List permissions = new ArrayList<>(); + + TestIamPermissionsResponse actualResponse = client.testIamPermissions(resource, permissions); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void testIamPermissionsExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String resource = "projects/project-1023/instances/instance-1023/databases/database-1023"; + List permissions = new ArrayList<>(); + client.testIamPermissions(resource, permissions); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createBackupTest() throws Exception { + Backup expectedResponse = + Backup.newBuilder() + .setDatabase(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setVersionTime(Timestamp.newBuilder().build()) + .setExpireTime(Timestamp.newBuilder().build()) + .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setSizeBytes(-1796325715) + .addAllReferencingDatabases(new ArrayList()) + .setEncryptionInfo(EncryptionInfo.newBuilder().build()) + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .addAllReferencingBackups(new ArrayList()) + .setMaxExpireTime(Timestamp.newBuilder().build()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createBackupTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + Backup backup = Backup.newBuilder().build(); + String backupId = "backupId2121930365"; + + Backup actualResponse = client.createBackupAsync(parent, backup, backupId).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createBackupExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + Backup backup = Backup.newBuilder().build(); + String backupId = "backupId2121930365"; + client.createBackupAsync(parent, backup, backupId).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void createBackupTest2() throws Exception { + Backup expectedResponse = + Backup.newBuilder() + .setDatabase(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setVersionTime(Timestamp.newBuilder().build()) + .setExpireTime(Timestamp.newBuilder().build()) + .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setSizeBytes(-1796325715) + .addAllReferencingDatabases(new ArrayList()) + .setEncryptionInfo(EncryptionInfo.newBuilder().build()) + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .addAllReferencingBackups(new ArrayList()) + .setMaxExpireTime(Timestamp.newBuilder().build()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createBackupTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + String parent = "projects/project-8887/instances/instance-8887"; + Backup backup = Backup.newBuilder().build(); + String backupId = "backupId2121930365"; + + Backup actualResponse = client.createBackupAsync(parent, backup, backupId).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createBackupExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-8887/instances/instance-8887"; + Backup backup = Backup.newBuilder().build(); + String backupId = "backupId2121930365"; + client.createBackupAsync(parent, backup, backupId).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void copyBackupTest() throws Exception { + Backup expectedResponse = + Backup.newBuilder() + .setDatabase(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setVersionTime(Timestamp.newBuilder().build()) + .setExpireTime(Timestamp.newBuilder().build()) + .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setSizeBytes(-1796325715) + .addAllReferencingDatabases(new ArrayList()) + .setEncryptionInfo(EncryptionInfo.newBuilder().build()) + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .addAllReferencingBackups(new ArrayList()) + .setMaxExpireTime(Timestamp.newBuilder().build()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("copyBackupTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String backupId = "backupId2121930365"; + BackupName sourceBackup = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]"); + Timestamp expireTime = Timestamp.newBuilder().build(); + + Backup actualResponse = + client.copyBackupAsync(parent, backupId, sourceBackup, expireTime).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void copyBackupExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String backupId = "backupId2121930365"; + BackupName sourceBackup = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]"); + Timestamp expireTime = Timestamp.newBuilder().build(); + client.copyBackupAsync(parent, backupId, sourceBackup, expireTime).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void copyBackupTest2() throws Exception { + Backup expectedResponse = + Backup.newBuilder() + .setDatabase(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setVersionTime(Timestamp.newBuilder().build()) + .setExpireTime(Timestamp.newBuilder().build()) + .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setSizeBytes(-1796325715) + .addAllReferencingDatabases(new ArrayList()) + .setEncryptionInfo(EncryptionInfo.newBuilder().build()) + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .addAllReferencingBackups(new ArrayList()) + .setMaxExpireTime(Timestamp.newBuilder().build()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("copyBackupTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String backupId = "backupId2121930365"; + String sourceBackup = "sourceBackup823134653"; + Timestamp expireTime = Timestamp.newBuilder().build(); + + Backup actualResponse = + client.copyBackupAsync(parent, backupId, sourceBackup, expireTime).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void copyBackupExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String backupId = "backupId2121930365"; + String sourceBackup = "sourceBackup823134653"; + Timestamp expireTime = Timestamp.newBuilder().build(); + client.copyBackupAsync(parent, backupId, sourceBackup, expireTime).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void copyBackupTest3() throws Exception { + Backup expectedResponse = + Backup.newBuilder() + .setDatabase(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setVersionTime(Timestamp.newBuilder().build()) + .setExpireTime(Timestamp.newBuilder().build()) + .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setSizeBytes(-1796325715) + .addAllReferencingDatabases(new ArrayList()) + .setEncryptionInfo(EncryptionInfo.newBuilder().build()) + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .addAllReferencingBackups(new ArrayList()) + .setMaxExpireTime(Timestamp.newBuilder().build()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("copyBackupTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + String parent = "projects/project-8887/instances/instance-8887"; + String backupId = "backupId2121930365"; + BackupName sourceBackup = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]"); + Timestamp expireTime = Timestamp.newBuilder().build(); + + Backup actualResponse = + client.copyBackupAsync(parent, backupId, sourceBackup, expireTime).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void copyBackupExceptionTest3() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-8887/instances/instance-8887"; + String backupId = "backupId2121930365"; + BackupName sourceBackup = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]"); + Timestamp expireTime = Timestamp.newBuilder().build(); + client.copyBackupAsync(parent, backupId, sourceBackup, expireTime).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void copyBackupTest4() throws Exception { + Backup expectedResponse = + Backup.newBuilder() + .setDatabase(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setVersionTime(Timestamp.newBuilder().build()) + .setExpireTime(Timestamp.newBuilder().build()) + .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setSizeBytes(-1796325715) + .addAllReferencingDatabases(new ArrayList()) + .setEncryptionInfo(EncryptionInfo.newBuilder().build()) + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .addAllReferencingBackups(new ArrayList()) + .setMaxExpireTime(Timestamp.newBuilder().build()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("copyBackupTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + String parent = "projects/project-8887/instances/instance-8887"; + String backupId = "backupId2121930365"; + String sourceBackup = "sourceBackup823134653"; + Timestamp expireTime = Timestamp.newBuilder().build(); + + Backup actualResponse = + client.copyBackupAsync(parent, backupId, sourceBackup, expireTime).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void copyBackupExceptionTest4() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-8887/instances/instance-8887"; + String backupId = "backupId2121930365"; + String sourceBackup = "sourceBackup823134653"; + Timestamp expireTime = Timestamp.newBuilder().build(); + client.copyBackupAsync(parent, backupId, sourceBackup, expireTime).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void getBackupTest() throws Exception { + Backup expectedResponse = + Backup.newBuilder() + .setDatabase(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setVersionTime(Timestamp.newBuilder().build()) + .setExpireTime(Timestamp.newBuilder().build()) + .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setSizeBytes(-1796325715) + .addAllReferencingDatabases(new ArrayList()) + .setEncryptionInfo(EncryptionInfo.newBuilder().build()) + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .addAllReferencingBackups(new ArrayList()) + .setMaxExpireTime(Timestamp.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + BackupName name = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]"); + + Backup actualResponse = client.getBackup(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getBackupExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + BackupName name = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]"); + client.getBackup(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getBackupTest2() throws Exception { + Backup expectedResponse = + Backup.newBuilder() + .setDatabase(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setVersionTime(Timestamp.newBuilder().build()) + .setExpireTime(Timestamp.newBuilder().build()) + .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setSizeBytes(-1796325715) + .addAllReferencingDatabases(new ArrayList()) + .setEncryptionInfo(EncryptionInfo.newBuilder().build()) + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .addAllReferencingBackups(new ArrayList()) + .setMaxExpireTime(Timestamp.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-3271/instances/instance-3271/backups/backup-3271"; + + Backup actualResponse = client.getBackup(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getBackupExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-3271/instances/instance-3271/backups/backup-3271"; + client.getBackup(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void updateBackupTest() throws Exception { + Backup expectedResponse = + Backup.newBuilder() + .setDatabase(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setVersionTime(Timestamp.newBuilder().build()) + .setExpireTime(Timestamp.newBuilder().build()) + .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setSizeBytes(-1796325715) + .addAllReferencingDatabases(new ArrayList()) + .setEncryptionInfo(EncryptionInfo.newBuilder().build()) + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .addAllReferencingBackups(new ArrayList()) + .setMaxExpireTime(Timestamp.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + Backup backup = + Backup.newBuilder() + .setDatabase(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setVersionTime(Timestamp.newBuilder().build()) + .setExpireTime(Timestamp.newBuilder().build()) + .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setSizeBytes(-1796325715) + .addAllReferencingDatabases(new ArrayList()) + .setEncryptionInfo(EncryptionInfo.newBuilder().build()) + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .addAllReferencingBackups(new ArrayList()) + .setMaxExpireTime(Timestamp.newBuilder().build()) + .build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + + Backup actualResponse = client.updateBackup(backup, updateMask); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void updateBackupExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + Backup backup = + Backup.newBuilder() + .setDatabase(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setVersionTime(Timestamp.newBuilder().build()) + .setExpireTime(Timestamp.newBuilder().build()) + .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setSizeBytes(-1796325715) + .addAllReferencingDatabases(new ArrayList()) + .setEncryptionInfo(EncryptionInfo.newBuilder().build()) + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .addAllReferencingBackups(new ArrayList()) + .setMaxExpireTime(Timestamp.newBuilder().build()) + .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(); + mockService.addResponse(expectedResponse); + + BackupName name = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]"); + + client.deleteBackup(name); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deleteBackupExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + BackupName name = BackupName.of("[PROJECT]", "[INSTANCE]", "[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(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-3271/instances/instance-3271/backups/backup-3271"; + + client.deleteBackup(name); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deleteBackupExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-3271/instances/instance-3271/backups/backup-3271"; + 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(); + mockService.addResponse(expectedResponse); + + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + + 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 = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listBackupsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + 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(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-8887/instances/instance-8887"; + + 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 = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listBackupsExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-8887/instances/instance-8887"; + client.listBackups(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void restoreDatabaseTest() throws Exception { + Database expectedResponse = + Database.newBuilder() + .setName(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setEncryptionConfig(EncryptionConfig.newBuilder().build()) + .addAllEncryptionInfo(new ArrayList()) + .setVersionRetentionPeriod("versionRetentionPeriod-629783929") + .setEarliestVersionTime(Timestamp.newBuilder().build()) + .setDefaultLeader("defaultLeader759009962") + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("restoreDatabaseTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String databaseId = "databaseId1688905718"; + BackupName backup = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]"); + + Database actualResponse = client.restoreDatabaseAsync(parent, databaseId, backup).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void restoreDatabaseExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String databaseId = "databaseId1688905718"; + BackupName backup = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]"); + client.restoreDatabaseAsync(parent, databaseId, backup).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void restoreDatabaseTest2() throws Exception { + Database expectedResponse = + Database.newBuilder() + .setName(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setEncryptionConfig(EncryptionConfig.newBuilder().build()) + .addAllEncryptionInfo(new ArrayList()) + .setVersionRetentionPeriod("versionRetentionPeriod-629783929") + .setEarliestVersionTime(Timestamp.newBuilder().build()) + .setDefaultLeader("defaultLeader759009962") + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("restoreDatabaseTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String databaseId = "databaseId1688905718"; + String backup = "backup-1396673086"; + + Database actualResponse = client.restoreDatabaseAsync(parent, databaseId, backup).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void restoreDatabaseExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String databaseId = "databaseId1688905718"; + String backup = "backup-1396673086"; + client.restoreDatabaseAsync(parent, databaseId, backup).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void restoreDatabaseTest3() throws Exception { + Database expectedResponse = + Database.newBuilder() + .setName(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setEncryptionConfig(EncryptionConfig.newBuilder().build()) + .addAllEncryptionInfo(new ArrayList()) + .setVersionRetentionPeriod("versionRetentionPeriod-629783929") + .setEarliestVersionTime(Timestamp.newBuilder().build()) + .setDefaultLeader("defaultLeader759009962") + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("restoreDatabaseTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + String parent = "projects/project-8887/instances/instance-8887"; + String databaseId = "databaseId1688905718"; + BackupName backup = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]"); + + Database actualResponse = client.restoreDatabaseAsync(parent, databaseId, backup).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void restoreDatabaseExceptionTest3() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-8887/instances/instance-8887"; + String databaseId = "databaseId1688905718"; + BackupName backup = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]"); + client.restoreDatabaseAsync(parent, databaseId, backup).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void restoreDatabaseTest4() throws Exception { + Database expectedResponse = + Database.newBuilder() + .setName(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setEncryptionConfig(EncryptionConfig.newBuilder().build()) + .addAllEncryptionInfo(new ArrayList()) + .setVersionRetentionPeriod("versionRetentionPeriod-629783929") + .setEarliestVersionTime(Timestamp.newBuilder().build()) + .setDefaultLeader("defaultLeader759009962") + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("restoreDatabaseTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + String parent = "projects/project-8887/instances/instance-8887"; + String databaseId = "databaseId1688905718"; + String backup = "backup-1396673086"; + + Database actualResponse = client.restoreDatabaseAsync(parent, databaseId, backup).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void restoreDatabaseExceptionTest4() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-8887/instances/instance-8887"; + String databaseId = "databaseId1688905718"; + String backup = "backup-1396673086"; + client.restoreDatabaseAsync(parent, databaseId, backup).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void listDatabaseOperationsTest() throws Exception { + Operation responsesElement = Operation.newBuilder().build(); + ListDatabaseOperationsResponse expectedResponse = + ListDatabaseOperationsResponse.newBuilder() + .setNextPageToken("") + .addAllOperations(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + + ListDatabaseOperationsPagedResponse pagedListResponse = client.listDatabaseOperations(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getOperationsList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listDatabaseOperationsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + client.listDatabaseOperations(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listDatabaseOperationsTest2() throws Exception { + Operation responsesElement = Operation.newBuilder().build(); + ListDatabaseOperationsResponse expectedResponse = + ListDatabaseOperationsResponse.newBuilder() + .setNextPageToken("") + .addAllOperations(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-8887/instances/instance-8887"; + + ListDatabaseOperationsPagedResponse pagedListResponse = client.listDatabaseOperations(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getOperationsList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listDatabaseOperationsExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-8887/instances/instance-8887"; + client.listDatabaseOperations(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listBackupOperationsTest() throws Exception { + Operation responsesElement = Operation.newBuilder().build(); + ListBackupOperationsResponse expectedResponse = + ListBackupOperationsResponse.newBuilder() + .setNextPageToken("") + .addAllOperations(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + + ListBackupOperationsPagedResponse pagedListResponse = client.listBackupOperations(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getOperationsList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listBackupOperationsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + client.listBackupOperations(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listBackupOperationsTest2() throws Exception { + Operation responsesElement = Operation.newBuilder().build(); + ListBackupOperationsResponse expectedResponse = + ListBackupOperationsResponse.newBuilder() + .setNextPageToken("") + .addAllOperations(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-8887/instances/instance-8887"; + + ListBackupOperationsPagedResponse pagedListResponse = client.listBackupOperations(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getOperationsList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listBackupOperationsExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-8887/instances/instance-8887"; + client.listBackupOperations(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listDatabaseRolesTest() throws Exception { + DatabaseRole responsesElement = DatabaseRole.newBuilder().build(); + ListDatabaseRolesResponse expectedResponse = + ListDatabaseRolesResponse.newBuilder() + .setNextPageToken("") + .addAllDatabaseRoles(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + DatabaseName parent = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]"); + + ListDatabaseRolesPagedResponse pagedListResponse = client.listDatabaseRoles(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getDatabaseRolesList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listDatabaseRolesExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + DatabaseName parent = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]"); + client.listDatabaseRoles(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listDatabaseRolesTest2() throws Exception { + DatabaseRole responsesElement = DatabaseRole.newBuilder().build(); + ListDatabaseRolesResponse expectedResponse = + ListDatabaseRolesResponse.newBuilder() + .setNextPageToken("") + .addAllDatabaseRoles(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-9347/instances/instance-9347/databases/database-9347"; + + ListDatabaseRolesPagedResponse pagedListResponse = client.listDatabaseRoles(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getDatabaseRolesList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listDatabaseRolesExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-9347/instances/instance-9347/databases/database-9347"; + client.listDatabaseRoles(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } +} diff --git a/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminClientTest.java b/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminClientTest.java new file mode 100644 index 00000000000..51c780c9829 --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminClientTest.java @@ -0,0 +1,2104 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.spanner.admin.database.v1; + +import static com.google.cloud.spanner.admin.database.v1.DatabaseAdminClient.ListBackupOperationsPagedResponse; +import static com.google.cloud.spanner.admin.database.v1.DatabaseAdminClient.ListBackupsPagedResponse; +import static com.google.cloud.spanner.admin.database.v1.DatabaseAdminClient.ListDatabaseOperationsPagedResponse; +import static com.google.cloud.spanner.admin.database.v1.DatabaseAdminClient.ListDatabaseRolesPagedResponse; +import static com.google.cloud.spanner.admin.database.v1.DatabaseAdminClient.ListDatabasesPagedResponse; + +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.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 com.google.spanner.admin.database.v1.Backup; +import com.google.spanner.admin.database.v1.BackupName; +import com.google.spanner.admin.database.v1.CopyBackupRequest; +import com.google.spanner.admin.database.v1.CreateBackupRequest; +import com.google.spanner.admin.database.v1.CreateDatabaseRequest; +import com.google.spanner.admin.database.v1.Database; +import com.google.spanner.admin.database.v1.DatabaseDialect; +import com.google.spanner.admin.database.v1.DatabaseName; +import com.google.spanner.admin.database.v1.DatabaseRole; +import com.google.spanner.admin.database.v1.DeleteBackupRequest; +import com.google.spanner.admin.database.v1.DropDatabaseRequest; +import com.google.spanner.admin.database.v1.EncryptionConfig; +import com.google.spanner.admin.database.v1.EncryptionInfo; +import com.google.spanner.admin.database.v1.GetBackupRequest; +import com.google.spanner.admin.database.v1.GetDatabaseDdlRequest; +import com.google.spanner.admin.database.v1.GetDatabaseDdlResponse; +import com.google.spanner.admin.database.v1.GetDatabaseRequest; +import com.google.spanner.admin.database.v1.InstanceName; +import com.google.spanner.admin.database.v1.ListBackupOperationsRequest; +import com.google.spanner.admin.database.v1.ListBackupOperationsResponse; +import com.google.spanner.admin.database.v1.ListBackupsRequest; +import com.google.spanner.admin.database.v1.ListBackupsResponse; +import com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest; +import com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse; +import com.google.spanner.admin.database.v1.ListDatabaseRolesRequest; +import com.google.spanner.admin.database.v1.ListDatabaseRolesResponse; +import com.google.spanner.admin.database.v1.ListDatabasesRequest; +import com.google.spanner.admin.database.v1.ListDatabasesResponse; +import com.google.spanner.admin.database.v1.RestoreDatabaseRequest; +import com.google.spanner.admin.database.v1.RestoreInfo; +import com.google.spanner.admin.database.v1.UpdateBackupRequest; +import com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest; +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 DatabaseAdminClientTest { + private static MockDatabaseAdmin mockDatabaseAdmin; + private static MockServiceHelper mockServiceHelper; + private LocalChannelProvider channelProvider; + private DatabaseAdminClient client; + + @BeforeClass + public static void startStaticServer() { + mockDatabaseAdmin = new MockDatabaseAdmin(); + mockServiceHelper = + new MockServiceHelper( + UUID.randomUUID().toString(), Arrays.asList(mockDatabaseAdmin)); + mockServiceHelper.start(); + } + + @AfterClass + public static void stopServer() { + mockServiceHelper.stop(); + } + + @Before + public void setUp() throws IOException { + mockServiceHelper.reset(); + channelProvider = mockServiceHelper.createChannelProvider(); + DatabaseAdminSettings settings = + DatabaseAdminSettings.newBuilder() + .setTransportChannelProvider(channelProvider) + .setCredentialsProvider(NoCredentialsProvider.create()) + .build(); + client = DatabaseAdminClient.create(settings); + } + + @After + public void tearDown() throws Exception { + client.close(); + } + + @Test + public void listDatabasesTest() throws Exception { + Database responsesElement = Database.newBuilder().build(); + ListDatabasesResponse expectedResponse = + ListDatabasesResponse.newBuilder() + .setNextPageToken("") + .addAllDatabases(Arrays.asList(responsesElement)) + .build(); + mockDatabaseAdmin.addResponse(expectedResponse); + + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + + ListDatabasesPagedResponse pagedListResponse = client.listDatabases(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getDatabasesList().get(0), resources.get(0)); + + List actualRequests = mockDatabaseAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListDatabasesRequest actualRequest = ((ListDatabasesRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listDatabasesExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatabaseAdmin.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + client.listDatabases(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listDatabasesTest2() throws Exception { + Database responsesElement = Database.newBuilder().build(); + ListDatabasesResponse expectedResponse = + ListDatabasesResponse.newBuilder() + .setNextPageToken("") + .addAllDatabases(Arrays.asList(responsesElement)) + .build(); + mockDatabaseAdmin.addResponse(expectedResponse); + + String parent = "parent-995424086"; + + ListDatabasesPagedResponse pagedListResponse = client.listDatabases(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getDatabasesList().get(0), resources.get(0)); + + List actualRequests = mockDatabaseAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListDatabasesRequest actualRequest = ((ListDatabasesRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listDatabasesExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatabaseAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + client.listDatabases(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createDatabaseTest() throws Exception { + Database expectedResponse = + Database.newBuilder() + .setName(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setEncryptionConfig(EncryptionConfig.newBuilder().build()) + .addAllEncryptionInfo(new ArrayList()) + .setVersionRetentionPeriod("versionRetentionPeriod-629783929") + .setEarliestVersionTime(Timestamp.newBuilder().build()) + .setDefaultLeader("defaultLeader759009962") + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createDatabaseTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockDatabaseAdmin.addResponse(resultOperation); + + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String createStatement = "createStatement744686547"; + + Database actualResponse = client.createDatabaseAsync(parent, createStatement).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDatabaseAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateDatabaseRequest actualRequest = ((CreateDatabaseRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertEquals(createStatement, actualRequest.getCreateStatement()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createDatabaseExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatabaseAdmin.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String createStatement = "createStatement744686547"; + client.createDatabaseAsync(parent, createStatement).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 createDatabaseTest2() throws Exception { + Database expectedResponse = + Database.newBuilder() + .setName(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setEncryptionConfig(EncryptionConfig.newBuilder().build()) + .addAllEncryptionInfo(new ArrayList()) + .setVersionRetentionPeriod("versionRetentionPeriod-629783929") + .setEarliestVersionTime(Timestamp.newBuilder().build()) + .setDefaultLeader("defaultLeader759009962") + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createDatabaseTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockDatabaseAdmin.addResponse(resultOperation); + + String parent = "parent-995424086"; + String createStatement = "createStatement744686547"; + + Database actualResponse = client.createDatabaseAsync(parent, createStatement).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDatabaseAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateDatabaseRequest actualRequest = ((CreateDatabaseRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertEquals(createStatement, actualRequest.getCreateStatement()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createDatabaseExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatabaseAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + String createStatement = "createStatement744686547"; + client.createDatabaseAsync(parent, createStatement).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 getDatabaseTest() throws Exception { + Database expectedResponse = + Database.newBuilder() + .setName(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setEncryptionConfig(EncryptionConfig.newBuilder().build()) + .addAllEncryptionInfo(new ArrayList()) + .setVersionRetentionPeriod("versionRetentionPeriod-629783929") + .setEarliestVersionTime(Timestamp.newBuilder().build()) + .setDefaultLeader("defaultLeader759009962") + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .build(); + mockDatabaseAdmin.addResponse(expectedResponse); + + DatabaseName name = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]"); + + Database actualResponse = client.getDatabase(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDatabaseAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetDatabaseRequest actualRequest = ((GetDatabaseRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getDatabaseExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatabaseAdmin.addException(exception); + + try { + DatabaseName name = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]"); + client.getDatabase(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getDatabaseTest2() throws Exception { + Database expectedResponse = + Database.newBuilder() + .setName(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setEncryptionConfig(EncryptionConfig.newBuilder().build()) + .addAllEncryptionInfo(new ArrayList()) + .setVersionRetentionPeriod("versionRetentionPeriod-629783929") + .setEarliestVersionTime(Timestamp.newBuilder().build()) + .setDefaultLeader("defaultLeader759009962") + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .build(); + mockDatabaseAdmin.addResponse(expectedResponse); + + String name = "name3373707"; + + Database actualResponse = client.getDatabase(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDatabaseAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetDatabaseRequest actualRequest = ((GetDatabaseRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getDatabaseExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatabaseAdmin.addException(exception); + + try { + String name = "name3373707"; + client.getDatabase(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void updateDatabaseDdlTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + Operation resultOperation = + Operation.newBuilder() + .setName("updateDatabaseDdlTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockDatabaseAdmin.addResponse(resultOperation); + + DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]"); + List statements = new ArrayList<>(); + + client.updateDatabaseDdlAsync(database, statements).get(); + + List actualRequests = mockDatabaseAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + UpdateDatabaseDdlRequest actualRequest = ((UpdateDatabaseDdlRequest) actualRequests.get(0)); + + Assert.assertEquals(database.toString(), actualRequest.getDatabase()); + Assert.assertEquals(statements, actualRequest.getStatementsList()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void updateDatabaseDdlExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatabaseAdmin.addException(exception); + + try { + DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]"); + List statements = new ArrayList<>(); + client.updateDatabaseDdlAsync(database, statements).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 updateDatabaseDdlTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + Operation resultOperation = + Operation.newBuilder() + .setName("updateDatabaseDdlTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockDatabaseAdmin.addResponse(resultOperation); + + String database = "database1789464955"; + List statements = new ArrayList<>(); + + client.updateDatabaseDdlAsync(database, statements).get(); + + List actualRequests = mockDatabaseAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + UpdateDatabaseDdlRequest actualRequest = ((UpdateDatabaseDdlRequest) actualRequests.get(0)); + + Assert.assertEquals(database, actualRequest.getDatabase()); + Assert.assertEquals(statements, actualRequest.getStatementsList()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void updateDatabaseDdlExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatabaseAdmin.addException(exception); + + try { + String database = "database1789464955"; + List statements = new ArrayList<>(); + client.updateDatabaseDdlAsync(database, statements).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 dropDatabaseTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockDatabaseAdmin.addResponse(expectedResponse); + + DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]"); + + client.dropDatabase(database); + + List actualRequests = mockDatabaseAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DropDatabaseRequest actualRequest = ((DropDatabaseRequest) actualRequests.get(0)); + + Assert.assertEquals(database.toString(), actualRequest.getDatabase()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void dropDatabaseExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatabaseAdmin.addException(exception); + + try { + DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]"); + client.dropDatabase(database); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void dropDatabaseTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockDatabaseAdmin.addResponse(expectedResponse); + + String database = "database1789464955"; + + client.dropDatabase(database); + + List actualRequests = mockDatabaseAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DropDatabaseRequest actualRequest = ((DropDatabaseRequest) actualRequests.get(0)); + + Assert.assertEquals(database, actualRequest.getDatabase()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void dropDatabaseExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatabaseAdmin.addException(exception); + + try { + String database = "database1789464955"; + client.dropDatabase(database); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getDatabaseDdlTest() throws Exception { + GetDatabaseDdlResponse expectedResponse = + GetDatabaseDdlResponse.newBuilder().addAllStatements(new ArrayList()).build(); + mockDatabaseAdmin.addResponse(expectedResponse); + + DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]"); + + GetDatabaseDdlResponse actualResponse = client.getDatabaseDdl(database); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDatabaseAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetDatabaseDdlRequest actualRequest = ((GetDatabaseDdlRequest) actualRequests.get(0)); + + Assert.assertEquals(database.toString(), actualRequest.getDatabase()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getDatabaseDdlExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatabaseAdmin.addException(exception); + + try { + DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]"); + client.getDatabaseDdl(database); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getDatabaseDdlTest2() throws Exception { + GetDatabaseDdlResponse expectedResponse = + GetDatabaseDdlResponse.newBuilder().addAllStatements(new ArrayList()).build(); + mockDatabaseAdmin.addResponse(expectedResponse); + + String database = "database1789464955"; + + GetDatabaseDdlResponse actualResponse = client.getDatabaseDdl(database); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDatabaseAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetDatabaseDdlRequest actualRequest = ((GetDatabaseDdlRequest) actualRequests.get(0)); + + Assert.assertEquals(database, actualRequest.getDatabase()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getDatabaseDdlExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatabaseAdmin.addException(exception); + + try { + String database = "database1789464955"; + client.getDatabaseDdl(database); + 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(); + mockDatabaseAdmin.addResponse(expectedResponse); + + ResourceName resource = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]"); + Policy policy = Policy.newBuilder().build(); + + Policy actualResponse = client.setIamPolicy(resource, policy); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDatabaseAdmin.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); + mockDatabaseAdmin.addException(exception); + + try { + ResourceName resource = BackupName.of("[PROJECT]", "[INSTANCE]", "[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(); + mockDatabaseAdmin.addResponse(expectedResponse); + + String resource = "resource-341064690"; + Policy policy = Policy.newBuilder().build(); + + Policy actualResponse = client.setIamPolicy(resource, policy); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDatabaseAdmin.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); + mockDatabaseAdmin.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 getIamPolicyTest() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setVersion(351608024) + .addAllBindings(new ArrayList()) + .addAllAuditConfigs(new ArrayList()) + .setEtag(ByteString.EMPTY) + .build(); + mockDatabaseAdmin.addResponse(expectedResponse); + + ResourceName resource = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]"); + + Policy actualResponse = client.getIamPolicy(resource); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDatabaseAdmin.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); + mockDatabaseAdmin.addException(exception); + + try { + ResourceName resource = BackupName.of("[PROJECT]", "[INSTANCE]", "[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(); + mockDatabaseAdmin.addResponse(expectedResponse); + + String resource = "resource-341064690"; + + Policy actualResponse = client.getIamPolicy(resource); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDatabaseAdmin.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); + mockDatabaseAdmin.addException(exception); + + try { + String resource = "resource-341064690"; + client.getIamPolicy(resource); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void testIamPermissionsTest() throws Exception { + TestIamPermissionsResponse expectedResponse = + TestIamPermissionsResponse.newBuilder().addAllPermissions(new ArrayList()).build(); + mockDatabaseAdmin.addResponse(expectedResponse); + + ResourceName resource = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]"); + List permissions = new ArrayList<>(); + + TestIamPermissionsResponse actualResponse = client.testIamPermissions(resource, permissions); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDatabaseAdmin.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); + mockDatabaseAdmin.addException(exception); + + try { + ResourceName resource = BackupName.of("[PROJECT]", "[INSTANCE]", "[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(); + mockDatabaseAdmin.addResponse(expectedResponse); + + String resource = "resource-341064690"; + List permissions = new ArrayList<>(); + + TestIamPermissionsResponse actualResponse = client.testIamPermissions(resource, permissions); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDatabaseAdmin.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); + mockDatabaseAdmin.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 createBackupTest() throws Exception { + Backup expectedResponse = + Backup.newBuilder() + .setDatabase(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setVersionTime(Timestamp.newBuilder().build()) + .setExpireTime(Timestamp.newBuilder().build()) + .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setSizeBytes(-1796325715) + .addAllReferencingDatabases(new ArrayList()) + .setEncryptionInfo(EncryptionInfo.newBuilder().build()) + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .addAllReferencingBackups(new ArrayList()) + .setMaxExpireTime(Timestamp.newBuilder().build()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createBackupTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockDatabaseAdmin.addResponse(resultOperation); + + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + Backup backup = Backup.newBuilder().build(); + String backupId = "backupId2121930365"; + + Backup actualResponse = client.createBackupAsync(parent, backup, backupId).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDatabaseAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateBackupRequest actualRequest = ((CreateBackupRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertEquals(backup, actualRequest.getBackup()); + Assert.assertEquals(backupId, actualRequest.getBackupId()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createBackupExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatabaseAdmin.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + Backup backup = Backup.newBuilder().build(); + String backupId = "backupId2121930365"; + client.createBackupAsync(parent, backup, backupId).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() + .setDatabase(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setVersionTime(Timestamp.newBuilder().build()) + .setExpireTime(Timestamp.newBuilder().build()) + .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setSizeBytes(-1796325715) + .addAllReferencingDatabases(new ArrayList()) + .setEncryptionInfo(EncryptionInfo.newBuilder().build()) + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .addAllReferencingBackups(new ArrayList()) + .setMaxExpireTime(Timestamp.newBuilder().build()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createBackupTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockDatabaseAdmin.addResponse(resultOperation); + + String parent = "parent-995424086"; + Backup backup = Backup.newBuilder().build(); + String backupId = "backupId2121930365"; + + Backup actualResponse = client.createBackupAsync(parent, backup, backupId).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDatabaseAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateBackupRequest actualRequest = ((CreateBackupRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertEquals(backup, actualRequest.getBackup()); + Assert.assertEquals(backupId, actualRequest.getBackupId()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createBackupExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatabaseAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + Backup backup = Backup.newBuilder().build(); + String backupId = "backupId2121930365"; + client.createBackupAsync(parent, backup, backupId).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void copyBackupTest() throws Exception { + Backup expectedResponse = + Backup.newBuilder() + .setDatabase(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setVersionTime(Timestamp.newBuilder().build()) + .setExpireTime(Timestamp.newBuilder().build()) + .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setSizeBytes(-1796325715) + .addAllReferencingDatabases(new ArrayList()) + .setEncryptionInfo(EncryptionInfo.newBuilder().build()) + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .addAllReferencingBackups(new ArrayList()) + .setMaxExpireTime(Timestamp.newBuilder().build()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("copyBackupTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockDatabaseAdmin.addResponse(resultOperation); + + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String backupId = "backupId2121930365"; + BackupName sourceBackup = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]"); + Timestamp expireTime = Timestamp.newBuilder().build(); + + Backup actualResponse = + client.copyBackupAsync(parent, backupId, sourceBackup, expireTime).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDatabaseAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CopyBackupRequest actualRequest = ((CopyBackupRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertEquals(backupId, actualRequest.getBackupId()); + Assert.assertEquals(sourceBackup.toString(), actualRequest.getSourceBackup()); + Assert.assertEquals(expireTime, actualRequest.getExpireTime()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void copyBackupExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatabaseAdmin.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String backupId = "backupId2121930365"; + BackupName sourceBackup = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]"); + Timestamp expireTime = Timestamp.newBuilder().build(); + client.copyBackupAsync(parent, backupId, sourceBackup, expireTime).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void copyBackupTest2() throws Exception { + Backup expectedResponse = + Backup.newBuilder() + .setDatabase(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setVersionTime(Timestamp.newBuilder().build()) + .setExpireTime(Timestamp.newBuilder().build()) + .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setSizeBytes(-1796325715) + .addAllReferencingDatabases(new ArrayList()) + .setEncryptionInfo(EncryptionInfo.newBuilder().build()) + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .addAllReferencingBackups(new ArrayList()) + .setMaxExpireTime(Timestamp.newBuilder().build()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("copyBackupTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockDatabaseAdmin.addResponse(resultOperation); + + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String backupId = "backupId2121930365"; + String sourceBackup = "sourceBackup823134653"; + Timestamp expireTime = Timestamp.newBuilder().build(); + + Backup actualResponse = + client.copyBackupAsync(parent, backupId, sourceBackup, expireTime).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDatabaseAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CopyBackupRequest actualRequest = ((CopyBackupRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertEquals(backupId, actualRequest.getBackupId()); + Assert.assertEquals(sourceBackup, actualRequest.getSourceBackup()); + Assert.assertEquals(expireTime, actualRequest.getExpireTime()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void copyBackupExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatabaseAdmin.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String backupId = "backupId2121930365"; + String sourceBackup = "sourceBackup823134653"; + Timestamp expireTime = Timestamp.newBuilder().build(); + client.copyBackupAsync(parent, backupId, sourceBackup, expireTime).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void copyBackupTest3() throws Exception { + Backup expectedResponse = + Backup.newBuilder() + .setDatabase(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setVersionTime(Timestamp.newBuilder().build()) + .setExpireTime(Timestamp.newBuilder().build()) + .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setSizeBytes(-1796325715) + .addAllReferencingDatabases(new ArrayList()) + .setEncryptionInfo(EncryptionInfo.newBuilder().build()) + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .addAllReferencingBackups(new ArrayList()) + .setMaxExpireTime(Timestamp.newBuilder().build()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("copyBackupTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockDatabaseAdmin.addResponse(resultOperation); + + String parent = "parent-995424086"; + String backupId = "backupId2121930365"; + BackupName sourceBackup = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]"); + Timestamp expireTime = Timestamp.newBuilder().build(); + + Backup actualResponse = + client.copyBackupAsync(parent, backupId, sourceBackup, expireTime).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDatabaseAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CopyBackupRequest actualRequest = ((CopyBackupRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertEquals(backupId, actualRequest.getBackupId()); + Assert.assertEquals(sourceBackup.toString(), actualRequest.getSourceBackup()); + Assert.assertEquals(expireTime, actualRequest.getExpireTime()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void copyBackupExceptionTest3() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatabaseAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + String backupId = "backupId2121930365"; + BackupName sourceBackup = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]"); + Timestamp expireTime = Timestamp.newBuilder().build(); + client.copyBackupAsync(parent, backupId, sourceBackup, expireTime).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void copyBackupTest4() throws Exception { + Backup expectedResponse = + Backup.newBuilder() + .setDatabase(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setVersionTime(Timestamp.newBuilder().build()) + .setExpireTime(Timestamp.newBuilder().build()) + .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setSizeBytes(-1796325715) + .addAllReferencingDatabases(new ArrayList()) + .setEncryptionInfo(EncryptionInfo.newBuilder().build()) + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .addAllReferencingBackups(new ArrayList()) + .setMaxExpireTime(Timestamp.newBuilder().build()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("copyBackupTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockDatabaseAdmin.addResponse(resultOperation); + + String parent = "parent-995424086"; + String backupId = "backupId2121930365"; + String sourceBackup = "sourceBackup823134653"; + Timestamp expireTime = Timestamp.newBuilder().build(); + + Backup actualResponse = + client.copyBackupAsync(parent, backupId, sourceBackup, expireTime).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDatabaseAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CopyBackupRequest actualRequest = ((CopyBackupRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertEquals(backupId, actualRequest.getBackupId()); + Assert.assertEquals(sourceBackup, actualRequest.getSourceBackup()); + Assert.assertEquals(expireTime, actualRequest.getExpireTime()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void copyBackupExceptionTest4() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatabaseAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + String backupId = "backupId2121930365"; + String sourceBackup = "sourceBackup823134653"; + Timestamp expireTime = Timestamp.newBuilder().build(); + client.copyBackupAsync(parent, backupId, sourceBackup, expireTime).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void getBackupTest() throws Exception { + Backup expectedResponse = + Backup.newBuilder() + .setDatabase(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setVersionTime(Timestamp.newBuilder().build()) + .setExpireTime(Timestamp.newBuilder().build()) + .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setSizeBytes(-1796325715) + .addAllReferencingDatabases(new ArrayList()) + .setEncryptionInfo(EncryptionInfo.newBuilder().build()) + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .addAllReferencingBackups(new ArrayList()) + .setMaxExpireTime(Timestamp.newBuilder().build()) + .build(); + mockDatabaseAdmin.addResponse(expectedResponse); + + BackupName name = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]"); + + Backup actualResponse = client.getBackup(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDatabaseAdmin.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); + mockDatabaseAdmin.addException(exception); + + try { + BackupName name = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]"); + client.getBackup(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getBackupTest2() throws Exception { + Backup expectedResponse = + Backup.newBuilder() + .setDatabase(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setVersionTime(Timestamp.newBuilder().build()) + .setExpireTime(Timestamp.newBuilder().build()) + .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setSizeBytes(-1796325715) + .addAllReferencingDatabases(new ArrayList()) + .setEncryptionInfo(EncryptionInfo.newBuilder().build()) + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .addAllReferencingBackups(new ArrayList()) + .setMaxExpireTime(Timestamp.newBuilder().build()) + .build(); + mockDatabaseAdmin.addResponse(expectedResponse); + + String name = "name3373707"; + + Backup actualResponse = client.getBackup(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDatabaseAdmin.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); + mockDatabaseAdmin.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() + .setDatabase(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setVersionTime(Timestamp.newBuilder().build()) + .setExpireTime(Timestamp.newBuilder().build()) + .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setSizeBytes(-1796325715) + .addAllReferencingDatabases(new ArrayList()) + .setEncryptionInfo(EncryptionInfo.newBuilder().build()) + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .addAllReferencingBackups(new ArrayList()) + .setMaxExpireTime(Timestamp.newBuilder().build()) + .build(); + mockDatabaseAdmin.addResponse(expectedResponse); + + Backup backup = Backup.newBuilder().build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + + Backup actualResponse = client.updateBackup(backup, updateMask); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDatabaseAdmin.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); + mockDatabaseAdmin.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(); + mockDatabaseAdmin.addResponse(expectedResponse); + + BackupName name = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]"); + + client.deleteBackup(name); + + List actualRequests = mockDatabaseAdmin.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); + mockDatabaseAdmin.addException(exception); + + try { + BackupName name = BackupName.of("[PROJECT]", "[INSTANCE]", "[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(); + mockDatabaseAdmin.addResponse(expectedResponse); + + String name = "name3373707"; + + client.deleteBackup(name); + + List actualRequests = mockDatabaseAdmin.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); + mockDatabaseAdmin.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(); + mockDatabaseAdmin.addResponse(expectedResponse); + + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + + 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 = mockDatabaseAdmin.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); + mockDatabaseAdmin.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + 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(); + mockDatabaseAdmin.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 = mockDatabaseAdmin.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); + mockDatabaseAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + client.listBackups(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void restoreDatabaseTest() throws Exception { + Database expectedResponse = + Database.newBuilder() + .setName(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setEncryptionConfig(EncryptionConfig.newBuilder().build()) + .addAllEncryptionInfo(new ArrayList()) + .setVersionRetentionPeriod("versionRetentionPeriod-629783929") + .setEarliestVersionTime(Timestamp.newBuilder().build()) + .setDefaultLeader("defaultLeader759009962") + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("restoreDatabaseTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockDatabaseAdmin.addResponse(resultOperation); + + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String databaseId = "databaseId1688905718"; + BackupName backup = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]"); + + Database actualResponse = client.restoreDatabaseAsync(parent, databaseId, backup).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDatabaseAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + RestoreDatabaseRequest actualRequest = ((RestoreDatabaseRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertEquals(databaseId, actualRequest.getDatabaseId()); + Assert.assertEquals(backup.toString(), actualRequest.getBackup()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void restoreDatabaseExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatabaseAdmin.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String databaseId = "databaseId1688905718"; + BackupName backup = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]"); + client.restoreDatabaseAsync(parent, databaseId, 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 restoreDatabaseTest2() throws Exception { + Database expectedResponse = + Database.newBuilder() + .setName(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setEncryptionConfig(EncryptionConfig.newBuilder().build()) + .addAllEncryptionInfo(new ArrayList()) + .setVersionRetentionPeriod("versionRetentionPeriod-629783929") + .setEarliestVersionTime(Timestamp.newBuilder().build()) + .setDefaultLeader("defaultLeader759009962") + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("restoreDatabaseTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockDatabaseAdmin.addResponse(resultOperation); + + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String databaseId = "databaseId1688905718"; + String backup = "backup-1396673086"; + + Database actualResponse = client.restoreDatabaseAsync(parent, databaseId, backup).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDatabaseAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + RestoreDatabaseRequest actualRequest = ((RestoreDatabaseRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertEquals(databaseId, actualRequest.getDatabaseId()); + Assert.assertEquals(backup, actualRequest.getBackup()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void restoreDatabaseExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatabaseAdmin.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String databaseId = "databaseId1688905718"; + String backup = "backup-1396673086"; + client.restoreDatabaseAsync(parent, databaseId, 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 restoreDatabaseTest3() throws Exception { + Database expectedResponse = + Database.newBuilder() + .setName(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setEncryptionConfig(EncryptionConfig.newBuilder().build()) + .addAllEncryptionInfo(new ArrayList()) + .setVersionRetentionPeriod("versionRetentionPeriod-629783929") + .setEarliestVersionTime(Timestamp.newBuilder().build()) + .setDefaultLeader("defaultLeader759009962") + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("restoreDatabaseTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockDatabaseAdmin.addResponse(resultOperation); + + String parent = "parent-995424086"; + String databaseId = "databaseId1688905718"; + BackupName backup = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]"); + + Database actualResponse = client.restoreDatabaseAsync(parent, databaseId, backup).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDatabaseAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + RestoreDatabaseRequest actualRequest = ((RestoreDatabaseRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertEquals(databaseId, actualRequest.getDatabaseId()); + Assert.assertEquals(backup.toString(), actualRequest.getBackup()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void restoreDatabaseExceptionTest3() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatabaseAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + String databaseId = "databaseId1688905718"; + BackupName backup = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]"); + client.restoreDatabaseAsync(parent, databaseId, 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 restoreDatabaseTest4() throws Exception { + Database expectedResponse = + Database.newBuilder() + .setName(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setEncryptionConfig(EncryptionConfig.newBuilder().build()) + .addAllEncryptionInfo(new ArrayList()) + .setVersionRetentionPeriod("versionRetentionPeriod-629783929") + .setEarliestVersionTime(Timestamp.newBuilder().build()) + .setDefaultLeader("defaultLeader759009962") + .setDatabaseDialect(DatabaseDialect.forNumber(0)) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("restoreDatabaseTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockDatabaseAdmin.addResponse(resultOperation); + + String parent = "parent-995424086"; + String databaseId = "databaseId1688905718"; + String backup = "backup-1396673086"; + + Database actualResponse = client.restoreDatabaseAsync(parent, databaseId, backup).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDatabaseAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + RestoreDatabaseRequest actualRequest = ((RestoreDatabaseRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertEquals(databaseId, actualRequest.getDatabaseId()); + Assert.assertEquals(backup, actualRequest.getBackup()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void restoreDatabaseExceptionTest4() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatabaseAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + String databaseId = "databaseId1688905718"; + String backup = "backup-1396673086"; + client.restoreDatabaseAsync(parent, databaseId, 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 listDatabaseOperationsTest() throws Exception { + Operation responsesElement = Operation.newBuilder().build(); + ListDatabaseOperationsResponse expectedResponse = + ListDatabaseOperationsResponse.newBuilder() + .setNextPageToken("") + .addAllOperations(Arrays.asList(responsesElement)) + .build(); + mockDatabaseAdmin.addResponse(expectedResponse); + + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + + ListDatabaseOperationsPagedResponse pagedListResponse = client.listDatabaseOperations(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getOperationsList().get(0), resources.get(0)); + + List actualRequests = mockDatabaseAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListDatabaseOperationsRequest actualRequest = + ((ListDatabaseOperationsRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listDatabaseOperationsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatabaseAdmin.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + client.listDatabaseOperations(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listDatabaseOperationsTest2() throws Exception { + Operation responsesElement = Operation.newBuilder().build(); + ListDatabaseOperationsResponse expectedResponse = + ListDatabaseOperationsResponse.newBuilder() + .setNextPageToken("") + .addAllOperations(Arrays.asList(responsesElement)) + .build(); + mockDatabaseAdmin.addResponse(expectedResponse); + + String parent = "parent-995424086"; + + ListDatabaseOperationsPagedResponse pagedListResponse = client.listDatabaseOperations(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getOperationsList().get(0), resources.get(0)); + + List actualRequests = mockDatabaseAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListDatabaseOperationsRequest actualRequest = + ((ListDatabaseOperationsRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listDatabaseOperationsExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatabaseAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + client.listDatabaseOperations(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listBackupOperationsTest() throws Exception { + Operation responsesElement = Operation.newBuilder().build(); + ListBackupOperationsResponse expectedResponse = + ListBackupOperationsResponse.newBuilder() + .setNextPageToken("") + .addAllOperations(Arrays.asList(responsesElement)) + .build(); + mockDatabaseAdmin.addResponse(expectedResponse); + + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + + ListBackupOperationsPagedResponse pagedListResponse = client.listBackupOperations(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getOperationsList().get(0), resources.get(0)); + + List actualRequests = mockDatabaseAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListBackupOperationsRequest actualRequest = + ((ListBackupOperationsRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listBackupOperationsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatabaseAdmin.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + client.listBackupOperations(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listBackupOperationsTest2() throws Exception { + Operation responsesElement = Operation.newBuilder().build(); + ListBackupOperationsResponse expectedResponse = + ListBackupOperationsResponse.newBuilder() + .setNextPageToken("") + .addAllOperations(Arrays.asList(responsesElement)) + .build(); + mockDatabaseAdmin.addResponse(expectedResponse); + + String parent = "parent-995424086"; + + ListBackupOperationsPagedResponse pagedListResponse = client.listBackupOperations(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getOperationsList().get(0), resources.get(0)); + + List actualRequests = mockDatabaseAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListBackupOperationsRequest actualRequest = + ((ListBackupOperationsRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listBackupOperationsExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatabaseAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + client.listBackupOperations(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listDatabaseRolesTest() throws Exception { + DatabaseRole responsesElement = DatabaseRole.newBuilder().build(); + ListDatabaseRolesResponse expectedResponse = + ListDatabaseRolesResponse.newBuilder() + .setNextPageToken("") + .addAllDatabaseRoles(Arrays.asList(responsesElement)) + .build(); + mockDatabaseAdmin.addResponse(expectedResponse); + + DatabaseName parent = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]"); + + ListDatabaseRolesPagedResponse pagedListResponse = client.listDatabaseRoles(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getDatabaseRolesList().get(0), resources.get(0)); + + List actualRequests = mockDatabaseAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListDatabaseRolesRequest actualRequest = ((ListDatabaseRolesRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listDatabaseRolesExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatabaseAdmin.addException(exception); + + try { + DatabaseName parent = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]"); + client.listDatabaseRoles(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listDatabaseRolesTest2() throws Exception { + DatabaseRole responsesElement = DatabaseRole.newBuilder().build(); + ListDatabaseRolesResponse expectedResponse = + ListDatabaseRolesResponse.newBuilder() + .setNextPageToken("") + .addAllDatabaseRoles(Arrays.asList(responsesElement)) + .build(); + mockDatabaseAdmin.addResponse(expectedResponse); + + String parent = "parent-995424086"; + + ListDatabaseRolesPagedResponse pagedListResponse = client.listDatabaseRoles(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getDatabaseRolesList().get(0), resources.get(0)); + + List actualRequests = mockDatabaseAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListDatabaseRolesRequest actualRequest = ((ListDatabaseRolesRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listDatabaseRolesExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatabaseAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + client.listDatabaseRoles(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } +} diff --git a/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/database/v1/MockDatabaseAdmin.java b/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/database/v1/MockDatabaseAdmin.java new file mode 100644 index 00000000000..ed3dc441156 --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/database/v1/MockDatabaseAdmin.java @@ -0,0 +1,59 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.spanner.admin.database.v1; + +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 MockDatabaseAdmin implements MockGrpcService { + private final MockDatabaseAdminImpl serviceImpl; + + public MockDatabaseAdmin() { + serviceImpl = new MockDatabaseAdminImpl(); + } + + @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/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/database/v1/MockDatabaseAdminImpl.java b/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/database/v1/MockDatabaseAdminImpl.java new file mode 100644 index 00000000000..30199947aed --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/database/v1/MockDatabaseAdminImpl.java @@ -0,0 +1,486 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.spanner.admin.database.v1; + +import com.google.api.core.BetaApi; +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 com.google.spanner.admin.database.v1.Backup; +import com.google.spanner.admin.database.v1.CopyBackupRequest; +import com.google.spanner.admin.database.v1.CreateBackupRequest; +import com.google.spanner.admin.database.v1.CreateDatabaseRequest; +import com.google.spanner.admin.database.v1.Database; +import com.google.spanner.admin.database.v1.DatabaseAdminGrpc.DatabaseAdminImplBase; +import com.google.spanner.admin.database.v1.DeleteBackupRequest; +import com.google.spanner.admin.database.v1.DropDatabaseRequest; +import com.google.spanner.admin.database.v1.GetBackupRequest; +import com.google.spanner.admin.database.v1.GetDatabaseDdlRequest; +import com.google.spanner.admin.database.v1.GetDatabaseDdlResponse; +import com.google.spanner.admin.database.v1.GetDatabaseRequest; +import com.google.spanner.admin.database.v1.ListBackupOperationsRequest; +import com.google.spanner.admin.database.v1.ListBackupOperationsResponse; +import com.google.spanner.admin.database.v1.ListBackupsRequest; +import com.google.spanner.admin.database.v1.ListBackupsResponse; +import com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest; +import com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse; +import com.google.spanner.admin.database.v1.ListDatabaseRolesRequest; +import com.google.spanner.admin.database.v1.ListDatabaseRolesResponse; +import com.google.spanner.admin.database.v1.ListDatabasesRequest; +import com.google.spanner.admin.database.v1.ListDatabasesResponse; +import com.google.spanner.admin.database.v1.RestoreDatabaseRequest; +import com.google.spanner.admin.database.v1.UpdateBackupRequest; +import com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest; +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 MockDatabaseAdminImpl extends DatabaseAdminImplBase { + private List requests; + private Queue responses; + + public MockDatabaseAdminImpl() { + 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 listDatabases( + ListDatabasesRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ListDatabasesResponse) { + requests.add(request); + responseObserver.onNext(((ListDatabasesResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ListDatabases, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ListDatabasesResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void createDatabase( + CreateDatabaseRequest 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 CreateDatabase, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void getDatabase(GetDatabaseRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Database) { + requests.add(request); + responseObserver.onNext(((Database) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method GetDatabase, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Database.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void updateDatabaseDdl( + UpdateDatabaseDdlRequest 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 UpdateDatabaseDdl, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void dropDatabase(DropDatabaseRequest 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 DropDatabase, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Empty.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void getDatabaseDdl( + GetDatabaseDdlRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof GetDatabaseDdlResponse) { + requests.add(request); + responseObserver.onNext(((GetDatabaseDdlResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method GetDatabaseDdl, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + GetDatabaseDdlResponse.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 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 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 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 copyBackup(CopyBackupRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Operation) { + requests.add(request); + responseObserver.onNext(((Operation) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method CopyBackup, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void 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 restoreDatabase( + RestoreDatabaseRequest 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 RestoreDatabase, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void listDatabaseOperations( + ListDatabaseOperationsRequest request, + StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ListDatabaseOperationsResponse) { + requests.add(request); + responseObserver.onNext(((ListDatabaseOperationsResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ListDatabaseOperations, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ListDatabaseOperationsResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void listBackupOperations( + ListBackupOperationsRequest request, + StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ListBackupOperationsResponse) { + requests.add(request); + responseObserver.onNext(((ListBackupOperationsResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ListBackupOperations, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ListBackupOperationsResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void listDatabaseRoles( + ListDatabaseRolesRequest request, + StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ListDatabaseRolesResponse) { + requests.add(request); + responseObserver.onNext(((ListDatabaseRolesResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ListDatabaseRoles, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ListDatabaseRolesResponse.class.getName(), + Exception.class.getName()))); + } + } +} diff --git a/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminClientHttpJsonTest.java b/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminClientHttpJsonTest.java new file mode 100644 index 00000000000..4088a052668 --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminClientHttpJsonTest.java @@ -0,0 +1,1461 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.spanner.admin.instance.v1; + +import static com.google.cloud.spanner.admin.instance.v1.InstanceAdminClient.ListInstanceConfigOperationsPagedResponse; +import static com.google.cloud.spanner.admin.instance.v1.InstanceAdminClient.ListInstanceConfigsPagedResponse; +import static com.google.cloud.spanner.admin.instance.v1.InstanceAdminClient.ListInstancesPagedResponse; + +import com.google.api.gax.core.NoCredentialsProvider; +import com.google.api.gax.httpjson.GaxHttpJsonProperties; +import com.google.api.gax.httpjson.testing.MockHttpService; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ApiException; +import com.google.api.gax.rpc.ApiExceptionFactory; +import com.google.api.gax.rpc.InvalidArgumentException; +import com.google.api.gax.rpc.StatusCode; +import com.google.api.gax.rpc.testing.FakeStatusCode; +import com.google.api.resourcenames.ResourceName; +import com.google.cloud.spanner.admin.instance.v1.stub.HttpJsonInstanceAdminStub; +import com.google.common.collect.Lists; +import com.google.iam.v1.AuditConfig; +import com.google.iam.v1.Binding; +import com.google.iam.v1.Policy; +import com.google.iam.v1.TestIamPermissionsResponse; +import com.google.longrunning.Operation; +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 com.google.spanner.admin.instance.v1.Instance; +import com.google.spanner.admin.instance.v1.InstanceConfig; +import com.google.spanner.admin.instance.v1.InstanceConfigName; +import com.google.spanner.admin.instance.v1.InstanceName; +import com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse; +import com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse; +import com.google.spanner.admin.instance.v1.ListInstancesResponse; +import com.google.spanner.admin.instance.v1.ProjectName; +import com.google.spanner.admin.instance.v1.ReplicaInfo; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.HashMap; +import java.util.List; +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 InstanceAdminClientHttpJsonTest { + private static MockHttpService mockService; + private static InstanceAdminClient client; + + @BeforeClass + public static void startStaticServer() throws IOException { + mockService = + new MockHttpService( + HttpJsonInstanceAdminStub.getMethodDescriptors(), + InstanceAdminSettings.getDefaultEndpoint()); + InstanceAdminSettings settings = + InstanceAdminSettings.newHttpJsonBuilder() + .setTransportChannelProvider( + InstanceAdminSettings.defaultHttpJsonTransportProviderBuilder() + .setHttpTransport(mockService) + .build()) + .setCredentialsProvider(NoCredentialsProvider.create()) + .build(); + client = InstanceAdminClient.create(settings); + } + + @AfterClass + public static void stopServer() { + client.close(); + } + + @Before + public void setUp() {} + + @After + public void tearDown() throws Exception { + mockService.reset(); + } + + @Test + public void listInstanceConfigsTest() throws Exception { + InstanceConfig responsesElement = InstanceConfig.newBuilder().build(); + ListInstanceConfigsResponse expectedResponse = + ListInstanceConfigsResponse.newBuilder() + .setNextPageToken("") + .addAllInstanceConfigs(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + ProjectName parent = ProjectName.of("[PROJECT]"); + + ListInstanceConfigsPagedResponse pagedListResponse = client.listInstanceConfigs(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getInstanceConfigsList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listInstanceConfigsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + ProjectName parent = ProjectName.of("[PROJECT]"); + client.listInstanceConfigs(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listInstanceConfigsTest2() throws Exception { + InstanceConfig responsesElement = InstanceConfig.newBuilder().build(); + ListInstanceConfigsResponse expectedResponse = + ListInstanceConfigsResponse.newBuilder() + .setNextPageToken("") + .addAllInstanceConfigs(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-2353"; + + ListInstanceConfigsPagedResponse pagedListResponse = client.listInstanceConfigs(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getInstanceConfigsList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listInstanceConfigsExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-2353"; + client.listInstanceConfigs(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getInstanceConfigTest() throws Exception { + InstanceConfig expectedResponse = + InstanceConfig.newBuilder() + .setName(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .setDisplayName("displayName1714148973") + .addAllReplicas(new ArrayList()) + .addAllOptionalReplicas(new ArrayList()) + .setBaseConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .putAllLabels(new HashMap()) + .setEtag("etag3123477") + .addAllLeaderOptions(new ArrayList()) + .setReconciling(true) + .build(); + mockService.addResponse(expectedResponse); + + InstanceConfigName name = InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]"); + + InstanceConfig actualResponse = client.getInstanceConfig(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getInstanceConfigExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + InstanceConfigName name = InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]"); + client.getInstanceConfig(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getInstanceConfigTest2() throws Exception { + InstanceConfig expectedResponse = + InstanceConfig.newBuilder() + .setName(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .setDisplayName("displayName1714148973") + .addAllReplicas(new ArrayList()) + .addAllOptionalReplicas(new ArrayList()) + .setBaseConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .putAllLabels(new HashMap()) + .setEtag("etag3123477") + .addAllLeaderOptions(new ArrayList()) + .setReconciling(true) + .build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-3640/instanceConfigs/instanceConfig-3640"; + + InstanceConfig actualResponse = client.getInstanceConfig(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getInstanceConfigExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-3640/instanceConfigs/instanceConfig-3640"; + client.getInstanceConfig(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createInstanceConfigTest() throws Exception { + InstanceConfig expectedResponse = + InstanceConfig.newBuilder() + .setName(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .setDisplayName("displayName1714148973") + .addAllReplicas(new ArrayList()) + .addAllOptionalReplicas(new ArrayList()) + .setBaseConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .putAllLabels(new HashMap()) + .setEtag("etag3123477") + .addAllLeaderOptions(new ArrayList()) + .setReconciling(true) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createInstanceConfigTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + ProjectName parent = ProjectName.of("[PROJECT]"); + InstanceConfig instanceConfig = InstanceConfig.newBuilder().build(); + String instanceConfigId = "instanceConfigId1750947762"; + + InstanceConfig actualResponse = + client.createInstanceConfigAsync(parent, instanceConfig, instanceConfigId).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createInstanceConfigExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + ProjectName parent = ProjectName.of("[PROJECT]"); + InstanceConfig instanceConfig = InstanceConfig.newBuilder().build(); + String instanceConfigId = "instanceConfigId1750947762"; + client.createInstanceConfigAsync(parent, instanceConfig, instanceConfigId).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void createInstanceConfigTest2() throws Exception { + InstanceConfig expectedResponse = + InstanceConfig.newBuilder() + .setName(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .setDisplayName("displayName1714148973") + .addAllReplicas(new ArrayList()) + .addAllOptionalReplicas(new ArrayList()) + .setBaseConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .putAllLabels(new HashMap()) + .setEtag("etag3123477") + .addAllLeaderOptions(new ArrayList()) + .setReconciling(true) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createInstanceConfigTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + String parent = "projects/project-2353"; + InstanceConfig instanceConfig = InstanceConfig.newBuilder().build(); + String instanceConfigId = "instanceConfigId1750947762"; + + InstanceConfig actualResponse = + client.createInstanceConfigAsync(parent, instanceConfig, instanceConfigId).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createInstanceConfigExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-2353"; + InstanceConfig instanceConfig = InstanceConfig.newBuilder().build(); + String instanceConfigId = "instanceConfigId1750947762"; + client.createInstanceConfigAsync(parent, instanceConfig, instanceConfigId).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void updateInstanceConfigTest() throws Exception { + InstanceConfig expectedResponse = + InstanceConfig.newBuilder() + .setName(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .setDisplayName("displayName1714148973") + .addAllReplicas(new ArrayList()) + .addAllOptionalReplicas(new ArrayList()) + .setBaseConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .putAllLabels(new HashMap()) + .setEtag("etag3123477") + .addAllLeaderOptions(new ArrayList()) + .setReconciling(true) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("updateInstanceConfigTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + InstanceConfig instanceConfig = + InstanceConfig.newBuilder() + .setName(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .setDisplayName("displayName1714148973") + .addAllReplicas(new ArrayList()) + .addAllOptionalReplicas(new ArrayList()) + .setBaseConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .putAllLabels(new HashMap()) + .setEtag("etag3123477") + .addAllLeaderOptions(new ArrayList()) + .setReconciling(true) + .build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + + InstanceConfig actualResponse = + client.updateInstanceConfigAsync(instanceConfig, updateMask).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void updateInstanceConfigExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + InstanceConfig instanceConfig = + InstanceConfig.newBuilder() + .setName(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .setDisplayName("displayName1714148973") + .addAllReplicas(new ArrayList()) + .addAllOptionalReplicas(new ArrayList()) + .setBaseConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .putAllLabels(new HashMap()) + .setEtag("etag3123477") + .addAllLeaderOptions(new ArrayList()) + .setReconciling(true) + .build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + client.updateInstanceConfigAsync(instanceConfig, updateMask).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void deleteInstanceConfigTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + InstanceConfigName name = InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]"); + + client.deleteInstanceConfig(name); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deleteInstanceConfigExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + InstanceConfigName name = InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]"); + client.deleteInstanceConfig(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteInstanceConfigTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-3640/instanceConfigs/instanceConfig-3640"; + + client.deleteInstanceConfig(name); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deleteInstanceConfigExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-3640/instanceConfigs/instanceConfig-3640"; + client.deleteInstanceConfig(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listInstanceConfigOperationsTest() throws Exception { + Operation responsesElement = Operation.newBuilder().build(); + ListInstanceConfigOperationsResponse expectedResponse = + ListInstanceConfigOperationsResponse.newBuilder() + .setNextPageToken("") + .addAllOperations(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + ProjectName parent = ProjectName.of("[PROJECT]"); + + ListInstanceConfigOperationsPagedResponse pagedListResponse = + client.listInstanceConfigOperations(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getOperationsList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listInstanceConfigOperationsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + ProjectName parent = ProjectName.of("[PROJECT]"); + client.listInstanceConfigOperations(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listInstanceConfigOperationsTest2() throws Exception { + Operation responsesElement = Operation.newBuilder().build(); + ListInstanceConfigOperationsResponse expectedResponse = + ListInstanceConfigOperationsResponse.newBuilder() + .setNextPageToken("") + .addAllOperations(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-2353"; + + ListInstanceConfigOperationsPagedResponse pagedListResponse = + client.listInstanceConfigOperations(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getOperationsList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listInstanceConfigOperationsExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-2353"; + client.listInstanceConfigOperations(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listInstancesTest() throws Exception { + Instance responsesElement = Instance.newBuilder().build(); + ListInstancesResponse expectedResponse = + ListInstancesResponse.newBuilder() + .setNextPageToken("") + .addAllInstances(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + ProjectName parent = ProjectName.of("[PROJECT]"); + + ListInstancesPagedResponse pagedListResponse = client.listInstances(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getInstancesList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listInstancesExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.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 { + Instance responsesElement = Instance.newBuilder().build(); + ListInstancesResponse expectedResponse = + ListInstancesResponse.newBuilder() + .setNextPageToken("") + .addAllInstances(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-2353"; + + ListInstancesPagedResponse pagedListResponse = client.listInstances(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getInstancesList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listInstancesExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-2353"; + client.listInstances(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getInstanceTest() throws Exception { + Instance expectedResponse = + Instance.newBuilder() + .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString()) + .setConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .setDisplayName("displayName1714148973") + .setNodeCount(1539922066) + .setProcessingUnits(-329117885) + .putAllLabels(new HashMap()) + .addAllEndpointUris(new ArrayList()) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + InstanceName name = InstanceName.of("[PROJECT]", "[INSTANCE]"); + + Instance actualResponse = client.getInstance(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getInstanceExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.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()) + .setConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .setDisplayName("displayName1714148973") + .setNodeCount(1539922066) + .setProcessingUnits(-329117885) + .putAllLabels(new HashMap()) + .addAllEndpointUris(new ArrayList()) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-3514/instances/instance-3514"; + + Instance actualResponse = client.getInstance(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getInstanceExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-3514/instances/instance-3514"; + client.getInstance(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createInstanceTest() throws Exception { + Instance expectedResponse = + Instance.newBuilder() + .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString()) + .setConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .setDisplayName("displayName1714148973") + .setNodeCount(1539922066) + .setProcessingUnits(-329117885) + .putAllLabels(new HashMap()) + .addAllEndpointUris(new ArrayList()) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createInstanceTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + ProjectName parent = ProjectName.of("[PROJECT]"); + String instanceId = "instanceId902024336"; + Instance instance = Instance.newBuilder().build(); + + Instance actualResponse = client.createInstanceAsync(parent, instanceId, instance).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createInstanceExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + ProjectName parent = ProjectName.of("[PROJECT]"); + String instanceId = "instanceId902024336"; + Instance instance = Instance.newBuilder().build(); + client.createInstanceAsync(parent, instanceId, instance).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void createInstanceTest2() throws Exception { + Instance expectedResponse = + Instance.newBuilder() + .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString()) + .setConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .setDisplayName("displayName1714148973") + .setNodeCount(1539922066) + .setProcessingUnits(-329117885) + .putAllLabels(new HashMap()) + .addAllEndpointUris(new ArrayList()) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createInstanceTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + String parent = "projects/project-2353"; + String instanceId = "instanceId902024336"; + Instance instance = Instance.newBuilder().build(); + + Instance actualResponse = client.createInstanceAsync(parent, instanceId, instance).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createInstanceExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-2353"; + String instanceId = "instanceId902024336"; + Instance instance = Instance.newBuilder().build(); + client.createInstanceAsync(parent, instanceId, instance).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void updateInstanceTest() throws Exception { + Instance expectedResponse = + Instance.newBuilder() + .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString()) + .setConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .setDisplayName("displayName1714148973") + .setNodeCount(1539922066) + .setProcessingUnits(-329117885) + .putAllLabels(new HashMap()) + .addAllEndpointUris(new ArrayList()) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("updateInstanceTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + Instance instance = + Instance.newBuilder() + .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString()) + .setConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .setDisplayName("displayName1714148973") + .setNodeCount(1539922066) + .setProcessingUnits(-329117885) + .putAllLabels(new HashMap()) + .addAllEndpointUris(new ArrayList()) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .build(); + FieldMask fieldMask = FieldMask.newBuilder().build(); + + Instance actualResponse = client.updateInstanceAsync(instance, fieldMask).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void updateInstanceExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + Instance instance = + Instance.newBuilder() + .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString()) + .setConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .setDisplayName("displayName1714148973") + .setNodeCount(1539922066) + .setProcessingUnits(-329117885) + .putAllLabels(new HashMap()) + .addAllEndpointUris(new ArrayList()) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .build(); + FieldMask fieldMask = FieldMask.newBuilder().build(); + client.updateInstanceAsync(instance, fieldMask).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void deleteInstanceTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + InstanceName name = InstanceName.of("[PROJECT]", "[INSTANCE]"); + + client.deleteInstance(name); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deleteInstanceExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.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(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-3514/instances/instance-3514"; + + client.deleteInstance(name); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deleteInstanceExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-3514/instances/instance-3514"; + client.deleteInstance(name); + 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(); + mockService.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 = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void setIamPolicyExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.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(); + mockService.addResponse(expectedResponse); + + String resource = "projects/project-3043/instances/instance-3043"; + Policy policy = Policy.newBuilder().build(); + + Policy actualResponse = client.setIamPolicy(resource, policy); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void setIamPolicyExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String resource = "projects/project-3043/instances/instance-3043"; + Policy policy = Policy.newBuilder().build(); + client.setIamPolicy(resource, policy); + 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(); + mockService.addResponse(expectedResponse); + + ResourceName resource = InstanceName.of("[PROJECT]", "[INSTANCE]"); + + Policy actualResponse = client.getIamPolicy(resource); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getIamPolicyExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.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(); + mockService.addResponse(expectedResponse); + + String resource = "projects/project-3043/instances/instance-3043"; + + Policy actualResponse = client.getIamPolicy(resource); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getIamPolicyExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String resource = "projects/project-3043/instances/instance-3043"; + client.getIamPolicy(resource); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void testIamPermissionsTest() throws Exception { + TestIamPermissionsResponse expectedResponse = + TestIamPermissionsResponse.newBuilder().addAllPermissions(new ArrayList()).build(); + mockService.addResponse(expectedResponse); + + ResourceName resource = InstanceName.of("[PROJECT]", "[INSTANCE]"); + List permissions = new ArrayList<>(); + + TestIamPermissionsResponse actualResponse = client.testIamPermissions(resource, permissions); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void testIamPermissionsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.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(); + mockService.addResponse(expectedResponse); + + String resource = "projects/project-3043/instances/instance-3043"; + List permissions = new ArrayList<>(); + + TestIamPermissionsResponse actualResponse = client.testIamPermissions(resource, permissions); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void testIamPermissionsExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String resource = "projects/project-3043/instances/instance-3043"; + List permissions = new ArrayList<>(); + client.testIamPermissions(resource, permissions); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } +} diff --git a/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminClientTest.java b/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminClientTest.java new file mode 100644 index 00000000000..a120a858542 --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminClientTest.java @@ -0,0 +1,1318 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.spanner.admin.instance.v1; + +import static com.google.cloud.spanner.admin.instance.v1.InstanceAdminClient.ListInstanceConfigOperationsPagedResponse; +import static com.google.cloud.spanner.admin.instance.v1.InstanceAdminClient.ListInstanceConfigsPagedResponse; +import static com.google.cloud.spanner.admin.instance.v1.InstanceAdminClient.ListInstancesPagedResponse; + +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.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 com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest; +import com.google.spanner.admin.instance.v1.CreateInstanceRequest; +import com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest; +import com.google.spanner.admin.instance.v1.DeleteInstanceRequest; +import com.google.spanner.admin.instance.v1.GetInstanceConfigRequest; +import com.google.spanner.admin.instance.v1.GetInstanceRequest; +import com.google.spanner.admin.instance.v1.Instance; +import com.google.spanner.admin.instance.v1.InstanceConfig; +import com.google.spanner.admin.instance.v1.InstanceConfigName; +import com.google.spanner.admin.instance.v1.InstanceName; +import com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest; +import com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse; +import com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest; +import com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse; +import com.google.spanner.admin.instance.v1.ListInstancesRequest; +import com.google.spanner.admin.instance.v1.ListInstancesResponse; +import com.google.spanner.admin.instance.v1.ProjectName; +import com.google.spanner.admin.instance.v1.ReplicaInfo; +import com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest; +import com.google.spanner.admin.instance.v1.UpdateInstanceRequest; +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 InstanceAdminClientTest { + private static MockInstanceAdmin mockInstanceAdmin; + private static MockServiceHelper mockServiceHelper; + private LocalChannelProvider channelProvider; + private InstanceAdminClient client; + + @BeforeClass + public static void startStaticServer() { + mockInstanceAdmin = new MockInstanceAdmin(); + mockServiceHelper = + new MockServiceHelper( + UUID.randomUUID().toString(), Arrays.asList(mockInstanceAdmin)); + mockServiceHelper.start(); + } + + @AfterClass + public static void stopServer() { + mockServiceHelper.stop(); + } + + @Before + public void setUp() throws IOException { + mockServiceHelper.reset(); + channelProvider = mockServiceHelper.createChannelProvider(); + InstanceAdminSettings settings = + InstanceAdminSettings.newBuilder() + .setTransportChannelProvider(channelProvider) + .setCredentialsProvider(NoCredentialsProvider.create()) + .build(); + client = InstanceAdminClient.create(settings); + } + + @After + public void tearDown() throws Exception { + client.close(); + } + + @Test + public void listInstanceConfigsTest() throws Exception { + InstanceConfig responsesElement = InstanceConfig.newBuilder().build(); + ListInstanceConfigsResponse expectedResponse = + ListInstanceConfigsResponse.newBuilder() + .setNextPageToken("") + .addAllInstanceConfigs(Arrays.asList(responsesElement)) + .build(); + mockInstanceAdmin.addResponse(expectedResponse); + + ProjectName parent = ProjectName.of("[PROJECT]"); + + ListInstanceConfigsPagedResponse pagedListResponse = client.listInstanceConfigs(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getInstanceConfigsList().get(0), resources.get(0)); + + List actualRequests = mockInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListInstanceConfigsRequest actualRequest = ((ListInstanceConfigsRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listInstanceConfigsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockInstanceAdmin.addException(exception); + + try { + ProjectName parent = ProjectName.of("[PROJECT]"); + client.listInstanceConfigs(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listInstanceConfigsTest2() throws Exception { + InstanceConfig responsesElement = InstanceConfig.newBuilder().build(); + ListInstanceConfigsResponse expectedResponse = + ListInstanceConfigsResponse.newBuilder() + .setNextPageToken("") + .addAllInstanceConfigs(Arrays.asList(responsesElement)) + .build(); + mockInstanceAdmin.addResponse(expectedResponse); + + String parent = "parent-995424086"; + + ListInstanceConfigsPagedResponse pagedListResponse = client.listInstanceConfigs(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getInstanceConfigsList().get(0), resources.get(0)); + + List actualRequests = mockInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListInstanceConfigsRequest actualRequest = ((ListInstanceConfigsRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listInstanceConfigsExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockInstanceAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + client.listInstanceConfigs(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getInstanceConfigTest() throws Exception { + InstanceConfig expectedResponse = + InstanceConfig.newBuilder() + .setName(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .setDisplayName("displayName1714148973") + .addAllReplicas(new ArrayList()) + .addAllOptionalReplicas(new ArrayList()) + .setBaseConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .putAllLabels(new HashMap()) + .setEtag("etag3123477") + .addAllLeaderOptions(new ArrayList()) + .setReconciling(true) + .build(); + mockInstanceAdmin.addResponse(expectedResponse); + + InstanceConfigName name = InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]"); + + InstanceConfig actualResponse = client.getInstanceConfig(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetInstanceConfigRequest actualRequest = ((GetInstanceConfigRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getInstanceConfigExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockInstanceAdmin.addException(exception); + + try { + InstanceConfigName name = InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]"); + client.getInstanceConfig(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getInstanceConfigTest2() throws Exception { + InstanceConfig expectedResponse = + InstanceConfig.newBuilder() + .setName(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .setDisplayName("displayName1714148973") + .addAllReplicas(new ArrayList()) + .addAllOptionalReplicas(new ArrayList()) + .setBaseConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .putAllLabels(new HashMap()) + .setEtag("etag3123477") + .addAllLeaderOptions(new ArrayList()) + .setReconciling(true) + .build(); + mockInstanceAdmin.addResponse(expectedResponse); + + String name = "name3373707"; + + InstanceConfig actualResponse = client.getInstanceConfig(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetInstanceConfigRequest actualRequest = ((GetInstanceConfigRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getInstanceConfigExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockInstanceAdmin.addException(exception); + + try { + String name = "name3373707"; + client.getInstanceConfig(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createInstanceConfigTest() throws Exception { + InstanceConfig expectedResponse = + InstanceConfig.newBuilder() + .setName(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .setDisplayName("displayName1714148973") + .addAllReplicas(new ArrayList()) + .addAllOptionalReplicas(new ArrayList()) + .setBaseConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .putAllLabels(new HashMap()) + .setEtag("etag3123477") + .addAllLeaderOptions(new ArrayList()) + .setReconciling(true) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createInstanceConfigTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockInstanceAdmin.addResponse(resultOperation); + + ProjectName parent = ProjectName.of("[PROJECT]"); + InstanceConfig instanceConfig = InstanceConfig.newBuilder().build(); + String instanceConfigId = "instanceConfigId1750947762"; + + InstanceConfig actualResponse = + client.createInstanceConfigAsync(parent, instanceConfig, instanceConfigId).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateInstanceConfigRequest actualRequest = + ((CreateInstanceConfigRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertEquals(instanceConfig, actualRequest.getInstanceConfig()); + Assert.assertEquals(instanceConfigId, actualRequest.getInstanceConfigId()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createInstanceConfigExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockInstanceAdmin.addException(exception); + + try { + ProjectName parent = ProjectName.of("[PROJECT]"); + InstanceConfig instanceConfig = InstanceConfig.newBuilder().build(); + String instanceConfigId = "instanceConfigId1750947762"; + client.createInstanceConfigAsync(parent, instanceConfig, instanceConfigId).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 createInstanceConfigTest2() throws Exception { + InstanceConfig expectedResponse = + InstanceConfig.newBuilder() + .setName(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .setDisplayName("displayName1714148973") + .addAllReplicas(new ArrayList()) + .addAllOptionalReplicas(new ArrayList()) + .setBaseConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .putAllLabels(new HashMap()) + .setEtag("etag3123477") + .addAllLeaderOptions(new ArrayList()) + .setReconciling(true) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createInstanceConfigTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockInstanceAdmin.addResponse(resultOperation); + + String parent = "parent-995424086"; + InstanceConfig instanceConfig = InstanceConfig.newBuilder().build(); + String instanceConfigId = "instanceConfigId1750947762"; + + InstanceConfig actualResponse = + client.createInstanceConfigAsync(parent, instanceConfig, instanceConfigId).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateInstanceConfigRequest actualRequest = + ((CreateInstanceConfigRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertEquals(instanceConfig, actualRequest.getInstanceConfig()); + Assert.assertEquals(instanceConfigId, actualRequest.getInstanceConfigId()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createInstanceConfigExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockInstanceAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + InstanceConfig instanceConfig = InstanceConfig.newBuilder().build(); + String instanceConfigId = "instanceConfigId1750947762"; + client.createInstanceConfigAsync(parent, instanceConfig, instanceConfigId).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 updateInstanceConfigTest() throws Exception { + InstanceConfig expectedResponse = + InstanceConfig.newBuilder() + .setName(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .setDisplayName("displayName1714148973") + .addAllReplicas(new ArrayList()) + .addAllOptionalReplicas(new ArrayList()) + .setBaseConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .putAllLabels(new HashMap()) + .setEtag("etag3123477") + .addAllLeaderOptions(new ArrayList()) + .setReconciling(true) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("updateInstanceConfigTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockInstanceAdmin.addResponse(resultOperation); + + InstanceConfig instanceConfig = InstanceConfig.newBuilder().build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + + InstanceConfig actualResponse = + client.updateInstanceConfigAsync(instanceConfig, updateMask).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + UpdateInstanceConfigRequest actualRequest = + ((UpdateInstanceConfigRequest) actualRequests.get(0)); + + Assert.assertEquals(instanceConfig, actualRequest.getInstanceConfig()); + Assert.assertEquals(updateMask, actualRequest.getUpdateMask()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void updateInstanceConfigExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockInstanceAdmin.addException(exception); + + try { + InstanceConfig instanceConfig = InstanceConfig.newBuilder().build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + client.updateInstanceConfigAsync(instanceConfig, 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 deleteInstanceConfigTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockInstanceAdmin.addResponse(expectedResponse); + + InstanceConfigName name = InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]"); + + client.deleteInstanceConfig(name); + + List actualRequests = mockInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteInstanceConfigRequest actualRequest = + ((DeleteInstanceConfigRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deleteInstanceConfigExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockInstanceAdmin.addException(exception); + + try { + InstanceConfigName name = InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]"); + client.deleteInstanceConfig(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteInstanceConfigTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockInstanceAdmin.addResponse(expectedResponse); + + String name = "name3373707"; + + client.deleteInstanceConfig(name); + + List actualRequests = mockInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteInstanceConfigRequest actualRequest = + ((DeleteInstanceConfigRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deleteInstanceConfigExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockInstanceAdmin.addException(exception); + + try { + String name = "name3373707"; + client.deleteInstanceConfig(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listInstanceConfigOperationsTest() throws Exception { + Operation responsesElement = Operation.newBuilder().build(); + ListInstanceConfigOperationsResponse expectedResponse = + ListInstanceConfigOperationsResponse.newBuilder() + .setNextPageToken("") + .addAllOperations(Arrays.asList(responsesElement)) + .build(); + mockInstanceAdmin.addResponse(expectedResponse); + + ProjectName parent = ProjectName.of("[PROJECT]"); + + ListInstanceConfigOperationsPagedResponse pagedListResponse = + client.listInstanceConfigOperations(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getOperationsList().get(0), resources.get(0)); + + List actualRequests = mockInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListInstanceConfigOperationsRequest actualRequest = + ((ListInstanceConfigOperationsRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listInstanceConfigOperationsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockInstanceAdmin.addException(exception); + + try { + ProjectName parent = ProjectName.of("[PROJECT]"); + client.listInstanceConfigOperations(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listInstanceConfigOperationsTest2() throws Exception { + Operation responsesElement = Operation.newBuilder().build(); + ListInstanceConfigOperationsResponse expectedResponse = + ListInstanceConfigOperationsResponse.newBuilder() + .setNextPageToken("") + .addAllOperations(Arrays.asList(responsesElement)) + .build(); + mockInstanceAdmin.addResponse(expectedResponse); + + String parent = "parent-995424086"; + + ListInstanceConfigOperationsPagedResponse pagedListResponse = + client.listInstanceConfigOperations(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getOperationsList().get(0), resources.get(0)); + + List actualRequests = mockInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListInstanceConfigOperationsRequest actualRequest = + ((ListInstanceConfigOperationsRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listInstanceConfigOperationsExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockInstanceAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + client.listInstanceConfigOperations(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listInstancesTest() throws Exception { + Instance responsesElement = Instance.newBuilder().build(); + ListInstancesResponse expectedResponse = + ListInstancesResponse.newBuilder() + .setNextPageToken("") + .addAllInstances(Arrays.asList(responsesElement)) + .build(); + mockInstanceAdmin.addResponse(expectedResponse); + + ProjectName parent = ProjectName.of("[PROJECT]"); + + ListInstancesPagedResponse pagedListResponse = client.listInstances(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getInstancesList().get(0), resources.get(0)); + + List actualRequests = mockInstanceAdmin.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); + mockInstanceAdmin.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 { + Instance responsesElement = Instance.newBuilder().build(); + ListInstancesResponse expectedResponse = + ListInstancesResponse.newBuilder() + .setNextPageToken("") + .addAllInstances(Arrays.asList(responsesElement)) + .build(); + mockInstanceAdmin.addResponse(expectedResponse); + + String parent = "parent-995424086"; + + ListInstancesPagedResponse pagedListResponse = client.listInstances(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getInstancesList().get(0), resources.get(0)); + + List actualRequests = mockInstanceAdmin.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); + mockInstanceAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + client.listInstances(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getInstanceTest() throws Exception { + Instance expectedResponse = + Instance.newBuilder() + .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString()) + .setConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .setDisplayName("displayName1714148973") + .setNodeCount(1539922066) + .setProcessingUnits(-329117885) + .putAllLabels(new HashMap()) + .addAllEndpointUris(new ArrayList()) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .build(); + mockInstanceAdmin.addResponse(expectedResponse); + + InstanceName name = InstanceName.of("[PROJECT]", "[INSTANCE]"); + + Instance actualResponse = client.getInstance(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockInstanceAdmin.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); + mockInstanceAdmin.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()) + .setConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .setDisplayName("displayName1714148973") + .setNodeCount(1539922066) + .setProcessingUnits(-329117885) + .putAllLabels(new HashMap()) + .addAllEndpointUris(new ArrayList()) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .build(); + mockInstanceAdmin.addResponse(expectedResponse); + + String name = "name3373707"; + + Instance actualResponse = client.getInstance(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockInstanceAdmin.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); + mockInstanceAdmin.addException(exception); + + try { + String name = "name3373707"; + client.getInstance(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createInstanceTest() throws Exception { + Instance expectedResponse = + Instance.newBuilder() + .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString()) + .setConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .setDisplayName("displayName1714148973") + .setNodeCount(1539922066) + .setProcessingUnits(-329117885) + .putAllLabels(new HashMap()) + .addAllEndpointUris(new ArrayList()) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createInstanceTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockInstanceAdmin.addResponse(resultOperation); + + ProjectName parent = ProjectName.of("[PROJECT]"); + String instanceId = "instanceId902024336"; + Instance instance = Instance.newBuilder().build(); + + Instance actualResponse = client.createInstanceAsync(parent, instanceId, instance).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockInstanceAdmin.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.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createInstanceExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockInstanceAdmin.addException(exception); + + try { + ProjectName parent = ProjectName.of("[PROJECT]"); + String instanceId = "instanceId902024336"; + Instance instance = Instance.newBuilder().build(); + client.createInstanceAsync(parent, instanceId, instance).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()) + .setConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .setDisplayName("displayName1714148973") + .setNodeCount(1539922066) + .setProcessingUnits(-329117885) + .putAllLabels(new HashMap()) + .addAllEndpointUris(new ArrayList()) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createInstanceTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockInstanceAdmin.addResponse(resultOperation); + + String parent = "parent-995424086"; + String instanceId = "instanceId902024336"; + Instance instance = Instance.newBuilder().build(); + + Instance actualResponse = client.createInstanceAsync(parent, instanceId, instance).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockInstanceAdmin.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.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createInstanceExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockInstanceAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + String instanceId = "instanceId902024336"; + Instance instance = Instance.newBuilder().build(); + client.createInstanceAsync(parent, instanceId, instance).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 updateInstanceTest() throws Exception { + Instance expectedResponse = + Instance.newBuilder() + .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString()) + .setConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString()) + .setDisplayName("displayName1714148973") + .setNodeCount(1539922066) + .setProcessingUnits(-329117885) + .putAllLabels(new HashMap()) + .addAllEndpointUris(new ArrayList()) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("updateInstanceTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockInstanceAdmin.addResponse(resultOperation); + + Instance instance = Instance.newBuilder().build(); + FieldMask fieldMask = FieldMask.newBuilder().build(); + + Instance actualResponse = client.updateInstanceAsync(instance, fieldMask).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + UpdateInstanceRequest actualRequest = ((UpdateInstanceRequest) actualRequests.get(0)); + + Assert.assertEquals(instance, actualRequest.getInstance()); + Assert.assertEquals(fieldMask, actualRequest.getFieldMask()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void updateInstanceExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockInstanceAdmin.addException(exception); + + try { + Instance instance = Instance.newBuilder().build(); + FieldMask fieldMask = FieldMask.newBuilder().build(); + client.updateInstanceAsync(instance, fieldMask).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(); + mockInstanceAdmin.addResponse(expectedResponse); + + InstanceName name = InstanceName.of("[PROJECT]", "[INSTANCE]"); + + client.deleteInstance(name); + + List actualRequests = mockInstanceAdmin.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); + mockInstanceAdmin.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(); + mockInstanceAdmin.addResponse(expectedResponse); + + String name = "name3373707"; + + client.deleteInstance(name); + + List actualRequests = mockInstanceAdmin.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); + mockInstanceAdmin.addException(exception); + + try { + String name = "name3373707"; + client.deleteInstance(name); + 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(); + mockInstanceAdmin.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 = mockInstanceAdmin.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); + mockInstanceAdmin.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(); + mockInstanceAdmin.addResponse(expectedResponse); + + String resource = "resource-341064690"; + Policy policy = Policy.newBuilder().build(); + + Policy actualResponse = client.setIamPolicy(resource, policy); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockInstanceAdmin.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); + mockInstanceAdmin.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 getIamPolicyTest() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setVersion(351608024) + .addAllBindings(new ArrayList()) + .addAllAuditConfigs(new ArrayList()) + .setEtag(ByteString.EMPTY) + .build(); + mockInstanceAdmin.addResponse(expectedResponse); + + ResourceName resource = InstanceName.of("[PROJECT]", "[INSTANCE]"); + + Policy actualResponse = client.getIamPolicy(resource); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockInstanceAdmin.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); + mockInstanceAdmin.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(); + mockInstanceAdmin.addResponse(expectedResponse); + + String resource = "resource-341064690"; + + Policy actualResponse = client.getIamPolicy(resource); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockInstanceAdmin.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); + mockInstanceAdmin.addException(exception); + + try { + String resource = "resource-341064690"; + client.getIamPolicy(resource); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void testIamPermissionsTest() throws Exception { + TestIamPermissionsResponse expectedResponse = + TestIamPermissionsResponse.newBuilder().addAllPermissions(new ArrayList()).build(); + mockInstanceAdmin.addResponse(expectedResponse); + + ResourceName resource = InstanceName.of("[PROJECT]", "[INSTANCE]"); + List permissions = new ArrayList<>(); + + TestIamPermissionsResponse actualResponse = client.testIamPermissions(resource, permissions); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockInstanceAdmin.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); + mockInstanceAdmin.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(); + mockInstanceAdmin.addResponse(expectedResponse); + + String resource = "resource-341064690"; + List permissions = new ArrayList<>(); + + TestIamPermissionsResponse actualResponse = client.testIamPermissions(resource, permissions); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockInstanceAdmin.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); + mockInstanceAdmin.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/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/instance/v1/MockInstanceAdmin.java b/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/instance/v1/MockInstanceAdmin.java new file mode 100644 index 00000000000..e107d158b1e --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/instance/v1/MockInstanceAdmin.java @@ -0,0 +1,59 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.spanner.admin.instance.v1; + +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 MockInstanceAdmin implements MockGrpcService { + private final MockInstanceAdminImpl serviceImpl; + + public MockInstanceAdmin() { + serviceImpl = new MockInstanceAdminImpl(); + } + + @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/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/instance/v1/MockInstanceAdminImpl.java b/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/instance/v1/MockInstanceAdminImpl.java new file mode 100644 index 00000000000..a8372c749d2 --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/instance/v1/MockInstanceAdminImpl.java @@ -0,0 +1,377 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.spanner.admin.instance.v1; + +import com.google.api.core.BetaApi; +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 com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest; +import com.google.spanner.admin.instance.v1.CreateInstanceRequest; +import com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest; +import com.google.spanner.admin.instance.v1.DeleteInstanceRequest; +import com.google.spanner.admin.instance.v1.GetInstanceConfigRequest; +import com.google.spanner.admin.instance.v1.GetInstanceRequest; +import com.google.spanner.admin.instance.v1.Instance; +import com.google.spanner.admin.instance.v1.InstanceAdminGrpc.InstanceAdminImplBase; +import com.google.spanner.admin.instance.v1.InstanceConfig; +import com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest; +import com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse; +import com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest; +import com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse; +import com.google.spanner.admin.instance.v1.ListInstancesRequest; +import com.google.spanner.admin.instance.v1.ListInstancesResponse; +import com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest; +import com.google.spanner.admin.instance.v1.UpdateInstanceRequest; +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 MockInstanceAdminImpl extends InstanceAdminImplBase { + private List requests; + private Queue responses; + + public MockInstanceAdminImpl() { + 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 listInstanceConfigs( + ListInstanceConfigsRequest request, + StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ListInstanceConfigsResponse) { + requests.add(request); + responseObserver.onNext(((ListInstanceConfigsResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ListInstanceConfigs, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ListInstanceConfigsResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void getInstanceConfig( + GetInstanceConfigRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof InstanceConfig) { + requests.add(request); + responseObserver.onNext(((InstanceConfig) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method GetInstanceConfig, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + InstanceConfig.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void createInstanceConfig( + CreateInstanceConfigRequest 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 CreateInstanceConfig, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void updateInstanceConfig( + UpdateInstanceConfigRequest 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 UpdateInstanceConfig, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void deleteInstanceConfig( + DeleteInstanceConfigRequest 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 DeleteInstanceConfig, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Empty.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void listInstanceConfigOperations( + ListInstanceConfigOperationsRequest request, + StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ListInstanceConfigOperationsResponse) { + requests.add(request); + responseObserver.onNext(((ListInstanceConfigOperationsResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ListInstanceConfigOperations, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ListInstanceConfigOperationsResponse.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 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 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 updateInstance( + UpdateInstanceRequest 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 UpdateInstance, 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 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 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 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/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/v1/MockSpanner.java b/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/v1/MockSpanner.java new file mode 100644 index 00000000000..3a53cde1223 --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/v1/MockSpanner.java @@ -0,0 +1,59 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.spanner.v1; + +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 MockSpanner implements MockGrpcService { + private final MockSpannerImpl serviceImpl; + + public MockSpanner() { + serviceImpl = new MockSpannerImpl(); + } + + @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/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/v1/MockSpannerImpl.java b/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/v1/MockSpannerImpl.java new file mode 100644 index 00000000000..d6176e1f277 --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/v1/MockSpannerImpl.java @@ -0,0 +1,393 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.spanner.v1; + +import com.google.api.core.BetaApi; +import com.google.protobuf.AbstractMessage; +import com.google.protobuf.Empty; +import com.google.spanner.v1.BatchCreateSessionsRequest; +import com.google.spanner.v1.BatchCreateSessionsResponse; +import com.google.spanner.v1.BeginTransactionRequest; +import com.google.spanner.v1.CommitRequest; +import com.google.spanner.v1.CommitResponse; +import com.google.spanner.v1.CreateSessionRequest; +import com.google.spanner.v1.DeleteSessionRequest; +import com.google.spanner.v1.ExecuteBatchDmlRequest; +import com.google.spanner.v1.ExecuteBatchDmlResponse; +import com.google.spanner.v1.ExecuteSqlRequest; +import com.google.spanner.v1.GetSessionRequest; +import com.google.spanner.v1.ListSessionsRequest; +import com.google.spanner.v1.ListSessionsResponse; +import com.google.spanner.v1.PartialResultSet; +import com.google.spanner.v1.PartitionQueryRequest; +import com.google.spanner.v1.PartitionReadRequest; +import com.google.spanner.v1.PartitionResponse; +import com.google.spanner.v1.ReadRequest; +import com.google.spanner.v1.ResultSet; +import com.google.spanner.v1.RollbackRequest; +import com.google.spanner.v1.Session; +import com.google.spanner.v1.SpannerGrpc.SpannerImplBase; +import com.google.spanner.v1.Transaction; +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 MockSpannerImpl extends SpannerImplBase { + private List requests; + private Queue responses; + + public MockSpannerImpl() { + 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 createSession( + CreateSessionRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Session) { + requests.add(request); + responseObserver.onNext(((Session) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method CreateSession, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Session.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void batchCreateSessions( + BatchCreateSessionsRequest request, + StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof BatchCreateSessionsResponse) { + requests.add(request); + responseObserver.onNext(((BatchCreateSessionsResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method BatchCreateSessions, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + BatchCreateSessionsResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void getSession(GetSessionRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Session) { + requests.add(request); + responseObserver.onNext(((Session) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method GetSession, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Session.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void listSessions( + ListSessionsRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ListSessionsResponse) { + requests.add(request); + responseObserver.onNext(((ListSessionsResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ListSessions, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ListSessionsResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void deleteSession(DeleteSessionRequest 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 DeleteSession, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Empty.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void executeSql(ExecuteSqlRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ResultSet) { + requests.add(request); + responseObserver.onNext(((ResultSet) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ExecuteSql, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ResultSet.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void executeStreamingSql( + ExecuteSqlRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof PartialResultSet) { + requests.add(request); + responseObserver.onNext(((PartialResultSet) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ExecuteStreamingSql, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + PartialResultSet.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void executeBatchDml( + ExecuteBatchDmlRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ExecuteBatchDmlResponse) { + requests.add(request); + responseObserver.onNext(((ExecuteBatchDmlResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ExecuteBatchDml, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ExecuteBatchDmlResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void read(ReadRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ResultSet) { + requests.add(request); + responseObserver.onNext(((ResultSet) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method Read, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ResultSet.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void streamingRead( + ReadRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof PartialResultSet) { + requests.add(request); + responseObserver.onNext(((PartialResultSet) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method StreamingRead, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + PartialResultSet.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void beginTransaction( + BeginTransactionRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Transaction) { + requests.add(request); + responseObserver.onNext(((Transaction) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method BeginTransaction, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Transaction.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void commit(CommitRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof CommitResponse) { + requests.add(request); + responseObserver.onNext(((CommitResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method Commit, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + CommitResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void rollback(RollbackRequest 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 Rollback, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Empty.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void partitionQuery( + PartitionQueryRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof PartitionResponse) { + requests.add(request); + responseObserver.onNext(((PartitionResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method PartitionQuery, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + PartitionResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void partitionRead( + PartitionReadRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof PartitionResponse) { + requests.add(request); + responseObserver.onNext(((PartitionResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method PartitionRead, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + PartitionResponse.class.getName(), + Exception.class.getName()))); + } + } +} diff --git a/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/v1/SpannerClientHttpJsonTest.java b/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/v1/SpannerClientHttpJsonTest.java new file mode 100644 index 00000000000..04bd5df2166 --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/v1/SpannerClientHttpJsonTest.java @@ -0,0 +1,1318 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.spanner.v1; + +import static com.google.cloud.spanner.v1.SpannerClient.ListSessionsPagedResponse; + +import com.google.api.gax.core.NoCredentialsProvider; +import com.google.api.gax.httpjson.GaxHttpJsonProperties; +import com.google.api.gax.httpjson.testing.MockHttpService; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ApiException; +import com.google.api.gax.rpc.ApiExceptionFactory; +import com.google.api.gax.rpc.InvalidArgumentException; +import com.google.api.gax.rpc.StatusCode; +import com.google.api.gax.rpc.testing.FakeStatusCode; +import com.google.cloud.spanner.v1.stub.HttpJsonSpannerStub; +import com.google.common.collect.Lists; +import com.google.protobuf.ByteString; +import com.google.protobuf.Empty; +import com.google.protobuf.ListValue; +import com.google.protobuf.Struct; +import com.google.protobuf.Timestamp; +import com.google.rpc.Status; +import com.google.spanner.v1.BatchCreateSessionsResponse; +import com.google.spanner.v1.CommitResponse; +import com.google.spanner.v1.DatabaseName; +import com.google.spanner.v1.ExecuteBatchDmlRequest; +import com.google.spanner.v1.ExecuteBatchDmlResponse; +import com.google.spanner.v1.ExecuteSqlRequest; +import com.google.spanner.v1.KeySet; +import com.google.spanner.v1.ListSessionsResponse; +import com.google.spanner.v1.Mutation; +import com.google.spanner.v1.Partition; +import com.google.spanner.v1.PartitionOptions; +import com.google.spanner.v1.PartitionQueryRequest; +import com.google.spanner.v1.PartitionReadRequest; +import com.google.spanner.v1.PartitionResponse; +import com.google.spanner.v1.ReadRequest; +import com.google.spanner.v1.RequestOptions; +import com.google.spanner.v1.ResultSet; +import com.google.spanner.v1.ResultSetMetadata; +import com.google.spanner.v1.ResultSetStats; +import com.google.spanner.v1.Session; +import com.google.spanner.v1.SessionName; +import com.google.spanner.v1.Transaction; +import com.google.spanner.v1.TransactionOptions; +import com.google.spanner.v1.TransactionSelector; +import com.google.spanner.v1.Type; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.HashMap; +import java.util.List; +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 SpannerClientHttpJsonTest { + private static MockHttpService mockService; + private static SpannerClient client; + + @BeforeClass + public static void startStaticServer() throws IOException { + mockService = + new MockHttpService( + HttpJsonSpannerStub.getMethodDescriptors(), SpannerSettings.getDefaultEndpoint()); + SpannerSettings settings = + SpannerSettings.newHttpJsonBuilder() + .setTransportChannelProvider( + SpannerSettings.defaultHttpJsonTransportProviderBuilder() + .setHttpTransport(mockService) + .build()) + .setCredentialsProvider(NoCredentialsProvider.create()) + .build(); + client = SpannerClient.create(settings); + } + + @AfterClass + public static void stopServer() { + client.close(); + } + + @Before + public void setUp() {} + + @After + public void tearDown() throws Exception { + mockService.reset(); + } + + @Test + public void createSessionTest() throws Exception { + Session expectedResponse = + Session.newBuilder() + .setName( + SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString()) + .putAllLabels(new HashMap()) + .setCreateTime(Timestamp.newBuilder().build()) + .setApproximateLastUseTime(Timestamp.newBuilder().build()) + .setCreatorRole("creatorRole-190742846") + .build(); + mockService.addResponse(expectedResponse); + + DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]"); + + Session actualResponse = client.createSession(database); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createSessionExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]"); + client.createSession(database); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createSessionTest2() throws Exception { + Session expectedResponse = + Session.newBuilder() + .setName( + SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString()) + .putAllLabels(new HashMap()) + .setCreateTime(Timestamp.newBuilder().build()) + .setApproximateLastUseTime(Timestamp.newBuilder().build()) + .setCreatorRole("creatorRole-190742846") + .build(); + mockService.addResponse(expectedResponse); + + String database = "projects/project-3102/instances/instance-3102/databases/database-3102"; + + Session actualResponse = client.createSession(database); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createSessionExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String database = "projects/project-3102/instances/instance-3102/databases/database-3102"; + client.createSession(database); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void batchCreateSessionsTest() throws Exception { + BatchCreateSessionsResponse expectedResponse = + BatchCreateSessionsResponse.newBuilder().addAllSession(new ArrayList()).build(); + mockService.addResponse(expectedResponse); + + DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]"); + int sessionCount = 185691686; + + BatchCreateSessionsResponse actualResponse = client.batchCreateSessions(database, sessionCount); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void batchCreateSessionsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]"); + int sessionCount = 185691686; + client.batchCreateSessions(database, sessionCount); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void batchCreateSessionsTest2() throws Exception { + BatchCreateSessionsResponse expectedResponse = + BatchCreateSessionsResponse.newBuilder().addAllSession(new ArrayList()).build(); + mockService.addResponse(expectedResponse); + + String database = "projects/project-3102/instances/instance-3102/databases/database-3102"; + int sessionCount = 185691686; + + BatchCreateSessionsResponse actualResponse = client.batchCreateSessions(database, sessionCount); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void batchCreateSessionsExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String database = "projects/project-3102/instances/instance-3102/databases/database-3102"; + int sessionCount = 185691686; + client.batchCreateSessions(database, sessionCount); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getSessionTest() throws Exception { + Session expectedResponse = + Session.newBuilder() + .setName( + SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString()) + .putAllLabels(new HashMap()) + .setCreateTime(Timestamp.newBuilder().build()) + .setApproximateLastUseTime(Timestamp.newBuilder().build()) + .setCreatorRole("creatorRole-190742846") + .build(); + mockService.addResponse(expectedResponse); + + SessionName name = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]"); + + Session actualResponse = client.getSession(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getSessionExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + SessionName name = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]"); + client.getSession(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getSessionTest2() throws Exception { + Session expectedResponse = + Session.newBuilder() + .setName( + SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString()) + .putAllLabels(new HashMap()) + .setCreateTime(Timestamp.newBuilder().build()) + .setApproximateLastUseTime(Timestamp.newBuilder().build()) + .setCreatorRole("creatorRole-190742846") + .build(); + mockService.addResponse(expectedResponse); + + String name = + "projects/project-199/instances/instance-199/databases/database-199/sessions/session-199"; + + Session actualResponse = client.getSession(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getSessionExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = + "projects/project-199/instances/instance-199/databases/database-199/sessions/session-199"; + client.getSession(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listSessionsTest() throws Exception { + Session responsesElement = Session.newBuilder().build(); + ListSessionsResponse expectedResponse = + ListSessionsResponse.newBuilder() + .setNextPageToken("") + .addAllSessions(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]"); + + ListSessionsPagedResponse pagedListResponse = client.listSessions(database); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getSessionsList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listSessionsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]"); + client.listSessions(database); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listSessionsTest2() throws Exception { + Session responsesElement = Session.newBuilder().build(); + ListSessionsResponse expectedResponse = + ListSessionsResponse.newBuilder() + .setNextPageToken("") + .addAllSessions(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String database = "projects/project-3102/instances/instance-3102/databases/database-3102"; + + ListSessionsPagedResponse pagedListResponse = client.listSessions(database); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getSessionsList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listSessionsExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String database = "projects/project-3102/instances/instance-3102/databases/database-3102"; + client.listSessions(database); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteSessionTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + SessionName name = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]"); + + client.deleteSession(name); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deleteSessionExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + SessionName name = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]"); + client.deleteSession(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteSessionTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + String name = + "projects/project-199/instances/instance-199/databases/database-199/sessions/session-199"; + + client.deleteSession(name); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deleteSessionExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = + "projects/project-199/instances/instance-199/databases/database-199/sessions/session-199"; + client.deleteSession(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void executeSqlTest() throws Exception { + ResultSet expectedResponse = + ResultSet.newBuilder() + .setMetadata(ResultSetMetadata.newBuilder().build()) + .addAllRows(new ArrayList()) + .setStats(ResultSetStats.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + ExecuteSqlRequest request = + ExecuteSqlRequest.newBuilder() + .setSession( + SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString()) + .setTransaction(TransactionSelector.newBuilder().build()) + .setSql("sql114126") + .setParams(Struct.newBuilder().build()) + .putAllParamTypes(new HashMap()) + .setResumeToken(ByteString.EMPTY) + .setPartitionToken(ByteString.EMPTY) + .setSeqno(109325920) + .setQueryOptions(ExecuteSqlRequest.QueryOptions.newBuilder().build()) + .setRequestOptions(RequestOptions.newBuilder().build()) + .setDataBoostEnabled(true) + .build(); + + ResultSet actualResponse = client.executeSql(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void executeSqlExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + ExecuteSqlRequest request = + ExecuteSqlRequest.newBuilder() + .setSession( + SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString()) + .setTransaction(TransactionSelector.newBuilder().build()) + .setSql("sql114126") + .setParams(Struct.newBuilder().build()) + .putAllParamTypes(new HashMap()) + .setResumeToken(ByteString.EMPTY) + .setPartitionToken(ByteString.EMPTY) + .setSeqno(109325920) + .setQueryOptions(ExecuteSqlRequest.QueryOptions.newBuilder().build()) + .setRequestOptions(RequestOptions.newBuilder().build()) + .setDataBoostEnabled(true) + .build(); + client.executeSql(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void executeStreamingSqlTest() throws Exception {} + + @Test + public void executeStreamingSqlExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + } + + @Test + public void executeBatchDmlTest() throws Exception { + ExecuteBatchDmlResponse expectedResponse = + ExecuteBatchDmlResponse.newBuilder() + .addAllResultSets(new ArrayList()) + .setStatus(Status.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + ExecuteBatchDmlRequest request = + ExecuteBatchDmlRequest.newBuilder() + .setSession( + SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString()) + .setTransaction(TransactionSelector.newBuilder().build()) + .addAllStatements(new ArrayList()) + .setSeqno(109325920) + .setRequestOptions(RequestOptions.newBuilder().build()) + .build(); + + ExecuteBatchDmlResponse actualResponse = client.executeBatchDml(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void executeBatchDmlExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + ExecuteBatchDmlRequest request = + ExecuteBatchDmlRequest.newBuilder() + .setSession( + SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString()) + .setTransaction(TransactionSelector.newBuilder().build()) + .addAllStatements(new ArrayList()) + .setSeqno(109325920) + .setRequestOptions(RequestOptions.newBuilder().build()) + .build(); + client.executeBatchDml(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void readTest() throws Exception { + ResultSet expectedResponse = + ResultSet.newBuilder() + .setMetadata(ResultSetMetadata.newBuilder().build()) + .addAllRows(new ArrayList()) + .setStats(ResultSetStats.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + ReadRequest request = + ReadRequest.newBuilder() + .setSession( + SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString()) + .setTransaction(TransactionSelector.newBuilder().build()) + .setTable("table110115790") + .setIndex("index100346066") + .addAllColumns(new ArrayList()) + .setKeySet(KeySet.newBuilder().build()) + .setLimit(102976443) + .setResumeToken(ByteString.EMPTY) + .setPartitionToken(ByteString.EMPTY) + .setRequestOptions(RequestOptions.newBuilder().build()) + .setDataBoostEnabled(true) + .build(); + + ResultSet actualResponse = client.read(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void readExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + ReadRequest request = + ReadRequest.newBuilder() + .setSession( + SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString()) + .setTransaction(TransactionSelector.newBuilder().build()) + .setTable("table110115790") + .setIndex("index100346066") + .addAllColumns(new ArrayList()) + .setKeySet(KeySet.newBuilder().build()) + .setLimit(102976443) + .setResumeToken(ByteString.EMPTY) + .setPartitionToken(ByteString.EMPTY) + .setRequestOptions(RequestOptions.newBuilder().build()) + .setDataBoostEnabled(true) + .build(); + client.read(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void streamingReadTest() throws Exception {} + + @Test + public void streamingReadExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + } + + @Test + public void beginTransactionTest() throws Exception { + Transaction expectedResponse = + Transaction.newBuilder() + .setId(ByteString.EMPTY) + .setReadTimestamp(Timestamp.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + SessionName session = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]"); + TransactionOptions options = TransactionOptions.newBuilder().build(); + + Transaction actualResponse = client.beginTransaction(session, options); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void beginTransactionExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + SessionName session = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]"); + TransactionOptions options = TransactionOptions.newBuilder().build(); + client.beginTransaction(session, options); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void beginTransactionTest2() throws Exception { + Transaction expectedResponse = + Transaction.newBuilder() + .setId(ByteString.EMPTY) + .setReadTimestamp(Timestamp.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + String session = + "projects/project-2078/instances/instance-2078/databases/database-2078/sessions/session-2078"; + TransactionOptions options = TransactionOptions.newBuilder().build(); + + Transaction actualResponse = client.beginTransaction(session, options); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void beginTransactionExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String session = + "projects/project-2078/instances/instance-2078/databases/database-2078/sessions/session-2078"; + TransactionOptions options = TransactionOptions.newBuilder().build(); + client.beginTransaction(session, options); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void commitTest() throws Exception { + CommitResponse expectedResponse = + CommitResponse.newBuilder() + .setCommitTimestamp(Timestamp.newBuilder().build()) + .setCommitStats(CommitResponse.CommitStats.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + SessionName session = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]"); + ByteString transactionId = ByteString.EMPTY; + List mutations = new ArrayList<>(); + + CommitResponse actualResponse = client.commit(session, transactionId, mutations); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void commitExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + SessionName session = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]"); + ByteString transactionId = ByteString.EMPTY; + List mutations = new ArrayList<>(); + client.commit(session, transactionId, mutations); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void commitTest2() throws Exception { + CommitResponse expectedResponse = + CommitResponse.newBuilder() + .setCommitTimestamp(Timestamp.newBuilder().build()) + .setCommitStats(CommitResponse.CommitStats.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + SessionName session = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]"); + TransactionOptions singleUseTransaction = TransactionOptions.newBuilder().build(); + List mutations = new ArrayList<>(); + + CommitResponse actualResponse = client.commit(session, singleUseTransaction, mutations); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void commitExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + SessionName session = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]"); + TransactionOptions singleUseTransaction = TransactionOptions.newBuilder().build(); + List mutations = new ArrayList<>(); + client.commit(session, singleUseTransaction, mutations); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void commitTest3() throws Exception { + CommitResponse expectedResponse = + CommitResponse.newBuilder() + .setCommitTimestamp(Timestamp.newBuilder().build()) + .setCommitStats(CommitResponse.CommitStats.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + String session = + "projects/project-2078/instances/instance-2078/databases/database-2078/sessions/session-2078"; + ByteString transactionId = ByteString.EMPTY; + List mutations = new ArrayList<>(); + + CommitResponse actualResponse = client.commit(session, transactionId, mutations); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void commitExceptionTest3() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String session = + "projects/project-2078/instances/instance-2078/databases/database-2078/sessions/session-2078"; + ByteString transactionId = ByteString.EMPTY; + List mutations = new ArrayList<>(); + client.commit(session, transactionId, mutations); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void commitTest4() throws Exception { + CommitResponse expectedResponse = + CommitResponse.newBuilder() + .setCommitTimestamp(Timestamp.newBuilder().build()) + .setCommitStats(CommitResponse.CommitStats.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + String session = + "projects/project-2078/instances/instance-2078/databases/database-2078/sessions/session-2078"; + TransactionOptions singleUseTransaction = TransactionOptions.newBuilder().build(); + List mutations = new ArrayList<>(); + + CommitResponse actualResponse = client.commit(session, singleUseTransaction, mutations); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void commitExceptionTest4() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String session = + "projects/project-2078/instances/instance-2078/databases/database-2078/sessions/session-2078"; + TransactionOptions singleUseTransaction = TransactionOptions.newBuilder().build(); + List mutations = new ArrayList<>(); + client.commit(session, singleUseTransaction, mutations); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void rollbackTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + SessionName session = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]"); + ByteString transactionId = ByteString.EMPTY; + + client.rollback(session, transactionId); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void rollbackExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + SessionName session = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]"); + ByteString transactionId = ByteString.EMPTY; + client.rollback(session, transactionId); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void rollbackTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + String session = + "projects/project-2078/instances/instance-2078/databases/database-2078/sessions/session-2078"; + ByteString transactionId = ByteString.EMPTY; + + client.rollback(session, transactionId); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void rollbackExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String session = + "projects/project-2078/instances/instance-2078/databases/database-2078/sessions/session-2078"; + ByteString transactionId = ByteString.EMPTY; + client.rollback(session, transactionId); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void partitionQueryTest() throws Exception { + PartitionResponse expectedResponse = + PartitionResponse.newBuilder() + .addAllPartitions(new ArrayList()) + .setTransaction(Transaction.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + PartitionQueryRequest request = + PartitionQueryRequest.newBuilder() + .setSession( + SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString()) + .setTransaction(TransactionSelector.newBuilder().build()) + .setSql("sql114126") + .setParams(Struct.newBuilder().build()) + .putAllParamTypes(new HashMap()) + .setPartitionOptions(PartitionOptions.newBuilder().build()) + .build(); + + PartitionResponse actualResponse = client.partitionQuery(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void partitionQueryExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + PartitionQueryRequest request = + PartitionQueryRequest.newBuilder() + .setSession( + SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString()) + .setTransaction(TransactionSelector.newBuilder().build()) + .setSql("sql114126") + .setParams(Struct.newBuilder().build()) + .putAllParamTypes(new HashMap()) + .setPartitionOptions(PartitionOptions.newBuilder().build()) + .build(); + client.partitionQuery(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void partitionReadTest() throws Exception { + PartitionResponse expectedResponse = + PartitionResponse.newBuilder() + .addAllPartitions(new ArrayList()) + .setTransaction(Transaction.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + PartitionReadRequest request = + PartitionReadRequest.newBuilder() + .setSession( + SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString()) + .setTransaction(TransactionSelector.newBuilder().build()) + .setTable("table110115790") + .setIndex("index100346066") + .addAllColumns(new ArrayList()) + .setKeySet(KeySet.newBuilder().build()) + .setPartitionOptions(PartitionOptions.newBuilder().build()) + .build(); + + PartitionResponse actualResponse = client.partitionRead(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void partitionReadExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + PartitionReadRequest request = + PartitionReadRequest.newBuilder() + .setSession( + SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString()) + .setTransaction(TransactionSelector.newBuilder().build()) + .setTable("table110115790") + .setIndex("index100346066") + .addAllColumns(new ArrayList()) + .setKeySet(KeySet.newBuilder().build()) + .setPartitionOptions(PartitionOptions.newBuilder().build()) + .build(); + client.partitionRead(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } +} diff --git a/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/v1/SpannerClientTest.java b/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/v1/SpannerClientTest.java new file mode 100644 index 00000000000..9e23c7a0523 --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/v1/SpannerClientTest.java @@ -0,0 +1,1362 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.spanner.v1; + +import static com.google.cloud.spanner.v1.SpannerClient.ListSessionsPagedResponse; + +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.common.collect.Lists; +import com.google.protobuf.AbstractMessage; +import com.google.protobuf.ByteString; +import com.google.protobuf.Empty; +import com.google.protobuf.ListValue; +import com.google.protobuf.Struct; +import com.google.protobuf.Timestamp; +import com.google.protobuf.Value; +import com.google.rpc.Status; +import com.google.spanner.v1.BatchCreateSessionsRequest; +import com.google.spanner.v1.BatchCreateSessionsResponse; +import com.google.spanner.v1.BeginTransactionRequest; +import com.google.spanner.v1.CommitRequest; +import com.google.spanner.v1.CommitResponse; +import com.google.spanner.v1.CreateSessionRequest; +import com.google.spanner.v1.DatabaseName; +import com.google.spanner.v1.DeleteSessionRequest; +import com.google.spanner.v1.ExecuteBatchDmlRequest; +import com.google.spanner.v1.ExecuteBatchDmlResponse; +import com.google.spanner.v1.ExecuteSqlRequest; +import com.google.spanner.v1.GetSessionRequest; +import com.google.spanner.v1.KeySet; +import com.google.spanner.v1.ListSessionsRequest; +import com.google.spanner.v1.ListSessionsResponse; +import com.google.spanner.v1.Mutation; +import com.google.spanner.v1.PartialResultSet; +import com.google.spanner.v1.Partition; +import com.google.spanner.v1.PartitionOptions; +import com.google.spanner.v1.PartitionQueryRequest; +import com.google.spanner.v1.PartitionReadRequest; +import com.google.spanner.v1.PartitionResponse; +import com.google.spanner.v1.ReadRequest; +import com.google.spanner.v1.RequestOptions; +import com.google.spanner.v1.ResultSet; +import com.google.spanner.v1.ResultSetMetadata; +import com.google.spanner.v1.ResultSetStats; +import com.google.spanner.v1.RollbackRequest; +import com.google.spanner.v1.Session; +import com.google.spanner.v1.SessionName; +import com.google.spanner.v1.Transaction; +import com.google.spanner.v1.TransactionOptions; +import com.google.spanner.v1.TransactionSelector; +import com.google.spanner.v1.Type; +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 SpannerClientTest { + private static MockServiceHelper mockServiceHelper; + private static MockSpanner mockSpanner; + private LocalChannelProvider channelProvider; + private SpannerClient client; + + @BeforeClass + public static void startStaticServer() { + mockSpanner = new MockSpanner(); + mockServiceHelper = + new MockServiceHelper( + UUID.randomUUID().toString(), Arrays.asList(mockSpanner)); + mockServiceHelper.start(); + } + + @AfterClass + public static void stopServer() { + mockServiceHelper.stop(); + } + + @Before + public void setUp() throws IOException { + mockServiceHelper.reset(); + channelProvider = mockServiceHelper.createChannelProvider(); + SpannerSettings settings = + SpannerSettings.newBuilder() + .setTransportChannelProvider(channelProvider) + .setCredentialsProvider(NoCredentialsProvider.create()) + .build(); + client = SpannerClient.create(settings); + } + + @After + public void tearDown() throws Exception { + client.close(); + } + + @Test + public void createSessionTest() throws Exception { + Session expectedResponse = + Session.newBuilder() + .setName( + SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString()) + .putAllLabels(new HashMap()) + .setCreateTime(Timestamp.newBuilder().build()) + .setApproximateLastUseTime(Timestamp.newBuilder().build()) + .setCreatorRole("creatorRole-190742846") + .build(); + mockSpanner.addResponse(expectedResponse); + + DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]"); + + Session actualResponse = client.createSession(database); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockSpanner.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateSessionRequest actualRequest = ((CreateSessionRequest) actualRequests.get(0)); + + Assert.assertEquals(database.toString(), actualRequest.getDatabase()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createSessionExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockSpanner.addException(exception); + + try { + DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]"); + client.createSession(database); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createSessionTest2() throws Exception { + Session expectedResponse = + Session.newBuilder() + .setName( + SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString()) + .putAllLabels(new HashMap()) + .setCreateTime(Timestamp.newBuilder().build()) + .setApproximateLastUseTime(Timestamp.newBuilder().build()) + .setCreatorRole("creatorRole-190742846") + .build(); + mockSpanner.addResponse(expectedResponse); + + String database = "database1789464955"; + + Session actualResponse = client.createSession(database); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockSpanner.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateSessionRequest actualRequest = ((CreateSessionRequest) actualRequests.get(0)); + + Assert.assertEquals(database, actualRequest.getDatabase()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createSessionExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockSpanner.addException(exception); + + try { + String database = "database1789464955"; + client.createSession(database); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void batchCreateSessionsTest() throws Exception { + BatchCreateSessionsResponse expectedResponse = + BatchCreateSessionsResponse.newBuilder().addAllSession(new ArrayList()).build(); + mockSpanner.addResponse(expectedResponse); + + DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]"); + int sessionCount = 185691686; + + BatchCreateSessionsResponse actualResponse = client.batchCreateSessions(database, sessionCount); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockSpanner.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + BatchCreateSessionsRequest actualRequest = ((BatchCreateSessionsRequest) actualRequests.get(0)); + + Assert.assertEquals(database.toString(), actualRequest.getDatabase()); + Assert.assertEquals(sessionCount, actualRequest.getSessionCount()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void batchCreateSessionsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockSpanner.addException(exception); + + try { + DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]"); + int sessionCount = 185691686; + client.batchCreateSessions(database, sessionCount); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void batchCreateSessionsTest2() throws Exception { + BatchCreateSessionsResponse expectedResponse = + BatchCreateSessionsResponse.newBuilder().addAllSession(new ArrayList()).build(); + mockSpanner.addResponse(expectedResponse); + + String database = "database1789464955"; + int sessionCount = 185691686; + + BatchCreateSessionsResponse actualResponse = client.batchCreateSessions(database, sessionCount); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockSpanner.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + BatchCreateSessionsRequest actualRequest = ((BatchCreateSessionsRequest) actualRequests.get(0)); + + Assert.assertEquals(database, actualRequest.getDatabase()); + Assert.assertEquals(sessionCount, actualRequest.getSessionCount()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void batchCreateSessionsExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockSpanner.addException(exception); + + try { + String database = "database1789464955"; + int sessionCount = 185691686; + client.batchCreateSessions(database, sessionCount); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getSessionTest() throws Exception { + Session expectedResponse = + Session.newBuilder() + .setName( + SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString()) + .putAllLabels(new HashMap()) + .setCreateTime(Timestamp.newBuilder().build()) + .setApproximateLastUseTime(Timestamp.newBuilder().build()) + .setCreatorRole("creatorRole-190742846") + .build(); + mockSpanner.addResponse(expectedResponse); + + SessionName name = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]"); + + Session actualResponse = client.getSession(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockSpanner.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetSessionRequest actualRequest = ((GetSessionRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getSessionExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockSpanner.addException(exception); + + try { + SessionName name = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]"); + client.getSession(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getSessionTest2() throws Exception { + Session expectedResponse = + Session.newBuilder() + .setName( + SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString()) + .putAllLabels(new HashMap()) + .setCreateTime(Timestamp.newBuilder().build()) + .setApproximateLastUseTime(Timestamp.newBuilder().build()) + .setCreatorRole("creatorRole-190742846") + .build(); + mockSpanner.addResponse(expectedResponse); + + String name = "name3373707"; + + Session actualResponse = client.getSession(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockSpanner.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetSessionRequest actualRequest = ((GetSessionRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getSessionExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockSpanner.addException(exception); + + try { + String name = "name3373707"; + client.getSession(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listSessionsTest() throws Exception { + Session responsesElement = Session.newBuilder().build(); + ListSessionsResponse expectedResponse = + ListSessionsResponse.newBuilder() + .setNextPageToken("") + .addAllSessions(Arrays.asList(responsesElement)) + .build(); + mockSpanner.addResponse(expectedResponse); + + DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]"); + + ListSessionsPagedResponse pagedListResponse = client.listSessions(database); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getSessionsList().get(0), resources.get(0)); + + List actualRequests = mockSpanner.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListSessionsRequest actualRequest = ((ListSessionsRequest) actualRequests.get(0)); + + Assert.assertEquals(database.toString(), actualRequest.getDatabase()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listSessionsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockSpanner.addException(exception); + + try { + DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]"); + client.listSessions(database); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listSessionsTest2() throws Exception { + Session responsesElement = Session.newBuilder().build(); + ListSessionsResponse expectedResponse = + ListSessionsResponse.newBuilder() + .setNextPageToken("") + .addAllSessions(Arrays.asList(responsesElement)) + .build(); + mockSpanner.addResponse(expectedResponse); + + String database = "database1789464955"; + + ListSessionsPagedResponse pagedListResponse = client.listSessions(database); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getSessionsList().get(0), resources.get(0)); + + List actualRequests = mockSpanner.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListSessionsRequest actualRequest = ((ListSessionsRequest) actualRequests.get(0)); + + Assert.assertEquals(database, actualRequest.getDatabase()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listSessionsExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockSpanner.addException(exception); + + try { + String database = "database1789464955"; + client.listSessions(database); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteSessionTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockSpanner.addResponse(expectedResponse); + + SessionName name = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]"); + + client.deleteSession(name); + + List actualRequests = mockSpanner.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteSessionRequest actualRequest = ((DeleteSessionRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deleteSessionExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockSpanner.addException(exception); + + try { + SessionName name = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]"); + client.deleteSession(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteSessionTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockSpanner.addResponse(expectedResponse); + + String name = "name3373707"; + + client.deleteSession(name); + + List actualRequests = mockSpanner.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteSessionRequest actualRequest = ((DeleteSessionRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deleteSessionExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockSpanner.addException(exception); + + try { + String name = "name3373707"; + client.deleteSession(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void executeSqlTest() throws Exception { + ResultSet expectedResponse = + ResultSet.newBuilder() + .setMetadata(ResultSetMetadata.newBuilder().build()) + .addAllRows(new ArrayList()) + .setStats(ResultSetStats.newBuilder().build()) + .build(); + mockSpanner.addResponse(expectedResponse); + + ExecuteSqlRequest request = + ExecuteSqlRequest.newBuilder() + .setSession( + SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString()) + .setTransaction(TransactionSelector.newBuilder().build()) + .setSql("sql114126") + .setParams(Struct.newBuilder().build()) + .putAllParamTypes(new HashMap()) + .setResumeToken(ByteString.EMPTY) + .setPartitionToken(ByteString.EMPTY) + .setSeqno(109325920) + .setQueryOptions(ExecuteSqlRequest.QueryOptions.newBuilder().build()) + .setRequestOptions(RequestOptions.newBuilder().build()) + .setDataBoostEnabled(true) + .build(); + + ResultSet actualResponse = client.executeSql(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockSpanner.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ExecuteSqlRequest actualRequest = ((ExecuteSqlRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getSession(), actualRequest.getSession()); + Assert.assertEquals(request.getTransaction(), actualRequest.getTransaction()); + Assert.assertEquals(request.getSql(), actualRequest.getSql()); + Assert.assertEquals(request.getParams(), actualRequest.getParams()); + Assert.assertEquals(request.getParamTypesMap(), actualRequest.getParamTypesMap()); + Assert.assertEquals(request.getResumeToken(), actualRequest.getResumeToken()); + Assert.assertEquals(request.getQueryMode(), actualRequest.getQueryMode()); + Assert.assertEquals(request.getPartitionToken(), actualRequest.getPartitionToken()); + Assert.assertEquals(request.getSeqno(), actualRequest.getSeqno()); + Assert.assertEquals(request.getQueryOptions(), actualRequest.getQueryOptions()); + Assert.assertEquals(request.getRequestOptions(), actualRequest.getRequestOptions()); + Assert.assertEquals(request.getDataBoostEnabled(), actualRequest.getDataBoostEnabled()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void executeSqlExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockSpanner.addException(exception); + + try { + ExecuteSqlRequest request = + ExecuteSqlRequest.newBuilder() + .setSession( + SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString()) + .setTransaction(TransactionSelector.newBuilder().build()) + .setSql("sql114126") + .setParams(Struct.newBuilder().build()) + .putAllParamTypes(new HashMap()) + .setResumeToken(ByteString.EMPTY) + .setPartitionToken(ByteString.EMPTY) + .setSeqno(109325920) + .setQueryOptions(ExecuteSqlRequest.QueryOptions.newBuilder().build()) + .setRequestOptions(RequestOptions.newBuilder().build()) + .setDataBoostEnabled(true) + .build(); + client.executeSql(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void executeStreamingSqlTest() throws Exception { + PartialResultSet expectedResponse = + PartialResultSet.newBuilder() + .setMetadata(ResultSetMetadata.newBuilder().build()) + .addAllValues(new ArrayList()) + .setChunkedValue(true) + .setResumeToken(ByteString.EMPTY) + .setStats(ResultSetStats.newBuilder().build()) + .build(); + mockSpanner.addResponse(expectedResponse); + ExecuteSqlRequest request = + ExecuteSqlRequest.newBuilder() + .setSession( + SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString()) + .setTransaction(TransactionSelector.newBuilder().build()) + .setSql("sql114126") + .setParams(Struct.newBuilder().build()) + .putAllParamTypes(new HashMap()) + .setResumeToken(ByteString.EMPTY) + .setPartitionToken(ByteString.EMPTY) + .setSeqno(109325920) + .setQueryOptions(ExecuteSqlRequest.QueryOptions.newBuilder().build()) + .setRequestOptions(RequestOptions.newBuilder().build()) + .setDataBoostEnabled(true) + .build(); + + MockStreamObserver responseObserver = new MockStreamObserver<>(); + + ServerStreamingCallable callable = + client.executeStreamingSqlCallable(); + callable.serverStreamingCall(request, responseObserver); + + List actualResponses = responseObserver.future().get(); + Assert.assertEquals(1, actualResponses.size()); + Assert.assertEquals(expectedResponse, actualResponses.get(0)); + } + + @Test + public void executeStreamingSqlExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockSpanner.addException(exception); + ExecuteSqlRequest request = + ExecuteSqlRequest.newBuilder() + .setSession( + SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString()) + .setTransaction(TransactionSelector.newBuilder().build()) + .setSql("sql114126") + .setParams(Struct.newBuilder().build()) + .putAllParamTypes(new HashMap()) + .setResumeToken(ByteString.EMPTY) + .setPartitionToken(ByteString.EMPTY) + .setSeqno(109325920) + .setQueryOptions(ExecuteSqlRequest.QueryOptions.newBuilder().build()) + .setRequestOptions(RequestOptions.newBuilder().build()) + .setDataBoostEnabled(true) + .build(); + + MockStreamObserver responseObserver = new MockStreamObserver<>(); + + ServerStreamingCallable callable = + client.executeStreamingSqlCallable(); + 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 executeBatchDmlTest() throws Exception { + ExecuteBatchDmlResponse expectedResponse = + ExecuteBatchDmlResponse.newBuilder() + .addAllResultSets(new ArrayList()) + .setStatus(Status.newBuilder().build()) + .build(); + mockSpanner.addResponse(expectedResponse); + + ExecuteBatchDmlRequest request = + ExecuteBatchDmlRequest.newBuilder() + .setSession( + SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString()) + .setTransaction(TransactionSelector.newBuilder().build()) + .addAllStatements(new ArrayList()) + .setSeqno(109325920) + .setRequestOptions(RequestOptions.newBuilder().build()) + .build(); + + ExecuteBatchDmlResponse actualResponse = client.executeBatchDml(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockSpanner.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ExecuteBatchDmlRequest actualRequest = ((ExecuteBatchDmlRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getSession(), actualRequest.getSession()); + Assert.assertEquals(request.getTransaction(), actualRequest.getTransaction()); + Assert.assertEquals(request.getStatementsList(), actualRequest.getStatementsList()); + Assert.assertEquals(request.getSeqno(), actualRequest.getSeqno()); + Assert.assertEquals(request.getRequestOptions(), actualRequest.getRequestOptions()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void executeBatchDmlExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockSpanner.addException(exception); + + try { + ExecuteBatchDmlRequest request = + ExecuteBatchDmlRequest.newBuilder() + .setSession( + SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString()) + .setTransaction(TransactionSelector.newBuilder().build()) + .addAllStatements(new ArrayList()) + .setSeqno(109325920) + .setRequestOptions(RequestOptions.newBuilder().build()) + .build(); + client.executeBatchDml(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void readTest() throws Exception { + ResultSet expectedResponse = + ResultSet.newBuilder() + .setMetadata(ResultSetMetadata.newBuilder().build()) + .addAllRows(new ArrayList()) + .setStats(ResultSetStats.newBuilder().build()) + .build(); + mockSpanner.addResponse(expectedResponse); + + ReadRequest request = + ReadRequest.newBuilder() + .setSession( + SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString()) + .setTransaction(TransactionSelector.newBuilder().build()) + .setTable("table110115790") + .setIndex("index100346066") + .addAllColumns(new ArrayList()) + .setKeySet(KeySet.newBuilder().build()) + .setLimit(102976443) + .setResumeToken(ByteString.EMPTY) + .setPartitionToken(ByteString.EMPTY) + .setRequestOptions(RequestOptions.newBuilder().build()) + .setDataBoostEnabled(true) + .build(); + + ResultSet actualResponse = client.read(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockSpanner.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ReadRequest actualRequest = ((ReadRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getSession(), actualRequest.getSession()); + Assert.assertEquals(request.getTransaction(), actualRequest.getTransaction()); + Assert.assertEquals(request.getTable(), actualRequest.getTable()); + Assert.assertEquals(request.getIndex(), actualRequest.getIndex()); + Assert.assertEquals(request.getColumnsList(), actualRequest.getColumnsList()); + Assert.assertEquals(request.getKeySet(), actualRequest.getKeySet()); + Assert.assertEquals(request.getLimit(), actualRequest.getLimit()); + Assert.assertEquals(request.getResumeToken(), actualRequest.getResumeToken()); + Assert.assertEquals(request.getPartitionToken(), actualRequest.getPartitionToken()); + Assert.assertEquals(request.getRequestOptions(), actualRequest.getRequestOptions()); + Assert.assertEquals(request.getDataBoostEnabled(), actualRequest.getDataBoostEnabled()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void readExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockSpanner.addException(exception); + + try { + ReadRequest request = + ReadRequest.newBuilder() + .setSession( + SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString()) + .setTransaction(TransactionSelector.newBuilder().build()) + .setTable("table110115790") + .setIndex("index100346066") + .addAllColumns(new ArrayList()) + .setKeySet(KeySet.newBuilder().build()) + .setLimit(102976443) + .setResumeToken(ByteString.EMPTY) + .setPartitionToken(ByteString.EMPTY) + .setRequestOptions(RequestOptions.newBuilder().build()) + .setDataBoostEnabled(true) + .build(); + client.read(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void streamingReadTest() throws Exception { + PartialResultSet expectedResponse = + PartialResultSet.newBuilder() + .setMetadata(ResultSetMetadata.newBuilder().build()) + .addAllValues(new ArrayList()) + .setChunkedValue(true) + .setResumeToken(ByteString.EMPTY) + .setStats(ResultSetStats.newBuilder().build()) + .build(); + mockSpanner.addResponse(expectedResponse); + ReadRequest request = + ReadRequest.newBuilder() + .setSession( + SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString()) + .setTransaction(TransactionSelector.newBuilder().build()) + .setTable("table110115790") + .setIndex("index100346066") + .addAllColumns(new ArrayList()) + .setKeySet(KeySet.newBuilder().build()) + .setLimit(102976443) + .setResumeToken(ByteString.EMPTY) + .setPartitionToken(ByteString.EMPTY) + .setRequestOptions(RequestOptions.newBuilder().build()) + .setDataBoostEnabled(true) + .build(); + + MockStreamObserver responseObserver = new MockStreamObserver<>(); + + ServerStreamingCallable callable = + client.streamingReadCallable(); + callable.serverStreamingCall(request, responseObserver); + + List actualResponses = responseObserver.future().get(); + Assert.assertEquals(1, actualResponses.size()); + Assert.assertEquals(expectedResponse, actualResponses.get(0)); + } + + @Test + public void streamingReadExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockSpanner.addException(exception); + ReadRequest request = + ReadRequest.newBuilder() + .setSession( + SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString()) + .setTransaction(TransactionSelector.newBuilder().build()) + .setTable("table110115790") + .setIndex("index100346066") + .addAllColumns(new ArrayList()) + .setKeySet(KeySet.newBuilder().build()) + .setLimit(102976443) + .setResumeToken(ByteString.EMPTY) + .setPartitionToken(ByteString.EMPTY) + .setRequestOptions(RequestOptions.newBuilder().build()) + .setDataBoostEnabled(true) + .build(); + + MockStreamObserver responseObserver = new MockStreamObserver<>(); + + ServerStreamingCallable callable = + client.streamingReadCallable(); + 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 beginTransactionTest() throws Exception { + Transaction expectedResponse = + Transaction.newBuilder() + .setId(ByteString.EMPTY) + .setReadTimestamp(Timestamp.newBuilder().build()) + .build(); + mockSpanner.addResponse(expectedResponse); + + SessionName session = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]"); + TransactionOptions options = TransactionOptions.newBuilder().build(); + + Transaction actualResponse = client.beginTransaction(session, options); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockSpanner.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + BeginTransactionRequest actualRequest = ((BeginTransactionRequest) actualRequests.get(0)); + + Assert.assertEquals(session.toString(), actualRequest.getSession()); + Assert.assertEquals(options, actualRequest.getOptions()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void beginTransactionExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockSpanner.addException(exception); + + try { + SessionName session = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]"); + TransactionOptions options = TransactionOptions.newBuilder().build(); + client.beginTransaction(session, options); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void beginTransactionTest2() throws Exception { + Transaction expectedResponse = + Transaction.newBuilder() + .setId(ByteString.EMPTY) + .setReadTimestamp(Timestamp.newBuilder().build()) + .build(); + mockSpanner.addResponse(expectedResponse); + + String session = "session1984987798"; + TransactionOptions options = TransactionOptions.newBuilder().build(); + + Transaction actualResponse = client.beginTransaction(session, options); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockSpanner.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + BeginTransactionRequest actualRequest = ((BeginTransactionRequest) actualRequests.get(0)); + + Assert.assertEquals(session, actualRequest.getSession()); + Assert.assertEquals(options, actualRequest.getOptions()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void beginTransactionExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockSpanner.addException(exception); + + try { + String session = "session1984987798"; + TransactionOptions options = TransactionOptions.newBuilder().build(); + client.beginTransaction(session, options); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void commitTest() throws Exception { + CommitResponse expectedResponse = + CommitResponse.newBuilder() + .setCommitTimestamp(Timestamp.newBuilder().build()) + .setCommitStats(CommitResponse.CommitStats.newBuilder().build()) + .build(); + mockSpanner.addResponse(expectedResponse); + + SessionName session = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]"); + ByteString transactionId = ByteString.EMPTY; + List mutations = new ArrayList<>(); + + CommitResponse actualResponse = client.commit(session, transactionId, mutations); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockSpanner.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CommitRequest actualRequest = ((CommitRequest) actualRequests.get(0)); + + Assert.assertEquals(session.toString(), actualRequest.getSession()); + Assert.assertEquals(transactionId, actualRequest.getTransactionId()); + Assert.assertEquals(mutations, actualRequest.getMutationsList()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void commitExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockSpanner.addException(exception); + + try { + SessionName session = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]"); + ByteString transactionId = ByteString.EMPTY; + List mutations = new ArrayList<>(); + client.commit(session, transactionId, mutations); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void commitTest2() throws Exception { + CommitResponse expectedResponse = + CommitResponse.newBuilder() + .setCommitTimestamp(Timestamp.newBuilder().build()) + .setCommitStats(CommitResponse.CommitStats.newBuilder().build()) + .build(); + mockSpanner.addResponse(expectedResponse); + + SessionName session = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]"); + TransactionOptions singleUseTransaction = TransactionOptions.newBuilder().build(); + List mutations = new ArrayList<>(); + + CommitResponse actualResponse = client.commit(session, singleUseTransaction, mutations); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockSpanner.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CommitRequest actualRequest = ((CommitRequest) actualRequests.get(0)); + + Assert.assertEquals(session.toString(), actualRequest.getSession()); + Assert.assertEquals(singleUseTransaction, actualRequest.getSingleUseTransaction()); + Assert.assertEquals(mutations, actualRequest.getMutationsList()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void commitExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockSpanner.addException(exception); + + try { + SessionName session = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]"); + TransactionOptions singleUseTransaction = TransactionOptions.newBuilder().build(); + List mutations = new ArrayList<>(); + client.commit(session, singleUseTransaction, mutations); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void commitTest3() throws Exception { + CommitResponse expectedResponse = + CommitResponse.newBuilder() + .setCommitTimestamp(Timestamp.newBuilder().build()) + .setCommitStats(CommitResponse.CommitStats.newBuilder().build()) + .build(); + mockSpanner.addResponse(expectedResponse); + + String session = "session1984987798"; + ByteString transactionId = ByteString.EMPTY; + List mutations = new ArrayList<>(); + + CommitResponse actualResponse = client.commit(session, transactionId, mutations); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockSpanner.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CommitRequest actualRequest = ((CommitRequest) actualRequests.get(0)); + + Assert.assertEquals(session, actualRequest.getSession()); + Assert.assertEquals(transactionId, actualRequest.getTransactionId()); + Assert.assertEquals(mutations, actualRequest.getMutationsList()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void commitExceptionTest3() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockSpanner.addException(exception); + + try { + String session = "session1984987798"; + ByteString transactionId = ByteString.EMPTY; + List mutations = new ArrayList<>(); + client.commit(session, transactionId, mutations); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void commitTest4() throws Exception { + CommitResponse expectedResponse = + CommitResponse.newBuilder() + .setCommitTimestamp(Timestamp.newBuilder().build()) + .setCommitStats(CommitResponse.CommitStats.newBuilder().build()) + .build(); + mockSpanner.addResponse(expectedResponse); + + String session = "session1984987798"; + TransactionOptions singleUseTransaction = TransactionOptions.newBuilder().build(); + List mutations = new ArrayList<>(); + + CommitResponse actualResponse = client.commit(session, singleUseTransaction, mutations); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockSpanner.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CommitRequest actualRequest = ((CommitRequest) actualRequests.get(0)); + + Assert.assertEquals(session, actualRequest.getSession()); + Assert.assertEquals(singleUseTransaction, actualRequest.getSingleUseTransaction()); + Assert.assertEquals(mutations, actualRequest.getMutationsList()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void commitExceptionTest4() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockSpanner.addException(exception); + + try { + String session = "session1984987798"; + TransactionOptions singleUseTransaction = TransactionOptions.newBuilder().build(); + List mutations = new ArrayList<>(); + client.commit(session, singleUseTransaction, mutations); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void rollbackTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockSpanner.addResponse(expectedResponse); + + SessionName session = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]"); + ByteString transactionId = ByteString.EMPTY; + + client.rollback(session, transactionId); + + List actualRequests = mockSpanner.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + RollbackRequest actualRequest = ((RollbackRequest) actualRequests.get(0)); + + Assert.assertEquals(session.toString(), actualRequest.getSession()); + Assert.assertEquals(transactionId, actualRequest.getTransactionId()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void rollbackExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockSpanner.addException(exception); + + try { + SessionName session = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]"); + ByteString transactionId = ByteString.EMPTY; + client.rollback(session, transactionId); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void rollbackTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockSpanner.addResponse(expectedResponse); + + String session = "session1984987798"; + ByteString transactionId = ByteString.EMPTY; + + client.rollback(session, transactionId); + + List actualRequests = mockSpanner.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + RollbackRequest actualRequest = ((RollbackRequest) actualRequests.get(0)); + + Assert.assertEquals(session, actualRequest.getSession()); + Assert.assertEquals(transactionId, actualRequest.getTransactionId()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void rollbackExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockSpanner.addException(exception); + + try { + String session = "session1984987798"; + ByteString transactionId = ByteString.EMPTY; + client.rollback(session, transactionId); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void partitionQueryTest() throws Exception { + PartitionResponse expectedResponse = + PartitionResponse.newBuilder() + .addAllPartitions(new ArrayList()) + .setTransaction(Transaction.newBuilder().build()) + .build(); + mockSpanner.addResponse(expectedResponse); + + PartitionQueryRequest request = + PartitionQueryRequest.newBuilder() + .setSession( + SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString()) + .setTransaction(TransactionSelector.newBuilder().build()) + .setSql("sql114126") + .setParams(Struct.newBuilder().build()) + .putAllParamTypes(new HashMap()) + .setPartitionOptions(PartitionOptions.newBuilder().build()) + .build(); + + PartitionResponse actualResponse = client.partitionQuery(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockSpanner.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + PartitionQueryRequest actualRequest = ((PartitionQueryRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getSession(), actualRequest.getSession()); + Assert.assertEquals(request.getTransaction(), actualRequest.getTransaction()); + Assert.assertEquals(request.getSql(), actualRequest.getSql()); + Assert.assertEquals(request.getParams(), actualRequest.getParams()); + Assert.assertEquals(request.getParamTypesMap(), actualRequest.getParamTypesMap()); + Assert.assertEquals(request.getPartitionOptions(), actualRequest.getPartitionOptions()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void partitionQueryExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockSpanner.addException(exception); + + try { + PartitionQueryRequest request = + PartitionQueryRequest.newBuilder() + .setSession( + SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString()) + .setTransaction(TransactionSelector.newBuilder().build()) + .setSql("sql114126") + .setParams(Struct.newBuilder().build()) + .putAllParamTypes(new HashMap()) + .setPartitionOptions(PartitionOptions.newBuilder().build()) + .build(); + client.partitionQuery(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void partitionReadTest() throws Exception { + PartitionResponse expectedResponse = + PartitionResponse.newBuilder() + .addAllPartitions(new ArrayList()) + .setTransaction(Transaction.newBuilder().build()) + .build(); + mockSpanner.addResponse(expectedResponse); + + PartitionReadRequest request = + PartitionReadRequest.newBuilder() + .setSession( + SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString()) + .setTransaction(TransactionSelector.newBuilder().build()) + .setTable("table110115790") + .setIndex("index100346066") + .addAllColumns(new ArrayList()) + .setKeySet(KeySet.newBuilder().build()) + .setPartitionOptions(PartitionOptions.newBuilder().build()) + .build(); + + PartitionResponse actualResponse = client.partitionRead(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockSpanner.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + PartitionReadRequest actualRequest = ((PartitionReadRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getSession(), actualRequest.getSession()); + Assert.assertEquals(request.getTransaction(), actualRequest.getTransaction()); + Assert.assertEquals(request.getTable(), actualRequest.getTable()); + Assert.assertEquals(request.getIndex(), actualRequest.getIndex()); + Assert.assertEquals(request.getColumnsList(), actualRequest.getColumnsList()); + Assert.assertEquals(request.getKeySet(), actualRequest.getKeySet()); + Assert.assertEquals(request.getPartitionOptions(), actualRequest.getPartitionOptions()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void partitionReadExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockSpanner.addException(exception); + + try { + PartitionReadRequest request = + PartitionReadRequest.newBuilder() + .setSession( + SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString()) + .setTransaction(TransactionSelector.newBuilder().build()) + .setTable("table110115790") + .setIndex("index100346066") + .addAllColumns(new ArrayList()) + .setKeySet(KeySet.newBuilder().build()) + .setPartitionOptions(PartitionOptions.newBuilder().build()) + .build(); + client.partitionRead(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } +} diff --git a/grpc-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseAdminGrpc.java b/owl-bot-staging/v1/grpc-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseAdminGrpc.java similarity index 54% rename from grpc-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseAdminGrpc.java rename to owl-bot-staging/v1/grpc-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseAdminGrpc.java index 224679c6014..544b6f61ee1 100644 --- a/grpc-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseAdminGrpc.java +++ b/owl-bot-staging/v1/grpc-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseAdminGrpc.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.spanner.admin.database.v1; import static io.grpc.MethodDescriptor.generateFullMethodName; /** - * - * *
  * Cloud Spanner Database Admin API
  * The Cloud Spanner Database Admin API can be used to:
@@ -40,906 +23,640 @@ private DatabaseAdminGrpc() {}
   public static final String SERVICE_NAME = "google.spanner.admin.database.v1.DatabaseAdmin";
 
   // Static method descriptors that strictly reflect the proto.
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.admin.database.v1.ListDatabasesRequest,
-          com.google.spanner.admin.database.v1.ListDatabasesResponse>
-      getListDatabasesMethod;
+  private static volatile io.grpc.MethodDescriptor getListDatabasesMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListDatabases",
       requestType = com.google.spanner.admin.database.v1.ListDatabasesRequest.class,
       responseType = com.google.spanner.admin.database.v1.ListDatabasesResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.admin.database.v1.ListDatabasesRequest,
-          com.google.spanner.admin.database.v1.ListDatabasesResponse>
-      getListDatabasesMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.admin.database.v1.ListDatabasesRequest,
-            com.google.spanner.admin.database.v1.ListDatabasesResponse>
-        getListDatabasesMethod;
+  public static io.grpc.MethodDescriptor getListDatabasesMethod() {
+    io.grpc.MethodDescriptor getListDatabasesMethod;
     if ((getListDatabasesMethod = DatabaseAdminGrpc.getListDatabasesMethod) == null) {
       synchronized (DatabaseAdminGrpc.class) {
         if ((getListDatabasesMethod = DatabaseAdminGrpc.getListDatabasesMethod) == null) {
-          DatabaseAdminGrpc.getListDatabasesMethod =
-              getListDatabasesMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDatabases"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.database.v1.ListDatabasesRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.database.v1.ListDatabasesResponse
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new DatabaseAdminMethodDescriptorSupplier("ListDatabases"))
-                      .build();
+          DatabaseAdminGrpc.getListDatabasesMethod = getListDatabasesMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDatabases"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.database.v1.ListDatabasesRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.database.v1.ListDatabasesResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new DatabaseAdminMethodDescriptorSupplier("ListDatabases"))
+              .build();
         }
       }
     }
     return getListDatabasesMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.admin.database.v1.CreateDatabaseRequest,
-          com.google.longrunning.Operation>
-      getCreateDatabaseMethod;
+  private static volatile io.grpc.MethodDescriptor getCreateDatabaseMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateDatabase",
       requestType = com.google.spanner.admin.database.v1.CreateDatabaseRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.admin.database.v1.CreateDatabaseRequest,
-          com.google.longrunning.Operation>
-      getCreateDatabaseMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.admin.database.v1.CreateDatabaseRequest,
-            com.google.longrunning.Operation>
-        getCreateDatabaseMethod;
+  public static io.grpc.MethodDescriptor getCreateDatabaseMethod() {
+    io.grpc.MethodDescriptor getCreateDatabaseMethod;
     if ((getCreateDatabaseMethod = DatabaseAdminGrpc.getCreateDatabaseMethod) == null) {
       synchronized (DatabaseAdminGrpc.class) {
         if ((getCreateDatabaseMethod = DatabaseAdminGrpc.getCreateDatabaseMethod) == null) {
-          DatabaseAdminGrpc.getCreateDatabaseMethod =
-              getCreateDatabaseMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateDatabase"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.database.v1.CreateDatabaseRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.longrunning.Operation.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new DatabaseAdminMethodDescriptorSupplier("CreateDatabase"))
-                      .build();
+          DatabaseAdminGrpc.getCreateDatabaseMethod = getCreateDatabaseMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateDatabase"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.database.v1.CreateDatabaseRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.longrunning.Operation.getDefaultInstance()))
+              .setSchemaDescriptor(new DatabaseAdminMethodDescriptorSupplier("CreateDatabase"))
+              .build();
         }
       }
     }
     return getCreateDatabaseMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.admin.database.v1.GetDatabaseRequest,
-          com.google.spanner.admin.database.v1.Database>
-      getGetDatabaseMethod;
+  private static volatile io.grpc.MethodDescriptor getGetDatabaseMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetDatabase",
       requestType = com.google.spanner.admin.database.v1.GetDatabaseRequest.class,
       responseType = com.google.spanner.admin.database.v1.Database.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.admin.database.v1.GetDatabaseRequest,
-          com.google.spanner.admin.database.v1.Database>
-      getGetDatabaseMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.admin.database.v1.GetDatabaseRequest,
-            com.google.spanner.admin.database.v1.Database>
-        getGetDatabaseMethod;
+  public static io.grpc.MethodDescriptor getGetDatabaseMethod() {
+    io.grpc.MethodDescriptor getGetDatabaseMethod;
     if ((getGetDatabaseMethod = DatabaseAdminGrpc.getGetDatabaseMethod) == null) {
       synchronized (DatabaseAdminGrpc.class) {
         if ((getGetDatabaseMethod = DatabaseAdminGrpc.getGetDatabaseMethod) == null) {
-          DatabaseAdminGrpc.getGetDatabaseMethod =
-              getGetDatabaseMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDatabase"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.database.v1.GetDatabaseRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.database.v1.Database.getDefaultInstance()))
-                      .setSchemaDescriptor(new DatabaseAdminMethodDescriptorSupplier("GetDatabase"))
-                      .build();
+          DatabaseAdminGrpc.getGetDatabaseMethod = getGetDatabaseMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDatabase"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.database.v1.GetDatabaseRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.database.v1.Database.getDefaultInstance()))
+              .setSchemaDescriptor(new DatabaseAdminMethodDescriptorSupplier("GetDatabase"))
+              .build();
         }
       }
     }
     return getGetDatabaseMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest,
-          com.google.longrunning.Operation>
-      getUpdateDatabaseDdlMethod;
+  private static volatile io.grpc.MethodDescriptor getUpdateDatabaseDdlMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UpdateDatabaseDdl",
       requestType = com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest,
-          com.google.longrunning.Operation>
-      getUpdateDatabaseDdlMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest,
-            com.google.longrunning.Operation>
-        getUpdateDatabaseDdlMethod;
+  public static io.grpc.MethodDescriptor getUpdateDatabaseDdlMethod() {
+    io.grpc.MethodDescriptor getUpdateDatabaseDdlMethod;
     if ((getUpdateDatabaseDdlMethod = DatabaseAdminGrpc.getUpdateDatabaseDdlMethod) == null) {
       synchronized (DatabaseAdminGrpc.class) {
         if ((getUpdateDatabaseDdlMethod = DatabaseAdminGrpc.getUpdateDatabaseDdlMethod) == null) {
-          DatabaseAdminGrpc.getUpdateDatabaseDdlMethod =
-              getUpdateDatabaseDdlMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateDatabaseDdl"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.longrunning.Operation.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new DatabaseAdminMethodDescriptorSupplier("UpdateDatabaseDdl"))
-                      .build();
+          DatabaseAdminGrpc.getUpdateDatabaseDdlMethod = getUpdateDatabaseDdlMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateDatabaseDdl"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.longrunning.Operation.getDefaultInstance()))
+              .setSchemaDescriptor(new DatabaseAdminMethodDescriptorSupplier("UpdateDatabaseDdl"))
+              .build();
         }
       }
     }
     return getUpdateDatabaseDdlMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.admin.database.v1.DropDatabaseRequest, com.google.protobuf.Empty>
-      getDropDatabaseMethod;
+  private static volatile io.grpc.MethodDescriptor getDropDatabaseMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DropDatabase",
       requestType = com.google.spanner.admin.database.v1.DropDatabaseRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.admin.database.v1.DropDatabaseRequest, com.google.protobuf.Empty>
-      getDropDatabaseMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.admin.database.v1.DropDatabaseRequest, com.google.protobuf.Empty>
-        getDropDatabaseMethod;
+  public static io.grpc.MethodDescriptor getDropDatabaseMethod() {
+    io.grpc.MethodDescriptor getDropDatabaseMethod;
     if ((getDropDatabaseMethod = DatabaseAdminGrpc.getDropDatabaseMethod) == null) {
       synchronized (DatabaseAdminGrpc.class) {
         if ((getDropDatabaseMethod = DatabaseAdminGrpc.getDropDatabaseMethod) == null) {
-          DatabaseAdminGrpc.getDropDatabaseMethod =
-              getDropDatabaseMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DropDatabase"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.database.v1.DropDatabaseRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.protobuf.Empty.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new DatabaseAdminMethodDescriptorSupplier("DropDatabase"))
-                      .build();
+          DatabaseAdminGrpc.getDropDatabaseMethod = getDropDatabaseMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DropDatabase"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.database.v1.DropDatabaseRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.protobuf.Empty.getDefaultInstance()))
+              .setSchemaDescriptor(new DatabaseAdminMethodDescriptorSupplier("DropDatabase"))
+              .build();
         }
       }
     }
     return getDropDatabaseMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.admin.database.v1.GetDatabaseDdlRequest,
-          com.google.spanner.admin.database.v1.GetDatabaseDdlResponse>
-      getGetDatabaseDdlMethod;
+  private static volatile io.grpc.MethodDescriptor getGetDatabaseDdlMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetDatabaseDdl",
       requestType = com.google.spanner.admin.database.v1.GetDatabaseDdlRequest.class,
       responseType = com.google.spanner.admin.database.v1.GetDatabaseDdlResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.admin.database.v1.GetDatabaseDdlRequest,
-          com.google.spanner.admin.database.v1.GetDatabaseDdlResponse>
-      getGetDatabaseDdlMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.admin.database.v1.GetDatabaseDdlRequest,
-            com.google.spanner.admin.database.v1.GetDatabaseDdlResponse>
-        getGetDatabaseDdlMethod;
+  public static io.grpc.MethodDescriptor getGetDatabaseDdlMethod() {
+    io.grpc.MethodDescriptor getGetDatabaseDdlMethod;
     if ((getGetDatabaseDdlMethod = DatabaseAdminGrpc.getGetDatabaseDdlMethod) == null) {
       synchronized (DatabaseAdminGrpc.class) {
         if ((getGetDatabaseDdlMethod = DatabaseAdminGrpc.getGetDatabaseDdlMethod) == null) {
-          DatabaseAdminGrpc.getGetDatabaseDdlMethod =
-              getGetDatabaseDdlMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDatabaseDdl"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.database.v1.GetDatabaseDdlRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.database.v1.GetDatabaseDdlResponse
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new DatabaseAdminMethodDescriptorSupplier("GetDatabaseDdl"))
-                      .build();
+          DatabaseAdminGrpc.getGetDatabaseDdlMethod = getGetDatabaseDdlMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDatabaseDdl"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.database.v1.GetDatabaseDdlRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.database.v1.GetDatabaseDdlResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new DatabaseAdminMethodDescriptorSupplier("GetDatabaseDdl"))
+              .build();
         }
       }
     }
     return getGetDatabaseDdlMethod;
   }
 
-  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 = DatabaseAdminGrpc.getSetIamPolicyMethod) == null) {
       synchronized (DatabaseAdminGrpc.class) {
         if ((getSetIamPolicyMethod = DatabaseAdminGrpc.getSetIamPolicyMethod) == null) {
-          DatabaseAdminGrpc.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 DatabaseAdminMethodDescriptorSupplier("SetIamPolicy"))
-                      .build();
+          DatabaseAdminGrpc.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 DatabaseAdminMethodDescriptorSupplier("SetIamPolicy"))
+              .build();
         }
       }
     }
     return getSetIamPolicyMethod;
   }
 
-  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 = DatabaseAdminGrpc.getGetIamPolicyMethod) == null) {
       synchronized (DatabaseAdminGrpc.class) {
         if ((getGetIamPolicyMethod = DatabaseAdminGrpc.getGetIamPolicyMethod) == null) {
-          DatabaseAdminGrpc.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 DatabaseAdminMethodDescriptorSupplier("GetIamPolicy"))
-                      .build();
+          DatabaseAdminGrpc.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 DatabaseAdminMethodDescriptorSupplier("GetIamPolicy"))
+              .build();
         }
       }
     }
     return getGetIamPolicyMethod;
   }
 
-  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;
+  public static io.grpc.MethodDescriptor getTestIamPermissionsMethod() {
+    io.grpc.MethodDescriptor getTestIamPermissionsMethod;
     if ((getTestIamPermissionsMethod = DatabaseAdminGrpc.getTestIamPermissionsMethod) == null) {
       synchronized (DatabaseAdminGrpc.class) {
         if ((getTestIamPermissionsMethod = DatabaseAdminGrpc.getTestIamPermissionsMethod) == null) {
-          DatabaseAdminGrpc.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 DatabaseAdminMethodDescriptorSupplier("TestIamPermissions"))
-                      .build();
+          DatabaseAdminGrpc.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 DatabaseAdminMethodDescriptorSupplier("TestIamPermissions"))
+              .build();
         }
       }
     }
     return getTestIamPermissionsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.CreateBackupRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.admin.database.v1.CreateBackupRequest,
-          com.google.longrunning.Operation>
-      getCreateBackupMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.admin.database.v1.CreateBackupRequest,
-            com.google.longrunning.Operation>
-        getCreateBackupMethod;
+  public static io.grpc.MethodDescriptor getCreateBackupMethod() {
+    io.grpc.MethodDescriptor getCreateBackupMethod;
     if ((getCreateBackupMethod = DatabaseAdminGrpc.getCreateBackupMethod) == null) {
       synchronized (DatabaseAdminGrpc.class) {
         if ((getCreateBackupMethod = DatabaseAdminGrpc.getCreateBackupMethod) == null) {
-          DatabaseAdminGrpc.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.spanner.admin.database.v1.CreateBackupRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.longrunning.Operation.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new DatabaseAdminMethodDescriptorSupplier("CreateBackup"))
-                      .build();
+          DatabaseAdminGrpc.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.spanner.admin.database.v1.CreateBackupRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.longrunning.Operation.getDefaultInstance()))
+              .setSchemaDescriptor(new DatabaseAdminMethodDescriptorSupplier("CreateBackup"))
+              .build();
         }
       }
     }
     return getCreateBackupMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.admin.database.v1.CopyBackupRequest, com.google.longrunning.Operation>
-      getCopyBackupMethod;
+  private static volatile io.grpc.MethodDescriptor getCopyBackupMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CopyBackup",
       requestType = com.google.spanner.admin.database.v1.CopyBackupRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.admin.database.v1.CopyBackupRequest, com.google.longrunning.Operation>
-      getCopyBackupMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.admin.database.v1.CopyBackupRequest,
-            com.google.longrunning.Operation>
-        getCopyBackupMethod;
+  public static io.grpc.MethodDescriptor getCopyBackupMethod() {
+    io.grpc.MethodDescriptor getCopyBackupMethod;
     if ((getCopyBackupMethod = DatabaseAdminGrpc.getCopyBackupMethod) == null) {
       synchronized (DatabaseAdminGrpc.class) {
         if ((getCopyBackupMethod = DatabaseAdminGrpc.getCopyBackupMethod) == null) {
-          DatabaseAdminGrpc.getCopyBackupMethod =
-              getCopyBackupMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CopyBackup"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.database.v1.CopyBackupRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.longrunning.Operation.getDefaultInstance()))
-                      .setSchemaDescriptor(new DatabaseAdminMethodDescriptorSupplier("CopyBackup"))
-                      .build();
+          DatabaseAdminGrpc.getCopyBackupMethod = getCopyBackupMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CopyBackup"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.database.v1.CopyBackupRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.longrunning.Operation.getDefaultInstance()))
+              .setSchemaDescriptor(new DatabaseAdminMethodDescriptorSupplier("CopyBackup"))
+              .build();
         }
       }
     }
     return getCopyBackupMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.admin.database.v1.GetBackupRequest,
-          com.google.spanner.admin.database.v1.Backup>
-      getGetBackupMethod;
+  private static volatile io.grpc.MethodDescriptor getGetBackupMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetBackup",
       requestType = com.google.spanner.admin.database.v1.GetBackupRequest.class,
       responseType = com.google.spanner.admin.database.v1.Backup.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.admin.database.v1.GetBackupRequest,
-          com.google.spanner.admin.database.v1.Backup>
-      getGetBackupMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.admin.database.v1.GetBackupRequest,
-            com.google.spanner.admin.database.v1.Backup>
-        getGetBackupMethod;
+  public static io.grpc.MethodDescriptor getGetBackupMethod() {
+    io.grpc.MethodDescriptor getGetBackupMethod;
     if ((getGetBackupMethod = DatabaseAdminGrpc.getGetBackupMethod) == null) {
       synchronized (DatabaseAdminGrpc.class) {
         if ((getGetBackupMethod = DatabaseAdminGrpc.getGetBackupMethod) == null) {
-          DatabaseAdminGrpc.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.spanner.admin.database.v1.GetBackupRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.database.v1.Backup.getDefaultInstance()))
-                      .setSchemaDescriptor(new DatabaseAdminMethodDescriptorSupplier("GetBackup"))
-                      .build();
+          DatabaseAdminGrpc.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.spanner.admin.database.v1.GetBackupRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.database.v1.Backup.getDefaultInstance()))
+              .setSchemaDescriptor(new DatabaseAdminMethodDescriptorSupplier("GetBackup"))
+              .build();
         }
       }
     }
     return getGetBackupMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.admin.database.v1.UpdateBackupRequest,
-          com.google.spanner.admin.database.v1.Backup>
-      getUpdateBackupMethod;
+  private static volatile io.grpc.MethodDescriptor getUpdateBackupMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UpdateBackup",
       requestType = com.google.spanner.admin.database.v1.UpdateBackupRequest.class,
       responseType = com.google.spanner.admin.database.v1.Backup.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.admin.database.v1.UpdateBackupRequest,
-          com.google.spanner.admin.database.v1.Backup>
-      getUpdateBackupMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.admin.database.v1.UpdateBackupRequest,
-            com.google.spanner.admin.database.v1.Backup>
-        getUpdateBackupMethod;
+  public static io.grpc.MethodDescriptor getUpdateBackupMethod() {
+    io.grpc.MethodDescriptor getUpdateBackupMethod;
     if ((getUpdateBackupMethod = DatabaseAdminGrpc.getUpdateBackupMethod) == null) {
       synchronized (DatabaseAdminGrpc.class) {
         if ((getUpdateBackupMethod = DatabaseAdminGrpc.getUpdateBackupMethod) == null) {
-          DatabaseAdminGrpc.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.spanner.admin.database.v1.UpdateBackupRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.database.v1.Backup.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new DatabaseAdminMethodDescriptorSupplier("UpdateBackup"))
-                      .build();
+          DatabaseAdminGrpc.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.spanner.admin.database.v1.UpdateBackupRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.database.v1.Backup.getDefaultInstance()))
+              .setSchemaDescriptor(new DatabaseAdminMethodDescriptorSupplier("UpdateBackup"))
+              .build();
         }
       }
     }
     return getUpdateBackupMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.DeleteBackupRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.admin.database.v1.DeleteBackupRequest, com.google.protobuf.Empty>
-      getDeleteBackupMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.admin.database.v1.DeleteBackupRequest, com.google.protobuf.Empty>
-        getDeleteBackupMethod;
+  public static io.grpc.MethodDescriptor getDeleteBackupMethod() {
+    io.grpc.MethodDescriptor getDeleteBackupMethod;
     if ((getDeleteBackupMethod = DatabaseAdminGrpc.getDeleteBackupMethod) == null) {
       synchronized (DatabaseAdminGrpc.class) {
         if ((getDeleteBackupMethod = DatabaseAdminGrpc.getDeleteBackupMethod) == null) {
-          DatabaseAdminGrpc.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.spanner.admin.database.v1.DeleteBackupRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.protobuf.Empty.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new DatabaseAdminMethodDescriptorSupplier("DeleteBackup"))
-                      .build();
+          DatabaseAdminGrpc.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.spanner.admin.database.v1.DeleteBackupRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.protobuf.Empty.getDefaultInstance()))
+              .setSchemaDescriptor(new DatabaseAdminMethodDescriptorSupplier("DeleteBackup"))
+              .build();
         }
       }
     }
     return getDeleteBackupMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.admin.database.v1.ListBackupsRequest,
-          com.google.spanner.admin.database.v1.ListBackupsResponse>
-      getListBackupsMethod;
+  private static volatile io.grpc.MethodDescriptor getListBackupsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListBackups",
       requestType = com.google.spanner.admin.database.v1.ListBackupsRequest.class,
       responseType = com.google.spanner.admin.database.v1.ListBackupsResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.admin.database.v1.ListBackupsRequest,
-          com.google.spanner.admin.database.v1.ListBackupsResponse>
-      getListBackupsMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.admin.database.v1.ListBackupsRequest,
-            com.google.spanner.admin.database.v1.ListBackupsResponse>
-        getListBackupsMethod;
+  public static io.grpc.MethodDescriptor getListBackupsMethod() {
+    io.grpc.MethodDescriptor getListBackupsMethod;
     if ((getListBackupsMethod = DatabaseAdminGrpc.getListBackupsMethod) == null) {
       synchronized (DatabaseAdminGrpc.class) {
         if ((getListBackupsMethod = DatabaseAdminGrpc.getListBackupsMethod) == null) {
-          DatabaseAdminGrpc.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.spanner.admin.database.v1.ListBackupsRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.database.v1.ListBackupsResponse
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(new DatabaseAdminMethodDescriptorSupplier("ListBackups"))
-                      .build();
+          DatabaseAdminGrpc.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.spanner.admin.database.v1.ListBackupsRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.database.v1.ListBackupsResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new DatabaseAdminMethodDescriptorSupplier("ListBackups"))
+              .build();
         }
       }
     }
     return getListBackupsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.admin.database.v1.RestoreDatabaseRequest,
-          com.google.longrunning.Operation>
-      getRestoreDatabaseMethod;
+  private static volatile io.grpc.MethodDescriptor getRestoreDatabaseMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "RestoreDatabase",
       requestType = com.google.spanner.admin.database.v1.RestoreDatabaseRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.admin.database.v1.RestoreDatabaseRequest,
-          com.google.longrunning.Operation>
-      getRestoreDatabaseMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.admin.database.v1.RestoreDatabaseRequest,
-            com.google.longrunning.Operation>
-        getRestoreDatabaseMethod;
+  public static io.grpc.MethodDescriptor getRestoreDatabaseMethod() {
+    io.grpc.MethodDescriptor getRestoreDatabaseMethod;
     if ((getRestoreDatabaseMethod = DatabaseAdminGrpc.getRestoreDatabaseMethod) == null) {
       synchronized (DatabaseAdminGrpc.class) {
         if ((getRestoreDatabaseMethod = DatabaseAdminGrpc.getRestoreDatabaseMethod) == null) {
-          DatabaseAdminGrpc.getRestoreDatabaseMethod =
-              getRestoreDatabaseMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RestoreDatabase"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.database.v1.RestoreDatabaseRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.longrunning.Operation.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new DatabaseAdminMethodDescriptorSupplier("RestoreDatabase"))
-                      .build();
+          DatabaseAdminGrpc.getRestoreDatabaseMethod = getRestoreDatabaseMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RestoreDatabase"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.database.v1.RestoreDatabaseRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.longrunning.Operation.getDefaultInstance()))
+              .setSchemaDescriptor(new DatabaseAdminMethodDescriptorSupplier("RestoreDatabase"))
+              .build();
         }
       }
     }
     return getRestoreDatabaseMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest,
-          com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse>
-      getListDatabaseOperationsMethod;
+  private static volatile io.grpc.MethodDescriptor getListDatabaseOperationsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListDatabaseOperations",
       requestType = com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest.class,
       responseType = com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest,
-          com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse>
-      getListDatabaseOperationsMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest,
-            com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse>
-        getListDatabaseOperationsMethod;
-    if ((getListDatabaseOperationsMethod = DatabaseAdminGrpc.getListDatabaseOperationsMethod)
-        == null) {
+  public static io.grpc.MethodDescriptor getListDatabaseOperationsMethod() {
+    io.grpc.MethodDescriptor getListDatabaseOperationsMethod;
+    if ((getListDatabaseOperationsMethod = DatabaseAdminGrpc.getListDatabaseOperationsMethod) == null) {
       synchronized (DatabaseAdminGrpc.class) {
-        if ((getListDatabaseOperationsMethod = DatabaseAdminGrpc.getListDatabaseOperationsMethod)
-            == null) {
-          DatabaseAdminGrpc.getListDatabaseOperationsMethod =
-              getListDatabaseOperationsMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(
-                          generateFullMethodName(SERVICE_NAME, "ListDatabaseOperations"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new DatabaseAdminMethodDescriptorSupplier("ListDatabaseOperations"))
-                      .build();
+        if ((getListDatabaseOperationsMethod = DatabaseAdminGrpc.getListDatabaseOperationsMethod) == null) {
+          DatabaseAdminGrpc.getListDatabaseOperationsMethod = getListDatabaseOperationsMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDatabaseOperations"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new DatabaseAdminMethodDescriptorSupplier("ListDatabaseOperations"))
+              .build();
         }
       }
     }
     return getListDatabaseOperationsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.admin.database.v1.ListBackupOperationsRequest,
-          com.google.spanner.admin.database.v1.ListBackupOperationsResponse>
-      getListBackupOperationsMethod;
+  private static volatile io.grpc.MethodDescriptor getListBackupOperationsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListBackupOperations",
       requestType = com.google.spanner.admin.database.v1.ListBackupOperationsRequest.class,
       responseType = com.google.spanner.admin.database.v1.ListBackupOperationsResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.admin.database.v1.ListBackupOperationsRequest,
-          com.google.spanner.admin.database.v1.ListBackupOperationsResponse>
-      getListBackupOperationsMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.admin.database.v1.ListBackupOperationsRequest,
-            com.google.spanner.admin.database.v1.ListBackupOperationsResponse>
-        getListBackupOperationsMethod;
+  public static io.grpc.MethodDescriptor getListBackupOperationsMethod() {
+    io.grpc.MethodDescriptor getListBackupOperationsMethod;
     if ((getListBackupOperationsMethod = DatabaseAdminGrpc.getListBackupOperationsMethod) == null) {
       synchronized (DatabaseAdminGrpc.class) {
-        if ((getListBackupOperationsMethod = DatabaseAdminGrpc.getListBackupOperationsMethod)
-            == null) {
-          DatabaseAdminGrpc.getListBackupOperationsMethod =
-              getListBackupOperationsMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(
-                          generateFullMethodName(SERVICE_NAME, "ListBackupOperations"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.database.v1.ListBackupOperationsRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.database.v1.ListBackupOperationsResponse
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new DatabaseAdminMethodDescriptorSupplier("ListBackupOperations"))
-                      .build();
+        if ((getListBackupOperationsMethod = DatabaseAdminGrpc.getListBackupOperationsMethod) == null) {
+          DatabaseAdminGrpc.getListBackupOperationsMethod = getListBackupOperationsMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListBackupOperations"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.database.v1.ListBackupOperationsRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.database.v1.ListBackupOperationsResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new DatabaseAdminMethodDescriptorSupplier("ListBackupOperations"))
+              .build();
         }
       }
     }
     return getListBackupOperationsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.admin.database.v1.ListDatabaseRolesRequest,
-          com.google.spanner.admin.database.v1.ListDatabaseRolesResponse>
-      getListDatabaseRolesMethod;
+  private static volatile io.grpc.MethodDescriptor getListDatabaseRolesMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListDatabaseRoles",
       requestType = com.google.spanner.admin.database.v1.ListDatabaseRolesRequest.class,
       responseType = com.google.spanner.admin.database.v1.ListDatabaseRolesResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.admin.database.v1.ListDatabaseRolesRequest,
-          com.google.spanner.admin.database.v1.ListDatabaseRolesResponse>
-      getListDatabaseRolesMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.admin.database.v1.ListDatabaseRolesRequest,
-            com.google.spanner.admin.database.v1.ListDatabaseRolesResponse>
-        getListDatabaseRolesMethod;
+  public static io.grpc.MethodDescriptor getListDatabaseRolesMethod() {
+    io.grpc.MethodDescriptor getListDatabaseRolesMethod;
     if ((getListDatabaseRolesMethod = DatabaseAdminGrpc.getListDatabaseRolesMethod) == null) {
       synchronized (DatabaseAdminGrpc.class) {
         if ((getListDatabaseRolesMethod = DatabaseAdminGrpc.getListDatabaseRolesMethod) == null) {
-          DatabaseAdminGrpc.getListDatabaseRolesMethod =
-              getListDatabaseRolesMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDatabaseRoles"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.database.v1.ListDatabaseRolesRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.database.v1.ListDatabaseRolesResponse
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new DatabaseAdminMethodDescriptorSupplier("ListDatabaseRoles"))
-                      .build();
+          DatabaseAdminGrpc.getListDatabaseRolesMethod = getListDatabaseRolesMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDatabaseRoles"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.database.v1.ListDatabaseRolesRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.database.v1.ListDatabaseRolesResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new DatabaseAdminMethodDescriptorSupplier("ListDatabaseRoles"))
+              .build();
         }
       }
     }
     return getListDatabaseRolesMethod;
   }
 
-  /** 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 DatabaseAdminStub newStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public DatabaseAdminStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new DatabaseAdminStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public DatabaseAdminStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new DatabaseAdminStub(channel, callOptions);
+        }
+      };
     return DatabaseAdminStub.newStub(factory, channel);
   }
 
   /**
    * Creates a new blocking-style stub that supports unary and streaming output calls on the service
    */
-  public static DatabaseAdminBlockingStub newBlockingStub(io.grpc.Channel channel) {
+  public static DatabaseAdminBlockingStub newBlockingStub(
+      io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public DatabaseAdminBlockingStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new DatabaseAdminBlockingStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public DatabaseAdminBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new DatabaseAdminBlockingStub(channel, callOptions);
+        }
+      };
     return DatabaseAdminBlockingStub.newStub(factory, channel);
   }
 
-  /** Creates a new ListenableFuture-style stub that supports unary calls on the service */
-  public static DatabaseAdminFutureStub newFutureStub(io.grpc.Channel channel) {
+  /**
+   * Creates a new ListenableFuture-style stub that supports unary calls on the service
+   */
+  public static DatabaseAdminFutureStub newFutureStub(
+      io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public DatabaseAdminFutureStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new DatabaseAdminFutureStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public DatabaseAdminFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new DatabaseAdminFutureStub(channel, callOptions);
+        }
+      };
     return DatabaseAdminFutureStub.newStub(factory, channel);
   }
 
   /**
-   *
-   *
    * 
    * Cloud Spanner Database Admin API
    * The Cloud Spanner Database Admin API can be used to:
@@ -952,23 +669,16 @@ public DatabaseAdminFutureStub newStub(
   public interface AsyncService {
 
     /**
-     *
-     *
      * 
      * Lists Cloud Spanner databases.
      * 
*/ - default void listDatabases( - com.google.spanner.admin.database.v1.ListDatabasesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListDatabasesMethod(), responseObserver); + default void listDatabases(com.google.spanner.admin.database.v1.ListDatabasesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListDatabasesMethod(), responseObserver); } /** - * - * *
      * Creates a new Cloud Spanner database and starts to prepare it for serving.
      * The returned [long-running operation][google.longrunning.Operation] will
@@ -980,31 +690,22 @@ default void listDatabases(
      * [Database][google.spanner.admin.database.v1.Database], if successful.
      * 
*/ - default void createDatabase( - com.google.spanner.admin.database.v1.CreateDatabaseRequest request, + default void createDatabase(com.google.spanner.admin.database.v1.CreateDatabaseRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateDatabaseMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateDatabaseMethod(), responseObserver); } /** - * - * *
      * Gets the state of a Cloud Spanner database.
      * 
*/ - default void getDatabase( - com.google.spanner.admin.database.v1.GetDatabaseRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetDatabaseMethod(), responseObserver); + default void getDatabase(com.google.spanner.admin.database.v1.GetDatabaseRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDatabaseMethod(), responseObserver); } /** - * - * *
      * Updates the schema of a Cloud Spanner database by
      * creating/altering/dropping tables, columns, indexes, etc. The returned
@@ -1015,16 +716,12 @@ default void getDatabase(
      * [UpdateDatabaseDdlMetadata][google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata].  The operation has no response.
      * 
*/ - default void updateDatabaseDdl( - com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest request, + default void updateDatabaseDdl(com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateDatabaseDdlMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateDatabaseDdlMethod(), responseObserver); } /** - * - * *
      * Drops (aka deletes) a Cloud Spanner database.
      * Completed backups for the database will be retained according to their
@@ -1033,33 +730,24 @@ default void updateDatabaseDdl(
      * after the database has been deleted.
      * 
*/ - default void dropDatabase( - com.google.spanner.admin.database.v1.DropDatabaseRequest request, + default void dropDatabase(com.google.spanner.admin.database.v1.DropDatabaseRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDropDatabaseMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDropDatabaseMethod(), responseObserver); } /** - * - * *
      * Returns the schema of a Cloud Spanner database as a list of formatted
      * DDL statements. This method does not show pending schema updates, those may
      * be queried using the [Operations][google.longrunning.Operations] API.
      * 
*/ - default void getDatabaseDdl( - com.google.spanner.admin.database.v1.GetDatabaseDdlRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetDatabaseDdlMethod(), responseObserver); + default void getDatabaseDdl(com.google.spanner.admin.database.v1.GetDatabaseDdlRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDatabaseDdlMethod(), responseObserver); } /** - * - * *
      * Sets the access control policy on a database or backup resource.
      * Replaces any existing policy.
@@ -1069,16 +757,12 @@ default void getDatabaseDdl(
      * permission on [resource][google.iam.v1.SetIamPolicyRequest.resource].
      * 
*/ - 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); } /** - * - * *
      * Gets the access control policy for a database or backup resource.
      * Returns an empty policy if a database or backup exists but does not have a
@@ -1089,16 +773,12 @@ default void setIamPolicy(
      * permission on [resource][google.iam.v1.GetIamPolicyRequest.resource].
      * 
*/ - 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); } /** - * - * *
      * Returns permissions that the caller has on the specified database or backup
      * resource.
@@ -1111,17 +791,12 @@ default void getIamPolicy(
      * `spanner.backups.list` permission on the containing instance.
      * 
*/ - 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); } /** - * - * *
      * Starts creating a new Cloud Spanner Backup.
      * The returned backup [long-running operation][google.longrunning.Operation]
@@ -1137,16 +812,12 @@ default void testIamPermissions(
      * of different databases can run concurrently.
      * 
*/ - default void createBackup( - com.google.spanner.admin.database.v1.CreateBackupRequest request, + default void createBackup(com.google.spanner.admin.database.v1.CreateBackupRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateBackupMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateBackupMethod(), responseObserver); } /** - * - * *
      * Starts copying a Cloud Spanner Backup.
      * The returned backup [long-running operation][google.longrunning.Operation]
@@ -1162,73 +833,54 @@ default void createBackup(
      * Concurrent CopyBackup requests can run on the same source backup.
      * 
*/ - default void copyBackup( - com.google.spanner.admin.database.v1.CopyBackupRequest request, + default void copyBackup(com.google.spanner.admin.database.v1.CopyBackupRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCopyBackupMethod(), responseObserver); } /** - * - * *
      * Gets metadata on a pending or completed [Backup][google.spanner.admin.database.v1.Backup].
      * 
*/ - default void getBackup( - com.google.spanner.admin.database.v1.GetBackupRequest request, + default void getBackup(com.google.spanner.admin.database.v1.GetBackupRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetBackupMethod(), responseObserver); } /** - * - * *
      * Updates a pending or completed [Backup][google.spanner.admin.database.v1.Backup].
      * 
*/ - default void updateBackup( - com.google.spanner.admin.database.v1.UpdateBackupRequest request, + default void updateBackup(com.google.spanner.admin.database.v1.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 [Backup][google.spanner.admin.database.v1.Backup].
      * 
*/ - default void deleteBackup( - com.google.spanner.admin.database.v1.DeleteBackupRequest request, + default void deleteBackup(com.google.spanner.admin.database.v1.DeleteBackupRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteBackupMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteBackupMethod(), responseObserver); } /** - * - * *
      * Lists completed and pending backups.
      * Backups returned are ordered by `create_time` in descending order,
      * starting from the most recent `create_time`.
      * 
*/ - default void listBackups( - com.google.spanner.admin.database.v1.ListBackupsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListBackupsMethod(), responseObserver); + default void listBackups(com.google.spanner.admin.database.v1.ListBackupsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListBackupsMethod(), responseObserver); } /** - * - * *
      * Create a new database by restoring from a completed backup. The new
      * database must be in the same project and in an instance with the same
@@ -1249,16 +901,12 @@ default void listBackups(
      * first restore to complete.
      * 
*/ - default void restoreDatabase( - com.google.spanner.admin.database.v1.RestoreDatabaseRequest request, + default void restoreDatabase(com.google.spanner.admin.database.v1.RestoreDatabaseRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getRestoreDatabaseMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRestoreDatabaseMethod(), responseObserver); } /** - * - * *
      * Lists database [longrunning-operations][google.longrunning.Operation].
      * A database operation has a name of the form
@@ -1270,18 +918,12 @@ default void restoreDatabase(
      * and pending operations.
      * 
*/ - default void listDatabaseOperations( - com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest request, - io.grpc.stub.StreamObserver< - com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListDatabaseOperationsMethod(), responseObserver); + default void listDatabaseOperations(com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListDatabaseOperationsMethod(), responseObserver); } /** - * - * *
      * Lists the backup [long-running operations][google.longrunning.Operation] in
      * the given instance. A backup operation has a name of the form
@@ -1295,34 +937,24 @@ default void listDatabaseOperations(
      * from the most recently started operation.
      * 
*/ - default void listBackupOperations( - com.google.spanner.admin.database.v1.ListBackupOperationsRequest request, - io.grpc.stub.StreamObserver< - com.google.spanner.admin.database.v1.ListBackupOperationsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListBackupOperationsMethod(), responseObserver); + default void listBackupOperations(com.google.spanner.admin.database.v1.ListBackupOperationsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListBackupOperationsMethod(), responseObserver); } /** - * - * *
      * Lists Cloud Spanner database roles.
      * 
*/ - default void listDatabaseRoles( - com.google.spanner.admin.database.v1.ListDatabaseRolesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListDatabaseRolesMethod(), responseObserver); + default void listDatabaseRoles(com.google.spanner.admin.database.v1.ListDatabaseRolesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListDatabaseRolesMethod(), responseObserver); } } /** * Base class for the server implementation of the service DatabaseAdmin. - * *
    * Cloud Spanner Database Admin API
    * The Cloud Spanner Database Admin API can be used to:
@@ -1332,18 +964,16 @@ default void listDatabaseRoles(
    *   * restore a database from an existing backup
    * 
*/ - public abstract static class DatabaseAdminImplBase + public static abstract class DatabaseAdminImplBase implements io.grpc.BindableService, AsyncService { - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return DatabaseAdminGrpc.bindService(this); } } /** * A stub to allow clients to do asynchronous rpc calls to service DatabaseAdmin. - * *
    * Cloud Spanner Database Admin API
    * The Cloud Spanner Database Admin API can be used to:
@@ -1355,35 +985,29 @@ public final io.grpc.ServerServiceDefinition bindService() {
    */
   public static final class DatabaseAdminStub
       extends io.grpc.stub.AbstractAsyncStub {
-    private DatabaseAdminStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    private DatabaseAdminStub(
+        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       super(channel, callOptions);
     }
 
     @java.lang.Override
-    protected DatabaseAdminStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    protected DatabaseAdminStub build(
+        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       return new DatabaseAdminStub(channel, callOptions);
     }
 
     /**
-     *
-     *
      * 
      * Lists Cloud Spanner databases.
      * 
*/ - public void listDatabases( - com.google.spanner.admin.database.v1.ListDatabasesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listDatabases(com.google.spanner.admin.database.v1.ListDatabasesRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListDatabasesMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getListDatabasesMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Creates a new Cloud Spanner database and starts to prepare it for serving.
      * The returned [long-running operation][google.longrunning.Operation] will
@@ -1395,35 +1019,24 @@ public void listDatabases(
      * [Database][google.spanner.admin.database.v1.Database], if successful.
      * 
*/ - public void createDatabase( - com.google.spanner.admin.database.v1.CreateDatabaseRequest request, + public void createDatabase(com.google.spanner.admin.database.v1.CreateDatabaseRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateDatabaseMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getCreateDatabaseMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Gets the state of a Cloud Spanner database.
      * 
*/ - public void getDatabase( - com.google.spanner.admin.database.v1.GetDatabaseRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void getDatabase(com.google.spanner.admin.database.v1.GetDatabaseRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetDatabaseMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getGetDatabaseMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Updates the schema of a Cloud Spanner database by
      * creating/altering/dropping tables, columns, indexes, etc. The returned
@@ -1434,18 +1047,13 @@ public void getDatabase(
      * [UpdateDatabaseDdlMetadata][google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata].  The operation has no response.
      * 
*/ - public void updateDatabaseDdl( - com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest request, + public void updateDatabaseDdl(com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateDatabaseDdlMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getUpdateDatabaseDdlMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Drops (aka deletes) a Cloud Spanner database.
      * Completed backups for the database will be retained according to their
@@ -1454,37 +1062,26 @@ public void updateDatabaseDdl(
      * after the database has been deleted.
      * 
*/ - public void dropDatabase( - com.google.spanner.admin.database.v1.DropDatabaseRequest request, + public void dropDatabase(com.google.spanner.admin.database.v1.DropDatabaseRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDropDatabaseMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getDropDatabaseMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Returns the schema of a Cloud Spanner database as a list of formatted
      * DDL statements. This method does not show pending schema updates, those may
      * be queried using the [Operations][google.longrunning.Operations] API.
      * 
*/ - public void getDatabaseDdl( - com.google.spanner.admin.database.v1.GetDatabaseDdlRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void getDatabaseDdl(com.google.spanner.admin.database.v1.GetDatabaseDdlRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetDatabaseDdlMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getGetDatabaseDdlMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Sets the access control policy on a database or backup resource.
      * Replaces any existing policy.
@@ -1494,18 +1091,13 @@ public void getDatabaseDdl(
      * permission on [resource][google.iam.v1.SetIamPolicyRequest.resource].
      * 
*/ - 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); } /** - * - * *
      * Gets the access control policy for a database or backup resource.
      * Returns an empty policy if a database or backup exists but does not have a
@@ -1516,18 +1108,13 @@ public void setIamPolicy(
      * permission on [resource][google.iam.v1.GetIamPolicyRequest.resource].
      * 
*/ - 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); } /** - * - * *
      * Returns permissions that the caller has on the specified database or backup
      * resource.
@@ -1540,19 +1127,13 @@ public void getIamPolicy(
      * `spanner.backups.list` permission on the containing instance.
      * 
*/ - 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); } /** - * - * *
      * Starts creating a new Cloud Spanner Backup.
      * The returned backup [long-running operation][google.longrunning.Operation]
@@ -1568,18 +1149,13 @@ public void testIamPermissions(
      * of different databases can run concurrently.
      * 
*/ - public void createBackup( - com.google.spanner.admin.database.v1.CreateBackupRequest request, + public void createBackup(com.google.spanner.admin.database.v1.CreateBackupRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateBackupMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getCreateBackupMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Starts copying a Cloud Spanner Backup.
      * The returned backup [long-running operation][google.longrunning.Operation]
@@ -1595,81 +1171,59 @@ public void createBackup(
      * Concurrent CopyBackup requests can run on the same source backup.
      * 
*/ - public void copyBackup( - com.google.spanner.admin.database.v1.CopyBackupRequest request, + public void copyBackup(com.google.spanner.admin.database.v1.CopyBackupRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCopyBackupMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Gets metadata on a pending or completed [Backup][google.spanner.admin.database.v1.Backup].
      * 
*/ - public void getBackup( - com.google.spanner.admin.database.v1.GetBackupRequest request, + public void getBackup(com.google.spanner.admin.database.v1.GetBackupRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetBackupMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Updates a pending or completed [Backup][google.spanner.admin.database.v1.Backup].
      * 
*/ - public void updateBackup( - com.google.spanner.admin.database.v1.UpdateBackupRequest request, + public void updateBackup(com.google.spanner.admin.database.v1.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 [Backup][google.spanner.admin.database.v1.Backup].
      * 
*/ - public void deleteBackup( - com.google.spanner.admin.database.v1.DeleteBackupRequest request, + public void deleteBackup(com.google.spanner.admin.database.v1.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 completed and pending backups.
      * Backups returned are ordered by `create_time` in descending order,
      * starting from the most recent `create_time`.
      * 
*/ - public void listBackups( - com.google.spanner.admin.database.v1.ListBackupsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listBackups(com.google.spanner.admin.database.v1.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 database by restoring from a completed backup. The new
      * database must be in the same project and in an instance with the same
@@ -1690,18 +1244,13 @@ public void listBackups(
      * first restore to complete.
      * 
*/ - public void restoreDatabase( - com.google.spanner.admin.database.v1.RestoreDatabaseRequest request, + public void restoreDatabase(com.google.spanner.admin.database.v1.RestoreDatabaseRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRestoreDatabaseMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getRestoreDatabaseMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Lists database [longrunning-operations][google.longrunning.Operation].
      * A database operation has a name of the form
@@ -1713,20 +1262,13 @@ public void restoreDatabase(
      * and pending operations.
      * 
*/ - public void listDatabaseOperations( - com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest request, - io.grpc.stub.StreamObserver< - com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse> - responseObserver) { + public void listDatabaseOperations(com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListDatabaseOperationsMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getListDatabaseOperationsMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Lists the backup [long-running operations][google.longrunning.Operation] in
      * the given instance. A backup operation has a name of the form
@@ -1740,38 +1282,26 @@ public void listDatabaseOperations(
      * from the most recently started operation.
      * 
*/ - public void listBackupOperations( - com.google.spanner.admin.database.v1.ListBackupOperationsRequest request, - io.grpc.stub.StreamObserver< - com.google.spanner.admin.database.v1.ListBackupOperationsResponse> - responseObserver) { + public void listBackupOperations(com.google.spanner.admin.database.v1.ListBackupOperationsRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListBackupOperationsMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getListBackupOperationsMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Lists Cloud Spanner database roles.
      * 
*/ - public void listDatabaseRoles( - com.google.spanner.admin.database.v1.ListDatabaseRolesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listDatabaseRoles(com.google.spanner.admin.database.v1.ListDatabaseRolesRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListDatabaseRolesMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getListDatabaseRolesMethod(), getCallOptions()), request, responseObserver); } } /** * A stub to allow clients to do synchronous rpc calls to service DatabaseAdmin. - * *
    * Cloud Spanner Database Admin API
    * The Cloud Spanner Database Admin API can be used to:
@@ -1783,7 +1313,8 @@ public void listDatabaseRoles(
    */
   public static final class DatabaseAdminBlockingStub
       extends io.grpc.stub.AbstractBlockingStub {
-    private DatabaseAdminBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    private DatabaseAdminBlockingStub(
+        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       super(channel, callOptions);
     }
 
@@ -1794,21 +1325,16 @@ protected DatabaseAdminBlockingStub build(
     }
 
     /**
-     *
-     *
      * 
      * Lists Cloud Spanner databases.
      * 
*/ - public com.google.spanner.admin.database.v1.ListDatabasesResponse listDatabases( - com.google.spanner.admin.database.v1.ListDatabasesRequest request) { + public com.google.spanner.admin.database.v1.ListDatabasesResponse listDatabases(com.google.spanner.admin.database.v1.ListDatabasesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListDatabasesMethod(), getCallOptions(), request); } /** - * - * *
      * Creates a new Cloud Spanner database and starts to prepare it for serving.
      * The returned [long-running operation][google.longrunning.Operation] will
@@ -1820,28 +1346,22 @@ public com.google.spanner.admin.database.v1.ListDatabasesResponse listDatabases(
      * [Database][google.spanner.admin.database.v1.Database], if successful.
      * 
*/ - public com.google.longrunning.Operation createDatabase( - com.google.spanner.admin.database.v1.CreateDatabaseRequest request) { + public com.google.longrunning.Operation createDatabase(com.google.spanner.admin.database.v1.CreateDatabaseRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateDatabaseMethod(), getCallOptions(), request); } /** - * - * *
      * Gets the state of a Cloud Spanner database.
      * 
*/ - public com.google.spanner.admin.database.v1.Database getDatabase( - com.google.spanner.admin.database.v1.GetDatabaseRequest request) { + public com.google.spanner.admin.database.v1.Database getDatabase(com.google.spanner.admin.database.v1.GetDatabaseRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetDatabaseMethod(), getCallOptions(), request); } /** - * - * *
      * Updates the schema of a Cloud Spanner database by
      * creating/altering/dropping tables, columns, indexes, etc. The returned
@@ -1852,15 +1372,12 @@ public com.google.spanner.admin.database.v1.Database getDatabase(
      * [UpdateDatabaseDdlMetadata][google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata].  The operation has no response.
      * 
*/ - public com.google.longrunning.Operation updateDatabaseDdl( - com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest request) { + public com.google.longrunning.Operation updateDatabaseDdl(com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateDatabaseDdlMethod(), getCallOptions(), request); } /** - * - * *
      * Drops (aka deletes) a Cloud Spanner database.
      * Completed backups for the database will be retained according to their
@@ -1869,30 +1386,24 @@ public com.google.longrunning.Operation updateDatabaseDdl(
      * after the database has been deleted.
      * 
*/ - public com.google.protobuf.Empty dropDatabase( - com.google.spanner.admin.database.v1.DropDatabaseRequest request) { + public com.google.protobuf.Empty dropDatabase(com.google.spanner.admin.database.v1.DropDatabaseRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDropDatabaseMethod(), getCallOptions(), request); } /** - * - * *
      * Returns the schema of a Cloud Spanner database as a list of formatted
      * DDL statements. This method does not show pending schema updates, those may
      * be queried using the [Operations][google.longrunning.Operations] API.
      * 
*/ - public com.google.spanner.admin.database.v1.GetDatabaseDdlResponse getDatabaseDdl( - com.google.spanner.admin.database.v1.GetDatabaseDdlRequest request) { + public com.google.spanner.admin.database.v1.GetDatabaseDdlResponse getDatabaseDdl(com.google.spanner.admin.database.v1.GetDatabaseDdlRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetDatabaseDdlMethod(), getCallOptions(), request); } /** - * - * *
      * Sets the access control policy on a database or backup resource.
      * Replaces any existing policy.
@@ -1908,8 +1419,6 @@ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyReque
     }
 
     /**
-     *
-     *
      * 
      * Gets the access control policy for a database or backup resource.
      * Returns an empty policy if a database or backup exists but does not have a
@@ -1926,8 +1435,6 @@ public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyReque
     }
 
     /**
-     *
-     *
      * 
      * Returns permissions that the caller has on the specified database or backup
      * resource.
@@ -1940,15 +1447,12 @@ public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyReque
      * `spanner.backups.list` permission on the containing instance.
      * 
*/ - 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); } /** - * - * *
      * Starts creating a new Cloud Spanner Backup.
      * The returned backup [long-running operation][google.longrunning.Operation]
@@ -1964,15 +1468,12 @@ public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(
      * of different databases can run concurrently.
      * 
*/ - public com.google.longrunning.Operation createBackup( - com.google.spanner.admin.database.v1.CreateBackupRequest request) { + public com.google.longrunning.Operation createBackup(com.google.spanner.admin.database.v1.CreateBackupRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateBackupMethod(), getCallOptions(), request); } /** - * - * *
      * Starts copying a Cloud Spanner Backup.
      * The returned backup [long-running operation][google.longrunning.Operation]
@@ -1988,69 +1489,54 @@ public com.google.longrunning.Operation createBackup(
      * Concurrent CopyBackup requests can run on the same source backup.
      * 
*/ - public com.google.longrunning.Operation copyBackup( - com.google.spanner.admin.database.v1.CopyBackupRequest request) { + public com.google.longrunning.Operation copyBackup(com.google.spanner.admin.database.v1.CopyBackupRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCopyBackupMethod(), getCallOptions(), request); } /** - * - * *
      * Gets metadata on a pending or completed [Backup][google.spanner.admin.database.v1.Backup].
      * 
*/ - public com.google.spanner.admin.database.v1.Backup getBackup( - com.google.spanner.admin.database.v1.GetBackupRequest request) { + public com.google.spanner.admin.database.v1.Backup getBackup(com.google.spanner.admin.database.v1.GetBackupRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetBackupMethod(), getCallOptions(), request); } /** - * - * *
      * Updates a pending or completed [Backup][google.spanner.admin.database.v1.Backup].
      * 
*/ - public com.google.spanner.admin.database.v1.Backup updateBackup( - com.google.spanner.admin.database.v1.UpdateBackupRequest request) { + public com.google.spanner.admin.database.v1.Backup updateBackup(com.google.spanner.admin.database.v1.UpdateBackupRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateBackupMethod(), getCallOptions(), request); } /** - * - * *
      * Deletes a pending or completed [Backup][google.spanner.admin.database.v1.Backup].
      * 
*/ - public com.google.protobuf.Empty deleteBackup( - com.google.spanner.admin.database.v1.DeleteBackupRequest request) { + public com.google.protobuf.Empty deleteBackup(com.google.spanner.admin.database.v1.DeleteBackupRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteBackupMethod(), getCallOptions(), request); } /** - * - * *
      * Lists completed and pending backups.
      * Backups returned are ordered by `create_time` in descending order,
      * starting from the most recent `create_time`.
      * 
*/ - public com.google.spanner.admin.database.v1.ListBackupsResponse listBackups( - com.google.spanner.admin.database.v1.ListBackupsRequest request) { + public com.google.spanner.admin.database.v1.ListBackupsResponse listBackups(com.google.spanner.admin.database.v1.ListBackupsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListBackupsMethod(), getCallOptions(), request); } /** - * - * *
      * Create a new database by restoring from a completed backup. The new
      * database must be in the same project and in an instance with the same
@@ -2071,15 +1557,12 @@ public com.google.spanner.admin.database.v1.ListBackupsResponse listBackups(
      * first restore to complete.
      * 
*/ - public com.google.longrunning.Operation restoreDatabase( - com.google.spanner.admin.database.v1.RestoreDatabaseRequest request) { + public com.google.longrunning.Operation restoreDatabase(com.google.spanner.admin.database.v1.RestoreDatabaseRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getRestoreDatabaseMethod(), getCallOptions(), request); } /** - * - * *
      * Lists database [longrunning-operations][google.longrunning.Operation].
      * A database operation has a name of the form
@@ -2091,16 +1574,12 @@ public com.google.longrunning.Operation restoreDatabase(
      * and pending operations.
      * 
*/ - public com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse - listDatabaseOperations( - com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest request) { + public com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse listDatabaseOperations(com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListDatabaseOperationsMethod(), getCallOptions(), request); } /** - * - * *
      * Lists the backup [long-running operations][google.longrunning.Operation] in
      * the given instance. A backup operation has a name of the form
@@ -2114,21 +1593,17 @@ public com.google.longrunning.Operation restoreDatabase(
      * from the most recently started operation.
      * 
*/ - public com.google.spanner.admin.database.v1.ListBackupOperationsResponse listBackupOperations( - com.google.spanner.admin.database.v1.ListBackupOperationsRequest request) { + public com.google.spanner.admin.database.v1.ListBackupOperationsResponse listBackupOperations(com.google.spanner.admin.database.v1.ListBackupOperationsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListBackupOperationsMethod(), getCallOptions(), request); } /** - * - * *
      * Lists Cloud Spanner database roles.
      * 
*/ - public com.google.spanner.admin.database.v1.ListDatabaseRolesResponse listDatabaseRoles( - com.google.spanner.admin.database.v1.ListDatabaseRolesRequest request) { + public com.google.spanner.admin.database.v1.ListDatabaseRolesResponse listDatabaseRoles(com.google.spanner.admin.database.v1.ListDatabaseRolesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListDatabaseRolesMethod(), getCallOptions(), request); } @@ -2136,7 +1611,6 @@ public com.google.spanner.admin.database.v1.ListDatabaseRolesResponse listDataba /** * A stub to allow clients to do ListenableFuture-style rpc calls to service DatabaseAdmin. - * *
    * Cloud Spanner Database Admin API
    * The Cloud Spanner Database Admin API can be used to:
@@ -2148,7 +1622,8 @@ public com.google.spanner.admin.database.v1.ListDatabaseRolesResponse listDataba
    */
   public static final class DatabaseAdminFutureStub
       extends io.grpc.stub.AbstractFutureStub {
-    private DatabaseAdminFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    private DatabaseAdminFutureStub(
+        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       super(channel, callOptions);
     }
 
@@ -2159,22 +1634,17 @@ protected DatabaseAdminFutureStub build(
     }
 
     /**
-     *
-     *
      * 
      * Lists Cloud Spanner databases.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.spanner.admin.database.v1.ListDatabasesResponse> - listDatabases(com.google.spanner.admin.database.v1.ListDatabasesRequest request) { + public com.google.common.util.concurrent.ListenableFuture listDatabases( + com.google.spanner.admin.database.v1.ListDatabasesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListDatabasesMethod(), getCallOptions()), request); } /** - * - * *
      * Creates a new Cloud Spanner database and starts to prepare it for serving.
      * The returned [long-running operation][google.longrunning.Operation] will
@@ -2186,29 +1656,24 @@ protected DatabaseAdminFutureStub build(
      * [Database][google.spanner.admin.database.v1.Database], if successful.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - createDatabase(com.google.spanner.admin.database.v1.CreateDatabaseRequest request) { + public com.google.common.util.concurrent.ListenableFuture createDatabase( + com.google.spanner.admin.database.v1.CreateDatabaseRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateDatabaseMethod(), getCallOptions()), request); } /** - * - * *
      * Gets the state of a Cloud Spanner database.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.spanner.admin.database.v1.Database> - getDatabase(com.google.spanner.admin.database.v1.GetDatabaseRequest request) { + public com.google.common.util.concurrent.ListenableFuture getDatabase( + com.google.spanner.admin.database.v1.GetDatabaseRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetDatabaseMethod(), getCallOptions()), request); } /** - * - * *
      * Updates the schema of a Cloud Spanner database by
      * creating/altering/dropping tables, columns, indexes, etc. The returned
@@ -2219,15 +1684,13 @@ protected DatabaseAdminFutureStub build(
      * [UpdateDatabaseDdlMetadata][google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata].  The operation has no response.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - updateDatabaseDdl(com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest request) { + public com.google.common.util.concurrent.ListenableFuture updateDatabaseDdl( + com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateDatabaseDdlMethod(), getCallOptions()), request); } /** - * - * *
      * Drops (aka deletes) a Cloud Spanner database.
      * Completed backups for the database will be retained according to their
@@ -2236,31 +1699,26 @@ protected DatabaseAdminFutureStub build(
      * after the database has been deleted.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - dropDatabase(com.google.spanner.admin.database.v1.DropDatabaseRequest request) { + public com.google.common.util.concurrent.ListenableFuture dropDatabase( + com.google.spanner.admin.database.v1.DropDatabaseRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDropDatabaseMethod(), getCallOptions()), request); } /** - * - * *
      * Returns the schema of a Cloud Spanner database as a list of formatted
      * DDL statements. This method does not show pending schema updates, those may
      * be queried using the [Operations][google.longrunning.Operations] API.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.spanner.admin.database.v1.GetDatabaseDdlResponse> - getDatabaseDdl(com.google.spanner.admin.database.v1.GetDatabaseDdlRequest request) { + public com.google.common.util.concurrent.ListenableFuture getDatabaseDdl( + com.google.spanner.admin.database.v1.GetDatabaseDdlRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetDatabaseDdlMethod(), getCallOptions()), request); } /** - * - * *
      * Sets the access control policy on a database or backup resource.
      * Replaces any existing policy.
@@ -2270,15 +1728,13 @@ protected DatabaseAdminFutureStub build(
      * permission on [resource][google.iam.v1.SetIamPolicyRequest.resource].
      * 
*/ - 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); } /** - * - * *
      * Gets the access control policy for a database or backup resource.
      * Returns an empty policy if a database or backup exists but does not have a
@@ -2289,15 +1745,13 @@ protected DatabaseAdminFutureStub build(
      * permission on [resource][google.iam.v1.GetIamPolicyRequest.resource].
      * 
*/ - 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); } /** - * - * *
      * Returns permissions that the caller has on the specified database or backup
      * resource.
@@ -2310,16 +1764,13 @@ protected DatabaseAdminFutureStub build(
      * `spanner.backups.list` permission on the containing instance.
      * 
*/ - 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); } /** - * - * *
      * Starts creating a new Cloud Spanner Backup.
      * The returned backup [long-running operation][google.longrunning.Operation]
@@ -2335,15 +1786,13 @@ protected DatabaseAdminFutureStub build(
      * of different databases can run concurrently.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - createBackup(com.google.spanner.admin.database.v1.CreateBackupRequest request) { + public com.google.common.util.concurrent.ListenableFuture createBackup( + com.google.spanner.admin.database.v1.CreateBackupRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateBackupMethod(), getCallOptions()), request); } /** - * - * *
      * Starts copying a Cloud Spanner Backup.
      * The returned backup [long-running operation][google.longrunning.Operation]
@@ -2359,72 +1808,59 @@ protected DatabaseAdminFutureStub build(
      * Concurrent CopyBackup requests can run on the same source backup.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - copyBackup(com.google.spanner.admin.database.v1.CopyBackupRequest request) { + public com.google.common.util.concurrent.ListenableFuture copyBackup( + com.google.spanner.admin.database.v1.CopyBackupRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCopyBackupMethod(), getCallOptions()), request); } /** - * - * *
      * Gets metadata on a pending or completed [Backup][google.spanner.admin.database.v1.Backup].
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.spanner.admin.database.v1.Backup> - getBackup(com.google.spanner.admin.database.v1.GetBackupRequest request) { + public com.google.common.util.concurrent.ListenableFuture getBackup( + com.google.spanner.admin.database.v1.GetBackupRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetBackupMethod(), getCallOptions()), request); } /** - * - * *
      * Updates a pending or completed [Backup][google.spanner.admin.database.v1.Backup].
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.spanner.admin.database.v1.Backup> - updateBackup(com.google.spanner.admin.database.v1.UpdateBackupRequest request) { + public com.google.common.util.concurrent.ListenableFuture updateBackup( + com.google.spanner.admin.database.v1.UpdateBackupRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateBackupMethod(), getCallOptions()), request); } /** - * - * *
      * Deletes a pending or completed [Backup][google.spanner.admin.database.v1.Backup].
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - deleteBackup(com.google.spanner.admin.database.v1.DeleteBackupRequest request) { + public com.google.common.util.concurrent.ListenableFuture deleteBackup( + com.google.spanner.admin.database.v1.DeleteBackupRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteBackupMethod(), getCallOptions()), request); } /** - * - * *
      * Lists completed and pending backups.
      * Backups returned are ordered by `create_time` in descending order,
      * starting from the most recent `create_time`.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.spanner.admin.database.v1.ListBackupsResponse> - listBackups(com.google.spanner.admin.database.v1.ListBackupsRequest request) { + public com.google.common.util.concurrent.ListenableFuture listBackups( + com.google.spanner.admin.database.v1.ListBackupsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListBackupsMethod(), getCallOptions()), request); } /** - * - * *
      * Create a new database by restoring from a completed backup. The new
      * database must be in the same project and in an instance with the same
@@ -2445,15 +1881,13 @@ protected DatabaseAdminFutureStub build(
      * first restore to complete.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - restoreDatabase(com.google.spanner.admin.database.v1.RestoreDatabaseRequest request) { + public com.google.common.util.concurrent.ListenableFuture restoreDatabase( + com.google.spanner.admin.database.v1.RestoreDatabaseRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getRestoreDatabaseMethod(), getCallOptions()), request); } /** - * - * *
      * Lists database [longrunning-operations][google.longrunning.Operation].
      * A database operation has a name of the form
@@ -2465,17 +1899,13 @@ protected DatabaseAdminFutureStub build(
      * and pending operations.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse> - listDatabaseOperations( - com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest request) { + public com.google.common.util.concurrent.ListenableFuture listDatabaseOperations( + com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListDatabaseOperationsMethod(), getCallOptions()), request); } /** - * - * *
      * Lists the backup [long-running operations][google.longrunning.Operation] in
      * the given instance. A backup operation has a name of the form
@@ -2489,24 +1919,19 @@ protected DatabaseAdminFutureStub build(
      * from the most recently started operation.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.spanner.admin.database.v1.ListBackupOperationsResponse> - listBackupOperations( - com.google.spanner.admin.database.v1.ListBackupOperationsRequest request) { + public com.google.common.util.concurrent.ListenableFuture listBackupOperations( + com.google.spanner.admin.database.v1.ListBackupOperationsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListBackupOperationsMethod(), getCallOptions()), request); } /** - * - * *
      * Lists Cloud Spanner database roles.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.spanner.admin.database.v1.ListDatabaseRolesResponse> - listDatabaseRoles(com.google.spanner.admin.database.v1.ListDatabaseRolesRequest request) { + public com.google.common.util.concurrent.ListenableFuture listDatabaseRoles( + com.google.spanner.admin.database.v1.ListDatabaseRolesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListDatabaseRolesMethod(), getCallOptions()), request); } @@ -2532,11 +1957,11 @@ protected DatabaseAdminFutureStub build( private static final int METHODID_LIST_BACKUP_OPERATIONS = 17; private static final int METHODID_LIST_DATABASE_ROLES = 18; - 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; @@ -2550,115 +1975,80 @@ private static final class MethodHandlers public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_LIST_DATABASES: - serviceImpl.listDatabases( - (com.google.spanner.admin.database.v1.ListDatabasesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.spanner.admin.database.v1.ListDatabasesResponse>) - responseObserver); + serviceImpl.listDatabases((com.google.spanner.admin.database.v1.ListDatabasesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CREATE_DATABASE: - serviceImpl.createDatabase( - (com.google.spanner.admin.database.v1.CreateDatabaseRequest) request, + serviceImpl.createDatabase((com.google.spanner.admin.database.v1.CreateDatabaseRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_DATABASE: - serviceImpl.getDatabase( - (com.google.spanner.admin.database.v1.GetDatabaseRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.getDatabase((com.google.spanner.admin.database.v1.GetDatabaseRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UPDATE_DATABASE_DDL: - serviceImpl.updateDatabaseDdl( - (com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest) request, + serviceImpl.updateDatabaseDdl((com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DROP_DATABASE: - serviceImpl.dropDatabase( - (com.google.spanner.admin.database.v1.DropDatabaseRequest) request, + serviceImpl.dropDatabase((com.google.spanner.admin.database.v1.DropDatabaseRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_DATABASE_DDL: - serviceImpl.getDatabaseDdl( - (com.google.spanner.admin.database.v1.GetDatabaseDdlRequest) request, - (io.grpc.stub.StreamObserver< - com.google.spanner.admin.database.v1.GetDatabaseDdlResponse>) - responseObserver); + serviceImpl.getDatabaseDdl((com.google.spanner.admin.database.v1.GetDatabaseDdlRequest) 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_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_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; case METHODID_CREATE_BACKUP: - serviceImpl.createBackup( - (com.google.spanner.admin.database.v1.CreateBackupRequest) request, + serviceImpl.createBackup((com.google.spanner.admin.database.v1.CreateBackupRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_COPY_BACKUP: - serviceImpl.copyBackup( - (com.google.spanner.admin.database.v1.CopyBackupRequest) request, + serviceImpl.copyBackup((com.google.spanner.admin.database.v1.CopyBackupRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_BACKUP: - serviceImpl.getBackup( - (com.google.spanner.admin.database.v1.GetBackupRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.getBackup((com.google.spanner.admin.database.v1.GetBackupRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UPDATE_BACKUP: - serviceImpl.updateBackup( - (com.google.spanner.admin.database.v1.UpdateBackupRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.updateBackup((com.google.spanner.admin.database.v1.UpdateBackupRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE_BACKUP: - serviceImpl.deleteBackup( - (com.google.spanner.admin.database.v1.DeleteBackupRequest) request, + serviceImpl.deleteBackup((com.google.spanner.admin.database.v1.DeleteBackupRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_BACKUPS: - serviceImpl.listBackups( - (com.google.spanner.admin.database.v1.ListBackupsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.spanner.admin.database.v1.ListBackupsResponse>) - responseObserver); + serviceImpl.listBackups((com.google.spanner.admin.database.v1.ListBackupsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_RESTORE_DATABASE: - serviceImpl.restoreDatabase( - (com.google.spanner.admin.database.v1.RestoreDatabaseRequest) request, + serviceImpl.restoreDatabase((com.google.spanner.admin.database.v1.RestoreDatabaseRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_DATABASE_OPERATIONS: - serviceImpl.listDatabaseOperations( - (com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse>) - responseObserver); + serviceImpl.listDatabaseOperations((com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_BACKUP_OPERATIONS: - serviceImpl.listBackupOperations( - (com.google.spanner.admin.database.v1.ListBackupOperationsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.spanner.admin.database.v1.ListBackupOperationsResponse>) - responseObserver); + serviceImpl.listBackupOperations((com.google.spanner.admin.database.v1.ListBackupOperationsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_DATABASE_ROLES: - serviceImpl.listDatabaseRoles( - (com.google.spanner.admin.database.v1.ListDatabaseRolesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.spanner.admin.database.v1.ListDatabaseRolesResponse>) - responseObserver); + serviceImpl.listDatabaseRoles((com.google.spanner.admin.database.v1.ListDatabaseRolesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; default: throw new AssertionError(); @@ -2679,130 +2069,143 @@ public io.grpc.stub.StreamObserver invoke( public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getListDatabasesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.database.v1.ListDatabasesRequest, - com.google.spanner.admin.database.v1.ListDatabasesResponse>( - service, METHODID_LIST_DATABASES))) + getListDatabasesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.database.v1.ListDatabasesRequest, + com.google.spanner.admin.database.v1.ListDatabasesResponse>( + service, METHODID_LIST_DATABASES))) .addMethod( - getCreateDatabaseMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.database.v1.CreateDatabaseRequest, - com.google.longrunning.Operation>(service, METHODID_CREATE_DATABASE))) + getCreateDatabaseMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.database.v1.CreateDatabaseRequest, + com.google.longrunning.Operation>( + service, METHODID_CREATE_DATABASE))) .addMethod( - getGetDatabaseMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.database.v1.GetDatabaseRequest, - com.google.spanner.admin.database.v1.Database>(service, METHODID_GET_DATABASE))) + getGetDatabaseMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.database.v1.GetDatabaseRequest, + com.google.spanner.admin.database.v1.Database>( + service, METHODID_GET_DATABASE))) .addMethod( - getUpdateDatabaseDdlMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest, - com.google.longrunning.Operation>(service, METHODID_UPDATE_DATABASE_DDL))) + getUpdateDatabaseDdlMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest, + com.google.longrunning.Operation>( + service, METHODID_UPDATE_DATABASE_DDL))) .addMethod( - getDropDatabaseMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.database.v1.DropDatabaseRequest, - com.google.protobuf.Empty>(service, METHODID_DROP_DATABASE))) + getDropDatabaseMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.database.v1.DropDatabaseRequest, + com.google.protobuf.Empty>( + service, METHODID_DROP_DATABASE))) .addMethod( - getGetDatabaseDdlMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.database.v1.GetDatabaseDdlRequest, - com.google.spanner.admin.database.v1.GetDatabaseDdlResponse>( - service, METHODID_GET_DATABASE_DDL))) + getGetDatabaseDdlMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.database.v1.GetDatabaseDdlRequest, + com.google.spanner.admin.database.v1.GetDatabaseDdlResponse>( + service, METHODID_GET_DATABASE_DDL))) .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( - 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( - 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))) .addMethod( - getCreateBackupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.database.v1.CreateBackupRequest, - com.google.longrunning.Operation>(service, METHODID_CREATE_BACKUP))) + getCreateBackupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.database.v1.CreateBackupRequest, + com.google.longrunning.Operation>( + service, METHODID_CREATE_BACKUP))) .addMethod( - getCopyBackupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.database.v1.CopyBackupRequest, - com.google.longrunning.Operation>(service, METHODID_COPY_BACKUP))) + getCopyBackupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.database.v1.CopyBackupRequest, + com.google.longrunning.Operation>( + service, METHODID_COPY_BACKUP))) .addMethod( - getGetBackupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.database.v1.GetBackupRequest, - com.google.spanner.admin.database.v1.Backup>(service, METHODID_GET_BACKUP))) + getGetBackupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.database.v1.GetBackupRequest, + com.google.spanner.admin.database.v1.Backup>( + service, METHODID_GET_BACKUP))) .addMethod( - getUpdateBackupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.database.v1.UpdateBackupRequest, - com.google.spanner.admin.database.v1.Backup>(service, METHODID_UPDATE_BACKUP))) + getUpdateBackupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.database.v1.UpdateBackupRequest, + com.google.spanner.admin.database.v1.Backup>( + service, METHODID_UPDATE_BACKUP))) .addMethod( - getDeleteBackupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.database.v1.DeleteBackupRequest, - com.google.protobuf.Empty>(service, METHODID_DELETE_BACKUP))) + getDeleteBackupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.database.v1.DeleteBackupRequest, + com.google.protobuf.Empty>( + service, METHODID_DELETE_BACKUP))) .addMethod( - getListBackupsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.database.v1.ListBackupsRequest, - com.google.spanner.admin.database.v1.ListBackupsResponse>( - service, METHODID_LIST_BACKUPS))) + getListBackupsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.database.v1.ListBackupsRequest, + com.google.spanner.admin.database.v1.ListBackupsResponse>( + service, METHODID_LIST_BACKUPS))) .addMethod( - getRestoreDatabaseMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.database.v1.RestoreDatabaseRequest, - com.google.longrunning.Operation>(service, METHODID_RESTORE_DATABASE))) + getRestoreDatabaseMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.database.v1.RestoreDatabaseRequest, + com.google.longrunning.Operation>( + service, METHODID_RESTORE_DATABASE))) .addMethod( - getListDatabaseOperationsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest, - com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse>( - service, METHODID_LIST_DATABASE_OPERATIONS))) + getListDatabaseOperationsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest, + com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse>( + service, METHODID_LIST_DATABASE_OPERATIONS))) .addMethod( - getListBackupOperationsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.database.v1.ListBackupOperationsRequest, - com.google.spanner.admin.database.v1.ListBackupOperationsResponse>( - service, METHODID_LIST_BACKUP_OPERATIONS))) + getListBackupOperationsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.database.v1.ListBackupOperationsRequest, + com.google.spanner.admin.database.v1.ListBackupOperationsResponse>( + service, METHODID_LIST_BACKUP_OPERATIONS))) .addMethod( - getListDatabaseRolesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.database.v1.ListDatabaseRolesRequest, - com.google.spanner.admin.database.v1.ListDatabaseRolesResponse>( - service, METHODID_LIST_DATABASE_ROLES))) + getListDatabaseRolesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.database.v1.ListDatabaseRolesRequest, + com.google.spanner.admin.database.v1.ListDatabaseRolesResponse>( + service, METHODID_LIST_DATABASE_ROLES))) .build(); } - private abstract static class DatabaseAdminBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private static abstract class DatabaseAdminBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { DatabaseAdminBaseDescriptorSupplier() {} @java.lang.Override @@ -2844,30 +2247,28 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (DatabaseAdminGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new DatabaseAdminFileDescriptorSupplier()) - .addMethod(getListDatabasesMethod()) - .addMethod(getCreateDatabaseMethod()) - .addMethod(getGetDatabaseMethod()) - .addMethod(getUpdateDatabaseDdlMethod()) - .addMethod(getDropDatabaseMethod()) - .addMethod(getGetDatabaseDdlMethod()) - .addMethod(getSetIamPolicyMethod()) - .addMethod(getGetIamPolicyMethod()) - .addMethod(getTestIamPermissionsMethod()) - .addMethod(getCreateBackupMethod()) - .addMethod(getCopyBackupMethod()) - .addMethod(getGetBackupMethod()) - .addMethod(getUpdateBackupMethod()) - .addMethod(getDeleteBackupMethod()) - .addMethod(getListBackupsMethod()) - .addMethod(getRestoreDatabaseMethod()) - .addMethod(getListDatabaseOperationsMethod()) - .addMethod(getListBackupOperationsMethod()) - .addMethod(getListDatabaseRolesMethod()) - .build(); + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new DatabaseAdminFileDescriptorSupplier()) + .addMethod(getListDatabasesMethod()) + .addMethod(getCreateDatabaseMethod()) + .addMethod(getGetDatabaseMethod()) + .addMethod(getUpdateDatabaseDdlMethod()) + .addMethod(getDropDatabaseMethod()) + .addMethod(getGetDatabaseDdlMethod()) + .addMethod(getSetIamPolicyMethod()) + .addMethod(getGetIamPolicyMethod()) + .addMethod(getTestIamPermissionsMethod()) + .addMethod(getCreateBackupMethod()) + .addMethod(getCopyBackupMethod()) + .addMethod(getGetBackupMethod()) + .addMethod(getUpdateBackupMethod()) + .addMethod(getDeleteBackupMethod()) + .addMethod(getListBackupsMethod()) + .addMethod(getRestoreDatabaseMethod()) + .addMethod(getListDatabaseOperationsMethod()) + .addMethod(getListBackupOperationsMethod()) + .addMethod(getListDatabaseRolesMethod()) + .build(); } } } diff --git a/grpc-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceAdminGrpc.java b/owl-bot-staging/v1/grpc-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceAdminGrpc.java similarity index 63% rename from grpc-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceAdminGrpc.java rename to owl-bot-staging/v1/grpc-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceAdminGrpc.java index 9bf015fcaa8..07f30d07d27 100644 --- a/grpc-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceAdminGrpc.java +++ b/owl-bot-staging/v1/grpc-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceAdminGrpc.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.spanner.admin.instance.v1; import static io.grpc.MethodDescriptor.generateFullMethodName; /** - * - * *
  * Cloud Spanner Instance Admin API
  * The Cloud Spanner Instance Admin API can be used to create, delete,
@@ -52,691 +35,485 @@ private InstanceAdminGrpc() {}
   public static final String SERVICE_NAME = "google.spanner.admin.instance.v1.InstanceAdmin";
 
   // Static method descriptors that strictly reflect the proto.
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest,
-          com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse>
-      getListInstanceConfigsMethod;
+  private static volatile io.grpc.MethodDescriptor getListInstanceConfigsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListInstanceConfigs",
       requestType = com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest.class,
       responseType = com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest,
-          com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse>
-      getListInstanceConfigsMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest,
-            com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse>
-        getListInstanceConfigsMethod;
+  public static io.grpc.MethodDescriptor getListInstanceConfigsMethod() {
+    io.grpc.MethodDescriptor getListInstanceConfigsMethod;
     if ((getListInstanceConfigsMethod = InstanceAdminGrpc.getListInstanceConfigsMethod) == null) {
       synchronized (InstanceAdminGrpc.class) {
-        if ((getListInstanceConfigsMethod = InstanceAdminGrpc.getListInstanceConfigsMethod)
-            == null) {
-          InstanceAdminGrpc.getListInstanceConfigsMethod =
-              getListInstanceConfigsMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(
-                          generateFullMethodName(SERVICE_NAME, "ListInstanceConfigs"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new InstanceAdminMethodDescriptorSupplier("ListInstanceConfigs"))
-                      .build();
+        if ((getListInstanceConfigsMethod = InstanceAdminGrpc.getListInstanceConfigsMethod) == null) {
+          InstanceAdminGrpc.getListInstanceConfigsMethod = getListInstanceConfigsMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListInstanceConfigs"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new InstanceAdminMethodDescriptorSupplier("ListInstanceConfigs"))
+              .build();
         }
       }
     }
     return getListInstanceConfigsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.admin.instance.v1.GetInstanceConfigRequest,
-          com.google.spanner.admin.instance.v1.InstanceConfig>
-      getGetInstanceConfigMethod;
+  private static volatile io.grpc.MethodDescriptor getGetInstanceConfigMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetInstanceConfig",
       requestType = com.google.spanner.admin.instance.v1.GetInstanceConfigRequest.class,
       responseType = com.google.spanner.admin.instance.v1.InstanceConfig.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.admin.instance.v1.GetInstanceConfigRequest,
-          com.google.spanner.admin.instance.v1.InstanceConfig>
-      getGetInstanceConfigMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.admin.instance.v1.GetInstanceConfigRequest,
-            com.google.spanner.admin.instance.v1.InstanceConfig>
-        getGetInstanceConfigMethod;
+  public static io.grpc.MethodDescriptor getGetInstanceConfigMethod() {
+    io.grpc.MethodDescriptor getGetInstanceConfigMethod;
     if ((getGetInstanceConfigMethod = InstanceAdminGrpc.getGetInstanceConfigMethod) == null) {
       synchronized (InstanceAdminGrpc.class) {
         if ((getGetInstanceConfigMethod = InstanceAdminGrpc.getGetInstanceConfigMethod) == null) {
-          InstanceAdminGrpc.getGetInstanceConfigMethod =
-              getGetInstanceConfigMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetInstanceConfig"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.instance.v1.GetInstanceConfigRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.instance.v1.InstanceConfig
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new InstanceAdminMethodDescriptorSupplier("GetInstanceConfig"))
-                      .build();
+          InstanceAdminGrpc.getGetInstanceConfigMethod = getGetInstanceConfigMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetInstanceConfig"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.instance.v1.GetInstanceConfigRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance()))
+              .setSchemaDescriptor(new InstanceAdminMethodDescriptorSupplier("GetInstanceConfig"))
+              .build();
         }
       }
     }
     return getGetInstanceConfigMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest,
-          com.google.longrunning.Operation>
-      getCreateInstanceConfigMethod;
+  private static volatile io.grpc.MethodDescriptor getCreateInstanceConfigMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateInstanceConfig",
       requestType = com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest,
-          com.google.longrunning.Operation>
-      getCreateInstanceConfigMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest,
-            com.google.longrunning.Operation>
-        getCreateInstanceConfigMethod;
+  public static io.grpc.MethodDescriptor getCreateInstanceConfigMethod() {
+    io.grpc.MethodDescriptor getCreateInstanceConfigMethod;
     if ((getCreateInstanceConfigMethod = InstanceAdminGrpc.getCreateInstanceConfigMethod) == null) {
       synchronized (InstanceAdminGrpc.class) {
-        if ((getCreateInstanceConfigMethod = InstanceAdminGrpc.getCreateInstanceConfigMethod)
-            == null) {
-          InstanceAdminGrpc.getCreateInstanceConfigMethod =
-              getCreateInstanceConfigMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(
-                          generateFullMethodName(SERVICE_NAME, "CreateInstanceConfig"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.longrunning.Operation.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new InstanceAdminMethodDescriptorSupplier("CreateInstanceConfig"))
-                      .build();
+        if ((getCreateInstanceConfigMethod = InstanceAdminGrpc.getCreateInstanceConfigMethod) == null) {
+          InstanceAdminGrpc.getCreateInstanceConfigMethod = getCreateInstanceConfigMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateInstanceConfig"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.longrunning.Operation.getDefaultInstance()))
+              .setSchemaDescriptor(new InstanceAdminMethodDescriptorSupplier("CreateInstanceConfig"))
+              .build();
         }
       }
     }
     return getCreateInstanceConfigMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest,
-          com.google.longrunning.Operation>
-      getUpdateInstanceConfigMethod;
+  private static volatile io.grpc.MethodDescriptor getUpdateInstanceConfigMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UpdateInstanceConfig",
       requestType = com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest,
-          com.google.longrunning.Operation>
-      getUpdateInstanceConfigMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest,
-            com.google.longrunning.Operation>
-        getUpdateInstanceConfigMethod;
+  public static io.grpc.MethodDescriptor getUpdateInstanceConfigMethod() {
+    io.grpc.MethodDescriptor getUpdateInstanceConfigMethod;
     if ((getUpdateInstanceConfigMethod = InstanceAdminGrpc.getUpdateInstanceConfigMethod) == null) {
       synchronized (InstanceAdminGrpc.class) {
-        if ((getUpdateInstanceConfigMethod = InstanceAdminGrpc.getUpdateInstanceConfigMethod)
-            == null) {
-          InstanceAdminGrpc.getUpdateInstanceConfigMethod =
-              getUpdateInstanceConfigMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(
-                          generateFullMethodName(SERVICE_NAME, "UpdateInstanceConfig"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.longrunning.Operation.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new InstanceAdminMethodDescriptorSupplier("UpdateInstanceConfig"))
-                      .build();
+        if ((getUpdateInstanceConfigMethod = InstanceAdminGrpc.getUpdateInstanceConfigMethod) == null) {
+          InstanceAdminGrpc.getUpdateInstanceConfigMethod = getUpdateInstanceConfigMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateInstanceConfig"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.longrunning.Operation.getDefaultInstance()))
+              .setSchemaDescriptor(new InstanceAdminMethodDescriptorSupplier("UpdateInstanceConfig"))
+              .build();
         }
       }
     }
     return getUpdateInstanceConfigMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest,
-          com.google.protobuf.Empty>
-      getDeleteInstanceConfigMethod;
+  private static volatile io.grpc.MethodDescriptor getDeleteInstanceConfigMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteInstanceConfig",
       requestType = com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest,
-          com.google.protobuf.Empty>
-      getDeleteInstanceConfigMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest,
-            com.google.protobuf.Empty>
-        getDeleteInstanceConfigMethod;
+  public static io.grpc.MethodDescriptor getDeleteInstanceConfigMethod() {
+    io.grpc.MethodDescriptor getDeleteInstanceConfigMethod;
     if ((getDeleteInstanceConfigMethod = InstanceAdminGrpc.getDeleteInstanceConfigMethod) == null) {
       synchronized (InstanceAdminGrpc.class) {
-        if ((getDeleteInstanceConfigMethod = InstanceAdminGrpc.getDeleteInstanceConfigMethod)
-            == null) {
-          InstanceAdminGrpc.getDeleteInstanceConfigMethod =
-              getDeleteInstanceConfigMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(
-                          generateFullMethodName(SERVICE_NAME, "DeleteInstanceConfig"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.protobuf.Empty.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new InstanceAdminMethodDescriptorSupplier("DeleteInstanceConfig"))
-                      .build();
+        if ((getDeleteInstanceConfigMethod = InstanceAdminGrpc.getDeleteInstanceConfigMethod) == null) {
+          InstanceAdminGrpc.getDeleteInstanceConfigMethod = getDeleteInstanceConfigMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteInstanceConfig"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.protobuf.Empty.getDefaultInstance()))
+              .setSchemaDescriptor(new InstanceAdminMethodDescriptorSupplier("DeleteInstanceConfig"))
+              .build();
         }
       }
     }
     return getDeleteInstanceConfigMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest,
-          com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse>
-      getListInstanceConfigOperationsMethod;
+  private static volatile io.grpc.MethodDescriptor getListInstanceConfigOperationsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListInstanceConfigOperations",
       requestType = com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest.class,
-      responseType =
-          com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.class,
+      responseType = com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest,
-          com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse>
-      getListInstanceConfigOperationsMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest,
-            com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse>
-        getListInstanceConfigOperationsMethod;
-    if ((getListInstanceConfigOperationsMethod =
-            InstanceAdminGrpc.getListInstanceConfigOperationsMethod)
-        == null) {
+  public static io.grpc.MethodDescriptor getListInstanceConfigOperationsMethod() {
+    io.grpc.MethodDescriptor getListInstanceConfigOperationsMethod;
+    if ((getListInstanceConfigOperationsMethod = InstanceAdminGrpc.getListInstanceConfigOperationsMethod) == null) {
       synchronized (InstanceAdminGrpc.class) {
-        if ((getListInstanceConfigOperationsMethod =
-                InstanceAdminGrpc.getListInstanceConfigOperationsMethod)
-            == null) {
-          InstanceAdminGrpc.getListInstanceConfigOperationsMethod =
-              getListInstanceConfigOperationsMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(
-                          generateFullMethodName(SERVICE_NAME, "ListInstanceConfigOperations"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.instance.v1
-                                  .ListInstanceConfigOperationsRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.instance.v1
-                                  .ListInstanceConfigOperationsResponse.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new InstanceAdminMethodDescriptorSupplier("ListInstanceConfigOperations"))
-                      .build();
+        if ((getListInstanceConfigOperationsMethod = InstanceAdminGrpc.getListInstanceConfigOperationsMethod) == null) {
+          InstanceAdminGrpc.getListInstanceConfigOperationsMethod = getListInstanceConfigOperationsMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListInstanceConfigOperations"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new InstanceAdminMethodDescriptorSupplier("ListInstanceConfigOperations"))
+              .build();
         }
       }
     }
     return getListInstanceConfigOperationsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.admin.instance.v1.ListInstancesRequest,
-          com.google.spanner.admin.instance.v1.ListInstancesResponse>
-      getListInstancesMethod;
+  private static volatile io.grpc.MethodDescriptor getListInstancesMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListInstances",
       requestType = com.google.spanner.admin.instance.v1.ListInstancesRequest.class,
       responseType = com.google.spanner.admin.instance.v1.ListInstancesResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.admin.instance.v1.ListInstancesRequest,
-          com.google.spanner.admin.instance.v1.ListInstancesResponse>
-      getListInstancesMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.admin.instance.v1.ListInstancesRequest,
-            com.google.spanner.admin.instance.v1.ListInstancesResponse>
-        getListInstancesMethod;
+  public static io.grpc.MethodDescriptor getListInstancesMethod() {
+    io.grpc.MethodDescriptor getListInstancesMethod;
     if ((getListInstancesMethod = InstanceAdminGrpc.getListInstancesMethod) == null) {
       synchronized (InstanceAdminGrpc.class) {
         if ((getListInstancesMethod = InstanceAdminGrpc.getListInstancesMethod) == null) {
-          InstanceAdminGrpc.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.spanner.admin.instance.v1.ListInstancesRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.instance.v1.ListInstancesResponse
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new InstanceAdminMethodDescriptorSupplier("ListInstances"))
-                      .build();
+          InstanceAdminGrpc.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.spanner.admin.instance.v1.ListInstancesRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.instance.v1.ListInstancesResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new InstanceAdminMethodDescriptorSupplier("ListInstances"))
+              .build();
         }
       }
     }
     return getListInstancesMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.admin.instance.v1.GetInstanceRequest,
-          com.google.spanner.admin.instance.v1.Instance>
-      getGetInstanceMethod;
+  private static volatile io.grpc.MethodDescriptor getGetInstanceMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetInstance",
       requestType = com.google.spanner.admin.instance.v1.GetInstanceRequest.class,
       responseType = com.google.spanner.admin.instance.v1.Instance.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.admin.instance.v1.GetInstanceRequest,
-          com.google.spanner.admin.instance.v1.Instance>
-      getGetInstanceMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.admin.instance.v1.GetInstanceRequest,
-            com.google.spanner.admin.instance.v1.Instance>
-        getGetInstanceMethod;
+  public static io.grpc.MethodDescriptor getGetInstanceMethod() {
+    io.grpc.MethodDescriptor getGetInstanceMethod;
     if ((getGetInstanceMethod = InstanceAdminGrpc.getGetInstanceMethod) == null) {
       synchronized (InstanceAdminGrpc.class) {
         if ((getGetInstanceMethod = InstanceAdminGrpc.getGetInstanceMethod) == null) {
-          InstanceAdminGrpc.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.spanner.admin.instance.v1.GetInstanceRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.admin.instance.v1.Instance.getDefaultInstance()))
-                      .setSchemaDescriptor(new InstanceAdminMethodDescriptorSupplier("GetInstance"))
-                      .build();
+          InstanceAdminGrpc.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.spanner.admin.instance.v1.GetInstanceRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.admin.instance.v1.Instance.getDefaultInstance()))
+              .setSchemaDescriptor(new InstanceAdminMethodDescriptorSupplier("GetInstance"))
+              .build();
         }
       }
     }
     return getGetInstanceMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.admin.instance.v1.CreateInstanceRequest,
-          com.google.longrunning.Operation>
-      getCreateInstanceMethod;
+  private static volatile io.grpc.MethodDescriptor getCreateInstanceMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateInstance",
       requestType = com.google.spanner.admin.instance.v1.CreateInstanceRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.admin.instance.v1.CreateInstanceRequest,
-          com.google.longrunning.Operation>
-      getCreateInstanceMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.admin.instance.v1.CreateInstanceRequest,
-            com.google.longrunning.Operation>
-        getCreateInstanceMethod;
+  public static io.grpc.MethodDescriptor getCreateInstanceMethod() {
+    io.grpc.MethodDescriptor getCreateInstanceMethod;
     if ((getCreateInstanceMethod = InstanceAdminGrpc.getCreateInstanceMethod) == null) {
       synchronized (InstanceAdminGrpc.class) {
         if ((getCreateInstanceMethod = InstanceAdminGrpc.getCreateInstanceMethod) == null) {
-          InstanceAdminGrpc.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.spanner.admin.instance.v1.CreateInstanceRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.longrunning.Operation.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new InstanceAdminMethodDescriptorSupplier("CreateInstance"))
-                      .build();
+          InstanceAdminGrpc.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.spanner.admin.instance.v1.CreateInstanceRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.longrunning.Operation.getDefaultInstance()))
+              .setSchemaDescriptor(new InstanceAdminMethodDescriptorSupplier("CreateInstance"))
+              .build();
         }
       }
     }
     return getCreateInstanceMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.admin.instance.v1.UpdateInstanceRequest,
-          com.google.longrunning.Operation>
-      getUpdateInstanceMethod;
+  private static volatile io.grpc.MethodDescriptor getUpdateInstanceMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UpdateInstance",
       requestType = com.google.spanner.admin.instance.v1.UpdateInstanceRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.admin.instance.v1.UpdateInstanceRequest,
-          com.google.longrunning.Operation>
-      getUpdateInstanceMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.admin.instance.v1.UpdateInstanceRequest,
-            com.google.longrunning.Operation>
-        getUpdateInstanceMethod;
+  public static io.grpc.MethodDescriptor getUpdateInstanceMethod() {
+    io.grpc.MethodDescriptor getUpdateInstanceMethod;
     if ((getUpdateInstanceMethod = InstanceAdminGrpc.getUpdateInstanceMethod) == null) {
       synchronized (InstanceAdminGrpc.class) {
         if ((getUpdateInstanceMethod = InstanceAdminGrpc.getUpdateInstanceMethod) == null) {
-          InstanceAdminGrpc.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.spanner.admin.instance.v1.UpdateInstanceRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.longrunning.Operation.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new InstanceAdminMethodDescriptorSupplier("UpdateInstance"))
-                      .build();
+          InstanceAdminGrpc.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.spanner.admin.instance.v1.UpdateInstanceRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.longrunning.Operation.getDefaultInstance()))
+              .setSchemaDescriptor(new InstanceAdminMethodDescriptorSupplier("UpdateInstance"))
+              .build();
         }
       }
     }
     return getUpdateInstanceMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.admin.instance.v1.DeleteInstanceRequest, com.google.protobuf.Empty>
-      getDeleteInstanceMethod;
+  private static volatile io.grpc.MethodDescriptor getDeleteInstanceMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteInstance",
       requestType = com.google.spanner.admin.instance.v1.DeleteInstanceRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.admin.instance.v1.DeleteInstanceRequest, com.google.protobuf.Empty>
-      getDeleteInstanceMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.admin.instance.v1.DeleteInstanceRequest, com.google.protobuf.Empty>
-        getDeleteInstanceMethod;
+  public static io.grpc.MethodDescriptor getDeleteInstanceMethod() {
+    io.grpc.MethodDescriptor getDeleteInstanceMethod;
     if ((getDeleteInstanceMethod = InstanceAdminGrpc.getDeleteInstanceMethod) == null) {
       synchronized (InstanceAdminGrpc.class) {
         if ((getDeleteInstanceMethod = InstanceAdminGrpc.getDeleteInstanceMethod) == null) {
-          InstanceAdminGrpc.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.spanner.admin.instance.v1.DeleteInstanceRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.protobuf.Empty.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new InstanceAdminMethodDescriptorSupplier("DeleteInstance"))
-                      .build();
+          InstanceAdminGrpc.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.spanner.admin.instance.v1.DeleteInstanceRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.protobuf.Empty.getDefaultInstance()))
+              .setSchemaDescriptor(new InstanceAdminMethodDescriptorSupplier("DeleteInstance"))
+              .build();
         }
       }
     }
     return getDeleteInstanceMethod;
   }
 
-  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 = InstanceAdminGrpc.getSetIamPolicyMethod) == null) {
       synchronized (InstanceAdminGrpc.class) {
         if ((getSetIamPolicyMethod = InstanceAdminGrpc.getSetIamPolicyMethod) == null) {
-          InstanceAdminGrpc.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 InstanceAdminMethodDescriptorSupplier("SetIamPolicy"))
-                      .build();
+          InstanceAdminGrpc.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 InstanceAdminMethodDescriptorSupplier("SetIamPolicy"))
+              .build();
         }
       }
     }
     return getSetIamPolicyMethod;
   }
 
-  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 = InstanceAdminGrpc.getGetIamPolicyMethod) == null) {
       synchronized (InstanceAdminGrpc.class) {
         if ((getGetIamPolicyMethod = InstanceAdminGrpc.getGetIamPolicyMethod) == null) {
-          InstanceAdminGrpc.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 InstanceAdminMethodDescriptorSupplier("GetIamPolicy"))
-                      .build();
+          InstanceAdminGrpc.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 InstanceAdminMethodDescriptorSupplier("GetIamPolicy"))
+              .build();
         }
       }
     }
     return getGetIamPolicyMethod;
   }
 
-  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;
+  public static io.grpc.MethodDescriptor getTestIamPermissionsMethod() {
+    io.grpc.MethodDescriptor getTestIamPermissionsMethod;
     if ((getTestIamPermissionsMethod = InstanceAdminGrpc.getTestIamPermissionsMethod) == null) {
       synchronized (InstanceAdminGrpc.class) {
         if ((getTestIamPermissionsMethod = InstanceAdminGrpc.getTestIamPermissionsMethod) == null) {
-          InstanceAdminGrpc.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 InstanceAdminMethodDescriptorSupplier("TestIamPermissions"))
-                      .build();
+          InstanceAdminGrpc.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 InstanceAdminMethodDescriptorSupplier("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 InstanceAdminStub newStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public InstanceAdminStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new InstanceAdminStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public InstanceAdminStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new InstanceAdminStub(channel, callOptions);
+        }
+      };
     return InstanceAdminStub.newStub(factory, channel);
   }
 
   /**
    * Creates a new blocking-style stub that supports unary and streaming output calls on the service
    */
-  public static InstanceAdminBlockingStub newBlockingStub(io.grpc.Channel channel) {
+  public static InstanceAdminBlockingStub newBlockingStub(
+      io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public InstanceAdminBlockingStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new InstanceAdminBlockingStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public InstanceAdminBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new InstanceAdminBlockingStub(channel, callOptions);
+        }
+      };
     return InstanceAdminBlockingStub.newStub(factory, channel);
   }
 
-  /** Creates a new ListenableFuture-style stub that supports unary calls on the service */
-  public static InstanceAdminFutureStub newFutureStub(io.grpc.Channel channel) {
+  /**
+   * Creates a new ListenableFuture-style stub that supports unary calls on the service
+   */
+  public static InstanceAdminFutureStub newFutureStub(
+      io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public InstanceAdminFutureStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new InstanceAdminFutureStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public InstanceAdminFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new InstanceAdminFutureStub(channel, callOptions);
+        }
+      };
     return InstanceAdminFutureStub.newStub(factory, channel);
   }
 
   /**
-   *
-   *
    * 
    * Cloud Spanner Instance Admin API
    * The Cloud Spanner Instance Admin API can be used to create, delete,
@@ -761,39 +538,26 @@ public InstanceAdminFutureStub newStub(
   public interface AsyncService {
 
     /**
-     *
-     *
      * 
      * Lists the supported instance configurations for a given project.
      * 
*/ - default void listInstanceConfigs( - com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest request, - io.grpc.stub.StreamObserver< - com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListInstanceConfigsMethod(), responseObserver); + default void listInstanceConfigs(com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListInstanceConfigsMethod(), responseObserver); } /** - * - * *
      * Gets information about a particular instance configuration.
      * 
*/ - default void getInstanceConfig( - com.google.spanner.admin.instance.v1.GetInstanceConfigRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetInstanceConfigMethod(), responseObserver); + default void getInstanceConfig(com.google.spanner.admin.instance.v1.GetInstanceConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetInstanceConfigMethod(), responseObserver); } /** - * - * *
      * Creates an instance config and begins preparing it to be used. The
      * returned [long-running operation][google.longrunning.Operation]
@@ -830,16 +594,12 @@ default void getInstanceConfig(
      * [parent][google.spanner.admin.instance.v1.CreateInstanceConfigRequest.parent].
      * 
*/ - default void createInstanceConfig( - com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest request, + default void createInstanceConfig(com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateInstanceConfigMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateInstanceConfigMethod(), responseObserver); } /** - * - * *
      * Updates an instance config. The returned
      * [long-running operation][google.longrunning.Operation] can be used to track
@@ -878,16 +638,12 @@ default void createInstanceConfig(
      * the resource [name][google.spanner.admin.instance.v1.InstanceConfig.name].
      * 
*/ - default void updateInstanceConfig( - com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest request, + default void updateInstanceConfig(com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateInstanceConfigMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateInstanceConfigMethod(), responseObserver); } /** - * - * *
      * Deletes the instance config. Deletion is only allowed when no
      * instances are using the configuration. If any instances are using
@@ -897,16 +653,12 @@ default void updateInstanceConfig(
      * the resource [name][google.spanner.admin.instance.v1.InstanceConfig.name].
      * 
*/ - default void deleteInstanceConfig( - com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest request, + default void deleteInstanceConfig(com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteInstanceConfigMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteInstanceConfigMethod(), responseObserver); } /** - * - * *
      * Lists the user-managed instance config [long-running
      * operations][google.longrunning.Operation] in the given project. An instance
@@ -921,48 +673,32 @@ default void deleteInstanceConfig(
      * from the most recently started operation.
      * 
*/ - default void listInstanceConfigOperations( - com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest request, - io.grpc.stub.StreamObserver< - com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListInstanceConfigOperationsMethod(), responseObserver); + default void listInstanceConfigOperations(com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListInstanceConfigOperationsMethod(), responseObserver); } /** - * - * *
      * Lists all instances in the given project.
      * 
*/ - default void listInstances( - com.google.spanner.admin.instance.v1.ListInstancesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListInstancesMethod(), responseObserver); + default void listInstances(com.google.spanner.admin.instance.v1.ListInstancesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListInstancesMethod(), responseObserver); } /** - * - * *
      * Gets information about a particular instance.
      * 
*/ - default void getInstance( - com.google.spanner.admin.instance.v1.GetInstanceRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetInstanceMethod(), responseObserver); + default void getInstance(com.google.spanner.admin.instance.v1.GetInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetInstanceMethod(), responseObserver); } /** - * - * *
      * Creates an instance and begins preparing it to begin serving. The
      * returned [long-running operation][google.longrunning.Operation]
@@ -993,16 +729,12 @@ default void getInstance(
      * [Instance][google.spanner.admin.instance.v1.Instance], if successful.
      * 
*/ - default void createInstance( - com.google.spanner.admin.instance.v1.CreateInstanceRequest request, + default void createInstance(com.google.spanner.admin.instance.v1.CreateInstanceRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateInstanceMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateInstanceMethod(), responseObserver); } /** - * - * *
      * Updates an instance, and begins allocating or releasing resources
      * as requested. The returned [long-running
@@ -1038,16 +770,12 @@ default void createInstance(
      * the resource [name][google.spanner.admin.instance.v1.Instance.name].
      * 
*/ - default void updateInstance( - com.google.spanner.admin.instance.v1.UpdateInstanceRequest request, + default void updateInstance(com.google.spanner.admin.instance.v1.UpdateInstanceRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateInstanceMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateInstanceMethod(), responseObserver); } /** - * - * *
      * Deletes an instance.
      * Immediately upon completion of the request:
@@ -1058,16 +786,12 @@ default void updateInstance(
      *     is permanently deleted.
      * 
*/ - default void deleteInstance( - com.google.spanner.admin.instance.v1.DeleteInstanceRequest request, + default void deleteInstance(com.google.spanner.admin.instance.v1.DeleteInstanceRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteInstanceMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteInstanceMethod(), responseObserver); } /** - * - * *
      * Sets the access control policy on an instance resource. Replaces any
      * existing policy.
@@ -1075,16 +799,12 @@ default void deleteInstance(
      * [resource][google.iam.v1.SetIamPolicyRequest.resource].
      * 
*/ - 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); } /** - * - * *
      * Gets the access control policy for an instance resource. Returns an empty
      * policy if an instance exists but does not have a policy set.
@@ -1092,16 +812,12 @@ default void setIamPolicy(
      * [resource][google.iam.v1.GetIamPolicyRequest.resource].
      * 
*/ - 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); } /** - * - * *
      * Returns permissions that the caller has on the specified instance resource.
      * Attempting this RPC on a non-existent Cloud Spanner instance resource will
@@ -1110,18 +826,14 @@ default void getIamPolicy(
      * empty set of permissions.
      * 
*/ - 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 InstanceAdmin. - * *
    * Cloud Spanner Instance Admin API
    * The Cloud Spanner Instance Admin API can be used to create, delete,
@@ -1143,18 +855,16 @@ default void testIamPermissions(
    * databases in that instance, and their performance may suffer.
    * 
*/ - public abstract static class InstanceAdminImplBase + public static abstract class InstanceAdminImplBase implements io.grpc.BindableService, AsyncService { - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return InstanceAdminGrpc.bindService(this); } } /** * A stub to allow clients to do asynchronous rpc calls to service InstanceAdmin. - * *
    * Cloud Spanner Instance Admin API
    * The Cloud Spanner Instance Admin API can be used to create, delete,
@@ -1178,53 +888,40 @@ public final io.grpc.ServerServiceDefinition bindService() {
    */
   public static final class InstanceAdminStub
       extends io.grpc.stub.AbstractAsyncStub {
-    private InstanceAdminStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    private InstanceAdminStub(
+        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       super(channel, callOptions);
     }
 
     @java.lang.Override
-    protected InstanceAdminStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    protected InstanceAdminStub build(
+        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       return new InstanceAdminStub(channel, callOptions);
     }
 
     /**
-     *
-     *
      * 
      * Lists the supported instance configurations for a given project.
      * 
*/ - public void listInstanceConfigs( - com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest request, - io.grpc.stub.StreamObserver< - com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse> - responseObserver) { + public void listInstanceConfigs(com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListInstanceConfigsMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getListInstanceConfigsMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Gets information about a particular instance configuration.
      * 
*/ - public void getInstanceConfig( - com.google.spanner.admin.instance.v1.GetInstanceConfigRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void getInstanceConfig(com.google.spanner.admin.instance.v1.GetInstanceConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetInstanceConfigMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getGetInstanceConfigMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Creates an instance config and begins preparing it to be used. The
      * returned [long-running operation][google.longrunning.Operation]
@@ -1261,18 +958,13 @@ public void getInstanceConfig(
      * [parent][google.spanner.admin.instance.v1.CreateInstanceConfigRequest.parent].
      * 
*/ - public void createInstanceConfig( - com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest request, + public void createInstanceConfig(com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateInstanceConfigMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getCreateInstanceConfigMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Updates an instance config. The returned
      * [long-running operation][google.longrunning.Operation] can be used to track
@@ -1311,18 +1003,13 @@ public void createInstanceConfig(
      * the resource [name][google.spanner.admin.instance.v1.InstanceConfig.name].
      * 
*/ - public void updateInstanceConfig( - com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest request, + public void updateInstanceConfig(com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateInstanceConfigMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getUpdateInstanceConfigMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Deletes the instance config. Deletion is only allowed when no
      * instances are using the configuration. If any instances are using
@@ -1332,18 +1019,13 @@ public void updateInstanceConfig(
      * the resource [name][google.spanner.admin.instance.v1.InstanceConfig.name].
      * 
*/ - public void deleteInstanceConfig( - com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest request, + public void deleteInstanceConfig(com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteInstanceConfigMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getDeleteInstanceConfigMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Lists the user-managed instance config [long-running
      * operations][google.longrunning.Operation] in the given project. An instance
@@ -1358,54 +1040,35 @@ public void deleteInstanceConfig(
      * from the most recently started operation.
      * 
*/ - public void listInstanceConfigOperations( - com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest request, - io.grpc.stub.StreamObserver< - com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse> - responseObserver) { + public void listInstanceConfigOperations(com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListInstanceConfigOperationsMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getListInstanceConfigOperationsMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Lists all instances in the given project.
      * 
*/ - public void listInstances( - com.google.spanner.admin.instance.v1.ListInstancesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listInstances(com.google.spanner.admin.instance.v1.ListInstancesRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListInstancesMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getListInstancesMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Gets information about a particular instance.
      * 
*/ - public void getInstance( - com.google.spanner.admin.instance.v1.GetInstanceRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void getInstance(com.google.spanner.admin.instance.v1.GetInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetInstanceMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getGetInstanceMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Creates an instance and begins preparing it to begin serving. The
      * returned [long-running operation][google.longrunning.Operation]
@@ -1436,18 +1099,13 @@ public void getInstance(
      * [Instance][google.spanner.admin.instance.v1.Instance], if successful.
      * 
*/ - public void createInstance( - com.google.spanner.admin.instance.v1.CreateInstanceRequest request, + public void createInstance(com.google.spanner.admin.instance.v1.CreateInstanceRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateInstanceMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getCreateInstanceMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Updates an instance, and begins allocating or releasing resources
      * as requested. The returned [long-running
@@ -1483,18 +1141,13 @@ public void createInstance(
      * the resource [name][google.spanner.admin.instance.v1.Instance.name].
      * 
*/ - public void updateInstance( - com.google.spanner.admin.instance.v1.UpdateInstanceRequest request, + public void updateInstance(com.google.spanner.admin.instance.v1.UpdateInstanceRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateInstanceMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getUpdateInstanceMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Deletes an instance.
      * Immediately upon completion of the request:
@@ -1505,18 +1158,13 @@ public void updateInstance(
      *     is permanently deleted.
      * 
*/ - public void deleteInstance( - com.google.spanner.admin.instance.v1.DeleteInstanceRequest request, + public void deleteInstance(com.google.spanner.admin.instance.v1.DeleteInstanceRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteInstanceMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getDeleteInstanceMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Sets the access control policy on an instance resource. Replaces any
      * existing policy.
@@ -1524,18 +1172,13 @@ public void deleteInstance(
      * [resource][google.iam.v1.SetIamPolicyRequest.resource].
      * 
*/ - 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); } /** - * - * *
      * Gets the access control policy for an instance resource. Returns an empty
      * policy if an instance exists but does not have a policy set.
@@ -1543,18 +1186,13 @@ public void setIamPolicy(
      * [resource][google.iam.v1.GetIamPolicyRequest.resource].
      * 
*/ - 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); } /** - * - * *
      * Returns permissions that the caller has on the specified instance resource.
      * Attempting this RPC on a non-existent Cloud Spanner instance resource will
@@ -1563,20 +1201,15 @@ public void getIamPolicy(
      * empty set of permissions.
      * 
*/ - 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 InstanceAdmin. - * *
    * Cloud Spanner Instance Admin API
    * The Cloud Spanner Instance Admin API can be used to create, delete,
@@ -1600,7 +1233,8 @@ public void testIamPermissions(
    */
   public static final class InstanceAdminBlockingStub
       extends io.grpc.stub.AbstractBlockingStub {
-    private InstanceAdminBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    private InstanceAdminBlockingStub(
+        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       super(channel, callOptions);
     }
 
@@ -1611,34 +1245,26 @@ protected InstanceAdminBlockingStub build(
     }
 
     /**
-     *
-     *
      * 
      * Lists the supported instance configurations for a given project.
      * 
*/ - public com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse listInstanceConfigs( - com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest request) { + public com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse listInstanceConfigs(com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListInstanceConfigsMethod(), getCallOptions(), request); } /** - * - * *
      * Gets information about a particular instance configuration.
      * 
*/ - public com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfig( - com.google.spanner.admin.instance.v1.GetInstanceConfigRequest request) { + public com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfig(com.google.spanner.admin.instance.v1.GetInstanceConfigRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetInstanceConfigMethod(), getCallOptions(), request); } /** - * - * *
      * Creates an instance config and begins preparing it to be used. The
      * returned [long-running operation][google.longrunning.Operation]
@@ -1675,15 +1301,12 @@ public com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfig(
      * [parent][google.spanner.admin.instance.v1.CreateInstanceConfigRequest.parent].
      * 
*/ - public com.google.longrunning.Operation createInstanceConfig( - com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest request) { + public com.google.longrunning.Operation createInstanceConfig(com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateInstanceConfigMethod(), getCallOptions(), request); } /** - * - * *
      * Updates an instance config. The returned
      * [long-running operation][google.longrunning.Operation] can be used to track
@@ -1722,15 +1345,12 @@ public com.google.longrunning.Operation createInstanceConfig(
      * the resource [name][google.spanner.admin.instance.v1.InstanceConfig.name].
      * 
*/ - public com.google.longrunning.Operation updateInstanceConfig( - com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest request) { + public com.google.longrunning.Operation updateInstanceConfig(com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateInstanceConfigMethod(), getCallOptions(), request); } /** - * - * *
      * Deletes the instance config. Deletion is only allowed when no
      * instances are using the configuration. If any instances are using
@@ -1740,15 +1360,12 @@ public com.google.longrunning.Operation updateInstanceConfig(
      * the resource [name][google.spanner.admin.instance.v1.InstanceConfig.name].
      * 
*/ - public com.google.protobuf.Empty deleteInstanceConfig( - com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest request) { + public com.google.protobuf.Empty deleteInstanceConfig(com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteInstanceConfigMethod(), getCallOptions(), request); } /** - * - * *
      * Lists the user-managed instance config [long-running
      * operations][google.longrunning.Operation] in the given project. An instance
@@ -1763,42 +1380,32 @@ public com.google.protobuf.Empty deleteInstanceConfig(
      * from the most recently started operation.
      * 
*/ - public com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse - listInstanceConfigOperations( - com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest request) { + public com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse listInstanceConfigOperations(com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListInstanceConfigOperationsMethod(), getCallOptions(), request); } /** - * - * *
      * Lists all instances in the given project.
      * 
*/ - public com.google.spanner.admin.instance.v1.ListInstancesResponse listInstances( - com.google.spanner.admin.instance.v1.ListInstancesRequest request) { + public com.google.spanner.admin.instance.v1.ListInstancesResponse listInstances(com.google.spanner.admin.instance.v1.ListInstancesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListInstancesMethod(), getCallOptions(), request); } /** - * - * *
      * Gets information about a particular instance.
      * 
*/ - public com.google.spanner.admin.instance.v1.Instance getInstance( - com.google.spanner.admin.instance.v1.GetInstanceRequest request) { + public com.google.spanner.admin.instance.v1.Instance getInstance(com.google.spanner.admin.instance.v1.GetInstanceRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetInstanceMethod(), getCallOptions(), request); } /** - * - * *
      * Creates an instance and begins preparing it to begin serving. The
      * returned [long-running operation][google.longrunning.Operation]
@@ -1829,15 +1436,12 @@ public com.google.spanner.admin.instance.v1.Instance getInstance(
      * [Instance][google.spanner.admin.instance.v1.Instance], if successful.
      * 
*/ - public com.google.longrunning.Operation createInstance( - com.google.spanner.admin.instance.v1.CreateInstanceRequest request) { + public com.google.longrunning.Operation createInstance(com.google.spanner.admin.instance.v1.CreateInstanceRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateInstanceMethod(), getCallOptions(), request); } /** - * - * *
      * Updates an instance, and begins allocating or releasing resources
      * as requested. The returned [long-running
@@ -1873,15 +1477,12 @@ public com.google.longrunning.Operation createInstance(
      * the resource [name][google.spanner.admin.instance.v1.Instance.name].
      * 
*/ - public com.google.longrunning.Operation updateInstance( - com.google.spanner.admin.instance.v1.UpdateInstanceRequest request) { + public com.google.longrunning.Operation updateInstance(com.google.spanner.admin.instance.v1.UpdateInstanceRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateInstanceMethod(), getCallOptions(), request); } /** - * - * *
      * Deletes an instance.
      * Immediately upon completion of the request:
@@ -1892,15 +1493,12 @@ public com.google.longrunning.Operation updateInstance(
      *     is permanently deleted.
      * 
*/ - public com.google.protobuf.Empty deleteInstance( - com.google.spanner.admin.instance.v1.DeleteInstanceRequest request) { + public com.google.protobuf.Empty deleteInstance(com.google.spanner.admin.instance.v1.DeleteInstanceRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteInstanceMethod(), getCallOptions(), request); } /** - * - * *
      * Sets the access control policy on an instance resource. Replaces any
      * existing policy.
@@ -1914,8 +1512,6 @@ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyReque
     }
 
     /**
-     *
-     *
      * 
      * Gets the access control policy for an instance resource. Returns an empty
      * policy if an instance exists but does not have a policy set.
@@ -1929,8 +1525,6 @@ public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyReque
     }
 
     /**
-     *
-     *
      * 
      * Returns permissions that the caller has on the specified instance resource.
      * Attempting this RPC on a non-existent Cloud Spanner instance resource will
@@ -1939,8 +1533,7 @@ public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyReque
      * empty set of permissions.
      * 
*/ - 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); } @@ -1948,7 +1541,6 @@ public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( /** * A stub to allow clients to do ListenableFuture-style rpc calls to service InstanceAdmin. - * *
    * Cloud Spanner Instance Admin API
    * The Cloud Spanner Instance Admin API can be used to create, delete,
@@ -1972,7 +1564,8 @@ public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(
    */
   public static final class InstanceAdminFutureStub
       extends io.grpc.stub.AbstractFutureStub {
-    private InstanceAdminFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    private InstanceAdminFutureStub(
+        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       super(channel, callOptions);
     }
 
@@ -1983,37 +1576,28 @@ protected InstanceAdminFutureStub build(
     }
 
     /**
-     *
-     *
      * 
      * Lists the supported instance configurations for a given project.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse> - listInstanceConfigs( - com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest request) { + public com.google.common.util.concurrent.ListenableFuture listInstanceConfigs( + com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListInstanceConfigsMethod(), getCallOptions()), request); } /** - * - * *
      * Gets information about a particular instance configuration.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.spanner.admin.instance.v1.InstanceConfig> - getInstanceConfig(com.google.spanner.admin.instance.v1.GetInstanceConfigRequest request) { + public com.google.common.util.concurrent.ListenableFuture getInstanceConfig( + com.google.spanner.admin.instance.v1.GetInstanceConfigRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetInstanceConfigMethod(), getCallOptions()), request); } /** - * - * *
      * Creates an instance config and begins preparing it to be used. The
      * returned [long-running operation][google.longrunning.Operation]
@@ -2050,16 +1634,13 @@ protected InstanceAdminFutureStub build(
      * [parent][google.spanner.admin.instance.v1.CreateInstanceConfigRequest.parent].
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - createInstanceConfig( - com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest request) { + public com.google.common.util.concurrent.ListenableFuture createInstanceConfig( + com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateInstanceConfigMethod(), getCallOptions()), request); } /** - * - * *
      * Updates an instance config. The returned
      * [long-running operation][google.longrunning.Operation] can be used to track
@@ -2098,16 +1679,13 @@ protected InstanceAdminFutureStub build(
      * the resource [name][google.spanner.admin.instance.v1.InstanceConfig.name].
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - updateInstanceConfig( - com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest request) { + public com.google.common.util.concurrent.ListenableFuture updateInstanceConfig( + com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateInstanceConfigMethod(), getCallOptions()), request); } /** - * - * *
      * Deletes the instance config. Deletion is only allowed when no
      * instances are using the configuration. If any instances are using
@@ -2117,16 +1695,13 @@ protected InstanceAdminFutureStub build(
      * the resource [name][google.spanner.admin.instance.v1.InstanceConfig.name].
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - deleteInstanceConfig( - com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest request) { + public com.google.common.util.concurrent.ListenableFuture deleteInstanceConfig( + com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteInstanceConfigMethod(), getCallOptions()), request); } /** - * - * *
      * Lists the user-managed instance config [long-running
      * operations][google.longrunning.Operation] in the given project. An instance
@@ -2141,45 +1716,35 @@ protected InstanceAdminFutureStub build(
      * from the most recently started operation.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse> - listInstanceConfigOperations( - com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest request) { + public com.google.common.util.concurrent.ListenableFuture listInstanceConfigOperations( + com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListInstanceConfigOperationsMethod(), getCallOptions()), request); } /** - * - * *
      * Lists all instances in the given project.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.spanner.admin.instance.v1.ListInstancesResponse> - listInstances(com.google.spanner.admin.instance.v1.ListInstancesRequest request) { + public com.google.common.util.concurrent.ListenableFuture listInstances( + com.google.spanner.admin.instance.v1.ListInstancesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListInstancesMethod(), getCallOptions()), request); } /** - * - * *
      * Gets information about a particular instance.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.spanner.admin.instance.v1.Instance> - getInstance(com.google.spanner.admin.instance.v1.GetInstanceRequest request) { + public com.google.common.util.concurrent.ListenableFuture getInstance( + com.google.spanner.admin.instance.v1.GetInstanceRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetInstanceMethod(), getCallOptions()), request); } /** - * - * *
      * Creates an instance and begins preparing it to begin serving. The
      * returned [long-running operation][google.longrunning.Operation]
@@ -2210,15 +1775,13 @@ protected InstanceAdminFutureStub build(
      * [Instance][google.spanner.admin.instance.v1.Instance], if successful.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - createInstance(com.google.spanner.admin.instance.v1.CreateInstanceRequest request) { + public com.google.common.util.concurrent.ListenableFuture createInstance( + com.google.spanner.admin.instance.v1.CreateInstanceRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateInstanceMethod(), getCallOptions()), request); } /** - * - * *
      * Updates an instance, and begins allocating or releasing resources
      * as requested. The returned [long-running
@@ -2254,15 +1817,13 @@ protected InstanceAdminFutureStub build(
      * the resource [name][google.spanner.admin.instance.v1.Instance.name].
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - updateInstance(com.google.spanner.admin.instance.v1.UpdateInstanceRequest request) { + public com.google.common.util.concurrent.ListenableFuture updateInstance( + com.google.spanner.admin.instance.v1.UpdateInstanceRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateInstanceMethod(), getCallOptions()), request); } /** - * - * *
      * Deletes an instance.
      * Immediately upon completion of the request:
@@ -2273,15 +1834,13 @@ protected InstanceAdminFutureStub build(
      *     is permanently deleted.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - deleteInstance(com.google.spanner.admin.instance.v1.DeleteInstanceRequest request) { + public com.google.common.util.concurrent.ListenableFuture deleteInstance( + com.google.spanner.admin.instance.v1.DeleteInstanceRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteInstanceMethod(), getCallOptions()), request); } /** - * - * *
      * Sets the access control policy on an instance resource. Replaces any
      * existing policy.
@@ -2289,15 +1848,13 @@ protected InstanceAdminFutureStub build(
      * [resource][google.iam.v1.SetIamPolicyRequest.resource].
      * 
*/ - 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); } /** - * - * *
      * Gets the access control policy for an instance resource. Returns an empty
      * policy if an instance exists but does not have a policy set.
@@ -2305,15 +1862,13 @@ protected InstanceAdminFutureStub build(
      * [resource][google.iam.v1.GetIamPolicyRequest.resource].
      * 
*/ - 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); } /** - * - * *
      * Returns permissions that the caller has on the specified instance resource.
      * Attempting this RPC on a non-existent Cloud Spanner instance resource will
@@ -2322,9 +1877,8 @@ protected InstanceAdminFutureStub build(
      * empty set of permissions.
      * 
*/ - 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); } @@ -2345,11 +1899,11 @@ protected InstanceAdminFutureStub build( private static final int METHODID_GET_IAM_POLICY = 12; private static final int METHODID_TEST_IAM_PERMISSIONS = 13; - 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; @@ -2363,83 +1917,60 @@ private static final class MethodHandlers public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_LIST_INSTANCE_CONFIGS: - serviceImpl.listInstanceConfigs( - (com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse>) - responseObserver); + serviceImpl.listInstanceConfigs((com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_INSTANCE_CONFIG: - serviceImpl.getInstanceConfig( - (com.google.spanner.admin.instance.v1.GetInstanceConfigRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.getInstanceConfig((com.google.spanner.admin.instance.v1.GetInstanceConfigRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CREATE_INSTANCE_CONFIG: - serviceImpl.createInstanceConfig( - (com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest) request, + serviceImpl.createInstanceConfig((com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UPDATE_INSTANCE_CONFIG: - serviceImpl.updateInstanceConfig( - (com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest) request, + serviceImpl.updateInstanceConfig((com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE_INSTANCE_CONFIG: - serviceImpl.deleteInstanceConfig( - (com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest) request, + serviceImpl.deleteInstanceConfig((com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_INSTANCE_CONFIG_OPERATIONS: - serviceImpl.listInstanceConfigOperations( - (com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse>) - responseObserver); + serviceImpl.listInstanceConfigOperations((com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_INSTANCES: - serviceImpl.listInstances( - (com.google.spanner.admin.instance.v1.ListInstancesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.spanner.admin.instance.v1.ListInstancesResponse>) - responseObserver); + serviceImpl.listInstances((com.google.spanner.admin.instance.v1.ListInstancesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_INSTANCE: - serviceImpl.getInstance( - (com.google.spanner.admin.instance.v1.GetInstanceRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.getInstance((com.google.spanner.admin.instance.v1.GetInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CREATE_INSTANCE: - serviceImpl.createInstance( - (com.google.spanner.admin.instance.v1.CreateInstanceRequest) request, + serviceImpl.createInstance((com.google.spanner.admin.instance.v1.CreateInstanceRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UPDATE_INSTANCE: - serviceImpl.updateInstance( - (com.google.spanner.admin.instance.v1.UpdateInstanceRequest) request, + serviceImpl.updateInstance((com.google.spanner.admin.instance.v1.UpdateInstanceRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE_INSTANCE: - serviceImpl.deleteInstance( - (com.google.spanner.admin.instance.v1.DeleteInstanceRequest) request, + serviceImpl.deleteInstance((com.google.spanner.admin.instance.v1.DeleteInstanceRequest) 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_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_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(); @@ -2460,98 +1991,108 @@ public io.grpc.stub.StreamObserver invoke( public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getListInstanceConfigsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest, - com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse>( - service, METHODID_LIST_INSTANCE_CONFIGS))) + getListInstanceConfigsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest, + com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse>( + service, METHODID_LIST_INSTANCE_CONFIGS))) .addMethod( - getGetInstanceConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.instance.v1.GetInstanceConfigRequest, - com.google.spanner.admin.instance.v1.InstanceConfig>( - service, METHODID_GET_INSTANCE_CONFIG))) + getGetInstanceConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.instance.v1.GetInstanceConfigRequest, + com.google.spanner.admin.instance.v1.InstanceConfig>( + service, METHODID_GET_INSTANCE_CONFIG))) .addMethod( - getCreateInstanceConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest, - com.google.longrunning.Operation>(service, METHODID_CREATE_INSTANCE_CONFIG))) + getCreateInstanceConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest, + com.google.longrunning.Operation>( + service, METHODID_CREATE_INSTANCE_CONFIG))) .addMethod( - getUpdateInstanceConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest, - com.google.longrunning.Operation>(service, METHODID_UPDATE_INSTANCE_CONFIG))) + getUpdateInstanceConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest, + com.google.longrunning.Operation>( + service, METHODID_UPDATE_INSTANCE_CONFIG))) .addMethod( - getDeleteInstanceConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest, - com.google.protobuf.Empty>(service, METHODID_DELETE_INSTANCE_CONFIG))) + getDeleteInstanceConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest, + com.google.protobuf.Empty>( + service, METHODID_DELETE_INSTANCE_CONFIG))) .addMethod( - getListInstanceConfigOperationsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest, - com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse>( - service, METHODID_LIST_INSTANCE_CONFIG_OPERATIONS))) + getListInstanceConfigOperationsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest, + com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse>( + service, METHODID_LIST_INSTANCE_CONFIG_OPERATIONS))) .addMethod( - getListInstancesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.instance.v1.ListInstancesRequest, - com.google.spanner.admin.instance.v1.ListInstancesResponse>( - service, METHODID_LIST_INSTANCES))) + getListInstancesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.instance.v1.ListInstancesRequest, + com.google.spanner.admin.instance.v1.ListInstancesResponse>( + service, METHODID_LIST_INSTANCES))) .addMethod( - getGetInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.instance.v1.GetInstanceRequest, - com.google.spanner.admin.instance.v1.Instance>(service, METHODID_GET_INSTANCE))) + getGetInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.instance.v1.GetInstanceRequest, + com.google.spanner.admin.instance.v1.Instance>( + service, METHODID_GET_INSTANCE))) .addMethod( - getCreateInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.instance.v1.CreateInstanceRequest, - com.google.longrunning.Operation>(service, METHODID_CREATE_INSTANCE))) + getCreateInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.instance.v1.CreateInstanceRequest, + com.google.longrunning.Operation>( + service, METHODID_CREATE_INSTANCE))) .addMethod( - getUpdateInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.instance.v1.UpdateInstanceRequest, - com.google.longrunning.Operation>(service, METHODID_UPDATE_INSTANCE))) + getUpdateInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.instance.v1.UpdateInstanceRequest, + com.google.longrunning.Operation>( + service, METHODID_UPDATE_INSTANCE))) .addMethod( - getDeleteInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.instance.v1.DeleteInstanceRequest, - com.google.protobuf.Empty>(service, METHODID_DELETE_INSTANCE))) + getDeleteInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.instance.v1.DeleteInstanceRequest, + com.google.protobuf.Empty>( + service, METHODID_DELETE_INSTANCE))) .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( - 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( - 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 InstanceAdminBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private static abstract class InstanceAdminBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { InstanceAdminBaseDescriptorSupplier() {} @java.lang.Override @@ -2593,25 +2134,23 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (InstanceAdminGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new InstanceAdminFileDescriptorSupplier()) - .addMethod(getListInstanceConfigsMethod()) - .addMethod(getGetInstanceConfigMethod()) - .addMethod(getCreateInstanceConfigMethod()) - .addMethod(getUpdateInstanceConfigMethod()) - .addMethod(getDeleteInstanceConfigMethod()) - .addMethod(getListInstanceConfigOperationsMethod()) - .addMethod(getListInstancesMethod()) - .addMethod(getGetInstanceMethod()) - .addMethod(getCreateInstanceMethod()) - .addMethod(getUpdateInstanceMethod()) - .addMethod(getDeleteInstanceMethod()) - .addMethod(getSetIamPolicyMethod()) - .addMethod(getGetIamPolicyMethod()) - .addMethod(getTestIamPermissionsMethod()) - .build(); + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new InstanceAdminFileDescriptorSupplier()) + .addMethod(getListInstanceConfigsMethod()) + .addMethod(getGetInstanceConfigMethod()) + .addMethod(getCreateInstanceConfigMethod()) + .addMethod(getUpdateInstanceConfigMethod()) + .addMethod(getDeleteInstanceConfigMethod()) + .addMethod(getListInstanceConfigOperationsMethod()) + .addMethod(getListInstancesMethod()) + .addMethod(getGetInstanceMethod()) + .addMethod(getCreateInstanceMethod()) + .addMethod(getUpdateInstanceMethod()) + .addMethod(getDeleteInstanceMethod()) + .addMethod(getSetIamPolicyMethod()) + .addMethod(getGetIamPolicyMethod()) + .addMethod(getTestIamPermissionsMethod()) + .build(); } } } diff --git a/grpc-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SpannerGrpc.java b/owl-bot-staging/v1/grpc-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SpannerGrpc.java similarity index 59% rename from grpc-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SpannerGrpc.java rename to owl-bot-staging/v1/grpc-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SpannerGrpc.java index 59ab44cc122..4310bc687c6 100644 --- a/grpc-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SpannerGrpc.java +++ b/owl-bot-staging/v1/grpc-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SpannerGrpc.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.spanner.v1; import static io.grpc.MethodDescriptor.generateFullMethodName; /** - * - * *
  * Cloud Spanner API
  * The Cloud Spanner API can be used to manage sessions and execute
@@ -37,664 +20,516 @@ private SpannerGrpc() {}
   public static final String SERVICE_NAME = "google.spanner.v1.Spanner";
 
   // Static method descriptors that strictly reflect the proto.
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.v1.CreateSessionRequest, com.google.spanner.v1.Session>
-      getCreateSessionMethod;
+  private static volatile io.grpc.MethodDescriptor getCreateSessionMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateSession",
       requestType = com.google.spanner.v1.CreateSessionRequest.class,
       responseType = com.google.spanner.v1.Session.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.v1.CreateSessionRequest, com.google.spanner.v1.Session>
-      getCreateSessionMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.v1.CreateSessionRequest, com.google.spanner.v1.Session>
-        getCreateSessionMethod;
+  public static io.grpc.MethodDescriptor getCreateSessionMethod() {
+    io.grpc.MethodDescriptor getCreateSessionMethod;
     if ((getCreateSessionMethod = SpannerGrpc.getCreateSessionMethod) == null) {
       synchronized (SpannerGrpc.class) {
         if ((getCreateSessionMethod = SpannerGrpc.getCreateSessionMethod) == null) {
-          SpannerGrpc.getCreateSessionMethod =
-              getCreateSessionMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateSession"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.v1.CreateSessionRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.v1.Session.getDefaultInstance()))
-                      .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("CreateSession"))
-                      .build();
+          SpannerGrpc.getCreateSessionMethod = getCreateSessionMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateSession"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.v1.CreateSessionRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.v1.Session.getDefaultInstance()))
+              .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("CreateSession"))
+              .build();
         }
       }
     }
     return getCreateSessionMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.v1.BatchCreateSessionsRequest,
-          com.google.spanner.v1.BatchCreateSessionsResponse>
-      getBatchCreateSessionsMethod;
+  private static volatile io.grpc.MethodDescriptor getBatchCreateSessionsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "BatchCreateSessions",
       requestType = com.google.spanner.v1.BatchCreateSessionsRequest.class,
       responseType = com.google.spanner.v1.BatchCreateSessionsResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.v1.BatchCreateSessionsRequest,
-          com.google.spanner.v1.BatchCreateSessionsResponse>
-      getBatchCreateSessionsMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.v1.BatchCreateSessionsRequest,
-            com.google.spanner.v1.BatchCreateSessionsResponse>
-        getBatchCreateSessionsMethod;
+  public static io.grpc.MethodDescriptor getBatchCreateSessionsMethod() {
+    io.grpc.MethodDescriptor getBatchCreateSessionsMethod;
     if ((getBatchCreateSessionsMethod = SpannerGrpc.getBatchCreateSessionsMethod) == null) {
       synchronized (SpannerGrpc.class) {
         if ((getBatchCreateSessionsMethod = SpannerGrpc.getBatchCreateSessionsMethod) == null) {
-          SpannerGrpc.getBatchCreateSessionsMethod =
-              getBatchCreateSessionsMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(
-                          generateFullMethodName(SERVICE_NAME, "BatchCreateSessions"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.v1.BatchCreateSessionsRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.v1.BatchCreateSessionsResponse
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new SpannerMethodDescriptorSupplier("BatchCreateSessions"))
-                      .build();
+          SpannerGrpc.getBatchCreateSessionsMethod = getBatchCreateSessionsMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchCreateSessions"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.v1.BatchCreateSessionsRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.v1.BatchCreateSessionsResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("BatchCreateSessions"))
+              .build();
         }
       }
     }
     return getBatchCreateSessionsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.v1.GetSessionRequest, com.google.spanner.v1.Session>
-      getGetSessionMethod;
+  private static volatile io.grpc.MethodDescriptor getGetSessionMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetSession",
       requestType = com.google.spanner.v1.GetSessionRequest.class,
       responseType = com.google.spanner.v1.Session.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.v1.GetSessionRequest, com.google.spanner.v1.Session>
-      getGetSessionMethod() {
-    io.grpc.MethodDescriptor
-        getGetSessionMethod;
+  public static io.grpc.MethodDescriptor getGetSessionMethod() {
+    io.grpc.MethodDescriptor getGetSessionMethod;
     if ((getGetSessionMethod = SpannerGrpc.getGetSessionMethod) == null) {
       synchronized (SpannerGrpc.class) {
         if ((getGetSessionMethod = SpannerGrpc.getGetSessionMethod) == null) {
-          SpannerGrpc.getGetSessionMethod =
-              getGetSessionMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetSession"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.v1.GetSessionRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.v1.Session.getDefaultInstance()))
-                      .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("GetSession"))
-                      .build();
+          SpannerGrpc.getGetSessionMethod = getGetSessionMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetSession"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.v1.GetSessionRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.v1.Session.getDefaultInstance()))
+              .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("GetSession"))
+              .build();
         }
       }
     }
     return getGetSessionMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.v1.ListSessionsRequest, com.google.spanner.v1.ListSessionsResponse>
-      getListSessionsMethod;
+  private static volatile io.grpc.MethodDescriptor getListSessionsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListSessions",
       requestType = com.google.spanner.v1.ListSessionsRequest.class,
       responseType = com.google.spanner.v1.ListSessionsResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.v1.ListSessionsRequest, com.google.spanner.v1.ListSessionsResponse>
-      getListSessionsMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.v1.ListSessionsRequest, com.google.spanner.v1.ListSessionsResponse>
-        getListSessionsMethod;
+  public static io.grpc.MethodDescriptor getListSessionsMethod() {
+    io.grpc.MethodDescriptor getListSessionsMethod;
     if ((getListSessionsMethod = SpannerGrpc.getListSessionsMethod) == null) {
       synchronized (SpannerGrpc.class) {
         if ((getListSessionsMethod = SpannerGrpc.getListSessionsMethod) == null) {
-          SpannerGrpc.getListSessionsMethod =
-              getListSessionsMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListSessions"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.v1.ListSessionsRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.v1.ListSessionsResponse.getDefaultInstance()))
-                      .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("ListSessions"))
-                      .build();
+          SpannerGrpc.getListSessionsMethod = getListSessionsMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListSessions"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.v1.ListSessionsRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.v1.ListSessionsResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("ListSessions"))
+              .build();
         }
       }
     }
     return getListSessionsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.v1.DeleteSessionRequest, com.google.protobuf.Empty>
-      getDeleteSessionMethod;
+  private static volatile io.grpc.MethodDescriptor getDeleteSessionMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteSession",
       requestType = com.google.spanner.v1.DeleteSessionRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.v1.DeleteSessionRequest, com.google.protobuf.Empty>
-      getDeleteSessionMethod() {
-    io.grpc.MethodDescriptor
-        getDeleteSessionMethod;
+  public static io.grpc.MethodDescriptor getDeleteSessionMethod() {
+    io.grpc.MethodDescriptor getDeleteSessionMethod;
     if ((getDeleteSessionMethod = SpannerGrpc.getDeleteSessionMethod) == null) {
       synchronized (SpannerGrpc.class) {
         if ((getDeleteSessionMethod = SpannerGrpc.getDeleteSessionMethod) == null) {
-          SpannerGrpc.getDeleteSessionMethod =
-              getDeleteSessionMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteSession"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.v1.DeleteSessionRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.protobuf.Empty.getDefaultInstance()))
-                      .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("DeleteSession"))
-                      .build();
+          SpannerGrpc.getDeleteSessionMethod = getDeleteSessionMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteSession"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.v1.DeleteSessionRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.protobuf.Empty.getDefaultInstance()))
+              .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("DeleteSession"))
+              .build();
         }
       }
     }
     return getDeleteSessionMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.v1.ExecuteSqlRequest, com.google.spanner.v1.ResultSet>
-      getExecuteSqlMethod;
+  private static volatile io.grpc.MethodDescriptor getExecuteSqlMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ExecuteSql",
       requestType = com.google.spanner.v1.ExecuteSqlRequest.class,
       responseType = com.google.spanner.v1.ResultSet.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.v1.ExecuteSqlRequest, com.google.spanner.v1.ResultSet>
-      getExecuteSqlMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.v1.ExecuteSqlRequest, com.google.spanner.v1.ResultSet>
-        getExecuteSqlMethod;
+  public static io.grpc.MethodDescriptor getExecuteSqlMethod() {
+    io.grpc.MethodDescriptor getExecuteSqlMethod;
     if ((getExecuteSqlMethod = SpannerGrpc.getExecuteSqlMethod) == null) {
       synchronized (SpannerGrpc.class) {
         if ((getExecuteSqlMethod = SpannerGrpc.getExecuteSqlMethod) == null) {
-          SpannerGrpc.getExecuteSqlMethod =
-              getExecuteSqlMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExecuteSql"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.v1.ExecuteSqlRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.v1.ResultSet.getDefaultInstance()))
-                      .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("ExecuteSql"))
-                      .build();
+          SpannerGrpc.getExecuteSqlMethod = getExecuteSqlMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExecuteSql"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.v1.ExecuteSqlRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.v1.ResultSet.getDefaultInstance()))
+              .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("ExecuteSql"))
+              .build();
         }
       }
     }
     return getExecuteSqlMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.v1.ExecuteSqlRequest, com.google.spanner.v1.PartialResultSet>
-      getExecuteStreamingSqlMethod;
+  private static volatile io.grpc.MethodDescriptor getExecuteStreamingSqlMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ExecuteStreamingSql",
       requestType = com.google.spanner.v1.ExecuteSqlRequest.class,
       responseType = com.google.spanner.v1.PartialResultSet.class,
       methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.v1.ExecuteSqlRequest, com.google.spanner.v1.PartialResultSet>
-      getExecuteStreamingSqlMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.v1.ExecuteSqlRequest, com.google.spanner.v1.PartialResultSet>
-        getExecuteStreamingSqlMethod;
+  public static io.grpc.MethodDescriptor getExecuteStreamingSqlMethod() {
+    io.grpc.MethodDescriptor getExecuteStreamingSqlMethod;
     if ((getExecuteStreamingSqlMethod = SpannerGrpc.getExecuteStreamingSqlMethod) == null) {
       synchronized (SpannerGrpc.class) {
         if ((getExecuteStreamingSqlMethod = SpannerGrpc.getExecuteStreamingSqlMethod) == null) {
-          SpannerGrpc.getExecuteStreamingSqlMethod =
-              getExecuteStreamingSqlMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
-                      .setFullMethodName(
-                          generateFullMethodName(SERVICE_NAME, "ExecuteStreamingSql"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.v1.ExecuteSqlRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.v1.PartialResultSet.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new SpannerMethodDescriptorSupplier("ExecuteStreamingSql"))
-                      .build();
+          SpannerGrpc.getExecuteStreamingSqlMethod = getExecuteStreamingSqlMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExecuteStreamingSql"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.v1.ExecuteSqlRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.v1.PartialResultSet.getDefaultInstance()))
+              .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("ExecuteStreamingSql"))
+              .build();
         }
       }
     }
     return getExecuteStreamingSqlMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.v1.ExecuteBatchDmlRequest,
-          com.google.spanner.v1.ExecuteBatchDmlResponse>
-      getExecuteBatchDmlMethod;
+  private static volatile io.grpc.MethodDescriptor getExecuteBatchDmlMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ExecuteBatchDml",
       requestType = com.google.spanner.v1.ExecuteBatchDmlRequest.class,
       responseType = com.google.spanner.v1.ExecuteBatchDmlResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.v1.ExecuteBatchDmlRequest,
-          com.google.spanner.v1.ExecuteBatchDmlResponse>
-      getExecuteBatchDmlMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.v1.ExecuteBatchDmlRequest,
-            com.google.spanner.v1.ExecuteBatchDmlResponse>
-        getExecuteBatchDmlMethod;
+  public static io.grpc.MethodDescriptor getExecuteBatchDmlMethod() {
+    io.grpc.MethodDescriptor getExecuteBatchDmlMethod;
     if ((getExecuteBatchDmlMethod = SpannerGrpc.getExecuteBatchDmlMethod) == null) {
       synchronized (SpannerGrpc.class) {
         if ((getExecuteBatchDmlMethod = SpannerGrpc.getExecuteBatchDmlMethod) == null) {
-          SpannerGrpc.getExecuteBatchDmlMethod =
-              getExecuteBatchDmlMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExecuteBatchDml"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.v1.ExecuteBatchDmlRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.v1.ExecuteBatchDmlResponse.getDefaultInstance()))
-                      .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("ExecuteBatchDml"))
-                      .build();
+          SpannerGrpc.getExecuteBatchDmlMethod = getExecuteBatchDmlMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExecuteBatchDml"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.v1.ExecuteBatchDmlRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.v1.ExecuteBatchDmlResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("ExecuteBatchDml"))
+              .build();
         }
       }
     }
     return getExecuteBatchDmlMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.v1.ReadRequest, com.google.spanner.v1.ResultSet>
-      getReadMethod;
+  private static volatile io.grpc.MethodDescriptor getReadMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "Read",
       requestType = com.google.spanner.v1.ReadRequest.class,
       responseType = com.google.spanner.v1.ResultSet.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.v1.ReadRequest, com.google.spanner.v1.ResultSet>
-      getReadMethod() {
-    io.grpc.MethodDescriptor
-        getReadMethod;
+  public static io.grpc.MethodDescriptor getReadMethod() {
+    io.grpc.MethodDescriptor getReadMethod;
     if ((getReadMethod = SpannerGrpc.getReadMethod) == null) {
       synchronized (SpannerGrpc.class) {
         if ((getReadMethod = SpannerGrpc.getReadMethod) == null) {
-          SpannerGrpc.getReadMethod =
-              getReadMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Read"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.v1.ReadRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.v1.ResultSet.getDefaultInstance()))
-                      .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("Read"))
-                      .build();
+          SpannerGrpc.getReadMethod = getReadMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Read"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.v1.ReadRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.v1.ResultSet.getDefaultInstance()))
+              .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("Read"))
+              .build();
         }
       }
     }
     return getReadMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.v1.ReadRequest, com.google.spanner.v1.PartialResultSet>
-      getStreamingReadMethod;
+  private static volatile io.grpc.MethodDescriptor getStreamingReadMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "StreamingRead",
       requestType = com.google.spanner.v1.ReadRequest.class,
       responseType = com.google.spanner.v1.PartialResultSet.class,
       methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.v1.ReadRequest, com.google.spanner.v1.PartialResultSet>
-      getStreamingReadMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.v1.ReadRequest, com.google.spanner.v1.PartialResultSet>
-        getStreamingReadMethod;
+  public static io.grpc.MethodDescriptor getStreamingReadMethod() {
+    io.grpc.MethodDescriptor getStreamingReadMethod;
     if ((getStreamingReadMethod = SpannerGrpc.getStreamingReadMethod) == null) {
       synchronized (SpannerGrpc.class) {
         if ((getStreamingReadMethod = SpannerGrpc.getStreamingReadMethod) == null) {
-          SpannerGrpc.getStreamingReadMethod =
-              getStreamingReadMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StreamingRead"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.v1.ReadRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.v1.PartialResultSet.getDefaultInstance()))
-                      .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("StreamingRead"))
-                      .build();
+          SpannerGrpc.getStreamingReadMethod = getStreamingReadMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StreamingRead"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.v1.ReadRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.v1.PartialResultSet.getDefaultInstance()))
+              .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("StreamingRead"))
+              .build();
         }
       }
     }
     return getStreamingReadMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.v1.BeginTransactionRequest, com.google.spanner.v1.Transaction>
-      getBeginTransactionMethod;
+  private static volatile io.grpc.MethodDescriptor getBeginTransactionMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "BeginTransaction",
       requestType = com.google.spanner.v1.BeginTransactionRequest.class,
       responseType = com.google.spanner.v1.Transaction.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.v1.BeginTransactionRequest, com.google.spanner.v1.Transaction>
-      getBeginTransactionMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.v1.BeginTransactionRequest, com.google.spanner.v1.Transaction>
-        getBeginTransactionMethod;
+  public static io.grpc.MethodDescriptor getBeginTransactionMethod() {
+    io.grpc.MethodDescriptor getBeginTransactionMethod;
     if ((getBeginTransactionMethod = SpannerGrpc.getBeginTransactionMethod) == null) {
       synchronized (SpannerGrpc.class) {
         if ((getBeginTransactionMethod = SpannerGrpc.getBeginTransactionMethod) == null) {
-          SpannerGrpc.getBeginTransactionMethod =
-              getBeginTransactionMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BeginTransaction"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.v1.BeginTransactionRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.v1.Transaction.getDefaultInstance()))
-                      .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("BeginTransaction"))
-                      .build();
+          SpannerGrpc.getBeginTransactionMethod = getBeginTransactionMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BeginTransaction"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.v1.BeginTransactionRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.v1.Transaction.getDefaultInstance()))
+              .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("BeginTransaction"))
+              .build();
         }
       }
     }
     return getBeginTransactionMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.v1.CommitRequest, com.google.spanner.v1.CommitResponse>
-      getCommitMethod;
+  private static volatile io.grpc.MethodDescriptor getCommitMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "Commit",
       requestType = com.google.spanner.v1.CommitRequest.class,
       responseType = com.google.spanner.v1.CommitResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.v1.CommitRequest, com.google.spanner.v1.CommitResponse>
-      getCommitMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.v1.CommitRequest, com.google.spanner.v1.CommitResponse>
-        getCommitMethod;
+  public static io.grpc.MethodDescriptor getCommitMethod() {
+    io.grpc.MethodDescriptor getCommitMethod;
     if ((getCommitMethod = SpannerGrpc.getCommitMethod) == null) {
       synchronized (SpannerGrpc.class) {
         if ((getCommitMethod = SpannerGrpc.getCommitMethod) == null) {
-          SpannerGrpc.getCommitMethod =
-              getCommitMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Commit"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.v1.CommitRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.v1.CommitResponse.getDefaultInstance()))
-                      .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("Commit"))
-                      .build();
+          SpannerGrpc.getCommitMethod = getCommitMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Commit"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.v1.CommitRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.v1.CommitResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("Commit"))
+              .build();
         }
       }
     }
     return getCommitMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.v1.RollbackRequest, com.google.protobuf.Empty>
-      getRollbackMethod;
+  private static volatile io.grpc.MethodDescriptor getRollbackMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "Rollback",
       requestType = com.google.spanner.v1.RollbackRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.v1.RollbackRequest, com.google.protobuf.Empty>
-      getRollbackMethod() {
-    io.grpc.MethodDescriptor
-        getRollbackMethod;
+  public static io.grpc.MethodDescriptor getRollbackMethod() {
+    io.grpc.MethodDescriptor getRollbackMethod;
     if ((getRollbackMethod = SpannerGrpc.getRollbackMethod) == null) {
       synchronized (SpannerGrpc.class) {
         if ((getRollbackMethod = SpannerGrpc.getRollbackMethod) == null) {
-          SpannerGrpc.getRollbackMethod =
-              getRollbackMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Rollback"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.v1.RollbackRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.protobuf.Empty.getDefaultInstance()))
-                      .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("Rollback"))
-                      .build();
+          SpannerGrpc.getRollbackMethod = getRollbackMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Rollback"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.v1.RollbackRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.protobuf.Empty.getDefaultInstance()))
+              .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("Rollback"))
+              .build();
         }
       }
     }
     return getRollbackMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.v1.PartitionQueryRequest, com.google.spanner.v1.PartitionResponse>
-      getPartitionQueryMethod;
+  private static volatile io.grpc.MethodDescriptor getPartitionQueryMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "PartitionQuery",
       requestType = com.google.spanner.v1.PartitionQueryRequest.class,
       responseType = com.google.spanner.v1.PartitionResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.v1.PartitionQueryRequest, com.google.spanner.v1.PartitionResponse>
-      getPartitionQueryMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.v1.PartitionQueryRequest, com.google.spanner.v1.PartitionResponse>
-        getPartitionQueryMethod;
+  public static io.grpc.MethodDescriptor getPartitionQueryMethod() {
+    io.grpc.MethodDescriptor getPartitionQueryMethod;
     if ((getPartitionQueryMethod = SpannerGrpc.getPartitionQueryMethod) == null) {
       synchronized (SpannerGrpc.class) {
         if ((getPartitionQueryMethod = SpannerGrpc.getPartitionQueryMethod) == null) {
-          SpannerGrpc.getPartitionQueryMethod =
-              getPartitionQueryMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PartitionQuery"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.v1.PartitionQueryRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.v1.PartitionResponse.getDefaultInstance()))
-                      .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("PartitionQuery"))
-                      .build();
+          SpannerGrpc.getPartitionQueryMethod = getPartitionQueryMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PartitionQuery"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.v1.PartitionQueryRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.v1.PartitionResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("PartitionQuery"))
+              .build();
         }
       }
     }
     return getPartitionQueryMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.spanner.v1.PartitionReadRequest, com.google.spanner.v1.PartitionResponse>
-      getPartitionReadMethod;
+  private static volatile io.grpc.MethodDescriptor getPartitionReadMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "PartitionRead",
       requestType = com.google.spanner.v1.PartitionReadRequest.class,
       responseType = com.google.spanner.v1.PartitionResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.spanner.v1.PartitionReadRequest, com.google.spanner.v1.PartitionResponse>
-      getPartitionReadMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.spanner.v1.PartitionReadRequest, com.google.spanner.v1.PartitionResponse>
-        getPartitionReadMethod;
+  public static io.grpc.MethodDescriptor getPartitionReadMethod() {
+    io.grpc.MethodDescriptor getPartitionReadMethod;
     if ((getPartitionReadMethod = SpannerGrpc.getPartitionReadMethod) == null) {
       synchronized (SpannerGrpc.class) {
         if ((getPartitionReadMethod = SpannerGrpc.getPartitionReadMethod) == null) {
-          SpannerGrpc.getPartitionReadMethod =
-              getPartitionReadMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PartitionRead"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.v1.PartitionReadRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.spanner.v1.PartitionResponse.getDefaultInstance()))
-                      .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("PartitionRead"))
-                      .build();
+          SpannerGrpc.getPartitionReadMethod = getPartitionReadMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PartitionRead"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.v1.PartitionReadRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.spanner.v1.PartitionResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("PartitionRead"))
+              .build();
         }
       }
     }
     return getPartitionReadMethod;
   }
 
-  /** 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 SpannerStub newStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public SpannerStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new SpannerStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public SpannerStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new SpannerStub(channel, callOptions);
+        }
+      };
     return SpannerStub.newStub(factory, channel);
   }
 
   /**
    * Creates a new blocking-style stub that supports unary and streaming output calls on the service
    */
-  public static SpannerBlockingStub newBlockingStub(io.grpc.Channel channel) {
+  public static SpannerBlockingStub newBlockingStub(
+      io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public SpannerBlockingStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new SpannerBlockingStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public SpannerBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new SpannerBlockingStub(channel, callOptions);
+        }
+      };
     return SpannerBlockingStub.newStub(factory, channel);
   }
 
-  /** Creates a new ListenableFuture-style stub that supports unary calls on the service */
-  public static SpannerFutureStub newFutureStub(io.grpc.Channel channel) {
+  /**
+   * Creates a new ListenableFuture-style stub that supports unary calls on the service
+   */
+  public static SpannerFutureStub newFutureStub(
+      io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public SpannerFutureStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new SpannerFutureStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public SpannerFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new SpannerFutureStub(channel, callOptions);
+        }
+      };
     return SpannerFutureStub.newStub(factory, channel);
   }
 
   /**
-   *
-   *
    * 
    * Cloud Spanner API
    * The Cloud Spanner API can be used to manage sessions and execute
@@ -704,8 +539,6 @@ public SpannerFutureStub newStub(
   public interface AsyncService {
 
     /**
-     *
-     *
      * 
      * Creates a new session. A session can be used to perform
      * transactions that read and/or modify data in a Cloud Spanner database.
@@ -725,78 +558,58 @@ public interface AsyncService {
      * periodically, e.g., `"SELECT 1"`.
      * 
*/ - default void createSession( - com.google.spanner.v1.CreateSessionRequest request, + default void createSession(com.google.spanner.v1.CreateSessionRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateSessionMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateSessionMethod(), responseObserver); } /** - * - * *
      * Creates multiple new sessions.
      * This API can be used to initialize a session cache on the clients.
      * See https://goo.gl/TgSFN2 for best practices on session cache management.
      * 
*/ - default void batchCreateSessions( - com.google.spanner.v1.BatchCreateSessionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getBatchCreateSessionsMethod(), responseObserver); + default void batchCreateSessions(com.google.spanner.v1.BatchCreateSessionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchCreateSessionsMethod(), responseObserver); } /** - * - * *
      * Gets a session. Returns `NOT_FOUND` if the session does not exist.
      * This is mainly useful for determining whether a session is still
      * alive.
      * 
*/ - default void getSession( - com.google.spanner.v1.GetSessionRequest request, + default void getSession(com.google.spanner.v1.GetSessionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetSessionMethod(), responseObserver); } /** - * - * *
      * Lists all sessions in a given database.
      * 
*/ - default void listSessions( - com.google.spanner.v1.ListSessionsRequest request, + default void listSessions(com.google.spanner.v1.ListSessionsRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListSessionsMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListSessionsMethod(), responseObserver); } /** - * - * *
      * Ends a session, releasing server resources associated with it. This will
      * asynchronously trigger cancellation of any operations that are running with
      * this session.
      * 
*/ - default void deleteSession( - com.google.spanner.v1.DeleteSessionRequest request, + default void deleteSession(com.google.spanner.v1.DeleteSessionRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteSessionMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteSessionMethod(), responseObserver); } /** - * - * *
      * Executes an SQL statement, returning all results in a single reply. This
      * method cannot be used to return a result set larger than 10 MiB;
@@ -809,15 +622,12 @@ default void deleteSession(
      * [ExecuteStreamingSql][google.spanner.v1.Spanner.ExecuteStreamingSql] instead.
      * 
*/ - default void executeSql( - com.google.spanner.v1.ExecuteSqlRequest request, + default void executeSql(com.google.spanner.v1.ExecuteSqlRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getExecuteSqlMethod(), responseObserver); } /** - * - * *
      * Like [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql], except returns the result
      * set as a stream. Unlike [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql], there
@@ -826,16 +636,12 @@ default void executeSql(
      * column value can exceed 10 MiB.
      * 
*/ - default void executeStreamingSql( - com.google.spanner.v1.ExecuteSqlRequest request, + default void executeStreamingSql(com.google.spanner.v1.ExecuteSqlRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getExecuteStreamingSqlMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getExecuteStreamingSqlMethod(), responseObserver); } /** - * - * *
      * Executes a batch of SQL DML statements. This method allows many statements
      * to be run with lower latency than submitting them sequentially with
@@ -848,17 +654,12 @@ default void executeStreamingSql(
      * are not executed.
      * 
*/ - default void executeBatchDml( - com.google.spanner.v1.ExecuteBatchDmlRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getExecuteBatchDmlMethod(), responseObserver); + default void executeBatchDml(com.google.spanner.v1.ExecuteBatchDmlRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getExecuteBatchDmlMethod(), responseObserver); } /** - * - * *
      * Reads rows from the database using key lookups and scans, as a
      * simple key/value style alternative to
@@ -873,15 +674,12 @@ default void executeBatchDml(
      * [StreamingRead][google.spanner.v1.Spanner.StreamingRead] instead.
      * 
*/ - default void read( - com.google.spanner.v1.ReadRequest request, + default void read(com.google.spanner.v1.ReadRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getReadMethod(), responseObserver); } /** - * - * *
      * Like [Read][google.spanner.v1.Spanner.Read], except returns the result set as a
      * stream. Unlike [Read][google.spanner.v1.Spanner.Read], there is no limit on the
@@ -890,16 +688,12 @@ default void read(
      * 10 MiB.
      * 
*/ - default void streamingRead( - com.google.spanner.v1.ReadRequest request, + default void streamingRead(com.google.spanner.v1.ReadRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getStreamingReadMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getStreamingReadMethod(), responseObserver); } /** - * - * *
      * Begins a new transaction. This step can often be skipped:
      * [Read][google.spanner.v1.Spanner.Read], [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql] and
@@ -907,16 +701,12 @@ default void streamingRead(
      * side-effect.
      * 
*/ - default void beginTransaction( - com.google.spanner.v1.BeginTransactionRequest request, + default void beginTransaction(com.google.spanner.v1.BeginTransactionRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getBeginTransactionMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBeginTransactionMethod(), responseObserver); } /** - * - * *
      * Commits a transaction. The request includes the mutations to be
      * applied to rows in the database.
@@ -932,15 +722,12 @@ default void beginTransaction(
      * state of things as they are now.
      * 
*/ - default void commit( - com.google.spanner.v1.CommitRequest request, + default void commit(com.google.spanner.v1.CommitRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCommitMethod(), responseObserver); } /** - * - * *
      * Rolls back a transaction, releasing any locks it holds. It is a good
      * idea to call this for any transaction that includes one or more
@@ -951,15 +738,12 @@ default void commit(
      * found. `Rollback` never returns `ABORTED`.
      * 
*/ - default void rollback( - com.google.spanner.v1.RollbackRequest request, + default void rollback(com.google.spanner.v1.RollbackRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRollbackMethod(), responseObserver); } /** - * - * *
      * Creates a set of partition tokens that can be used to execute a query
      * operation in parallel.  Each of the returned partition tokens can be used
@@ -973,16 +757,12 @@ default void rollback(
      * the whole operation must be restarted from the beginning.
      * 
*/ - default void partitionQuery( - com.google.spanner.v1.PartitionQueryRequest request, + default void partitionQuery(com.google.spanner.v1.PartitionQueryRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getPartitionQueryMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPartitionQueryMethod(), responseObserver); } /** - * - * *
      * Creates a set of partition tokens that can be used to execute a read
      * operation in parallel.  Each of the returned partition tokens can be used
@@ -998,53 +778,50 @@ default void partitionQuery(
      * the whole operation must be restarted from the beginning.
      * 
*/ - default void partitionRead( - com.google.spanner.v1.PartitionReadRequest request, + default void partitionRead(com.google.spanner.v1.PartitionReadRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getPartitionReadMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPartitionReadMethod(), responseObserver); } } /** * Base class for the server implementation of the service Spanner. - * *
    * Cloud Spanner API
    * The Cloud Spanner API can be used to manage sessions and execute
    * transactions on data stored in Cloud Spanner databases.
    * 
*/ - public abstract static class SpannerImplBase implements io.grpc.BindableService, AsyncService { + public static abstract class SpannerImplBase + implements io.grpc.BindableService, AsyncService { - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return SpannerGrpc.bindService(this); } } /** * A stub to allow clients to do asynchronous rpc calls to service Spanner. - * *
    * Cloud Spanner API
    * The Cloud Spanner API can be used to manage sessions and execute
    * transactions on data stored in Cloud Spanner databases.
    * 
*/ - public static final class SpannerStub extends io.grpc.stub.AbstractAsyncStub { - private SpannerStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class SpannerStub + extends io.grpc.stub.AbstractAsyncStub { + private SpannerStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected SpannerStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected SpannerStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new SpannerStub(channel, callOptions); } /** - * - * *
      * Creates a new session. A session can be used to perform
      * transactions that read and/or modify data in a Cloud Spanner database.
@@ -1064,87 +841,63 @@ protected SpannerStub build(io.grpc.Channel channel, io.grpc.CallOptions callOpt
      * periodically, e.g., `"SELECT 1"`.
      * 
*/ - public void createSession( - com.google.spanner.v1.CreateSessionRequest request, + public void createSession(com.google.spanner.v1.CreateSessionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateSessionMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getCreateSessionMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Creates multiple new sessions.
      * This API can be used to initialize a session cache on the clients.
      * See https://goo.gl/TgSFN2 for best practices on session cache management.
      * 
*/ - public void batchCreateSessions( - com.google.spanner.v1.BatchCreateSessionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void batchCreateSessions(com.google.spanner.v1.BatchCreateSessionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchCreateSessionsMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getBatchCreateSessionsMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Gets a session. Returns `NOT_FOUND` if the session does not exist.
      * This is mainly useful for determining whether a session is still
      * alive.
      * 
*/ - public void getSession( - com.google.spanner.v1.GetSessionRequest request, + public void getSession(com.google.spanner.v1.GetSessionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetSessionMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Lists all sessions in a given database.
      * 
*/ - public void listSessions( - com.google.spanner.v1.ListSessionsRequest request, + public void listSessions(com.google.spanner.v1.ListSessionsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListSessionsMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getListSessionsMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Ends a session, releasing server resources associated with it. This will
      * asynchronously trigger cancellation of any operations that are running with
      * this session.
      * 
*/ - public void deleteSession( - com.google.spanner.v1.DeleteSessionRequest request, + public void deleteSession(com.google.spanner.v1.DeleteSessionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteSessionMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getDeleteSessionMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Executes an SQL statement, returning all results in a single reply. This
      * method cannot be used to return a result set larger than 10 MiB;
@@ -1157,16 +910,13 @@ public void deleteSession(
      * [ExecuteStreamingSql][google.spanner.v1.Spanner.ExecuteStreamingSql] instead.
      * 
*/ - public void executeSql( - com.google.spanner.v1.ExecuteSqlRequest request, + public void executeSql(com.google.spanner.v1.ExecuteSqlRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getExecuteSqlMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Like [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql], except returns the result
      * set as a stream. Unlike [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql], there
@@ -1175,18 +925,13 @@ public void executeSql(
      * column value can exceed 10 MiB.
      * 
*/ - public void executeStreamingSql( - com.google.spanner.v1.ExecuteSqlRequest request, + public void executeStreamingSql(com.google.spanner.v1.ExecuteSqlRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncServerStreamingCall( - getChannel().newCall(getExecuteStreamingSqlMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getExecuteStreamingSqlMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Executes a batch of SQL DML statements. This method allows many statements
      * to be run with lower latency than submitting them sequentially with
@@ -1199,19 +944,13 @@ public void executeStreamingSql(
      * are not executed.
      * 
*/ - public void executeBatchDml( - com.google.spanner.v1.ExecuteBatchDmlRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void executeBatchDml(com.google.spanner.v1.ExecuteBatchDmlRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getExecuteBatchDmlMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getExecuteBatchDmlMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Reads rows from the database using key lookups and scans, as a
      * simple key/value style alternative to
@@ -1226,16 +965,13 @@ public void executeBatchDml(
      * [StreamingRead][google.spanner.v1.Spanner.StreamingRead] instead.
      * 
*/ - public void read( - com.google.spanner.v1.ReadRequest request, + public void read(com.google.spanner.v1.ReadRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getReadMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Like [Read][google.spanner.v1.Spanner.Read], except returns the result set as a
      * stream. Unlike [Read][google.spanner.v1.Spanner.Read], there is no limit on the
@@ -1244,18 +980,13 @@ public void read(
      * 10 MiB.
      * 
*/ - public void streamingRead( - com.google.spanner.v1.ReadRequest request, + public void streamingRead(com.google.spanner.v1.ReadRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncServerStreamingCall( - getChannel().newCall(getStreamingReadMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getStreamingReadMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Begins a new transaction. This step can often be skipped:
      * [Read][google.spanner.v1.Spanner.Read], [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql] and
@@ -1263,18 +994,13 @@ public void streamingRead(
      * side-effect.
      * 
*/ - public void beginTransaction( - com.google.spanner.v1.BeginTransactionRequest request, + public void beginTransaction(com.google.spanner.v1.BeginTransactionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBeginTransactionMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getBeginTransactionMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Commits a transaction. The request includes the mutations to be
      * applied to rows in the database.
@@ -1290,16 +1016,13 @@ public void beginTransaction(
      * state of things as they are now.
      * 
*/ - public void commit( - com.google.spanner.v1.CommitRequest request, + public void commit(com.google.spanner.v1.CommitRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCommitMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Rolls back a transaction, releasing any locks it holds. It is a good
      * idea to call this for any transaction that includes one or more
@@ -1310,16 +1033,13 @@ public void commit(
      * found. `Rollback` never returns `ABORTED`.
      * 
*/ - public void rollback( - com.google.spanner.v1.RollbackRequest request, + public void rollback(com.google.spanner.v1.RollbackRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getRollbackMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Creates a set of partition tokens that can be used to execute a query
      * operation in parallel.  Each of the returned partition tokens can be used
@@ -1333,18 +1053,13 @@ public void rollback(
      * the whole operation must be restarted from the beginning.
      * 
*/ - public void partitionQuery( - com.google.spanner.v1.PartitionQueryRequest request, + public void partitionQuery(com.google.spanner.v1.PartitionQueryRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getPartitionQueryMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getPartitionQueryMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Creates a set of partition tokens that can be used to execute a read
      * operation in parallel.  Each of the returned partition tokens can be used
@@ -1360,19 +1075,15 @@ public void partitionQuery(
      * the whole operation must be restarted from the beginning.
      * 
*/ - public void partitionRead( - com.google.spanner.v1.PartitionReadRequest request, + public void partitionRead(com.google.spanner.v1.PartitionReadRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getPartitionReadMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getPartitionReadMethod(), getCallOptions()), request, responseObserver); } } /** * A stub to allow clients to do synchronous rpc calls to service Spanner. - * *
    * Cloud Spanner API
    * The Cloud Spanner API can be used to manage sessions and execute
@@ -1381,18 +1092,18 @@ public void partitionRead(
    */
   public static final class SpannerBlockingStub
       extends io.grpc.stub.AbstractBlockingStub {
-    private SpannerBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    private SpannerBlockingStub(
+        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       super(channel, callOptions);
     }
 
     @java.lang.Override
-    protected SpannerBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    protected SpannerBlockingStub build(
+        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       return new SpannerBlockingStub(channel, callOptions);
     }
 
     /**
-     *
-     *
      * 
      * Creates a new session. A session can be used to perform
      * transactions that read and/or modify data in a Cloud Spanner database.
@@ -1412,73 +1123,58 @@ protected SpannerBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions
      * periodically, e.g., `"SELECT 1"`.
      * 
*/ - public com.google.spanner.v1.Session createSession( - com.google.spanner.v1.CreateSessionRequest request) { + public com.google.spanner.v1.Session createSession(com.google.spanner.v1.CreateSessionRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateSessionMethod(), getCallOptions(), request); } /** - * - * *
      * Creates multiple new sessions.
      * This API can be used to initialize a session cache on the clients.
      * See https://goo.gl/TgSFN2 for best practices on session cache management.
      * 
*/ - public com.google.spanner.v1.BatchCreateSessionsResponse batchCreateSessions( - com.google.spanner.v1.BatchCreateSessionsRequest request) { + public com.google.spanner.v1.BatchCreateSessionsResponse batchCreateSessions(com.google.spanner.v1.BatchCreateSessionsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getBatchCreateSessionsMethod(), getCallOptions(), request); } /** - * - * *
      * Gets a session. Returns `NOT_FOUND` if the session does not exist.
      * This is mainly useful for determining whether a session is still
      * alive.
      * 
*/ - public com.google.spanner.v1.Session getSession( - com.google.spanner.v1.GetSessionRequest request) { + public com.google.spanner.v1.Session getSession(com.google.spanner.v1.GetSessionRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetSessionMethod(), getCallOptions(), request); } /** - * - * *
      * Lists all sessions in a given database.
      * 
*/ - public com.google.spanner.v1.ListSessionsResponse listSessions( - com.google.spanner.v1.ListSessionsRequest request) { + public com.google.spanner.v1.ListSessionsResponse listSessions(com.google.spanner.v1.ListSessionsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListSessionsMethod(), getCallOptions(), request); } /** - * - * *
      * Ends a session, releasing server resources associated with it. This will
      * asynchronously trigger cancellation of any operations that are running with
      * this session.
      * 
*/ - public com.google.protobuf.Empty deleteSession( - com.google.spanner.v1.DeleteSessionRequest request) { + public com.google.protobuf.Empty deleteSession(com.google.spanner.v1.DeleteSessionRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteSessionMethod(), getCallOptions(), request); } /** - * - * *
      * Executes an SQL statement, returning all results in a single reply. This
      * method cannot be used to return a result set larger than 10 MiB;
@@ -1491,15 +1187,12 @@ public com.google.protobuf.Empty deleteSession(
      * [ExecuteStreamingSql][google.spanner.v1.Spanner.ExecuteStreamingSql] instead.
      * 
*/ - public com.google.spanner.v1.ResultSet executeSql( - com.google.spanner.v1.ExecuteSqlRequest request) { + public com.google.spanner.v1.ResultSet executeSql(com.google.spanner.v1.ExecuteSqlRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getExecuteSqlMethod(), getCallOptions(), request); } /** - * - * *
      * Like [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql], except returns the result
      * set as a stream. Unlike [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql], there
@@ -1515,8 +1208,6 @@ public java.util.Iterator executeStreami
     }
 
     /**
-     *
-     *
      * 
      * Executes a batch of SQL DML statements. This method allows many statements
      * to be run with lower latency than submitting them sequentially with
@@ -1529,15 +1220,12 @@ public java.util.Iterator executeStreami
      * are not executed.
      * 
*/ - public com.google.spanner.v1.ExecuteBatchDmlResponse executeBatchDml( - com.google.spanner.v1.ExecuteBatchDmlRequest request) { + public com.google.spanner.v1.ExecuteBatchDmlResponse executeBatchDml(com.google.spanner.v1.ExecuteBatchDmlRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getExecuteBatchDmlMethod(), getCallOptions(), request); } /** - * - * *
      * Reads rows from the database using key lookups and scans, as a
      * simple key/value style alternative to
@@ -1558,8 +1246,6 @@ public com.google.spanner.v1.ResultSet read(com.google.spanner.v1.ReadRequest re
     }
 
     /**
-     *
-     *
      * 
      * Like [Read][google.spanner.v1.Spanner.Read], except returns the result set as a
      * stream. Unlike [Read][google.spanner.v1.Spanner.Read], there is no limit on the
@@ -1575,8 +1261,6 @@ public java.util.Iterator streamingRead(
     }
 
     /**
-     *
-     *
      * 
      * Begins a new transaction. This step can often be skipped:
      * [Read][google.spanner.v1.Spanner.Read], [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql] and
@@ -1584,15 +1268,12 @@ public java.util.Iterator streamingRead(
      * side-effect.
      * 
*/ - public com.google.spanner.v1.Transaction beginTransaction( - com.google.spanner.v1.BeginTransactionRequest request) { + public com.google.spanner.v1.Transaction beginTransaction(com.google.spanner.v1.BeginTransactionRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getBeginTransactionMethod(), getCallOptions(), request); } /** - * - * *
      * Commits a transaction. The request includes the mutations to be
      * applied to rows in the database.
@@ -1608,15 +1289,12 @@ public com.google.spanner.v1.Transaction beginTransaction(
      * state of things as they are now.
      * 
*/ - public com.google.spanner.v1.CommitResponse commit( - com.google.spanner.v1.CommitRequest request) { + public com.google.spanner.v1.CommitResponse commit(com.google.spanner.v1.CommitRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCommitMethod(), getCallOptions(), request); } /** - * - * *
      * Rolls back a transaction, releasing any locks it holds. It is a good
      * idea to call this for any transaction that includes one or more
@@ -1633,8 +1311,6 @@ public com.google.protobuf.Empty rollback(com.google.spanner.v1.RollbackRequest
     }
 
     /**
-     *
-     *
      * 
      * Creates a set of partition tokens that can be used to execute a query
      * operation in parallel.  Each of the returned partition tokens can be used
@@ -1648,15 +1324,12 @@ public com.google.protobuf.Empty rollback(com.google.spanner.v1.RollbackRequest
      * the whole operation must be restarted from the beginning.
      * 
*/ - public com.google.spanner.v1.PartitionResponse partitionQuery( - com.google.spanner.v1.PartitionQueryRequest request) { + public com.google.spanner.v1.PartitionResponse partitionQuery(com.google.spanner.v1.PartitionQueryRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getPartitionQueryMethod(), getCallOptions(), request); } /** - * - * *
      * Creates a set of partition tokens that can be used to execute a read
      * operation in parallel.  Each of the returned partition tokens can be used
@@ -1672,8 +1345,7 @@ public com.google.spanner.v1.PartitionResponse partitionQuery(
      * the whole operation must be restarted from the beginning.
      * 
*/ - public com.google.spanner.v1.PartitionResponse partitionRead( - com.google.spanner.v1.PartitionReadRequest request) { + public com.google.spanner.v1.PartitionResponse partitionRead(com.google.spanner.v1.PartitionReadRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getPartitionReadMethod(), getCallOptions(), request); } @@ -1681,7 +1353,6 @@ public com.google.spanner.v1.PartitionResponse partitionRead( /** * A stub to allow clients to do ListenableFuture-style rpc calls to service Spanner. - * *
    * Cloud Spanner API
    * The Cloud Spanner API can be used to manage sessions and execute
@@ -1690,18 +1361,18 @@ public com.google.spanner.v1.PartitionResponse partitionRead(
    */
   public static final class SpannerFutureStub
       extends io.grpc.stub.AbstractFutureStub {
-    private SpannerFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    private SpannerFutureStub(
+        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       super(channel, callOptions);
     }
 
     @java.lang.Override
-    protected SpannerFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    protected SpannerFutureStub build(
+        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       return new SpannerFutureStub(channel, callOptions);
     }
 
     /**
-     *
-     *
      * 
      * Creates a new session. A session can be used to perform
      * transactions that read and/or modify data in a Cloud Spanner database.
@@ -1721,75 +1392,63 @@ protected SpannerFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions c
      * periodically, e.g., `"SELECT 1"`.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - createSession(com.google.spanner.v1.CreateSessionRequest request) { + public com.google.common.util.concurrent.ListenableFuture createSession( + com.google.spanner.v1.CreateSessionRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateSessionMethod(), getCallOptions()), request); } /** - * - * *
      * Creates multiple new sessions.
      * This API can be used to initialize a session cache on the clients.
      * See https://goo.gl/TgSFN2 for best practices on session cache management.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.spanner.v1.BatchCreateSessionsResponse> - batchCreateSessions(com.google.spanner.v1.BatchCreateSessionsRequest request) { + public com.google.common.util.concurrent.ListenableFuture batchCreateSessions( + com.google.spanner.v1.BatchCreateSessionsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getBatchCreateSessionsMethod(), getCallOptions()), request); } /** - * - * *
      * Gets a session. Returns `NOT_FOUND` if the session does not exist.
      * This is mainly useful for determining whether a session is still
      * alive.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - getSession(com.google.spanner.v1.GetSessionRequest request) { + public com.google.common.util.concurrent.ListenableFuture getSession( + com.google.spanner.v1.GetSessionRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetSessionMethod(), getCallOptions()), request); } /** - * - * *
      * Lists all sessions in a given database.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.spanner.v1.ListSessionsResponse> - listSessions(com.google.spanner.v1.ListSessionsRequest request) { + public com.google.common.util.concurrent.ListenableFuture listSessions( + com.google.spanner.v1.ListSessionsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListSessionsMethod(), getCallOptions()), request); } /** - * - * *
      * Ends a session, releasing server resources associated with it. This will
      * asynchronously trigger cancellation of any operations that are running with
      * this session.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - deleteSession(com.google.spanner.v1.DeleteSessionRequest request) { + public com.google.common.util.concurrent.ListenableFuture deleteSession( + com.google.spanner.v1.DeleteSessionRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteSessionMethod(), getCallOptions()), request); } /** - * - * *
      * Executes an SQL statement, returning all results in a single reply. This
      * method cannot be used to return a result set larger than 10 MiB;
@@ -1802,15 +1461,13 @@ protected SpannerFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions c
      * [ExecuteStreamingSql][google.spanner.v1.Spanner.ExecuteStreamingSql] instead.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - executeSql(com.google.spanner.v1.ExecuteSqlRequest request) { + public com.google.common.util.concurrent.ListenableFuture executeSql( + com.google.spanner.v1.ExecuteSqlRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getExecuteSqlMethod(), getCallOptions()), request); } /** - * - * *
      * Executes a batch of SQL DML statements. This method allows many statements
      * to be run with lower latency than submitting them sequentially with
@@ -1823,16 +1480,13 @@ protected SpannerFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions c
      * are not executed.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.spanner.v1.ExecuteBatchDmlResponse> - executeBatchDml(com.google.spanner.v1.ExecuteBatchDmlRequest request) { + public com.google.common.util.concurrent.ListenableFuture executeBatchDml( + com.google.spanner.v1.ExecuteBatchDmlRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getExecuteBatchDmlMethod(), getCallOptions()), request); } /** - * - * *
      * Reads rows from the database using key lookups and scans, as a
      * simple key/value style alternative to
@@ -1854,8 +1508,6 @@ public com.google.common.util.concurrent.ListenableFuture
      * Begins a new transaction. This step can often be skipped:
      * [Read][google.spanner.v1.Spanner.Read], [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql] and
@@ -1863,15 +1515,13 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture
-        beginTransaction(com.google.spanner.v1.BeginTransactionRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture beginTransaction(
+        com.google.spanner.v1.BeginTransactionRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getBeginTransactionMethod(), getCallOptions()), request);
     }
 
     /**
-     *
-     *
      * 
      * Commits a transaction. The request includes the mutations to be
      * applied to rows in the database.
@@ -1887,15 +1537,13 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture
-        commit(com.google.spanner.v1.CommitRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture commit(
+        com.google.spanner.v1.CommitRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getCommitMethod(), getCallOptions()), request);
     }
 
     /**
-     *
-     *
      * 
      * Rolls back a transaction, releasing any locks it holds. It is a good
      * idea to call this for any transaction that includes one or more
@@ -1913,8 +1561,6 @@ public com.google.common.util.concurrent.ListenableFuture
      * Creates a set of partition tokens that can be used to execute a query
      * operation in parallel.  Each of the returned partition tokens can be used
@@ -1928,16 +1574,13 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture<
-            com.google.spanner.v1.PartitionResponse>
-        partitionQuery(com.google.spanner.v1.PartitionQueryRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture partitionQuery(
+        com.google.spanner.v1.PartitionQueryRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getPartitionQueryMethod(), getCallOptions()), request);
     }
 
     /**
-     *
-     *
      * 
      * Creates a set of partition tokens that can be used to execute a read
      * operation in parallel.  Each of the returned partition tokens can be used
@@ -1953,9 +1596,8 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture<
-            com.google.spanner.v1.PartitionResponse>
-        partitionRead(com.google.spanner.v1.PartitionReadRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture partitionRead(
+        com.google.spanner.v1.PartitionReadRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getPartitionReadMethod(), getCallOptions()), request);
     }
@@ -1977,11 +1619,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;
 
@@ -1995,86 +1637,64 @@ private static final class MethodHandlers
     public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) {
       switch (methodId) {
         case METHODID_CREATE_SESSION:
-          serviceImpl.createSession(
-              (com.google.spanner.v1.CreateSessionRequest) request,
+          serviceImpl.createSession((com.google.spanner.v1.CreateSessionRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_BATCH_CREATE_SESSIONS:
-          serviceImpl.batchCreateSessions(
-              (com.google.spanner.v1.BatchCreateSessionsRequest) request,
-              (io.grpc.stub.StreamObserver)
-                  responseObserver);
+          serviceImpl.batchCreateSessions((com.google.spanner.v1.BatchCreateSessionsRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_GET_SESSION:
-          serviceImpl.getSession(
-              (com.google.spanner.v1.GetSessionRequest) request,
+          serviceImpl.getSession((com.google.spanner.v1.GetSessionRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_LIST_SESSIONS:
-          serviceImpl.listSessions(
-              (com.google.spanner.v1.ListSessionsRequest) request,
-              (io.grpc.stub.StreamObserver)
-                  responseObserver);
+          serviceImpl.listSessions((com.google.spanner.v1.ListSessionsRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_DELETE_SESSION:
-          serviceImpl.deleteSession(
-              (com.google.spanner.v1.DeleteSessionRequest) request,
+          serviceImpl.deleteSession((com.google.spanner.v1.DeleteSessionRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_EXECUTE_SQL:
-          serviceImpl.executeSql(
-              (com.google.spanner.v1.ExecuteSqlRequest) request,
+          serviceImpl.executeSql((com.google.spanner.v1.ExecuteSqlRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_EXECUTE_STREAMING_SQL:
-          serviceImpl.executeStreamingSql(
-              (com.google.spanner.v1.ExecuteSqlRequest) request,
-              (io.grpc.stub.StreamObserver)
-                  responseObserver);
+          serviceImpl.executeStreamingSql((com.google.spanner.v1.ExecuteSqlRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_EXECUTE_BATCH_DML:
-          serviceImpl.executeBatchDml(
-              (com.google.spanner.v1.ExecuteBatchDmlRequest) request,
-              (io.grpc.stub.StreamObserver)
-                  responseObserver);
+          serviceImpl.executeBatchDml((com.google.spanner.v1.ExecuteBatchDmlRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_READ:
-          serviceImpl.read(
-              (com.google.spanner.v1.ReadRequest) request,
+          serviceImpl.read((com.google.spanner.v1.ReadRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_STREAMING_READ:
-          serviceImpl.streamingRead(
-              (com.google.spanner.v1.ReadRequest) request,
-              (io.grpc.stub.StreamObserver)
-                  responseObserver);
+          serviceImpl.streamingRead((com.google.spanner.v1.ReadRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_BEGIN_TRANSACTION:
-          serviceImpl.beginTransaction(
-              (com.google.spanner.v1.BeginTransactionRequest) request,
+          serviceImpl.beginTransaction((com.google.spanner.v1.BeginTransactionRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_COMMIT:
-          serviceImpl.commit(
-              (com.google.spanner.v1.CommitRequest) request,
+          serviceImpl.commit((com.google.spanner.v1.CommitRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_ROLLBACK:
-          serviceImpl.rollback(
-              (com.google.spanner.v1.RollbackRequest) request,
+          serviceImpl.rollback((com.google.spanner.v1.RollbackRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_PARTITION_QUERY:
-          serviceImpl.partitionQuery(
-              (com.google.spanner.v1.PartitionQueryRequest) request,
-              (io.grpc.stub.StreamObserver)
-                  responseObserver);
+          serviceImpl.partitionQuery((com.google.spanner.v1.PartitionQueryRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_PARTITION_READ:
-          serviceImpl.partitionRead(
-              (com.google.spanner.v1.PartitionReadRequest) request,
-              (io.grpc.stub.StreamObserver)
-                  responseObserver);
+          serviceImpl.partitionRead((com.google.spanner.v1.PartitionReadRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         default:
           throw new AssertionError();
@@ -2095,104 +1715,115 @@ public io.grpc.stub.StreamObserver invoke(
   public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) {
     return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
         .addMethod(
-            getCreateSessionMethod(),
-            io.grpc.stub.ServerCalls.asyncUnaryCall(
-                new MethodHandlers<
-                    com.google.spanner.v1.CreateSessionRequest, com.google.spanner.v1.Session>(
-                    service, METHODID_CREATE_SESSION)))
+          getCreateSessionMethod(),
+          io.grpc.stub.ServerCalls.asyncUnaryCall(
+            new MethodHandlers<
+              com.google.spanner.v1.CreateSessionRequest,
+              com.google.spanner.v1.Session>(
+                service, METHODID_CREATE_SESSION)))
         .addMethod(
-            getBatchCreateSessionsMethod(),
-            io.grpc.stub.ServerCalls.asyncUnaryCall(
-                new MethodHandlers<
-                    com.google.spanner.v1.BatchCreateSessionsRequest,
-                    com.google.spanner.v1.BatchCreateSessionsResponse>(
-                    service, METHODID_BATCH_CREATE_SESSIONS)))
+          getBatchCreateSessionsMethod(),
+          io.grpc.stub.ServerCalls.asyncUnaryCall(
+            new MethodHandlers<
+              com.google.spanner.v1.BatchCreateSessionsRequest,
+              com.google.spanner.v1.BatchCreateSessionsResponse>(
+                service, METHODID_BATCH_CREATE_SESSIONS)))
         .addMethod(
-            getGetSessionMethod(),
-            io.grpc.stub.ServerCalls.asyncUnaryCall(
-                new MethodHandlers<
-                    com.google.spanner.v1.GetSessionRequest, com.google.spanner.v1.Session>(
-                    service, METHODID_GET_SESSION)))
+          getGetSessionMethod(),
+          io.grpc.stub.ServerCalls.asyncUnaryCall(
+            new MethodHandlers<
+              com.google.spanner.v1.GetSessionRequest,
+              com.google.spanner.v1.Session>(
+                service, METHODID_GET_SESSION)))
         .addMethod(
-            getListSessionsMethod(),
-            io.grpc.stub.ServerCalls.asyncUnaryCall(
-                new MethodHandlers<
-                    com.google.spanner.v1.ListSessionsRequest,
-                    com.google.spanner.v1.ListSessionsResponse>(service, METHODID_LIST_SESSIONS)))
+          getListSessionsMethod(),
+          io.grpc.stub.ServerCalls.asyncUnaryCall(
+            new MethodHandlers<
+              com.google.spanner.v1.ListSessionsRequest,
+              com.google.spanner.v1.ListSessionsResponse>(
+                service, METHODID_LIST_SESSIONS)))
         .addMethod(
-            getDeleteSessionMethod(),
-            io.grpc.stub.ServerCalls.asyncUnaryCall(
-                new MethodHandlers<
-                    com.google.spanner.v1.DeleteSessionRequest, com.google.protobuf.Empty>(
-                    service, METHODID_DELETE_SESSION)))
+          getDeleteSessionMethod(),
+          io.grpc.stub.ServerCalls.asyncUnaryCall(
+            new MethodHandlers<
+              com.google.spanner.v1.DeleteSessionRequest,
+              com.google.protobuf.Empty>(
+                service, METHODID_DELETE_SESSION)))
         .addMethod(
-            getExecuteSqlMethod(),
-            io.grpc.stub.ServerCalls.asyncUnaryCall(
-                new MethodHandlers<
-                    com.google.spanner.v1.ExecuteSqlRequest, com.google.spanner.v1.ResultSet>(
-                    service, METHODID_EXECUTE_SQL)))
+          getExecuteSqlMethod(),
+          io.grpc.stub.ServerCalls.asyncUnaryCall(
+            new MethodHandlers<
+              com.google.spanner.v1.ExecuteSqlRequest,
+              com.google.spanner.v1.ResultSet>(
+                service, METHODID_EXECUTE_SQL)))
         .addMethod(
-            getExecuteStreamingSqlMethod(),
-            io.grpc.stub.ServerCalls.asyncServerStreamingCall(
-                new MethodHandlers<
-                    com.google.spanner.v1.ExecuteSqlRequest,
-                    com.google.spanner.v1.PartialResultSet>(
-                    service, METHODID_EXECUTE_STREAMING_SQL)))
+          getExecuteStreamingSqlMethod(),
+          io.grpc.stub.ServerCalls.asyncServerStreamingCall(
+            new MethodHandlers<
+              com.google.spanner.v1.ExecuteSqlRequest,
+              com.google.spanner.v1.PartialResultSet>(
+                service, METHODID_EXECUTE_STREAMING_SQL)))
         .addMethod(
-            getExecuteBatchDmlMethod(),
-            io.grpc.stub.ServerCalls.asyncUnaryCall(
-                new MethodHandlers<
-                    com.google.spanner.v1.ExecuteBatchDmlRequest,
-                    com.google.spanner.v1.ExecuteBatchDmlResponse>(
-                    service, METHODID_EXECUTE_BATCH_DML)))
+          getExecuteBatchDmlMethod(),
+          io.grpc.stub.ServerCalls.asyncUnaryCall(
+            new MethodHandlers<
+              com.google.spanner.v1.ExecuteBatchDmlRequest,
+              com.google.spanner.v1.ExecuteBatchDmlResponse>(
+                service, METHODID_EXECUTE_BATCH_DML)))
         .addMethod(
-            getReadMethod(),
-            io.grpc.stub.ServerCalls.asyncUnaryCall(
-                new MethodHandlers<
-                    com.google.spanner.v1.ReadRequest, com.google.spanner.v1.ResultSet>(
-                    service, METHODID_READ)))
+          getReadMethod(),
+          io.grpc.stub.ServerCalls.asyncUnaryCall(
+            new MethodHandlers<
+              com.google.spanner.v1.ReadRequest,
+              com.google.spanner.v1.ResultSet>(
+                service, METHODID_READ)))
         .addMethod(
-            getStreamingReadMethod(),
-            io.grpc.stub.ServerCalls.asyncServerStreamingCall(
-                new MethodHandlers<
-                    com.google.spanner.v1.ReadRequest, com.google.spanner.v1.PartialResultSet>(
-                    service, METHODID_STREAMING_READ)))
+          getStreamingReadMethod(),
+          io.grpc.stub.ServerCalls.asyncServerStreamingCall(
+            new MethodHandlers<
+              com.google.spanner.v1.ReadRequest,
+              com.google.spanner.v1.PartialResultSet>(
+                service, METHODID_STREAMING_READ)))
         .addMethod(
-            getBeginTransactionMethod(),
-            io.grpc.stub.ServerCalls.asyncUnaryCall(
-                new MethodHandlers<
-                    com.google.spanner.v1.BeginTransactionRequest,
-                    com.google.spanner.v1.Transaction>(service, METHODID_BEGIN_TRANSACTION)))
+          getBeginTransactionMethod(),
+          io.grpc.stub.ServerCalls.asyncUnaryCall(
+            new MethodHandlers<
+              com.google.spanner.v1.BeginTransactionRequest,
+              com.google.spanner.v1.Transaction>(
+                service, METHODID_BEGIN_TRANSACTION)))
         .addMethod(
-            getCommitMethod(),
-            io.grpc.stub.ServerCalls.asyncUnaryCall(
-                new MethodHandlers<
-                    com.google.spanner.v1.CommitRequest, com.google.spanner.v1.CommitResponse>(
-                    service, METHODID_COMMIT)))
+          getCommitMethod(),
+          io.grpc.stub.ServerCalls.asyncUnaryCall(
+            new MethodHandlers<
+              com.google.spanner.v1.CommitRequest,
+              com.google.spanner.v1.CommitResponse>(
+                service, METHODID_COMMIT)))
         .addMethod(
-            getRollbackMethod(),
-            io.grpc.stub.ServerCalls.asyncUnaryCall(
-                new MethodHandlers<
-                    com.google.spanner.v1.RollbackRequest, com.google.protobuf.Empty>(
-                    service, METHODID_ROLLBACK)))
+          getRollbackMethod(),
+          io.grpc.stub.ServerCalls.asyncUnaryCall(
+            new MethodHandlers<
+              com.google.spanner.v1.RollbackRequest,
+              com.google.protobuf.Empty>(
+                service, METHODID_ROLLBACK)))
         .addMethod(
-            getPartitionQueryMethod(),
-            io.grpc.stub.ServerCalls.asyncUnaryCall(
-                new MethodHandlers<
-                    com.google.spanner.v1.PartitionQueryRequest,
-                    com.google.spanner.v1.PartitionResponse>(service, METHODID_PARTITION_QUERY)))
+          getPartitionQueryMethod(),
+          io.grpc.stub.ServerCalls.asyncUnaryCall(
+            new MethodHandlers<
+              com.google.spanner.v1.PartitionQueryRequest,
+              com.google.spanner.v1.PartitionResponse>(
+                service, METHODID_PARTITION_QUERY)))
         .addMethod(
-            getPartitionReadMethod(),
-            io.grpc.stub.ServerCalls.asyncUnaryCall(
-                new MethodHandlers<
-                    com.google.spanner.v1.PartitionReadRequest,
-                    com.google.spanner.v1.PartitionResponse>(service, METHODID_PARTITION_READ)))
+          getPartitionReadMethod(),
+          io.grpc.stub.ServerCalls.asyncUnaryCall(
+            new MethodHandlers<
+              com.google.spanner.v1.PartitionReadRequest,
+              com.google.spanner.v1.PartitionResponse>(
+                service, METHODID_PARTITION_READ)))
         .build();
   }
 
-  private abstract static class SpannerBaseDescriptorSupplier
-      implements io.grpc.protobuf.ProtoFileDescriptorSupplier,
-          io.grpc.protobuf.ProtoServiceDescriptorSupplier {
+  private static abstract class SpannerBaseDescriptorSupplier
+      implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier {
     SpannerBaseDescriptorSupplier() {}
 
     @java.lang.Override
@@ -2206,11 +1837,13 @@ public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor()
     }
   }
 
-  private static final class SpannerFileDescriptorSupplier extends SpannerBaseDescriptorSupplier {
+  private static final class SpannerFileDescriptorSupplier
+      extends SpannerBaseDescriptorSupplier {
     SpannerFileDescriptorSupplier() {}
   }
 
-  private static final class SpannerMethodDescriptorSupplier extends SpannerBaseDescriptorSupplier
+  private static final class SpannerMethodDescriptorSupplier
+      extends SpannerBaseDescriptorSupplier
       implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
     private final String methodName;
 
@@ -2232,26 +1865,24 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() {
       synchronized (SpannerGrpc.class) {
         result = serviceDescriptor;
         if (result == null) {
-          serviceDescriptor =
-              result =
-                  io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
-                      .setSchemaDescriptor(new SpannerFileDescriptorSupplier())
-                      .addMethod(getCreateSessionMethod())
-                      .addMethod(getBatchCreateSessionsMethod())
-                      .addMethod(getGetSessionMethod())
-                      .addMethod(getListSessionsMethod())
-                      .addMethod(getDeleteSessionMethod())
-                      .addMethod(getExecuteSqlMethod())
-                      .addMethod(getExecuteStreamingSqlMethod())
-                      .addMethod(getExecuteBatchDmlMethod())
-                      .addMethod(getReadMethod())
-                      .addMethod(getStreamingReadMethod())
-                      .addMethod(getBeginTransactionMethod())
-                      .addMethod(getCommitMethod())
-                      .addMethod(getRollbackMethod())
-                      .addMethod(getPartitionQueryMethod())
-                      .addMethod(getPartitionReadMethod())
-                      .build();
+          serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
+              .setSchemaDescriptor(new SpannerFileDescriptorSupplier())
+              .addMethod(getCreateSessionMethod())
+              .addMethod(getBatchCreateSessionsMethod())
+              .addMethod(getGetSessionMethod())
+              .addMethod(getListSessionsMethod())
+              .addMethod(getDeleteSessionMethod())
+              .addMethod(getExecuteSqlMethod())
+              .addMethod(getExecuteStreamingSqlMethod())
+              .addMethod(getExecuteBatchDmlMethod())
+              .addMethod(getReadMethod())
+              .addMethod(getStreamingReadMethod())
+              .addMethod(getBeginTransactionMethod())
+              .addMethod(getCommitMethod())
+              .addMethod(getRollbackMethod())
+              .addMethod(getPartitionQueryMethod())
+              .addMethod(getPartitionReadMethod())
+              .build();
         }
       }
     }
diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/Backup.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/Backup.java
similarity index 73%
rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/Backup.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/Backup.java
index d5132408edd..5643219006a 100644
--- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/Backup.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/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/spanner/admin/database/v1/backup.proto
 
 package com.google.spanner.admin.database.v1;
 
 /**
- *
- *
  * 
  * A backup of a Cloud Spanner database.
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.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.spanner.admin.database.v1.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() { database_ = ""; name_ = ""; @@ -48,43 +30,39 @@ private Backup() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Backup(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_Backup_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_Backup_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_Backup_fieldAccessorTable + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_Backup_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.Backup.class, - com.google.spanner.admin.database.v1.Backup.Builder.class); + com.google.spanner.admin.database.v1.Backup.class, com.google.spanner.admin.database.v1.Backup.Builder.class); } /** - * - * *
    * Indicates the current state of the backup.
    * 
* * Protobuf enum {@code google.spanner.admin.database.v1.Backup.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Not specified.
      * 
@@ -93,8 +71,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.
@@ -104,8 +80,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     CREATING(1),
     /**
-     *
-     *
      * 
      * The backup is complete and ready for use.
      * 
@@ -117,8 +91,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Not specified.
      * 
@@ -127,8 +99,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.
@@ -138,8 +108,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CREATING_VALUE = 1;
     /**
-     *
-     *
      * 
      * The backup is complete and ready for use.
      * 
@@ -148,6 +116,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( @@ -172,49 +141,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.spanner.admin.database.v1.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; @@ -232,12 +201,9 @@ private State(int value) { } public static final int DATABASE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object database_ = ""; /** - * - * *
    * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
    * Name of the database from which this backup was
@@ -247,7 +213,6 @@ private State(int value) {
    * 
* * string database = 2 [(.google.api.resource_reference) = { ... } - * * @return The database. */ @java.lang.Override @@ -256,15 +221,14 @@ public java.lang.String getDatabase() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; } } /** - * - * *
    * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
    * Name of the database from which this backup was
@@ -274,15 +238,16 @@ public java.lang.String getDatabase() {
    * 
* * string database = 2 [(.google.api.resource_reference) = { ... } - * * @return The bytes for database. */ @java.lang.Override - public com.google.protobuf.ByteString getDatabaseBytes() { + public com.google.protobuf.ByteString + getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); database_ = b; return b; } else { @@ -293,8 +258,6 @@ public com.google.protobuf.ByteString getDatabaseBytes() { public static final int VERSION_TIME_FIELD_NUMBER = 9; private com.google.protobuf.Timestamp versionTime_; /** - * - * *
    * The backup will contain an externally consistent copy of the database at
    * the timestamp specified by `version_time`. If `version_time` is not
@@ -303,7 +266,6 @@ public com.google.protobuf.ByteString getDatabaseBytes() {
    * 
* * .google.protobuf.Timestamp version_time = 9; - * * @return Whether the versionTime field is set. */ @java.lang.Override @@ -311,8 +273,6 @@ public boolean hasVersionTime() { return versionTime_ != null; } /** - * - * *
    * The backup will contain an externally consistent copy of the database at
    * the timestamp specified by `version_time`. If `version_time` is not
@@ -321,7 +281,6 @@ public boolean hasVersionTime() {
    * 
* * .google.protobuf.Timestamp version_time = 9; - * * @return The versionTime. */ @java.lang.Override @@ -329,8 +288,6 @@ public com.google.protobuf.Timestamp getVersionTime() { return versionTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : versionTime_; } /** - * - * *
    * The backup will contain an externally consistent copy of the database at
    * the timestamp specified by `version_time`. If `version_time` is not
@@ -348,8 +305,6 @@ public com.google.protobuf.TimestampOrBuilder getVersionTimeOrBuilder() {
   public static final int EXPIRE_TIME_FIELD_NUMBER = 3;
   private com.google.protobuf.Timestamp expireTime_;
   /**
-   *
-   *
    * 
    * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
    * operation. The expiration time of the backup, with microseconds
@@ -360,7 +315,6 @@ public com.google.protobuf.TimestampOrBuilder getVersionTimeOrBuilder() {
    * 
* * .google.protobuf.Timestamp expire_time = 3; - * * @return Whether the expireTime field is set. */ @java.lang.Override @@ -368,8 +322,6 @@ public boolean hasExpireTime() { return expireTime_ != null; } /** - * - * *
    * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
    * operation. The expiration time of the backup, with microseconds
@@ -380,7 +332,6 @@ public boolean hasExpireTime() {
    * 
* * .google.protobuf.Timestamp expire_time = 3; - * * @return The expireTime. */ @java.lang.Override @@ -388,8 +339,6 @@ public com.google.protobuf.Timestamp getExpireTime() { return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } /** - * - * *
    * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
    * operation. The expiration time of the backup, with microseconds
@@ -407,12 +356,9 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Output only for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
    * Required for the [UpdateBackup][google.spanner.admin.database.v1.DatabaseAdmin.UpdateBackup] operation.
@@ -428,7 +374,6 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -437,15 +382,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 for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
    * Required for the [UpdateBackup][google.spanner.admin.database.v1.DatabaseAdmin.UpdateBackup] operation.
@@ -461,15 +405,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 { @@ -480,17 +425,13 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
    * request is received. If the request does not specify `version_time`, the
    * `version_time` of the backup will be equivalent to the `create_time`.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -498,17 +439,13 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
    * request is received. If the request does not specify `version_time`, the
    * `version_time` of the backup will be equivalent to the `create_time`.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -516,16 +453,13 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
    * request is received. If the request does not specify `version_time`, the
    * `version_time` of the backup will be equivalent to the `create_time`.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -535,14 +469,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int SIZE_BYTES_FIELD_NUMBER = 5; private long sizeBytes_ = 0L; /** - * - * *
    * Output only. Size of the backup in bytes.
    * 
* * int64 size_bytes = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The sizeBytes. */ @java.lang.Override @@ -553,49 +484,33 @@ public long getSizeBytes() { public static final int STATE_FIELD_NUMBER = 6; private int state_ = 0; /** - * - * *
    * Output only. The current state of the backup.
    * 
* - * - * .google.spanner.admin.database.v1.Backup.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.Backup.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * Output only. The current state of the backup.
    * 
* - * - * .google.spanner.admin.database.v1.Backup.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.Backup.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - @java.lang.Override - public com.google.spanner.admin.database.v1.Backup.State getState() { - com.google.spanner.admin.database.v1.Backup.State result = - com.google.spanner.admin.database.v1.Backup.State.forNumber(state_); + @java.lang.Override public com.google.spanner.admin.database.v1.Backup.State getState() { + com.google.spanner.admin.database.v1.Backup.State result = com.google.spanner.admin.database.v1.Backup.State.forNumber(state_); return result == null ? com.google.spanner.admin.database.v1.Backup.State.UNRECOGNIZED : result; } public static final int REFERENCING_DATABASES_FIELD_NUMBER = 7; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringList referencingDatabases_; /** - * - * *
    * Output only. The names of the restored databases that reference the backup.
    * The database names are of
@@ -606,18 +521,14 @@ public com.google.spanner.admin.database.v1.Backup.State getState() {
    * to the backup is removed.
    * 
* - * - * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return A list containing the referencingDatabases. */ - public com.google.protobuf.ProtocolStringList getReferencingDatabasesList() { + public com.google.protobuf.ProtocolStringList + getReferencingDatabasesList() { return referencingDatabases_; } /** - * - * *
    * Output only. The names of the restored databases that reference the backup.
    * The database names are of
@@ -628,18 +539,13 @@ public com.google.protobuf.ProtocolStringList getReferencingDatabasesList() {
    * to the backup is removed.
    * 
* - * - * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The count of referencingDatabases. */ public int getReferencingDatabasesCount() { return referencingDatabases_.size(); } /** - * - * *
    * Output only. The names of the restored databases that reference the backup.
    * The database names are of
@@ -650,10 +556,7 @@ public int getReferencingDatabasesCount() {
    * to the backup is removed.
    * 
* - * - * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param index The index of the element to return. * @return The referencingDatabases at the given index. */ @@ -661,8 +564,6 @@ public java.lang.String getReferencingDatabases(int index) { return referencingDatabases_.get(index); } /** - * - * *
    * Output only. The names of the restored databases that reference the backup.
    * The database names are of
@@ -673,30 +574,23 @@ public java.lang.String getReferencingDatabases(int index) {
    * to the backup is removed.
    * 
* - * - * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param index The index of the value to return. * @return The bytes of the referencingDatabases at the given index. */ - public com.google.protobuf.ByteString getReferencingDatabasesBytes(int index) { + public com.google.protobuf.ByteString + getReferencingDatabasesBytes(int index) { return referencingDatabases_.getByteString(index); } public static final int ENCRYPTION_INFO_FIELD_NUMBER = 8; private com.google.spanner.admin.database.v1.EncryptionInfo encryptionInfo_; /** - * - * *
    * Output only. The encryption information for the backup.
    * 
* - * - * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the encryptionInfo field is set. */ @java.lang.Override @@ -704,90 +598,59 @@ public boolean hasEncryptionInfo() { return encryptionInfo_ != null; } /** - * - * *
    * Output only. The encryption information for the backup.
    * 
* - * - * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionInfo. */ @java.lang.Override public com.google.spanner.admin.database.v1.EncryptionInfo getEncryptionInfo() { - return encryptionInfo_ == null - ? com.google.spanner.admin.database.v1.EncryptionInfo.getDefaultInstance() - : encryptionInfo_; + return encryptionInfo_ == null ? com.google.spanner.admin.database.v1.EncryptionInfo.getDefaultInstance() : encryptionInfo_; } /** - * - * *
    * Output only. The encryption information for the backup.
    * 
* - * - * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder() { - return encryptionInfo_ == null - ? com.google.spanner.admin.database.v1.EncryptionInfo.getDefaultInstance() - : encryptionInfo_; + return encryptionInfo_ == null ? com.google.spanner.admin.database.v1.EncryptionInfo.getDefaultInstance() : encryptionInfo_; } public static final int DATABASE_DIALECT_FIELD_NUMBER = 10; private int databaseDialect_ = 0; /** - * - * *
    * Output only. The database dialect information for the backup.
    * 
* - * - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for databaseDialect. */ - @java.lang.Override - public int getDatabaseDialectValue() { + @java.lang.Override public int getDatabaseDialectValue() { return databaseDialect_; } /** - * - * *
    * Output only. The database dialect information for the backup.
    * 
* - * - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The databaseDialect. */ - @java.lang.Override - public com.google.spanner.admin.database.v1.DatabaseDialect getDatabaseDialect() { - com.google.spanner.admin.database.v1.DatabaseDialect result = - com.google.spanner.admin.database.v1.DatabaseDialect.forNumber(databaseDialect_); - return result == null - ? com.google.spanner.admin.database.v1.DatabaseDialect.UNRECOGNIZED - : result; + @java.lang.Override public com.google.spanner.admin.database.v1.DatabaseDialect getDatabaseDialect() { + com.google.spanner.admin.database.v1.DatabaseDialect result = com.google.spanner.admin.database.v1.DatabaseDialect.forNumber(databaseDialect_); + return result == null ? com.google.spanner.admin.database.v1.DatabaseDialect.UNRECOGNIZED : result; } public static final int REFERENCING_BACKUPS_FIELD_NUMBER = 11; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringList referencingBackups_; /** - * - * *
    * Output only. The names of the destination backups being created by copying
    * this source backup. The backup names are of the form
@@ -798,18 +661,14 @@ public com.google.spanner.admin.database.v1.DatabaseDialect getDatabaseDialect()
    * destination backup is deleted), the reference to the backup is removed.
    * 
* - * - * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return A list containing the referencingBackups. */ - public com.google.protobuf.ProtocolStringList getReferencingBackupsList() { + public com.google.protobuf.ProtocolStringList + getReferencingBackupsList() { return referencingBackups_; } /** - * - * *
    * Output only. The names of the destination backups being created by copying
    * this source backup. The backup names are of the form
@@ -820,18 +679,13 @@ public com.google.protobuf.ProtocolStringList getReferencingBackupsList() {
    * destination backup is deleted), the reference to the backup is removed.
    * 
* - * - * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The count of referencingBackups. */ public int getReferencingBackupsCount() { return referencingBackups_.size(); } /** - * - * *
    * Output only. The names of the destination backups being created by copying
    * this source backup. The backup names are of the form
@@ -842,10 +696,7 @@ public int getReferencingBackupsCount() {
    * destination backup is deleted), the reference to the backup is removed.
    * 
* - * - * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param index The index of the element to return. * @return The referencingBackups at the given index. */ @@ -853,8 +704,6 @@ public java.lang.String getReferencingBackups(int index) { return referencingBackups_.get(index); } /** - * - * *
    * Output only. The names of the destination backups being created by copying
    * this source backup. The backup names are of the form
@@ -865,22 +714,18 @@ public java.lang.String getReferencingBackups(int index) {
    * destination backup is deleted), the reference to the backup is removed.
    * 
* - * - * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param index The index of the value to return. * @return The bytes of the referencingBackups at the given index. */ - public com.google.protobuf.ByteString getReferencingBackupsBytes(int index) { + public com.google.protobuf.ByteString + getReferencingBackupsBytes(int index) { return referencingBackups_.getByteString(index); } public static final int MAX_EXPIRE_TIME_FIELD_NUMBER = 12; private com.google.protobuf.Timestamp maxExpireTime_; /** - * - * *
    * Output only. The max allowed expiration time of the backup, with
    * microseconds granularity. A backup's expiration time can be configured in
@@ -889,10 +734,7 @@ public com.google.protobuf.ByteString getReferencingBackupsBytes(int index) {
    * less than `Backup.max_expire_time`.
    * 
* - * - * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the maxExpireTime field is set. */ @java.lang.Override @@ -900,8 +742,6 @@ public boolean hasMaxExpireTime() { return maxExpireTime_ != null; } /** - * - * *
    * Output only. The max allowed expiration time of the backup, with
    * microseconds granularity. A backup's expiration time can be configured in
@@ -910,21 +750,14 @@ public boolean hasMaxExpireTime() {
    * less than `Backup.max_expire_time`.
    * 
* - * - * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The maxExpireTime. */ @java.lang.Override public com.google.protobuf.Timestamp getMaxExpireTime() { - return maxExpireTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : maxExpireTime_; + return maxExpireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : maxExpireTime_; } /** - * - * *
    * Output only. The max allowed expiration time of the backup, with
    * microseconds granularity. A backup's expiration time can be configured in
@@ -933,19 +766,14 @@ public com.google.protobuf.Timestamp getMaxExpireTime() {
    * less than `Backup.max_expire_time`.
    * 
* - * - * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getMaxExpireTimeOrBuilder() { - return maxExpireTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : maxExpireTime_; + return maxExpireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : maxExpireTime_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -957,7 +785,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -977,8 +806,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeEnum(6, state_); } for (int i = 0; i < referencingDatabases_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 7, referencingDatabases_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString(output, 7, referencingDatabases_.getRaw(i)); } if (encryptionInfo_ != null) { output.writeMessage(8, getEncryptionInfo()); @@ -986,9 +814,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (versionTime_ != null) { output.writeMessage(9, getVersionTime()); } - if (databaseDialect_ - != com.google.spanner.admin.database.v1.DatabaseDialect.DATABASE_DIALECT_UNSPECIFIED - .getNumber()) { + if (databaseDialect_ != com.google.spanner.admin.database.v1.DatabaseDialect.DATABASE_DIALECT_UNSPECIFIED.getNumber()) { output.writeEnum(10, databaseDialect_); } for (int i = 0; i < referencingBackups_.size(); i++) { @@ -1013,16 +839,20 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, database_); } if (expireTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getExpireTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getExpireTime()); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getCreateTime()); } if (sizeBytes_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(5, sizeBytes_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(5, sizeBytes_); } if (state_ != com.google.spanner.admin.database.v1.Backup.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, state_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(6, state_); } { int dataSize = 0; @@ -1033,15 +863,16 @@ public int getSerializedSize() { size += 1 * getReferencingDatabasesList().size(); } if (encryptionInfo_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getEncryptionInfo()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getEncryptionInfo()); } if (versionTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getVersionTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getVersionTime()); } - if (databaseDialect_ - != com.google.spanner.admin.database.v1.DatabaseDialect.DATABASE_DIALECT_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(10, databaseDialect_); + if (databaseDialect_ != com.google.spanner.admin.database.v1.DatabaseDialect.DATABASE_DIALECT_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(10, databaseDialect_); } { int dataSize = 0; @@ -1052,7 +883,8 @@ public int getSerializedSize() { size += 1 * getReferencingBackupsList().size(); } if (maxExpireTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getMaxExpireTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, getMaxExpireTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1062,40 +894,49 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.database.v1.Backup)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.Backup other = - (com.google.spanner.admin.database.v1.Backup) obj; + com.google.spanner.admin.database.v1.Backup other = (com.google.spanner.admin.database.v1.Backup) obj; - if (!getDatabase().equals(other.getDatabase())) return false; + if (!getDatabase() + .equals(other.getDatabase())) return false; if (hasVersionTime() != other.hasVersionTime()) return false; if (hasVersionTime()) { - if (!getVersionTime().equals(other.getVersionTime())) return false; + if (!getVersionTime() + .equals(other.getVersionTime())) 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 (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) 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 (getSizeBytes() != other.getSizeBytes()) return false; + if (getSizeBytes() + != other.getSizeBytes()) return false; if (state_ != other.state_) return false; - if (!getReferencingDatabasesList().equals(other.getReferencingDatabasesList())) return false; + if (!getReferencingDatabasesList() + .equals(other.getReferencingDatabasesList())) 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 (databaseDialect_ != other.databaseDialect_) return false; - if (!getReferencingBackupsList().equals(other.getReferencingBackupsList())) return false; + if (!getReferencingBackupsList() + .equals(other.getReferencingBackupsList())) return false; if (hasMaxExpireTime() != other.hasMaxExpireTime()) return false; if (hasMaxExpireTime()) { - if (!getMaxExpireTime().equals(other.getMaxExpireTime())) return false; + if (!getMaxExpireTime() + .equals(other.getMaxExpireTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1125,7 +966,8 @@ public int hashCode() { hash = (53 * hash) + getCreateTime().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 (getReferencingDatabasesCount() > 0) { @@ -1151,136 +993,130 @@ public int hashCode() { return hash; } - public static com.google.spanner.admin.database.v1.Backup parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.admin.database.v1.Backup parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.Backup parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.Backup parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.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.spanner.admin.database.v1.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.spanner.admin.database.v1.Backup parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.Backup parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.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.spanner.admin.database.v1.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.spanner.admin.database.v1.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 Spanner database.
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.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.spanner.admin.database.v1.Backup) com.google.spanner.admin.database.v1.BackupOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_Backup_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_Backup_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_Backup_fieldAccessorTable + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_Backup_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.Backup.class, - com.google.spanner.admin.database.v1.Backup.Builder.class); + com.google.spanner.admin.database.v1.Backup.class, com.google.spanner.admin.database.v1.Backup.Builder.class); } // Construct using com.google.spanner.admin.database.v1.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(); @@ -1323,9 +1159,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_Backup_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_Backup_descriptor; } @java.lang.Override @@ -1344,12 +1180,9 @@ public com.google.spanner.admin.database.v1.Backup build() { @java.lang.Override public com.google.spanner.admin.database.v1.Backup buildPartial() { - com.google.spanner.admin.database.v1.Backup result = - new com.google.spanner.admin.database.v1.Backup(this); + com.google.spanner.admin.database.v1.Backup result = new com.google.spanner.admin.database.v1.Backup(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -1373,17 +1206,22 @@ private void buildPartial0(com.google.spanner.admin.database.v1.Backup result) { result.database_ = database_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.versionTime_ = - versionTimeBuilder_ == null ? versionTime_ : versionTimeBuilder_.build(); + result.versionTime_ = versionTimeBuilder_ == null + ? versionTime_ + : versionTimeBuilder_.build(); } 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.name_ = name_; } if (((from_bitField0_ & 0x00000010) != 0)) { - result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null + ? createTime_ + : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000020) != 0)) { result.sizeBytes_ = sizeBytes_; @@ -1392,15 +1230,17 @@ private void buildPartial0(com.google.spanner.admin.database.v1.Backup result) { result.state_ = state_; } if (((from_bitField0_ & 0x00000100) != 0)) { - result.encryptionInfo_ = - encryptionInfoBuilder_ == null ? encryptionInfo_ : encryptionInfoBuilder_.build(); + result.encryptionInfo_ = encryptionInfoBuilder_ == null + ? encryptionInfo_ + : encryptionInfoBuilder_.build(); } if (((from_bitField0_ & 0x00000200) != 0)) { result.databaseDialect_ = databaseDialect_; } if (((from_bitField0_ & 0x00000800) != 0)) { - result.maxExpireTime_ = - maxExpireTimeBuilder_ == null ? maxExpireTime_ : maxExpireTimeBuilder_.build(); + result.maxExpireTime_ = maxExpireTimeBuilder_ == null + ? maxExpireTime_ + : maxExpireTimeBuilder_.build(); } } @@ -1408,39 +1248,38 @@ private void buildPartial0(com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.Backup) { - return mergeFrom((com.google.spanner.admin.database.v1.Backup) other); + return mergeFrom((com.google.spanner.admin.database.v1.Backup)other); } else { super.mergeFrom(other); return this; @@ -1529,87 +1368,84 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 10 - case 18: - { - database_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 18 - case 26: - { - input.readMessage(getExpireTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 34 - case 40: - { - sizeBytes_ = input.readInt64(); - bitField0_ |= 0x00000020; - break; - } // case 40 - case 48: - { - state_ = input.readEnum(); - bitField0_ |= 0x00000040; - break; - } // case 48 - case 58: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureReferencingDatabasesIsMutable(); - referencingDatabases_.add(s); - break; - } // case 58 - case 66: - { - input.readMessage(getEncryptionInfoFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000100; - break; - } // case 66 - case 74: - { - input.readMessage(getVersionTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 74 - case 80: - { - databaseDialect_ = input.readEnum(); - bitField0_ |= 0x00000200; - break; - } // case 80 - case 90: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureReferencingBackupsIsMutable(); - referencingBackups_.add(s); - break; - } // case 90 - case 98: - { - input.readMessage(getMaxExpireTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000800; - break; - } // case 98 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 10 + case 18: { + database_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 18 + case 26: { + input.readMessage( + getExpireTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 34 + case 40: { + sizeBytes_ = input.readInt64(); + bitField0_ |= 0x00000020; + break; + } // case 40 + case 48: { + state_ = input.readEnum(); + bitField0_ |= 0x00000040; + break; + } // case 48 + case 58: { + java.lang.String s = input.readStringRequireUtf8(); + ensureReferencingDatabasesIsMutable(); + referencingDatabases_.add(s); + break; + } // case 58 + case 66: { + input.readMessage( + getEncryptionInfoFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000100; + break; + } // case 66 + case 74: { + input.readMessage( + getVersionTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 74 + case 80: { + databaseDialect_ = input.readEnum(); + bitField0_ |= 0x00000200; + break; + } // case 80 + case 90: { + java.lang.String s = input.readStringRequireUtf8(); + ensureReferencingBackupsIsMutable(); + referencingBackups_.add(s); + break; + } // case 90 + case 98: { + input.readMessage( + getMaxExpireTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000800; + break; + } // case 98 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1619,13 +1455,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object database_ = ""; /** - * - * *
      * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
      * Name of the database from which this backup was
@@ -1635,13 +1468,13 @@ public Builder mergeFrom(
      * 
* * string database = 2 [(.google.api.resource_reference) = { ... } - * * @return The database. */ public java.lang.String getDatabase() { java.lang.Object ref = database_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; @@ -1650,8 +1483,6 @@ public java.lang.String getDatabase() { } } /** - * - * *
      * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
      * Name of the database from which this backup was
@@ -1661,14 +1492,15 @@ public java.lang.String getDatabase() {
      * 
* * string database = 2 [(.google.api.resource_reference) = { ... } - * * @return The bytes for database. */ - public com.google.protobuf.ByteString getDatabaseBytes() { + public com.google.protobuf.ByteString + getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); database_ = b; return b; } else { @@ -1676,8 +1508,6 @@ public com.google.protobuf.ByteString getDatabaseBytes() { } } /** - * - * *
      * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
      * Name of the database from which this backup was
@@ -1687,22 +1517,18 @@ public com.google.protobuf.ByteString getDatabaseBytes() {
      * 
* * string database = 2 [(.google.api.resource_reference) = { ... } - * * @param value The database to set. * @return This builder for chaining. */ - public Builder setDatabase(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabase( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } database_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
      * Name of the database from which this backup was
@@ -1712,7 +1538,6 @@ public Builder setDatabase(java.lang.String value) {
      * 
* * string database = 2 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearDatabase() { @@ -1722,8 +1547,6 @@ public Builder clearDatabase() { return this; } /** - * - * *
      * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
      * Name of the database from which this backup was
@@ -1733,14 +1556,12 @@ public Builder clearDatabase() {
      * 
* * string database = 2 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for database to set. * @return This builder for chaining. */ - public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabaseBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); database_ = value; bitField0_ |= 0x00000001; @@ -1750,13 +1571,8 @@ public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp versionTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - versionTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> versionTimeBuilder_; /** - * - * *
      * The backup will contain an externally consistent copy of the database at
      * the timestamp specified by `version_time`. If `version_time` is not
@@ -1765,15 +1581,12 @@ public Builder setDatabaseBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.protobuf.Timestamp version_time = 9; - * * @return Whether the versionTime field is set. */ public boolean hasVersionTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The backup will contain an externally consistent copy of the database at
      * the timestamp specified by `version_time`. If `version_time` is not
@@ -1782,21 +1595,16 @@ public boolean hasVersionTime() {
      * 
* * .google.protobuf.Timestamp version_time = 9; - * * @return The versionTime. */ public com.google.protobuf.Timestamp getVersionTime() { if (versionTimeBuilder_ == null) { - return versionTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : versionTime_; + return versionTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : versionTime_; } else { return versionTimeBuilder_.getMessage(); } } /** - * - * *
      * The backup will contain an externally consistent copy of the database at
      * the timestamp specified by `version_time`. If `version_time` is not
@@ -1820,8 +1628,6 @@ public Builder setVersionTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The backup will contain an externally consistent copy of the database at
      * the timestamp specified by `version_time`. If `version_time` is not
@@ -1831,7 +1637,8 @@ public Builder setVersionTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp version_time = 9;
      */
-    public Builder setVersionTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setVersionTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (versionTimeBuilder_ == null) {
         versionTime_ = builderForValue.build();
       } else {
@@ -1842,8 +1649,6 @@ public Builder setVersionTime(com.google.protobuf.Timestamp.Builder builderForVa
       return this;
     }
     /**
-     *
-     *
      * 
      * The backup will contain an externally consistent copy of the database at
      * the timestamp specified by `version_time`. If `version_time` is not
@@ -1855,9 +1660,9 @@ public Builder setVersionTime(com.google.protobuf.Timestamp.Builder builderForVa
      */
     public Builder mergeVersionTime(com.google.protobuf.Timestamp value) {
       if (versionTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && versionTime_ != null
-            && versionTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          versionTime_ != null &&
+          versionTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getVersionTimeBuilder().mergeFrom(value);
         } else {
           versionTime_ = value;
@@ -1870,8 +1675,6 @@ public Builder mergeVersionTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The backup will contain an externally consistent copy of the database at
      * the timestamp specified by `version_time`. If `version_time` is not
@@ -1892,8 +1695,6 @@ public Builder clearVersionTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The backup will contain an externally consistent copy of the database at
      * the timestamp specified by `version_time`. If `version_time` is not
@@ -1909,8 +1710,6 @@ public com.google.protobuf.Timestamp.Builder getVersionTimeBuilder() {
       return getVersionTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The backup will contain an externally consistent copy of the database at
      * the timestamp specified by `version_time`. If `version_time` is not
@@ -1924,14 +1723,11 @@ public com.google.protobuf.TimestampOrBuilder getVersionTimeOrBuilder() {
       if (versionTimeBuilder_ != null) {
         return versionTimeBuilder_.getMessageOrBuilder();
       } else {
-        return versionTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : versionTime_;
+        return versionTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : versionTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The backup will contain an externally consistent copy of the database at
      * the timestamp specified by `version_time`. If `version_time` is not
@@ -1942,17 +1738,14 @@ public com.google.protobuf.TimestampOrBuilder getVersionTimeOrBuilder() {
      * .google.protobuf.Timestamp version_time = 9;
      */
     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> 
         getVersionTimeFieldBuilder() {
       if (versionTimeBuilder_ == null) {
-        versionTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getVersionTime(), getParentForChildren(), isClean());
+        versionTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getVersionTime(),
+                getParentForChildren(),
+                isClean());
         versionTime_ = null;
       }
       return versionTimeBuilder_;
@@ -1960,13 +1753,8 @@ public com.google.protobuf.TimestampOrBuilder getVersionTimeOrBuilder() {
 
     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 for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
      * operation. The expiration time of the backup, with microseconds
@@ -1977,15 +1765,12 @@ public com.google.protobuf.TimestampOrBuilder getVersionTimeOrBuilder() {
      * 
* * .google.protobuf.Timestamp expire_time = 3; - * * @return Whether the expireTime field is set. */ public boolean hasExpireTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
      * operation. The expiration time of the backup, with microseconds
@@ -1996,21 +1781,16 @@ public boolean hasExpireTime() {
      * 
* * .google.protobuf.Timestamp expire_time = 3; - * * @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 for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
      * operation. The expiration time of the backup, with microseconds
@@ -2036,8 +1816,6 @@ public Builder setExpireTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
      * operation. The expiration time of the backup, with microseconds
@@ -2049,7 +1827,8 @@ public Builder setExpireTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp expire_time = 3;
      */
-    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 {
@@ -2060,8 +1839,6 @@ public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
      * operation. The expiration time of the backup, with microseconds
@@ -2075,9 +1852,9 @@ public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForVal
      */
     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;
@@ -2090,8 +1867,6 @@ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
      * operation. The expiration time of the backup, with microseconds
@@ -2114,8 +1889,6 @@ public Builder clearExpireTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
      * operation. The expiration time of the backup, with microseconds
@@ -2133,8 +1906,6 @@ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() {
       return getExpireTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
      * operation. The expiration time of the backup, with microseconds
@@ -2150,14 +1921,11 @@ 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 for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
      * operation. The expiration time of the backup, with microseconds
@@ -2170,17 +1938,14 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
      * .google.protobuf.Timestamp expire_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> 
         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_;
@@ -2188,8 +1953,6 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Output only for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
      * Required for the [UpdateBackup][google.spanner.admin.database.v1.DatabaseAdmin.UpdateBackup] operation.
@@ -2205,13 +1968,13 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
      * 
* * 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; @@ -2220,8 +1983,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
      * Required for the [UpdateBackup][google.spanner.admin.database.v1.DatabaseAdmin.UpdateBackup] operation.
@@ -2237,14 +1998,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 { @@ -2252,8 +2014,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
      * Required for the [UpdateBackup][google.spanner.admin.database.v1.DatabaseAdmin.UpdateBackup] operation.
@@ -2269,22 +2029,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_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Output only for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
      * Required for the [UpdateBackup][google.spanner.admin.database.v1.DatabaseAdmin.UpdateBackup] operation.
@@ -2300,7 +2056,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -2310,8 +2065,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Output only for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
      * Required for the [UpdateBackup][google.spanner.admin.database.v1.DatabaseAdmin.UpdateBackup] operation.
@@ -2327,14 +2080,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_ |= 0x00000008; @@ -2344,64 +2095,45 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { 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 the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
      * request is received. If the request does not specify `version_time`, the
      * `version_time` of the backup will be equivalent to the `create_time`.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * Output only. The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
      * request is received. If the request does not specify `version_time`, the
      * `version_time` of the backup will be equivalent to the `create_time`.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @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 the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
      * request is received. If the request does not specify `version_time`, the
      * `version_time` of the backup will be equivalent to the `create_time`.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -2417,19 +2149,16 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
      * request is received. If the request does not specify `version_time`, the
      * `version_time` of the backup will be equivalent to the `create_time`.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - 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 { @@ -2440,23 +2169,19 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
      * request is received. If the request does not specify `version_time`, the
      * `version_time` of the backup will be equivalent to the `create_time`.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -2469,17 +2194,13 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
      * request is received. If the request does not specify `version_time`, the
      * `version_time` of the backup will be equivalent to the `create_time`.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000010); @@ -2492,17 +2213,13 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
      * request is received. If the request does not specify `version_time`, the
      * `version_time` of the backup will be equivalent to the `create_time`.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000010; @@ -2510,67 +2227,52 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
      * request is received. If the request does not specify `version_time`, the
      * `version_time` of the backup will be equivalent to the `create_time`.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ 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 the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
      * request is received. If the request does not specify `version_time`, the
      * `version_time` of the backup will be equivalent to the `create_time`.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ 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 long sizeBytes_; + private long sizeBytes_ ; /** - * - * *
      * Output only. Size of the backup in bytes.
      * 
* * int64 size_bytes = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The sizeBytes. */ @java.lang.Override @@ -2578,33 +2280,27 @@ public long getSizeBytes() { return sizeBytes_; } /** - * - * *
      * Output only. Size of the backup in bytes.
      * 
* * int64 size_bytes = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The sizeBytes to set. * @return This builder for chaining. */ public Builder setSizeBytes(long value) { - + sizeBytes_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * Output only. Size of the backup in bytes.
      * 
* * int64 size_bytes = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearSizeBytes() { @@ -2616,33 +2312,22 @@ public Builder clearSizeBytes() { private int state_ = 0; /** - * - * *
      * Output only. The current state of the backup.
      * 
* - * - * .google.spanner.admin.database.v1.Backup.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.Backup.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Output only. The current state of the backup.
      * 
* - * - * .google.spanner.admin.database.v1.Backup.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.Backup.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -2653,37 +2338,24 @@ public Builder setStateValue(int value) { return this; } /** - * - * *
      * Output only. The current state of the backup.
      * 
* - * - * .google.spanner.admin.database.v1.Backup.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.Backup.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ @java.lang.Override public com.google.spanner.admin.database.v1.Backup.State getState() { - com.google.spanner.admin.database.v1.Backup.State result = - com.google.spanner.admin.database.v1.Backup.State.forNumber(state_); - return result == null - ? com.google.spanner.admin.database.v1.Backup.State.UNRECOGNIZED - : result; + com.google.spanner.admin.database.v1.Backup.State result = com.google.spanner.admin.database.v1.Backup.State.forNumber(state_); + return result == null ? com.google.spanner.admin.database.v1.Backup.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The current state of the backup.
      * 
* - * - * .google.spanner.admin.database.v1.Backup.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.Backup.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The state to set. * @return This builder for chaining. */ @@ -2697,16 +2369,11 @@ public Builder setState(com.google.spanner.admin.database.v1.Backup.State value) return this; } /** - * - * *
      * Output only. The current state of the backup.
      * 
* - * - * .google.spanner.admin.database.v1.Backup.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.Backup.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { @@ -2716,18 +2383,14 @@ public Builder clearState() { return this; } - private com.google.protobuf.LazyStringList referencingDatabases_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList referencingDatabases_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureReferencingDatabasesIsMutable() { if (!((bitField0_ & 0x00000080) != 0)) { referencingDatabases_ = new com.google.protobuf.LazyStringArrayList(referencingDatabases_); bitField0_ |= 0x00000080; - } + } } /** - * - * *
      * Output only. The names of the restored databases that reference the backup.
      * The database names are of
@@ -2738,18 +2401,14 @@ private void ensureReferencingDatabasesIsMutable() {
      * to the backup is removed.
      * 
* - * - * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return A list containing the referencingDatabases. */ - public com.google.protobuf.ProtocolStringList getReferencingDatabasesList() { + public com.google.protobuf.ProtocolStringList + getReferencingDatabasesList() { return referencingDatabases_.getUnmodifiableView(); } /** - * - * *
      * Output only. The names of the restored databases that reference the backup.
      * The database names are of
@@ -2760,18 +2419,13 @@ public com.google.protobuf.ProtocolStringList getReferencingDatabasesList() {
      * to the backup is removed.
      * 
* - * - * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The count of referencingDatabases. */ public int getReferencingDatabasesCount() { return referencingDatabases_.size(); } /** - * - * *
      * Output only. The names of the restored databases that reference the backup.
      * The database names are of
@@ -2782,10 +2436,7 @@ public int getReferencingDatabasesCount() {
      * to the backup is removed.
      * 
* - * - * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param index The index of the element to return. * @return The referencingDatabases at the given index. */ @@ -2793,8 +2444,6 @@ public java.lang.String getReferencingDatabases(int index) { return referencingDatabases_.get(index); } /** - * - * *
      * Output only. The names of the restored databases that reference the backup.
      * The database names are of
@@ -2805,19 +2454,15 @@ public java.lang.String getReferencingDatabases(int index) {
      * to the backup is removed.
      * 
* - * - * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param index The index of the value to return. * @return The bytes of the referencingDatabases at the given index. */ - public com.google.protobuf.ByteString getReferencingDatabasesBytes(int index) { + public com.google.protobuf.ByteString + getReferencingDatabasesBytes(int index) { return referencingDatabases_.getByteString(index); } /** - * - * *
      * Output only. The names of the restored databases that reference the backup.
      * The database names are of
@@ -2828,26 +2473,20 @@ public com.google.protobuf.ByteString getReferencingDatabasesBytes(int index) {
      * to the backup is removed.
      * 
* - * - * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param index The index to set the value at. * @param value The referencingDatabases to set. * @return This builder for chaining. */ - public Builder setReferencingDatabases(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setReferencingDatabases( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureReferencingDatabasesIsMutable(); referencingDatabases_.set(index, value); onChanged(); return this; } /** - * - * *
      * Output only. The names of the restored databases that reference the backup.
      * The database names are of
@@ -2858,25 +2497,19 @@ public Builder setReferencingDatabases(int index, java.lang.String value) {
      * to the backup is removed.
      * 
* - * - * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The referencingDatabases to add. * @return This builder for chaining. */ - public Builder addReferencingDatabases(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addReferencingDatabases( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureReferencingDatabasesIsMutable(); referencingDatabases_.add(value); onChanged(); return this; } /** - * - * *
      * Output only. The names of the restored databases that reference the backup.
      * The database names are of
@@ -2887,22 +2520,19 @@ public Builder addReferencingDatabases(java.lang.String value) {
      * to the backup is removed.
      * 
* - * - * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param values The referencingDatabases to add. * @return This builder for chaining. */ - public Builder addAllReferencingDatabases(java.lang.Iterable values) { + public Builder addAllReferencingDatabases( + java.lang.Iterable values) { ensureReferencingDatabasesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, referencingDatabases_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, referencingDatabases_); onChanged(); return this; } /** - * - * *
      * Output only. The names of the restored databases that reference the backup.
      * The database names are of
@@ -2913,10 +2543,7 @@ public Builder addAllReferencingDatabases(java.lang.Iterable v
      * to the backup is removed.
      * 
* - * - * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearReferencingDatabases() { @@ -2926,8 +2553,6 @@ public Builder clearReferencingDatabases() { return this; } /** - * - * *
      * Output only. The names of the restored databases that reference the backup.
      * The database names are of
@@ -2938,17 +2563,13 @@ public Builder clearReferencingDatabases() {
      * to the backup is removed.
      * 
* - * - * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The bytes of the referencingDatabases to add. * @return This builder for chaining. */ - public Builder addReferencingDatabasesBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addReferencingDatabasesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureReferencingDatabasesIsMutable(); referencingDatabases_.add(value); @@ -2958,58 +2579,39 @@ public Builder addReferencingDatabasesBytes(com.google.protobuf.ByteString value private com.google.spanner.admin.database.v1.EncryptionInfo encryptionInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.EncryptionInfo, - com.google.spanner.admin.database.v1.EncryptionInfo.Builder, - com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder> - encryptionInfoBuilder_; + com.google.spanner.admin.database.v1.EncryptionInfo, com.google.spanner.admin.database.v1.EncryptionInfo.Builder, com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder> encryptionInfoBuilder_; /** - * - * *
      * Output only. The encryption information for the backup.
      * 
* - * - * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the encryptionInfo field is set. */ public boolean hasEncryptionInfo() { return ((bitField0_ & 0x00000100) != 0); } /** - * - * *
      * Output only. The encryption information for the backup.
      * 
* - * - * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionInfo. */ public com.google.spanner.admin.database.v1.EncryptionInfo getEncryptionInfo() { if (encryptionInfoBuilder_ == null) { - return encryptionInfo_ == null - ? com.google.spanner.admin.database.v1.EncryptionInfo.getDefaultInstance() - : encryptionInfo_; + return encryptionInfo_ == null ? com.google.spanner.admin.database.v1.EncryptionInfo.getDefaultInstance() : encryptionInfo_; } else { return encryptionInfoBuilder_.getMessage(); } } /** - * - * *
      * Output only. The encryption information for the backup.
      * 
* - * - * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEncryptionInfo(com.google.spanner.admin.database.v1.EncryptionInfo value) { if (encryptionInfoBuilder_ == null) { @@ -3025,15 +2627,11 @@ public Builder setEncryptionInfo(com.google.spanner.admin.database.v1.Encryption return this; } /** - * - * *
      * Output only. The encryption information for the backup.
      * 
* - * - * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEncryptionInfo( com.google.spanner.admin.database.v1.EncryptionInfo.Builder builderForValue) { @@ -3047,22 +2645,17 @@ public Builder setEncryptionInfo( return this; } /** - * - * *
      * Output only. The encryption information for the backup.
      * 
* - * - * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeEncryptionInfo(com.google.spanner.admin.database.v1.EncryptionInfo value) { if (encryptionInfoBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0) - && encryptionInfo_ != null - && encryptionInfo_ - != com.google.spanner.admin.database.v1.EncryptionInfo.getDefaultInstance()) { + if (((bitField0_ & 0x00000100) != 0) && + encryptionInfo_ != null && + encryptionInfo_ != com.google.spanner.admin.database.v1.EncryptionInfo.getDefaultInstance()) { getEncryptionInfoBuilder().mergeFrom(value); } else { encryptionInfo_ = value; @@ -3075,15 +2668,11 @@ public Builder mergeEncryptionInfo(com.google.spanner.admin.database.v1.Encrypti return this; } /** - * - * *
      * Output only. The encryption information for the backup.
      * 
* - * - * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearEncryptionInfo() { bitField0_ = (bitField0_ & ~0x00000100); @@ -3096,15 +2685,11 @@ public Builder clearEncryptionInfo() { return this; } /** - * - * *
      * Output only. The encryption information for the backup.
      * 
* - * - * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.spanner.admin.database.v1.EncryptionInfo.Builder getEncryptionInfoBuilder() { bitField0_ |= 0x00000100; @@ -3112,49 +2697,36 @@ public com.google.spanner.admin.database.v1.EncryptionInfo.Builder getEncryption return getEncryptionInfoFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The encryption information for the backup.
      * 
* - * - * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder - getEncryptionInfoOrBuilder() { + public com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder() { if (encryptionInfoBuilder_ != null) { return encryptionInfoBuilder_.getMessageOrBuilder(); } else { - return encryptionInfo_ == null - ? com.google.spanner.admin.database.v1.EncryptionInfo.getDefaultInstance() - : encryptionInfo_; + return encryptionInfo_ == null ? + com.google.spanner.admin.database.v1.EncryptionInfo.getDefaultInstance() : encryptionInfo_; } } /** - * - * *
      * Output only. The encryption information for the backup.
      * 
* - * - * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.EncryptionInfo, - com.google.spanner.admin.database.v1.EncryptionInfo.Builder, - com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder> + com.google.spanner.admin.database.v1.EncryptionInfo, com.google.spanner.admin.database.v1.EncryptionInfo.Builder, com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder> getEncryptionInfoFieldBuilder() { if (encryptionInfoBuilder_ == null) { - encryptionInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.EncryptionInfo, - com.google.spanner.admin.database.v1.EncryptionInfo.Builder, - com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder>( - getEncryptionInfo(), getParentForChildren(), isClean()); + encryptionInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.admin.database.v1.EncryptionInfo, com.google.spanner.admin.database.v1.EncryptionInfo.Builder, com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder>( + getEncryptionInfo(), + getParentForChildren(), + isClean()); encryptionInfo_ = null; } return encryptionInfoBuilder_; @@ -3162,33 +2734,22 @@ public com.google.spanner.admin.database.v1.EncryptionInfo.Builder getEncryption private int databaseDialect_ = 0; /** - * - * *
      * Output only. The database dialect information for the backup.
      * 
* - * - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for databaseDialect. */ - @java.lang.Override - public int getDatabaseDialectValue() { + @java.lang.Override public int getDatabaseDialectValue() { return databaseDialect_; } /** - * - * *
      * Output only. The database dialect information for the backup.
      * 
* - * - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for databaseDialect to set. * @return This builder for chaining. */ @@ -3199,37 +2760,24 @@ public Builder setDatabaseDialectValue(int value) { return this; } /** - * - * *
      * Output only. The database dialect information for the backup.
      * 
* - * - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The databaseDialect. */ @java.lang.Override public com.google.spanner.admin.database.v1.DatabaseDialect getDatabaseDialect() { - com.google.spanner.admin.database.v1.DatabaseDialect result = - com.google.spanner.admin.database.v1.DatabaseDialect.forNumber(databaseDialect_); - return result == null - ? com.google.spanner.admin.database.v1.DatabaseDialect.UNRECOGNIZED - : result; + com.google.spanner.admin.database.v1.DatabaseDialect result = com.google.spanner.admin.database.v1.DatabaseDialect.forNumber(databaseDialect_); + return result == null ? com.google.spanner.admin.database.v1.DatabaseDialect.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The database dialect information for the backup.
      * 
* - * - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The databaseDialect to set. * @return This builder for chaining. */ @@ -3243,16 +2791,11 @@ public Builder setDatabaseDialect(com.google.spanner.admin.database.v1.DatabaseD return this; } /** - * - * *
      * Output only. The database dialect information for the backup.
      * 
* - * - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearDatabaseDialect() { @@ -3262,18 +2805,14 @@ public Builder clearDatabaseDialect() { return this; } - private com.google.protobuf.LazyStringList referencingBackups_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList referencingBackups_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureReferencingBackupsIsMutable() { if (!((bitField0_ & 0x00000400) != 0)) { referencingBackups_ = new com.google.protobuf.LazyStringArrayList(referencingBackups_); bitField0_ |= 0x00000400; - } + } } /** - * - * *
      * Output only. The names of the destination backups being created by copying
      * this source backup. The backup names are of the form
@@ -3284,18 +2823,14 @@ private void ensureReferencingBackupsIsMutable() {
      * destination backup is deleted), the reference to the backup is removed.
      * 
* - * - * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return A list containing the referencingBackups. */ - public com.google.protobuf.ProtocolStringList getReferencingBackupsList() { + public com.google.protobuf.ProtocolStringList + getReferencingBackupsList() { return referencingBackups_.getUnmodifiableView(); } /** - * - * *
      * Output only. The names of the destination backups being created by copying
      * this source backup. The backup names are of the form
@@ -3306,18 +2841,13 @@ public com.google.protobuf.ProtocolStringList getReferencingBackupsList() {
      * destination backup is deleted), the reference to the backup is removed.
      * 
* - * - * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The count of referencingBackups. */ public int getReferencingBackupsCount() { return referencingBackups_.size(); } /** - * - * *
      * Output only. The names of the destination backups being created by copying
      * this source backup. The backup names are of the form
@@ -3328,10 +2858,7 @@ public int getReferencingBackupsCount() {
      * destination backup is deleted), the reference to the backup is removed.
      * 
* - * - * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param index The index of the element to return. * @return The referencingBackups at the given index. */ @@ -3339,8 +2866,6 @@ public java.lang.String getReferencingBackups(int index) { return referencingBackups_.get(index); } /** - * - * *
      * Output only. The names of the destination backups being created by copying
      * this source backup. The backup names are of the form
@@ -3351,19 +2876,15 @@ public java.lang.String getReferencingBackups(int index) {
      * destination backup is deleted), the reference to the backup is removed.
      * 
* - * - * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param index The index of the value to return. * @return The bytes of the referencingBackups at the given index. */ - public com.google.protobuf.ByteString getReferencingBackupsBytes(int index) { + public com.google.protobuf.ByteString + getReferencingBackupsBytes(int index) { return referencingBackups_.getByteString(index); } /** - * - * *
      * Output only. The names of the destination backups being created by copying
      * this source backup. The backup names are of the form
@@ -3374,26 +2895,20 @@ public com.google.protobuf.ByteString getReferencingBackupsBytes(int index) {
      * destination backup is deleted), the reference to the backup is removed.
      * 
* - * - * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param index The index to set the value at. * @param value The referencingBackups to set. * @return This builder for chaining. */ - public Builder setReferencingBackups(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setReferencingBackups( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureReferencingBackupsIsMutable(); referencingBackups_.set(index, value); onChanged(); return this; } /** - * - * *
      * Output only. The names of the destination backups being created by copying
      * this source backup. The backup names are of the form
@@ -3404,25 +2919,19 @@ public Builder setReferencingBackups(int index, java.lang.String value) {
      * destination backup is deleted), the reference to the backup is removed.
      * 
* - * - * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The referencingBackups to add. * @return This builder for chaining. */ - public Builder addReferencingBackups(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addReferencingBackups( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureReferencingBackupsIsMutable(); referencingBackups_.add(value); onChanged(); return this; } /** - * - * *
      * Output only. The names of the destination backups being created by copying
      * this source backup. The backup names are of the form
@@ -3433,22 +2942,19 @@ public Builder addReferencingBackups(java.lang.String value) {
      * destination backup is deleted), the reference to the backup is removed.
      * 
* - * - * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param values The referencingBackups to add. * @return This builder for chaining. */ - public Builder addAllReferencingBackups(java.lang.Iterable values) { + public Builder addAllReferencingBackups( + java.lang.Iterable values) { ensureReferencingBackupsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, referencingBackups_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, referencingBackups_); onChanged(); return this; } /** - * - * *
      * Output only. The names of the destination backups being created by copying
      * this source backup. The backup names are of the form
@@ -3459,10 +2965,7 @@ public Builder addAllReferencingBackups(java.lang.Iterable val
      * destination backup is deleted), the reference to the backup is removed.
      * 
* - * - * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearReferencingBackups() { @@ -3472,8 +2975,6 @@ public Builder clearReferencingBackups() { return this; } /** - * - * *
      * Output only. The names of the destination backups being created by copying
      * this source backup. The backup names are of the form
@@ -3484,17 +2985,13 @@ public Builder clearReferencingBackups() {
      * destination backup is deleted), the reference to the backup is removed.
      * 
* - * - * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The bytes of the referencingBackups to add. * @return This builder for chaining. */ - public Builder addReferencingBackupsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addReferencingBackupsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureReferencingBackupsIsMutable(); referencingBackups_.add(value); @@ -3504,13 +3001,8 @@ public Builder addReferencingBackupsBytes(com.google.protobuf.ByteString value) private com.google.protobuf.Timestamp maxExpireTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - maxExpireTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> maxExpireTimeBuilder_; /** - * - * *
      * Output only. The max allowed expiration time of the backup, with
      * microseconds granularity. A backup's expiration time can be configured in
@@ -3519,18 +3011,13 @@ public Builder addReferencingBackupsBytes(com.google.protobuf.ByteString value)
      * less than `Backup.max_expire_time`.
      * 
* - * - * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the maxExpireTime field is set. */ public boolean hasMaxExpireTime() { return ((bitField0_ & 0x00000800) != 0); } /** - * - * *
      * Output only. The max allowed expiration time of the backup, with
      * microseconds granularity. A backup's expiration time can be configured in
@@ -3539,24 +3026,17 @@ public boolean hasMaxExpireTime() {
      * less than `Backup.max_expire_time`.
      * 
* - * - * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The maxExpireTime. */ public com.google.protobuf.Timestamp getMaxExpireTime() { if (maxExpireTimeBuilder_ == null) { - return maxExpireTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : maxExpireTime_; + return maxExpireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : maxExpireTime_; } else { return maxExpireTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The max allowed expiration time of the backup, with
      * microseconds granularity. A backup's expiration time can be configured in
@@ -3565,9 +3045,7 @@ public com.google.protobuf.Timestamp getMaxExpireTime() {
      * less than `Backup.max_expire_time`.
      * 
* - * - * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setMaxExpireTime(com.google.protobuf.Timestamp value) { if (maxExpireTimeBuilder_ == null) { @@ -3583,8 +3061,6 @@ public Builder setMaxExpireTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The max allowed expiration time of the backup, with
      * microseconds granularity. A backup's expiration time can be configured in
@@ -3593,11 +3069,10 @@ public Builder setMaxExpireTime(com.google.protobuf.Timestamp value) {
      * less than `Backup.max_expire_time`.
      * 
* - * - * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setMaxExpireTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setMaxExpireTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (maxExpireTimeBuilder_ == null) { maxExpireTime_ = builderForValue.build(); } else { @@ -3608,8 +3083,6 @@ public Builder setMaxExpireTime(com.google.protobuf.Timestamp.Builder builderFor return this; } /** - * - * *
      * Output only. The max allowed expiration time of the backup, with
      * microseconds granularity. A backup's expiration time can be configured in
@@ -3618,15 +3091,13 @@ public Builder setMaxExpireTime(com.google.protobuf.Timestamp.Builder builderFor
      * less than `Backup.max_expire_time`.
      * 
* - * - * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeMaxExpireTime(com.google.protobuf.Timestamp value) { if (maxExpireTimeBuilder_ == null) { - if (((bitField0_ & 0x00000800) != 0) - && maxExpireTime_ != null - && maxExpireTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000800) != 0) && + maxExpireTime_ != null && + maxExpireTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getMaxExpireTimeBuilder().mergeFrom(value); } else { maxExpireTime_ = value; @@ -3639,8 +3110,6 @@ public Builder mergeMaxExpireTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The max allowed expiration time of the backup, with
      * microseconds granularity. A backup's expiration time can be configured in
@@ -3649,9 +3118,7 @@ public Builder mergeMaxExpireTime(com.google.protobuf.Timestamp value) {
      * less than `Backup.max_expire_time`.
      * 
* - * - * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearMaxExpireTime() { bitField0_ = (bitField0_ & ~0x00000800); @@ -3664,8 +3131,6 @@ public Builder clearMaxExpireTime() { return this; } /** - * - * *
      * Output only. The max allowed expiration time of the backup, with
      * microseconds granularity. A backup's expiration time can be configured in
@@ -3674,9 +3139,7 @@ public Builder clearMaxExpireTime() {
      * less than `Backup.max_expire_time`.
      * 
* - * - * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getMaxExpireTimeBuilder() { bitField0_ |= 0x00000800; @@ -3684,8 +3147,6 @@ public com.google.protobuf.Timestamp.Builder getMaxExpireTimeBuilder() { return getMaxExpireTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The max allowed expiration time of the backup, with
      * microseconds granularity. A backup's expiration time can be configured in
@@ -3694,22 +3155,17 @@ public com.google.protobuf.Timestamp.Builder getMaxExpireTimeBuilder() {
      * less than `Backup.max_expire_time`.
      * 
* - * - * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getMaxExpireTimeOrBuilder() { if (maxExpireTimeBuilder_ != null) { return maxExpireTimeBuilder_.getMessageOrBuilder(); } else { - return maxExpireTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : maxExpireTime_; + return maxExpireTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : maxExpireTime_; } } /** - * - * *
      * Output only. The max allowed expiration time of the backup, with
      * microseconds granularity. A backup's expiration time can be configured in
@@ -3718,29 +3174,24 @@ public com.google.protobuf.TimestampOrBuilder getMaxExpireTimeOrBuilder() {
      * less than `Backup.max_expire_time`.
      * 
* - * - * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp max_expire_time = 12 [(.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> getMaxExpireTimeFieldBuilder() { if (maxExpireTimeBuilder_ == null) { - maxExpireTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getMaxExpireTime(), getParentForChildren(), isClean()); + maxExpireTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getMaxExpireTime(), + getParentForChildren(), + isClean()); maxExpireTime_ = null; } return maxExpireTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3750,12 +3201,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.Backup) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.Backup) private static final com.google.spanner.admin.database.v1.Backup DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.Backup(); } @@ -3764,27 +3215,27 @@ public static com.google.spanner.admin.database.v1.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; @@ -3799,4 +3250,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.Backup getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupInfo.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupInfo.java similarity index 73% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupInfo.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupInfo.java index 978bcbcccb9..1ac901593e6 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupInfo.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/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/spanner/admin/database/v1/backup.proto package com.google.spanner.admin.database.v1; /** - * - * *
  * Information about a backup.
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.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.spanner.admin.database.v1.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_ = ""; sourceDatabase_ = ""; @@ -44,43 +26,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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_BackupInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_BackupInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_BackupInfo_fieldAccessorTable + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_BackupInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.BackupInfo.class, - com.google.spanner.admin.database.v1.BackupInfo.Builder.class); + com.google.spanner.admin.database.v1.BackupInfo.class, com.google.spanner.admin.database.v1.BackupInfo.Builder.class); } public static final int BACKUP_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object backup_ = ""; /** - * - * *
    * Name of the backup.
    * 
* * string backup = 1 [(.google.api.resource_reference) = { ... } - * * @return The backup. */ @java.lang.Override @@ -89,29 +66,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; } } /** - * - * *
    * Name of the backup.
    * 
* * string backup = 1 [(.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 = 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 { @@ -122,8 +99,6 @@ public com.google.protobuf.ByteString getBackupBytes() { public static final int VERSION_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp versionTime_; /** - * - * *
    * The backup contains an externally consistent copy of `source_database` at
    * the timestamp specified by `version_time`. If the
@@ -133,7 +108,6 @@ public com.google.protobuf.ByteString getBackupBytes() {
    * 
* * .google.protobuf.Timestamp version_time = 4; - * * @return Whether the versionTime field is set. */ @java.lang.Override @@ -141,8 +115,6 @@ public boolean hasVersionTime() { return versionTime_ != null; } /** - * - * *
    * The backup contains an externally consistent copy of `source_database` at
    * the timestamp specified by `version_time`. If the
@@ -152,7 +124,6 @@ public boolean hasVersionTime() {
    * 
* * .google.protobuf.Timestamp version_time = 4; - * * @return The versionTime. */ @java.lang.Override @@ -160,8 +131,6 @@ public com.google.protobuf.Timestamp getVersionTime() { return versionTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : versionTime_; } /** - * - * *
    * The backup contains an externally consistent copy of `source_database` at
    * the timestamp specified by `version_time`. If the
@@ -180,15 +149,12 @@ public com.google.protobuf.TimestampOrBuilder getVersionTimeOrBuilder() {
   public static final int CREATE_TIME_FIELD_NUMBER = 2;
   private com.google.protobuf.Timestamp createTime_;
   /**
-   *
-   *
    * 
    * The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was
    * received.
    * 
* * .google.protobuf.Timestamp create_time = 2; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -196,15 +162,12 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was
    * received.
    * 
* * .google.protobuf.Timestamp create_time = 2; - * * @return The createTime. */ @java.lang.Override @@ -212,8 +175,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was
    * received.
@@ -227,18 +188,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
   }
 
   public static final int SOURCE_DATABASE_FIELD_NUMBER = 3;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object sourceDatabase_ = "";
   /**
-   *
-   *
    * 
    * Name of the database the backup was created from.
    * 
* * string source_database = 3 [(.google.api.resource_reference) = { ... } - * * @return The sourceDatabase. */ @java.lang.Override @@ -247,29 +204,29 @@ public java.lang.String getSourceDatabase() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceDatabase_ = s; return s; } } /** - * - * *
    * Name of the database the backup was created from.
    * 
* * string source_database = 3 [(.google.api.resource_reference) = { ... } - * * @return The bytes for sourceDatabase. */ @java.lang.Override - public com.google.protobuf.ByteString getSourceDatabaseBytes() { + public com.google.protobuf.ByteString + getSourceDatabaseBytes() { java.lang.Object ref = sourceDatabase_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceDatabase_ = b; return b; } else { @@ -278,7 +235,6 @@ public com.google.protobuf.ByteString getSourceDatabaseBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -290,7 +246,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(backup_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, backup_); } @@ -316,13 +273,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, backup_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getCreateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceDatabase_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, sourceDatabase_); } if (versionTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getVersionTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getVersionTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -332,24 +291,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.spanner.admin.database.v1.BackupInfo)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.BackupInfo other = - (com.google.spanner.admin.database.v1.BackupInfo) obj; + com.google.spanner.admin.database.v1.BackupInfo other = (com.google.spanner.admin.database.v1.BackupInfo) obj; - if (!getBackup().equals(other.getBackup())) return false; + if (!getBackup() + .equals(other.getBackup())) return false; if (hasVersionTime() != other.hasVersionTime()) return false; if (hasVersionTime()) { - if (!getVersionTime().equals(other.getVersionTime())) return false; + if (!getVersionTime() + .equals(other.getVersionTime())) 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 (!getSourceDatabase().equals(other.getSourceDatabase())) return false; + if (!getSourceDatabase() + .equals(other.getSourceDatabase())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -378,136 +340,130 @@ public int hashCode() { return hash; } - public static com.google.spanner.admin.database.v1.BackupInfo parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.admin.database.v1.BackupInfo parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.BackupInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.BackupInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.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.spanner.admin.database.v1.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.spanner.admin.database.v1.BackupInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.BackupInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.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.spanner.admin.database.v1.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.spanner.admin.database.v1.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.spanner.admin.database.v1.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.spanner.admin.database.v1.BackupInfo) com.google.spanner.admin.database.v1.BackupInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_BackupInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_BackupInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_BackupInfo_fieldAccessorTable + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_BackupInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.BackupInfo.class, - com.google.spanner.admin.database.v1.BackupInfo.Builder.class); + com.google.spanner.admin.database.v1.BackupInfo.class, com.google.spanner.admin.database.v1.BackupInfo.Builder.class); } // Construct using com.google.spanner.admin.database.v1.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(); @@ -528,9 +484,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_BackupInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_BackupInfo_descriptor; } @java.lang.Override @@ -549,11 +505,8 @@ public com.google.spanner.admin.database.v1.BackupInfo build() { @java.lang.Override public com.google.spanner.admin.database.v1.BackupInfo buildPartial() { - com.google.spanner.admin.database.v1.BackupInfo result = - new com.google.spanner.admin.database.v1.BackupInfo(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.admin.database.v1.BackupInfo result = new com.google.spanner.admin.database.v1.BackupInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -564,11 +517,14 @@ private void buildPartial0(com.google.spanner.admin.database.v1.BackupInfo resul result.backup_ = backup_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.versionTime_ = - versionTimeBuilder_ == null ? versionTime_ : versionTimeBuilder_.build(); + result.versionTime_ = versionTimeBuilder_ == null + ? versionTime_ + : versionTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null + ? createTime_ + : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.sourceDatabase_ = sourceDatabase_; @@ -579,39 +535,38 @@ private void buildPartial0(com.google.spanner.admin.database.v1.BackupInfo 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.spanner.admin.database.v1.BackupInfo) { - return mergeFrom((com.google.spanner.admin.database.v1.BackupInfo) other); + return mergeFrom((com.google.spanner.admin.database.v1.BackupInfo)other); } else { super.mergeFrom(other); return this; @@ -619,8 +574,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.admin.database.v1.BackupInfo other) { - if (other == com.google.spanner.admin.database.v1.BackupInfo.getDefaultInstance()) - return this; + if (other == com.google.spanner.admin.database.v1.BackupInfo.getDefaultInstance()) return this; if (!other.getBackup().isEmpty()) { backup_ = other.backup_; bitField0_ |= 0x00000001; @@ -663,37 +617,36 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - backup_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 18 - case 26: - { - sourceDatabase_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 26 - case 34: - { - input.readMessage(getVersionTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - 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( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 18 + case 26: { + sourceDatabase_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 26 + case 34: { + input.readMessage( + getVersionTimeFieldBuilder().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) { @@ -703,25 +656,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object backup_ = ""; /** - * - * *
      * Name of the backup.
      * 
* * string backup = 1 [(.google.api.resource_reference) = { ... } - * * @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; @@ -730,21 +680,20 @@ public java.lang.String getBackup() { } } /** - * - * *
      * Name of the backup.
      * 
* * string backup = 1 [(.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 = 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 { @@ -752,35 +701,28 @@ public com.google.protobuf.ByteString getBackupBytes() { } } /** - * - * *
      * Name of the backup.
      * 
* * string backup = 1 [(.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(); } backup_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Name of the backup.
      * 
* * string backup = 1 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearBackup() { @@ -790,21 +732,17 @@ public Builder clearBackup() { return this; } /** - * - * *
      * Name of the backup.
      * 
* * string backup = 1 [(.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); backup_ = value; bitField0_ |= 0x00000001; @@ -814,13 +752,8 @@ public Builder setBackupBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp versionTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - versionTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> versionTimeBuilder_; /** - * - * *
      * The backup contains an externally consistent copy of `source_database` at
      * the timestamp specified by `version_time`. If the
@@ -830,15 +763,12 @@ public Builder setBackupBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.protobuf.Timestamp version_time = 4; - * * @return Whether the versionTime field is set. */ public boolean hasVersionTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The backup contains an externally consistent copy of `source_database` at
      * the timestamp specified by `version_time`. If the
@@ -848,21 +778,16 @@ public boolean hasVersionTime() {
      * 
* * .google.protobuf.Timestamp version_time = 4; - * * @return The versionTime. */ public com.google.protobuf.Timestamp getVersionTime() { if (versionTimeBuilder_ == null) { - return versionTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : versionTime_; + return versionTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : versionTime_; } else { return versionTimeBuilder_.getMessage(); } } /** - * - * *
      * The backup contains an externally consistent copy of `source_database` at
      * the timestamp specified by `version_time`. If the
@@ -887,8 +812,6 @@ public Builder setVersionTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The backup contains an externally consistent copy of `source_database` at
      * the timestamp specified by `version_time`. If the
@@ -899,7 +822,8 @@ public Builder setVersionTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp version_time = 4;
      */
-    public Builder setVersionTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setVersionTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (versionTimeBuilder_ == null) {
         versionTime_ = builderForValue.build();
       } else {
@@ -910,8 +834,6 @@ public Builder setVersionTime(com.google.protobuf.Timestamp.Builder builderForVa
       return this;
     }
     /**
-     *
-     *
      * 
      * The backup contains an externally consistent copy of `source_database` at
      * the timestamp specified by `version_time`. If the
@@ -924,9 +846,9 @@ public Builder setVersionTime(com.google.protobuf.Timestamp.Builder builderForVa
      */
     public Builder mergeVersionTime(com.google.protobuf.Timestamp value) {
       if (versionTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && versionTime_ != null
-            && versionTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          versionTime_ != null &&
+          versionTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getVersionTimeBuilder().mergeFrom(value);
         } else {
           versionTime_ = value;
@@ -939,8 +861,6 @@ public Builder mergeVersionTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The backup contains an externally consistent copy of `source_database` at
      * the timestamp specified by `version_time`. If the
@@ -962,8 +882,6 @@ public Builder clearVersionTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The backup contains an externally consistent copy of `source_database` at
      * the timestamp specified by `version_time`. If the
@@ -980,8 +898,6 @@ public com.google.protobuf.Timestamp.Builder getVersionTimeBuilder() {
       return getVersionTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The backup contains an externally consistent copy of `source_database` at
      * the timestamp specified by `version_time`. If the
@@ -996,14 +912,11 @@ public com.google.protobuf.TimestampOrBuilder getVersionTimeOrBuilder() {
       if (versionTimeBuilder_ != null) {
         return versionTimeBuilder_.getMessageOrBuilder();
       } else {
-        return versionTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : versionTime_;
+        return versionTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : versionTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The backup contains an externally consistent copy of `source_database` at
      * the timestamp specified by `version_time`. If the
@@ -1015,17 +928,14 @@ public com.google.protobuf.TimestampOrBuilder getVersionTimeOrBuilder() {
      * .google.protobuf.Timestamp version_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> 
         getVersionTimeFieldBuilder() {
       if (versionTimeBuilder_ == null) {
-        versionTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getVersionTime(), getParentForChildren(), isClean());
+        versionTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getVersionTime(),
+                getParentForChildren(),
+                isClean());
         versionTime_ = null;
       }
       return versionTimeBuilder_;
@@ -1033,49 +943,36 @@ public com.google.protobuf.TimestampOrBuilder getVersionTimeOrBuilder() {
 
     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_;
     /**
-     *
-     *
      * 
      * The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was
      * received.
      * 
* * .google.protobuf.Timestamp create_time = 2; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was
      * received.
      * 
* * .google.protobuf.Timestamp create_time = 2; - * * @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(); } } /** - * - * *
      * The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was
      * received.
@@ -1097,8 +994,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was
      * received.
@@ -1106,7 +1001,8 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp create_time = 2;
      */
-    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 {
@@ -1117,8 +1013,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was
      * received.
@@ -1128,9 +1022,9 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal
      */
     public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
       if (createTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0)
-            && createTime_ != null
-            && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0) &&
+          createTime_ != null &&
+          createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getCreateTimeBuilder().mergeFrom(value);
         } else {
           createTime_ = value;
@@ -1143,8 +1037,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was
      * received.
@@ -1163,8 +1055,6 @@ public Builder clearCreateTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was
      * received.
@@ -1178,8 +1068,6 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() {
       return getCreateTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was
      * received.
@@ -1191,14 +1079,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_;
       }
     }
     /**
-     *
-     *
      * 
      * The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was
      * received.
@@ -1207,17 +1092,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * .google.protobuf.Timestamp create_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> 
         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_;
@@ -1225,20 +1107,18 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
 
     private java.lang.Object sourceDatabase_ = "";
     /**
-     *
-     *
      * 
      * Name of the database the backup was created from.
      * 
* * string source_database = 3 [(.google.api.resource_reference) = { ... } - * * @return The sourceDatabase. */ public java.lang.String getSourceDatabase() { java.lang.Object ref = sourceDatabase_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceDatabase_ = s; return s; @@ -1247,21 +1127,20 @@ public java.lang.String getSourceDatabase() { } } /** - * - * *
      * Name of the database the backup was created from.
      * 
* * string source_database = 3 [(.google.api.resource_reference) = { ... } - * * @return The bytes for sourceDatabase. */ - public com.google.protobuf.ByteString getSourceDatabaseBytes() { + public com.google.protobuf.ByteString + getSourceDatabaseBytes() { java.lang.Object ref = sourceDatabase_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceDatabase_ = b; return b; } else { @@ -1269,35 +1148,28 @@ public com.google.protobuf.ByteString getSourceDatabaseBytes() { } } /** - * - * *
      * Name of the database the backup was created from.
      * 
* * string source_database = 3 [(.google.api.resource_reference) = { ... } - * * @param value The sourceDatabase to set. * @return This builder for chaining. */ - public Builder setSourceDatabase(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceDatabase( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } sourceDatabase_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Name of the database the backup was created from.
      * 
* * string source_database = 3 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearSourceDatabase() { @@ -1307,30 +1179,26 @@ public Builder clearSourceDatabase() { return this; } /** - * - * *
      * Name of the database the backup was created from.
      * 
* * string source_database = 3 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for sourceDatabase to set. * @return This builder for chaining. */ - public Builder setSourceDatabaseBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceDatabaseBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sourceDatabase_ = 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); } @@ -1340,12 +1208,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.BackupInfo) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.BackupInfo) private static final com.google.spanner.admin.database.v1.BackupInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.BackupInfo(); } @@ -1354,27 +1222,27 @@ public static com.google.spanner.admin.database.v1.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; @@ -1389,4 +1257,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.BackupInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupInfoOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupInfoOrBuilder.java similarity index 80% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupInfoOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupInfoOrBuilder.java index 0d3766f1a33..5cad0cc423e 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupInfoOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupInfoOrBuilder.java @@ -1,56 +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/spanner/admin/database/v1/backup.proto package com.google.spanner.admin.database.v1; -public interface BackupInfoOrBuilder - extends +public interface BackupInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.BackupInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Name of the backup.
    * 
* * string backup = 1 [(.google.api.resource_reference) = { ... } - * * @return The backup. */ java.lang.String getBackup(); /** - * - * *
    * Name of the backup.
    * 
* * string backup = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for backup. */ - com.google.protobuf.ByteString getBackupBytes(); + com.google.protobuf.ByteString + getBackupBytes(); /** - * - * *
    * The backup contains an externally consistent copy of `source_database` at
    * the timestamp specified by `version_time`. If the
@@ -60,13 +37,10 @@ public interface BackupInfoOrBuilder
    * 
* * .google.protobuf.Timestamp version_time = 4; - * * @return Whether the versionTime field is set. */ boolean hasVersionTime(); /** - * - * *
    * The backup contains an externally consistent copy of `source_database` at
    * the timestamp specified by `version_time`. If the
@@ -76,13 +50,10 @@ public interface BackupInfoOrBuilder
    * 
* * .google.protobuf.Timestamp version_time = 4; - * * @return The versionTime. */ com.google.protobuf.Timestamp getVersionTime(); /** - * - * *
    * The backup contains an externally consistent copy of `source_database` at
    * the timestamp specified by `version_time`. If the
@@ -96,34 +67,26 @@ public interface BackupInfoOrBuilder
   com.google.protobuf.TimestampOrBuilder getVersionTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was
    * received.
    * 
* * .google.protobuf.Timestamp create_time = 2; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was
    * received.
    * 
* * .google.protobuf.Timestamp create_time = 2; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was
    * received.
@@ -134,27 +97,22 @@ public interface BackupInfoOrBuilder
   com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Name of the database the backup was created from.
    * 
* * string source_database = 3 [(.google.api.resource_reference) = { ... } - * * @return The sourceDatabase. */ java.lang.String getSourceDatabase(); /** - * - * *
    * Name of the database the backup was created from.
    * 
* * string source_database = 3 [(.google.api.resource_reference) = { ... } - * * @return The bytes for sourceDatabase. */ - com.google.protobuf.ByteString getSourceDatabaseBytes(); + com.google.protobuf.ByteString + getSourceDatabaseBytes(); } diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupName.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupName.java similarity index 100% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupName.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupName.java diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupOrBuilder.java similarity index 78% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupOrBuilder.java index e3fe5ccf08c..12028d40783 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/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/spanner/admin/database/v1/backup.proto package com.google.spanner.admin.database.v1; -public interface BackupOrBuilder - extends +public interface BackupOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.Backup) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
    * Name of the database from which this backup was
@@ -35,13 +17,10 @@ public interface BackupOrBuilder
    * 
* * string database = 2 [(.google.api.resource_reference) = { ... } - * * @return The database. */ java.lang.String getDatabase(); /** - * - * *
    * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
    * Name of the database from which this backup was
@@ -51,14 +30,12 @@ public interface BackupOrBuilder
    * 
* * string database = 2 [(.google.api.resource_reference) = { ... } - * * @return The bytes for database. */ - com.google.protobuf.ByteString getDatabaseBytes(); + com.google.protobuf.ByteString + getDatabaseBytes(); /** - * - * *
    * The backup will contain an externally consistent copy of the database at
    * the timestamp specified by `version_time`. If `version_time` is not
@@ -67,13 +44,10 @@ public interface BackupOrBuilder
    * 
* * .google.protobuf.Timestamp version_time = 9; - * * @return Whether the versionTime field is set. */ boolean hasVersionTime(); /** - * - * *
    * The backup will contain an externally consistent copy of the database at
    * the timestamp specified by `version_time`. If `version_time` is not
@@ -82,13 +56,10 @@ public interface BackupOrBuilder
    * 
* * .google.protobuf.Timestamp version_time = 9; - * * @return The versionTime. */ com.google.protobuf.Timestamp getVersionTime(); /** - * - * *
    * The backup will contain an externally consistent copy of the database at
    * the timestamp specified by `version_time`. If `version_time` is not
@@ -101,8 +72,6 @@ public interface BackupOrBuilder
   com.google.protobuf.TimestampOrBuilder getVersionTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
    * operation. The expiration time of the backup, with microseconds
@@ -113,13 +82,10 @@ public interface BackupOrBuilder
    * 
* * .google.protobuf.Timestamp expire_time = 3; - * * @return Whether the expireTime field is set. */ boolean hasExpireTime(); /** - * - * *
    * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
    * operation. The expiration time of the backup, with microseconds
@@ -130,13 +96,10 @@ public interface BackupOrBuilder
    * 
* * .google.protobuf.Timestamp expire_time = 3; - * * @return The expireTime. */ com.google.protobuf.Timestamp getExpireTime(); /** - * - * *
    * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
    * operation. The expiration time of the backup, with microseconds
@@ -151,8 +114,6 @@ public interface BackupOrBuilder
   com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
    * Required for the [UpdateBackup][google.spanner.admin.database.v1.DatabaseAdmin.UpdateBackup] operation.
@@ -168,13 +129,10 @@ public interface BackupOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
    * Required for the [UpdateBackup][google.spanner.admin.database.v1.DatabaseAdmin.UpdateBackup] operation.
@@ -190,100 +148,74 @@ public interface BackupOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Output only. The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
    * request is received. If the request does not specify `version_time`, the
    * `version_time` of the backup will be equivalent to the `create_time`.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
    * request is received. If the request does not specify `version_time`, the
    * `version_time` of the backup will be equivalent to the `create_time`.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
    * request is received. If the request does not specify `version_time`, the
    * `version_time` of the backup will be equivalent to the `create_time`.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. Size of the backup in bytes.
    * 
* * int64 size_bytes = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The sizeBytes. */ long getSizeBytes(); /** - * - * *
    * Output only. The current state of the backup.
    * 
* - * - * .google.spanner.admin.database.v1.Backup.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.Backup.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. The current state of the backup.
    * 
* - * - * .google.spanner.admin.database.v1.Backup.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.Backup.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ com.google.spanner.admin.database.v1.Backup.State getState(); /** - * - * *
    * Output only. The names of the restored databases that reference the backup.
    * The database names are of
@@ -294,16 +226,12 @@ public interface BackupOrBuilder
    * to the backup is removed.
    * 
* - * - * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return A list containing the referencingDatabases. */ - java.util.List getReferencingDatabasesList(); + java.util.List + getReferencingDatabasesList(); /** - * - * *
    * Output only. The names of the restored databases that reference the backup.
    * The database names are of
@@ -314,16 +242,11 @@ public interface BackupOrBuilder
    * to the backup is removed.
    * 
* - * - * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The count of referencingDatabases. */ int getReferencingDatabasesCount(); /** - * - * *
    * Output only. The names of the restored databases that reference the backup.
    * The database names are of
@@ -334,17 +257,12 @@ public interface BackupOrBuilder
    * to the backup is removed.
    * 
* - * - * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param index The index of the element to return. * @return The referencingDatabases at the given index. */ java.lang.String getReferencingDatabases(int index); /** - * - * *
    * Output only. The names of the restored databases that reference the backup.
    * The database names are of
@@ -355,88 +273,60 @@ public interface BackupOrBuilder
    * to the backup is removed.
    * 
* - * - * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param index The index of the value to return. * @return The bytes of the referencingDatabases at the given index. */ - com.google.protobuf.ByteString getReferencingDatabasesBytes(int index); + com.google.protobuf.ByteString + getReferencingDatabasesBytes(int index); /** - * - * *
    * Output only. The encryption information for the backup.
    * 
* - * - * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the encryptionInfo field is set. */ boolean hasEncryptionInfo(); /** - * - * *
    * Output only. The encryption information for the backup.
    * 
* - * - * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionInfo. */ com.google.spanner.admin.database.v1.EncryptionInfo getEncryptionInfo(); /** - * - * *
    * Output only. The encryption information for the backup.
    * 
* - * - * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder(); /** - * - * *
    * Output only. The database dialect information for the backup.
    * 
* - * - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for databaseDialect. */ int getDatabaseDialectValue(); /** - * - * *
    * Output only. The database dialect information for the backup.
    * 
* - * - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The databaseDialect. */ com.google.spanner.admin.database.v1.DatabaseDialect getDatabaseDialect(); /** - * - * *
    * Output only. The names of the destination backups being created by copying
    * this source backup. The backup names are of the form
@@ -447,16 +337,12 @@ public interface BackupOrBuilder
    * destination backup is deleted), the reference to the backup is removed.
    * 
* - * - * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return A list containing the referencingBackups. */ - java.util.List getReferencingBackupsList(); + java.util.List + getReferencingBackupsList(); /** - * - * *
    * Output only. The names of the destination backups being created by copying
    * this source backup. The backup names are of the form
@@ -467,16 +353,11 @@ public interface BackupOrBuilder
    * destination backup is deleted), the reference to the backup is removed.
    * 
* - * - * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The count of referencingBackups. */ int getReferencingBackupsCount(); /** - * - * *
    * Output only. The names of the destination backups being created by copying
    * this source backup. The backup names are of the form
@@ -487,17 +368,12 @@ public interface BackupOrBuilder
    * destination backup is deleted), the reference to the backup is removed.
    * 
* - * - * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param index The index of the element to return. * @return The referencingBackups at the given index. */ java.lang.String getReferencingBackups(int index); /** - * - * *
    * Output only. The names of the destination backups being created by copying
    * this source backup. The backup names are of the form
@@ -508,18 +384,14 @@ public interface BackupOrBuilder
    * destination backup is deleted), the reference to the backup is removed.
    * 
* - * - * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param index The index of the value to return. * @return The bytes of the referencingBackups at the given index. */ - com.google.protobuf.ByteString getReferencingBackupsBytes(int index); + com.google.protobuf.ByteString + getReferencingBackupsBytes(int index); /** - * - * *
    * Output only. The max allowed expiration time of the backup, with
    * microseconds granularity. A backup's expiration time can be configured in
@@ -528,16 +400,11 @@ public interface BackupOrBuilder
    * less than `Backup.max_expire_time`.
    * 
* - * - * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the maxExpireTime field is set. */ boolean hasMaxExpireTime(); /** - * - * *
    * Output only. The max allowed expiration time of the backup, with
    * microseconds granularity. A backup's expiration time can be configured in
@@ -546,16 +413,11 @@ public interface BackupOrBuilder
    * less than `Backup.max_expire_time`.
    * 
* - * - * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The maxExpireTime. */ com.google.protobuf.Timestamp getMaxExpireTime(); /** - * - * *
    * Output only. The max allowed expiration time of the backup, with
    * microseconds granularity. A backup's expiration time can be configured in
@@ -564,9 +426,7 @@ public interface BackupOrBuilder
    * less than `Backup.max_expire_time`.
    * 
* - * - * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getMaxExpireTimeOrBuilder(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupProto.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupProto.java new file mode 100644 index 00000000000..8cafd7a9282 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupProto.java @@ -0,0 +1,324 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/spanner/admin/database/v1/backup.proto + +package com.google.spanner.admin.database.v1; + +public final class BackupProto { + private BackupProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_Backup_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_Backup_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_CreateBackupRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_CreateBackupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_CreateBackupMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_CreateBackupMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_CopyBackupRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_CopyBackupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_CopyBackupMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_CopyBackupMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_UpdateBackupRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_UpdateBackupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_GetBackupRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_GetBackupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_DeleteBackupRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_DeleteBackupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_ListBackupsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_ListBackupsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_ListBackupsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_ListBackupsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_ListBackupOperationsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_ListBackupOperationsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_ListBackupOperationsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_ListBackupOperationsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_BackupInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_BackupInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_CreateBackupEncryptionConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_CreateBackupEncryptionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_CopyBackupEncryptionConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_CopyBackupEncryptionConfig_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n-google/spanner/admin/database/v1/backu" + + "p.proto\022 google.spanner.admin.database.v" + + "1\032\037google/api/field_behavior.proto\032\031goog" + + "le/api/resource.proto\032#google/longrunnin" + + "g/operations.proto\032 google/protobuf/fiel" + + "d_mask.proto\032\037google/protobuf/timestamp." + + "proto\032-google/spanner/admin/database/v1/" + + "common.proto\"\303\006\n\006Backup\0226\n\010database\030\002 \001(" + + "\tB$\372A!\n\037spanner.googleapis.com/Database\022" + + "0\n\014version_time\030\t \001(\0132\032.google.protobuf." + + "Timestamp\022/\n\013expire_time\030\003 \001(\0132\032.google." + + "protobuf.Timestamp\022\014\n\004name\030\001 \001(\t\0224\n\013crea" + + "te_time\030\004 \001(\0132\032.google.protobuf.Timestam" + + "pB\003\340A\003\022\027\n\nsize_bytes\030\005 \001(\003B\003\340A\003\022B\n\005state" + + "\030\006 \001(\0162..google.spanner.admin.database.v" + + "1.Backup.StateB\003\340A\003\022F\n\025referencing_datab" + + "ases\030\007 \003(\tB\'\340A\003\372A!\n\037spanner.googleapis.c" + + "om/Database\022N\n\017encryption_info\030\010 \001(\01320.g" + + "oogle.spanner.admin.database.v1.Encrypti" + + "onInfoB\003\340A\003\022P\n\020database_dialect\030\n \001(\01621." + + "google.spanner.admin.database.v1.Databas" + + "eDialectB\003\340A\003\022B\n\023referencing_backups\030\013 \003" + + "(\tB%\340A\003\372A\037\n\035spanner.googleapis.com/Backu" + + "p\0228\n\017max_expire_time\030\014 \001(\0132\032.google.prot" + + "obuf.TimestampB\003\340A\003\"7\n\005State\022\025\n\021STATE_UN" + + "SPECIFIED\020\000\022\014\n\010CREATING\020\001\022\t\n\005READY\020\002:\\\352A" + + "Y\n\035spanner.googleapis.com/Backup\0228projec" + + "ts/{project}/instances/{instance}/backup" + + "s/{backup}\"\205\002\n\023CreateBackupRequest\0227\n\006pa" + + "rent\030\001 \001(\tB\'\340A\002\372A!\n\037spanner.googleapis.c" + + "om/Instance\022\026\n\tbackup_id\030\002 \001(\tB\003\340A\002\022=\n\006b" + + "ackup\030\003 \001(\0132(.google.spanner.admin.datab" + + "ase.v1.BackupB\003\340A\002\022^\n\021encryption_config\030" + + "\004 \001(\0132>.google.spanner.admin.database.v1" + + ".CreateBackupEncryptionConfigB\003\340A\001\"\370\001\n\024C" + + "reateBackupMetadata\0220\n\004name\030\001 \001(\tB\"\372A\037\n\035" + + "spanner.googleapis.com/Backup\0226\n\010databas" + + "e\030\002 \001(\tB$\372A!\n\037spanner.googleapis.com/Dat" + + "abase\022E\n\010progress\030\003 \001(\01323.google.spanner" + + ".admin.database.v1.OperationProgress\022/\n\013" + + "cancel_time\030\004 \001(\0132\032.google.protobuf.Time" + + "stamp\"\266\002\n\021CopyBackupRequest\0227\n\006parent\030\001 " + + "\001(\tB\'\340A\002\372A!\n\037spanner.googleapis.com/Inst" + + "ance\022\026\n\tbackup_id\030\002 \001(\tB\003\340A\002\022<\n\rsource_b" + + "ackup\030\003 \001(\tB%\340A\002\372A\037\n\035spanner.googleapis." + + "com/Backup\0224\n\013expire_time\030\004 \001(\0132\032.google" + + ".protobuf.TimestampB\003\340A\002\022\\\n\021encryption_c" + + "onfig\030\005 \001(\0132<.google.spanner.admin.datab" + + "ase.v1.CopyBackupEncryptionConfigB\003\340A\001\"\371" + + "\001\n\022CopyBackupMetadata\0220\n\004name\030\001 \001(\tB\"\372A\037" + + "\n\035spanner.googleapis.com/Backup\0229\n\rsourc" + + "e_backup\030\002 \001(\tB\"\372A\037\n\035spanner.googleapis." + + "com/Backup\022E\n\010progress\030\003 \001(\01323.google.sp" + + "anner.admin.database.v1.OperationProgres" + + "s\022/\n\013cancel_time\030\004 \001(\0132\032.google.protobuf" + + ".Timestamp\"\212\001\n\023UpdateBackupRequest\022=\n\006ba" + + "ckup\030\001 \001(\0132(.google.spanner.admin.databa" + + "se.v1.BackupB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032" + + ".google.protobuf.FieldMaskB\003\340A\002\"G\n\020GetBa" + + "ckupRequest\0223\n\004name\030\001 \001(\tB%\340A\002\372A\037\n\035spann" + + "er.googleapis.com/Backup\"J\n\023DeleteBackup" + + "Request\0223\n\004name\030\001 \001(\tB%\340A\002\372A\037\n\035spanner.g" + + "oogleapis.com/Backup\"\204\001\n\022ListBackupsRequ" + + "est\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\n\037spanner.goo" + + "gleapis.com/Instance\022\016\n\006filter\030\002 \001(\t\022\021\n\t" + + "page_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\"i\n\023L" + + "istBackupsResponse\0229\n\007backups\030\001 \003(\0132(.go" + + "ogle.spanner.admin.database.v1.Backup\022\027\n" + + "\017next_page_token\030\002 \001(\t\"\215\001\n\033ListBackupOpe" + + "rationsRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\n\037" + + "spanner.googleapis.com/Instance\022\016\n\006filte" + + "r\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_token" + + "\030\004 \001(\t\"j\n\034ListBackupOperationsResponse\0221" + + "\n\noperations\030\001 \003(\0132\035.google.longrunning." + + "Operation\022\027\n\017next_page_token\030\002 \001(\t\"\342\001\n\nB" + + "ackupInfo\0222\n\006backup\030\001 \001(\tB\"\372A\037\n\035spanner." + + "googleapis.com/Backup\0220\n\014version_time\030\004 " + + "\001(\0132\032.google.protobuf.Timestamp\022/\n\013creat" + + "e_time\030\002 \001(\0132\032.google.protobuf.Timestamp" + + "\022=\n\017source_database\030\003 \001(\tB$\372A!\n\037spanner." + + "googleapis.com/Database\"\335\002\n\034CreateBackup" + + "EncryptionConfig\022k\n\017encryption_type\030\001 \001(" + + "\0162M.google.spanner.admin.database.v1.Cre" + + "ateBackupEncryptionConfig.EncryptionType" + + "B\003\340A\002\022?\n\014kms_key_name\030\002 \001(\tB)\340A\001\372A#\n!clo" + + "udkms.googleapis.com/CryptoKey\"\216\001\n\016Encry" + + "ptionType\022\037\n\033ENCRYPTION_TYPE_UNSPECIFIED" + + "\020\000\022\033\n\027USE_DATABASE_ENCRYPTION\020\001\022\035\n\031GOOGL" + + "E_DEFAULT_ENCRYPTION\020\002\022\037\n\033CUSTOMER_MANAG" + + "ED_ENCRYPTION\020\003\"\351\002\n\032CopyBackupEncryption" + + "Config\022i\n\017encryption_type\030\001 \001(\0162K.google" + + ".spanner.admin.database.v1.CopyBackupEnc" + + "ryptionConfig.EncryptionTypeB\003\340A\002\022?\n\014kms" + + "_key_name\030\002 \001(\tB)\340A\001\372A#\n!cloudkms.google" + + "apis.com/CryptoKey\"\236\001\n\016EncryptionType\022\037\n" + + "\033ENCRYPTION_TYPE_UNSPECIFIED\020\000\022+\n\'USE_CO" + + "NFIG_DEFAULT_OR_BACKUP_ENCRYPTION\020\001\022\035\n\031G" + + "OOGLE_DEFAULT_ENCRYPTION\020\002\022\037\n\033CUSTOMER_M" + + "ANAGED_ENCRYPTION\020\003B\375\001\n$com.google.spann" + + "er.admin.database.v1B\013BackupProtoP\001ZFclo" + + "ud.google.com/go/spanner/admin/database/" + + "apiv1/databasepb;databasepb\252\002&Google.Clo" + + "ud.Spanner.Admin.Database.V1\312\002&Google\\Cl" + + "oud\\Spanner\\Admin\\Database\\V1\352\002+Google::" + + "Cloud::Spanner::Admin::Database::V1b\006pro" + + "to3" + }; + 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.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.spanner.admin.database.v1.CommonProto.getDescriptor(), + }); + internal_static_google_spanner_admin_database_v1_Backup_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_spanner_admin_database_v1_Backup_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_Backup_descriptor, + new java.lang.String[] { "Database", "VersionTime", "ExpireTime", "Name", "CreateTime", "SizeBytes", "State", "ReferencingDatabases", "EncryptionInfo", "DatabaseDialect", "ReferencingBackups", "MaxExpireTime", }); + internal_static_google_spanner_admin_database_v1_CreateBackupRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_spanner_admin_database_v1_CreateBackupRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_CreateBackupRequest_descriptor, + new java.lang.String[] { "Parent", "BackupId", "Backup", "EncryptionConfig", }); + internal_static_google_spanner_admin_database_v1_CreateBackupMetadata_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_spanner_admin_database_v1_CreateBackupMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_CreateBackupMetadata_descriptor, + new java.lang.String[] { "Name", "Database", "Progress", "CancelTime", }); + internal_static_google_spanner_admin_database_v1_CopyBackupRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_spanner_admin_database_v1_CopyBackupRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_CopyBackupRequest_descriptor, + new java.lang.String[] { "Parent", "BackupId", "SourceBackup", "ExpireTime", "EncryptionConfig", }); + internal_static_google_spanner_admin_database_v1_CopyBackupMetadata_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_spanner_admin_database_v1_CopyBackupMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_CopyBackupMetadata_descriptor, + new java.lang.String[] { "Name", "SourceBackup", "Progress", "CancelTime", }); + internal_static_google_spanner_admin_database_v1_UpdateBackupRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_spanner_admin_database_v1_UpdateBackupRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_UpdateBackupRequest_descriptor, + new java.lang.String[] { "Backup", "UpdateMask", }); + internal_static_google_spanner_admin_database_v1_GetBackupRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_spanner_admin_database_v1_GetBackupRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_GetBackupRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_spanner_admin_database_v1_DeleteBackupRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_spanner_admin_database_v1_DeleteBackupRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_DeleteBackupRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_spanner_admin_database_v1_ListBackupsRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_spanner_admin_database_v1_ListBackupsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_ListBackupsRequest_descriptor, + new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", }); + internal_static_google_spanner_admin_database_v1_ListBackupsResponse_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_spanner_admin_database_v1_ListBackupsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_ListBackupsResponse_descriptor, + new java.lang.String[] { "Backups", "NextPageToken", }); + internal_static_google_spanner_admin_database_v1_ListBackupOperationsRequest_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_spanner_admin_database_v1_ListBackupOperationsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_ListBackupOperationsRequest_descriptor, + new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", }); + internal_static_google_spanner_admin_database_v1_ListBackupOperationsResponse_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_spanner_admin_database_v1_ListBackupOperationsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_ListBackupOperationsResponse_descriptor, + new java.lang.String[] { "Operations", "NextPageToken", }); + internal_static_google_spanner_admin_database_v1_BackupInfo_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_spanner_admin_database_v1_BackupInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_BackupInfo_descriptor, + new java.lang.String[] { "Backup", "VersionTime", "CreateTime", "SourceDatabase", }); + internal_static_google_spanner_admin_database_v1_CreateBackupEncryptionConfig_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_spanner_admin_database_v1_CreateBackupEncryptionConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_CreateBackupEncryptionConfig_descriptor, + new java.lang.String[] { "EncryptionType", "KmsKeyName", }); + internal_static_google_spanner_admin_database_v1_CopyBackupEncryptionConfig_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_spanner_admin_database_v1_CopyBackupEncryptionConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_CopyBackupEncryptionConfig_descriptor, + new java.lang.String[] { "EncryptionType", "KmsKeyName", }); + 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.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.spanner.admin.database.v1.CommonProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CommonProto.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CommonProto.java new file mode 100644 index 00000000000..ed0de26e0f3 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CommonProto.java @@ -0,0 +1,117 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/spanner/admin/database/v1/common.proto + +package com.google.spanner.admin.database.v1; + +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_spanner_admin_database_v1_OperationProgress_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_OperationProgress_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_EncryptionConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_EncryptionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_EncryptionInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_EncryptionInfo_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n-google/spanner/admin/database/v1/commo" + + "n.proto\022 google.spanner.admin.database.v" + + "1\032\037google/api/field_behavior.proto\032\031goog" + + "le/api/resource.proto\032\037google/protobuf/t" + + "imestamp.proto\032\027google/rpc/status.proto\"" + + "\213\001\n\021OperationProgress\022\030\n\020progress_percen" + + "t\030\001 \001(\005\022.\n\nstart_time\030\002 \001(\0132\032.google.pro" + + "tobuf.Timestamp\022,\n\010end_time\030\003 \001(\0132\032.goog" + + "le.protobuf.Timestamp\"P\n\020EncryptionConfi" + + "g\022<\n\014kms_key_name\030\002 \001(\tB&\372A#\n!cloudkms.g" + + "oogleapis.com/CryptoKey\"\302\002\n\016EncryptionIn" + + "fo\022S\n\017encryption_type\030\003 \001(\01625.google.spa" + + "nner.admin.database.v1.EncryptionInfo.Ty" + + "peB\003\340A\003\0222\n\021encryption_status\030\004 \001(\0132\022.goo" + + "gle.rpc.StatusB\003\340A\003\022I\n\017kms_key_version\030\002" + + " \001(\tB0\340A\003\372A*\n(cloudkms.googleapis.com/Cr" + + "yptoKeyVersion\"\\\n\004Type\022\024\n\020TYPE_UNSPECIFI" + + "ED\020\000\022\035\n\031GOOGLE_DEFAULT_ENCRYPTION\020\001\022\037\n\033C" + + "USTOMER_MANAGED_ENCRYPTION\020\002*\\\n\017Database" + + "Dialect\022 \n\034DATABASE_DIALECT_UNSPECIFIED\020" + + "\000\022\027\n\023GOOGLE_STANDARD_SQL\020\001\022\016\n\nPOSTGRESQL" + + "\020\002B\242\004\n$com.google.spanner.admin.database" + + ".v1B\013CommonProtoP\001ZFcloud.google.com/go/" + + "spanner/admin/database/apiv1/databasepb;" + + "databasepb\252\002&Google.Cloud.Spanner.Admin." + + "Database.V1\312\002&Google\\Cloud\\Spanner\\Admin" + + "\\Database\\V1\352\002+Google::Cloud::Spanner::A" + + "dmin::Database::V1\352Ax\n!cloudkms.googleap" + + "is.com/CryptoKey\022Sprojects/{project}/loc" + + "ations/{location}/keyRings/{key_ring}/cr" + + "yptoKeys/{crypto_key}\352A\246\001\n(cloudkms.goog" + + "leapis.com/CryptoKeyVersion\022zprojects/{p" + + "roject}/locations/{location}/keyRings/{k" + + "ey_ring}/cryptoKeys/{crypto_key}/cryptoK" + + "eyVersions/{crypto_key_version}b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_spanner_admin_database_v1_OperationProgress_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_spanner_admin_database_v1_OperationProgress_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_OperationProgress_descriptor, + new java.lang.String[] { "ProgressPercent", "StartTime", "EndTime", }); + internal_static_google_spanner_admin_database_v1_EncryptionConfig_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_spanner_admin_database_v1_EncryptionConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_EncryptionConfig_descriptor, + new java.lang.String[] { "KmsKeyName", }); + internal_static_google_spanner_admin_database_v1_EncryptionInfo_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_spanner_admin_database_v1_EncryptionInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_EncryptionInfo_descriptor, + new java.lang.String[] { "EncryptionType", "EncryptionStatus", "KmsKeyVersion", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + 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.TimestampProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupEncryptionConfig.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupEncryptionConfig.java similarity index 62% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupEncryptionConfig.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupEncryptionConfig.java index 3b571fd926b..7cb7272c2b3 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupEncryptionConfig.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupEncryptionConfig.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/spanner/admin/database/v1/backup.proto package com.google.spanner.admin.database.v1; /** - * - * *
  * Encryption configuration for the copied backup.
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.CopyBackupEncryptionConfig} */ -public final class CopyBackupEncryptionConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CopyBackupEncryptionConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.CopyBackupEncryptionConfig) CopyBackupEncryptionConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CopyBackupEncryptionConfig.newBuilder() to construct. private CopyBackupEncryptionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CopyBackupEncryptionConfig() { encryptionType_ = 0; kmsKeyName_ = ""; @@ -44,44 +26,39 @@ private CopyBackupEncryptionConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CopyBackupEncryptionConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_CopyBackupEncryptionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CopyBackupEncryptionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_CopyBackupEncryptionConfig_fieldAccessorTable + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CopyBackupEncryptionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.class, - com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.Builder.class); + com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.class, com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.Builder.class); } /** - * - * *
    * Encryption types for the backup.
    * 
* - * Protobuf enum {@code - * google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType} + * Protobuf enum {@code google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType} */ - public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum { + public enum EncryptionType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified. Do not use.
      * 
@@ -90,8 +67,6 @@ public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum { */ ENCRYPTION_TYPE_UNSPECIFIED(0), /** - * - * *
      * This is the default option for [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup]
      * when [encryption_config][google.spanner.admin.database.v1.CopyBackupEncryptionConfig] is not specified.
@@ -103,8 +78,6 @@ public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum {
      */
     USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION(1),
     /**
-     *
-     *
      * 
      * Use Google default encryption.
      * 
@@ -113,8 +86,6 @@ public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum { */ GOOGLE_DEFAULT_ENCRYPTION(2), /** - * - * *
      * Use customer managed encryption. If specified, `kms_key_name`
      * must contain a valid Cloud KMS key.
@@ -127,8 +98,6 @@ public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Unspecified. Do not use.
      * 
@@ -137,8 +106,6 @@ public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ENCRYPTION_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * This is the default option for [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup]
      * when [encryption_config][google.spanner.admin.database.v1.CopyBackupEncryptionConfig] is not specified.
@@ -150,8 +117,6 @@ public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION_VALUE = 1;
     /**
-     *
-     *
      * 
      * Use Google default encryption.
      * 
@@ -160,8 +125,6 @@ public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GOOGLE_DEFAULT_ENCRYPTION_VALUE = 2; /** - * - * *
      * Use customer managed encryption. If specified, `kms_key_name`
      * must contain a valid Cloud KMS key.
@@ -171,6 +134,7 @@ public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CUSTOMER_MANAGED_ENCRYPTION_VALUE = 3;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -195,53 +159,50 @@ public static EncryptionType valueOf(int value) {
      */
     public static EncryptionType forNumber(int value) {
       switch (value) {
-        case 0:
-          return ENCRYPTION_TYPE_UNSPECIFIED;
-        case 1:
-          return USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION;
-        case 2:
-          return GOOGLE_DEFAULT_ENCRYPTION;
-        case 3:
-          return CUSTOMER_MANAGED_ENCRYPTION;
-        default:
-          return null;
+        case 0: return ENCRYPTION_TYPE_UNSPECIFIED;
+        case 1: return USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION;
+        case 2: return GOOGLE_DEFAULT_ENCRYPTION;
+        case 3: 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);
+            }
+          };
 
-    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() {
+    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.spanner.admin.database.v1.CopyBackupEncryptionConfig.getDescriptor()
-          .getEnumTypes()
-          .get(0);
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
+      return com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.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;
@@ -261,54 +222,33 @@ private EncryptionType(int value) {
   public static final int ENCRYPTION_TYPE_FIELD_NUMBER = 1;
   private int encryptionType_ = 0;
   /**
-   *
-   *
    * 
    * Required. The encryption type of the backup.
    * 
* - * - * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for encryptionType. */ - @java.lang.Override - public int getEncryptionTypeValue() { + @java.lang.Override public int getEncryptionTypeValue() { return encryptionType_; } /** - * - * *
    * Required. The encryption type of the backup.
    * 
* - * - * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The encryptionType. */ - @java.lang.Override - public com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType - getEncryptionType() { - com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType result = - com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType.forNumber( - encryptionType_); - return result == null - ? com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType - .UNRECOGNIZED - : result; + @java.lang.Override public com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType getEncryptionType() { + com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType result = com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType.forNumber(encryptionType_); + return result == null ? com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType.UNRECOGNIZED : result; } public static final int KMS_KEY_NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object kmsKeyName_ = ""; /** - * - * *
    * Optional. The Cloud KMS key that will be used to protect the backup.
    * This field should be set only when
@@ -317,10 +257,7 @@ public int getEncryptionTypeValue() {
    * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
    * 
* - * - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return The kmsKeyName. */ @java.lang.Override @@ -329,15 +266,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; } } /** - * - * *
    * Optional. The Cloud KMS key that will be used to protect the backup.
    * This field should be set only when
@@ -346,18 +282,17 @@ public java.lang.String getKmsKeyName() {
    * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
    * 
* - * - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.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 { @@ -366,7 +301,6 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -378,11 +312,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (encryptionType_ - != com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType - .ENCRYPTION_TYPE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (encryptionType_ != com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType.ENCRYPTION_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, encryptionType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyName_)) { @@ -397,11 +329,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (encryptionType_ - != com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType - .ENCRYPTION_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, encryptionType_); + if (encryptionType_ != com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType.ENCRYPTION_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, encryptionType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, kmsKeyName_); @@ -414,16 +344,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.spanner.admin.database.v1.CopyBackupEncryptionConfig)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig other = - (com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig) obj; + com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig other = (com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig) obj; if (encryptionType_ != other.encryptionType_) return false; - if (!getKmsKeyName().equals(other.getKmsKeyName())) return false; + if (!getKmsKeyName() + .equals(other.getKmsKeyName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -445,136 +375,129 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig prototype) { + public static Builder newBuilder(com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 configuration for the copied backup.
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.CopyBackupEncryptionConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.CopyBackupEncryptionConfig) com.google.spanner.admin.database.v1.CopyBackupEncryptionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_CopyBackupEncryptionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CopyBackupEncryptionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_CopyBackupEncryptionConfig_fieldAccessorTable + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CopyBackupEncryptionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.class, - com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.Builder.class); + com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.class, com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.Builder.class); } // Construct using com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -585,14 +508,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_CopyBackupEncryptionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CopyBackupEncryptionConfig_descriptor; } @java.lang.Override - public com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig - getDefaultInstanceForType() { + public com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig getDefaultInstanceForType() { return com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.getDefaultInstance(); } @@ -607,17 +529,13 @@ public com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig build() { @java.lang.Override public com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig buildPartial() { - com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig result = - new com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig result = new com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig result) { + private void buildPartial0(com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.encryptionType_ = encryptionType_; @@ -631,50 +549,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.spanner.admin.database.v1.CopyBackupEncryptionConfig) { - return mergeFrom((com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig) other); + return mergeFrom((com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig other) { - if (other - == com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig other) { + if (other == com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.getDefaultInstance()) return this; if (other.encryptionType_ != 0) { setEncryptionTypeValue(other.getEncryptionTypeValue()); } @@ -709,25 +623,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - encryptionType_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - kmsKeyName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + encryptionType_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + kmsKeyName_ = 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) { @@ -737,38 +648,26 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int encryptionType_ = 0; /** - * - * *
      * Required. The encryption type of the backup.
      * 
* - * - * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for encryptionType. */ - @java.lang.Override - public int getEncryptionTypeValue() { + @java.lang.Override public int getEncryptionTypeValue() { return encryptionType_; } /** - * - * *
      * Required. The encryption type of the backup.
      * 
* - * - * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for encryptionType to set. * @return This builder for chaining. */ @@ -779,45 +678,28 @@ public Builder setEncryptionTypeValue(int value) { return this; } /** - * - * *
      * Required. The encryption type of the backup.
      * 
* - * - * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The encryptionType. */ @java.lang.Override - public com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType - getEncryptionType() { - com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType result = - com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType.forNumber( - encryptionType_); - return result == null - ? com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType - .UNRECOGNIZED - : result; + public com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType getEncryptionType() { + com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType result = com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType.forNumber(encryptionType_); + return result == null ? com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType.UNRECOGNIZED : result; } /** - * - * *
      * Required. The encryption type of the backup.
      * 
* - * - * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The encryptionType to set. * @return This builder for chaining. */ - public Builder setEncryptionType( - com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType value) { + public Builder setEncryptionType(com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType value) { if (value == null) { throw new NullPointerException(); } @@ -827,16 +709,11 @@ public Builder setEncryptionType( return this; } /** - * - * *
      * Required. The encryption type of the backup.
      * 
* - * - * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearEncryptionType() { @@ -848,8 +725,6 @@ public Builder clearEncryptionType() { private java.lang.Object kmsKeyName_ = ""; /** - * - * *
      * Optional. The Cloud KMS key that will be used to protect the backup.
      * This field should be set only when
@@ -858,16 +733,14 @@ public Builder clearEncryptionType() {
      * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
      * 
* - * - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.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; @@ -876,8 +749,6 @@ public java.lang.String getKmsKeyName() { } } /** - * - * *
      * Optional. The Cloud KMS key that will be used to protect the backup.
      * This field should be set only when
@@ -886,17 +757,16 @@ public java.lang.String getKmsKeyName() {
      * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
      * 
* - * - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.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 { @@ -904,8 +774,6 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() { } } /** - * - * *
      * Optional. The Cloud KMS key that will be used to protect the backup.
      * This field should be set only when
@@ -914,25 +782,19 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() {
      * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
      * 
* - * - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.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_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Optional. The Cloud KMS key that will be used to protect the backup.
      * This field should be set only when
@@ -941,10 +803,7 @@ public Builder setKmsKeyName(java.lang.String value) {
      * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
      * 
* - * - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearKmsKeyName() { @@ -954,8 +813,6 @@ public Builder clearKmsKeyName() { return this; } /** - * - * *
      * Optional. The Cloud KMS key that will be used to protect the backup.
      * This field should be set only when
@@ -964,26 +821,22 @@ public Builder clearKmsKeyName() {
      * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
      * 
* - * - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.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_ |= 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); } @@ -993,43 +846,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.CopyBackupEncryptionConfig) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.CopyBackupEncryptionConfig) - private static final com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig - DEFAULT_INSTANCE; - + private static final com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig(); } - public static com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig - getDefaultInstance() { + public static com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CopyBackupEncryptionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CopyBackupEncryptionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1041,8 +892,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig - getDefaultInstanceForType() { + public com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupEncryptionConfigOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupEncryptionConfigOrBuilder.java similarity index 53% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupEncryptionConfigOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupEncryptionConfigOrBuilder.java index a6117dfb660..3b70bee0df7 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupEncryptionConfigOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupEncryptionConfigOrBuilder.java @@ -1,61 +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/spanner/admin/database/v1/backup.proto package com.google.spanner.admin.database.v1; -public interface CopyBackupEncryptionConfigOrBuilder - extends +public interface CopyBackupEncryptionConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.CopyBackupEncryptionConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The encryption type of the backup.
    * 
* - * - * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for encryptionType. */ int getEncryptionTypeValue(); /** - * - * *
    * Required. The encryption type of the backup.
    * 
* - * - * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The encryptionType. */ - com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType - getEncryptionType(); + com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType getEncryptionType(); /** - * - * *
    * Optional. The Cloud KMS key that will be used to protect the backup.
    * This field should be set only when
@@ -64,16 +35,11 @@ public interface CopyBackupEncryptionConfigOrBuilder
    * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
    * 
* - * - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return The kmsKeyName. */ java.lang.String getKmsKeyName(); /** - * - * *
    * Optional. The Cloud KMS key that will be used to protect the backup.
    * This field should be set only when
@@ -82,11 +48,9 @@ public interface CopyBackupEncryptionConfigOrBuilder
    * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
    * 
* - * - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return The bytes for kmsKeyName. */ - com.google.protobuf.ByteString getKmsKeyNameBytes(); + com.google.protobuf.ByteString + getKmsKeyNameBytes(); } diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupMetadata.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupMetadata.java similarity index 76% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupMetadata.java index f2bc437a1ad..19b78d08b22 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupMetadata.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/spanner/admin/database/v1/backup.proto package com.google.spanner.admin.database.v1; /** - * - * *
  * Metadata type for the google.longrunning.Operation returned by
  * [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.spanner.admin.database.v1.CopyBackupMetadata}
  */
-public final class CopyBackupMetadata extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CopyBackupMetadata extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.CopyBackupMetadata)
     CopyBackupMetadataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CopyBackupMetadata.newBuilder() to construct.
   private CopyBackupMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CopyBackupMetadata() {
     name_ = "";
     sourceBackup_ = "";
@@ -45,37 +27,33 @@ private CopyBackupMetadata() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CopyBackupMetadata();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.database.v1.BackupProto
-        .internal_static_google_spanner_admin_database_v1_CopyBackupMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CopyBackupMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.database.v1.BackupProto
-        .internal_static_google_spanner_admin_database_v1_CopyBackupMetadata_fieldAccessorTable
+    return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CopyBackupMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.database.v1.CopyBackupMetadata.class,
-            com.google.spanner.admin.database.v1.CopyBackupMetadata.Builder.class);
+            com.google.spanner.admin.database.v1.CopyBackupMetadata.class, com.google.spanner.admin.database.v1.CopyBackupMetadata.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * The name of the backup being created through the copy operation.
    * Values are of the form
@@ -83,7 +61,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return The name. */ @java.lang.Override @@ -92,15 +69,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the backup being created through the copy operation.
    * Values are of the form
@@ -108,15 +84,16 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -125,12 +102,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int SOURCE_BACKUP_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object sourceBackup_ = ""; /** - * - * *
    * The name of the source backup that is being copied.
    * Values are of the form
@@ -138,7 +112,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string source_backup = 2 [(.google.api.resource_reference) = { ... } - * * @return The sourceBackup. */ @java.lang.Override @@ -147,15 +120,14 @@ public java.lang.String getSourceBackup() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceBackup_ = s; return s; } } /** - * - * *
    * The name of the source backup that is being copied.
    * Values are of the form
@@ -163,15 +135,16 @@ public java.lang.String getSourceBackup() {
    * 
* * string source_backup = 2 [(.google.api.resource_reference) = { ... } - * * @return The bytes for sourceBackup. */ @java.lang.Override - public com.google.protobuf.ByteString getSourceBackupBytes() { + public com.google.protobuf.ByteString + getSourceBackupBytes() { java.lang.Object ref = sourceBackup_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceBackup_ = b; return b; } else { @@ -182,15 +155,12 @@ public com.google.protobuf.ByteString getSourceBackupBytes() { public static final int PROGRESS_FIELD_NUMBER = 3; private com.google.spanner.admin.database.v1.OperationProgress progress_; /** - * - * *
    * The progress of the
    * [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.
    * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 3; - * * @return Whether the progress field is set. */ @java.lang.Override @@ -198,26 +168,19 @@ public boolean hasProgress() { return progress_ != null; } /** - * - * *
    * The progress of the
    * [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.
    * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 3; - * * @return The progress. */ @java.lang.Override public com.google.spanner.admin.database.v1.OperationProgress getProgress() { - return progress_ == null - ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() - : progress_; + return progress_ == null ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() : progress_; } /** - * - * *
    * The progress of the
    * [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.
@@ -227,16 +190,12 @@ public com.google.spanner.admin.database.v1.OperationProgress getProgress() {
    */
   @java.lang.Override
   public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgressOrBuilder() {
-    return progress_ == null
-        ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance()
-        : progress_;
+    return progress_ == null ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() : progress_;
   }
 
   public static final int CANCEL_TIME_FIELD_NUMBER = 4;
   private com.google.protobuf.Timestamp cancelTime_;
   /**
-   *
-   *
    * 
    * The time at which cancellation of CopyBackup operation was received.
    * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -253,7 +212,6 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre
    * 
* * .google.protobuf.Timestamp cancel_time = 4; - * * @return Whether the cancelTime field is set. */ @java.lang.Override @@ -261,8 +219,6 @@ public boolean hasCancelTime() { return cancelTime_ != null; } /** - * - * *
    * The time at which cancellation of CopyBackup operation was received.
    * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -279,7 +235,6 @@ public boolean hasCancelTime() {
    * 
* * .google.protobuf.Timestamp cancel_time = 4; - * * @return The cancelTime. */ @java.lang.Override @@ -287,8 +242,6 @@ public com.google.protobuf.Timestamp getCancelTime() { return cancelTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : cancelTime_; } /** - * - * *
    * The time at which cancellation of CopyBackup operation was received.
    * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -312,7 +265,6 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -324,7 +276,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.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_);
     }
@@ -353,10 +306,12 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, sourceBackup_);
     }
     if (progress_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getProgress());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getProgress());
     }
     if (cancelTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCancelTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, getCancelTime());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -366,23 +321,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.spanner.admin.database.v1.CopyBackupMetadata)) {
       return super.equals(obj);
     }
-    com.google.spanner.admin.database.v1.CopyBackupMetadata other =
-        (com.google.spanner.admin.database.v1.CopyBackupMetadata) obj;
+    com.google.spanner.admin.database.v1.CopyBackupMetadata other = (com.google.spanner.admin.database.v1.CopyBackupMetadata) obj;
 
-    if (!getName().equals(other.getName())) return false;
-    if (!getSourceBackup().equals(other.getSourceBackup())) return false;
+    if (!getName()
+        .equals(other.getName())) return false;
+    if (!getSourceBackup()
+        .equals(other.getSourceBackup())) 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 (hasCancelTime() != other.hasCancelTime()) return false;
     if (hasCancelTime()) {
-      if (!getCancelTime().equals(other.getCancelTime())) return false;
+      if (!getCancelTime()
+          .equals(other.getCancelTime())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -413,104 +371,96 @@ public int hashCode() {
   }
 
   public static com.google.spanner.admin.database.v1.CopyBackupMetadata parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.admin.database.v1.CopyBackupMetadata parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.admin.database.v1.CopyBackupMetadata parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.admin.database.v1.CopyBackupMetadata parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.admin.database.v1.CopyBackupMetadata parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.admin.database.v1.CopyBackupMetadata parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.spanner.admin.database.v1.CopyBackupMetadata parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.spanner.admin.database.v1.CopyBackupMetadata parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.admin.database.v1.CopyBackupMetadata parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.spanner.admin.database.v1.CopyBackupMetadata parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.spanner.admin.database.v1.CopyBackupMetadata parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.admin.database.v1.CopyBackupMetadata parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.spanner.admin.database.v1.CopyBackupMetadata parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.admin.database.v1.CopyBackupMetadata parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.spanner.admin.database.v1.CopyBackupMetadata prototype) {
+  public static Builder newBuilder(com.google.spanner.admin.database.v1.CopyBackupMetadata prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Metadata type for the google.longrunning.Operation returned by
    * [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup].
@@ -518,32 +468,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.database.v1.CopyBackupMetadata}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.CopyBackupMetadata)
       com.google.spanner.admin.database.v1.CopyBackupMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.database.v1.BackupProto
-          .internal_static_google_spanner_admin_database_v1_CopyBackupMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CopyBackupMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.database.v1.BackupProto
-          .internal_static_google_spanner_admin_database_v1_CopyBackupMetadata_fieldAccessorTable
+      return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CopyBackupMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.database.v1.CopyBackupMetadata.class,
-              com.google.spanner.admin.database.v1.CopyBackupMetadata.Builder.class);
+              com.google.spanner.admin.database.v1.CopyBackupMetadata.class, com.google.spanner.admin.database.v1.CopyBackupMetadata.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.database.v1.CopyBackupMetadata.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -564,9 +515,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.database.v1.BackupProto
-          .internal_static_google_spanner_admin_database_v1_CopyBackupMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CopyBackupMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -585,11 +536,8 @@ public com.google.spanner.admin.database.v1.CopyBackupMetadata build() {
 
     @java.lang.Override
     public com.google.spanner.admin.database.v1.CopyBackupMetadata buildPartial() {
-      com.google.spanner.admin.database.v1.CopyBackupMetadata result =
-          new com.google.spanner.admin.database.v1.CopyBackupMetadata(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.admin.database.v1.CopyBackupMetadata result = new com.google.spanner.admin.database.v1.CopyBackupMetadata(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -603,10 +551,14 @@ private void buildPartial0(com.google.spanner.admin.database.v1.CopyBackupMetada
         result.sourceBackup_ = sourceBackup_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.progress_ = progressBuilder_ == null ? progress_ : progressBuilder_.build();
+        result.progress_ = progressBuilder_ == null
+            ? progress_
+            : progressBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.cancelTime_ = cancelTimeBuilder_ == null ? cancelTime_ : cancelTimeBuilder_.build();
+        result.cancelTime_ = cancelTimeBuilder_ == null
+            ? cancelTime_
+            : cancelTimeBuilder_.build();
       }
     }
 
@@ -614,39 +566,38 @@ private void buildPartial0(com.google.spanner.admin.database.v1.CopyBackupMetada
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.database.v1.CopyBackupMetadata) {
-        return mergeFrom((com.google.spanner.admin.database.v1.CopyBackupMetadata) other);
+        return mergeFrom((com.google.spanner.admin.database.v1.CopyBackupMetadata)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -654,8 +605,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.spanner.admin.database.v1.CopyBackupMetadata other) {
-      if (other == com.google.spanner.admin.database.v1.CopyBackupMetadata.getDefaultInstance())
-        return this;
+      if (other == com.google.spanner.admin.database.v1.CopyBackupMetadata.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -698,37 +648,36 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                sourceBackup_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getProgressFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getCancelTimeFieldBuilder().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: {
+              sourceBackup_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getProgressFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getCancelTimeFieldBuilder().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) {
@@ -738,13 +687,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The name of the backup being created through the copy operation.
      * Values are of the form
@@ -752,13 +698,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -767,8 +713,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the backup being created through the copy operation.
      * Values are of the form
@@ -776,14 +720,15 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -791,8 +736,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the backup being created through the copy operation.
      * Values are of the form
@@ -800,22 +743,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The name of the backup being created through the copy operation.
      * Values are of the form
@@ -823,7 +762,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearName() { @@ -833,8 +771,6 @@ public Builder clearName() { return this; } /** - * - * *
      * The name of the backup being created through the copy operation.
      * Values are of the form
@@ -842,14 +778,12 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -859,8 +793,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object sourceBackup_ = ""; /** - * - * *
      * The name of the source backup that is being copied.
      * Values are of the form
@@ -868,13 +800,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string source_backup = 2 [(.google.api.resource_reference) = { ... } - * * @return The sourceBackup. */ public java.lang.String getSourceBackup() { java.lang.Object ref = sourceBackup_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceBackup_ = s; return s; @@ -883,8 +815,6 @@ public java.lang.String getSourceBackup() { } } /** - * - * *
      * The name of the source backup that is being copied.
      * Values are of the form
@@ -892,14 +822,15 @@ public java.lang.String getSourceBackup() {
      * 
* * string source_backup = 2 [(.google.api.resource_reference) = { ... } - * * @return The bytes for sourceBackup. */ - public com.google.protobuf.ByteString getSourceBackupBytes() { + public com.google.protobuf.ByteString + getSourceBackupBytes() { java.lang.Object ref = sourceBackup_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceBackup_ = b; return b; } else { @@ -907,8 +838,6 @@ public com.google.protobuf.ByteString getSourceBackupBytes() { } } /** - * - * *
      * The name of the source backup that is being copied.
      * Values are of the form
@@ -916,22 +845,18 @@ public com.google.protobuf.ByteString getSourceBackupBytes() {
      * 
* * string source_backup = 2 [(.google.api.resource_reference) = { ... } - * * @param value The sourceBackup to set. * @return This builder for chaining. */ - public Builder setSourceBackup(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceBackup( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } sourceBackup_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The name of the source backup that is being copied.
      * Values are of the form
@@ -939,7 +864,6 @@ public Builder setSourceBackup(java.lang.String value) {
      * 
* * string source_backup = 2 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearSourceBackup() { @@ -949,8 +873,6 @@ public Builder clearSourceBackup() { return this; } /** - * - * *
      * The name of the source backup that is being copied.
      * Values are of the form
@@ -958,14 +880,12 @@ public Builder clearSourceBackup() {
      * 
* * string source_backup = 2 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for sourceBackup to set. * @return This builder for chaining. */ - public Builder setSourceBackupBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceBackupBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sourceBackup_ = value; bitField0_ |= 0x00000002; @@ -975,49 +895,36 @@ public Builder setSourceBackupBytes(com.google.protobuf.ByteString value) { private com.google.spanner.admin.database.v1.OperationProgress progress_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.OperationProgress, - com.google.spanner.admin.database.v1.OperationProgress.Builder, - com.google.spanner.admin.database.v1.OperationProgressOrBuilder> - progressBuilder_; + com.google.spanner.admin.database.v1.OperationProgress, com.google.spanner.admin.database.v1.OperationProgress.Builder, com.google.spanner.admin.database.v1.OperationProgressOrBuilder> progressBuilder_; /** - * - * *
      * The progress of the
      * [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.
      * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 3; - * * @return Whether the progress field is set. */ public boolean hasProgress() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The progress of the
      * [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.
      * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 3; - * * @return The progress. */ public com.google.spanner.admin.database.v1.OperationProgress getProgress() { if (progressBuilder_ == null) { - return progress_ == null - ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() - : progress_; + return progress_ == null ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() : progress_; } else { return progressBuilder_.getMessage(); } } /** - * - * *
      * The progress of the
      * [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.
@@ -1039,8 +946,6 @@ public Builder setProgress(com.google.spanner.admin.database.v1.OperationProgres
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.
@@ -1060,8 +965,6 @@ public Builder setProgress(
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.
@@ -1071,10 +974,9 @@ public Builder setProgress(
      */
     public Builder mergeProgress(com.google.spanner.admin.database.v1.OperationProgress value) {
       if (progressBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0)
-            && progress_ != null
-            && progress_
-                != com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0) &&
+          progress_ != null &&
+          progress_ != com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance()) {
           getProgressBuilder().mergeFrom(value);
         } else {
           progress_ = value;
@@ -1087,8 +989,6 @@ public Builder mergeProgress(com.google.spanner.admin.database.v1.OperationProgr
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.
@@ -1107,8 +1007,6 @@ public Builder clearProgress() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.
@@ -1122,8 +1020,6 @@ public com.google.spanner.admin.database.v1.OperationProgress.Builder getProgres
       return getProgressFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.
@@ -1135,14 +1031,11 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre
       if (progressBuilder_ != null) {
         return progressBuilder_.getMessageOrBuilder();
       } else {
-        return progress_ == null
-            ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance()
-            : progress_;
+        return progress_ == null ?
+            com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() : progress_;
       }
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.
@@ -1151,17 +1044,14 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre
      * .google.spanner.admin.database.v1.OperationProgress progress = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.admin.database.v1.OperationProgress,
-            com.google.spanner.admin.database.v1.OperationProgress.Builder,
-            com.google.spanner.admin.database.v1.OperationProgressOrBuilder>
+        com.google.spanner.admin.database.v1.OperationProgress, com.google.spanner.admin.database.v1.OperationProgress.Builder, com.google.spanner.admin.database.v1.OperationProgressOrBuilder> 
         getProgressFieldBuilder() {
       if (progressBuilder_ == null) {
-        progressBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.admin.database.v1.OperationProgress,
-                com.google.spanner.admin.database.v1.OperationProgress.Builder,
-                com.google.spanner.admin.database.v1.OperationProgressOrBuilder>(
-                getProgress(), getParentForChildren(), isClean());
+        progressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.admin.database.v1.OperationProgress, com.google.spanner.admin.database.v1.OperationProgress.Builder, com.google.spanner.admin.database.v1.OperationProgressOrBuilder>(
+                getProgress(),
+                getParentForChildren(),
+                isClean());
         progress_ = null;
       }
       return progressBuilder_;
@@ -1169,13 +1059,8 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre
 
     private com.google.protobuf.Timestamp cancelTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        cancelTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> cancelTimeBuilder_;
     /**
-     *
-     *
      * 
      * The time at which cancellation of CopyBackup operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1192,15 +1077,12 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre
      * 
* * .google.protobuf.Timestamp cancel_time = 4; - * * @return Whether the cancelTime field is set. */ public boolean hasCancelTime() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * The time at which cancellation of CopyBackup operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1217,21 +1099,16 @@ public boolean hasCancelTime() {
      * 
* * .google.protobuf.Timestamp cancel_time = 4; - * * @return The cancelTime. */ public com.google.protobuf.Timestamp getCancelTime() { if (cancelTimeBuilder_ == null) { - return cancelTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : cancelTime_; + return cancelTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : cancelTime_; } else { return cancelTimeBuilder_.getMessage(); } } /** - * - * *
      * The time at which cancellation of CopyBackup operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1263,8 +1140,6 @@ public Builder setCancelTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which cancellation of CopyBackup operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1282,7 +1157,8 @@ public Builder setCancelTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp cancel_time = 4;
      */
-    public Builder setCancelTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setCancelTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (cancelTimeBuilder_ == null) {
         cancelTime_ = builderForValue.build();
       } else {
@@ -1293,8 +1169,6 @@ public Builder setCancelTime(com.google.protobuf.Timestamp.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which cancellation of CopyBackup operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1314,9 +1188,9 @@ public Builder setCancelTime(com.google.protobuf.Timestamp.Builder builderForVal
      */
     public Builder mergeCancelTime(com.google.protobuf.Timestamp value) {
       if (cancelTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000008) != 0)
-            && cancelTime_ != null
-            && cancelTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0) &&
+          cancelTime_ != null &&
+          cancelTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getCancelTimeBuilder().mergeFrom(value);
         } else {
           cancelTime_ = value;
@@ -1329,8 +1203,6 @@ public Builder mergeCancelTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which cancellation of CopyBackup operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1359,8 +1231,6 @@ public Builder clearCancelTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which cancellation of CopyBackup operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1384,8 +1254,6 @@ public com.google.protobuf.Timestamp.Builder getCancelTimeBuilder() {
       return getCancelTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time at which cancellation of CopyBackup operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1407,14 +1275,11 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
       if (cancelTimeBuilder_ != null) {
         return cancelTimeBuilder_.getMessageOrBuilder();
       } else {
-        return cancelTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : cancelTime_;
+        return cancelTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : cancelTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The time at which cancellation of CopyBackup operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1433,24 +1298,21 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
      * .google.protobuf.Timestamp cancel_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> 
         getCancelTimeFieldBuilder() {
       if (cancelTimeBuilder_ == null) {
-        cancelTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getCancelTime(), getParentForChildren(), isClean());
+        cancelTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getCancelTime(),
+                getParentForChildren(),
+                isClean());
         cancelTime_ = null;
       }
       return cancelTimeBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1460,12 +1322,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.CopyBackupMetadata)
   }
 
   // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.CopyBackupMetadata)
   private static final com.google.spanner.admin.database.v1.CopyBackupMetadata DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.CopyBackupMetadata();
   }
@@ -1474,27 +1336,27 @@ public static com.google.spanner.admin.database.v1.CopyBackupMetadata getDefault
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public CopyBackupMetadata parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public CopyBackupMetadata parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1509,4 +1371,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.spanner.admin.database.v1.CopyBackupMetadata getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupMetadataOrBuilder.java
similarity index 86%
rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupMetadataOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupMetadataOrBuilder.java
index f977fe6fb38..accee2ff1fd 100644
--- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupMetadataOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupMetadataOrBuilder.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/spanner/admin/database/v1/backup.proto
 
 package com.google.spanner.admin.database.v1;
 
-public interface CopyBackupMetadataOrBuilder
-    extends
+public interface CopyBackupMetadataOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.CopyBackupMetadata)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The name of the backup being created through the copy operation.
    * Values are of the form
@@ -33,13 +15,10 @@ public interface CopyBackupMetadataOrBuilder
    * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the backup being created through the copy operation.
    * Values are of the form
@@ -47,14 +26,12 @@ public interface CopyBackupMetadataOrBuilder
    * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The name of the source backup that is being copied.
    * Values are of the form
@@ -62,13 +39,10 @@ public interface CopyBackupMetadataOrBuilder
    * 
* * string source_backup = 2 [(.google.api.resource_reference) = { ... } - * * @return The sourceBackup. */ java.lang.String getSourceBackup(); /** - * - * *
    * The name of the source backup that is being copied.
    * Values are of the form
@@ -76,40 +50,32 @@ public interface CopyBackupMetadataOrBuilder
    * 
* * string source_backup = 2 [(.google.api.resource_reference) = { ... } - * * @return The bytes for sourceBackup. */ - com.google.protobuf.ByteString getSourceBackupBytes(); + com.google.protobuf.ByteString + getSourceBackupBytes(); /** - * - * *
    * The progress of the
    * [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.
    * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 3; - * * @return Whether the progress field is set. */ boolean hasProgress(); /** - * - * *
    * The progress of the
    * [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.
    * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 3; - * * @return The progress. */ com.google.spanner.admin.database.v1.OperationProgress getProgress(); /** - * - * *
    * The progress of the
    * [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.
@@ -120,8 +86,6 @@ public interface CopyBackupMetadataOrBuilder
   com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgressOrBuilder();
 
   /**
-   *
-   *
    * 
    * The time at which cancellation of CopyBackup operation was received.
    * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -138,13 +102,10 @@ public interface CopyBackupMetadataOrBuilder
    * 
* * .google.protobuf.Timestamp cancel_time = 4; - * * @return Whether the cancelTime field is set. */ boolean hasCancelTime(); /** - * - * *
    * The time at which cancellation of CopyBackup operation was received.
    * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -161,13 +122,10 @@ public interface CopyBackupMetadataOrBuilder
    * 
* * .google.protobuf.Timestamp cancel_time = 4; - * * @return The cancelTime. */ com.google.protobuf.Timestamp getCancelTime(); /** - * - * *
    * The time at which cancellation of CopyBackup operation was received.
    * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupRequest.java
similarity index 69%
rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupRequest.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupRequest.java
index 810c5043ce9..733ab75e2d2 100644
--- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupRequest.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupRequest.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/spanner/admin/database/v1/backup.proto
 
 package com.google.spanner.admin.database.v1;
 
 /**
- *
- *
  * 
  * The request for [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup].
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.CopyBackupRequest} */ -public final class CopyBackupRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CopyBackupRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.CopyBackupRequest) CopyBackupRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CopyBackupRequest.newBuilder() to construct. private CopyBackupRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CopyBackupRequest() { parent_ = ""; backupId_ = ""; @@ -45,46 +27,39 @@ private CopyBackupRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CopyBackupRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_CopyBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CopyBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_CopyBackupRequest_fieldAccessorTable + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CopyBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.CopyBackupRequest.class, - com.google.spanner.admin.database.v1.CopyBackupRequest.Builder.class); + com.google.spanner.admin.database.v1.CopyBackupRequest.class, com.google.spanner.admin.database.v1.CopyBackupRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The name of the destination instance that will contain the backup copy.
    * Values are of the form: `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -93,32 +68,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The name of the destination instance that will contain the backup copy.
    * Values are of the form: `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 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 BACKUP_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object backupId_ = ""; /** - * - * *
    * Required. The id of the backup copy.
    * The `backup_id` appended to `parent` forms the full backup_uri of the form
@@ -140,7 +110,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The backupId. */ @java.lang.Override @@ -149,15 +118,14 @@ public java.lang.String getBackupId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); backupId_ = s; return s; } } /** - * - * *
    * Required. The id of the backup copy.
    * The `backup_id` appended to `parent` forms the full backup_uri of the form
@@ -165,15 +133,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 { @@ -182,12 +151,9 @@ public com.google.protobuf.ByteString getBackupIdBytes() { } public static final int SOURCE_BACKUP_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object sourceBackup_ = ""; /** - * - * *
    * Required. The source backup to be copied.
    * The source backup needs to be in READY state for it to be copied.
@@ -197,10 +163,7 @@ public com.google.protobuf.ByteString getBackupIdBytes() {
    * `projects/<project>/instances/<instance>/backups/<backup>`.
    * 
* - * - * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The sourceBackup. */ @java.lang.Override @@ -209,15 +172,14 @@ public java.lang.String getSourceBackup() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceBackup_ = s; return s; } } /** - * - * *
    * Required. The source backup to be copied.
    * The source backup needs to be in READY state for it to be copied.
@@ -227,18 +189,17 @@ public java.lang.String getSourceBackup() {
    * `projects/<project>/instances/<instance>/backups/<backup>`.
    * 
* - * - * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for sourceBackup. */ @java.lang.Override - public com.google.protobuf.ByteString getSourceBackupBytes() { + public com.google.protobuf.ByteString + getSourceBackupBytes() { java.lang.Object ref = sourceBackup_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceBackup_ = b; return b; } else { @@ -249,8 +210,6 @@ public com.google.protobuf.ByteString getSourceBackupBytes() { public static final int EXPIRE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp expireTime_; /** - * - * *
    * Required. The expiration time of the backup in microsecond granularity.
    * The expiration time must be at least 6 hours and at most 366 days
@@ -259,9 +218,7 @@ public com.google.protobuf.ByteString getSourceBackupBytes() {
    * to free the resources used by the backup.
    * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the expireTime field is set. */ @java.lang.Override @@ -269,8 +226,6 @@ public boolean hasExpireTime() { return expireTime_ != null; } /** - * - * *
    * Required. The expiration time of the backup in microsecond granularity.
    * The expiration time must be at least 6 hours and at most 366 days
@@ -279,9 +234,7 @@ public boolean hasExpireTime() {
    * to free the resources used by the backup.
    * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The expireTime. */ @java.lang.Override @@ -289,8 +242,6 @@ public com.google.protobuf.Timestamp getExpireTime() { return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } /** - * - * *
    * Required. The expiration time of the backup in microsecond granularity.
    * The expiration time must be at least 6 hours and at most 366 days
@@ -299,8 +250,7 @@ public com.google.protobuf.Timestamp getExpireTime() {
    * to free the resources used by the backup.
    * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { @@ -310,8 +260,6 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { public static final int ENCRYPTION_CONFIG_FIELD_NUMBER = 5; private com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryptionConfig_; /** - * - * *
    * Optional. The encryption configuration used to encrypt the backup. If this field is
    * not specified, the backup will use the same
@@ -320,10 +268,7 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
    * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
    * 
* - * - * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the encryptionConfig field is set. */ @java.lang.Override @@ -331,8 +276,6 @@ public boolean hasEncryptionConfig() { return encryptionConfig_ != null; } /** - * - * *
    * Optional. The encryption configuration used to encrypt the backup. If this field is
    * not specified, the backup will use the same
@@ -341,21 +284,14 @@ public boolean hasEncryptionConfig() {
    * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
    * 
* - * - * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The encryptionConfig. */ @java.lang.Override public com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig getEncryptionConfig() { - return encryptionConfig_ == null - ? com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.getDefaultInstance() : encryptionConfig_; } /** - * - * *
    * Optional. The encryption configuration used to encrypt the backup. If this field is
    * not specified, the backup will use the same
@@ -364,20 +300,14 @@ public com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig getEncryp
    * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
    * 
* - * - * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.spanner.admin.database.v1.CopyBackupEncryptionConfigOrBuilder - getEncryptionConfigOrBuilder() { - return encryptionConfig_ == null - ? com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.getDefaultInstance() - : encryptionConfig_; + public com.google.spanner.admin.database.v1.CopyBackupEncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { + return encryptionConfig_ == null ? com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.getDefaultInstance() : encryptionConfig_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -389,7 +319,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -424,10 +355,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, sourceBackup_); } if (expireTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getExpireTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getExpireTime()); } if (encryptionConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getEncryptionConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getEncryptionConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -437,24 +370,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.spanner.admin.database.v1.CopyBackupRequest)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.CopyBackupRequest other = - (com.google.spanner.admin.database.v1.CopyBackupRequest) obj; + com.google.spanner.admin.database.v1.CopyBackupRequest other = (com.google.spanner.admin.database.v1.CopyBackupRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getBackupId().equals(other.getBackupId())) return false; - if (!getSourceBackup().equals(other.getSourceBackup())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getBackupId() + .equals(other.getBackupId())) return false; + if (!getSourceBackup() + .equals(other.getSourceBackup())) return false; if (hasExpireTime() != other.hasExpireTime()) return false; if (hasExpireTime()) { - if (!getExpireTime().equals(other.getExpireTime())) return false; + if (!getExpireTime() + .equals(other.getExpireTime())) return false; } if (hasEncryptionConfig() != other.hasEncryptionConfig()) return false; if (hasEncryptionConfig()) { - if (!getEncryptionConfig().equals(other.getEncryptionConfig())) return false; + if (!getEncryptionConfig() + .equals(other.getEncryptionConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -487,136 +424,129 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.CopyBackupRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.CopyBackupRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.CopyBackupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.CopyBackupRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.CopyBackupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.CopyBackupRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.CopyBackupRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.CopyBackupRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.CopyBackupRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.CopyBackupRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.CopyBackupRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.CopyBackupRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.CopyBackupRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.CopyBackupRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.database.v1.CopyBackupRequest prototype) { + public static Builder newBuilder(com.google.spanner.admin.database.v1.CopyBackupRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup].
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.CopyBackupRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.CopyBackupRequest) com.google.spanner.admin.database.v1.CopyBackupRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_CopyBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CopyBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_CopyBackupRequest_fieldAccessorTable + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CopyBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.CopyBackupRequest.class, - com.google.spanner.admin.database.v1.CopyBackupRequest.Builder.class); + com.google.spanner.admin.database.v1.CopyBackupRequest.class, com.google.spanner.admin.database.v1.CopyBackupRequest.Builder.class); } // Construct using com.google.spanner.admin.database.v1.CopyBackupRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -638,9 +568,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_CopyBackupRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CopyBackupRequest_descriptor; } @java.lang.Override @@ -659,11 +589,8 @@ public com.google.spanner.admin.database.v1.CopyBackupRequest build() { @java.lang.Override public com.google.spanner.admin.database.v1.CopyBackupRequest buildPartial() { - com.google.spanner.admin.database.v1.CopyBackupRequest result = - new com.google.spanner.admin.database.v1.CopyBackupRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.admin.database.v1.CopyBackupRequest result = new com.google.spanner.admin.database.v1.CopyBackupRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -680,11 +607,14 @@ private void buildPartial0(com.google.spanner.admin.database.v1.CopyBackupReques result.sourceBackup_ = sourceBackup_; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.expireTime_ = expireTimeBuilder_ == null ? expireTime_ : expireTimeBuilder_.build(); + result.expireTime_ = expireTimeBuilder_ == null + ? expireTime_ + : expireTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { - result.encryptionConfig_ = - encryptionConfigBuilder_ == null ? encryptionConfig_ : encryptionConfigBuilder_.build(); + result.encryptionConfig_ = encryptionConfigBuilder_ == null + ? encryptionConfig_ + : encryptionConfigBuilder_.build(); } } @@ -692,39 +622,38 @@ private void buildPartial0(com.google.spanner.admin.database.v1.CopyBackupReques public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.admin.database.v1.CopyBackupRequest) { - return mergeFrom((com.google.spanner.admin.database.v1.CopyBackupRequest) other); + return mergeFrom((com.google.spanner.admin.database.v1.CopyBackupRequest)other); } else { super.mergeFrom(other); return this; @@ -732,8 +661,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.admin.database.v1.CopyBackupRequest other) { - if (other == com.google.spanner.admin.database.v1.CopyBackupRequest.getDefaultInstance()) - return this; + if (other == com.google.spanner.admin.database.v1.CopyBackupRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -781,44 +709,41 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - backupId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - sourceBackup_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - input.readMessage(getExpireTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - input.readMessage( - getEncryptionConfigFieldBuilder().getBuilder(), extensionRegistry); - 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: { + backupId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + sourceBackup_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + input.readMessage( + getExpireTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + input.readMessage( + getEncryptionConfigFieldBuilder().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) { @@ -828,28 +753,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The name of the destination instance that will contain the backup copy.
      * Values are of the form: `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 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; @@ -858,24 +778,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the destination instance that will contain the backup copy.
      * Values are of the form: `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 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 { @@ -883,41 +800,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the destination instance that will contain the backup copy.
      * Values are of the form: `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the destination instance that will contain the backup copy.
      * Values are of the form: `projects/<project>/instances/<instance>`.
      * 
* - * - * string 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() { @@ -927,24 +833,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The name of the destination instance that will contain the backup copy.
      * Values are of the form: `projects/<project>/instances/<instance>`.
      * 
* - * - * 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; @@ -954,8 +854,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object backupId_ = ""; /** - * - * *
      * Required. The id of the backup copy.
      * The `backup_id` appended to `parent` forms the full backup_uri of the form
@@ -963,13 +861,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; @@ -978,8 +876,6 @@ public java.lang.String getBackupId() { } } /** - * - * *
      * Required. The id of the backup copy.
      * The `backup_id` appended to `parent` forms the full backup_uri of the form
@@ -987,14 +883,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 { @@ -1002,8 +899,6 @@ public com.google.protobuf.ByteString getBackupIdBytes() { } } /** - * - * *
      * Required. The id of the backup copy.
      * The `backup_id` appended to `parent` forms the full backup_uri of the form
@@ -1011,22 +906,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 copy.
      * The `backup_id` appended to `parent` forms the full backup_uri of the form
@@ -1034,7 +925,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() { @@ -1044,8 +934,6 @@ public Builder clearBackupId() { return this; } /** - * - * *
      * Required. The id of the backup copy.
      * The `backup_id` appended to `parent` forms the full backup_uri of the form
@@ -1053,14 +941,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; @@ -1070,8 +956,6 @@ public Builder setBackupIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object sourceBackup_ = ""; /** - * - * *
      * Required. The source backup to be copied.
      * The source backup needs to be in READY state for it to be copied.
@@ -1081,16 +965,14 @@ public Builder setBackupIdBytes(com.google.protobuf.ByteString value) {
      * `projects/<project>/instances/<instance>/backups/<backup>`.
      * 
* - * - * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The sourceBackup. */ public java.lang.String getSourceBackup() { java.lang.Object ref = sourceBackup_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceBackup_ = s; return s; @@ -1099,8 +981,6 @@ public java.lang.String getSourceBackup() { } } /** - * - * *
      * Required. The source backup to be copied.
      * The source backup needs to be in READY state for it to be copied.
@@ -1110,17 +990,16 @@ public java.lang.String getSourceBackup() {
      * `projects/<project>/instances/<instance>/backups/<backup>`.
      * 
* - * - * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for sourceBackup. */ - public com.google.protobuf.ByteString getSourceBackupBytes() { + public com.google.protobuf.ByteString + getSourceBackupBytes() { java.lang.Object ref = sourceBackup_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceBackup_ = b; return b; } else { @@ -1128,8 +1007,6 @@ public com.google.protobuf.ByteString getSourceBackupBytes() { } } /** - * - * *
      * Required. The source backup to be copied.
      * The source backup needs to be in READY state for it to be copied.
@@ -1139,25 +1016,19 @@ public com.google.protobuf.ByteString getSourceBackupBytes() {
      * `projects/<project>/instances/<instance>/backups/<backup>`.
      * 
* - * - * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The sourceBackup to set. * @return This builder for chaining. */ - public Builder setSourceBackup(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceBackup( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } sourceBackup_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Required. The source backup to be copied.
      * The source backup needs to be in READY state for it to be copied.
@@ -1167,10 +1038,7 @@ public Builder setSourceBackup(java.lang.String value) {
      * `projects/<project>/instances/<instance>/backups/<backup>`.
      * 
* - * - * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearSourceBackup() { @@ -1180,8 +1048,6 @@ public Builder clearSourceBackup() { return this; } /** - * - * *
      * Required. The source backup to be copied.
      * The source backup needs to be in READY state for it to be copied.
@@ -1191,17 +1057,13 @@ public Builder clearSourceBackup() {
      * `projects/<project>/instances/<instance>/backups/<backup>`.
      * 
* - * - * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for sourceBackup to set. * @return This builder for chaining. */ - public Builder setSourceBackupBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceBackupBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sourceBackup_ = value; bitField0_ |= 0x00000004; @@ -1211,13 +1073,8 @@ public Builder setSourceBackupBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp expireTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - expireTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> expireTimeBuilder_; /** - * - * *
      * Required. The expiration time of the backup in microsecond granularity.
      * The expiration time must be at least 6 hours and at most 366 days
@@ -1226,17 +1083,13 @@ public Builder setSourceBackupBytes(com.google.protobuf.ByteString value) {
      * to free the resources used by the backup.
      * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the expireTime field is set. */ public boolean hasExpireTime() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Required. The expiration time of the backup in microsecond granularity.
      * The expiration time must be at least 6 hours and at most 366 days
@@ -1245,23 +1098,17 @@ public boolean hasExpireTime() {
      * to free the resources used by the backup.
      * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The expireTime. */ public com.google.protobuf.Timestamp getExpireTime() { if (expireTimeBuilder_ == null) { - return expireTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : expireTime_; + return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } else { return expireTimeBuilder_.getMessage(); } } /** - * - * *
      * Required. The expiration time of the backup in microsecond granularity.
      * The expiration time must be at least 6 hours and at most 366 days
@@ -1270,8 +1117,7 @@ public com.google.protobuf.Timestamp getExpireTime() {
      * to free the resources used by the backup.
      * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setExpireTime(com.google.protobuf.Timestamp value) { if (expireTimeBuilder_ == null) { @@ -1287,8 +1133,6 @@ public Builder setExpireTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Required. The expiration time of the backup in microsecond granularity.
      * The expiration time must be at least 6 hours and at most 366 days
@@ -1297,10 +1141,10 @@ public Builder setExpireTime(com.google.protobuf.Timestamp value) {
      * to free the resources used by the backup.
      * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setExpireTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (expireTimeBuilder_ == null) { expireTime_ = builderForValue.build(); } else { @@ -1311,8 +1155,6 @@ public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Required. The expiration time of the backup in microsecond granularity.
      * The expiration time must be at least 6 hours and at most 366 days
@@ -1321,14 +1163,13 @@ public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForVal
      * to free the resources used by the backup.
      * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { if (expireTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && expireTime_ != null - && expireTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + expireTime_ != null && + expireTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getExpireTimeBuilder().mergeFrom(value); } else { expireTime_ = value; @@ -1341,8 +1182,6 @@ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Required. The expiration time of the backup in microsecond granularity.
      * The expiration time must be at least 6 hours and at most 366 days
@@ -1351,8 +1190,7 @@ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) {
      * to free the resources used by the backup.
      * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearExpireTime() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1365,8 +1203,6 @@ public Builder clearExpireTime() { return this; } /** - * - * *
      * Required. The expiration time of the backup in microsecond granularity.
      * The expiration time must be at least 6 hours and at most 366 days
@@ -1375,8 +1211,7 @@ public Builder clearExpireTime() {
      * to free the resources used by the backup.
      * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() { bitField0_ |= 0x00000008; @@ -1384,8 +1219,6 @@ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() { return getExpireTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The expiration time of the backup in microsecond granularity.
      * The expiration time must be at least 6 hours and at most 366 days
@@ -1394,21 +1227,17 @@ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() {
      * to free the resources used by the backup.
      * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { if (expireTimeBuilder_ != null) { return expireTimeBuilder_.getMessageOrBuilder(); } else { - return expireTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : expireTime_; + return expireTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } } /** - * - * *
      * Required. The expiration time of the backup in microsecond granularity.
      * The expiration time must be at least 6 hours and at most 366 days
@@ -1417,21 +1246,17 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
      * to free the resources used by the backup.
      * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getExpireTimeFieldBuilder() { if (expireTimeBuilder_ == null) { - expireTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getExpireTime(), getParentForChildren(), isClean()); + expireTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getExpireTime(), + getParentForChildren(), + isClean()); expireTime_ = null; } return expireTimeBuilder_; @@ -1439,13 +1264,8 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { private com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryptionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig, - com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.Builder, - com.google.spanner.admin.database.v1.CopyBackupEncryptionConfigOrBuilder> - encryptionConfigBuilder_; + com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig, com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.Builder, com.google.spanner.admin.database.v1.CopyBackupEncryptionConfigOrBuilder> encryptionConfigBuilder_; /** - * - * *
      * Optional. The encryption configuration used to encrypt the backup. If this field is
      * not specified, the backup will use the same
@@ -1454,18 +1274,13 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
      * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
      * 
* - * - * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the encryptionConfig field is set. */ public boolean hasEncryptionConfig() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * Optional. The encryption configuration used to encrypt the backup. If this field is
      * not specified, the backup will use the same
@@ -1474,24 +1289,17 @@ public boolean hasEncryptionConfig() {
      * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
      * 
* - * - * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The encryptionConfig. */ public com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig getEncryptionConfig() { if (encryptionConfigBuilder_ == null) { - return encryptionConfig_ == null - ? com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.getDefaultInstance() : encryptionConfig_; } else { return encryptionConfigBuilder_.getMessage(); } } /** - * - * *
      * Optional. The encryption configuration used to encrypt the backup. If this field is
      * not specified, the backup will use the same
@@ -1500,12 +1308,9 @@ public com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig getEncryp
      * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
      * 
* - * - * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setEncryptionConfig( - com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig value) { + public Builder setEncryptionConfig(com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig value) { if (encryptionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1519,8 +1324,6 @@ public Builder setEncryptionConfig( return this; } /** - * - * *
      * Optional. The encryption configuration used to encrypt the backup. If this field is
      * not specified, the backup will use the same
@@ -1529,9 +1332,7 @@ public Builder setEncryptionConfig(
      * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
      * 
* - * - * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setEncryptionConfig( com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.Builder builderForValue) { @@ -1545,8 +1346,6 @@ public Builder setEncryptionConfig( return this; } /** - * - * *
      * Optional. The encryption configuration used to encrypt the backup. If this field is
      * not specified, the backup will use the same
@@ -1555,18 +1354,13 @@ public Builder setEncryptionConfig(
      * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
      * 
* - * - * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder mergeEncryptionConfig( - com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig value) { + public Builder mergeEncryptionConfig(com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig value) { if (encryptionConfigBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) - && encryptionConfig_ != null - && encryptionConfig_ - != com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig - .getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) && + encryptionConfig_ != null && + encryptionConfig_ != com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.getDefaultInstance()) { getEncryptionConfigBuilder().mergeFrom(value); } else { encryptionConfig_ = value; @@ -1579,8 +1373,6 @@ public Builder mergeEncryptionConfig( return this; } /** - * - * *
      * Optional. The encryption configuration used to encrypt the backup. If this field is
      * not specified, the backup will use the same
@@ -1589,9 +1381,7 @@ public Builder mergeEncryptionConfig(
      * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
      * 
* - * - * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearEncryptionConfig() { bitField0_ = (bitField0_ & ~0x00000010); @@ -1604,8 +1394,6 @@ public Builder clearEncryptionConfig() { return this; } /** - * - * *
      * Optional. The encryption configuration used to encrypt the backup. If this field is
      * not specified, the backup will use the same
@@ -1614,19 +1402,14 @@ public Builder clearEncryptionConfig() {
      * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
      * 
* - * - * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.Builder - getEncryptionConfigBuilder() { + public com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.Builder getEncryptionConfigBuilder() { bitField0_ |= 0x00000010; onChanged(); return getEncryptionConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. The encryption configuration used to encrypt the backup. If this field is
      * not specified, the backup will use the same
@@ -1635,23 +1418,17 @@ public Builder clearEncryptionConfig() {
      * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
      * 
* - * - * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.spanner.admin.database.v1.CopyBackupEncryptionConfigOrBuilder - getEncryptionConfigOrBuilder() { + public com.google.spanner.admin.database.v1.CopyBackupEncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { if (encryptionConfigBuilder_ != null) { return encryptionConfigBuilder_.getMessageOrBuilder(); } else { - return encryptionConfig_ == null - ? com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? + com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.getDefaultInstance() : encryptionConfig_; } } /** - * - * *
      * Optional. The encryption configuration used to encrypt the backup. If this field is
      * not specified, the backup will use the same
@@ -1660,29 +1437,24 @@ public Builder clearEncryptionConfig() {
      * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
      * 
* - * - * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig, - com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.Builder, - com.google.spanner.admin.database.v1.CopyBackupEncryptionConfigOrBuilder> + com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig, com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.Builder, com.google.spanner.admin.database.v1.CopyBackupEncryptionConfigOrBuilder> getEncryptionConfigFieldBuilder() { if (encryptionConfigBuilder_ == null) { - encryptionConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig, - com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.Builder, - com.google.spanner.admin.database.v1.CopyBackupEncryptionConfigOrBuilder>( - getEncryptionConfig(), getParentForChildren(), isClean()); + encryptionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig, com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.Builder, com.google.spanner.admin.database.v1.CopyBackupEncryptionConfigOrBuilder>( + 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); } @@ -1692,12 +1464,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.CopyBackupRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.CopyBackupRequest) private static final com.google.spanner.admin.database.v1.CopyBackupRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.CopyBackupRequest(); } @@ -1706,27 +1478,27 @@ public static com.google.spanner.admin.database.v1.CopyBackupRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CopyBackupRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CopyBackupRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1741,4 +1513,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.CopyBackupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupRequestOrBuilder.java similarity index 71% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupRequestOrBuilder.java index 5a8be05a57e..5e59d2e357b 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupRequestOrBuilder.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/spanner/admin/database/v1/backup.proto package com.google.spanner.admin.database.v1; -public interface CopyBackupRequestOrBuilder - extends +public interface CopyBackupRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.CopyBackupRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the destination instance that will contain the backup copy.
    * Values are of the form: `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The name of the destination instance that will contain the backup copy.
    * Values are of the form: `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 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 copy.
    * The `backup_id` appended to `parent` forms the full backup_uri of the form
@@ -64,13 +37,10 @@ public interface CopyBackupRequestOrBuilder
    * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The backupId. */ java.lang.String getBackupId(); /** - * - * *
    * Required. The id of the backup copy.
    * The `backup_id` appended to `parent` forms the full backup_uri of the form
@@ -78,14 +48,12 @@ public interface CopyBackupRequestOrBuilder
    * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for backupId. */ - com.google.protobuf.ByteString getBackupIdBytes(); + com.google.protobuf.ByteString + getBackupIdBytes(); /** - * - * *
    * Required. The source backup to be copied.
    * The source backup needs to be in READY state for it to be copied.
@@ -95,16 +63,11 @@ public interface CopyBackupRequestOrBuilder
    * `projects/<project>/instances/<instance>/backups/<backup>`.
    * 
* - * - * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The sourceBackup. */ java.lang.String getSourceBackup(); /** - * - * *
    * Required. The source backup to be copied.
    * The source backup needs to be in READY state for it to be copied.
@@ -114,17 +77,13 @@ public interface CopyBackupRequestOrBuilder
    * `projects/<project>/instances/<instance>/backups/<backup>`.
    * 
* - * - * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for sourceBackup. */ - com.google.protobuf.ByteString getSourceBackupBytes(); + com.google.protobuf.ByteString + getSourceBackupBytes(); /** - * - * *
    * Required. The expiration time of the backup in microsecond granularity.
    * The expiration time must be at least 6 hours and at most 366 days
@@ -133,15 +92,11 @@ public interface CopyBackupRequestOrBuilder
    * to free the resources used by the backup.
    * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the expireTime field is set. */ boolean hasExpireTime(); /** - * - * *
    * Required. The expiration time of the backup in microsecond granularity.
    * The expiration time must be at least 6 hours and at most 366 days
@@ -150,15 +105,11 @@ public interface CopyBackupRequestOrBuilder
    * to free the resources used by the backup.
    * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The expireTime. */ com.google.protobuf.Timestamp getExpireTime(); /** - * - * *
    * Required. The expiration time of the backup in microsecond granularity.
    * The expiration time must be at least 6 hours and at most 366 days
@@ -167,14 +118,11 @@ public interface CopyBackupRequestOrBuilder
    * to free the resources used by the backup.
    * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder(); /** - * - * *
    * Optional. The encryption configuration used to encrypt the backup. If this field is
    * not specified, the backup will use the same
@@ -183,16 +131,11 @@ public interface CopyBackupRequestOrBuilder
    * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
    * 
* - * - * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the encryptionConfig field is set. */ boolean hasEncryptionConfig(); /** - * - * *
    * Optional. The encryption configuration used to encrypt the backup. If this field is
    * not specified, the backup will use the same
@@ -201,16 +144,11 @@ public interface CopyBackupRequestOrBuilder
    * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
    * 
* - * - * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The encryptionConfig. */ com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig getEncryptionConfig(); /** - * - * *
    * Optional. The encryption configuration used to encrypt the backup. If this field is
    * not specified, the backup will use the same
@@ -219,10 +157,7 @@ public interface CopyBackupRequestOrBuilder
    * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
    * 
* - * - * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.spanner.admin.database.v1.CopyBackupEncryptionConfigOrBuilder - getEncryptionConfigOrBuilder(); + com.google.spanner.admin.database.v1.CopyBackupEncryptionConfigOrBuilder getEncryptionConfigOrBuilder(); } diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupEncryptionConfig.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupEncryptionConfig.java similarity index 61% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupEncryptionConfig.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupEncryptionConfig.java index 1381514795c..fdc88c019c0 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupEncryptionConfig.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupEncryptionConfig.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/spanner/admin/database/v1/backup.proto package com.google.spanner.admin.database.v1; /** - * - * *
  * Encryption configuration for the backup to create.
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.CreateBackupEncryptionConfig} */ -public final class CreateBackupEncryptionConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateBackupEncryptionConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.CreateBackupEncryptionConfig) CreateBackupEncryptionConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateBackupEncryptionConfig.newBuilder() to construct. private CreateBackupEncryptionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateBackupEncryptionConfig() { encryptionType_ = 0; kmsKeyName_ = ""; @@ -44,44 +26,39 @@ private CreateBackupEncryptionConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateBackupEncryptionConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_CreateBackupEncryptionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CreateBackupEncryptionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_CreateBackupEncryptionConfig_fieldAccessorTable + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CreateBackupEncryptionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.class, - com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.Builder.class); + com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.class, com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.Builder.class); } /** - * - * *
    * Encryption types for the backup.
    * 
* - * Protobuf enum {@code - * google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType} + * Protobuf enum {@code google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType} */ - public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum { + public enum EncryptionType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified. Do not use.
      * 
@@ -90,8 +67,6 @@ public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum { */ ENCRYPTION_TYPE_UNSPECIFIED(0), /** - * - * *
      * Use the same encryption configuration as the database. This is the
      * default option when
@@ -104,8 +79,6 @@ public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum {
      */
     USE_DATABASE_ENCRYPTION(1),
     /**
-     *
-     *
      * 
      * Use Google default encryption.
      * 
@@ -114,8 +87,6 @@ public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum { */ GOOGLE_DEFAULT_ENCRYPTION(2), /** - * - * *
      * Use customer managed encryption. If specified, `kms_key_name`
      * must contain a valid Cloud KMS key.
@@ -128,8 +99,6 @@ public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Unspecified. Do not use.
      * 
@@ -138,8 +107,6 @@ public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ENCRYPTION_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Use the same encryption configuration as the database. This is the
      * default option when
@@ -152,8 +119,6 @@ public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int USE_DATABASE_ENCRYPTION_VALUE = 1;
     /**
-     *
-     *
      * 
      * Use Google default encryption.
      * 
@@ -162,8 +127,6 @@ public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GOOGLE_DEFAULT_ENCRYPTION_VALUE = 2; /** - * - * *
      * Use customer managed encryption. If specified, `kms_key_name`
      * must contain a valid Cloud KMS key.
@@ -173,6 +136,7 @@ public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CUSTOMER_MANAGED_ENCRYPTION_VALUE = 3;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -197,53 +161,50 @@ public static EncryptionType valueOf(int value) {
      */
     public static EncryptionType forNumber(int value) {
       switch (value) {
-        case 0:
-          return ENCRYPTION_TYPE_UNSPECIFIED;
-        case 1:
-          return USE_DATABASE_ENCRYPTION;
-        case 2:
-          return GOOGLE_DEFAULT_ENCRYPTION;
-        case 3:
-          return CUSTOMER_MANAGED_ENCRYPTION;
-        default:
-          return null;
+        case 0: return ENCRYPTION_TYPE_UNSPECIFIED;
+        case 1: return USE_DATABASE_ENCRYPTION;
+        case 2: return GOOGLE_DEFAULT_ENCRYPTION;
+        case 3: 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);
+            }
+          };
 
-    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() {
+    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.spanner.admin.database.v1.CreateBackupEncryptionConfig.getDescriptor()
-          .getEnumTypes()
-          .get(0);
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
+      return com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.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;
@@ -263,54 +224,33 @@ private EncryptionType(int value) {
   public static final int ENCRYPTION_TYPE_FIELD_NUMBER = 1;
   private int encryptionType_ = 0;
   /**
-   *
-   *
    * 
    * Required. The encryption type of the backup.
    * 
* - * - * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for encryptionType. */ - @java.lang.Override - public int getEncryptionTypeValue() { + @java.lang.Override public int getEncryptionTypeValue() { return encryptionType_; } /** - * - * *
    * Required. The encryption type of the backup.
    * 
* - * - * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The encryptionType. */ - @java.lang.Override - public com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType - getEncryptionType() { - com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType result = - com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType.forNumber( - encryptionType_); - return result == null - ? com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType - .UNRECOGNIZED - : result; + @java.lang.Override public com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType getEncryptionType() { + com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType result = com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType.forNumber(encryptionType_); + return result == null ? com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType.UNRECOGNIZED : result; } public static final int KMS_KEY_NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object kmsKeyName_ = ""; /** - * - * *
    * Optional. The Cloud KMS key that will be used to protect the backup.
    * This field should be set only when
@@ -319,10 +259,7 @@ public int getEncryptionTypeValue() {
    * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
    * 
* - * - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return The kmsKeyName. */ @java.lang.Override @@ -331,15 +268,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; } } /** - * - * *
    * Optional. The Cloud KMS key that will be used to protect the backup.
    * This field should be set only when
@@ -348,18 +284,17 @@ public java.lang.String getKmsKeyName() {
    * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
    * 
* - * - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.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 { @@ -368,7 +303,6 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -380,11 +314,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (encryptionType_ - != com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType - .ENCRYPTION_TYPE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (encryptionType_ != com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType.ENCRYPTION_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, encryptionType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyName_)) { @@ -399,11 +331,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (encryptionType_ - != com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType - .ENCRYPTION_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, encryptionType_); + if (encryptionType_ != com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType.ENCRYPTION_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, encryptionType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, kmsKeyName_); @@ -416,16 +346,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.spanner.admin.database.v1.CreateBackupEncryptionConfig)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig other = - (com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig) obj; + com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig other = (com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig) obj; if (encryptionType_ != other.encryptionType_) return false; - if (!getKmsKeyName().equals(other.getKmsKeyName())) return false; + if (!getKmsKeyName() + .equals(other.getKmsKeyName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -447,138 +377,129 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig - 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.spanner.admin.database.v1.CreateBackupEncryptionConfig 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.spanner.admin.database.v1.CreateBackupEncryptionConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig prototype) { + public static Builder newBuilder(com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 configuration for the backup to create.
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.CreateBackupEncryptionConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.CreateBackupEncryptionConfig) com.google.spanner.admin.database.v1.CreateBackupEncryptionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_CreateBackupEncryptionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CreateBackupEncryptionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_CreateBackupEncryptionConfig_fieldAccessorTable + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CreateBackupEncryptionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.class, - com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.Builder.class); + com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.class, com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.Builder.class); } - // Construct using - // com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.newBuilder() - private Builder() {} + // Construct using com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.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(); @@ -589,14 +510,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_CreateBackupEncryptionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CreateBackupEncryptionConfig_descriptor; } @java.lang.Override - public com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig - getDefaultInstanceForType() { + public com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig getDefaultInstanceForType() { return com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.getDefaultInstance(); } @@ -611,17 +531,13 @@ public com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig build() @java.lang.Override public com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig buildPartial() { - com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig result = - new com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig result = new com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig result) { + private void buildPartial0(com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.encryptionType_ = encryptionType_; @@ -635,50 +551,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.spanner.admin.database.v1.CreateBackupEncryptionConfig) { - return mergeFrom((com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig) other); + return mergeFrom((com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig other) { - if (other - == com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig other) { + if (other == com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.getDefaultInstance()) return this; if (other.encryptionType_ != 0) { setEncryptionTypeValue(other.getEncryptionTypeValue()); } @@ -713,25 +625,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - encryptionType_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - kmsKeyName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + encryptionType_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + kmsKeyName_ = 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) { @@ -741,38 +650,26 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int encryptionType_ = 0; /** - * - * *
      * Required. The encryption type of the backup.
      * 
* - * - * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for encryptionType. */ - @java.lang.Override - public int getEncryptionTypeValue() { + @java.lang.Override public int getEncryptionTypeValue() { return encryptionType_; } /** - * - * *
      * Required. The encryption type of the backup.
      * 
* - * - * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for encryptionType to set. * @return This builder for chaining. */ @@ -783,45 +680,28 @@ public Builder setEncryptionTypeValue(int value) { return this; } /** - * - * *
      * Required. The encryption type of the backup.
      * 
* - * - * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The encryptionType. */ @java.lang.Override - public com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType - getEncryptionType() { - com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType result = - com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType - .forNumber(encryptionType_); - return result == null - ? com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType - .UNRECOGNIZED - : result; + public com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType getEncryptionType() { + com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType result = com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType.forNumber(encryptionType_); + return result == null ? com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType.UNRECOGNIZED : result; } /** - * - * *
      * Required. The encryption type of the backup.
      * 
* - * - * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The encryptionType to set. * @return This builder for chaining. */ - public Builder setEncryptionType( - com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType value) { + public Builder setEncryptionType(com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType value) { if (value == null) { throw new NullPointerException(); } @@ -831,16 +711,11 @@ public Builder setEncryptionType( return this; } /** - * - * *
      * Required. The encryption type of the backup.
      * 
* - * - * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearEncryptionType() { @@ -852,8 +727,6 @@ public Builder clearEncryptionType() { private java.lang.Object kmsKeyName_ = ""; /** - * - * *
      * Optional. The Cloud KMS key that will be used to protect the backup.
      * This field should be set only when
@@ -862,16 +735,14 @@ public Builder clearEncryptionType() {
      * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
      * 
* - * - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.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; @@ -880,8 +751,6 @@ public java.lang.String getKmsKeyName() { } } /** - * - * *
      * Optional. The Cloud KMS key that will be used to protect the backup.
      * This field should be set only when
@@ -890,17 +759,16 @@ public java.lang.String getKmsKeyName() {
      * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
      * 
* - * - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.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 { @@ -908,8 +776,6 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() { } } /** - * - * *
      * Optional. The Cloud KMS key that will be used to protect the backup.
      * This field should be set only when
@@ -918,25 +784,19 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() {
      * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
      * 
* - * - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.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_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Optional. The Cloud KMS key that will be used to protect the backup.
      * This field should be set only when
@@ -945,10 +805,7 @@ public Builder setKmsKeyName(java.lang.String value) {
      * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
      * 
* - * - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearKmsKeyName() { @@ -958,8 +815,6 @@ public Builder clearKmsKeyName() { return this; } /** - * - * *
      * Optional. The Cloud KMS key that will be used to protect the backup.
      * This field should be set only when
@@ -968,26 +823,22 @@ public Builder clearKmsKeyName() {
      * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
      * 
* - * - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.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_ |= 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); } @@ -997,43 +848,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.CreateBackupEncryptionConfig) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.CreateBackupEncryptionConfig) - private static final com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig - DEFAULT_INSTANCE; - + private static final com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig(); } - public static com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig - getDefaultInstance() { + public static com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateBackupEncryptionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateBackupEncryptionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1045,8 +894,9 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig - getDefaultInstanceForType() { + public com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupEncryptionConfigOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupEncryptionConfigOrBuilder.java similarity index 53% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupEncryptionConfigOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupEncryptionConfigOrBuilder.java index ecefb88dc0d..aa86c2f029a 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupEncryptionConfigOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupEncryptionConfigOrBuilder.java @@ -1,61 +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/spanner/admin/database/v1/backup.proto package com.google.spanner.admin.database.v1; -public interface CreateBackupEncryptionConfigOrBuilder - extends +public interface CreateBackupEncryptionConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.CreateBackupEncryptionConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The encryption type of the backup.
    * 
* - * - * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for encryptionType. */ int getEncryptionTypeValue(); /** - * - * *
    * Required. The encryption type of the backup.
    * 
* - * - * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The encryptionType. */ - com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType - getEncryptionType(); + com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType getEncryptionType(); /** - * - * *
    * Optional. The Cloud KMS key that will be used to protect the backup.
    * This field should be set only when
@@ -64,16 +35,11 @@ public interface CreateBackupEncryptionConfigOrBuilder
    * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
    * 
* - * - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return The kmsKeyName. */ java.lang.String getKmsKeyName(); /** - * - * *
    * Optional. The Cloud KMS key that will be used to protect the backup.
    * This field should be set only when
@@ -82,11 +48,9 @@ public interface CreateBackupEncryptionConfigOrBuilder
    * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
    * 
* - * - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return The bytes for kmsKeyName. */ - com.google.protobuf.ByteString getKmsKeyNameBytes(); + com.google.protobuf.ByteString + getKmsKeyNameBytes(); } diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupMetadata.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupMetadata.java similarity index 75% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupMetadata.java index c534895357a..7be7d0e8226 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/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/spanner/admin/database/v1/backup.proto package com.google.spanner.admin.database.v1; /** - * - * *
  * Metadata type for the operation returned by
  * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.spanner.admin.database.v1.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.spanner.admin.database.v1.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_ = "";
     database_ = "";
@@ -45,43 +27,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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.database.v1.BackupProto
-        .internal_static_google_spanner_admin_database_v1_CreateBackupMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CreateBackupMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.database.v1.BackupProto
-        .internal_static_google_spanner_admin_database_v1_CreateBackupMetadata_fieldAccessorTable
+    return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CreateBackupMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.database.v1.CreateBackupMetadata.class,
-            com.google.spanner.admin.database.v1.CreateBackupMetadata.Builder.class);
+            com.google.spanner.admin.database.v1.CreateBackupMetadata.class, com.google.spanner.admin.database.v1.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 [(.google.api.resource_reference) = { ... } - * * @return The name. */ @java.lang.Override @@ -90,29 +67,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the backup being created.
    * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -121,18 +98,14 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int DATABASE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object database_ = ""; /** - * - * *
    * The name of the database the backup is created from.
    * 
* * string database = 2 [(.google.api.resource_reference) = { ... } - * * @return The database. */ @java.lang.Override @@ -141,29 +114,29 @@ public java.lang.String getDatabase() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; } } /** - * - * *
    * The name of the database the backup is created from.
    * 
* * string database = 2 [(.google.api.resource_reference) = { ... } - * * @return The bytes for database. */ @java.lang.Override - public com.google.protobuf.ByteString getDatabaseBytes() { + public com.google.protobuf.ByteString + getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); database_ = b; return b; } else { @@ -174,15 +147,12 @@ public com.google.protobuf.ByteString getDatabaseBytes() { public static final int PROGRESS_FIELD_NUMBER = 3; private com.google.spanner.admin.database.v1.OperationProgress progress_; /** - * - * *
    * The progress of the
    * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
    * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 3; - * * @return Whether the progress field is set. */ @java.lang.Override @@ -190,26 +160,19 @@ public boolean hasProgress() { return progress_ != null; } /** - * - * *
    * The progress of the
    * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
    * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 3; - * * @return The progress. */ @java.lang.Override public com.google.spanner.admin.database.v1.OperationProgress getProgress() { - return progress_ == null - ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() - : progress_; + return progress_ == null ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() : progress_; } /** - * - * *
    * The progress of the
    * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
@@ -219,16 +182,12 @@ public com.google.spanner.admin.database.v1.OperationProgress getProgress() {
    */
   @java.lang.Override
   public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgressOrBuilder() {
-    return progress_ == null
-        ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance()
-        : progress_;
+    return progress_ == null ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() : progress_;
   }
 
   public static final int CANCEL_TIME_FIELD_NUMBER = 4;
   private com.google.protobuf.Timestamp cancelTime_;
   /**
-   *
-   *
    * 
    * The time at which cancellation of this operation was received.
    * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -245,7 +204,6 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre
    * 
* * .google.protobuf.Timestamp cancel_time = 4; - * * @return Whether the cancelTime field is set. */ @java.lang.Override @@ -253,8 +211,6 @@ public boolean hasCancelTime() { return cancelTime_ != null; } /** - * - * *
    * The time at which cancellation of this operation was received.
    * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -271,7 +227,6 @@ public boolean hasCancelTime() {
    * 
* * .google.protobuf.Timestamp cancel_time = 4; - * * @return The cancelTime. */ @java.lang.Override @@ -279,8 +234,6 @@ public com.google.protobuf.Timestamp getCancelTime() { return cancelTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : cancelTime_; } /** - * - * *
    * The time at which cancellation of this operation was received.
    * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -304,7 +257,6 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -316,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(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -345,10 +298,12 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, database_);
     }
     if (progress_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getProgress());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getProgress());
     }
     if (cancelTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCancelTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, getCancelTime());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -358,23 +313,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.spanner.admin.database.v1.CreateBackupMetadata)) {
       return super.equals(obj);
     }
-    com.google.spanner.admin.database.v1.CreateBackupMetadata other =
-        (com.google.spanner.admin.database.v1.CreateBackupMetadata) obj;
+    com.google.spanner.admin.database.v1.CreateBackupMetadata other = (com.google.spanner.admin.database.v1.CreateBackupMetadata) obj;
 
-    if (!getName().equals(other.getName())) return false;
-    if (!getDatabase().equals(other.getDatabase())) return false;
+    if (!getName()
+        .equals(other.getName())) return false;
+    if (!getDatabase()
+        .equals(other.getDatabase())) 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 (hasCancelTime() != other.hasCancelTime()) return false;
     if (hasCancelTime()) {
-      if (!getCancelTime().equals(other.getCancelTime())) return false;
+      if (!getCancelTime()
+          .equals(other.getCancelTime())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -405,104 +363,96 @@ public int hashCode() {
   }
 
   public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.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.spanner.admin.database.v1.CreateBackupMetadata parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.CreateBackupMetadata parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.CreateBackupMetadata parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.spanner.admin.database.v1.CreateBackupMetadata parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.CreateBackupMetadata parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.spanner.admin.database.v1.CreateBackupMetadata parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.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.spanner.admin.database.v1.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.spanner.admin.database.v1.CreateBackupMetadata prototype) {
+  public static Builder newBuilder(com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.DatabaseAdmin.CreateBackup].
@@ -510,32 +460,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.database.v1.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.spanner.admin.database.v1.CreateBackupMetadata)
       com.google.spanner.admin.database.v1.CreateBackupMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.database.v1.BackupProto
-          .internal_static_google_spanner_admin_database_v1_CreateBackupMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CreateBackupMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.database.v1.BackupProto
-          .internal_static_google_spanner_admin_database_v1_CreateBackupMetadata_fieldAccessorTable
+      return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CreateBackupMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.database.v1.CreateBackupMetadata.class,
-              com.google.spanner.admin.database.v1.CreateBackupMetadata.Builder.class);
+              com.google.spanner.admin.database.v1.CreateBackupMetadata.class, com.google.spanner.admin.database.v1.CreateBackupMetadata.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.database.v1.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();
@@ -556,9 +507,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.database.v1.BackupProto
-          .internal_static_google_spanner_admin_database_v1_CreateBackupMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CreateBackupMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -577,11 +528,8 @@ public com.google.spanner.admin.database.v1.CreateBackupMetadata build() {
 
     @java.lang.Override
     public com.google.spanner.admin.database.v1.CreateBackupMetadata buildPartial() {
-      com.google.spanner.admin.database.v1.CreateBackupMetadata result =
-          new com.google.spanner.admin.database.v1.CreateBackupMetadata(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.admin.database.v1.CreateBackupMetadata result = new com.google.spanner.admin.database.v1.CreateBackupMetadata(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -595,10 +543,14 @@ private void buildPartial0(com.google.spanner.admin.database.v1.CreateBackupMeta
         result.database_ = database_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.progress_ = progressBuilder_ == null ? progress_ : progressBuilder_.build();
+        result.progress_ = progressBuilder_ == null
+            ? progress_
+            : progressBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.cancelTime_ = cancelTimeBuilder_ == null ? cancelTime_ : cancelTimeBuilder_.build();
+        result.cancelTime_ = cancelTimeBuilder_ == null
+            ? cancelTime_
+            : cancelTimeBuilder_.build();
       }
     }
 
@@ -606,39 +558,38 @@ private void buildPartial0(com.google.spanner.admin.database.v1.CreateBackupMeta
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.database.v1.CreateBackupMetadata) {
-        return mergeFrom((com.google.spanner.admin.database.v1.CreateBackupMetadata) other);
+        return mergeFrom((com.google.spanner.admin.database.v1.CreateBackupMetadata)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -646,8 +597,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.spanner.admin.database.v1.CreateBackupMetadata other) {
-      if (other == com.google.spanner.admin.database.v1.CreateBackupMetadata.getDefaultInstance())
-        return this;
+      if (other == com.google.spanner.admin.database.v1.CreateBackupMetadata.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -690,37 +640,36 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                database_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getProgressFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getCancelTimeFieldBuilder().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: {
+              database_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getProgressFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getCancelTimeFieldBuilder().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) {
@@ -730,25 +679,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 [(.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; @@ -757,21 +703,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the backup being created.
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -779,35 +724,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the backup being created.
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The name of the backup being created.
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearName() { @@ -817,21 +755,17 @@ public Builder clearName() { return this; } /** - * - * *
      * The name of the backup being created.
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -841,20 +775,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object database_ = ""; /** - * - * *
      * The name of the database the backup is created from.
      * 
* * string database = 2 [(.google.api.resource_reference) = { ... } - * * @return The database. */ public java.lang.String getDatabase() { java.lang.Object ref = database_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; @@ -863,21 +795,20 @@ public java.lang.String getDatabase() { } } /** - * - * *
      * The name of the database the backup is created from.
      * 
* * string database = 2 [(.google.api.resource_reference) = { ... } - * * @return The bytes for database. */ - public com.google.protobuf.ByteString getDatabaseBytes() { + public com.google.protobuf.ByteString + getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); database_ = b; return b; } else { @@ -885,35 +816,28 @@ public com.google.protobuf.ByteString getDatabaseBytes() { } } /** - * - * *
      * The name of the database the backup is created from.
      * 
* * string database = 2 [(.google.api.resource_reference) = { ... } - * * @param value The database to set. * @return This builder for chaining. */ - public Builder setDatabase(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabase( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } database_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The name of the database the backup is created from.
      * 
* * string database = 2 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearDatabase() { @@ -923,21 +847,17 @@ public Builder clearDatabase() { return this; } /** - * - * *
      * The name of the database the backup is created from.
      * 
* * string database = 2 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for database to set. * @return This builder for chaining. */ - public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabaseBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); database_ = value; bitField0_ |= 0x00000002; @@ -947,49 +867,36 @@ public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { private com.google.spanner.admin.database.v1.OperationProgress progress_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.OperationProgress, - com.google.spanner.admin.database.v1.OperationProgress.Builder, - com.google.spanner.admin.database.v1.OperationProgressOrBuilder> - progressBuilder_; + com.google.spanner.admin.database.v1.OperationProgress, com.google.spanner.admin.database.v1.OperationProgress.Builder, com.google.spanner.admin.database.v1.OperationProgressOrBuilder> progressBuilder_; /** - * - * *
      * The progress of the
      * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
      * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 3; - * * @return Whether the progress field is set. */ public boolean hasProgress() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The progress of the
      * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
      * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 3; - * * @return The progress. */ public com.google.spanner.admin.database.v1.OperationProgress getProgress() { if (progressBuilder_ == null) { - return progress_ == null - ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() - : progress_; + return progress_ == null ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() : progress_; } else { return progressBuilder_.getMessage(); } } /** - * - * *
      * The progress of the
      * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
@@ -1011,8 +918,6 @@ public Builder setProgress(com.google.spanner.admin.database.v1.OperationProgres
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
@@ -1032,8 +937,6 @@ public Builder setProgress(
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
@@ -1043,10 +946,9 @@ public Builder setProgress(
      */
     public Builder mergeProgress(com.google.spanner.admin.database.v1.OperationProgress value) {
       if (progressBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0)
-            && progress_ != null
-            && progress_
-                != com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0) &&
+          progress_ != null &&
+          progress_ != com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance()) {
           getProgressBuilder().mergeFrom(value);
         } else {
           progress_ = value;
@@ -1059,8 +961,6 @@ public Builder mergeProgress(com.google.spanner.admin.database.v1.OperationProgr
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
@@ -1079,8 +979,6 @@ public Builder clearProgress() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
@@ -1094,8 +992,6 @@ public com.google.spanner.admin.database.v1.OperationProgress.Builder getProgres
       return getProgressFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
@@ -1107,14 +1003,11 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre
       if (progressBuilder_ != null) {
         return progressBuilder_.getMessageOrBuilder();
       } else {
-        return progress_ == null
-            ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance()
-            : progress_;
+        return progress_ == null ?
+            com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() : progress_;
       }
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
@@ -1123,17 +1016,14 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre
      * .google.spanner.admin.database.v1.OperationProgress progress = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.admin.database.v1.OperationProgress,
-            com.google.spanner.admin.database.v1.OperationProgress.Builder,
-            com.google.spanner.admin.database.v1.OperationProgressOrBuilder>
+        com.google.spanner.admin.database.v1.OperationProgress, com.google.spanner.admin.database.v1.OperationProgress.Builder, com.google.spanner.admin.database.v1.OperationProgressOrBuilder> 
         getProgressFieldBuilder() {
       if (progressBuilder_ == null) {
-        progressBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.admin.database.v1.OperationProgress,
-                com.google.spanner.admin.database.v1.OperationProgress.Builder,
-                com.google.spanner.admin.database.v1.OperationProgressOrBuilder>(
-                getProgress(), getParentForChildren(), isClean());
+        progressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.admin.database.v1.OperationProgress, com.google.spanner.admin.database.v1.OperationProgress.Builder, com.google.spanner.admin.database.v1.OperationProgressOrBuilder>(
+                getProgress(),
+                getParentForChildren(),
+                isClean());
         progress_ = null;
       }
       return progressBuilder_;
@@ -1141,13 +1031,8 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre
 
     private com.google.protobuf.Timestamp cancelTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        cancelTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> cancelTimeBuilder_;
     /**
-     *
-     *
      * 
      * The time at which cancellation of this operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1164,15 +1049,12 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre
      * 
* * .google.protobuf.Timestamp cancel_time = 4; - * * @return Whether the cancelTime field is set. */ public boolean hasCancelTime() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * The time at which cancellation of this operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1189,21 +1071,16 @@ public boolean hasCancelTime() {
      * 
* * .google.protobuf.Timestamp cancel_time = 4; - * * @return The cancelTime. */ public com.google.protobuf.Timestamp getCancelTime() { if (cancelTimeBuilder_ == null) { - return cancelTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : cancelTime_; + return cancelTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : cancelTime_; } else { return cancelTimeBuilder_.getMessage(); } } /** - * - * *
      * The time at which cancellation of this operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1235,8 +1112,6 @@ public Builder setCancelTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which cancellation of this operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1254,7 +1129,8 @@ public Builder setCancelTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp cancel_time = 4;
      */
-    public Builder setCancelTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setCancelTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (cancelTimeBuilder_ == null) {
         cancelTime_ = builderForValue.build();
       } else {
@@ -1265,8 +1141,6 @@ public Builder setCancelTime(com.google.protobuf.Timestamp.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which cancellation of this operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1286,9 +1160,9 @@ public Builder setCancelTime(com.google.protobuf.Timestamp.Builder builderForVal
      */
     public Builder mergeCancelTime(com.google.protobuf.Timestamp value) {
       if (cancelTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000008) != 0)
-            && cancelTime_ != null
-            && cancelTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0) &&
+          cancelTime_ != null &&
+          cancelTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getCancelTimeBuilder().mergeFrom(value);
         } else {
           cancelTime_ = value;
@@ -1301,8 +1175,6 @@ public Builder mergeCancelTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which cancellation of this operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1331,8 +1203,6 @@ public Builder clearCancelTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which cancellation of this operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1356,8 +1226,6 @@ public com.google.protobuf.Timestamp.Builder getCancelTimeBuilder() {
       return getCancelTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time at which cancellation of this operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1379,14 +1247,11 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
       if (cancelTimeBuilder_ != null) {
         return cancelTimeBuilder_.getMessageOrBuilder();
       } else {
-        return cancelTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : cancelTime_;
+        return cancelTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : cancelTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The time at which cancellation of this operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1405,24 +1270,21 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
      * .google.protobuf.Timestamp cancel_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> 
         getCancelTimeFieldBuilder() {
       if (cancelTimeBuilder_ == null) {
-        cancelTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getCancelTime(), getParentForChildren(), isClean());
+        cancelTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getCancelTime(),
+                getParentForChildren(),
+                isClean());
         cancelTime_ = null;
       }
       return cancelTimeBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1432,12 +1294,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.CreateBackupMetadata)
   }
 
   // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.CreateBackupMetadata)
   private static final com.google.spanner.admin.database.v1.CreateBackupMetadata DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.CreateBackupMetadata();
   }
@@ -1446,27 +1308,27 @@ public static com.google.spanner.admin.database.v1.CreateBackupMetadata getDefau
     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;
@@ -1481,4 +1343,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.spanner.admin.database.v1.CreateBackupMetadata getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupMetadataOrBuilder.java
similarity index 85%
rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupMetadataOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupMetadataOrBuilder.java
index 5ca2529e2f3..d9e4aa26cfd 100644
--- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupMetadataOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupMetadataOrBuilder.java
@@ -1,107 +1,73 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/admin/database/v1/backup.proto
 
 package com.google.spanner.admin.database.v1;
 
-public interface CreateBackupMetadataOrBuilder
-    extends
+public interface CreateBackupMetadataOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.CreateBackupMetadata)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The name of the backup being created.
    * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the backup being created.
    * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The name of the database the backup is created from.
    * 
* * string database = 2 [(.google.api.resource_reference) = { ... } - * * @return The database. */ java.lang.String getDatabase(); /** - * - * *
    * The name of the database the backup is created from.
    * 
* * string database = 2 [(.google.api.resource_reference) = { ... } - * * @return The bytes for database. */ - com.google.protobuf.ByteString getDatabaseBytes(); + com.google.protobuf.ByteString + getDatabaseBytes(); /** - * - * *
    * The progress of the
    * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
    * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 3; - * * @return Whether the progress field is set. */ boolean hasProgress(); /** - * - * *
    * The progress of the
    * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
    * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 3; - * * @return The progress. */ com.google.spanner.admin.database.v1.OperationProgress getProgress(); /** - * - * *
    * The progress of the
    * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
@@ -112,8 +78,6 @@ public interface CreateBackupMetadataOrBuilder
   com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgressOrBuilder();
 
   /**
-   *
-   *
    * 
    * The time at which cancellation of this operation was received.
    * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -130,13 +94,10 @@ public interface CreateBackupMetadataOrBuilder
    * 
* * .google.protobuf.Timestamp cancel_time = 4; - * * @return Whether the cancelTime field is set. */ boolean hasCancelTime(); /** - * - * *
    * The time at which cancellation of this operation was received.
    * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -153,13 +114,10 @@ public interface CreateBackupMetadataOrBuilder
    * 
* * .google.protobuf.Timestamp cancel_time = 4; - * * @return The cancelTime. */ com.google.protobuf.Timestamp getCancelTime(); /** - * - * *
    * The time at which cancellation of this operation was received.
    * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupRequest.java
similarity index 65%
rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupRequest.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupRequest.java
index 96197d756b5..99e9480f7e4 100644
--- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupRequest.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/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/spanner/admin/database/v1/backup.proto
 
 package com.google.spanner.admin.database.v1;
 
 /**
- *
- *
  * 
  * The request for [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup].
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.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.spanner.admin.database.v1.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,37 +26,33 @@ private CreateBackupRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateBackupRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_CreateBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CreateBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_CreateBackupRequest_fieldAccessorTable + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CreateBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.CreateBackupRequest.class, - com.google.spanner.admin.database.v1.CreateBackupRequest.Builder.class); + com.google.spanner.admin.database.v1.CreateBackupRequest.class, com.google.spanner.admin.database.v1.CreateBackupRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The name of the instance in which the backup will be
    * created. This must be the same instance that contains the database the
@@ -84,10 +62,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 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 name of the instance in which the backup will be
    * created. This must be the same instance that contains the database the
@@ -114,18 +88,17 @@ public java.lang.String getParent() {
    * `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 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 { @@ -134,12 +107,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` appended to
    * `parent` forms the full backup name of the form
@@ -147,7 +117,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The backupId. */ @java.lang.Override @@ -156,15 +125,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` appended to
    * `parent` forms the full backup name of the form
@@ -172,15 +140,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 { @@ -191,16 +160,11 @@ public com.google.protobuf.ByteString getBackupIdBytes() { public static final int BACKUP_FIELD_NUMBER = 3; private com.google.spanner.admin.database.v1.Backup backup_; /** - * - * *
    * Required. The backup to create.
    * 
* - * - * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the backup field is set. */ @java.lang.Override @@ -208,47 +172,32 @@ public boolean hasBackup() { return backup_ != null; } /** - * - * *
    * Required. The backup to create.
    * 
* - * - * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The backup. */ @java.lang.Override public com.google.spanner.admin.database.v1.Backup getBackup() { - return backup_ == null - ? com.google.spanner.admin.database.v1.Backup.getDefaultInstance() - : backup_; + return backup_ == null ? com.google.spanner.admin.database.v1.Backup.getDefaultInstance() : backup_; } /** - * - * *
    * Required. The backup to create.
    * 
* - * - * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.spanner.admin.database.v1.BackupOrBuilder getBackupOrBuilder() { - return backup_ == null - ? com.google.spanner.admin.database.v1.Backup.getDefaultInstance() - : backup_; + return backup_ == null ? com.google.spanner.admin.database.v1.Backup.getDefaultInstance() : backup_; } public static final int ENCRYPTION_CONFIG_FIELD_NUMBER = 4; private com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryptionConfig_; /** - * - * *
    * Optional. The encryption configuration used to encrypt the backup. If this field is
    * not specified, the backup will use the same
@@ -257,10 +206,7 @@ public com.google.spanner.admin.database.v1.BackupOrBuilder getBackupOrBuilder()
    * `USE_DATABASE_ENCRYPTION`.
    * 
* - * - * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the encryptionConfig field is set. */ @java.lang.Override @@ -268,8 +214,6 @@ public boolean hasEncryptionConfig() { return encryptionConfig_ != null; } /** - * - * *
    * Optional. The encryption configuration used to encrypt the backup. If this field is
    * not specified, the backup will use the same
@@ -278,21 +222,14 @@ public boolean hasEncryptionConfig() {
    * `USE_DATABASE_ENCRYPTION`.
    * 
* - * - * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The encryptionConfig. */ @java.lang.Override public com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig getEncryptionConfig() { - return encryptionConfig_ == null - ? com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.getDefaultInstance() : encryptionConfig_; } /** - * - * *
    * Optional. The encryption configuration used to encrypt the backup. If this field is
    * not specified, the backup will use the same
@@ -301,20 +238,14 @@ public com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig getEncr
    * `USE_DATABASE_ENCRYPTION`.
    * 
* - * - * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.spanner.admin.database.v1.CreateBackupEncryptionConfigOrBuilder - getEncryptionConfigOrBuilder() { - return encryptionConfig_ == null - ? com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.getDefaultInstance() - : encryptionConfig_; + public com.google.spanner.admin.database.v1.CreateBackupEncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { + return encryptionConfig_ == null ? com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.getDefaultInstance() : encryptionConfig_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -326,7 +257,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -355,10 +287,12 @@ 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()); } if (encryptionConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getEncryptionConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getEncryptionConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -368,23 +302,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.spanner.admin.database.v1.CreateBackupRequest)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.CreateBackupRequest other = - (com.google.spanner.admin.database.v1.CreateBackupRequest) obj; + com.google.spanner.admin.database.v1.CreateBackupRequest other = (com.google.spanner.admin.database.v1.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 (hasEncryptionConfig() != other.hasEncryptionConfig()) return false; if (hasEncryptionConfig()) { - if (!getEncryptionConfig().equals(other.getEncryptionConfig())) return false; + if (!getEncryptionConfig() + .equals(other.getEncryptionConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -415,136 +352,129 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.CreateBackupRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.CreateBackupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.CreateBackupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.CreateBackupRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.CreateBackupRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.CreateBackupRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.CreateBackupRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.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.spanner.admin.database.v1.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.spanner.admin.database.v1.CreateBackupRequest prototype) { + public static Builder newBuilder(com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.DatabaseAdmin.CreateBackup].
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.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.spanner.admin.database.v1.CreateBackupRequest) com.google.spanner.admin.database.v1.CreateBackupRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_CreateBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CreateBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_CreateBackupRequest_fieldAccessorTable + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CreateBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.CreateBackupRequest.class, - com.google.spanner.admin.database.v1.CreateBackupRequest.Builder.class); + com.google.spanner.admin.database.v1.CreateBackupRequest.class, com.google.spanner.admin.database.v1.CreateBackupRequest.Builder.class); } // Construct using com.google.spanner.admin.database.v1.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(); @@ -565,9 +495,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_CreateBackupRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CreateBackupRequest_descriptor; } @java.lang.Override @@ -586,11 +516,8 @@ public com.google.spanner.admin.database.v1.CreateBackupRequest build() { @java.lang.Override public com.google.spanner.admin.database.v1.CreateBackupRequest buildPartial() { - com.google.spanner.admin.database.v1.CreateBackupRequest result = - new com.google.spanner.admin.database.v1.CreateBackupRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.admin.database.v1.CreateBackupRequest result = new com.google.spanner.admin.database.v1.CreateBackupRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -604,11 +531,14 @@ private void buildPartial0(com.google.spanner.admin.database.v1.CreateBackupRequ result.backupId_ = backupId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.backup_ = backupBuilder_ == null ? backup_ : backupBuilder_.build(); + result.backup_ = backupBuilder_ == null + ? backup_ + : backupBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { - result.encryptionConfig_ = - encryptionConfigBuilder_ == null ? encryptionConfig_ : encryptionConfigBuilder_.build(); + result.encryptionConfig_ = encryptionConfigBuilder_ == null + ? encryptionConfig_ + : encryptionConfigBuilder_.build(); } } @@ -616,39 +546,38 @@ private void buildPartial0(com.google.spanner.admin.database.v1.CreateBackupRequ public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.admin.database.v1.CreateBackupRequest) { - return mergeFrom((com.google.spanner.admin.database.v1.CreateBackupRequest) other); + return mergeFrom((com.google.spanner.admin.database.v1.CreateBackupRequest)other); } else { super.mergeFrom(other); return this; @@ -656,8 +585,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.admin.database.v1.CreateBackupRequest other) { - if (other == com.google.spanner.admin.database.v1.CreateBackupRequest.getDefaultInstance()) - return this; + if (other == com.google.spanner.admin.database.v1.CreateBackupRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -700,38 +628,36 @@ 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 - case 34: - { - input.readMessage( - getEncryptionConfigFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + backupId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getBackupFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + input.readMessage( + getEncryptionConfigFieldBuilder().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) { @@ -741,13 +667,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The name of the instance in which the backup will be
      * created. This must be the same instance that contains the database the
@@ -757,16 +680,14 @@ public Builder mergeFrom(
      * `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 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; @@ -775,8 +696,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the instance in which the backup will be
      * created. This must be the same instance that contains the database the
@@ -786,17 +705,16 @@ public java.lang.String getParent() {
      * `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 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,8 +722,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the instance in which the backup will be
      * created. This must be the same instance that contains the database the
@@ -815,25 +731,19 @@ public com.google.protobuf.ByteString getParentBytes() {
      * `projects/<project>/instances/<instance>`.
      * 
* - * - * 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 the backup will be
      * created. This must be the same instance that contains the database the
@@ -843,10 +753,7 @@ public Builder setParent(java.lang.String value) {
      * `projects/<project>/instances/<instance>`.
      * 
* - * - * string 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,8 +763,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The name of the instance in which the backup will be
      * created. This must be the same instance that contains the database the
@@ -867,17 +772,13 @@ public Builder clearParent() {
      * `projects/<project>/instances/<instance>`.
      * 
* - * - * 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; @@ -887,8 +788,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` appended to
      * `parent` forms the full backup name of the form
@@ -896,13 +795,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; @@ -911,8 +810,6 @@ public java.lang.String getBackupId() { } } /** - * - * *
      * Required. The id of the backup to be created. The `backup_id` appended to
      * `parent` forms the full backup name of the form
@@ -920,14 +817,15 @@ public java.lang.String getBackupId() {
      * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for backupId. */ - public com.google.protobuf.ByteString getBackupIdBytes() { + public com.google.protobuf.ByteString + getBackupIdBytes() { java.lang.Object ref = backupId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); backupId_ = b; return b; } else { @@ -935,8 +833,6 @@ public com.google.protobuf.ByteString getBackupIdBytes() { } } /** - * - * *
      * Required. The id of the backup to be created. The `backup_id` appended to
      * `parent` forms the full backup name of the form
@@ -944,22 +840,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` appended to
      * `parent` forms the full backup name of the form
@@ -967,7 +859,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() { @@ -977,8 +868,6 @@ public Builder clearBackupId() { return this; } /** - * - * *
      * Required. The id of the backup to be created. The `backup_id` appended to
      * `parent` forms the full backup name of the form
@@ -986,14 +875,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; @@ -1003,58 +890,39 @@ public Builder setBackupIdBytes(com.google.protobuf.ByteString value) { private com.google.spanner.admin.database.v1.Backup backup_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.Backup, - com.google.spanner.admin.database.v1.Backup.Builder, - com.google.spanner.admin.database.v1.BackupOrBuilder> - backupBuilder_; + com.google.spanner.admin.database.v1.Backup, com.google.spanner.admin.database.v1.Backup.Builder, com.google.spanner.admin.database.v1.BackupOrBuilder> backupBuilder_; /** - * - * *
      * Required. The backup to create.
      * 
* - * - * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.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.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The backup. */ public com.google.spanner.admin.database.v1.Backup getBackup() { if (backupBuilder_ == null) { - return backup_ == null - ? com.google.spanner.admin.database.v1.Backup.getDefaultInstance() - : backup_; + return backup_ == null ? com.google.spanner.admin.database.v1.Backup.getDefaultInstance() : backup_; } else { return backupBuilder_.getMessage(); } } /** - * - * *
      * Required. The backup to create.
      * 
* - * - * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setBackup(com.google.spanner.admin.database.v1.Backup value) { if (backupBuilder_ == null) { @@ -1070,17 +938,14 @@ public Builder setBackup(com.google.spanner.admin.database.v1.Backup value) { return this; } /** - * - * *
      * Required. The backup to create.
      * 
* - * - * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setBackup(com.google.spanner.admin.database.v1.Backup.Builder builderForValue) { + public Builder setBackup( + com.google.spanner.admin.database.v1.Backup.Builder builderForValue) { if (backupBuilder_ == null) { backup_ = builderForValue.build(); } else { @@ -1091,21 +956,17 @@ public Builder setBackup(com.google.spanner.admin.database.v1.Backup.Builder bui return this; } /** - * - * *
      * Required. The backup to create.
      * 
* - * - * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeBackup(com.google.spanner.admin.database.v1.Backup value) { if (backupBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && backup_ != null - && backup_ != com.google.spanner.admin.database.v1.Backup.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + backup_ != null && + backup_ != com.google.spanner.admin.database.v1.Backup.getDefaultInstance()) { getBackupBuilder().mergeFrom(value); } else { backup_ = value; @@ -1118,15 +979,11 @@ public Builder mergeBackup(com.google.spanner.admin.database.v1.Backup value) { return this; } /** - * - * *
      * Required. The backup to create.
      * 
* - * - * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearBackup() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1139,15 +996,11 @@ public Builder clearBackup() { return this; } /** - * - * *
      * Required. The backup to create.
      * 
* - * - * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.spanner.admin.database.v1.Backup.Builder getBackupBuilder() { bitField0_ |= 0x00000004; @@ -1155,48 +1008,36 @@ public com.google.spanner.admin.database.v1.Backup.Builder getBackupBuilder() { return getBackupFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The backup to create.
      * 
* - * - * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.spanner.admin.database.v1.BackupOrBuilder getBackupOrBuilder() { if (backupBuilder_ != null) { return backupBuilder_.getMessageOrBuilder(); } else { - return backup_ == null - ? com.google.spanner.admin.database.v1.Backup.getDefaultInstance() - : backup_; + return backup_ == null ? + com.google.spanner.admin.database.v1.Backup.getDefaultInstance() : backup_; } } /** - * - * *
      * Required. The backup to create.
      * 
* - * - * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.Backup, - com.google.spanner.admin.database.v1.Backup.Builder, - com.google.spanner.admin.database.v1.BackupOrBuilder> + com.google.spanner.admin.database.v1.Backup, com.google.spanner.admin.database.v1.Backup.Builder, com.google.spanner.admin.database.v1.BackupOrBuilder> getBackupFieldBuilder() { if (backupBuilder_ == null) { - backupBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.Backup, - com.google.spanner.admin.database.v1.Backup.Builder, - com.google.spanner.admin.database.v1.BackupOrBuilder>( - getBackup(), getParentForChildren(), isClean()); + backupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.admin.database.v1.Backup, com.google.spanner.admin.database.v1.Backup.Builder, com.google.spanner.admin.database.v1.BackupOrBuilder>( + getBackup(), + getParentForChildren(), + isClean()); backup_ = null; } return backupBuilder_; @@ -1204,13 +1045,8 @@ public com.google.spanner.admin.database.v1.BackupOrBuilder getBackupOrBuilder() private com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryptionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig, - com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.Builder, - com.google.spanner.admin.database.v1.CreateBackupEncryptionConfigOrBuilder> - encryptionConfigBuilder_; + com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig, com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.Builder, com.google.spanner.admin.database.v1.CreateBackupEncryptionConfigOrBuilder> encryptionConfigBuilder_; /** - * - * *
      * Optional. The encryption configuration used to encrypt the backup. If this field is
      * not specified, the backup will use the same
@@ -1219,18 +1055,13 @@ public com.google.spanner.admin.database.v1.BackupOrBuilder getBackupOrBuilder()
      * `USE_DATABASE_ENCRYPTION`.
      * 
* - * - * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the encryptionConfig field is set. */ public boolean hasEncryptionConfig() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Optional. The encryption configuration used to encrypt the backup. If this field is
      * not specified, the backup will use the same
@@ -1239,24 +1070,17 @@ public boolean hasEncryptionConfig() {
      * `USE_DATABASE_ENCRYPTION`.
      * 
* - * - * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The encryptionConfig. */ public com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig getEncryptionConfig() { if (encryptionConfigBuilder_ == null) { - return encryptionConfig_ == null - ? com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.getDefaultInstance() : encryptionConfig_; } else { return encryptionConfigBuilder_.getMessage(); } } /** - * - * *
      * Optional. The encryption configuration used to encrypt the backup. If this field is
      * not specified, the backup will use the same
@@ -1265,12 +1089,9 @@ public com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig getEncr
      * `USE_DATABASE_ENCRYPTION`.
      * 
* - * - * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setEncryptionConfig( - com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig value) { + public Builder setEncryptionConfig(com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig value) { if (encryptionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1284,8 +1105,6 @@ public Builder setEncryptionConfig( return this; } /** - * - * *
      * Optional. The encryption configuration used to encrypt the backup. If this field is
      * not specified, the backup will use the same
@@ -1294,9 +1113,7 @@ public Builder setEncryptionConfig(
      * `USE_DATABASE_ENCRYPTION`.
      * 
* - * - * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setEncryptionConfig( com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.Builder builderForValue) { @@ -1310,8 +1127,6 @@ public Builder setEncryptionConfig( return this; } /** - * - * *
      * Optional. The encryption configuration used to encrypt the backup. If this field is
      * not specified, the backup will use the same
@@ -1320,18 +1135,13 @@ public Builder setEncryptionConfig(
      * `USE_DATABASE_ENCRYPTION`.
      * 
* - * - * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder mergeEncryptionConfig( - com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig value) { + public Builder mergeEncryptionConfig(com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig value) { if (encryptionConfigBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && encryptionConfig_ != null - && encryptionConfig_ - != com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig - .getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + encryptionConfig_ != null && + encryptionConfig_ != com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.getDefaultInstance()) { getEncryptionConfigBuilder().mergeFrom(value); } else { encryptionConfig_ = value; @@ -1344,8 +1154,6 @@ public Builder mergeEncryptionConfig( return this; } /** - * - * *
      * Optional. The encryption configuration used to encrypt the backup. If this field is
      * not specified, the backup will use the same
@@ -1354,9 +1162,7 @@ public Builder mergeEncryptionConfig(
      * `USE_DATABASE_ENCRYPTION`.
      * 
* - * - * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearEncryptionConfig() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1369,8 +1175,6 @@ public Builder clearEncryptionConfig() { return this; } /** - * - * *
      * Optional. The encryption configuration used to encrypt the backup. If this field is
      * not specified, the backup will use the same
@@ -1379,19 +1183,14 @@ public Builder clearEncryptionConfig() {
      * `USE_DATABASE_ENCRYPTION`.
      * 
* - * - * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.Builder - getEncryptionConfigBuilder() { + public com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.Builder getEncryptionConfigBuilder() { bitField0_ |= 0x00000008; onChanged(); return getEncryptionConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. The encryption configuration used to encrypt the backup. If this field is
      * not specified, the backup will use the same
@@ -1400,23 +1199,17 @@ public Builder clearEncryptionConfig() {
      * `USE_DATABASE_ENCRYPTION`.
      * 
* - * - * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.spanner.admin.database.v1.CreateBackupEncryptionConfigOrBuilder - getEncryptionConfigOrBuilder() { + public com.google.spanner.admin.database.v1.CreateBackupEncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { if (encryptionConfigBuilder_ != null) { return encryptionConfigBuilder_.getMessageOrBuilder(); } else { - return encryptionConfig_ == null - ? com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? + com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.getDefaultInstance() : encryptionConfig_; } } /** - * - * *
      * Optional. The encryption configuration used to encrypt the backup. If this field is
      * not specified, the backup will use the same
@@ -1425,29 +1218,24 @@ public Builder clearEncryptionConfig() {
      * `USE_DATABASE_ENCRYPTION`.
      * 
* - * - * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig, - com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.Builder, - com.google.spanner.admin.database.v1.CreateBackupEncryptionConfigOrBuilder> + com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig, com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.Builder, com.google.spanner.admin.database.v1.CreateBackupEncryptionConfigOrBuilder> getEncryptionConfigFieldBuilder() { if (encryptionConfigBuilder_ == null) { - encryptionConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig, - com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.Builder, - com.google.spanner.admin.database.v1.CreateBackupEncryptionConfigOrBuilder>( - getEncryptionConfig(), getParentForChildren(), isClean()); + encryptionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig, com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.Builder, com.google.spanner.admin.database.v1.CreateBackupEncryptionConfigOrBuilder>( + 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); } @@ -1457,12 +1245,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.CreateBackupRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.CreateBackupRequest) private static final com.google.spanner.admin.database.v1.CreateBackupRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.CreateBackupRequest(); } @@ -1471,27 +1259,27 @@ public static com.google.spanner.admin.database.v1.CreateBackupRequest getDefaul 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; @@ -1506,4 +1294,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.CreateBackupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupRequestOrBuilder.java similarity index 65% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupRequestOrBuilder.java index 533a7441a76..0751e6271df 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupRequestOrBuilder.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/spanner/admin/database/v1/backup.proto package com.google.spanner.admin.database.v1; -public interface CreateBackupRequestOrBuilder - extends +public interface CreateBackupRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.CreateBackupRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the instance in which the backup will be
    * created. This must be the same instance that contains the database the
@@ -35,16 +17,11 @@ public interface CreateBackupRequestOrBuilder
    * `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 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 the backup will be
    * created. This must be the same instance that contains the database the
@@ -54,17 +31,13 @@ public interface CreateBackupRequestOrBuilder
    * `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 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` appended to
    * `parent` forms the full backup name of the form
@@ -72,13 +45,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` appended to
    * `parent` forms the full backup name of the form
@@ -86,55 +56,39 @@ 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.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the backup field is set. */ boolean hasBackup(); /** - * - * *
    * Required. The backup to create.
    * 
* - * - * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The backup. */ com.google.spanner.admin.database.v1.Backup getBackup(); /** - * - * *
    * Required. The backup to create.
    * 
* - * - * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.spanner.admin.database.v1.BackupOrBuilder getBackupOrBuilder(); /** - * - * *
    * Optional. The encryption configuration used to encrypt the backup. If this field is
    * not specified, the backup will use the same
@@ -143,16 +97,11 @@ public interface CreateBackupRequestOrBuilder
    * `USE_DATABASE_ENCRYPTION`.
    * 
* - * - * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the encryptionConfig field is set. */ boolean hasEncryptionConfig(); /** - * - * *
    * Optional. The encryption configuration used to encrypt the backup. If this field is
    * not specified, the backup will use the same
@@ -161,16 +110,11 @@ public interface CreateBackupRequestOrBuilder
    * `USE_DATABASE_ENCRYPTION`.
    * 
* - * - * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The encryptionConfig. */ com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig getEncryptionConfig(); /** - * - * *
    * Optional. The encryption configuration used to encrypt the backup. If this field is
    * not specified, the backup will use the same
@@ -179,10 +123,7 @@ public interface CreateBackupRequestOrBuilder
    * `USE_DATABASE_ENCRYPTION`.
    * 
* - * - * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.spanner.admin.database.v1.CreateBackupEncryptionConfigOrBuilder - getEncryptionConfigOrBuilder(); + com.google.spanner.admin.database.v1.CreateBackupEncryptionConfigOrBuilder getEncryptionConfigOrBuilder(); } diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseMetadata.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseMetadata.java similarity index 66% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseMetadata.java index b24893c407a..d0081731d35 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseMetadata.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/spanner/admin/database/v1/spanner_database_admin.proto package com.google.spanner.admin.database.v1; /** - * - * *
  * Metadata type for the operation returned by
  * [CreateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.CreateDatabase].
@@ -28,59 +11,53 @@
  *
  * Protobuf type {@code google.spanner.admin.database.v1.CreateDatabaseMetadata}
  */
-public final class CreateDatabaseMetadata extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CreateDatabaseMetadata extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.CreateDatabaseMetadata)
     CreateDatabaseMetadataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CreateDatabaseMetadata.newBuilder() to construct.
   private CreateDatabaseMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CreateDatabaseMetadata() {
     database_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CreateDatabaseMetadata();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-        .internal_static_google_spanner_admin_database_v1_CreateDatabaseMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_CreateDatabaseMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-        .internal_static_google_spanner_admin_database_v1_CreateDatabaseMetadata_fieldAccessorTable
+    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_CreateDatabaseMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.database.v1.CreateDatabaseMetadata.class,
-            com.google.spanner.admin.database.v1.CreateDatabaseMetadata.Builder.class);
+            com.google.spanner.admin.database.v1.CreateDatabaseMetadata.class, com.google.spanner.admin.database.v1.CreateDatabaseMetadata.Builder.class);
   }
 
   public static final int DATABASE_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object database_ = "";
   /**
-   *
-   *
    * 
    * The database being created.
    * 
* * string database = 1 [(.google.api.resource_reference) = { ... } - * * @return The database. */ @java.lang.Override @@ -89,29 +66,29 @@ public java.lang.String getDatabase() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; } } /** - * - * *
    * The database being created.
    * 
* * string database = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for database. */ @java.lang.Override - public com.google.protobuf.ByteString getDatabaseBytes() { + public com.google.protobuf.ByteString + getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); database_ = b; return b; } else { @@ -120,7 +97,6 @@ public com.google.protobuf.ByteString getDatabaseBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -132,7 +108,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(database_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, database_); } @@ -156,15 +133,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.database.v1.CreateDatabaseMetadata)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.CreateDatabaseMetadata other = - (com.google.spanner.admin.database.v1.CreateDatabaseMetadata) obj; + com.google.spanner.admin.database.v1.CreateDatabaseMetadata other = (com.google.spanner.admin.database.v1.CreateDatabaseMetadata) obj; - if (!getDatabase().equals(other.getDatabase())) return false; + if (!getDatabase() + .equals(other.getDatabase())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -184,104 +161,96 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.CreateDatabaseMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.CreateDatabaseMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.CreateDatabaseMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.CreateDatabaseMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.CreateDatabaseMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.CreateDatabaseMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.CreateDatabaseMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.CreateDatabaseMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.CreateDatabaseMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.CreateDatabaseMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.CreateDatabaseMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.CreateDatabaseMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.CreateDatabaseMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.CreateDatabaseMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.database.v1.CreateDatabaseMetadata prototype) { + public static Builder newBuilder(com.google.spanner.admin.database.v1.CreateDatabaseMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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
    * [CreateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.CreateDatabase].
@@ -289,32 +258,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.database.v1.CreateDatabaseMetadata}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.CreateDatabaseMetadata)
       com.google.spanner.admin.database.v1.CreateDatabaseMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-          .internal_static_google_spanner_admin_database_v1_CreateDatabaseMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_CreateDatabaseMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-          .internal_static_google_spanner_admin_database_v1_CreateDatabaseMetadata_fieldAccessorTable
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_CreateDatabaseMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.database.v1.CreateDatabaseMetadata.class,
-              com.google.spanner.admin.database.v1.CreateDatabaseMetadata.Builder.class);
+              com.google.spanner.admin.database.v1.CreateDatabaseMetadata.class, com.google.spanner.admin.database.v1.CreateDatabaseMetadata.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.database.v1.CreateDatabaseMetadata.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.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 +294,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-          .internal_static_google_spanner_admin_database_v1_CreateDatabaseMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_CreateDatabaseMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -345,11 +315,8 @@ public com.google.spanner.admin.database.v1.CreateDatabaseMetadata build() {
 
     @java.lang.Override
     public com.google.spanner.admin.database.v1.CreateDatabaseMetadata buildPartial() {
-      com.google.spanner.admin.database.v1.CreateDatabaseMetadata result =
-          new com.google.spanner.admin.database.v1.CreateDatabaseMetadata(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.admin.database.v1.CreateDatabaseMetadata result = new com.google.spanner.admin.database.v1.CreateDatabaseMetadata(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -365,39 +332,38 @@ private void buildPartial0(com.google.spanner.admin.database.v1.CreateDatabaseMe
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.database.v1.CreateDatabaseMetadata) {
-        return mergeFrom((com.google.spanner.admin.database.v1.CreateDatabaseMetadata) other);
+        return mergeFrom((com.google.spanner.admin.database.v1.CreateDatabaseMetadata)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -405,8 +371,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.spanner.admin.database.v1.CreateDatabaseMetadata other) {
-      if (other == com.google.spanner.admin.database.v1.CreateDatabaseMetadata.getDefaultInstance())
-        return this;
+      if (other == com.google.spanner.admin.database.v1.CreateDatabaseMetadata.getDefaultInstance()) return this;
       if (!other.getDatabase().isEmpty()) {
         database_ = other.database_;
         bitField0_ |= 0x00000001;
@@ -438,19 +403,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                database_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              database_ = 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,25 +423,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object database_ = "";
     /**
-     *
-     *
      * 
      * The database being created.
      * 
* * string database = 1 [(.google.api.resource_reference) = { ... } - * * @return The database. */ public java.lang.String getDatabase() { java.lang.Object ref = database_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; @@ -487,21 +447,20 @@ public java.lang.String getDatabase() { } } /** - * - * *
      * The database being created.
      * 
* * string database = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for database. */ - public com.google.protobuf.ByteString getDatabaseBytes() { + public com.google.protobuf.ByteString + getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); database_ = b; return b; } else { @@ -509,35 +468,28 @@ public com.google.protobuf.ByteString getDatabaseBytes() { } } /** - * - * *
      * The database being created.
      * 
* * string database = 1 [(.google.api.resource_reference) = { ... } - * * @param value The database to set. * @return This builder for chaining. */ - public Builder setDatabase(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabase( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } database_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The database being created.
      * 
* * string database = 1 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearDatabase() { @@ -547,30 +499,26 @@ public Builder clearDatabase() { return this; } /** - * - * *
      * The database being created.
      * 
* * string database = 1 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for database to set. * @return This builder for chaining. */ - public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabaseBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); database_ = 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); } @@ -580,12 +528,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.CreateDatabaseMetadata) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.CreateDatabaseMetadata) private static final com.google.spanner.admin.database.v1.CreateDatabaseMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.CreateDatabaseMetadata(); } @@ -594,27 +542,27 @@ public static com.google.spanner.admin.database.v1.CreateDatabaseMetadata getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateDatabaseMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateDatabaseMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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 +577,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.CreateDatabaseMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseMetadataOrBuilder.java similarity index 50% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseMetadataOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseMetadataOrBuilder.java index ce1922985d9..be3ab217717 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseMetadataOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseMetadataOrBuilder.java @@ -1,50 +1,29 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/spanner_database_admin.proto package com.google.spanner.admin.database.v1; -public interface CreateDatabaseMetadataOrBuilder - extends +public interface CreateDatabaseMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.CreateDatabaseMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The database being created.
    * 
* * string database = 1 [(.google.api.resource_reference) = { ... } - * * @return The database. */ java.lang.String getDatabase(); /** - * - * *
    * The database being created.
    * 
* * string database = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for database. */ - com.google.protobuf.ByteString getDatabaseBytes(); + com.google.protobuf.ByteString + getDatabaseBytes(); } diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseRequest.java similarity index 69% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseRequest.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseRequest.java index e393b538ff4..7b3023ec129 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseRequest.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/spanner/admin/database/v1/spanner_database_admin.proto package com.google.spanner.admin.database.v1; /** - * - * *
  * The request for [CreateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.CreateDatabase].
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.CreateDatabaseRequest} */ -public final class CreateDatabaseRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateDatabaseRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.CreateDatabaseRequest) CreateDatabaseRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateDatabaseRequest.newBuilder() to construct. private CreateDatabaseRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateDatabaseRequest() { parent_ = ""; createStatement_ = ""; @@ -46,46 +28,39 @@ private CreateDatabaseRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateDatabaseRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_CreateDatabaseRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_CreateDatabaseRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_CreateDatabaseRequest_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_CreateDatabaseRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.CreateDatabaseRequest.class, - com.google.spanner.admin.database.v1.CreateDatabaseRequest.Builder.class); + com.google.spanner.admin.database.v1.CreateDatabaseRequest.class, com.google.spanner.admin.database.v1.CreateDatabaseRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The name of the instance that will serve the new database.
    * Values are of the form `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -94,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 name of the instance that will serve the new database.
    * Values are of the form `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -128,12 +101,9 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int CREATE_STATEMENT_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object createStatement_ = ""; /** - * - * *
    * Required. A `CREATE DATABASE` statement, which specifies the ID of the
    * new database.  The database ID must conform to the regular expression
@@ -143,7 +113,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string create_statement = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The createStatement. */ @java.lang.Override @@ -152,15 +121,14 @@ public java.lang.String getCreateStatement() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); createStatement_ = s; return s; } } /** - * - * *
    * Required. A `CREATE DATABASE` statement, which specifies the ID of the
    * new database.  The database ID must conform to the regular expression
@@ -170,15 +138,16 @@ public java.lang.String getCreateStatement() {
    * 
* * string create_statement = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for createStatement. */ @java.lang.Override - public com.google.protobuf.ByteString getCreateStatementBytes() { + public com.google.protobuf.ByteString + getCreateStatementBytes() { java.lang.Object ref = createStatement_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); createStatement_ = b; return b; } else { @@ -187,12 +156,9 @@ public com.google.protobuf.ByteString getCreateStatementBytes() { } public static final int EXTRA_STATEMENTS_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringList extraStatements_; /** - * - * *
    * Optional. A list of DDL statements to run inside the newly created
    * database. Statements can create tables, indexes, etc. These
@@ -201,15 +167,13 @@ public com.google.protobuf.ByteString getCreateStatementBytes() {
    * 
* * repeated string extra_statements = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the extraStatements. */ - public com.google.protobuf.ProtocolStringList getExtraStatementsList() { + public com.google.protobuf.ProtocolStringList + getExtraStatementsList() { return extraStatements_; } /** - * - * *
    * Optional. A list of DDL statements to run inside the newly created
    * database. Statements can create tables, indexes, etc. These
@@ -218,15 +182,12 @@ public com.google.protobuf.ProtocolStringList getExtraStatementsList() {
    * 
* * repeated string extra_statements = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of extraStatements. */ public int getExtraStatementsCount() { return extraStatements_.size(); } /** - * - * *
    * Optional. A list of DDL statements to run inside the newly created
    * database. Statements can create tables, indexes, etc. These
@@ -235,7 +196,6 @@ public int getExtraStatementsCount() {
    * 
* * repeated string extra_statements = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The extraStatements at the given index. */ @@ -243,8 +203,6 @@ public java.lang.String getExtraStatements(int index) { return extraStatements_.get(index); } /** - * - * *
    * Optional. A list of DDL statements to run inside the newly created
    * database. Statements can create tables, indexes, etc. These
@@ -253,29 +211,24 @@ public java.lang.String getExtraStatements(int index) {
    * 
* * repeated string extra_statements = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the extraStatements at the given index. */ - public com.google.protobuf.ByteString getExtraStatementsBytes(int index) { + public com.google.protobuf.ByteString + getExtraStatementsBytes(int index) { return extraStatements_.getByteString(index); } public static final int ENCRYPTION_CONFIG_FIELD_NUMBER = 4; private com.google.spanner.admin.database.v1.EncryptionConfig encryptionConfig_; /** - * - * *
    * Optional. The encryption configuration for the database. If this field is not
    * specified, Cloud Spanner will encrypt/decrypt all data at rest using
    * Google default encryption.
    * 
* - * - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the encryptionConfig field is set. */ @java.lang.Override @@ -283,90 +236,60 @@ public boolean hasEncryptionConfig() { return encryptionConfig_ != null; } /** - * - * *
    * Optional. The encryption configuration for the database. If this field is not
    * specified, Cloud Spanner will encrypt/decrypt all data at rest using
    * Google default encryption.
    * 
* - * - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The encryptionConfig. */ @java.lang.Override public com.google.spanner.admin.database.v1.EncryptionConfig getEncryptionConfig() { - return encryptionConfig_ == null - ? com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } /** - * - * *
    * Optional. The encryption configuration for the database. If this field is not
    * specified, Cloud Spanner will encrypt/decrypt all data at rest using
    * Google default encryption.
    * 
* - * - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder - getEncryptionConfigOrBuilder() { - return encryptionConfig_ == null - ? com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance() - : encryptionConfig_; + public com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { + return encryptionConfig_ == null ? com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } public static final int DATABASE_DIALECT_FIELD_NUMBER = 5; private int databaseDialect_ = 0; /** - * - * *
    * Optional. The dialect of the Cloud Spanner Database.
    * 
* - * - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for databaseDialect. */ - @java.lang.Override - public int getDatabaseDialectValue() { + @java.lang.Override public int getDatabaseDialectValue() { return databaseDialect_; } /** - * - * *
    * Optional. The dialect of the Cloud Spanner Database.
    * 
* - * - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The databaseDialect. */ - @java.lang.Override - public com.google.spanner.admin.database.v1.DatabaseDialect getDatabaseDialect() { - com.google.spanner.admin.database.v1.DatabaseDialect result = - com.google.spanner.admin.database.v1.DatabaseDialect.forNumber(databaseDialect_); - return result == null - ? com.google.spanner.admin.database.v1.DatabaseDialect.UNRECOGNIZED - : result; + @java.lang.Override public com.google.spanner.admin.database.v1.DatabaseDialect getDatabaseDialect() { + com.google.spanner.admin.database.v1.DatabaseDialect result = com.google.spanner.admin.database.v1.DatabaseDialect.forNumber(databaseDialect_); + return result == null ? com.google.spanner.admin.database.v1.DatabaseDialect.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -378,7 +301,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -391,9 +315,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (encryptionConfig_ != null) { output.writeMessage(4, getEncryptionConfig()); } - if (databaseDialect_ - != com.google.spanner.admin.database.v1.DatabaseDialect.DATABASE_DIALECT_UNSPECIFIED - .getNumber()) { + if (databaseDialect_ != com.google.spanner.admin.database.v1.DatabaseDialect.DATABASE_DIALECT_UNSPECIFIED.getNumber()) { output.writeEnum(5, databaseDialect_); } getUnknownFields().writeTo(output); @@ -420,12 +342,12 @@ public int getSerializedSize() { size += 1 * getExtraStatementsList().size(); } if (encryptionConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getEncryptionConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getEncryptionConfig()); } - if (databaseDialect_ - != com.google.spanner.admin.database.v1.DatabaseDialect.DATABASE_DIALECT_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, databaseDialect_); + if (databaseDialect_ != com.google.spanner.admin.database.v1.DatabaseDialect.DATABASE_DIALECT_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(5, databaseDialect_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -435,20 +357,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.spanner.admin.database.v1.CreateDatabaseRequest)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.CreateDatabaseRequest other = - (com.google.spanner.admin.database.v1.CreateDatabaseRequest) obj; + com.google.spanner.admin.database.v1.CreateDatabaseRequest other = (com.google.spanner.admin.database.v1.CreateDatabaseRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getCreateStatement().equals(other.getCreateStatement())) return false; - if (!getExtraStatementsList().equals(other.getExtraStatementsList())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getCreateStatement() + .equals(other.getCreateStatement())) return false; + if (!getExtraStatementsList() + .equals(other.getExtraStatementsList())) 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 (databaseDialect_ != other.databaseDialect_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -482,136 +407,129 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.CreateDatabaseRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.CreateDatabaseRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.CreateDatabaseRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.CreateDatabaseRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.CreateDatabaseRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.CreateDatabaseRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.CreateDatabaseRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.CreateDatabaseRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.CreateDatabaseRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.CreateDatabaseRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.CreateDatabaseRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.CreateDatabaseRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.CreateDatabaseRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.CreateDatabaseRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.database.v1.CreateDatabaseRequest prototype) { + public static Builder newBuilder(com.google.spanner.admin.database.v1.CreateDatabaseRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [CreateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.CreateDatabase].
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.CreateDatabaseRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.CreateDatabaseRequest) com.google.spanner.admin.database.v1.CreateDatabaseRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_CreateDatabaseRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_CreateDatabaseRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_CreateDatabaseRequest_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_CreateDatabaseRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.CreateDatabaseRequest.class, - com.google.spanner.admin.database.v1.CreateDatabaseRequest.Builder.class); + com.google.spanner.admin.database.v1.CreateDatabaseRequest.class, com.google.spanner.admin.database.v1.CreateDatabaseRequest.Builder.class); } // Construct using com.google.spanner.admin.database.v1.CreateDatabaseRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -630,9 +548,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_CreateDatabaseRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_CreateDatabaseRequest_descriptor; } @java.lang.Override @@ -651,18 +569,14 @@ public com.google.spanner.admin.database.v1.CreateDatabaseRequest build() { @java.lang.Override public com.google.spanner.admin.database.v1.CreateDatabaseRequest buildPartial() { - com.google.spanner.admin.database.v1.CreateDatabaseRequest result = - new com.google.spanner.admin.database.v1.CreateDatabaseRequest(this); + com.google.spanner.admin.database.v1.CreateDatabaseRequest result = new com.google.spanner.admin.database.v1.CreateDatabaseRequest(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.spanner.admin.database.v1.CreateDatabaseRequest result) { + private void buildPartialRepeatedFields(com.google.spanner.admin.database.v1.CreateDatabaseRequest result) { if (((bitField0_ & 0x00000004) != 0)) { extraStatements_ = extraStatements_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000004); @@ -679,8 +593,9 @@ private void buildPartial0(com.google.spanner.admin.database.v1.CreateDatabaseRe result.createStatement_ = createStatement_; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.encryptionConfig_ = - encryptionConfigBuilder_ == null ? encryptionConfig_ : encryptionConfigBuilder_.build(); + result.encryptionConfig_ = encryptionConfigBuilder_ == null + ? encryptionConfig_ + : encryptionConfigBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { result.databaseDialect_ = databaseDialect_; @@ -691,39 +606,38 @@ private void buildPartial0(com.google.spanner.admin.database.v1.CreateDatabaseRe public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.admin.database.v1.CreateDatabaseRequest) { - return mergeFrom((com.google.spanner.admin.database.v1.CreateDatabaseRequest) other); + return mergeFrom((com.google.spanner.admin.database.v1.CreateDatabaseRequest)other); } else { super.mergeFrom(other); return this; @@ -731,8 +645,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.admin.database.v1.CreateDatabaseRequest other) { - if (other == com.google.spanner.admin.database.v1.CreateDatabaseRequest.getDefaultInstance()) - return this; + if (other == com.google.spanner.admin.database.v1.CreateDatabaseRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -785,45 +698,40 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - createStatement_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureExtraStatementsIsMutable(); - extraStatements_.add(s); - break; - } // case 26 - case 34: - { - input.readMessage( - getEncryptionConfigFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 40: - { - databaseDialect_ = input.readEnum(); - bitField0_ |= 0x00000010; - break; - } // case 40 - 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: { + createStatement_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureExtraStatementsIsMutable(); + extraStatements_.add(s); + break; + } // case 26 + case 34: { + input.readMessage( + getEncryptionConfigFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: { + databaseDialect_ = input.readEnum(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -833,28 +741,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The name of the instance that will serve the new database.
      * Values are of the form `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 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; @@ -863,24 +766,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the instance that will serve the new database.
      * Values are of the form `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 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 { @@ -888,41 +788,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the instance that will serve the new database.
      * Values are of the form `projects/<project>/instances/<instance>`.
      * 
* - * - * 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 that will serve the new database.
      * Values are of the form `projects/<project>/instances/<instance>`.
      * 
* - * - * string 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() { @@ -932,24 +821,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The name of the instance that will serve the new database.
      * Values are of the form `projects/<project>/instances/<instance>`.
      * 
* - * - * 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; @@ -959,8 +842,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object createStatement_ = ""; /** - * - * *
      * Required. A `CREATE DATABASE` statement, which specifies the ID of the
      * new database.  The database ID must conform to the regular expression
@@ -970,13 +851,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string create_statement = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The createStatement. */ public java.lang.String getCreateStatement() { java.lang.Object ref = createStatement_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); createStatement_ = s; return s; @@ -985,8 +866,6 @@ public java.lang.String getCreateStatement() { } } /** - * - * *
      * Required. A `CREATE DATABASE` statement, which specifies the ID of the
      * new database.  The database ID must conform to the regular expression
@@ -996,14 +875,15 @@ public java.lang.String getCreateStatement() {
      * 
* * string create_statement = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for createStatement. */ - public com.google.protobuf.ByteString getCreateStatementBytes() { + public com.google.protobuf.ByteString + getCreateStatementBytes() { java.lang.Object ref = createStatement_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); createStatement_ = b; return b; } else { @@ -1011,8 +891,6 @@ public com.google.protobuf.ByteString getCreateStatementBytes() { } } /** - * - * *
      * Required. A `CREATE DATABASE` statement, which specifies the ID of the
      * new database.  The database ID must conform to the regular expression
@@ -1022,22 +900,18 @@ public com.google.protobuf.ByteString getCreateStatementBytes() {
      * 
* * string create_statement = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The createStatement to set. * @return This builder for chaining. */ - public Builder setCreateStatement(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCreateStatement( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } createStatement_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. A `CREATE DATABASE` statement, which specifies the ID of the
      * new database.  The database ID must conform to the regular expression
@@ -1047,7 +921,6 @@ public Builder setCreateStatement(java.lang.String value) {
      * 
* * string create_statement = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearCreateStatement() { @@ -1057,8 +930,6 @@ public Builder clearCreateStatement() { return this; } /** - * - * *
      * Required. A `CREATE DATABASE` statement, which specifies the ID of the
      * new database.  The database ID must conform to the regular expression
@@ -1068,14 +939,12 @@ public Builder clearCreateStatement() {
      * 
* * string create_statement = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for createStatement to set. * @return This builder for chaining. */ - public Builder setCreateStatementBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCreateStatementBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); createStatement_ = value; bitField0_ |= 0x00000002; @@ -1083,18 +952,14 @@ public Builder setCreateStatementBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.LazyStringList extraStatements_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList extraStatements_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureExtraStatementsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { extraStatements_ = new com.google.protobuf.LazyStringArrayList(extraStatements_); bitField0_ |= 0x00000004; - } + } } /** - * - * *
      * Optional. A list of DDL statements to run inside the newly created
      * database. Statements can create tables, indexes, etc. These
@@ -1103,15 +968,13 @@ private void ensureExtraStatementsIsMutable() {
      * 
* * repeated string extra_statements = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the extraStatements. */ - public com.google.protobuf.ProtocolStringList getExtraStatementsList() { + public com.google.protobuf.ProtocolStringList + getExtraStatementsList() { return extraStatements_.getUnmodifiableView(); } /** - * - * *
      * Optional. A list of DDL statements to run inside the newly created
      * database. Statements can create tables, indexes, etc. These
@@ -1120,15 +983,12 @@ public com.google.protobuf.ProtocolStringList getExtraStatementsList() {
      * 
* * repeated string extra_statements = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of extraStatements. */ public int getExtraStatementsCount() { return extraStatements_.size(); } /** - * - * *
      * Optional. A list of DDL statements to run inside the newly created
      * database. Statements can create tables, indexes, etc. These
@@ -1137,7 +997,6 @@ public int getExtraStatementsCount() {
      * 
* * repeated string extra_statements = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The extraStatements at the given index. */ @@ -1145,8 +1004,6 @@ public java.lang.String getExtraStatements(int index) { return extraStatements_.get(index); } /** - * - * *
      * Optional. A list of DDL statements to run inside the newly created
      * database. Statements can create tables, indexes, etc. These
@@ -1155,16 +1012,14 @@ public java.lang.String getExtraStatements(int index) {
      * 
* * repeated string extra_statements = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the extraStatements at the given index. */ - public com.google.protobuf.ByteString getExtraStatementsBytes(int index) { + public com.google.protobuf.ByteString + getExtraStatementsBytes(int index) { return extraStatements_.getByteString(index); } /** - * - * *
      * Optional. A list of DDL statements to run inside the newly created
      * database. Statements can create tables, indexes, etc. These
@@ -1173,23 +1028,19 @@ public com.google.protobuf.ByteString getExtraStatementsBytes(int index) {
      * 
* * repeated string extra_statements = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index to set the value at. * @param value The extraStatements to set. * @return This builder for chaining. */ - public Builder setExtraStatements(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setExtraStatements( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureExtraStatementsIsMutable(); extraStatements_.set(index, value); onChanged(); return this; } /** - * - * *
      * Optional. A list of DDL statements to run inside the newly created
      * database. Statements can create tables, indexes, etc. These
@@ -1198,22 +1049,18 @@ public Builder setExtraStatements(int index, java.lang.String value) {
      * 
* * repeated string extra_statements = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The extraStatements to add. * @return This builder for chaining. */ - public Builder addExtraStatements(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addExtraStatements( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureExtraStatementsIsMutable(); extraStatements_.add(value); onChanged(); return this; } /** - * - * *
      * Optional. A list of DDL statements to run inside the newly created
      * database. Statements can create tables, indexes, etc. These
@@ -1222,19 +1069,18 @@ public Builder addExtraStatements(java.lang.String value) {
      * 
* * repeated string extra_statements = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param values The extraStatements to add. * @return This builder for chaining. */ - public Builder addAllExtraStatements(java.lang.Iterable values) { + public Builder addAllExtraStatements( + java.lang.Iterable values) { ensureExtraStatementsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, extraStatements_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, extraStatements_); onChanged(); return this; } /** - * - * *
      * Optional. A list of DDL statements to run inside the newly created
      * database. Statements can create tables, indexes, etc. These
@@ -1243,7 +1089,6 @@ public Builder addAllExtraStatements(java.lang.Iterable values
      * 
* * repeated string extra_statements = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearExtraStatements() { @@ -1253,8 +1098,6 @@ public Builder clearExtraStatements() { return this; } /** - * - * *
      * Optional. A list of DDL statements to run inside the newly created
      * database. Statements can create tables, indexes, etc. These
@@ -1263,14 +1106,12 @@ public Builder clearExtraStatements() {
      * 
* * repeated string extra_statements = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes of the extraStatements to add. * @return This builder for chaining. */ - public Builder addExtraStatementsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addExtraStatementsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureExtraStatementsIsMutable(); extraStatements_.add(value); @@ -1280,67 +1121,47 @@ public Builder addExtraStatementsBytes(com.google.protobuf.ByteString value) { private com.google.spanner.admin.database.v1.EncryptionConfig encryptionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.EncryptionConfig, - com.google.spanner.admin.database.v1.EncryptionConfig.Builder, - com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder> - encryptionConfigBuilder_; + com.google.spanner.admin.database.v1.EncryptionConfig, com.google.spanner.admin.database.v1.EncryptionConfig.Builder, com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder> encryptionConfigBuilder_; /** - * - * *
      * Optional. The encryption configuration for the database. If this field is not
      * specified, Cloud Spanner will encrypt/decrypt all data at rest using
      * Google default encryption.
      * 
* - * - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the encryptionConfig field is set. */ public boolean hasEncryptionConfig() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Optional. The encryption configuration for the database. If this field is not
      * specified, Cloud Spanner will encrypt/decrypt all data at rest using
      * Google default encryption.
      * 
* - * - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The encryptionConfig. */ public com.google.spanner.admin.database.v1.EncryptionConfig getEncryptionConfig() { if (encryptionConfigBuilder_ == null) { - return encryptionConfig_ == null - ? com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } else { return encryptionConfigBuilder_.getMessage(); } } /** - * - * *
      * Optional. The encryption configuration for the database. If this field is not
      * specified, Cloud Spanner will encrypt/decrypt all data at rest using
      * Google default encryption.
      * 
* - * - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setEncryptionConfig( - com.google.spanner.admin.database.v1.EncryptionConfig value) { + public Builder setEncryptionConfig(com.google.spanner.admin.database.v1.EncryptionConfig value) { if (encryptionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1354,17 +1175,13 @@ public Builder setEncryptionConfig( return this; } /** - * - * *
      * Optional. The encryption configuration for the database. If this field is not
      * specified, Cloud Spanner will encrypt/decrypt all data at rest using
      * Google default encryption.
      * 
* - * - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setEncryptionConfig( com.google.spanner.admin.database.v1.EncryptionConfig.Builder builderForValue) { @@ -1378,25 +1195,19 @@ public Builder setEncryptionConfig( return this; } /** - * - * *
      * Optional. The encryption configuration for the database. If this field is not
      * specified, Cloud Spanner will encrypt/decrypt all data at rest using
      * Google default encryption.
      * 
* - * - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder mergeEncryptionConfig( - com.google.spanner.admin.database.v1.EncryptionConfig value) { + public Builder mergeEncryptionConfig(com.google.spanner.admin.database.v1.EncryptionConfig value) { if (encryptionConfigBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && encryptionConfig_ != null - && encryptionConfig_ - != com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + encryptionConfig_ != null && + encryptionConfig_ != com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance()) { getEncryptionConfigBuilder().mergeFrom(value); } else { encryptionConfig_ = value; @@ -1409,17 +1220,13 @@ public Builder mergeEncryptionConfig( return this; } /** - * - * *
      * Optional. The encryption configuration for the database. If this field is not
      * specified, Cloud Spanner will encrypt/decrypt all data at rest using
      * Google default encryption.
      * 
* - * - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearEncryptionConfig() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1432,72 +1239,54 @@ public Builder clearEncryptionConfig() { return this; } /** - * - * *
      * Optional. The encryption configuration for the database. If this field is not
      * specified, Cloud Spanner will encrypt/decrypt all data at rest using
      * Google default encryption.
      * 
* - * - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.spanner.admin.database.v1.EncryptionConfig.Builder - getEncryptionConfigBuilder() { + public com.google.spanner.admin.database.v1.EncryptionConfig.Builder getEncryptionConfigBuilder() { bitField0_ |= 0x00000008; onChanged(); return getEncryptionConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. The encryption configuration for the database. If this field is not
      * specified, Cloud Spanner will encrypt/decrypt all data at rest using
      * Google default encryption.
      * 
* - * - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder - getEncryptionConfigOrBuilder() { + public com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { if (encryptionConfigBuilder_ != null) { return encryptionConfigBuilder_.getMessageOrBuilder(); } else { - return encryptionConfig_ == null - ? com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? + com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } } /** - * - * *
      * Optional. The encryption configuration for the database. If this field is not
      * specified, Cloud Spanner will encrypt/decrypt all data at rest using
      * Google default encryption.
      * 
* - * - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.EncryptionConfig, - com.google.spanner.admin.database.v1.EncryptionConfig.Builder, - com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder> + com.google.spanner.admin.database.v1.EncryptionConfig, com.google.spanner.admin.database.v1.EncryptionConfig.Builder, com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder> getEncryptionConfigFieldBuilder() { if (encryptionConfigBuilder_ == null) { - encryptionConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.EncryptionConfig, - com.google.spanner.admin.database.v1.EncryptionConfig.Builder, - com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder>( - getEncryptionConfig(), getParentForChildren(), isClean()); + encryptionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.admin.database.v1.EncryptionConfig, com.google.spanner.admin.database.v1.EncryptionConfig.Builder, com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder>( + getEncryptionConfig(), + getParentForChildren(), + isClean()); encryptionConfig_ = null; } return encryptionConfigBuilder_; @@ -1505,33 +1294,22 @@ public Builder clearEncryptionConfig() { private int databaseDialect_ = 0; /** - * - * *
      * Optional. The dialect of the Cloud Spanner Database.
      * 
* - * - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for databaseDialect. */ - @java.lang.Override - public int getDatabaseDialectValue() { + @java.lang.Override public int getDatabaseDialectValue() { return databaseDialect_; } /** - * - * *
      * Optional. The dialect of the Cloud Spanner Database.
      * 
* - * - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 5 [(.google.api.field_behavior) = OPTIONAL]; * @param value The enum numeric value on the wire for databaseDialect to set. * @return This builder for chaining. */ @@ -1542,37 +1320,24 @@ public Builder setDatabaseDialectValue(int value) { return this; } /** - * - * *
      * Optional. The dialect of the Cloud Spanner Database.
      * 
* - * - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The databaseDialect. */ @java.lang.Override public com.google.spanner.admin.database.v1.DatabaseDialect getDatabaseDialect() { - com.google.spanner.admin.database.v1.DatabaseDialect result = - com.google.spanner.admin.database.v1.DatabaseDialect.forNumber(databaseDialect_); - return result == null - ? com.google.spanner.admin.database.v1.DatabaseDialect.UNRECOGNIZED - : result; + com.google.spanner.admin.database.v1.DatabaseDialect result = com.google.spanner.admin.database.v1.DatabaseDialect.forNumber(databaseDialect_); + return result == null ? com.google.spanner.admin.database.v1.DatabaseDialect.UNRECOGNIZED : result; } /** - * - * *
      * Optional. The dialect of the Cloud Spanner Database.
      * 
* - * - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 5 [(.google.api.field_behavior) = OPTIONAL]; * @param value The databaseDialect to set. * @return This builder for chaining. */ @@ -1586,16 +1351,11 @@ public Builder setDatabaseDialect(com.google.spanner.admin.database.v1.DatabaseD return this; } /** - * - * *
      * Optional. The dialect of the Cloud Spanner Database.
      * 
* - * - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearDatabaseDialect() { @@ -1604,9 +1364,9 @@ public Builder clearDatabaseDialect() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1616,12 +1376,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.CreateDatabaseRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.CreateDatabaseRequest) private static final com.google.spanner.admin.database.v1.CreateDatabaseRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.CreateDatabaseRequest(); } @@ -1630,27 +1390,27 @@ public static com.google.spanner.admin.database.v1.CreateDatabaseRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateDatabaseRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateDatabaseRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1665,4 +1425,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.CreateDatabaseRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseRequestOrBuilder.java similarity index 72% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseRequestOrBuilder.java index 537e9c161fa..c05c8c7df33 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseRequestOrBuilder.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/spanner/admin/database/v1/spanner_database_admin.proto package com.google.spanner.admin.database.v1; -public interface CreateDatabaseRequestOrBuilder - extends +public interface CreateDatabaseRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.CreateDatabaseRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the instance that will serve the new database.
    * Values are of the form `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 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 that will serve the new database.
    * Values are of the form `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 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. A `CREATE DATABASE` statement, which specifies the ID of the
    * new database.  The database ID must conform to the regular expression
@@ -66,13 +39,10 @@ public interface CreateDatabaseRequestOrBuilder
    * 
* * string create_statement = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The createStatement. */ java.lang.String getCreateStatement(); /** - * - * *
    * Required. A `CREATE DATABASE` statement, which specifies the ID of the
    * new database.  The database ID must conform to the regular expression
@@ -82,14 +52,12 @@ public interface CreateDatabaseRequestOrBuilder
    * 
* * string create_statement = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for createStatement. */ - com.google.protobuf.ByteString getCreateStatementBytes(); + com.google.protobuf.ByteString + getCreateStatementBytes(); /** - * - * *
    * Optional. A list of DDL statements to run inside the newly created
    * database. Statements can create tables, indexes, etc. These
@@ -98,13 +66,11 @@ public interface CreateDatabaseRequestOrBuilder
    * 
* * repeated string extra_statements = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the extraStatements. */ - java.util.List getExtraStatementsList(); + java.util.List + getExtraStatementsList(); /** - * - * *
    * Optional. A list of DDL statements to run inside the newly created
    * database. Statements can create tables, indexes, etc. These
@@ -113,13 +79,10 @@ public interface CreateDatabaseRequestOrBuilder
    * 
* * repeated string extra_statements = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of extraStatements. */ int getExtraStatementsCount(); /** - * - * *
    * Optional. A list of DDL statements to run inside the newly created
    * database. Statements can create tables, indexes, etc. These
@@ -128,14 +91,11 @@ public interface CreateDatabaseRequestOrBuilder
    * 
* * repeated string extra_statements = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The extraStatements at the given index. */ java.lang.String getExtraStatements(int index); /** - * - * *
    * Optional. A list of DDL statements to run inside the newly created
    * database. Statements can create tables, indexes, etc. These
@@ -144,84 +104,60 @@ public interface CreateDatabaseRequestOrBuilder
    * 
* * repeated string extra_statements = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the extraStatements at the given index. */ - com.google.protobuf.ByteString getExtraStatementsBytes(int index); + com.google.protobuf.ByteString + getExtraStatementsBytes(int index); /** - * - * *
    * Optional. The encryption configuration for the database. If this field is not
    * specified, Cloud Spanner will encrypt/decrypt all data at rest using
    * Google default encryption.
    * 
* - * - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the encryptionConfig field is set. */ boolean hasEncryptionConfig(); /** - * - * *
    * Optional. The encryption configuration for the database. If this field is not
    * specified, Cloud Spanner will encrypt/decrypt all data at rest using
    * Google default encryption.
    * 
* - * - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The encryptionConfig. */ com.google.spanner.admin.database.v1.EncryptionConfig getEncryptionConfig(); /** - * - * *
    * Optional. The encryption configuration for the database. If this field is not
    * specified, Cloud Spanner will encrypt/decrypt all data at rest using
    * Google default encryption.
    * 
* - * - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder(); /** - * - * *
    * Optional. The dialect of the Cloud Spanner Database.
    * 
* - * - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for databaseDialect. */ int getDatabaseDialectValue(); /** - * - * *
    * Optional. The dialect of the Cloud Spanner Database.
    * 
* - * - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The databaseDialect. */ com.google.spanner.admin.database.v1.DatabaseDialect getDatabaseDialect(); diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/Database.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/Database.java similarity index 69% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/Database.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/Database.java index 5473f4bc7fd..2e1bfaa4109 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/Database.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/Database.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/spanner/admin/database/v1/spanner_database_admin.proto package com.google.spanner.admin.database.v1; /** - * - * *
  * A Cloud Spanner database.
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.Database} */ -public final class Database extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Database extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.Database) DatabaseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Database.newBuilder() to construct. private Database(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Database() { name_ = ""; state_ = 0; @@ -48,43 +30,39 @@ private Database() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Database(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_Database_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_Database_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_Database_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_Database_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.Database.class, - com.google.spanner.admin.database.v1.Database.Builder.class); + com.google.spanner.admin.database.v1.Database.class, com.google.spanner.admin.database.v1.Database.Builder.class); } /** - * - * *
    * Indicates the current state of the database.
    * 
* * Protobuf enum {@code google.spanner.admin.database.v1.Database.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Not specified.
      * 
@@ -93,8 +71,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The database is still being created. Operations on the database may fail
      * with `FAILED_PRECONDITION` in this state.
@@ -104,8 +80,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     CREATING(1),
     /**
-     *
-     *
      * 
      * The database is fully created and ready for use.
      * 
@@ -114,8 +88,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ READY(2), /** - * - * *
      * The database is fully created and ready for use, but is still
      * being optimized for performance and cannot handle full load.
@@ -133,8 +105,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Not specified.
      * 
@@ -143,8 +113,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The database is still being created. Operations on the database may fail
      * with `FAILED_PRECONDITION` in this state.
@@ -154,8 +122,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CREATING_VALUE = 1;
     /**
-     *
-     *
      * 
      * The database is fully created and ready for use.
      * 
@@ -164,8 +130,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int READY_VALUE = 2; /** - * - * *
      * The database is fully created and ready for use, but is still
      * being optimized for performance and cannot handle full load.
@@ -180,6 +144,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int READY_OPTIMIZING_VALUE = 3;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -204,51 +169,50 @@ 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;
-        case 3:
-          return READY_OPTIMIZING;
-        default:
-          return null;
+        case 0: return STATE_UNSPECIFIED;
+        case 1: return CREATING;
+        case 2: return READY;
+        case 3: return READY_OPTIMIZING;
+        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.spanner.admin.database.v1.Database.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;
@@ -266,12 +230,9 @@ private State(int value) {
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The name of the database. Values are of the form
    * `projects/<project>/instances/<instance>/databases/<database>`,
@@ -281,7 +242,6 @@ private State(int value) {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -290,15 +250,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; } } /** - * - * *
    * Required. The name of the database. Values are of the form
    * `projects/<project>/instances/<instance>/databases/<database>`,
@@ -308,15 +267,16 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -327,56 +287,37 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int STATE_FIELD_NUMBER = 2; private int state_ = 0; /** - * - * *
    * Output only. The current database state.
    * 
* - * - * .google.spanner.admin.database.v1.Database.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.Database.State state = 2 [(.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 database state.
    * 
* - * - * .google.spanner.admin.database.v1.Database.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.Database.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - @java.lang.Override - public com.google.spanner.admin.database.v1.Database.State getState() { - com.google.spanner.admin.database.v1.Database.State result = - com.google.spanner.admin.database.v1.Database.State.forNumber(state_); - return result == null - ? com.google.spanner.admin.database.v1.Database.State.UNRECOGNIZED - : result; + @java.lang.Override public com.google.spanner.admin.database.v1.Database.State getState() { + com.google.spanner.admin.database.v1.Database.State result = com.google.spanner.admin.database.v1.Database.State.forNumber(state_); + return result == null ? com.google.spanner.admin.database.v1.Database.State.UNRECOGNIZED : result; } public static final int CREATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. If exists, the time at which the database creation started.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -384,15 +325,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. If exists, the time at which the database creation started.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -400,14 +337,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. If exists, the time at which the database creation started.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -417,17 +351,12 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int RESTORE_INFO_FIELD_NUMBER = 4; private com.google.spanner.admin.database.v1.RestoreInfo restoreInfo_; /** - * - * *
    * Output only. Applicable only for restored databases. Contains information
    * about the restore source.
    * 
* - * - * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the restoreInfo field is set. */ @java.lang.Override @@ -435,49 +364,34 @@ public boolean hasRestoreInfo() { return restoreInfo_ != null; } /** - * - * *
    * Output only. Applicable only for restored databases. Contains information
    * about the restore source.
    * 
* - * - * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The restoreInfo. */ @java.lang.Override public com.google.spanner.admin.database.v1.RestoreInfo getRestoreInfo() { - return restoreInfo_ == null - ? com.google.spanner.admin.database.v1.RestoreInfo.getDefaultInstance() - : restoreInfo_; + return restoreInfo_ == null ? com.google.spanner.admin.database.v1.RestoreInfo.getDefaultInstance() : restoreInfo_; } /** - * - * *
    * Output only. Applicable only for restored databases. Contains information
    * about the restore source.
    * 
* - * - * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.spanner.admin.database.v1.RestoreInfoOrBuilder getRestoreInfoOrBuilder() { - return restoreInfo_ == null - ? com.google.spanner.admin.database.v1.RestoreInfo.getDefaultInstance() - : restoreInfo_; + return restoreInfo_ == null ? com.google.spanner.admin.database.v1.RestoreInfo.getDefaultInstance() : restoreInfo_; } public static final int ENCRYPTION_CONFIG_FIELD_NUMBER = 5; private com.google.spanner.admin.database.v1.EncryptionConfig encryptionConfig_; /** - * - * *
    * Output only. For databases that are using customer managed encryption, this
    * field contains the encryption configuration for the database.
@@ -485,10 +399,7 @@ public com.google.spanner.admin.database.v1.RestoreInfoOrBuilder getRestoreInfoO
    * this field is empty.
    * 
* - * - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the encryptionConfig field is set. */ @java.lang.Override @@ -496,8 +407,6 @@ public boolean hasEncryptionConfig() { return encryptionConfig_ != null; } /** - * - * *
    * Output only. For databases that are using customer managed encryption, this
    * field contains the encryption configuration for the database.
@@ -505,21 +414,14 @@ public boolean hasEncryptionConfig() {
    * this field is empty.
    * 
* - * - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionConfig. */ @java.lang.Override public com.google.spanner.admin.database.v1.EncryptionConfig getEncryptionConfig() { - return encryptionConfig_ == null - ? com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } /** - * - * *
    * Output only. For databases that are using customer managed encryption, this
    * field contains the encryption configuration for the database.
@@ -527,25 +429,17 @@ public com.google.spanner.admin.database.v1.EncryptionConfig getEncryptionConfig
    * this field is empty.
    * 
* - * - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder - getEncryptionConfigOrBuilder() { - return encryptionConfig_ == null - ? com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance() - : encryptionConfig_; + public com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { + return encryptionConfig_ == null ? com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } public static final int ENCRYPTION_INFO_FIELD_NUMBER = 8; - @SuppressWarnings("serial") private java.util.List encryptionInfo_; /** - * - * *
    * Output only. For databases that are using customer managed encryption, this
    * field contains the encryption information for the database, such as
@@ -556,18 +450,13 @@ public com.google.spanner.admin.database.v1.EncryptionConfig getEncryptionConfig
    * from when a key version is being used and when it appears in this field.
    * 
* - * - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List - getEncryptionInfoList() { + public java.util.List getEncryptionInfoList() { return encryptionInfo_; } /** - * - * *
    * Output only. For databases that are using customer managed encryption, this
    * field contains the encryption information for the database, such as
@@ -578,18 +467,14 @@ public com.google.spanner.admin.database.v1.EncryptionConfig getEncryptionConfig
    * from when a key version is being used and when it appears in this field.
    * 
* - * - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List + public java.util.List getEncryptionInfoOrBuilderList() { return encryptionInfo_; } /** - * - * *
    * Output only. For databases that are using customer managed encryption, this
    * field contains the encryption information for the database, such as
@@ -600,17 +485,13 @@ public com.google.spanner.admin.database.v1.EncryptionConfig getEncryptionConfig
    * from when a key version is being used and when it appears in this field.
    * 
* - * - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public int getEncryptionInfoCount() { return encryptionInfo_.size(); } /** - * - * *
    * Output only. For databases that are using customer managed encryption, this
    * field contains the encryption information for the database, such as
@@ -621,17 +502,13 @@ public int getEncryptionInfoCount() {
    * from when a key version is being used and when it appears in this field.
    * 
* - * - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.spanner.admin.database.v1.EncryptionInfo getEncryptionInfo(int index) { return encryptionInfo_.get(index); } /** - * - * *
    * Output only. For databases that are using customer managed encryption, this
    * field contains the encryption information for the database, such as
@@ -642,9 +519,7 @@ public com.google.spanner.admin.database.v1.EncryptionInfo getEncryptionInfo(int
    * from when a key version is being used and when it appears in this field.
    * 
* - * - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder( @@ -653,12 +528,9 @@ public com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder getEncryptio } public static final int VERSION_RETENTION_PERIOD_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private volatile java.lang.Object versionRetentionPeriod_ = ""; /** - * - * *
    * Output only. The period in which Cloud Spanner retains all versions of data
    * for the database. This is the same as the value of version_retention_period
@@ -668,7 +540,6 @@ public com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder getEncryptio
    * 
* * string version_retention_period = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The versionRetentionPeriod. */ @java.lang.Override @@ -677,15 +548,14 @@ public java.lang.String getVersionRetentionPeriod() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); versionRetentionPeriod_ = s; return s; } } /** - * - * *
    * Output only. The period in which Cloud Spanner retains all versions of data
    * for the database. This is the same as the value of version_retention_period
@@ -695,15 +565,16 @@ public java.lang.String getVersionRetentionPeriod() {
    * 
* * string version_retention_period = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for versionRetentionPeriod. */ @java.lang.Override - public com.google.protobuf.ByteString getVersionRetentionPeriodBytes() { + public com.google.protobuf.ByteString + getVersionRetentionPeriodBytes() { java.lang.Object ref = versionRetentionPeriod_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); versionRetentionPeriod_ = b; return b; } else { @@ -714,8 +585,6 @@ public com.google.protobuf.ByteString getVersionRetentionPeriodBytes() { public static final int EARLIEST_VERSION_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp earliestVersionTime_; /** - * - * *
    * Output only. Earliest timestamp at which older versions of the data can be
    * read. This value is continuously updated by Cloud Spanner and becomes stale
@@ -724,10 +593,7 @@ public com.google.protobuf.ByteString getVersionRetentionPeriodBytes() {
    * the moment when you initiate the recovery.
    * 
* - * - * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the earliestVersionTime field is set. */ @java.lang.Override @@ -735,8 +601,6 @@ public boolean hasEarliestVersionTime() { return earliestVersionTime_ != null; } /** - * - * *
    * Output only. Earliest timestamp at which older versions of the data can be
    * read. This value is continuously updated by Cloud Spanner and becomes stale
@@ -745,21 +609,14 @@ public boolean hasEarliestVersionTime() {
    * the moment when you initiate the recovery.
    * 
* - * - * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The earliestVersionTime. */ @java.lang.Override public com.google.protobuf.Timestamp getEarliestVersionTime() { - return earliestVersionTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : earliestVersionTime_; + return earliestVersionTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : earliestVersionTime_; } /** - * - * *
    * Output only. Earliest timestamp at which older versions of the data can be
    * read. This value is continuously updated by Cloud Spanner and becomes stale
@@ -768,24 +625,17 @@ public com.google.protobuf.Timestamp getEarliestVersionTime() {
    * the moment when you initiate the recovery.
    * 
* - * - * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEarliestVersionTimeOrBuilder() { - return earliestVersionTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : earliestVersionTime_; + return earliestVersionTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : earliestVersionTime_; } public static final int DEFAULT_LEADER_FIELD_NUMBER = 9; - @SuppressWarnings("serial") private volatile java.lang.Object defaultLeader_ = ""; /** - * - * *
    * Output only. The read-write region which contains the database's leader
    * replicas.
@@ -795,7 +645,6 @@ public com.google.protobuf.TimestampOrBuilder getEarliestVersionTimeOrBuilder()
    * 
* * string default_leader = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The defaultLeader. */ @java.lang.Override @@ -804,15 +653,14 @@ public java.lang.String getDefaultLeader() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultLeader_ = s; return s; } } /** - * - * *
    * Output only. The read-write region which contains the database's leader
    * replicas.
@@ -822,15 +670,16 @@ public java.lang.String getDefaultLeader() {
    * 
* * string default_leader = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for defaultLeader. */ @java.lang.Override - public com.google.protobuf.ByteString getDefaultLeaderBytes() { + public com.google.protobuf.ByteString + getDefaultLeaderBytes() { java.lang.Object ref = defaultLeader_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); defaultLeader_ = b; return b; } else { @@ -841,46 +690,30 @@ public com.google.protobuf.ByteString getDefaultLeaderBytes() { public static final int DATABASE_DIALECT_FIELD_NUMBER = 10; private int databaseDialect_ = 0; /** - * - * *
    * Output only. The dialect of the Cloud Spanner Database.
    * 
* - * - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for databaseDialect. */ - @java.lang.Override - public int getDatabaseDialectValue() { + @java.lang.Override public int getDatabaseDialectValue() { return databaseDialect_; } /** - * - * *
    * Output only. The dialect of the Cloud Spanner Database.
    * 
* - * - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The databaseDialect. */ - @java.lang.Override - public com.google.spanner.admin.database.v1.DatabaseDialect getDatabaseDialect() { - com.google.spanner.admin.database.v1.DatabaseDialect result = - com.google.spanner.admin.database.v1.DatabaseDialect.forNumber(databaseDialect_); - return result == null - ? com.google.spanner.admin.database.v1.DatabaseDialect.UNRECOGNIZED - : result; + @java.lang.Override public com.google.spanner.admin.database.v1.DatabaseDialect getDatabaseDialect() { + com.google.spanner.admin.database.v1.DatabaseDialect result = com.google.spanner.admin.database.v1.DatabaseDialect.forNumber(databaseDialect_); + return result == null ? com.google.spanner.admin.database.v1.DatabaseDialect.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -892,12 +725,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 (state_ - != com.google.spanner.admin.database.v1.Database.State.STATE_UNSPECIFIED.getNumber()) { + if (state_ != com.google.spanner.admin.database.v1.Database.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(2, state_); } if (createTime_ != null) { @@ -921,9 +754,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultLeader_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, defaultLeader_); } - if (databaseDialect_ - != com.google.spanner.admin.database.v1.DatabaseDialect.DATABASE_DIALECT_UNSPECIFIED - .getNumber()) { + if (databaseDialect_ != com.google.spanner.admin.database.v1.DatabaseDialect.DATABASE_DIALECT_UNSPECIFIED.getNumber()) { output.writeEnum(10, databaseDialect_); } getUnknownFields().writeTo(output); @@ -938,35 +769,39 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (state_ - != com.google.spanner.admin.database.v1.Database.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, state_); + if (state_ != com.google.spanner.admin.database.v1.Database.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, state_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getCreateTime()); } if (restoreInfo_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getRestoreInfo()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getRestoreInfo()); } if (encryptionConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getEncryptionConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getEncryptionConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(versionRetentionPeriod_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, versionRetentionPeriod_); } if (earliestVersionTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getEarliestVersionTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getEarliestVersionTime()); } for (int i = 0; i < encryptionInfo_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, encryptionInfo_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, encryptionInfo_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultLeader_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, defaultLeader_); } - if (databaseDialect_ - != com.google.spanner.admin.database.v1.DatabaseDialect.DATABASE_DIALECT_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(10, databaseDialect_); + if (databaseDialect_ != com.google.spanner.admin.database.v1.DatabaseDialect.DATABASE_DIALECT_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(10, databaseDialect_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -976,35 +811,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.spanner.admin.database.v1.Database)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.Database other = - (com.google.spanner.admin.database.v1.Database) obj; + com.google.spanner.admin.database.v1.Database other = (com.google.spanner.admin.database.v1.Database) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (state_ != other.state_) 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 (hasRestoreInfo() != other.hasRestoreInfo()) return false; if (hasRestoreInfo()) { - if (!getRestoreInfo().equals(other.getRestoreInfo())) return false; + if (!getRestoreInfo() + .equals(other.getRestoreInfo())) 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 (!getEncryptionInfoList().equals(other.getEncryptionInfoList())) return false; - if (!getVersionRetentionPeriod().equals(other.getVersionRetentionPeriod())) return false; + if (!getEncryptionInfoList() + .equals(other.getEncryptionInfoList())) return false; + if (!getVersionRetentionPeriod() + .equals(other.getVersionRetentionPeriod())) return false; if (hasEarliestVersionTime() != other.hasEarliestVersionTime()) return false; if (hasEarliestVersionTime()) { - if (!getEarliestVersionTime().equals(other.getEarliestVersionTime())) return false; + if (!getEarliestVersionTime() + .equals(other.getEarliestVersionTime())) return false; } - if (!getDefaultLeader().equals(other.getDefaultLeader())) return false; + if (!getDefaultLeader() + .equals(other.getDefaultLeader())) return false; if (databaseDialect_ != other.databaseDialect_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1052,136 +894,130 @@ public int hashCode() { return hash; } - public static com.google.spanner.admin.database.v1.Database parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.admin.database.v1.Database parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.Database parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.Database parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.Database parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.Database parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.Database parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.Database parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.Database parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.Database parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.Database parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.Database parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.Database parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.Database parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.admin.database.v1.Database prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 Cloud Spanner database.
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.Database} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.Database) com.google.spanner.admin.database.v1.DatabaseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_Database_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_Database_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_Database_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_Database_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.Database.class, - com.google.spanner.admin.database.v1.Database.Builder.class); + com.google.spanner.admin.database.v1.Database.class, com.google.spanner.admin.database.v1.Database.Builder.class); } // Construct using com.google.spanner.admin.database.v1.Database.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1222,9 +1058,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_Database_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_Database_descriptor; } @java.lang.Override @@ -1243,12 +1079,9 @@ public com.google.spanner.admin.database.v1.Database build() { @java.lang.Override public com.google.spanner.admin.database.v1.Database buildPartial() { - com.google.spanner.admin.database.v1.Database result = - new com.google.spanner.admin.database.v1.Database(this); + com.google.spanner.admin.database.v1.Database result = new com.google.spanner.admin.database.v1.Database(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -1274,24 +1107,27 @@ private void buildPartial0(com.google.spanner.admin.database.v1.Database result) result.state_ = state_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null + ? createTime_ + : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { - result.restoreInfo_ = - restoreInfoBuilder_ == null ? restoreInfo_ : restoreInfoBuilder_.build(); + result.restoreInfo_ = restoreInfoBuilder_ == null + ? restoreInfo_ + : restoreInfoBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { - result.encryptionConfig_ = - encryptionConfigBuilder_ == null ? encryptionConfig_ : encryptionConfigBuilder_.build(); + result.encryptionConfig_ = encryptionConfigBuilder_ == null + ? encryptionConfig_ + : encryptionConfigBuilder_.build(); } if (((from_bitField0_ & 0x00000040) != 0)) { result.versionRetentionPeriod_ = versionRetentionPeriod_; } if (((from_bitField0_ & 0x00000080) != 0)) { - result.earliestVersionTime_ = - earliestVersionTimeBuilder_ == null - ? earliestVersionTime_ - : earliestVersionTimeBuilder_.build(); + result.earliestVersionTime_ = earliestVersionTimeBuilder_ == null + ? earliestVersionTime_ + : earliestVersionTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000100) != 0)) { result.defaultLeader_ = defaultLeader_; @@ -1305,39 +1141,38 @@ private void buildPartial0(com.google.spanner.admin.database.v1.Database 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.spanner.admin.database.v1.Database) { - return mergeFrom((com.google.spanner.admin.database.v1.Database) other); + return mergeFrom((com.google.spanner.admin.database.v1.Database)other); } else { super.mergeFrom(other); return this; @@ -1381,10 +1216,9 @@ public Builder mergeFrom(com.google.spanner.admin.database.v1.Database other) { encryptionInfoBuilder_ = null; encryptionInfo_ = other.encryptionInfo_; bitField0_ = (bitField0_ & ~0x00000020); - encryptionInfoBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getEncryptionInfoFieldBuilder() - : null; + encryptionInfoBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getEncryptionInfoFieldBuilder() : null; } else { encryptionInfoBuilder_.addAllMessages(other.encryptionInfo_); } @@ -1432,83 +1266,78 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - state_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - input.readMessage(getRestoreInfoFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - input.readMessage( - getEncryptionConfigFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: - { - versionRetentionPeriod_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 50 - case 58: - { - input.readMessage( - getEarliestVersionTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000080; - break; - } // case 58 - case 66: - { - com.google.spanner.admin.database.v1.EncryptionInfo m = - input.readMessage( - com.google.spanner.admin.database.v1.EncryptionInfo.parser(), - extensionRegistry); - if (encryptionInfoBuilder_ == null) { - ensureEncryptionInfoIsMutable(); - encryptionInfo_.add(m); - } else { - encryptionInfoBuilder_.addMessage(m); - } - break; - } // case 66 - case 74: - { - defaultLeader_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000100; - break; - } // case 74 - case 80: - { - databaseDialect_ = input.readEnum(); - bitField0_ |= 0x00000200; - break; - } // case 80 - 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: { + state_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + input.readMessage( + getRestoreInfoFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + input.readMessage( + getEncryptionConfigFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + versionRetentionPeriod_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 50 + case 58: { + input.readMessage( + getEarliestVersionTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000080; + break; + } // case 58 + case 66: { + com.google.spanner.admin.database.v1.EncryptionInfo m = + input.readMessage( + com.google.spanner.admin.database.v1.EncryptionInfo.parser(), + extensionRegistry); + if (encryptionInfoBuilder_ == null) { + ensureEncryptionInfoIsMutable(); + encryptionInfo_.add(m); + } else { + encryptionInfoBuilder_.addMessage(m); + } + break; + } // case 66 + case 74: { + defaultLeader_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000100; + break; + } // case 74 + case 80: { + databaseDialect_ = input.readEnum(); + bitField0_ |= 0x00000200; + break; + } // case 80 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1518,13 +1347,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the database. Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>`,
@@ -1534,13 +1360,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -1549,8 +1375,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the database. Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>`,
@@ -1560,14 +1384,15 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -1575,8 +1400,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the database. Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>`,
@@ -1586,22 +1409,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 name of the database. Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>`,
@@ -1611,7 +1430,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -1621,8 +1439,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the database. Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>`,
@@ -1632,14 +1448,12 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -1649,33 +1463,22 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int state_ = 0; /** - * - * *
      * Output only. The current database state.
      * 
* - * - * .google.spanner.admin.database.v1.Database.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.Database.State state = 2 [(.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 database state.
      * 
* - * - * .google.spanner.admin.database.v1.Database.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.Database.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -1686,37 +1489,24 @@ public Builder setStateValue(int value) { return this; } /** - * - * *
      * Output only. The current database state.
      * 
* - * - * .google.spanner.admin.database.v1.Database.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.Database.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ @java.lang.Override public com.google.spanner.admin.database.v1.Database.State getState() { - com.google.spanner.admin.database.v1.Database.State result = - com.google.spanner.admin.database.v1.Database.State.forNumber(state_); - return result == null - ? com.google.spanner.admin.database.v1.Database.State.UNRECOGNIZED - : result; + com.google.spanner.admin.database.v1.Database.State result = com.google.spanner.admin.database.v1.Database.State.forNumber(state_); + return result == null ? com.google.spanner.admin.database.v1.Database.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The current database state.
      * 
* - * - * .google.spanner.admin.database.v1.Database.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.Database.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The state to set. * @return This builder for chaining. */ @@ -1730,16 +1520,11 @@ public Builder setState(com.google.spanner.admin.database.v1.Database.State valu return this; } /** - * - * *
      * Output only. The current database state.
      * 
* - * - * .google.spanner.admin.database.v1.Database.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.Database.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { @@ -1751,58 +1536,39 @@ public Builder clearState() { 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. If exists, the time at which the database creation started.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Output only. If exists, the time at which the database creation started.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @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. If exists, the time at which the database creation started.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1818,17 +1584,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. If exists, the time at which the database creation started.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - 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 { @@ -1839,21 +1602,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. If exists, the time at which the database creation started.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -1866,15 +1625,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. If exists, the time at which the database creation started.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1887,15 +1642,11 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. If exists, the time at which the database creation started.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000004; @@ -1903,48 +1654,36 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. If exists, the time at which the database creation started.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ 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. If exists, the time at which the database creation started.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ 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_; @@ -1952,61 +1691,42 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.spanner.admin.database.v1.RestoreInfo restoreInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.RestoreInfo, - com.google.spanner.admin.database.v1.RestoreInfo.Builder, - com.google.spanner.admin.database.v1.RestoreInfoOrBuilder> - restoreInfoBuilder_; + com.google.spanner.admin.database.v1.RestoreInfo, com.google.spanner.admin.database.v1.RestoreInfo.Builder, com.google.spanner.admin.database.v1.RestoreInfoOrBuilder> restoreInfoBuilder_; /** - * - * *
      * Output only. Applicable only for restored databases. Contains information
      * about the restore source.
      * 
* - * - * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the restoreInfo field is set. */ public boolean hasRestoreInfo() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Output only. Applicable only for restored databases. Contains information
      * about the restore source.
      * 
* - * - * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The restoreInfo. */ public com.google.spanner.admin.database.v1.RestoreInfo getRestoreInfo() { if (restoreInfoBuilder_ == null) { - return restoreInfo_ == null - ? com.google.spanner.admin.database.v1.RestoreInfo.getDefaultInstance() - : restoreInfo_; + return restoreInfo_ == null ? com.google.spanner.admin.database.v1.RestoreInfo.getDefaultInstance() : restoreInfo_; } else { return restoreInfoBuilder_.getMessage(); } } /** - * - * *
      * Output only. Applicable only for restored databases. Contains information
      * about the restore source.
      * 
* - * - * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setRestoreInfo(com.google.spanner.admin.database.v1.RestoreInfo value) { if (restoreInfoBuilder_ == null) { @@ -2022,16 +1742,12 @@ public Builder setRestoreInfo(com.google.spanner.admin.database.v1.RestoreInfo v return this; } /** - * - * *
      * Output only. Applicable only for restored databases. Contains information
      * about the restore source.
      * 
* - * - * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setRestoreInfo( com.google.spanner.admin.database.v1.RestoreInfo.Builder builderForValue) { @@ -2045,23 +1761,18 @@ public Builder setRestoreInfo( return this; } /** - * - * *
      * Output only. Applicable only for restored databases. Contains information
      * about the restore source.
      * 
* - * - * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeRestoreInfo(com.google.spanner.admin.database.v1.RestoreInfo value) { if (restoreInfoBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && restoreInfo_ != null - && restoreInfo_ - != com.google.spanner.admin.database.v1.RestoreInfo.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + restoreInfo_ != null && + restoreInfo_ != com.google.spanner.admin.database.v1.RestoreInfo.getDefaultInstance()) { getRestoreInfoBuilder().mergeFrom(value); } else { restoreInfo_ = value; @@ -2074,16 +1785,12 @@ public Builder mergeRestoreInfo(com.google.spanner.admin.database.v1.RestoreInfo return this; } /** - * - * *
      * Output only. Applicable only for restored databases. Contains information
      * about the restore source.
      * 
* - * - * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearRestoreInfo() { bitField0_ = (bitField0_ & ~0x00000008); @@ -2096,16 +1803,12 @@ public Builder clearRestoreInfo() { return this; } /** - * - * *
      * Output only. Applicable only for restored databases. Contains information
      * about the restore source.
      * 
* - * - * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.spanner.admin.database.v1.RestoreInfo.Builder getRestoreInfoBuilder() { bitField0_ |= 0x00000008; @@ -2113,50 +1816,38 @@ public com.google.spanner.admin.database.v1.RestoreInfo.Builder getRestoreInfoBu return getRestoreInfoFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Applicable only for restored databases. Contains information
      * about the restore source.
      * 
* - * - * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.spanner.admin.database.v1.RestoreInfoOrBuilder getRestoreInfoOrBuilder() { if (restoreInfoBuilder_ != null) { return restoreInfoBuilder_.getMessageOrBuilder(); } else { - return restoreInfo_ == null - ? com.google.spanner.admin.database.v1.RestoreInfo.getDefaultInstance() - : restoreInfo_; + return restoreInfo_ == null ? + com.google.spanner.admin.database.v1.RestoreInfo.getDefaultInstance() : restoreInfo_; } } /** - * - * *
      * Output only. Applicable only for restored databases. Contains information
      * about the restore source.
      * 
* - * - * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.RestoreInfo, - com.google.spanner.admin.database.v1.RestoreInfo.Builder, - com.google.spanner.admin.database.v1.RestoreInfoOrBuilder> + com.google.spanner.admin.database.v1.RestoreInfo, com.google.spanner.admin.database.v1.RestoreInfo.Builder, com.google.spanner.admin.database.v1.RestoreInfoOrBuilder> getRestoreInfoFieldBuilder() { if (restoreInfoBuilder_ == null) { - restoreInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.RestoreInfo, - com.google.spanner.admin.database.v1.RestoreInfo.Builder, - com.google.spanner.admin.database.v1.RestoreInfoOrBuilder>( - getRestoreInfo(), getParentForChildren(), isClean()); + restoreInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.admin.database.v1.RestoreInfo, com.google.spanner.admin.database.v1.RestoreInfo.Builder, com.google.spanner.admin.database.v1.RestoreInfoOrBuilder>( + getRestoreInfo(), + getParentForChildren(), + isClean()); restoreInfo_ = null; } return restoreInfoBuilder_; @@ -2164,13 +1855,8 @@ public com.google.spanner.admin.database.v1.RestoreInfoOrBuilder getRestoreInfoO private com.google.spanner.admin.database.v1.EncryptionConfig encryptionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.EncryptionConfig, - com.google.spanner.admin.database.v1.EncryptionConfig.Builder, - com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder> - encryptionConfigBuilder_; + com.google.spanner.admin.database.v1.EncryptionConfig, com.google.spanner.admin.database.v1.EncryptionConfig.Builder, com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder> encryptionConfigBuilder_; /** - * - * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption configuration for the database.
@@ -2178,18 +1864,13 @@ public com.google.spanner.admin.database.v1.RestoreInfoOrBuilder getRestoreInfoO
      * this field is empty.
      * 
* - * - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the encryptionConfig field is set. */ public boolean hasEncryptionConfig() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption configuration for the database.
@@ -2197,24 +1878,17 @@ public boolean hasEncryptionConfig() {
      * this field is empty.
      * 
* - * - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionConfig. */ public com.google.spanner.admin.database.v1.EncryptionConfig getEncryptionConfig() { if (encryptionConfigBuilder_ == null) { - return encryptionConfig_ == null - ? com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } else { return encryptionConfigBuilder_.getMessage(); } } /** - * - * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption configuration for the database.
@@ -2222,12 +1896,9 @@ public com.google.spanner.admin.database.v1.EncryptionConfig getEncryptionConfig
      * this field is empty.
      * 
* - * - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setEncryptionConfig( - com.google.spanner.admin.database.v1.EncryptionConfig value) { + public Builder setEncryptionConfig(com.google.spanner.admin.database.v1.EncryptionConfig value) { if (encryptionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2241,8 +1912,6 @@ public Builder setEncryptionConfig( return this; } /** - * - * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption configuration for the database.
@@ -2250,9 +1919,7 @@ public Builder setEncryptionConfig(
      * this field is empty.
      * 
* - * - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEncryptionConfig( com.google.spanner.admin.database.v1.EncryptionConfig.Builder builderForValue) { @@ -2266,8 +1933,6 @@ public Builder setEncryptionConfig( return this; } /** - * - * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption configuration for the database.
@@ -2275,17 +1940,13 @@ public Builder setEncryptionConfig(
      * this field is empty.
      * 
* - * - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder mergeEncryptionConfig( - com.google.spanner.admin.database.v1.EncryptionConfig value) { + public Builder mergeEncryptionConfig(com.google.spanner.admin.database.v1.EncryptionConfig value) { if (encryptionConfigBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) - && encryptionConfig_ != null - && encryptionConfig_ - != com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) && + encryptionConfig_ != null && + encryptionConfig_ != com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance()) { getEncryptionConfigBuilder().mergeFrom(value); } else { encryptionConfig_ = value; @@ -2298,8 +1959,6 @@ public Builder mergeEncryptionConfig( return this; } /** - * - * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption configuration for the database.
@@ -2307,9 +1966,7 @@ public Builder mergeEncryptionConfig(
      * this field is empty.
      * 
* - * - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearEncryptionConfig() { bitField0_ = (bitField0_ & ~0x00000010); @@ -2322,8 +1979,6 @@ public Builder clearEncryptionConfig() { return this; } /** - * - * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption configuration for the database.
@@ -2331,19 +1986,14 @@ public Builder clearEncryptionConfig() {
      * this field is empty.
      * 
* - * - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.spanner.admin.database.v1.EncryptionConfig.Builder - getEncryptionConfigBuilder() { + public com.google.spanner.admin.database.v1.EncryptionConfig.Builder getEncryptionConfigBuilder() { bitField0_ |= 0x00000010; onChanged(); return getEncryptionConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption configuration for the database.
@@ -2351,23 +2001,17 @@ public Builder clearEncryptionConfig() {
      * this field is empty.
      * 
* - * - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder - getEncryptionConfigOrBuilder() { + public com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { if (encryptionConfigBuilder_ != null) { return encryptionConfigBuilder_.getMessageOrBuilder(); } else { - return encryptionConfig_ == null - ? com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? + com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } } /** - * - * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption configuration for the database.
@@ -2375,48 +2019,35 @@ public Builder clearEncryptionConfig() {
      * this field is empty.
      * 
* - * - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.EncryptionConfig, - com.google.spanner.admin.database.v1.EncryptionConfig.Builder, - com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder> + com.google.spanner.admin.database.v1.EncryptionConfig, com.google.spanner.admin.database.v1.EncryptionConfig.Builder, com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder> getEncryptionConfigFieldBuilder() { if (encryptionConfigBuilder_ == null) { - encryptionConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.EncryptionConfig, - com.google.spanner.admin.database.v1.EncryptionConfig.Builder, - com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder>( - getEncryptionConfig(), getParentForChildren(), isClean()); + encryptionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.admin.database.v1.EncryptionConfig, com.google.spanner.admin.database.v1.EncryptionConfig.Builder, com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder>( + getEncryptionConfig(), + getParentForChildren(), + isClean()); encryptionConfig_ = null; } return encryptionConfigBuilder_; } private java.util.List encryptionInfo_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureEncryptionInfoIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { - encryptionInfo_ = - new java.util.ArrayList( - encryptionInfo_); + encryptionInfo_ = new java.util.ArrayList(encryptionInfo_); bitField0_ |= 0x00000020; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.admin.database.v1.EncryptionInfo, - com.google.spanner.admin.database.v1.EncryptionInfo.Builder, - com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder> - encryptionInfoBuilder_; + com.google.spanner.admin.database.v1.EncryptionInfo, com.google.spanner.admin.database.v1.EncryptionInfo.Builder, com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder> encryptionInfoBuilder_; /** - * - * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption information for the database, such as
@@ -2427,12 +2058,9 @@ private void ensureEncryptionInfoIsMutable() {
      * from when a key version is being used and when it appears in this field.
      * 
* - * - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getEncryptionInfoList() { + public java.util.List getEncryptionInfoList() { if (encryptionInfoBuilder_ == null) { return java.util.Collections.unmodifiableList(encryptionInfo_); } else { @@ -2440,8 +2068,6 @@ private void ensureEncryptionInfoIsMutable() { } } /** - * - * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption information for the database, such as
@@ -2452,9 +2078,7 @@ private void ensureEncryptionInfoIsMutable() {
      * from when a key version is being used and when it appears in this field.
      * 
* - * - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public int getEncryptionInfoCount() { if (encryptionInfoBuilder_ == null) { @@ -2464,8 +2088,6 @@ public int getEncryptionInfoCount() { } } /** - * - * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption information for the database, such as
@@ -2476,9 +2098,7 @@ public int getEncryptionInfoCount() {
      * from when a key version is being used and when it appears in this field.
      * 
* - * - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.spanner.admin.database.v1.EncryptionInfo getEncryptionInfo(int index) { if (encryptionInfoBuilder_ == null) { @@ -2488,8 +2108,6 @@ public com.google.spanner.admin.database.v1.EncryptionInfo getEncryptionInfo(int } } /** - * - * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption information for the database, such as
@@ -2500,9 +2118,7 @@ public com.google.spanner.admin.database.v1.EncryptionInfo getEncryptionInfo(int
      * from when a key version is being used and when it appears in this field.
      * 
* - * - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEncryptionInfo( int index, com.google.spanner.admin.database.v1.EncryptionInfo value) { @@ -2519,8 +2135,6 @@ public Builder setEncryptionInfo( return this; } /** - * - * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption information for the database, such as
@@ -2531,9 +2145,7 @@ public Builder setEncryptionInfo(
      * from when a key version is being used and when it appears in this field.
      * 
* - * - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEncryptionInfo( int index, com.google.spanner.admin.database.v1.EncryptionInfo.Builder builderForValue) { @@ -2547,8 +2159,6 @@ public Builder setEncryptionInfo( return this; } /** - * - * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption information for the database, such as
@@ -2559,9 +2169,7 @@ public Builder setEncryptionInfo(
      * from when a key version is being used and when it appears in this field.
      * 
* - * - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addEncryptionInfo(com.google.spanner.admin.database.v1.EncryptionInfo value) { if (encryptionInfoBuilder_ == null) { @@ -2577,8 +2185,6 @@ public Builder addEncryptionInfo(com.google.spanner.admin.database.v1.Encryption return this; } /** - * - * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption information for the database, such as
@@ -2589,9 +2195,7 @@ public Builder addEncryptionInfo(com.google.spanner.admin.database.v1.Encryption
      * from when a key version is being used and when it appears in this field.
      * 
* - * - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addEncryptionInfo( int index, com.google.spanner.admin.database.v1.EncryptionInfo value) { @@ -2608,8 +2212,6 @@ public Builder addEncryptionInfo( return this; } /** - * - * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption information for the database, such as
@@ -2620,9 +2222,7 @@ public Builder addEncryptionInfo(
      * from when a key version is being used and when it appears in this field.
      * 
* - * - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addEncryptionInfo( com.google.spanner.admin.database.v1.EncryptionInfo.Builder builderForValue) { @@ -2636,8 +2236,6 @@ public Builder addEncryptionInfo( return this; } /** - * - * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption information for the database, such as
@@ -2648,9 +2246,7 @@ public Builder addEncryptionInfo(
      * from when a key version is being used and when it appears in this field.
      * 
* - * - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addEncryptionInfo( int index, com.google.spanner.admin.database.v1.EncryptionInfo.Builder builderForValue) { @@ -2664,8 +2260,6 @@ public Builder addEncryptionInfo( return this; } /** - * - * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption information for the database, such as
@@ -2676,15 +2270,14 @@ public Builder addEncryptionInfo(
      * from when a key version is being used and when it appears in this field.
      * 
* - * - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.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); @@ -2692,8 +2285,6 @@ public Builder addAllEncryptionInfo( return this; } /** - * - * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption information for the database, such as
@@ -2704,9 +2295,7 @@ public Builder addAllEncryptionInfo(
      * from when a key version is being used and when it appears in this field.
      * 
* - * - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearEncryptionInfo() { if (encryptionInfoBuilder_ == null) { @@ -2719,8 +2308,6 @@ public Builder clearEncryptionInfo() { return this; } /** - * - * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption information for the database, such as
@@ -2731,9 +2318,7 @@ public Builder clearEncryptionInfo() {
      * from when a key version is being used and when it appears in this field.
      * 
* - * - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder removeEncryptionInfo(int index) { if (encryptionInfoBuilder_ == null) { @@ -2746,8 +2331,6 @@ public Builder removeEncryptionInfo(int index) { return this; } /** - * - * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption information for the database, such as
@@ -2758,17 +2341,13 @@ public Builder removeEncryptionInfo(int index) {
      * from when a key version is being used and when it appears in this field.
      * 
* - * - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.spanner.admin.database.v1.EncryptionInfo.Builder getEncryptionInfoBuilder( int index) { return getEncryptionInfoFieldBuilder().getBuilder(index); } /** - * - * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption information for the database, such as
@@ -2779,21 +2358,16 @@ public com.google.spanner.admin.database.v1.EncryptionInfo.Builder getEncryption
      * from when a key version is being used and when it appears in this field.
      * 
* - * - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder( int index) { if (encryptionInfoBuilder_ == null) { - return encryptionInfo_.get(index); - } else { + return encryptionInfo_.get(index); } else { return encryptionInfoBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption information for the database, such as
@@ -2804,12 +2378,10 @@ public com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder getEncryptio
      * from when a key version is being used and when it appears in this field.
      * 
* - * - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getEncryptionInfoOrBuilderList() { + public java.util.List + getEncryptionInfoOrBuilderList() { if (encryptionInfoBuilder_ != null) { return encryptionInfoBuilder_.getMessageOrBuilderList(); } else { @@ -2817,8 +2389,6 @@ public com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder getEncryptio } } /** - * - * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption information for the database, such as
@@ -2829,17 +2399,13 @@ public com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder getEncryptio
      * from when a key version is being used and when it appears in this field.
      * 
* - * - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.spanner.admin.database.v1.EncryptionInfo.Builder addEncryptionInfoBuilder() { - return getEncryptionInfoFieldBuilder() - .addBuilder(com.google.spanner.admin.database.v1.EncryptionInfo.getDefaultInstance()); + return getEncryptionInfoFieldBuilder().addBuilder( + com.google.spanner.admin.database.v1.EncryptionInfo.getDefaultInstance()); } /** - * - * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption information for the database, such as
@@ -2850,19 +2416,14 @@ public com.google.spanner.admin.database.v1.EncryptionInfo.Builder addEncryption
      * from when a key version is being used and when it appears in this field.
      * 
* - * - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.spanner.admin.database.v1.EncryptionInfo.Builder addEncryptionInfoBuilder( int index) { - return getEncryptionInfoFieldBuilder() - .addBuilder( - index, com.google.spanner.admin.database.v1.EncryptionInfo.getDefaultInstance()); + return getEncryptionInfoFieldBuilder().addBuilder( + index, com.google.spanner.admin.database.v1.EncryptionInfo.getDefaultInstance()); } /** - * - * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption information for the database, such as
@@ -2873,26 +2434,18 @@ public com.google.spanner.admin.database.v1.EncryptionInfo.Builder addEncryption
      * from when a key version is being used and when it appears in this field.
      * 
* - * - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.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.spanner.admin.database.v1.EncryptionInfo, - com.google.spanner.admin.database.v1.EncryptionInfo.Builder, - com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder> + com.google.spanner.admin.database.v1.EncryptionInfo, com.google.spanner.admin.database.v1.EncryptionInfo.Builder, com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder> getEncryptionInfoFieldBuilder() { if (encryptionInfoBuilder_ == null) { - encryptionInfoBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.admin.database.v1.EncryptionInfo, - com.google.spanner.admin.database.v1.EncryptionInfo.Builder, - com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder>( + encryptionInfoBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.spanner.admin.database.v1.EncryptionInfo, com.google.spanner.admin.database.v1.EncryptionInfo.Builder, com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder>( encryptionInfo_, ((bitField0_ & 0x00000020) != 0), getParentForChildren(), @@ -2904,8 +2457,6 @@ public com.google.spanner.admin.database.v1.EncryptionInfo.Builder addEncryption private java.lang.Object versionRetentionPeriod_ = ""; /** - * - * *
      * Output only. The period in which Cloud Spanner retains all versions of data
      * for the database. This is the same as the value of version_retention_period
@@ -2914,15 +2465,14 @@ public com.google.spanner.admin.database.v1.EncryptionInfo.Builder addEncryption
      * if not set.
      * 
* - * string version_retention_period = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string version_retention_period = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The versionRetentionPeriod. */ public java.lang.String getVersionRetentionPeriod() { java.lang.Object ref = versionRetentionPeriod_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); versionRetentionPeriod_ = s; return s; @@ -2931,8 +2481,6 @@ public java.lang.String getVersionRetentionPeriod() { } } /** - * - * *
      * Output only. The period in which Cloud Spanner retains all versions of data
      * for the database. This is the same as the value of version_retention_period
@@ -2941,16 +2489,16 @@ public java.lang.String getVersionRetentionPeriod() {
      * if not set.
      * 
* - * string version_retention_period = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string version_retention_period = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bytes for versionRetentionPeriod. */ - public com.google.protobuf.ByteString getVersionRetentionPeriodBytes() { + public com.google.protobuf.ByteString + getVersionRetentionPeriodBytes() { java.lang.Object ref = versionRetentionPeriod_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); versionRetentionPeriod_ = b; return b; } else { @@ -2958,8 +2506,6 @@ public com.google.protobuf.ByteString getVersionRetentionPeriodBytes() { } } /** - * - * *
      * Output only. The period in which Cloud Spanner retains all versions of data
      * for the database. This is the same as the value of version_retention_period
@@ -2968,24 +2514,19 @@ public com.google.protobuf.ByteString getVersionRetentionPeriodBytes() {
      * if not set.
      * 
* - * string version_retention_period = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string version_retention_period = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The versionRetentionPeriod to set. * @return This builder for chaining. */ - public Builder setVersionRetentionPeriod(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setVersionRetentionPeriod( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } versionRetentionPeriod_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** - * - * *
      * Output only. The period in which Cloud Spanner retains all versions of data
      * for the database. This is the same as the value of version_retention_period
@@ -2994,9 +2535,7 @@ public Builder setVersionRetentionPeriod(java.lang.String value) {
      * if not set.
      * 
* - * string version_retention_period = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string version_retention_period = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearVersionRetentionPeriod() { @@ -3006,8 +2545,6 @@ public Builder clearVersionRetentionPeriod() { return this; } /** - * - * *
      * Output only. The period in which Cloud Spanner retains all versions of data
      * for the database. This is the same as the value of version_retention_period
@@ -3016,16 +2553,13 @@ public Builder clearVersionRetentionPeriod() {
      * if not set.
      * 
* - * string version_retention_period = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string version_retention_period = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The bytes for versionRetentionPeriod to set. * @return This builder for chaining. */ - public Builder setVersionRetentionPeriodBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setVersionRetentionPeriodBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); versionRetentionPeriod_ = value; bitField0_ |= 0x00000040; @@ -3035,13 +2569,8 @@ public Builder setVersionRetentionPeriodBytes(com.google.protobuf.ByteString val private com.google.protobuf.Timestamp earliestVersionTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - earliestVersionTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> earliestVersionTimeBuilder_; /** - * - * *
      * Output only. Earliest timestamp at which older versions of the data can be
      * read. This value is continuously updated by Cloud Spanner and becomes stale
@@ -3050,18 +2579,13 @@ public Builder setVersionRetentionPeriodBytes(com.google.protobuf.ByteString val
      * the moment when you initiate the recovery.
      * 
* - * - * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the earliestVersionTime field is set. */ public boolean hasEarliestVersionTime() { return ((bitField0_ & 0x00000080) != 0); } /** - * - * *
      * Output only. Earliest timestamp at which older versions of the data can be
      * read. This value is continuously updated by Cloud Spanner and becomes stale
@@ -3070,24 +2594,17 @@ public boolean hasEarliestVersionTime() {
      * the moment when you initiate the recovery.
      * 
* - * - * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The earliestVersionTime. */ public com.google.protobuf.Timestamp getEarliestVersionTime() { if (earliestVersionTimeBuilder_ == null) { - return earliestVersionTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : earliestVersionTime_; + return earliestVersionTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : earliestVersionTime_; } else { return earliestVersionTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. Earliest timestamp at which older versions of the data can be
      * read. This value is continuously updated by Cloud Spanner and becomes stale
@@ -3096,9 +2613,7 @@ public com.google.protobuf.Timestamp getEarliestVersionTime() {
      * the moment when you initiate the recovery.
      * 
* - * - * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEarliestVersionTime(com.google.protobuf.Timestamp value) { if (earliestVersionTimeBuilder_ == null) { @@ -3114,8 +2629,6 @@ public Builder setEarliestVersionTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Earliest timestamp at which older versions of the data can be
      * read. This value is continuously updated by Cloud Spanner and becomes stale
@@ -3124,11 +2637,10 @@ public Builder setEarliestVersionTime(com.google.protobuf.Timestamp value) {
      * the moment when you initiate the recovery.
      * 
* - * - * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setEarliestVersionTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEarliestVersionTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (earliestVersionTimeBuilder_ == null) { earliestVersionTime_ = builderForValue.build(); } else { @@ -3139,8 +2651,6 @@ public Builder setEarliestVersionTime(com.google.protobuf.Timestamp.Builder buil return this; } /** - * - * *
      * Output only. Earliest timestamp at which older versions of the data can be
      * read. This value is continuously updated by Cloud Spanner and becomes stale
@@ -3149,15 +2659,13 @@ public Builder setEarliestVersionTime(com.google.protobuf.Timestamp.Builder buil
      * the moment when you initiate the recovery.
      * 
* - * - * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeEarliestVersionTime(com.google.protobuf.Timestamp value) { if (earliestVersionTimeBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0) - && earliestVersionTime_ != null - && earliestVersionTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000080) != 0) && + earliestVersionTime_ != null && + earliestVersionTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEarliestVersionTimeBuilder().mergeFrom(value); } else { earliestVersionTime_ = value; @@ -3170,8 +2678,6 @@ public Builder mergeEarliestVersionTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Earliest timestamp at which older versions of the data can be
      * read. This value is continuously updated by Cloud Spanner and becomes stale
@@ -3180,9 +2686,7 @@ public Builder mergeEarliestVersionTime(com.google.protobuf.Timestamp value) {
      * the moment when you initiate the recovery.
      * 
* - * - * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearEarliestVersionTime() { bitField0_ = (bitField0_ & ~0x00000080); @@ -3195,8 +2699,6 @@ public Builder clearEarliestVersionTime() { return this; } /** - * - * *
      * Output only. Earliest timestamp at which older versions of the data can be
      * read. This value is continuously updated by Cloud Spanner and becomes stale
@@ -3205,9 +2707,7 @@ public Builder clearEarliestVersionTime() {
      * the moment when you initiate the recovery.
      * 
* - * - * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getEarliestVersionTimeBuilder() { bitField0_ |= 0x00000080; @@ -3215,8 +2715,6 @@ public com.google.protobuf.Timestamp.Builder getEarliestVersionTimeBuilder() { return getEarliestVersionTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Earliest timestamp at which older versions of the data can be
      * read. This value is continuously updated by Cloud Spanner and becomes stale
@@ -3225,22 +2723,17 @@ public com.google.protobuf.Timestamp.Builder getEarliestVersionTimeBuilder() {
      * the moment when you initiate the recovery.
      * 
* - * - * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getEarliestVersionTimeOrBuilder() { if (earliestVersionTimeBuilder_ != null) { return earliestVersionTimeBuilder_.getMessageOrBuilder(); } else { - return earliestVersionTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : earliestVersionTime_; + return earliestVersionTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : earliestVersionTime_; } } /** - * - * *
      * Output only. Earliest timestamp at which older versions of the data can be
      * read. This value is continuously updated by Cloud Spanner and becomes stale
@@ -3249,22 +2742,17 @@ public com.google.protobuf.TimestampOrBuilder getEarliestVersionTimeOrBuilder()
      * the moment when you initiate the recovery.
      * 
* - * - * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ 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> getEarliestVersionTimeFieldBuilder() { if (earliestVersionTimeBuilder_ == null) { - earliestVersionTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getEarliestVersionTime(), getParentForChildren(), isClean()); + earliestVersionTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEarliestVersionTime(), + getParentForChildren(), + isClean()); earliestVersionTime_ = null; } return earliestVersionTimeBuilder_; @@ -3272,8 +2760,6 @@ public com.google.protobuf.TimestampOrBuilder getEarliestVersionTimeOrBuilder() private java.lang.Object defaultLeader_ = ""; /** - * - * *
      * Output only. The read-write region which contains the database's leader
      * replicas.
@@ -3283,13 +2769,13 @@ public com.google.protobuf.TimestampOrBuilder getEarliestVersionTimeOrBuilder()
      * 
* * string default_leader = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The defaultLeader. */ public java.lang.String getDefaultLeader() { java.lang.Object ref = defaultLeader_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultLeader_ = s; return s; @@ -3298,8 +2784,6 @@ public java.lang.String getDefaultLeader() { } } /** - * - * *
      * Output only. The read-write region which contains the database's leader
      * replicas.
@@ -3309,14 +2793,15 @@ public java.lang.String getDefaultLeader() {
      * 
* * string default_leader = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for defaultLeader. */ - public com.google.protobuf.ByteString getDefaultLeaderBytes() { + public com.google.protobuf.ByteString + getDefaultLeaderBytes() { java.lang.Object ref = defaultLeader_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); defaultLeader_ = b; return b; } else { @@ -3324,8 +2809,6 @@ public com.google.protobuf.ByteString getDefaultLeaderBytes() { } } /** - * - * *
      * Output only. The read-write region which contains the database's leader
      * replicas.
@@ -3335,22 +2818,18 @@ public com.google.protobuf.ByteString getDefaultLeaderBytes() {
      * 
* * string default_leader = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The defaultLeader to set. * @return This builder for chaining. */ - public Builder setDefaultLeader(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDefaultLeader( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } defaultLeader_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** - * - * *
      * Output only. The read-write region which contains the database's leader
      * replicas.
@@ -3360,7 +2839,6 @@ public Builder setDefaultLeader(java.lang.String value) {
      * 
* * string default_leader = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearDefaultLeader() { @@ -3370,8 +2848,6 @@ public Builder clearDefaultLeader() { return this; } /** - * - * *
      * Output only. The read-write region which contains the database's leader
      * replicas.
@@ -3381,14 +2857,12 @@ public Builder clearDefaultLeader() {
      * 
* * string default_leader = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for defaultLeader to set. * @return This builder for chaining. */ - public Builder setDefaultLeaderBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDefaultLeaderBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); defaultLeader_ = value; bitField0_ |= 0x00000100; @@ -3398,33 +2872,22 @@ public Builder setDefaultLeaderBytes(com.google.protobuf.ByteString value) { private int databaseDialect_ = 0; /** - * - * *
      * Output only. The dialect of the Cloud Spanner Database.
      * 
* - * - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for databaseDialect. */ - @java.lang.Override - public int getDatabaseDialectValue() { + @java.lang.Override public int getDatabaseDialectValue() { return databaseDialect_; } /** - * - * *
      * Output only. The dialect of the Cloud Spanner Database.
      * 
* - * - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for databaseDialect to set. * @return This builder for chaining. */ @@ -3435,37 +2898,24 @@ public Builder setDatabaseDialectValue(int value) { return this; } /** - * - * *
      * Output only. The dialect of the Cloud Spanner Database.
      * 
* - * - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The databaseDialect. */ @java.lang.Override public com.google.spanner.admin.database.v1.DatabaseDialect getDatabaseDialect() { - com.google.spanner.admin.database.v1.DatabaseDialect result = - com.google.spanner.admin.database.v1.DatabaseDialect.forNumber(databaseDialect_); - return result == null - ? com.google.spanner.admin.database.v1.DatabaseDialect.UNRECOGNIZED - : result; + com.google.spanner.admin.database.v1.DatabaseDialect result = com.google.spanner.admin.database.v1.DatabaseDialect.forNumber(databaseDialect_); + return result == null ? com.google.spanner.admin.database.v1.DatabaseDialect.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The dialect of the Cloud Spanner Database.
      * 
* - * - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The databaseDialect to set. * @return This builder for chaining. */ @@ -3479,16 +2929,11 @@ public Builder setDatabaseDialect(com.google.spanner.admin.database.v1.DatabaseD return this; } /** - * - * *
      * Output only. The dialect of the Cloud Spanner Database.
      * 
* - * - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearDatabaseDialect() { @@ -3497,9 +2942,9 @@ public Builder clearDatabaseDialect() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3509,12 +2954,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.Database) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.Database) private static final com.google.spanner.admin.database.v1.Database DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.Database(); } @@ -3523,27 +2968,27 @@ public static com.google.spanner.admin.database.v1.Database getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Database parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Database parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3558,4 +3003,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.Database getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseDialect.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseDialect.java similarity index 67% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseDialect.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseDialect.java index b2898046416..a779d975852 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseDialect.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseDialect.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/spanner/admin/database/v1/common.proto package com.google.spanner.admin.database.v1; /** - * - * *
  * Indicates the dialect type of a database.
  * 
* * Protobuf enum {@code google.spanner.admin.database.v1.DatabaseDialect} */ -public enum DatabaseDialect implements com.google.protobuf.ProtocolMessageEnum { +public enum DatabaseDialect + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Default value. This value will create a database with the
    * GOOGLE_STANDARD_SQL dialect.
@@ -40,8 +22,6 @@ public enum DatabaseDialect implements com.google.protobuf.ProtocolMessageEnum {
    */
   DATABASE_DIALECT_UNSPECIFIED(0),
   /**
-   *
-   *
    * 
    * Google standard SQL.
    * 
@@ -50,8 +30,6 @@ public enum DatabaseDialect implements com.google.protobuf.ProtocolMessageEnum { */ GOOGLE_STANDARD_SQL(1), /** - * - * *
    * PostgreSQL supported SQL.
    * 
@@ -63,8 +41,6 @@ public enum DatabaseDialect implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * Default value. This value will create a database with the
    * GOOGLE_STANDARD_SQL dialect.
@@ -74,8 +50,6 @@ public enum DatabaseDialect implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int DATABASE_DIALECT_UNSPECIFIED_VALUE = 0;
   /**
-   *
-   *
    * 
    * Google standard SQL.
    * 
@@ -84,8 +58,6 @@ public enum DatabaseDialect implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GOOGLE_STANDARD_SQL_VALUE = 1; /** - * - * *
    * PostgreSQL supported SQL.
    * 
@@ -94,6 +66,7 @@ public enum DatabaseDialect implements com.google.protobuf.ProtocolMessageEnum { */ public static final int POSTGRESQL_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -118,49 +91,49 @@ public static DatabaseDialect valueOf(int value) { */ public static DatabaseDialect forNumber(int value) { switch (value) { - case 0: - return DATABASE_DIALECT_UNSPECIFIED; - case 1: - return GOOGLE_STANDARD_SQL; - case 2: - return POSTGRESQL; - default: - return null; + case 0: return DATABASE_DIALECT_UNSPECIFIED; + case 1: return GOOGLE_STANDARD_SQL; + case 2: return POSTGRESQL; + 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 DatabaseDialect findValueByNumber(int number) { - return DatabaseDialect.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + DatabaseDialect> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public DatabaseDialect findValueByNumber(int number) { + return DatabaseDialect.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.spanner.admin.database.v1.CommonProto.getDescriptor().getEnumTypes().get(0); } private static final DatabaseDialect[] VALUES = values(); - public static DatabaseDialect valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static DatabaseDialect 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; @@ -176,3 +149,4 @@ private DatabaseDialect(int value) { // @@protoc_insertion_point(enum_scope:google.spanner.admin.database.v1.DatabaseDialect) } + diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseName.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseName.java similarity index 100% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseName.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseName.java diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseOrBuilder.java similarity index 73% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseOrBuilder.java index de9373a0f9e..1cb57230fe7 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseOrBuilder.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/spanner/admin/database/v1/spanner_database_admin.proto package com.google.spanner.admin.database.v1; -public interface DatabaseOrBuilder - extends +public interface DatabaseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.Database) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the database. Values are of the form
    * `projects/<project>/instances/<instance>/databases/<database>`,
@@ -35,13 +17,10 @@ public interface DatabaseOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The name of the database. Values are of the form
    * `projects/<project>/instances/<instance>/databases/<database>`,
@@ -51,125 +30,88 @@ public interface DatabaseOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Output only. The current database state.
    * 
* - * - * .google.spanner.admin.database.v1.Database.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.Database.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. The current database state.
    * 
* - * - * .google.spanner.admin.database.v1.Database.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.Database.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ com.google.spanner.admin.database.v1.Database.State getState(); /** - * - * *
    * Output only. If exists, the time at which the database creation started.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. If exists, the time at which the database creation started.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. If exists, the time at which the database creation started.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. Applicable only for restored databases. Contains information
    * about the restore source.
    * 
* - * - * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the restoreInfo field is set. */ boolean hasRestoreInfo(); /** - * - * *
    * Output only. Applicable only for restored databases. Contains information
    * about the restore source.
    * 
* - * - * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The restoreInfo. */ com.google.spanner.admin.database.v1.RestoreInfo getRestoreInfo(); /** - * - * *
    * Output only. Applicable only for restored databases. Contains information
    * about the restore source.
    * 
* - * - * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.spanner.admin.database.v1.RestoreInfoOrBuilder getRestoreInfoOrBuilder(); /** - * - * *
    * Output only. For databases that are using customer managed encryption, this
    * field contains the encryption configuration for the database.
@@ -177,16 +119,11 @@ public interface DatabaseOrBuilder
    * this field is empty.
    * 
* - * - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the encryptionConfig field is set. */ boolean hasEncryptionConfig(); /** - * - * *
    * Output only. For databases that are using customer managed encryption, this
    * field contains the encryption configuration for the database.
@@ -194,16 +131,11 @@ public interface DatabaseOrBuilder
    * this field is empty.
    * 
* - * - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionConfig. */ com.google.spanner.admin.database.v1.EncryptionConfig getEncryptionConfig(); /** - * - * *
    * Output only. For databases that are using customer managed encryption, this
    * field contains the encryption configuration for the database.
@@ -211,15 +143,11 @@ public interface DatabaseOrBuilder
    * this field is empty.
    * 
* - * - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder(); /** - * - * *
    * Output only. For databases that are using customer managed encryption, this
    * field contains the encryption information for the database, such as
@@ -230,14 +158,11 @@ public interface DatabaseOrBuilder
    * from when a key version is being used and when it appears in this field.
    * 
* - * - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List getEncryptionInfoList(); + java.util.List + getEncryptionInfoList(); /** - * - * *
    * Output only. For databases that are using customer managed encryption, this
    * field contains the encryption information for the database, such as
@@ -248,14 +173,10 @@ public interface DatabaseOrBuilder
    * from when a key version is being used and when it appears in this field.
    * 
* - * - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.spanner.admin.database.v1.EncryptionInfo getEncryptionInfo(int index); /** - * - * *
    * Output only. For databases that are using customer managed encryption, this
    * field contains the encryption information for the database, such as
@@ -266,14 +187,10 @@ public interface DatabaseOrBuilder
    * from when a key version is being used and when it appears in this field.
    * 
* - * - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ int getEncryptionInfoCount(); /** - * - * *
    * Output only. For databases that are using customer managed encryption, this
    * field contains the encryption information for the database, such as
@@ -284,15 +201,11 @@ public interface DatabaseOrBuilder
    * from when a key version is being used and when it appears in this field.
    * 
* - * - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List + java.util.List getEncryptionInfoOrBuilderList(); /** - * - * *
    * Output only. For databases that are using customer managed encryption, this
    * field contains the encryption information for the database, such as
@@ -303,16 +216,12 @@ public interface DatabaseOrBuilder
    * from when a key version is being used and when it appears in this field.
    * 
* - * - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder( int index); /** - * - * *
    * Output only. The period in which Cloud Spanner retains all versions of data
    * for the database. This is the same as the value of version_retention_period
@@ -322,13 +231,10 @@ com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder getEncryptionInfoOr
    * 
* * string version_retention_period = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The versionRetentionPeriod. */ java.lang.String getVersionRetentionPeriod(); /** - * - * *
    * Output only. The period in which Cloud Spanner retains all versions of data
    * for the database. This is the same as the value of version_retention_period
@@ -338,14 +244,12 @@ com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder getEncryptionInfoOr
    * 
* * string version_retention_period = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for versionRetentionPeriod. */ - com.google.protobuf.ByteString getVersionRetentionPeriodBytes(); + com.google.protobuf.ByteString + getVersionRetentionPeriodBytes(); /** - * - * *
    * Output only. Earliest timestamp at which older versions of the data can be
    * read. This value is continuously updated by Cloud Spanner and becomes stale
@@ -354,16 +258,11 @@ com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder getEncryptionInfoOr
    * the moment when you initiate the recovery.
    * 
* - * - * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the earliestVersionTime field is set. */ boolean hasEarliestVersionTime(); /** - * - * *
    * Output only. Earliest timestamp at which older versions of the data can be
    * read. This value is continuously updated by Cloud Spanner and becomes stale
@@ -372,16 +271,11 @@ com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder getEncryptionInfoOr
    * the moment when you initiate the recovery.
    * 
* - * - * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The earliestVersionTime. */ com.google.protobuf.Timestamp getEarliestVersionTime(); /** - * - * *
    * Output only. Earliest timestamp at which older versions of the data can be
    * read. This value is continuously updated by Cloud Spanner and becomes stale
@@ -390,15 +284,11 @@ com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder getEncryptionInfoOr
    * the moment when you initiate the recovery.
    * 
* - * - * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getEarliestVersionTimeOrBuilder(); /** - * - * *
    * Output only. The read-write region which contains the database's leader
    * replicas.
@@ -408,13 +298,10 @@ com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder getEncryptionInfoOr
    * 
* * string default_leader = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The defaultLeader. */ java.lang.String getDefaultLeader(); /** - * - * *
    * Output only. The read-write region which contains the database's leader
    * replicas.
@@ -424,36 +311,26 @@ com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder getEncryptionInfoOr
    * 
* * string default_leader = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for defaultLeader. */ - com.google.protobuf.ByteString getDefaultLeaderBytes(); + com.google.protobuf.ByteString + getDefaultLeaderBytes(); /** - * - * *
    * Output only. The dialect of the Cloud Spanner Database.
    * 
* - * - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for databaseDialect. */ int getDatabaseDialectValue(); /** - * - * *
    * Output only. The dialect of the Cloud Spanner Database.
    * 
* - * - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The databaseDialect. */ com.google.spanner.admin.database.v1.DatabaseDialect getDatabaseDialect(); diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseRole.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseRole.java similarity index 69% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseRole.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseRole.java index 42caf41f84f..a67e08332e7 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseRole.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseRole.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/spanner/admin/database/v1/spanner_database_admin.proto package com.google.spanner.admin.database.v1; /** - * - * *
  * A Cloud Spanner database role.
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.DatabaseRole} */ -public final class DatabaseRole extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DatabaseRole extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.DatabaseRole) DatabaseRoleOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DatabaseRole.newBuilder() to construct. private DatabaseRole(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DatabaseRole() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DatabaseRole(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_DatabaseRole_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_DatabaseRole_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_DatabaseRole_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_DatabaseRole_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.DatabaseRole.class, - com.google.spanner.admin.database.v1.DatabaseRole.Builder.class); + com.google.spanner.admin.database.v1.DatabaseRole.class, com.google.spanner.admin.database.v1.DatabaseRole.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the database role. Values are of the form
    * `projects/<project>/instances/<instance>/databases/<database>/databaseRoles/
@@ -83,7 +61,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -92,15 +69,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; } } /** - * - * *
    * Required. The name of the database role. Values are of the form
    * `projects/<project>/instances/<instance>/databases/<database>/databaseRoles/
@@ -110,15 +86,16 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -127,7 +104,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -139,7 +115,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -163,15 +140,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.database.v1.DatabaseRole)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.DatabaseRole other = - (com.google.spanner.admin.database.v1.DatabaseRole) obj; + com.google.spanner.admin.database.v1.DatabaseRole other = (com.google.spanner.admin.database.v1.DatabaseRole) 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,135 +168,129 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.DatabaseRole parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.DatabaseRole parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.DatabaseRole parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.DatabaseRole parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.DatabaseRole parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.DatabaseRole parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.DatabaseRole parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.DatabaseRole parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.DatabaseRole parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.DatabaseRole parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.DatabaseRole parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.DatabaseRole parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.DatabaseRole parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.DatabaseRole parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.admin.database.v1.DatabaseRole prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 Cloud Spanner database role.
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.DatabaseRole} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.DatabaseRole) com.google.spanner.admin.database.v1.DatabaseRoleOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_DatabaseRole_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_DatabaseRole_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_DatabaseRole_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_DatabaseRole_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.DatabaseRole.class, - com.google.spanner.admin.database.v1.DatabaseRole.Builder.class); + com.google.spanner.admin.database.v1.DatabaseRole.class, com.google.spanner.admin.database.v1.DatabaseRole.Builder.class); } // Construct using com.google.spanner.admin.database.v1.DatabaseRole.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -329,9 +300,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_DatabaseRole_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_DatabaseRole_descriptor; } @java.lang.Override @@ -350,11 +321,8 @@ public com.google.spanner.admin.database.v1.DatabaseRole build() { @java.lang.Override public com.google.spanner.admin.database.v1.DatabaseRole buildPartial() { - com.google.spanner.admin.database.v1.DatabaseRole result = - new com.google.spanner.admin.database.v1.DatabaseRole(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.admin.database.v1.DatabaseRole result = new com.google.spanner.admin.database.v1.DatabaseRole(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -370,39 +338,38 @@ private void buildPartial0(com.google.spanner.admin.database.v1.DatabaseRole 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.spanner.admin.database.v1.DatabaseRole) { - return mergeFrom((com.google.spanner.admin.database.v1.DatabaseRole) other); + return mergeFrom((com.google.spanner.admin.database.v1.DatabaseRole)other); } else { super.mergeFrom(other); return this; @@ -410,8 +377,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.admin.database.v1.DatabaseRole other) { - if (other == com.google.spanner.admin.database.v1.DatabaseRole.getDefaultInstance()) - return this; + if (other == com.google.spanner.admin.database.v1.DatabaseRole.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -443,19 +409,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) { @@ -465,13 +429,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the database role. Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>/databaseRoles/
@@ -481,13 +442,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -496,8 +457,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the database role. Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>/databaseRoles/
@@ -507,14 +466,15 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -522,8 +482,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the database role. Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>/databaseRoles/
@@ -533,22 +491,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 name of the database role. Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>/databaseRoles/
@@ -558,7 +512,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -568,8 +521,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the database role. Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>/databaseRoles/
@@ -579,23 +530,21 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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); } @@ -605,12 +554,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.DatabaseRole) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.DatabaseRole) private static final com.google.spanner.admin.database.v1.DatabaseRole DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.DatabaseRole(); } @@ -619,27 +568,27 @@ public static com.google.spanner.admin.database.v1.DatabaseRole getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DatabaseRole parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DatabaseRole parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -654,4 +603,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.DatabaseRole getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseRoleOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseRoleOrBuilder.java similarity index 64% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseRoleOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseRoleOrBuilder.java index 293fe0f672c..44df2a12eed 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseRoleOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseRoleOrBuilder.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/spanner/admin/database/v1/spanner_database_admin.proto package com.google.spanner.admin.database.v1; -public interface DatabaseRoleOrBuilder - extends +public interface DatabaseRoleOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.DatabaseRole) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the database role. Values are of the form
    * `projects/<project>/instances/<instance>/databases/<database>/databaseRoles/
@@ -35,13 +17,10 @@ public interface DatabaseRoleOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The name of the database role. Values are of the form
    * `projects/<project>/instances/<instance>/databases/<database>/databaseRoles/
@@ -51,8 +30,8 @@ public interface DatabaseRoleOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DeleteBackupRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DeleteBackupRequest.java similarity index 63% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DeleteBackupRequest.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DeleteBackupRequest.java index e095273e163..5051abf31df 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DeleteBackupRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DeleteBackupRequest.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/spanner/admin/database/v1/backup.proto package com.google.spanner.admin.database.v1; /** - * - * *
  * The request for [DeleteBackup][google.spanner.admin.database.v1.DatabaseAdmin.DeleteBackup].
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.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.spanner.admin.database.v1.DeleteBackupRequest) DeleteBackupRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteBackupRequest.newBuilder() to construct. private DeleteBackupRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteBackupRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteBackupRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_DeleteBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_DeleteBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_DeleteBackupRequest_fieldAccessorTable + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_DeleteBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.DeleteBackupRequest.class, - com.google.spanner.admin.database.v1.DeleteBackupRequest.Builder.class); + com.google.spanner.admin.database.v1.DeleteBackupRequest.class, com.google.spanner.admin.database.v1.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>/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 @@ -92,33 +67,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. Name of the backup to delete.
    * Values are of the form
    * `projects/<project>/instances/<instance>/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 { @@ -127,7 +100,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -139,7 +111,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -163,15 +136,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.database.v1.DeleteBackupRequest)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.DeleteBackupRequest other = - (com.google.spanner.admin.database.v1.DeleteBackupRequest) obj; + com.google.spanner.admin.database.v1.DeleteBackupRequest other = (com.google.spanner.admin.database.v1.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; } @@ -191,136 +164,129 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.DeleteBackupRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.DeleteBackupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.DeleteBackupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.DeleteBackupRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.DeleteBackupRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.DeleteBackupRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.DeleteBackupRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.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.spanner.admin.database.v1.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.spanner.admin.database.v1.DeleteBackupRequest prototype) { + public static Builder newBuilder(com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.DatabaseAdmin.DeleteBackup].
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.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.spanner.admin.database.v1.DeleteBackupRequest) com.google.spanner.admin.database.v1.DeleteBackupRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_DeleteBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_DeleteBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_DeleteBackupRequest_fieldAccessorTable + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_DeleteBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.DeleteBackupRequest.class, - com.google.spanner.admin.database.v1.DeleteBackupRequest.Builder.class); + com.google.spanner.admin.database.v1.DeleteBackupRequest.class, com.google.spanner.admin.database.v1.DeleteBackupRequest.Builder.class); } // Construct using com.google.spanner.admin.database.v1.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(); @@ -330,9 +296,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_DeleteBackupRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_DeleteBackupRequest_descriptor; } @java.lang.Override @@ -351,11 +317,8 @@ public com.google.spanner.admin.database.v1.DeleteBackupRequest build() { @java.lang.Override public com.google.spanner.admin.database.v1.DeleteBackupRequest buildPartial() { - com.google.spanner.admin.database.v1.DeleteBackupRequest result = - new com.google.spanner.admin.database.v1.DeleteBackupRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.admin.database.v1.DeleteBackupRequest result = new com.google.spanner.admin.database.v1.DeleteBackupRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -371,39 +334,38 @@ private void buildPartial0(com.google.spanner.admin.database.v1.DeleteBackupRequ public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.admin.database.v1.DeleteBackupRequest) { - return mergeFrom((com.google.spanner.admin.database.v1.DeleteBackupRequest) other); + return mergeFrom((com.google.spanner.admin.database.v1.DeleteBackupRequest)other); } else { super.mergeFrom(other); return this; @@ -411,8 +373,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.admin.database.v1.DeleteBackupRequest other) { - if (other == com.google.spanner.admin.database.v1.DeleteBackupRequest.getDefaultInstance()) - return this; + if (other == com.google.spanner.admin.database.v1.DeleteBackupRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -444,19 +405,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) { @@ -466,29 +425,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>/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; @@ -497,25 +451,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Name of the backup to delete.
      * Values are of the form
      * `projects/<project>/instances/<instance>/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 { @@ -523,43 +474,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Name of the backup to delete.
      * Values are of the form
      * `projects/<project>/instances/<instance>/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>/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() { @@ -569,34 +509,28 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. Name of the backup to delete.
      * Values are of the form
      * `projects/<project>/instances/<instance>/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); } @@ -606,12 +540,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.DeleteBackupRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.DeleteBackupRequest) private static final com.google.spanner.admin.database.v1.DeleteBackupRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.DeleteBackupRequest(); } @@ -620,27 +554,27 @@ public static com.google.spanner.admin.database.v1.DeleteBackupRequest getDefaul 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; @@ -655,4 +589,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.DeleteBackupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DeleteBackupRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DeleteBackupRequestOrBuilder.java new file mode 100644 index 00000000000..1711c4afd92 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DeleteBackupRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/spanner/admin/database/v1/backup.proto + +package com.google.spanner.admin.database.v1; + +public interface DeleteBackupRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.DeleteBackupRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Name of the backup to delete.
+   * Values are of the form
+   * `projects/<project>/instances/<instance>/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>/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-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DropDatabaseRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DropDatabaseRequest.java similarity index 63% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DropDatabaseRequest.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DropDatabaseRequest.java index 2aea18dad1a..d93ff449f13 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DropDatabaseRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DropDatabaseRequest.java @@ -1,87 +1,62 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/spanner_database_admin.proto package com.google.spanner.admin.database.v1; /** - * - * *
  * The request for [DropDatabase][google.spanner.admin.database.v1.DatabaseAdmin.DropDatabase].
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.DropDatabaseRequest} */ -public final class DropDatabaseRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DropDatabaseRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.DropDatabaseRequest) DropDatabaseRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DropDatabaseRequest.newBuilder() to construct. private DropDatabaseRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DropDatabaseRequest() { database_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DropDatabaseRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_DropDatabaseRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_DropDatabaseRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_DropDatabaseRequest_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_DropDatabaseRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.DropDatabaseRequest.class, - com.google.spanner.admin.database.v1.DropDatabaseRequest.Builder.class); + com.google.spanner.admin.database.v1.DropDatabaseRequest.class, com.google.spanner.admin.database.v1.DropDatabaseRequest.Builder.class); } public static final int DATABASE_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object database_ = ""; /** - * - * *
    * Required. The database to be dropped.
    * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The database. */ @java.lang.Override @@ -90,31 +65,29 @@ public java.lang.String getDatabase() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; } } /** - * - * *
    * Required. The database to be dropped.
    * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for database. */ @java.lang.Override - public com.google.protobuf.ByteString getDatabaseBytes() { + public com.google.protobuf.ByteString + getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); database_ = b; return b; } else { @@ -123,7 +96,6 @@ public com.google.protobuf.ByteString getDatabaseBytes() { } 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(database_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, database_); } @@ -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.spanner.admin.database.v1.DropDatabaseRequest)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.DropDatabaseRequest other = - (com.google.spanner.admin.database.v1.DropDatabaseRequest) obj; + com.google.spanner.admin.database.v1.DropDatabaseRequest other = (com.google.spanner.admin.database.v1.DropDatabaseRequest) obj; - if (!getDatabase().equals(other.getDatabase())) return false; + if (!getDatabase() + .equals(other.getDatabase())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -187,136 +160,129 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.DropDatabaseRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.DropDatabaseRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.DropDatabaseRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.DropDatabaseRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.DropDatabaseRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.DropDatabaseRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.DropDatabaseRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.DropDatabaseRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.DropDatabaseRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.DropDatabaseRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.DropDatabaseRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.DropDatabaseRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.DropDatabaseRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.DropDatabaseRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.database.v1.DropDatabaseRequest prototype) { + public static Builder newBuilder(com.google.spanner.admin.database.v1.DropDatabaseRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [DropDatabase][google.spanner.admin.database.v1.DatabaseAdmin.DropDatabase].
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.DropDatabaseRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.DropDatabaseRequest) com.google.spanner.admin.database.v1.DropDatabaseRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_DropDatabaseRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_DropDatabaseRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_DropDatabaseRequest_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_DropDatabaseRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.DropDatabaseRequest.class, - com.google.spanner.admin.database.v1.DropDatabaseRequest.Builder.class); + com.google.spanner.admin.database.v1.DropDatabaseRequest.class, com.google.spanner.admin.database.v1.DropDatabaseRequest.Builder.class); } // Construct using com.google.spanner.admin.database.v1.DropDatabaseRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.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 +292,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_DropDatabaseRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_DropDatabaseRequest_descriptor; } @java.lang.Override @@ -347,11 +313,8 @@ public com.google.spanner.admin.database.v1.DropDatabaseRequest build() { @java.lang.Override public com.google.spanner.admin.database.v1.DropDatabaseRequest buildPartial() { - com.google.spanner.admin.database.v1.DropDatabaseRequest result = - new com.google.spanner.admin.database.v1.DropDatabaseRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.admin.database.v1.DropDatabaseRequest result = new com.google.spanner.admin.database.v1.DropDatabaseRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -367,39 +330,38 @@ private void buildPartial0(com.google.spanner.admin.database.v1.DropDatabaseRequ public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.admin.database.v1.DropDatabaseRequest) { - return mergeFrom((com.google.spanner.admin.database.v1.DropDatabaseRequest) other); + return mergeFrom((com.google.spanner.admin.database.v1.DropDatabaseRequest)other); } else { super.mergeFrom(other); return this; @@ -407,8 +369,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.admin.database.v1.DropDatabaseRequest other) { - if (other == com.google.spanner.admin.database.v1.DropDatabaseRequest.getDefaultInstance()) - return this; + if (other == com.google.spanner.admin.database.v1.DropDatabaseRequest.getDefaultInstance()) return this; if (!other.getDatabase().isEmpty()) { database_ = other.database_; bitField0_ |= 0x00000001; @@ -440,19 +401,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - database_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + database_ = 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,27 +421,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object database_ = ""; /** - * - * *
      * Required. The database to be dropped.
      * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The database. */ public java.lang.String getDatabase() { java.lang.Object ref = database_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; @@ -491,23 +445,20 @@ public java.lang.String getDatabase() { } } /** - * - * *
      * Required. The database to be dropped.
      * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for database. */ - public com.google.protobuf.ByteString getDatabaseBytes() { + public com.google.protobuf.ByteString + getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); database_ = b; return b; } else { @@ -515,39 +466,28 @@ public com.google.protobuf.ByteString getDatabaseBytes() { } } /** - * - * *
      * Required. The database to be dropped.
      * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The database to set. * @return This builder for chaining. */ - public Builder setDatabase(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabase( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } database_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The database to be dropped.
      * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearDatabase() { @@ -557,32 +497,26 @@ public Builder clearDatabase() { return this; } /** - * - * *
      * Required. The database to be dropped.
      * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for database to set. * @return This builder for chaining. */ - public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabaseBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); database_ = 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 +526,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.DropDatabaseRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.DropDatabaseRequest) private static final com.google.spanner.admin.database.v1.DropDatabaseRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.DropDatabaseRequest(); } @@ -606,27 +540,27 @@ public static com.google.spanner.admin.database.v1.DropDatabaseRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DropDatabaseRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DropDatabaseRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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 +575,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.DropDatabaseRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DropDatabaseRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DropDatabaseRequestOrBuilder.java new file mode 100644 index 00000000000..b2863aba0e0 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DropDatabaseRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/spanner/admin/database/v1/spanner_database_admin.proto + +package com.google.spanner.admin.database.v1; + +public interface DropDatabaseRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.DropDatabaseRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The database to be dropped.
+   * 
+ * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The database. + */ + java.lang.String getDatabase(); + /** + *
+   * Required. The database to be dropped.
+   * 
+ * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for database. + */ + com.google.protobuf.ByteString + getDatabaseBytes(); +} diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionConfig.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionConfig.java similarity index 67% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionConfig.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionConfig.java index 1ef8ecc89c4..7a096848280 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionConfig.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionConfig.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/spanner/admin/database/v1/common.proto package com.google.spanner.admin.database.v1; /** - * - * *
  * Encryption configuration for a Cloud Spanner database.
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.EncryptionConfig} */ -public final class EncryptionConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class EncryptionConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.EncryptionConfig) EncryptionConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use EncryptionConfig.newBuilder() to construct. private EncryptionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private EncryptionConfig() { kmsKeyName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new EncryptionConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.CommonProto - .internal_static_google_spanner_admin_database_v1_EncryptionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.CommonProto.internal_static_google_spanner_admin_database_v1_EncryptionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.CommonProto - .internal_static_google_spanner_admin_database_v1_EncryptionConfig_fieldAccessorTable + return com.google.spanner.admin.database.v1.CommonProto.internal_static_google_spanner_admin_database_v1_EncryptionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.EncryptionConfig.class, - com.google.spanner.admin.database.v1.EncryptionConfig.Builder.class); + com.google.spanner.admin.database.v1.EncryptionConfig.class, com.google.spanner.admin.database.v1.EncryptionConfig.Builder.class); } public static final int KMS_KEY_NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object kmsKeyName_ = ""; /** - * - * *
    * The Cloud KMS key to be used for encrypting and decrypting
    * the database. Values are of the form
@@ -81,7 +59,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string kms_key_name = 2 [(.google.api.resource_reference) = { ... } - * * @return The kmsKeyName. */ @java.lang.Override @@ -90,15 +67,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; } } /** - * - * *
    * The Cloud KMS key to be used for encrypting and decrypting
    * the database. Values are of the form
@@ -106,15 +82,16 @@ public java.lang.String getKmsKeyName() {
    * 
* * string kms_key_name = 2 [(.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 { @@ -123,7 +100,6 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,7 +111,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, kmsKeyName_); } @@ -159,15 +136,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.database.v1.EncryptionConfig)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.EncryptionConfig other = - (com.google.spanner.admin.database.v1.EncryptionConfig) obj; + com.google.spanner.admin.database.v1.EncryptionConfig other = (com.google.spanner.admin.database.v1.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; } @@ -187,136 +164,129 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.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.spanner.admin.database.v1.EncryptionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.EncryptionConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.EncryptionConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.EncryptionConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.EncryptionConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.EncryptionConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.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.spanner.admin.database.v1.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.spanner.admin.database.v1.EncryptionConfig prototype) { + public static Builder newBuilder(com.google.spanner.admin.database.v1.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 - protected 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 configuration for a Cloud Spanner database.
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.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.spanner.admin.database.v1.EncryptionConfig) com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.CommonProto - .internal_static_google_spanner_admin_database_v1_EncryptionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.CommonProto.internal_static_google_spanner_admin_database_v1_EncryptionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.CommonProto - .internal_static_google_spanner_admin_database_v1_EncryptionConfig_fieldAccessorTable + return com.google.spanner.admin.database.v1.CommonProto.internal_static_google_spanner_admin_database_v1_EncryptionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.EncryptionConfig.class, - com.google.spanner.admin.database.v1.EncryptionConfig.Builder.class); + com.google.spanner.admin.database.v1.EncryptionConfig.class, com.google.spanner.admin.database.v1.EncryptionConfig.Builder.class); } // Construct using com.google.spanner.admin.database.v1.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(); @@ -326,9 +296,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.admin.database.v1.CommonProto - .internal_static_google_spanner_admin_database_v1_EncryptionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.admin.database.v1.CommonProto.internal_static_google_spanner_admin_database_v1_EncryptionConfig_descriptor; } @java.lang.Override @@ -347,11 +317,8 @@ public com.google.spanner.admin.database.v1.EncryptionConfig build() { @java.lang.Override public com.google.spanner.admin.database.v1.EncryptionConfig buildPartial() { - com.google.spanner.admin.database.v1.EncryptionConfig result = - new com.google.spanner.admin.database.v1.EncryptionConfig(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.admin.database.v1.EncryptionConfig result = new com.google.spanner.admin.database.v1.EncryptionConfig(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -367,39 +334,38 @@ private void buildPartial0(com.google.spanner.admin.database.v1.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) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.admin.database.v1.EncryptionConfig) { - return mergeFrom((com.google.spanner.admin.database.v1.EncryptionConfig) other); + return mergeFrom((com.google.spanner.admin.database.v1.EncryptionConfig)other); } else { super.mergeFrom(other); return this; @@ -407,8 +373,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.admin.database.v1.EncryptionConfig other) { - if (other == com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance()) - return this; + if (other == com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance()) return this; if (!other.getKmsKeyName().isEmpty()) { kmsKeyName_ = other.kmsKeyName_; bitField0_ |= 0x00000001; @@ -440,19 +405,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: - { - kmsKeyName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 18: { + kmsKeyName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + 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) { @@ -462,13 +425,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object kmsKeyName_ = ""; /** - * - * *
      * The Cloud KMS key to be used for encrypting and decrypting
      * the database. Values are of the form
@@ -476,13 +436,13 @@ public Builder mergeFrom(
      * 
* * string kms_key_name = 2 [(.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; @@ -491,8 +451,6 @@ public java.lang.String getKmsKeyName() { } } /** - * - * *
      * The Cloud KMS key to be used for encrypting and decrypting
      * the database. Values are of the form
@@ -500,14 +458,15 @@ public java.lang.String getKmsKeyName() {
      * 
* * string kms_key_name = 2 [(.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 { @@ -515,8 +474,6 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() { } } /** - * - * *
      * The Cloud KMS key to be used for encrypting and decrypting
      * the database. Values are of the form
@@ -524,22 +481,18 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() {
      * 
* * string kms_key_name = 2 [(.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; } /** - * - * *
      * The Cloud KMS key to be used for encrypting and decrypting
      * the database. Values are of the form
@@ -547,7 +500,6 @@ public Builder setKmsKeyName(java.lang.String value) {
      * 
* * string kms_key_name = 2 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearKmsKeyName() { @@ -557,8 +509,6 @@ public Builder clearKmsKeyName() { return this; } /** - * - * *
      * The Cloud KMS key to be used for encrypting and decrypting
      * the database. Values are of the form
@@ -566,23 +516,21 @@ public Builder clearKmsKeyName() {
      * 
* * string kms_key_name = 2 [(.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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -592,12 +540,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.EncryptionConfig) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.EncryptionConfig) private static final com.google.spanner.admin.database.v1.EncryptionConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.EncryptionConfig(); } @@ -606,27 +554,27 @@ public static com.google.spanner.admin.database.v1.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; @@ -641,4 +589,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.EncryptionConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionConfigOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionConfigOrBuilder.java similarity index 60% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionConfigOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionConfigOrBuilder.java index f3638c5eb90..561389b55d0 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionConfigOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionConfigOrBuilder.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/spanner/admin/database/v1/common.proto package com.google.spanner.admin.database.v1; -public interface EncryptionConfigOrBuilder - extends +public interface EncryptionConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.EncryptionConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The Cloud KMS key to be used for encrypting and decrypting
    * the database. Values are of the form
@@ -33,13 +15,10 @@ public interface EncryptionConfigOrBuilder
    * 
* * string kms_key_name = 2 [(.google.api.resource_reference) = { ... } - * * @return The kmsKeyName. */ java.lang.String getKmsKeyName(); /** - * - * *
    * The Cloud KMS key to be used for encrypting and decrypting
    * the database. Values are of the form
@@ -47,8 +26,8 @@ public interface EncryptionConfigOrBuilder
    * 
* * string kms_key_name = 2 [(.google.api.resource_reference) = { ... } - * * @return The bytes for kmsKeyName. */ - com.google.protobuf.ByteString getKmsKeyNameBytes(); + com.google.protobuf.ByteString + getKmsKeyNameBytes(); } diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionInfo.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionInfo.java similarity index 65% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionInfo.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionInfo.java index 87cecf2d4a4..86f9789c99a 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionInfo.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionInfo.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/spanner/admin/database/v1/common.proto package com.google.spanner.admin.database.v1; /** - * - * *
  * Encryption information for a Cloud Spanner database or backup.
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.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.spanner.admin.database.v1.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_ = ""; @@ -44,43 +26,39 @@ private EncryptionInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new EncryptionInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.CommonProto - .internal_static_google_spanner_admin_database_v1_EncryptionInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.CommonProto.internal_static_google_spanner_admin_database_v1_EncryptionInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.CommonProto - .internal_static_google_spanner_admin_database_v1_EncryptionInfo_fieldAccessorTable + return com.google.spanner.admin.database.v1.CommonProto.internal_static_google_spanner_admin_database_v1_EncryptionInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.EncryptionInfo.class, - com.google.spanner.admin.database.v1.EncryptionInfo.Builder.class); + com.google.spanner.admin.database.v1.EncryptionInfo.class, com.google.spanner.admin.database.v1.EncryptionInfo.Builder.class); } /** - * - * *
    * Possible encryption types.
    * 
* * Protobuf enum {@code google.spanner.admin.database.v1.EncryptionInfo.Type} */ - public enum Type implements com.google.protobuf.ProtocolMessageEnum { + public enum Type + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Encryption type was not specified, though data at rest remains encrypted.
      * 
@@ -89,8 +67,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ TYPE_UNSPECIFIED(0), /** - * - * *
      * The data is encrypted at rest with a key that is
      * fully managed by Google. No key version or status will be populated.
@@ -101,8 +77,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     GOOGLE_DEFAULT_ENCRYPTION(1),
     /**
-     *
-     *
      * 
      * The data is encrypted at rest with a key that is
      * managed by the customer. The active version of the key. `kms_key_version`
@@ -116,8 +90,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Encryption type was not specified, though data at rest remains encrypted.
      * 
@@ -126,8 +98,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The data is encrypted at rest with a key that is
      * fully managed by Google. No key version or status will be populated.
@@ -138,8 +108,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int GOOGLE_DEFAULT_ENCRYPTION_VALUE = 1;
     /**
-     *
-     *
      * 
      * The data is encrypted at rest with a key that is
      * managed by the customer. The active version of the key. `kms_key_version`
@@ -150,6 +118,7 @@ public enum Type 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(
@@ -174,51 +143,49 @@ public static Type valueOf(int value) {
      */
     public static Type forNumber(int value) {
       switch (value) {
-        case 0:
-          return TYPE_UNSPECIFIED;
-        case 1:
-          return GOOGLE_DEFAULT_ENCRYPTION;
-        case 2:
-          return CUSTOMER_MANAGED_ENCRYPTION;
-        default:
-          return null;
+        case 0: return 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 Type findValueByNumber(int number) {
-            return Type.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    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() {
       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.spanner.admin.database.v1.EncryptionInfo.getDescriptor()
-          .getEnumTypes()
-          .get(0);
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
+      return com.google.spanner.admin.database.v1.EncryptionInfo.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;
@@ -238,58 +205,39 @@ private Type(int value) {
   public static final int ENCRYPTION_TYPE_FIELD_NUMBER = 3;
   private int encryptionType_ = 0;
   /**
-   *
-   *
    * 
    * Output only. The type of encryption.
    * 
* - * - * .google.spanner.admin.database.v1.EncryptionInfo.Type encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.EncryptionInfo.Type 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.
    * 
* - * - * .google.spanner.admin.database.v1.EncryptionInfo.Type encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.EncryptionInfo.Type encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionType. */ - @java.lang.Override - public com.google.spanner.admin.database.v1.EncryptionInfo.Type getEncryptionType() { - com.google.spanner.admin.database.v1.EncryptionInfo.Type result = - com.google.spanner.admin.database.v1.EncryptionInfo.Type.forNumber(encryptionType_); - return result == null - ? com.google.spanner.admin.database.v1.EncryptionInfo.Type.UNRECOGNIZED - : result; + @java.lang.Override public com.google.spanner.admin.database.v1.EncryptionInfo.Type getEncryptionType() { + com.google.spanner.admin.database.v1.EncryptionInfo.Type result = com.google.spanner.admin.database.v1.EncryptionInfo.Type.forNumber(encryptionType_); + return result == null ? com.google.spanner.admin.database.v1.EncryptionInfo.Type.UNRECOGNIZED : result; } public static final int ENCRYPTION_STATUS_FIELD_NUMBER = 4; private com.google.rpc.Status encryptionStatus_; /** - * - * *
    * Output only. If present, the status of a recent encrypt/decrypt call on underlying data
    * for this database or backup. Regardless of status, data is always encrypted
    * at rest.
    * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the encryptionStatus field is set. */ @java.lang.Override @@ -297,60 +245,43 @@ public boolean hasEncryptionStatus() { return encryptionStatus_ != null; } /** - * - * *
    * Output only. If present, the status of a recent encrypt/decrypt call on underlying data
    * for this database or backup. Regardless of status, data is always encrypted
    * at rest.
    * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .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. If present, the status of a recent encrypt/decrypt call on underlying data
    * for this database or backup. Regardless of status, data is always encrypted
    * at rest.
    * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .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. A Cloud KMS key version that is being used to protect the database or
    * backup.
    * 
* - * - * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The kmsKeyVersion. */ @java.lang.Override @@ -359,32 +290,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. A Cloud KMS key version that is being used to protect the database or
    * backup.
    * 
* - * - * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * 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 { @@ -393,7 +322,6 @@ public com.google.protobuf.ByteString getKmsKeyVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -405,12 +333,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.spanner.admin.database.v1.EncryptionInfo.Type.TYPE_UNSPECIFIED.getNumber()) { + if (encryptionType_ != com.google.spanner.admin.database.v1.EncryptionInfo.Type.TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(3, encryptionType_); } if (encryptionStatus_ != null) { @@ -428,12 +356,13 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, kmsKeyVersion_); } - if (encryptionType_ - != com.google.spanner.admin.database.v1.EncryptionInfo.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, encryptionType_); + if (encryptionType_ != com.google.spanner.admin.database.v1.EncryptionInfo.Type.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; @@ -443,20 +372,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.spanner.admin.database.v1.EncryptionInfo)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.EncryptionInfo other = - (com.google.spanner.admin.database.v1.EncryptionInfo) obj; + com.google.spanner.admin.database.v1.EncryptionInfo other = (com.google.spanner.admin.database.v1.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; } @@ -482,135 +412,129 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.EncryptionInfo parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.EncryptionInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.EncryptionInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.EncryptionInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.EncryptionInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.EncryptionInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.EncryptionInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.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.spanner.admin.database.v1.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.spanner.admin.database.v1.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 Cloud Spanner database or backup.
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.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.spanner.admin.database.v1.EncryptionInfo) com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.CommonProto - .internal_static_google_spanner_admin_database_v1_EncryptionInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.CommonProto.internal_static_google_spanner_admin_database_v1_EncryptionInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.CommonProto - .internal_static_google_spanner_admin_database_v1_EncryptionInfo_fieldAccessorTable + return com.google.spanner.admin.database.v1.CommonProto.internal_static_google_spanner_admin_database_v1_EncryptionInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.EncryptionInfo.class, - com.google.spanner.admin.database.v1.EncryptionInfo.Builder.class); + com.google.spanner.admin.database.v1.EncryptionInfo.class, com.google.spanner.admin.database.v1.EncryptionInfo.Builder.class); } // Construct using com.google.spanner.admin.database.v1.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(); @@ -626,9 +550,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.admin.database.v1.CommonProto - .internal_static_google_spanner_admin_database_v1_EncryptionInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.admin.database.v1.CommonProto.internal_static_google_spanner_admin_database_v1_EncryptionInfo_descriptor; } @java.lang.Override @@ -647,11 +571,8 @@ public com.google.spanner.admin.database.v1.EncryptionInfo build() { @java.lang.Override public com.google.spanner.admin.database.v1.EncryptionInfo buildPartial() { - com.google.spanner.admin.database.v1.EncryptionInfo result = - new com.google.spanner.admin.database.v1.EncryptionInfo(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.admin.database.v1.EncryptionInfo result = new com.google.spanner.admin.database.v1.EncryptionInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -662,8 +583,9 @@ private void buildPartial0(com.google.spanner.admin.database.v1.EncryptionInfo r 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_; @@ -674,39 +596,38 @@ private void buildPartial0(com.google.spanner.admin.database.v1.EncryptionInfo 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.spanner.admin.database.v1.EncryptionInfo) { - return mergeFrom((com.google.spanner.admin.database.v1.EncryptionInfo) other); + return mergeFrom((com.google.spanner.admin.database.v1.EncryptionInfo)other); } else { super.mergeFrom(other); return this; @@ -714,8 +635,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.admin.database.v1.EncryptionInfo other) { - if (other == com.google.spanner.admin.database.v1.EncryptionInfo.getDefaultInstance()) - return this; + if (other == com.google.spanner.admin.database.v1.EncryptionInfo.getDefaultInstance()) return this; if (other.encryptionType_ != 0) { setEncryptionTypeValue(other.getEncryptionTypeValue()); } @@ -753,32 +673,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) { @@ -788,38 +705,26 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int encryptionType_ = 0; /** - * - * *
      * Output only. The type of encryption.
      * 
* - * - * .google.spanner.admin.database.v1.EncryptionInfo.Type encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.EncryptionInfo.Type 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.
      * 
* - * - * .google.spanner.admin.database.v1.EncryptionInfo.Type encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.EncryptionInfo.Type 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. */ @@ -830,42 +735,28 @@ public Builder setEncryptionTypeValue(int value) { return this; } /** - * - * *
      * Output only. The type of encryption.
      * 
* - * - * .google.spanner.admin.database.v1.EncryptionInfo.Type encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.EncryptionInfo.Type encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionType. */ @java.lang.Override public com.google.spanner.admin.database.v1.EncryptionInfo.Type getEncryptionType() { - com.google.spanner.admin.database.v1.EncryptionInfo.Type result = - com.google.spanner.admin.database.v1.EncryptionInfo.Type.forNumber(encryptionType_); - return result == null - ? com.google.spanner.admin.database.v1.EncryptionInfo.Type.UNRECOGNIZED - : result; + com.google.spanner.admin.database.v1.EncryptionInfo.Type result = com.google.spanner.admin.database.v1.EncryptionInfo.Type.forNumber(encryptionType_); + return result == null ? com.google.spanner.admin.database.v1.EncryptionInfo.Type.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The type of encryption.
      * 
* - * - * .google.spanner.admin.database.v1.EncryptionInfo.Type encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.EncryptionInfo.Type 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.spanner.admin.database.v1.EncryptionInfo.Type value) { + public Builder setEncryptionType(com.google.spanner.admin.database.v1.EncryptionInfo.Type value) { if (value == null) { throw new NullPointerException(); } @@ -875,16 +766,11 @@ public Builder setEncryptionType( return this; } /** - * - * *
      * Output only. The type of encryption.
      * 
* - * - * .google.spanner.admin.database.v1.EncryptionInfo.Type encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.EncryptionInfo.Type encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearEncryptionType() { @@ -896,59 +782,45 @@ public Builder clearEncryptionType() { private com.google.rpc.Status encryptionStatus_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> - encryptionStatusBuilder_; + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> encryptionStatusBuilder_; /** - * - * *
      * Output only. If present, the status of a recent encrypt/decrypt call on underlying data
      * for this database or backup. Regardless of status, data is always encrypted
      * at rest.
      * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .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. If present, the status of a recent encrypt/decrypt call on underlying data
      * for this database or backup. Regardless of status, data is always encrypted
      * at rest.
      * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .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. If present, the status of a recent encrypt/decrypt call on underlying data
      * for this database or backup. Regardless of status, data is always encrypted
      * at rest.
      * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEncryptionStatus(com.google.rpc.Status value) { if (encryptionStatusBuilder_ == null) { @@ -964,18 +836,16 @@ public Builder setEncryptionStatus(com.google.rpc.Status value) { return this; } /** - * - * *
      * Output only. If present, the status of a recent encrypt/decrypt call on underlying data
      * for this database or backup. Regardless of status, data is always encrypted
      * at rest.
      * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .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 { @@ -986,22 +856,19 @@ public Builder setEncryptionStatus(com.google.rpc.Status.Builder builderForValue return this; } /** - * - * *
      * Output only. If present, the status of a recent encrypt/decrypt call on underlying data
      * for this database or backup. Regardless of status, data is always encrypted
      * at rest.
      * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .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,16 +881,13 @@ public Builder mergeEncryptionStatus(com.google.rpc.Status value) { return this; } /** - * - * *
      * Output only. If present, the status of a recent encrypt/decrypt call on underlying data
      * for this database or backup. Regardless of status, data is always encrypted
      * at rest.
      * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearEncryptionStatus() { bitField0_ = (bitField0_ & ~0x00000002); @@ -1036,16 +900,13 @@ public Builder clearEncryptionStatus() { return this; } /** - * - * *
      * Output only. If present, the status of a recent encrypt/decrypt call on underlying data
      * for this database or backup. Regardless of status, data is always encrypted
      * at rest.
      * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.rpc.Status.Builder getEncryptionStatusBuilder() { bitField0_ |= 0x00000002; @@ -1053,48 +914,40 @@ public com.google.rpc.Status.Builder getEncryptionStatusBuilder() { return getEncryptionStatusFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. If present, the status of a recent encrypt/decrypt call on underlying data
      * for this database or backup. Regardless of status, data is always encrypted
      * at rest.
      * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .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. If present, the status of a recent encrypt/decrypt call on underlying data
      * for this database or backup. Regardless of status, data is always encrypted
      * at rest.
      * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .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_; @@ -1102,23 +955,19 @@ public com.google.rpc.StatusOrBuilder getEncryptionStatusOrBuilder() { private java.lang.Object kmsKeyVersion_ = ""; /** - * - * *
      * Output only. A Cloud KMS key version that is being used to protect the database or
      * backup.
      * 
* - * - * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * 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; @@ -1127,24 +976,21 @@ public java.lang.String getKmsKeyVersion() { } } /** - * - * *
      * Output only. A Cloud KMS key version that is being used to protect the database or
      * backup.
      * 
* - * - * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * 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 { @@ -1152,41 +998,30 @@ public com.google.protobuf.ByteString getKmsKeyVersionBytes() { } } /** - * - * *
      * Output only. A Cloud KMS key version that is being used to protect the database or
      * backup.
      * 
* - * - * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * 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. A Cloud KMS key version that is being used to protect the database or
      * backup.
      * 
* - * - * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearKmsKeyVersion() { @@ -1196,33 +1031,27 @@ public Builder clearKmsKeyVersion() { return this; } /** - * - * *
      * Output only. A Cloud KMS key version that is being used to protect the database or
      * backup.
      * 
* - * - * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * 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); } @@ -1232,12 +1061,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.EncryptionInfo) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.EncryptionInfo) private static final com.google.spanner.admin.database.v1.EncryptionInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.EncryptionInfo(); } @@ -1246,27 +1075,27 @@ public static com.google.spanner.admin.database.v1.EncryptionInfo getDefaultInst 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; @@ -1281,4 +1110,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.EncryptionInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionInfoOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionInfoOrBuilder.java similarity index 58% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionInfoOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionInfoOrBuilder.java index 279ae23ffc2..dc087afb67a 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionInfoOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionInfoOrBuilder.java @@ -1,129 +1,83 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/common.proto package com.google.spanner.admin.database.v1; -public interface EncryptionInfoOrBuilder - extends +public interface EncryptionInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.EncryptionInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The type of encryption.
    * 
* - * - * .google.spanner.admin.database.v1.EncryptionInfo.Type encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.EncryptionInfo.Type 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.
    * 
* - * - * .google.spanner.admin.database.v1.EncryptionInfo.Type encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.database.v1.EncryptionInfo.Type encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionType. */ com.google.spanner.admin.database.v1.EncryptionInfo.Type getEncryptionType(); /** - * - * *
    * Output only. If present, the status of a recent encrypt/decrypt call on underlying data
    * for this database or backup. Regardless of status, data is always encrypted
    * at rest.
    * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the encryptionStatus field is set. */ boolean hasEncryptionStatus(); /** - * - * *
    * Output only. If present, the status of a recent encrypt/decrypt call on underlying data
    * for this database or backup. Regardless of status, data is always encrypted
    * at rest.
    * 
* - * .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. If present, the status of a recent encrypt/decrypt call on underlying data
    * for this database or backup. Regardless of status, data is always encrypted
    * at rest.
    * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.rpc.StatusOrBuilder getEncryptionStatusOrBuilder(); /** - * - * *
    * Output only. A Cloud KMS key version that is being used to protect the database or
    * backup.
    * 
* - * - * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The kmsKeyVersion. */ java.lang.String getKmsKeyVersion(); /** - * - * *
    * Output only. A Cloud KMS key version that is being used to protect the database or
    * backup.
    * 
* - * - * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * 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-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetBackupRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetBackupRequest.java similarity index 62% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetBackupRequest.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetBackupRequest.java index 7f3cad81b14..e97cd55d1df 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetBackupRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetBackupRequest.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/spanner/admin/database/v1/backup.proto package com.google.spanner.admin.database.v1; /** - * - * *
  * The request for [GetBackup][google.spanner.admin.database.v1.DatabaseAdmin.GetBackup].
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.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.spanner.admin.database.v1.GetBackupRequest) GetBackupRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetBackupRequest.newBuilder() to construct. private GetBackupRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetBackupRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetBackupRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_GetBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_GetBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_GetBackupRequest_fieldAccessorTable + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_GetBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.GetBackupRequest.class, - com.google.spanner.admin.database.v1.GetBackupRequest.Builder.class); + com.google.spanner.admin.database.v1.GetBackupRequest.class, com.google.spanner.admin.database.v1.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>/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 @@ -92,33 +67,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. Name of the backup.
    * Values are of the form
    * `projects/<project>/instances/<instance>/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 { @@ -127,7 +100,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -139,7 +111,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -163,15 +136,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.database.v1.GetBackupRequest)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.GetBackupRequest other = - (com.google.spanner.admin.database.v1.GetBackupRequest) obj; + com.google.spanner.admin.database.v1.GetBackupRequest other = (com.google.spanner.admin.database.v1.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; } @@ -191,136 +164,129 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.GetBackupRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.GetBackupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.GetBackupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.GetBackupRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.GetBackupRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.GetBackupRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.GetBackupRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.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.spanner.admin.database.v1.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.spanner.admin.database.v1.GetBackupRequest prototype) { + public static Builder newBuilder(com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.DatabaseAdmin.GetBackup].
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.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.spanner.admin.database.v1.GetBackupRequest) com.google.spanner.admin.database.v1.GetBackupRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_GetBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_GetBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_GetBackupRequest_fieldAccessorTable + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_GetBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.GetBackupRequest.class, - com.google.spanner.admin.database.v1.GetBackupRequest.Builder.class); + com.google.spanner.admin.database.v1.GetBackupRequest.class, com.google.spanner.admin.database.v1.GetBackupRequest.Builder.class); } // Construct using com.google.spanner.admin.database.v1.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(); @@ -330,9 +296,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_GetBackupRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_GetBackupRequest_descriptor; } @java.lang.Override @@ -351,11 +317,8 @@ public com.google.spanner.admin.database.v1.GetBackupRequest build() { @java.lang.Override public com.google.spanner.admin.database.v1.GetBackupRequest buildPartial() { - com.google.spanner.admin.database.v1.GetBackupRequest result = - new com.google.spanner.admin.database.v1.GetBackupRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.admin.database.v1.GetBackupRequest result = new com.google.spanner.admin.database.v1.GetBackupRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -371,39 +334,38 @@ private void buildPartial0(com.google.spanner.admin.database.v1.GetBackupRequest public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.admin.database.v1.GetBackupRequest) { - return mergeFrom((com.google.spanner.admin.database.v1.GetBackupRequest) other); + return mergeFrom((com.google.spanner.admin.database.v1.GetBackupRequest)other); } else { super.mergeFrom(other); return this; @@ -411,8 +373,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.admin.database.v1.GetBackupRequest other) { - if (other == com.google.spanner.admin.database.v1.GetBackupRequest.getDefaultInstance()) - return this; + if (other == com.google.spanner.admin.database.v1.GetBackupRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -444,19 +405,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) { @@ -466,29 +425,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>/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; @@ -497,25 +451,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Name of the backup.
      * Values are of the form
      * `projects/<project>/instances/<instance>/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 { @@ -523,43 +474,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Name of the backup.
      * Values are of the form
      * `projects/<project>/instances/<instance>/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>/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() { @@ -569,34 +509,28 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. Name of the backup.
      * Values are of the form
      * `projects/<project>/instances/<instance>/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); } @@ -606,12 +540,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.GetBackupRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.GetBackupRequest) private static final com.google.spanner.admin.database.v1.GetBackupRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.GetBackupRequest(); } @@ -620,27 +554,27 @@ public static com.google.spanner.admin.database.v1.GetBackupRequest getDefaultIn 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; @@ -655,4 +589,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.GetBackupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetBackupRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetBackupRequestOrBuilder.java new file mode 100644 index 00000000000..c5ef3219dc4 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetBackupRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/spanner/admin/database/v1/backup.proto + +package com.google.spanner.admin.database.v1; + +public interface GetBackupRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.GetBackupRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Name of the backup.
+   * Values are of the form
+   * `projects/<project>/instances/<instance>/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>/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-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlRequest.java similarity index 64% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlRequest.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlRequest.java index 528e3bb5d78..eab3f4f8c6d 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlRequest.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/spanner/admin/database/v1/spanner_database_admin.proto package com.google.spanner.admin.database.v1; /** - * - * *
  * The request for [GetDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.GetDatabaseDdl].
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.GetDatabaseDdlRequest} */ -public final class GetDatabaseDdlRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetDatabaseDdlRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.GetDatabaseDdlRequest) GetDatabaseDdlRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetDatabaseDdlRequest.newBuilder() to construct. private GetDatabaseDdlRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetDatabaseDdlRequest() { database_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetDatabaseDdlRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_GetDatabaseDdlRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_GetDatabaseDdlRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_GetDatabaseDdlRequest_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_GetDatabaseDdlRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.GetDatabaseDdlRequest.class, - com.google.spanner.admin.database.v1.GetDatabaseDdlRequest.Builder.class); + com.google.spanner.admin.database.v1.GetDatabaseDdlRequest.class, com.google.spanner.admin.database.v1.GetDatabaseDdlRequest.Builder.class); } public static final int DATABASE_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object database_ = ""; /** - * - * *
    * Required. The database whose schema we wish to get.
    * Values are of the form
    * `projects/<project>/instances/<instance>/databases/<database>`
    * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The database. */ @java.lang.Override @@ -92,33 +67,31 @@ public java.lang.String getDatabase() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; } } /** - * - * *
    * Required. The database whose schema we wish to get.
    * Values are of the form
    * `projects/<project>/instances/<instance>/databases/<database>`
    * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for database. */ @java.lang.Override - public com.google.protobuf.ByteString getDatabaseBytes() { + public com.google.protobuf.ByteString + getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); database_ = b; return b; } else { @@ -127,7 +100,6 @@ public com.google.protobuf.ByteString getDatabaseBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -139,7 +111,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(database_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, database_); } @@ -163,15 +136,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.database.v1.GetDatabaseDdlRequest)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.GetDatabaseDdlRequest other = - (com.google.spanner.admin.database.v1.GetDatabaseDdlRequest) obj; + com.google.spanner.admin.database.v1.GetDatabaseDdlRequest other = (com.google.spanner.admin.database.v1.GetDatabaseDdlRequest) obj; - if (!getDatabase().equals(other.getDatabase())) return false; + if (!getDatabase() + .equals(other.getDatabase())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -191,136 +164,129 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.GetDatabaseDdlRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.GetDatabaseDdlRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.GetDatabaseDdlRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.GetDatabaseDdlRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.GetDatabaseDdlRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.GetDatabaseDdlRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.GetDatabaseDdlRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.GetDatabaseDdlRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.GetDatabaseDdlRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.GetDatabaseDdlRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.GetDatabaseDdlRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.GetDatabaseDdlRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.GetDatabaseDdlRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.GetDatabaseDdlRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.database.v1.GetDatabaseDdlRequest prototype) { + public static Builder newBuilder(com.google.spanner.admin.database.v1.GetDatabaseDdlRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [GetDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.GetDatabaseDdl].
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.GetDatabaseDdlRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.GetDatabaseDdlRequest) com.google.spanner.admin.database.v1.GetDatabaseDdlRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_GetDatabaseDdlRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_GetDatabaseDdlRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_GetDatabaseDdlRequest_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_GetDatabaseDdlRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.GetDatabaseDdlRequest.class, - com.google.spanner.admin.database.v1.GetDatabaseDdlRequest.Builder.class); + com.google.spanner.admin.database.v1.GetDatabaseDdlRequest.class, com.google.spanner.admin.database.v1.GetDatabaseDdlRequest.Builder.class); } // Construct using com.google.spanner.admin.database.v1.GetDatabaseDdlRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -330,9 +296,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_GetDatabaseDdlRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_GetDatabaseDdlRequest_descriptor; } @java.lang.Override @@ -351,11 +317,8 @@ public com.google.spanner.admin.database.v1.GetDatabaseDdlRequest build() { @java.lang.Override public com.google.spanner.admin.database.v1.GetDatabaseDdlRequest buildPartial() { - com.google.spanner.admin.database.v1.GetDatabaseDdlRequest result = - new com.google.spanner.admin.database.v1.GetDatabaseDdlRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.admin.database.v1.GetDatabaseDdlRequest result = new com.google.spanner.admin.database.v1.GetDatabaseDdlRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -371,39 +334,38 @@ private void buildPartial0(com.google.spanner.admin.database.v1.GetDatabaseDdlRe public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.admin.database.v1.GetDatabaseDdlRequest) { - return mergeFrom((com.google.spanner.admin.database.v1.GetDatabaseDdlRequest) other); + return mergeFrom((com.google.spanner.admin.database.v1.GetDatabaseDdlRequest)other); } else { super.mergeFrom(other); return this; @@ -411,8 +373,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.admin.database.v1.GetDatabaseDdlRequest other) { - if (other == com.google.spanner.admin.database.v1.GetDatabaseDdlRequest.getDefaultInstance()) - return this; + if (other == com.google.spanner.admin.database.v1.GetDatabaseDdlRequest.getDefaultInstance()) return this; if (!other.getDatabase().isEmpty()) { database_ = other.database_; bitField0_ |= 0x00000001; @@ -444,19 +405,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - database_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + database_ = 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) { @@ -466,29 +425,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object database_ = ""; /** - * - * *
      * Required. The database whose schema we wish to get.
      * Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>`
      * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The database. */ public java.lang.String getDatabase() { java.lang.Object ref = database_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; @@ -497,25 +451,22 @@ public java.lang.String getDatabase() { } } /** - * - * *
      * Required. The database whose schema we wish to get.
      * Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>`
      * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for database. */ - public com.google.protobuf.ByteString getDatabaseBytes() { + public com.google.protobuf.ByteString + getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); database_ = b; return b; } else { @@ -523,43 +474,32 @@ public com.google.protobuf.ByteString getDatabaseBytes() { } } /** - * - * *
      * Required. The database whose schema we wish to get.
      * Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>`
      * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The database to set. * @return This builder for chaining. */ - public Builder setDatabase(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabase( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } database_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The database whose schema we wish to get.
      * Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>`
      * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearDatabase() { @@ -569,34 +509,28 @@ public Builder clearDatabase() { return this; } /** - * - * *
      * Required. The database whose schema we wish to get.
      * Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>`
      * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for database to set. * @return This builder for chaining. */ - public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabaseBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); database_ = 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); } @@ -606,12 +540,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.GetDatabaseDdlRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.GetDatabaseDdlRequest) private static final com.google.spanner.admin.database.v1.GetDatabaseDdlRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.GetDatabaseDdlRequest(); } @@ -620,27 +554,27 @@ public static com.google.spanner.admin.database.v1.GetDatabaseDdlRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetDatabaseDdlRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetDatabaseDdlRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -655,4 +589,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.GetDatabaseDdlRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlRequestOrBuilder.java new file mode 100644 index 00000000000..32a5423e676 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/spanner/admin/database/v1/spanner_database_admin.proto + +package com.google.spanner.admin.database.v1; + +public interface GetDatabaseDdlRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.GetDatabaseDdlRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The database whose schema we wish to get.
+   * Values are of the form
+   * `projects/<project>/instances/<instance>/databases/<database>`
+   * 
+ * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The database. + */ + java.lang.String getDatabase(); + /** + *
+   * Required. The database whose schema we wish to get.
+   * Values are of the form
+   * `projects/<project>/instances/<instance>/databases/<database>`
+   * 
+ * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for database. + */ + com.google.protobuf.ByteString + getDatabaseBytes(); +} diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlResponse.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlResponse.java similarity index 69% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlResponse.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlResponse.java index c4ad5e76da3..55763a680df 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlResponse.java @@ -1,116 +1,88 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/spanner_database_admin.proto package com.google.spanner.admin.database.v1; /** - * - * *
  * The response for [GetDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.GetDatabaseDdl].
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.GetDatabaseDdlResponse} */ -public final class GetDatabaseDdlResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetDatabaseDdlResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.GetDatabaseDdlResponse) GetDatabaseDdlResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetDatabaseDdlResponse.newBuilder() to construct. private GetDatabaseDdlResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetDatabaseDdlResponse() { statements_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetDatabaseDdlResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_GetDatabaseDdlResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_GetDatabaseDdlResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_GetDatabaseDdlResponse_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_GetDatabaseDdlResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.GetDatabaseDdlResponse.class, - com.google.spanner.admin.database.v1.GetDatabaseDdlResponse.Builder.class); + com.google.spanner.admin.database.v1.GetDatabaseDdlResponse.class, com.google.spanner.admin.database.v1.GetDatabaseDdlResponse.Builder.class); } public static final int STATEMENTS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringList statements_; /** - * - * *
    * A list of formatted DDL statements defining the schema of the database
    * specified in the request.
    * 
* * repeated string statements = 1; - * * @return A list containing the statements. */ - public com.google.protobuf.ProtocolStringList getStatementsList() { + public com.google.protobuf.ProtocolStringList + getStatementsList() { return statements_; } /** - * - * *
    * A list of formatted DDL statements defining the schema of the database
    * specified in the request.
    * 
* * repeated string statements = 1; - * * @return The count of statements. */ public int getStatementsCount() { return statements_.size(); } /** - * - * *
    * A list of formatted DDL statements defining the schema of the database
    * specified in the request.
    * 
* * repeated string statements = 1; - * * @param index The index of the element to return. * @return The statements at the given index. */ @@ -118,24 +90,21 @@ public java.lang.String getStatements(int index) { return statements_.get(index); } /** - * - * *
    * A list of formatted DDL statements defining the schema of the database
    * specified in the request.
    * 
* * repeated string statements = 1; - * * @param index The index of the value to return. * @return The bytes of the statements at the given index. */ - public com.google.protobuf.ByteString getStatementsBytes(int index) { + public com.google.protobuf.ByteString + getStatementsBytes(int index) { return statements_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -147,7 +116,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < statements_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, statements_.getRaw(i)); } @@ -176,15 +146,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.spanner.admin.database.v1.GetDatabaseDdlResponse)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.GetDatabaseDdlResponse other = - (com.google.spanner.admin.database.v1.GetDatabaseDdlResponse) obj; + com.google.spanner.admin.database.v1.GetDatabaseDdlResponse other = (com.google.spanner.admin.database.v1.GetDatabaseDdlResponse) obj; - if (!getStatementsList().equals(other.getStatementsList())) return false; + if (!getStatementsList() + .equals(other.getStatementsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -206,136 +176,129 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.GetDatabaseDdlResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.GetDatabaseDdlResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.GetDatabaseDdlResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.GetDatabaseDdlResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.GetDatabaseDdlResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.GetDatabaseDdlResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.GetDatabaseDdlResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.GetDatabaseDdlResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.GetDatabaseDdlResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.GetDatabaseDdlResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.GetDatabaseDdlResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.GetDatabaseDdlResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.GetDatabaseDdlResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.GetDatabaseDdlResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.database.v1.GetDatabaseDdlResponse prototype) { + public static Builder newBuilder(com.google.spanner.admin.database.v1.GetDatabaseDdlResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [GetDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.GetDatabaseDdl].
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.GetDatabaseDdlResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.GetDatabaseDdlResponse) com.google.spanner.admin.database.v1.GetDatabaseDdlResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_GetDatabaseDdlResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_GetDatabaseDdlResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_GetDatabaseDdlResponse_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_GetDatabaseDdlResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.GetDatabaseDdlResponse.class, - com.google.spanner.admin.database.v1.GetDatabaseDdlResponse.Builder.class); + com.google.spanner.admin.database.v1.GetDatabaseDdlResponse.class, com.google.spanner.admin.database.v1.GetDatabaseDdlResponse.Builder.class); } // Construct using com.google.spanner.admin.database.v1.GetDatabaseDdlResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -346,9 +309,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_GetDatabaseDdlResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_GetDatabaseDdlResponse_descriptor; } @java.lang.Override @@ -367,18 +330,14 @@ public com.google.spanner.admin.database.v1.GetDatabaseDdlResponse build() { @java.lang.Override public com.google.spanner.admin.database.v1.GetDatabaseDdlResponse buildPartial() { - com.google.spanner.admin.database.v1.GetDatabaseDdlResponse result = - new com.google.spanner.admin.database.v1.GetDatabaseDdlResponse(this); + com.google.spanner.admin.database.v1.GetDatabaseDdlResponse result = new com.google.spanner.admin.database.v1.GetDatabaseDdlResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.spanner.admin.database.v1.GetDatabaseDdlResponse result) { + private void buildPartialRepeatedFields(com.google.spanner.admin.database.v1.GetDatabaseDdlResponse result) { if (((bitField0_ & 0x00000001) != 0)) { statements_ = statements_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); @@ -394,39 +353,38 @@ private void buildPartial0(com.google.spanner.admin.database.v1.GetDatabaseDdlRe public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.admin.database.v1.GetDatabaseDdlResponse) { - return mergeFrom((com.google.spanner.admin.database.v1.GetDatabaseDdlResponse) other); + return mergeFrom((com.google.spanner.admin.database.v1.GetDatabaseDdlResponse)other); } else { super.mergeFrom(other); return this; @@ -434,8 +392,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.admin.database.v1.GetDatabaseDdlResponse other) { - if (other == com.google.spanner.admin.database.v1.GetDatabaseDdlResponse.getDefaultInstance()) - return this; + if (other == com.google.spanner.admin.database.v1.GetDatabaseDdlResponse.getDefaultInstance()) return this; if (!other.statements_.isEmpty()) { if (statements_.isEmpty()) { statements_ = other.statements_; @@ -472,20 +429,18 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureStatementsIsMutable(); - statements_.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(); + ensureStatementsIsMutable(); + statements_.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) { @@ -495,58 +450,47 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private com.google.protobuf.LazyStringList statements_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList statements_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureStatementsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { statements_ = new com.google.protobuf.LazyStringArrayList(statements_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * A list of formatted DDL statements defining the schema of the database
      * specified in the request.
      * 
* * repeated string statements = 1; - * * @return A list containing the statements. */ - public com.google.protobuf.ProtocolStringList getStatementsList() { + public com.google.protobuf.ProtocolStringList + getStatementsList() { return statements_.getUnmodifiableView(); } /** - * - * *
      * A list of formatted DDL statements defining the schema of the database
      * specified in the request.
      * 
* * repeated string statements = 1; - * * @return The count of statements. */ public int getStatementsCount() { return statements_.size(); } /** - * - * *
      * A list of formatted DDL statements defining the schema of the database
      * specified in the request.
      * 
* * repeated string statements = 1; - * * @param index The index of the element to return. * @return The statements at the given index. */ @@ -554,95 +498,81 @@ public java.lang.String getStatements(int index) { return statements_.get(index); } /** - * - * *
      * A list of formatted DDL statements defining the schema of the database
      * specified in the request.
      * 
* * repeated string statements = 1; - * * @param index The index of the value to return. * @return The bytes of the statements at the given index. */ - public com.google.protobuf.ByteString getStatementsBytes(int index) { + public com.google.protobuf.ByteString + getStatementsBytes(int index) { return statements_.getByteString(index); } /** - * - * *
      * A list of formatted DDL statements defining the schema of the database
      * specified in the request.
      * 
* * repeated string statements = 1; - * * @param index The index to set the value at. * @param value The statements to set. * @return This builder for chaining. */ - public Builder setStatements(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setStatements( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureStatementsIsMutable(); statements_.set(index, value); onChanged(); return this; } /** - * - * *
      * A list of formatted DDL statements defining the schema of the database
      * specified in the request.
      * 
* * repeated string statements = 1; - * * @param value The statements to add. * @return This builder for chaining. */ - public Builder addStatements(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addStatements( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureStatementsIsMutable(); statements_.add(value); onChanged(); return this; } /** - * - * *
      * A list of formatted DDL statements defining the schema of the database
      * specified in the request.
      * 
* * repeated string statements = 1; - * * @param values The statements to add. * @return This builder for chaining. */ - public Builder addAllStatements(java.lang.Iterable values) { + public Builder addAllStatements( + java.lang.Iterable values) { ensureStatementsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, statements_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, statements_); onChanged(); return this; } /** - * - * *
      * A list of formatted DDL statements defining the schema of the database
      * specified in the request.
      * 
* * repeated string statements = 1; - * * @return This builder for chaining. */ public Builder clearStatements() { @@ -652,31 +582,27 @@ public Builder clearStatements() { return this; } /** - * - * *
      * A list of formatted DDL statements defining the schema of the database
      * specified in the request.
      * 
* * repeated string statements = 1; - * * @param value The bytes of the statements to add. * @return This builder for chaining. */ - public Builder addStatementsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addStatementsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureStatementsIsMutable(); statements_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -686,12 +612,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.GetDatabaseDdlResponse) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.GetDatabaseDdlResponse) private static final com.google.spanner.admin.database.v1.GetDatabaseDdlResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.GetDatabaseDdlResponse(); } @@ -700,27 +626,27 @@ public static com.google.spanner.admin.database.v1.GetDatabaseDdlResponse getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetDatabaseDdlResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetDatabaseDdlResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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 +661,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.GetDatabaseDdlResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlResponseOrBuilder.java similarity index 64% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlResponseOrBuilder.java index 28f7fb2cc5c..c014b59441c 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlResponseOrBuilder.java @@ -1,80 +1,54 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/spanner_database_admin.proto package com.google.spanner.admin.database.v1; -public interface GetDatabaseDdlResponseOrBuilder - extends +public interface GetDatabaseDdlResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.GetDatabaseDdlResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A list of formatted DDL statements defining the schema of the database
    * specified in the request.
    * 
* * repeated string statements = 1; - * * @return A list containing the statements. */ - java.util.List getStatementsList(); + java.util.List + getStatementsList(); /** - * - * *
    * A list of formatted DDL statements defining the schema of the database
    * specified in the request.
    * 
* * repeated string statements = 1; - * * @return The count of statements. */ int getStatementsCount(); /** - * - * *
    * A list of formatted DDL statements defining the schema of the database
    * specified in the request.
    * 
* * repeated string statements = 1; - * * @param index The index of the element to return. * @return The statements at the given index. */ java.lang.String getStatements(int index); /** - * - * *
    * A list of formatted DDL statements defining the schema of the database
    * specified in the request.
    * 
* * repeated string statements = 1; - * * @param index The index of the value to return. * @return The bytes of the statements at the given index. */ - com.google.protobuf.ByteString getStatementsBytes(int index); + com.google.protobuf.ByteString + getStatementsBytes(int index); } diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseRequest.java similarity index 64% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseRequest.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseRequest.java index 2a501d6d7cf..cce0f26dafb 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseRequest.java @@ -1,88 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/spanner_database_admin.proto package com.google.spanner.admin.database.v1; /** - * - * *
  * The request for [GetDatabase][google.spanner.admin.database.v1.DatabaseAdmin.GetDatabase].
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.GetDatabaseRequest} */ -public final class GetDatabaseRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetDatabaseRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.GetDatabaseRequest) GetDatabaseRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetDatabaseRequest.newBuilder() to construct. private GetDatabaseRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetDatabaseRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetDatabaseRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_GetDatabaseRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_GetDatabaseRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_GetDatabaseRequest_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_GetDatabaseRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.GetDatabaseRequest.class, - com.google.spanner.admin.database.v1.GetDatabaseRequest.Builder.class); + com.google.spanner.admin.database.v1.GetDatabaseRequest.class, com.google.spanner.admin.database.v1.GetDatabaseRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the requested database. Values are of the form
    * `projects/<project>/instances/<instance>/databases/<database>`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -91,32 +66,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the requested database. Values are of the form
    * `projects/<project>/instances/<instance>/databases/<database>`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -125,7 +98,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -137,7 +109,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -161,15 +134,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.spanner.admin.database.v1.GetDatabaseRequest)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.GetDatabaseRequest other = - (com.google.spanner.admin.database.v1.GetDatabaseRequest) obj; + com.google.spanner.admin.database.v1.GetDatabaseRequest other = (com.google.spanner.admin.database.v1.GetDatabaseRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -189,136 +162,129 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.GetDatabaseRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.GetDatabaseRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.GetDatabaseRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.GetDatabaseRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.GetDatabaseRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.GetDatabaseRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.GetDatabaseRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.GetDatabaseRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.GetDatabaseRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.GetDatabaseRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.GetDatabaseRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.GetDatabaseRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.GetDatabaseRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.GetDatabaseRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.database.v1.GetDatabaseRequest prototype) { + public static Builder newBuilder(com.google.spanner.admin.database.v1.GetDatabaseRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [GetDatabase][google.spanner.admin.database.v1.DatabaseAdmin.GetDatabase].
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.GetDatabaseRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.GetDatabaseRequest) com.google.spanner.admin.database.v1.GetDatabaseRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_GetDatabaseRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_GetDatabaseRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_GetDatabaseRequest_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_GetDatabaseRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.GetDatabaseRequest.class, - com.google.spanner.admin.database.v1.GetDatabaseRequest.Builder.class); + com.google.spanner.admin.database.v1.GetDatabaseRequest.class, com.google.spanner.admin.database.v1.GetDatabaseRequest.Builder.class); } // Construct using com.google.spanner.admin.database.v1.GetDatabaseRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.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,9 +294,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_GetDatabaseRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_GetDatabaseRequest_descriptor; } @java.lang.Override @@ -349,11 +315,8 @@ public com.google.spanner.admin.database.v1.GetDatabaseRequest build() { @java.lang.Override public com.google.spanner.admin.database.v1.GetDatabaseRequest buildPartial() { - com.google.spanner.admin.database.v1.GetDatabaseRequest result = - new com.google.spanner.admin.database.v1.GetDatabaseRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.admin.database.v1.GetDatabaseRequest result = new com.google.spanner.admin.database.v1.GetDatabaseRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -369,39 +332,38 @@ private void buildPartial0(com.google.spanner.admin.database.v1.GetDatabaseReque public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.admin.database.v1.GetDatabaseRequest) { - return mergeFrom((com.google.spanner.admin.database.v1.GetDatabaseRequest) other); + return mergeFrom((com.google.spanner.admin.database.v1.GetDatabaseRequest)other); } else { super.mergeFrom(other); return this; @@ -409,8 +371,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.admin.database.v1.GetDatabaseRequest other) { - if (other == com.google.spanner.admin.database.v1.GetDatabaseRequest.getDefaultInstance()) - return this; + if (other == com.google.spanner.admin.database.v1.GetDatabaseRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -442,19 +403,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) { @@ -464,28 +423,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the requested database. Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -494,24 +448,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the requested database. Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>`.
      * 
* - * - * string name = 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,41 +470,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the requested database. Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>`.
      * 
* - * - * 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 name of the requested database. Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>`.
      * 
* - * - * string 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,33 +503,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the requested database. Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>`.
      * 
* - * - * 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 +533,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.GetDatabaseRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.GetDatabaseRequest) private static final com.google.spanner.admin.database.v1.GetDatabaseRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.GetDatabaseRequest(); } @@ -613,27 +547,27 @@ public static com.google.spanner.admin.database.v1.GetDatabaseRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetDatabaseRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetDatabaseRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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 +582,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.GetDatabaseRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseRequestOrBuilder.java new file mode 100644 index 00000000000..62b63534c76 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/spanner/admin/database/v1/spanner_database_admin.proto + +package com.google.spanner.admin.database.v1; + +public interface GetDatabaseRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.GetDatabaseRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the requested database. Values are of the form
+   * `projects/<project>/instances/<instance>/databases/<database>`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the requested database. Values are of the form
+   * `projects/<project>/instances/<instance>/databases/<database>`.
+   * 
+ * + * 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-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/InstanceName.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/InstanceName.java similarity index 100% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/InstanceName.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/InstanceName.java diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsRequest.java similarity index 81% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsRequest.java index 5426f3dd857..178e89d3e35 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsRequest.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/spanner/admin/database/v1/backup.proto package com.google.spanner.admin.database.v1; /** - * - * *
  * The request for
  * [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.spanner.admin.database.v1.ListBackupOperationsRequest}
  */
-public final class ListBackupOperationsRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListBackupOperationsRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.ListBackupOperationsRequest)
     ListBackupOperationsRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListBackupOperationsRequest.newBuilder() to construct.
   private ListBackupOperationsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListBackupOperationsRequest() {
     parent_ = "";
     filter_ = "";
@@ -46,46 +28,39 @@ private ListBackupOperationsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListBackupOperationsRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.database.v1.BackupProto
-        .internal_static_google_spanner_admin_database_v1_ListBackupOperationsRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_ListBackupOperationsRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.database.v1.BackupProto
-        .internal_static_google_spanner_admin_database_v1_ListBackupOperationsRequest_fieldAccessorTable
+    return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_ListBackupOperationsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.database.v1.ListBackupOperationsRequest.class,
-            com.google.spanner.admin.database.v1.ListBackupOperationsRequest.Builder.class);
+            com.google.spanner.admin.database.v1.ListBackupOperationsRequest.class, com.google.spanner.admin.database.v1.ListBackupOperationsRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. The instance of the backup operations. Values are of
    * the form `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -94,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 instance of the backup operations. Values are of
    * the form `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -128,12 +101,9 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int FILTER_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** - * - * *
    * An expression that filters the list of returned backup operations.
    * A filter expression consists of a field name, a
@@ -198,7 +168,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string filter = 2; - * * @return The filter. */ @java.lang.Override @@ -207,15 +176,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; } } /** - * - * *
    * An expression that filters the list of returned backup operations.
    * A filter expression consists of a field name, a
@@ -280,15 +248,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 { @@ -299,15 +268,12 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_ = 0; /** - * - * *
    * Number of operations to be returned in the response. If 0 or
    * less, defaults to the server's maximum allowed page size.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -316,12 +282,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.database.v1.ListBackupOperationsResponse.next_page_token]
@@ -330,7 +293,6 @@ public int getPageSize() {
    * 
* * string page_token = 4; - * * @return The pageToken. */ @java.lang.Override @@ -339,15 +301,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.spanner.admin.database.v1.ListBackupOperationsResponse.next_page_token]
@@ -356,15 +317,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; - * * @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 { @@ -373,7 +335,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -385,7 +346,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -414,7 +376,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filter_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -427,18 +390,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.spanner.admin.database.v1.ListBackupOperationsRequest)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.ListBackupOperationsRequest other = - (com.google.spanner.admin.database.v1.ListBackupOperationsRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + com.google.spanner.admin.database.v1.ListBackupOperationsRequest other = (com.google.spanner.admin.database.v1.ListBackupOperationsRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -464,104 +430,96 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.ListBackupOperationsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.ListBackupOperationsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.ListBackupOperationsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.ListBackupOperationsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.ListBackupOperationsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.admin.database.v1.ListBackupOperationsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.ListBackupOperationsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.ListBackupOperationsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.ListBackupOperationsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.ListBackupOperationsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.ListBackupOperationsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.ListBackupOperationsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.ListBackupOperationsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.ListBackupOperationsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.ListBackupOperationsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.database.v1.ListBackupOperationsRequest prototype) { + public static Builder newBuilder(com.google.spanner.admin.database.v1.ListBackupOperationsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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
    * [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations].
@@ -569,32 +527,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.database.v1.ListBackupOperationsRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.ListBackupOperationsRequest)
       com.google.spanner.admin.database.v1.ListBackupOperationsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.database.v1.BackupProto
-          .internal_static_google_spanner_admin_database_v1_ListBackupOperationsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_ListBackupOperationsRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.database.v1.BackupProto
-          .internal_static_google_spanner_admin_database_v1_ListBackupOperationsRequest_fieldAccessorTable
+      return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_ListBackupOperationsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.database.v1.ListBackupOperationsRequest.class,
-              com.google.spanner.admin.database.v1.ListBackupOperationsRequest.Builder.class);
+              com.google.spanner.admin.database.v1.ListBackupOperationsRequest.class, com.google.spanner.admin.database.v1.ListBackupOperationsRequest.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.database.v1.ListBackupOperationsRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -607,14 +566,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.database.v1.BackupProto
-          .internal_static_google_spanner_admin_database_v1_ListBackupOperationsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_ListBackupOperationsRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.spanner.admin.database.v1.ListBackupOperationsRequest
-        getDefaultInstanceForType() {
+    public com.google.spanner.admin.database.v1.ListBackupOperationsRequest getDefaultInstanceForType() {
       return com.google.spanner.admin.database.v1.ListBackupOperationsRequest.getDefaultInstance();
     }
 
@@ -629,17 +587,13 @@ public com.google.spanner.admin.database.v1.ListBackupOperationsRequest build()
 
     @java.lang.Override
     public com.google.spanner.admin.database.v1.ListBackupOperationsRequest buildPartial() {
-      com.google.spanner.admin.database.v1.ListBackupOperationsRequest result =
-          new com.google.spanner.admin.database.v1.ListBackupOperationsRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.admin.database.v1.ListBackupOperationsRequest result = new com.google.spanner.admin.database.v1.ListBackupOperationsRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.spanner.admin.database.v1.ListBackupOperationsRequest result) {
+    private void buildPartial0(com.google.spanner.admin.database.v1.ListBackupOperationsRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.parent_ = parent_;
@@ -659,50 +613,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.spanner.admin.database.v1.ListBackupOperationsRequest) {
-        return mergeFrom((com.google.spanner.admin.database.v1.ListBackupOperationsRequest) other);
+        return mergeFrom((com.google.spanner.admin.database.v1.ListBackupOperationsRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.spanner.admin.database.v1.ListBackupOperationsRequest other) {
-      if (other
-          == com.google.spanner.admin.database.v1.ListBackupOperationsRequest.getDefaultInstance())
-        return this;
+    public Builder mergeFrom(com.google.spanner.admin.database.v1.ListBackupOperationsRequest other) {
+      if (other == com.google.spanner.admin.database.v1.ListBackupOperationsRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -747,37 +697,32 @@ 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 24:
-              {
-                pageSize_ = input.readInt32();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 24
-            case 34:
-              {
-                pageToken_ = input.readStringRequireUtf8();
-                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: {
+              filter_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 24: {
+              pageSize_ = input.readInt32();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 24
+            case 34: {
+              pageToken_ = 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) {
@@ -787,28 +732,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The instance of the backup operations. Values are of
      * the form `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 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; @@ -817,24 +757,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The instance of the backup operations. Values are of
      * the form `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 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 { @@ -842,41 +779,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The instance of the backup operations. Values are of
      * the form `projects/<project>/instances/<instance>`.
      * 
* - * - * 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 instance of the backup operations. Values are of
      * the form `projects/<project>/instances/<instance>`.
      * 
* - * - * string 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() { @@ -886,24 +812,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The instance of the backup operations. Values are of
      * the form `projects/<project>/instances/<instance>`.
      * 
* - * - * 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; @@ -913,8 +833,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * An expression that filters the list of returned backup operations.
      * A filter expression consists of a field name, a
@@ -979,13 +897,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; @@ -994,8 +912,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * An expression that filters the list of returned backup operations.
      * A filter expression consists of a field name, a
@@ -1060,14 +976,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 { @@ -1075,8 +992,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * An expression that filters the list of returned backup operations.
      * A filter expression consists of a field name, a
@@ -1141,22 +1056,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; } /** - * - * *
      * An expression that filters the list of returned backup operations.
      * A filter expression consists of a field name, a
@@ -1221,7 +1132,6 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 2; - * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1231,8 +1141,6 @@ public Builder clearFilter() { return this; } /** - * - * *
      * An expression that filters the list of returned backup operations.
      * A filter expression consists of a field name, a
@@ -1297,14 +1205,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; @@ -1312,17 +1218,14 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Number of operations to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -1330,35 +1233,29 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Number of operations to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 3; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Number of operations to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 3; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -1370,8 +1267,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListBackupOperationsResponse.next_page_token]
@@ -1380,13 +1275,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4; - * * @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; @@ -1395,8 +1290,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListBackupOperationsResponse.next_page_token]
@@ -1405,14 +1298,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; - * * @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 { @@ -1420,8 +1314,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListBackupOperationsResponse.next_page_token]
@@ -1430,22 +1322,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 4; - * * @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; } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListBackupOperationsResponse.next_page_token]
@@ -1454,7 +1342,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 4; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1464,8 +1351,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListBackupOperationsResponse.next_page_token]
@@ -1474,23 +1359,21 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; - * * @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); } @@ -1500,43 +1383,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.ListBackupOperationsRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.ListBackupOperationsRequest) - private static final com.google.spanner.admin.database.v1.ListBackupOperationsRequest - DEFAULT_INSTANCE; - + private static final com.google.spanner.admin.database.v1.ListBackupOperationsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.ListBackupOperationsRequest(); } - public static com.google.spanner.admin.database.v1.ListBackupOperationsRequest - getDefaultInstance() { + public static com.google.spanner.admin.database.v1.ListBackupOperationsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListBackupOperationsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListBackupOperationsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1548,8 +1429,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.spanner.admin.database.v1.ListBackupOperationsRequest - getDefaultInstanceForType() { + public com.google.spanner.admin.database.v1.ListBackupOperationsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsRequestOrBuilder.java similarity index 89% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsRequestOrBuilder.java index 4d862ccc097..92cc48e094e 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsRequestOrBuilder.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/spanner/admin/database/v1/backup.proto package com.google.spanner.admin.database.v1; -public interface ListBackupOperationsRequestOrBuilder - extends +public interface ListBackupOperationsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.ListBackupOperationsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The instance of the backup operations. Values are of
    * the form `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 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 instance of the backup operations. Values are of
    * the form `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 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(); /** - * - * *
    * An expression that filters the list of returned backup operations.
    * A filter expression consists of a field name, a
@@ -121,13 +94,10 @@ public interface ListBackupOperationsRequestOrBuilder
    * 
* * string filter = 2; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * An expression that filters the list of returned backup operations.
    * A filter expression consists of a field name, a
@@ -192,28 +162,23 @@ public interface ListBackupOperationsRequestOrBuilder
    * 
* * string filter = 2; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Number of operations to be returned in the response. If 0 or
    * less, defaults to the server's maximum allowed page size.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.database.v1.ListBackupOperationsResponse.next_page_token]
@@ -222,13 +187,10 @@ public interface ListBackupOperationsRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.database.v1.ListBackupOperationsResponse.next_page_token]
@@ -237,8 +199,8 @@ public interface ListBackupOperationsRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsResponse.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsResponse.java similarity index 77% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsResponse.java index a1a12ed3bf8..003f0ea7270 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsResponse.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/spanner/admin/database/v1/backup.proto package com.google.spanner.admin.database.v1; /** - * - * *
  * The response for
  * [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.spanner.admin.database.v1.ListBackupOperationsResponse}
  */
-public final class ListBackupOperationsResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListBackupOperationsResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.ListBackupOperationsResponse)
     ListBackupOperationsResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListBackupOperationsResponse.newBuilder() to construct.
   private ListBackupOperationsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListBackupOperationsResponse() {
     operations_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -45,37 +27,33 @@ private ListBackupOperationsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListBackupOperationsResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.database.v1.BackupProto
-        .internal_static_google_spanner_admin_database_v1_ListBackupOperationsResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_ListBackupOperationsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.database.v1.BackupProto
-        .internal_static_google_spanner_admin_database_v1_ListBackupOperationsResponse_fieldAccessorTable
+    return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_ListBackupOperationsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.database.v1.ListBackupOperationsResponse.class,
-            com.google.spanner.admin.database.v1.ListBackupOperationsResponse.Builder.class);
+            com.google.spanner.admin.database.v1.ListBackupOperationsResponse.class, com.google.spanner.admin.database.v1.ListBackupOperationsResponse.Builder.class);
   }
 
   public static final int OPERATIONS_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private java.util.List operations_;
   /**
-   *
-   *
    * 
    * The list of matching backup [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -95,8 +73,6 @@ public java.util.List getOperationsList() {
     return operations_;
   }
   /**
-   *
-   *
    * 
    * The list of matching backup [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -112,13 +88,11 @@ public java.util.List getOperationsList() {
    * repeated .google.longrunning.Operation operations = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getOperationsOrBuilderList() {
     return operations_;
   }
   /**
-   *
-   *
    * 
    * The list of matching backup [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -138,8 +112,6 @@ public int getOperationsCount() {
     return operations_.size();
   }
   /**
-   *
-   *
    * 
    * The list of matching backup [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -159,8 +131,6 @@ public com.google.longrunning.Operation getOperations(int index) {
     return operations_.get(index);
   }
   /**
-   *
-   *
    * 
    * The list of matching backup [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -176,17 +146,15 @@ public com.google.longrunning.Operation getOperations(int index) {
    * repeated .google.longrunning.Operation operations = 1;
    */
   @java.lang.Override
-  public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(int index) {
+  public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(
+      int index) {
     return operations_.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
    * [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations]
@@ -194,7 +162,6 @@ public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(int inde
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -203,15 +170,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
    * [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations]
@@ -219,15 +185,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 { @@ -236,7 +203,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -248,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 { for (int i = 0; i < operations_.size(); i++) { output.writeMessage(1, operations_.get(i)); } @@ -265,7 +232,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < operations_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, operations_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, operations_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -278,16 +246,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.spanner.admin.database.v1.ListBackupOperationsResponse)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.ListBackupOperationsResponse other = - (com.google.spanner.admin.database.v1.ListBackupOperationsResponse) obj; + com.google.spanner.admin.database.v1.ListBackupOperationsResponse other = (com.google.spanner.admin.database.v1.ListBackupOperationsResponse) obj; - if (!getOperationsList().equals(other.getOperationsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getOperationsList() + .equals(other.getOperationsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -311,105 +280,96 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.ListBackupOperationsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.ListBackupOperationsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.ListBackupOperationsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.ListBackupOperationsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.ListBackupOperationsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.admin.database.v1.ListBackupOperationsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.ListBackupOperationsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.ListBackupOperationsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.ListBackupOperationsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.ListBackupOperationsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.ListBackupOperationsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.ListBackupOperationsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.spanner.admin.database.v1.ListBackupOperationsResponse - 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.spanner.admin.database.v1.ListBackupOperationsResponse 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.spanner.admin.database.v1.ListBackupOperationsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.ListBackupOperationsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.database.v1.ListBackupOperationsResponse prototype) { + public static Builder newBuilder(com.google.spanner.admin.database.v1.ListBackupOperationsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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
    * [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations].
@@ -417,33 +377,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.database.v1.ListBackupOperationsResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.ListBackupOperationsResponse)
       com.google.spanner.admin.database.v1.ListBackupOperationsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.database.v1.BackupProto
-          .internal_static_google_spanner_admin_database_v1_ListBackupOperationsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_ListBackupOperationsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.database.v1.BackupProto
-          .internal_static_google_spanner_admin_database_v1_ListBackupOperationsResponse_fieldAccessorTable
+      return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_ListBackupOperationsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.database.v1.ListBackupOperationsResponse.class,
-              com.google.spanner.admin.database.v1.ListBackupOperationsResponse.Builder.class);
+              com.google.spanner.admin.database.v1.ListBackupOperationsResponse.class, com.google.spanner.admin.database.v1.ListBackupOperationsResponse.Builder.class);
     }
 
-    // Construct using
-    // com.google.spanner.admin.database.v1.ListBackupOperationsResponse.newBuilder()
-    private Builder() {}
+    // Construct using com.google.spanner.admin.database.v1.ListBackupOperationsResponse.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();
@@ -460,14 +420,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.database.v1.BackupProto
-          .internal_static_google_spanner_admin_database_v1_ListBackupOperationsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_ListBackupOperationsResponse_descriptor;
     }
 
     @java.lang.Override
-    public com.google.spanner.admin.database.v1.ListBackupOperationsResponse
-        getDefaultInstanceForType() {
+    public com.google.spanner.admin.database.v1.ListBackupOperationsResponse getDefaultInstanceForType() {
       return com.google.spanner.admin.database.v1.ListBackupOperationsResponse.getDefaultInstance();
     }
 
@@ -482,18 +441,14 @@ public com.google.spanner.admin.database.v1.ListBackupOperationsResponse build()
 
     @java.lang.Override
     public com.google.spanner.admin.database.v1.ListBackupOperationsResponse buildPartial() {
-      com.google.spanner.admin.database.v1.ListBackupOperationsResponse result =
-          new com.google.spanner.admin.database.v1.ListBackupOperationsResponse(this);
+      com.google.spanner.admin.database.v1.ListBackupOperationsResponse result = new com.google.spanner.admin.database.v1.ListBackupOperationsResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.spanner.admin.database.v1.ListBackupOperationsResponse result) {
+    private void buildPartialRepeatedFields(com.google.spanner.admin.database.v1.ListBackupOperationsResponse result) {
       if (operationsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           operations_ = java.util.Collections.unmodifiableList(operations_);
@@ -505,8 +460,7 @@ private void buildPartialRepeatedFields(
       }
     }
 
-    private void buildPartial0(
-        com.google.spanner.admin.database.v1.ListBackupOperationsResponse result) {
+    private void buildPartial0(com.google.spanner.admin.database.v1.ListBackupOperationsResponse result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000002) != 0)) {
         result.nextPageToken_ = nextPageToken_;
@@ -517,50 +471,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.spanner.admin.database.v1.ListBackupOperationsResponse) {
-        return mergeFrom((com.google.spanner.admin.database.v1.ListBackupOperationsResponse) other);
+        return mergeFrom((com.google.spanner.admin.database.v1.ListBackupOperationsResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.spanner.admin.database.v1.ListBackupOperationsResponse other) {
-      if (other
-          == com.google.spanner.admin.database.v1.ListBackupOperationsResponse.getDefaultInstance())
-        return this;
+    public Builder mergeFrom(com.google.spanner.admin.database.v1.ListBackupOperationsResponse other) {
+      if (other == com.google.spanner.admin.database.v1.ListBackupOperationsResponse.getDefaultInstance()) return this;
       if (operationsBuilder_ == null) {
         if (!other.operations_.isEmpty()) {
           if (operations_.isEmpty()) {
@@ -579,10 +529,9 @@ public Builder mergeFrom(
             operationsBuilder_ = null;
             operations_ = other.operations_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            operationsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getOperationsFieldBuilder()
-                    : null;
+            operationsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getOperationsFieldBuilder() : null;
           } else {
             operationsBuilder_.addAllMessages(other.operations_);
           }
@@ -619,31 +568,30 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.longrunning.Operation m =
-                    input.readMessage(com.google.longrunning.Operation.parser(), extensionRegistry);
-                if (operationsBuilder_ == null) {
-                  ensureOperationsIsMutable();
-                  operations_.add(m);
-                } else {
-                  operationsBuilder_.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.longrunning.Operation m =
+                  input.readMessage(
+                      com.google.longrunning.Operation.parser(),
+                      extensionRegistry);
+              if (operationsBuilder_ == null) {
+                ensureOperationsIsMutable();
+                operations_.add(m);
+              } else {
+                operationsBuilder_.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) {
@@ -653,28 +601,21 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List operations_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureOperationsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         operations_ = new java.util.ArrayList(operations_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.longrunning.Operation,
-            com.google.longrunning.Operation.Builder,
-            com.google.longrunning.OperationOrBuilder>
-        operationsBuilder_;
+        com.google.longrunning.Operation, com.google.longrunning.Operation.Builder, com.google.longrunning.OperationOrBuilder> operationsBuilder_;
 
     /**
-     *
-     *
      * 
      * The list of matching backup [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -697,8 +638,6 @@ public java.util.List getOperationsList() {
       }
     }
     /**
-     *
-     *
      * 
      * The list of matching backup [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -721,8 +660,6 @@ public int getOperationsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The list of matching backup [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -745,8 +682,6 @@ public com.google.longrunning.Operation getOperations(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The list of matching backup [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -761,7 +696,8 @@ public com.google.longrunning.Operation getOperations(int index) {
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public Builder setOperations(int index, com.google.longrunning.Operation value) {
+    public Builder setOperations(
+        int index, com.google.longrunning.Operation value) {
       if (operationsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -775,8 +711,6 @@ public Builder setOperations(int index, com.google.longrunning.Operation value)
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching backup [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -803,8 +737,6 @@ public Builder setOperations(
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching backup [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -833,8 +765,6 @@ public Builder addOperations(com.google.longrunning.Operation value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching backup [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -849,7 +779,8 @@ public Builder addOperations(com.google.longrunning.Operation value) {
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public Builder addOperations(int index, com.google.longrunning.Operation value) {
+    public Builder addOperations(
+        int index, com.google.longrunning.Operation value) {
       if (operationsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -863,8 +794,6 @@ public Builder addOperations(int index, com.google.longrunning.Operation value)
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching backup [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -879,7 +808,8 @@ public Builder addOperations(int index, com.google.longrunning.Operation value)
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public Builder addOperations(com.google.longrunning.Operation.Builder builderForValue) {
+    public Builder addOperations(
+        com.google.longrunning.Operation.Builder builderForValue) {
       if (operationsBuilder_ == null) {
         ensureOperationsIsMutable();
         operations_.add(builderForValue.build());
@@ -890,8 +820,6 @@ public Builder addOperations(com.google.longrunning.Operation.Builder builderFor
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching backup [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -918,8 +846,6 @@ public Builder addOperations(
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching backup [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -938,7 +864,8 @@ public Builder addAllOperations(
         java.lang.Iterable values) {
       if (operationsBuilder_ == null) {
         ensureOperationsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, operations_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, operations_);
         onChanged();
       } else {
         operationsBuilder_.addAllMessages(values);
@@ -946,8 +873,6 @@ public Builder addAllOperations(
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching backup [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -973,8 +898,6 @@ public Builder clearOperations() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching backup [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -1000,8 +923,6 @@ public Builder removeOperations(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching backup [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -1016,12 +937,11 @@ public Builder removeOperations(int index) {
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public com.google.longrunning.Operation.Builder getOperationsBuilder(int index) {
+    public com.google.longrunning.Operation.Builder getOperationsBuilder(
+        int index) {
       return getOperationsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The list of matching backup [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -1036,16 +956,14 @@ public com.google.longrunning.Operation.Builder getOperationsBuilder(int index)
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(int index) {
+    public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(
+        int index) {
       if (operationsBuilder_ == null) {
-        return operations_.get(index);
-      } else {
+        return operations_.get(index);  } else {
         return operationsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The list of matching backup [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -1060,8 +978,8 @@ public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(int inde
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public java.util.List
-        getOperationsOrBuilderList() {
+    public java.util.List 
+         getOperationsOrBuilderList() {
       if (operationsBuilder_ != null) {
         return operationsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1069,8 +987,6 @@ public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(int inde
       }
     }
     /**
-     *
-     *
      * 
      * The list of matching backup [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -1086,12 +1002,10 @@ public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(int inde
      * repeated .google.longrunning.Operation operations = 1;
      */
     public com.google.longrunning.Operation.Builder addOperationsBuilder() {
-      return getOperationsFieldBuilder()
-          .addBuilder(com.google.longrunning.Operation.getDefaultInstance());
+      return getOperationsFieldBuilder().addBuilder(
+          com.google.longrunning.Operation.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The list of matching backup [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -1106,13 +1020,12 @@ public com.google.longrunning.Operation.Builder addOperationsBuilder() {
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public com.google.longrunning.Operation.Builder addOperationsBuilder(int index) {
-      return getOperationsFieldBuilder()
-          .addBuilder(index, com.google.longrunning.Operation.getDefaultInstance());
+    public com.google.longrunning.Operation.Builder addOperationsBuilder(
+        int index) {
+      return getOperationsFieldBuilder().addBuilder(
+          index, com.google.longrunning.Operation.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The list of matching backup [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -1127,22 +1040,20 @@ public com.google.longrunning.Operation.Builder addOperationsBuilder(int index)
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public java.util.List getOperationsBuilderList() {
+    public java.util.List 
+         getOperationsBuilderList() {
       return getOperationsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.longrunning.Operation,
-            com.google.longrunning.Operation.Builder,
-            com.google.longrunning.OperationOrBuilder>
+        com.google.longrunning.Operation, com.google.longrunning.Operation.Builder, com.google.longrunning.OperationOrBuilder> 
         getOperationsFieldBuilder() {
       if (operationsBuilder_ == null) {
-        operationsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.longrunning.Operation,
-                com.google.longrunning.Operation.Builder,
-                com.google.longrunning.OperationOrBuilder>(
-                operations_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        operationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.longrunning.Operation, com.google.longrunning.Operation.Builder, com.google.longrunning.OperationOrBuilder>(
+                operations_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         operations_ = null;
       }
       return operationsBuilder_;
@@ -1150,8 +1061,6 @@ public java.util.List getOperationsBui
 
     private java.lang.Object nextPageToken_ = "";
     /**
-     *
-     *
      * 
      * `next_page_token` can be sent in a subsequent
      * [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations]
@@ -1159,13 +1068,13 @@ public java.util.List getOperationsBui
      * 
* * 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; @@ -1174,8 +1083,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations]
@@ -1183,14 +1090,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 { @@ -1198,8 +1106,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations]
@@ -1207,22 +1113,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
      * [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations]
@@ -1230,7 +1132,6 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1240,8 +1141,6 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations]
@@ -1249,23 +1148,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); } @@ -1275,43 +1172,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.ListBackupOperationsResponse) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.ListBackupOperationsResponse) - private static final com.google.spanner.admin.database.v1.ListBackupOperationsResponse - DEFAULT_INSTANCE; - + private static final com.google.spanner.admin.database.v1.ListBackupOperationsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.ListBackupOperationsResponse(); } - public static com.google.spanner.admin.database.v1.ListBackupOperationsResponse - getDefaultInstance() { + public static com.google.spanner.admin.database.v1.ListBackupOperationsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListBackupOperationsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListBackupOperationsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,8 +1218,9 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.spanner.admin.database.v1.ListBackupOperationsResponse - getDefaultInstanceForType() { + public com.google.spanner.admin.database.v1.ListBackupOperationsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsResponseOrBuilder.java similarity index 83% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsResponseOrBuilder.java index f170588152b..783e808323e 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsResponseOrBuilder.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/spanner/admin/database/v1/backup.proto package com.google.spanner.admin.database.v1; -public interface ListBackupOperationsResponseOrBuilder - extends +public interface ListBackupOperationsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.ListBackupOperationsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of matching backup [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -40,10 +22,9 @@ public interface ListBackupOperationsResponseOrBuilder
    *
    * repeated .google.longrunning.Operation operations = 1;
    */
-  java.util.List getOperationsList();
+  java.util.List 
+      getOperationsList();
   /**
-   *
-   *
    * 
    * The list of matching backup [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -60,8 +41,6 @@ public interface ListBackupOperationsResponseOrBuilder
    */
   com.google.longrunning.Operation getOperations(int index);
   /**
-   *
-   *
    * 
    * The list of matching backup [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -78,8 +57,6 @@ public interface ListBackupOperationsResponseOrBuilder
    */
   int getOperationsCount();
   /**
-   *
-   *
    * 
    * The list of matching backup [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -94,10 +71,9 @@ public interface ListBackupOperationsResponseOrBuilder
    *
    * repeated .google.longrunning.Operation operations = 1;
    */
-  java.util.List getOperationsOrBuilderList();
+  java.util.List 
+      getOperationsOrBuilderList();
   /**
-   *
-   *
    * 
    * The list of matching backup [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -112,11 +88,10 @@ public interface ListBackupOperationsResponseOrBuilder
    *
    * repeated .google.longrunning.Operation operations = 1;
    */
-  com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(int index);
+  com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * `next_page_token` can be sent in a subsequent
    * [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations]
@@ -124,13 +99,10 @@ public interface ListBackupOperationsResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * `next_page_token` can be sent in a subsequent
    * [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations]
@@ -138,8 +110,8 @@ public interface ListBackupOperationsResponseOrBuilder
    * 
* * 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-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsRequest.java similarity index 76% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsRequest.java index 0140292e32b..3f2d1b62ecd 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/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/spanner/admin/database/v1/backup.proto package com.google.spanner.admin.database.v1; /** - * - * *
  * The request for [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups].
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.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.spanner.admin.database.v1.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_ = ""; @@ -45,46 +27,39 @@ private ListBackupsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListBackupsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_ListBackupsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_ListBackupsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_ListBackupsRequest_fieldAccessorTable + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_ListBackupsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.ListBackupsRequest.class, - com.google.spanner.admin.database.v1.ListBackupsRequest.Builder.class); + com.google.spanner.admin.database.v1.ListBackupsRequest.class, com.google.spanner.admin.database.v1.ListBackupsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The instance to list backups from.  Values are of the
    * form `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -93,32 +68,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The instance to list backups from.  Values are of the
    * form `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 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_ = ""; /** - * - * *
    * An expression that filters the list of returned backups.
    * A filter expression consists of a field name, a comparison operator, and a
@@ -166,7 +136,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string filter = 2; - * * @return The filter. */ @java.lang.Override @@ -175,15 +144,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; } } /** - * - * *
    * An expression that filters the list of returned backups.
    * A filter expression consists of a field name, a comparison operator, and a
@@ -217,15 +185,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 { @@ -236,15 +205,12 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; 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 = 3; - * * @return The pageSize. */ @java.lang.Override @@ -253,12 +219,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.database.v1.ListBackupsResponse.next_page_token] from a
@@ -267,7 +230,6 @@ public int getPageSize() {
    * 
* * string page_token = 4; - * * @return The pageToken. */ @java.lang.Override @@ -276,15 +238,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.spanner.admin.database.v1.ListBackupsResponse.next_page_token] from a
@@ -293,15 +254,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; - * * @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 { @@ -310,7 +272,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -322,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -351,7 +313,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filter_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -364,18 +327,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.spanner.admin.database.v1.ListBackupsRequest)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.ListBackupsRequest other = - (com.google.spanner.admin.database.v1.ListBackupsRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + com.google.spanner.admin.database.v1.ListBackupsRequest other = (com.google.spanner.admin.database.v1.ListBackupsRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -401,136 +367,129 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.ListBackupsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.ListBackupsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.ListBackupsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.ListBackupsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.ListBackupsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.ListBackupsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.ListBackupsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.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.spanner.admin.database.v1.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.spanner.admin.database.v1.ListBackupsRequest prototype) { + public static Builder newBuilder(com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.DatabaseAdmin.ListBackups].
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.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.spanner.admin.database.v1.ListBackupsRequest) com.google.spanner.admin.database.v1.ListBackupsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_ListBackupsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_ListBackupsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_ListBackupsRequest_fieldAccessorTable + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_ListBackupsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.ListBackupsRequest.class, - com.google.spanner.admin.database.v1.ListBackupsRequest.Builder.class); + com.google.spanner.admin.database.v1.ListBackupsRequest.class, com.google.spanner.admin.database.v1.ListBackupsRequest.Builder.class); } // Construct using com.google.spanner.admin.database.v1.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(); @@ -543,9 +502,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_ListBackupsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_ListBackupsRequest_descriptor; } @java.lang.Override @@ -564,11 +523,8 @@ public com.google.spanner.admin.database.v1.ListBackupsRequest build() { @java.lang.Override public com.google.spanner.admin.database.v1.ListBackupsRequest buildPartial() { - com.google.spanner.admin.database.v1.ListBackupsRequest result = - new com.google.spanner.admin.database.v1.ListBackupsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.admin.database.v1.ListBackupsRequest result = new com.google.spanner.admin.database.v1.ListBackupsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -593,39 +549,38 @@ private void buildPartial0(com.google.spanner.admin.database.v1.ListBackupsReque public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.admin.database.v1.ListBackupsRequest) { - return mergeFrom((com.google.spanner.admin.database.v1.ListBackupsRequest) other); + return mergeFrom((com.google.spanner.admin.database.v1.ListBackupsRequest)other); } else { super.mergeFrom(other); return this; @@ -633,8 +588,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.admin.database.v1.ListBackupsRequest other) { - if (other == com.google.spanner.admin.database.v1.ListBackupsRequest.getDefaultInstance()) - return this; + if (other == com.google.spanner.admin.database.v1.ListBackupsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -679,37 +633,32 @@ 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 24: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: - { - pageToken_ = input.readStringRequireUtf8(); - 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: { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: { + pageToken_ = 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) { @@ -719,28 +668,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The instance to list backups from.  Values are of the
      * form `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 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; @@ -749,24 +693,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The instance to list backups from.  Values are of the
      * form `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 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 { @@ -774,41 +715,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The instance to list backups from.  Values are of the
      * form `projects/<project>/instances/<instance>`.
      * 
* - * - * 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 instance to list backups from.  Values are of the
      * form `projects/<project>/instances/<instance>`.
      * 
* - * - * string 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() { @@ -818,24 +748,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The instance to list backups from.  Values are of the
      * form `projects/<project>/instances/<instance>`.
      * 
* - * - * 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; @@ -845,8 +769,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * An expression that filters the list of returned backups.
      * A filter expression consists of a field name, a comparison operator, and a
@@ -880,13 +802,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; @@ -895,8 +817,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * An expression that filters the list of returned backups.
      * A filter expression consists of a field name, a comparison operator, and a
@@ -930,14 +850,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 { @@ -945,8 +866,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * An expression that filters the list of returned backups.
      * A filter expression consists of a field name, a comparison operator, and a
@@ -980,22 +899,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; } /** - * - * *
      * An expression that filters the list of returned backups.
      * A filter expression consists of a field name, a comparison operator, and a
@@ -1029,7 +944,6 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 2; - * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1039,8 +953,6 @@ public Builder clearFilter() { return this; } /** - * - * *
      * An expression that filters the list of returned backups.
      * A filter expression consists of a field name, a comparison operator, and a
@@ -1074,14 +986,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; @@ -1089,17 +999,14 @@ public Builder setFilterBytes(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 = 3; - * * @return The pageSize. */ @java.lang.Override @@ -1107,35 +1014,29 @@ 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 = 3; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Number of backups to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 3; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -1147,8 +1048,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListBackupsResponse.next_page_token] from a
@@ -1157,13 +1056,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4; - * * @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; @@ -1172,8 +1071,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListBackupsResponse.next_page_token] from a
@@ -1182,14 +1079,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; - * * @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 { @@ -1197,8 +1095,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListBackupsResponse.next_page_token] from a
@@ -1207,22 +1103,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 4; - * * @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; } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListBackupsResponse.next_page_token] from a
@@ -1231,7 +1123,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 4; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1241,8 +1132,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListBackupsResponse.next_page_token] from a
@@ -1251,23 +1140,21 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; - * * @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); } @@ -1277,12 +1164,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.ListBackupsRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.ListBackupsRequest) private static final com.google.spanner.admin.database.v1.ListBackupsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.ListBackupsRequest(); } @@ -1291,27 +1178,27 @@ public static com.google.spanner.admin.database.v1.ListBackupsRequest getDefault 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; @@ -1326,4 +1213,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.ListBackupsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsRequestOrBuilder.java similarity index 82% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsRequestOrBuilder.java index 4ea911b53ce..a3fc2c80340 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsRequestOrBuilder.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/spanner/admin/database/v1/backup.proto package com.google.spanner.admin.database.v1; -public interface ListBackupsRequestOrBuilder - extends +public interface ListBackupsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.ListBackupsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The instance to list backups from.  Values are of the
    * form `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 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 instance to list backups from.  Values are of the
    * form `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 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(); /** - * - * *
    * An expression that filters the list of returned backups.
    * A filter expression consists of a field name, a comparison operator, and a
@@ -90,13 +63,10 @@ public interface ListBackupsRequestOrBuilder
    * 
* * string filter = 2; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * An expression that filters the list of returned backups.
    * A filter expression consists of a field name, a comparison operator, and a
@@ -130,28 +100,23 @@ public interface ListBackupsRequestOrBuilder
    * 
* * string filter = 2; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * 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 = 3; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.database.v1.ListBackupsResponse.next_page_token] from a
@@ -160,13 +125,10 @@ public interface ListBackupsRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.database.v1.ListBackupsResponse.next_page_token] from a
@@ -175,8 +137,8 @@ public interface ListBackupsRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsResponse.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsResponse.java similarity index 73% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsResponse.java index e320ee4aba2..be58e2bf96b 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/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/spanner/admin/database/v1/backup.proto package com.google.spanner.admin.database.v1; /** - * - * *
  * The response for [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups].
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.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.spanner.admin.database.v1.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,37 +26,33 @@ private ListBackupsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListBackupsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_ListBackupsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_ListBackupsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_ListBackupsResponse_fieldAccessorTable + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_ListBackupsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.ListBackupsResponse.class, - com.google.spanner.admin.database.v1.ListBackupsResponse.Builder.class); + com.google.spanner.admin.database.v1.ListBackupsResponse.class, com.google.spanner.admin.database.v1.ListBackupsResponse.Builder.class); } public static final int BACKUPS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List backups_; /** - * - * *
    * The list of matching backups. Backups returned are ordered by `create_time`
    * in descending order, starting from the most recent `create_time`.
@@ -87,8 +65,6 @@ public java.util.List getBackupsLis
     return backups_;
   }
   /**
-   *
-   *
    * 
    * The list of matching backups. Backups returned are ordered by `create_time`
    * in descending order, starting from the most recent `create_time`.
@@ -97,13 +73,11 @@ public java.util.List getBackupsLis
    * repeated .google.spanner.admin.database.v1.Backup backups = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getBackupsOrBuilderList() {
     return backups_;
   }
   /**
-   *
-   *
    * 
    * The list of matching backups. Backups returned are ordered by `create_time`
    * in descending order, starting from the most recent `create_time`.
@@ -116,8 +90,6 @@ public int getBackupsCount() {
     return backups_.size();
   }
   /**
-   *
-   *
    * 
    * The list of matching backups. Backups returned are ordered by `create_time`
    * in descending order, starting from the most recent `create_time`.
@@ -130,8 +102,6 @@ public com.google.spanner.admin.database.v1.Backup getBackups(int index) {
     return backups_.get(index);
   }
   /**
-   *
-   *
    * 
    * The list of matching backups. Backups returned are ordered by `create_time`
    * in descending order, starting from the most recent `create_time`.
@@ -140,17 +110,15 @@ public com.google.spanner.admin.database.v1.Backup getBackups(int index) {
    * repeated .google.spanner.admin.database.v1.Backup backups = 1;
    */
   @java.lang.Override
-  public com.google.spanner.admin.database.v1.BackupOrBuilder getBackupsOrBuilder(int index) {
+  public com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.DatabaseAdmin.ListBackups] call to fetch more
@@ -158,7 +126,6 @@ public com.google.spanner.admin.database.v1.BackupOrBuilder getBackupsOrBuilder(
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -167,15 +134,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.spanner.admin.database.v1.DatabaseAdmin.ListBackups] call to fetch more
@@ -183,15 +149,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 { @@ -200,7 +167,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -212,7 +178,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < backups_.size(); i++) { output.writeMessage(1, backups_.get(i)); } @@ -229,7 +196,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_); @@ -242,16 +210,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.database.v1.ListBackupsResponse)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.ListBackupsResponse other = - (com.google.spanner.admin.database.v1.ListBackupsResponse) obj; + com.google.spanner.admin.database.v1.ListBackupsResponse other = (com.google.spanner.admin.database.v1.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; } @@ -275,136 +244,129 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.ListBackupsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.ListBackupsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.ListBackupsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.ListBackupsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.ListBackupsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.ListBackupsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.ListBackupsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.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.spanner.admin.database.v1.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.spanner.admin.database.v1.ListBackupsResponse prototype) { + public static Builder newBuilder(com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.DatabaseAdmin.ListBackups].
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.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.spanner.admin.database.v1.ListBackupsResponse) com.google.spanner.admin.database.v1.ListBackupsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_ListBackupsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_ListBackupsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_ListBackupsResponse_fieldAccessorTable + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_ListBackupsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.ListBackupsResponse.class, - com.google.spanner.admin.database.v1.ListBackupsResponse.Builder.class); + com.google.spanner.admin.database.v1.ListBackupsResponse.class, com.google.spanner.admin.database.v1.ListBackupsResponse.Builder.class); } // Construct using com.google.spanner.admin.database.v1.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(); @@ -421,9 +383,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_ListBackupsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_ListBackupsResponse_descriptor; } @java.lang.Override @@ -442,18 +404,14 @@ public com.google.spanner.admin.database.v1.ListBackupsResponse build() { @java.lang.Override public com.google.spanner.admin.database.v1.ListBackupsResponse buildPartial() { - com.google.spanner.admin.database.v1.ListBackupsResponse result = - new com.google.spanner.admin.database.v1.ListBackupsResponse(this); + com.google.spanner.admin.database.v1.ListBackupsResponse result = new com.google.spanner.admin.database.v1.ListBackupsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.spanner.admin.database.v1.ListBackupsResponse result) { + private void buildPartialRepeatedFields(com.google.spanner.admin.database.v1.ListBackupsResponse result) { if (backupsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { backups_ = java.util.Collections.unmodifiableList(backups_); @@ -476,39 +434,38 @@ private void buildPartial0(com.google.spanner.admin.database.v1.ListBackupsRespo public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.admin.database.v1.ListBackupsResponse) { - return mergeFrom((com.google.spanner.admin.database.v1.ListBackupsResponse) other); + return mergeFrom((com.google.spanner.admin.database.v1.ListBackupsResponse)other); } else { super.mergeFrom(other); return this; @@ -516,8 +473,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.admin.database.v1.ListBackupsResponse other) { - if (other == com.google.spanner.admin.database.v1.ListBackupsResponse.getDefaultInstance()) - return this; + if (other == com.google.spanner.admin.database.v1.ListBackupsResponse.getDefaultInstance()) return this; if (backupsBuilder_ == null) { if (!other.backups_.isEmpty()) { if (backups_.isEmpty()) { @@ -536,10 +492,9 @@ public Builder mergeFrom(com.google.spanner.admin.database.v1.ListBackupsRespons 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_); } @@ -576,32 +531,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.spanner.admin.database.v1.Backup m = - input.readMessage( - com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.Backup m = + input.readMessage( + com.google.spanner.admin.database.v1.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) { @@ -611,28 +564,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.spanner.admin.database.v1.Backup, - com.google.spanner.admin.database.v1.Backup.Builder, - com.google.spanner.admin.database.v1.BackupOrBuilder> - backupsBuilder_; + com.google.spanner.admin.database.v1.Backup, com.google.spanner.admin.database.v1.Backup.Builder, com.google.spanner.admin.database.v1.BackupOrBuilder> backupsBuilder_; /** - * - * *
      * The list of matching backups. Backups returned are ordered by `create_time`
      * in descending order, starting from the most recent `create_time`.
@@ -648,8 +594,6 @@ public java.util.List getBackupsLis
       }
     }
     /**
-     *
-     *
      * 
      * The list of matching backups. Backups returned are ordered by `create_time`
      * in descending order, starting from the most recent `create_time`.
@@ -665,8 +609,6 @@ public int getBackupsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The list of matching backups. Backups returned are ordered by `create_time`
      * in descending order, starting from the most recent `create_time`.
@@ -682,8 +624,6 @@ public com.google.spanner.admin.database.v1.Backup getBackups(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The list of matching backups. Backups returned are ordered by `create_time`
      * in descending order, starting from the most recent `create_time`.
@@ -691,7 +631,8 @@ public com.google.spanner.admin.database.v1.Backup getBackups(int index) {
      *
      * repeated .google.spanner.admin.database.v1.Backup backups = 1;
      */
-    public Builder setBackups(int index, com.google.spanner.admin.database.v1.Backup value) {
+    public Builder setBackups(
+        int index, com.google.spanner.admin.database.v1.Backup value) {
       if (backupsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -705,8 +646,6 @@ public Builder setBackups(int index, com.google.spanner.admin.database.v1.Backup
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching backups. Backups returned are ordered by `create_time`
      * in descending order, starting from the most recent `create_time`.
@@ -726,8 +665,6 @@ public Builder setBackups(
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching backups. Backups returned are ordered by `create_time`
      * in descending order, starting from the most recent `create_time`.
@@ -749,8 +686,6 @@ public Builder addBackups(com.google.spanner.admin.database.v1.Backup value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching backups. Backups returned are ordered by `create_time`
      * in descending order, starting from the most recent `create_time`.
@@ -758,7 +693,8 @@ public Builder addBackups(com.google.spanner.admin.database.v1.Backup value) {
      *
      * repeated .google.spanner.admin.database.v1.Backup backups = 1;
      */
-    public Builder addBackups(int index, com.google.spanner.admin.database.v1.Backup value) {
+    public Builder addBackups(
+        int index, com.google.spanner.admin.database.v1.Backup value) {
       if (backupsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -772,8 +708,6 @@ public Builder addBackups(int index, com.google.spanner.admin.database.v1.Backup
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching backups. Backups returned are ordered by `create_time`
      * in descending order, starting from the most recent `create_time`.
@@ -781,7 +715,8 @@ public Builder addBackups(int index, com.google.spanner.admin.database.v1.Backup
      *
      * repeated .google.spanner.admin.database.v1.Backup backups = 1;
      */
-    public Builder addBackups(com.google.spanner.admin.database.v1.Backup.Builder builderForValue) {
+    public Builder addBackups(
+        com.google.spanner.admin.database.v1.Backup.Builder builderForValue) {
       if (backupsBuilder_ == null) {
         ensureBackupsIsMutable();
         backups_.add(builderForValue.build());
@@ -792,8 +727,6 @@ public Builder addBackups(com.google.spanner.admin.database.v1.Backup.Builder bu
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching backups. Backups returned are ordered by `create_time`
      * in descending order, starting from the most recent `create_time`.
@@ -813,8 +746,6 @@ public Builder addBackups(
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching backups. Backups returned are ordered by `create_time`
      * in descending order, starting from the most recent `create_time`.
@@ -826,7 +757,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);
@@ -834,8 +766,6 @@ public Builder addAllBackups(
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching backups. Backups returned are ordered by `create_time`
      * in descending order, starting from the most recent `create_time`.
@@ -854,8 +784,6 @@ public Builder clearBackups() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching backups. Backups returned are ordered by `create_time`
      * in descending order, starting from the most recent `create_time`.
@@ -874,8 +802,6 @@ public Builder removeBackups(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching backups. Backups returned are ordered by `create_time`
      * in descending order, starting from the most recent `create_time`.
@@ -883,12 +809,11 @@ public Builder removeBackups(int index) {
      *
      * repeated .google.spanner.admin.database.v1.Backup backups = 1;
      */
-    public com.google.spanner.admin.database.v1.Backup.Builder getBackupsBuilder(int index) {
+    public com.google.spanner.admin.database.v1.Backup.Builder getBackupsBuilder(
+        int index) {
       return getBackupsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The list of matching backups. Backups returned are ordered by `create_time`
      * in descending order, starting from the most recent `create_time`.
@@ -896,16 +821,14 @@ public com.google.spanner.admin.database.v1.Backup.Builder getBackupsBuilder(int
      *
      * repeated .google.spanner.admin.database.v1.Backup backups = 1;
      */
-    public com.google.spanner.admin.database.v1.BackupOrBuilder getBackupsOrBuilder(int index) {
+    public com.google.spanner.admin.database.v1.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. Backups returned are ordered by `create_time`
      * in descending order, starting from the most recent `create_time`.
@@ -913,8 +836,8 @@ public com.google.spanner.admin.database.v1.BackupOrBuilder getBackupsOrBuilder(
      *
      * repeated .google.spanner.admin.database.v1.Backup backups = 1;
      */
-    public java.util.List
-        getBackupsOrBuilderList() {
+    public java.util.List 
+         getBackupsOrBuilderList() {
       if (backupsBuilder_ != null) {
         return backupsBuilder_.getMessageOrBuilderList();
       } else {
@@ -922,8 +845,6 @@ public com.google.spanner.admin.database.v1.BackupOrBuilder getBackupsOrBuilder(
       }
     }
     /**
-     *
-     *
      * 
      * The list of matching backups. Backups returned are ordered by `create_time`
      * in descending order, starting from the most recent `create_time`.
@@ -932,12 +853,10 @@ public com.google.spanner.admin.database.v1.BackupOrBuilder getBackupsOrBuilder(
      * repeated .google.spanner.admin.database.v1.Backup backups = 1;
      */
     public com.google.spanner.admin.database.v1.Backup.Builder addBackupsBuilder() {
-      return getBackupsFieldBuilder()
-          .addBuilder(com.google.spanner.admin.database.v1.Backup.getDefaultInstance());
+      return getBackupsFieldBuilder().addBuilder(
+          com.google.spanner.admin.database.v1.Backup.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The list of matching backups. Backups returned are ordered by `create_time`
      * in descending order, starting from the most recent `create_time`.
@@ -945,13 +864,12 @@ public com.google.spanner.admin.database.v1.Backup.Builder addBackupsBuilder() {
      *
      * repeated .google.spanner.admin.database.v1.Backup backups = 1;
      */
-    public com.google.spanner.admin.database.v1.Backup.Builder addBackupsBuilder(int index) {
-      return getBackupsFieldBuilder()
-          .addBuilder(index, com.google.spanner.admin.database.v1.Backup.getDefaultInstance());
+    public com.google.spanner.admin.database.v1.Backup.Builder addBackupsBuilder(
+        int index) {
+      return getBackupsFieldBuilder().addBuilder(
+          index, com.google.spanner.admin.database.v1.Backup.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The list of matching backups. Backups returned are ordered by `create_time`
      * in descending order, starting from the most recent `create_time`.
@@ -959,23 +877,20 @@ public com.google.spanner.admin.database.v1.Backup.Builder addBackupsBuilder(int
      *
      * repeated .google.spanner.admin.database.v1.Backup backups = 1;
      */
-    public java.util.List
-        getBackupsBuilderList() {
+    public java.util.List 
+         getBackupsBuilderList() {
       return getBackupsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.spanner.admin.database.v1.Backup,
-            com.google.spanner.admin.database.v1.Backup.Builder,
-            com.google.spanner.admin.database.v1.BackupOrBuilder>
+        com.google.spanner.admin.database.v1.Backup, com.google.spanner.admin.database.v1.Backup.Builder, com.google.spanner.admin.database.v1.BackupOrBuilder> 
         getBackupsFieldBuilder() {
       if (backupsBuilder_ == null) {
-        backupsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.spanner.admin.database.v1.Backup,
-                com.google.spanner.admin.database.v1.Backup.Builder,
-                com.google.spanner.admin.database.v1.BackupOrBuilder>(
-                backups_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        backupsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.spanner.admin.database.v1.Backup, com.google.spanner.admin.database.v1.Backup.Builder, com.google.spanner.admin.database.v1.BackupOrBuilder>(
+                backups_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         backups_ = null;
       }
       return backupsBuilder_;
@@ -983,8 +898,6 @@ public com.google.spanner.admin.database.v1.Backup.Builder addBackupsBuilder(int
 
     private java.lang.Object nextPageToken_ = "";
     /**
-     *
-     *
      * 
      * `next_page_token` can be sent in a subsequent
      * [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups] call to fetch more
@@ -992,13 +905,13 @@ public com.google.spanner.admin.database.v1.Backup.Builder addBackupsBuilder(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; @@ -1007,8 +920,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups] call to fetch more
@@ -1016,14 +927,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 { @@ -1031,8 +943,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups] call to fetch more
@@ -1040,22 +950,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.spanner.admin.database.v1.DatabaseAdmin.ListBackups] call to fetch more
@@ -1063,7 +969,6 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1073,8 +978,6 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups] call to fetch more
@@ -1082,23 +985,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); } @@ -1108,12 +1009,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.ListBackupsResponse) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.ListBackupsResponse) private static final com.google.spanner.admin.database.v1.ListBackupsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.ListBackupsResponse(); } @@ -1122,27 +1023,27 @@ public static com.google.spanner.admin.database.v1.ListBackupsResponse getDefaul 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; @@ -1157,4 +1058,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.ListBackupsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsResponseOrBuilder.java similarity index 73% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsResponseOrBuilder.java index fe5c302a0e8..ed99d72751d 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsResponseOrBuilder.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/spanner/admin/database/v1/backup.proto package com.google.spanner.admin.database.v1; -public interface ListBackupsResponseOrBuilder - extends +public interface ListBackupsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.ListBackupsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of matching backups. Backups returned are ordered by `create_time`
    * in descending order, starting from the most recent `create_time`.
@@ -33,10 +15,9 @@ public interface ListBackupsResponseOrBuilder
    *
    * repeated .google.spanner.admin.database.v1.Backup backups = 1;
    */
-  java.util.List getBackupsList();
+  java.util.List 
+      getBackupsList();
   /**
-   *
-   *
    * 
    * The list of matching backups. Backups returned are ordered by `create_time`
    * in descending order, starting from the most recent `create_time`.
@@ -46,8 +27,6 @@ public interface ListBackupsResponseOrBuilder
    */
   com.google.spanner.admin.database.v1.Backup getBackups(int index);
   /**
-   *
-   *
    * 
    * The list of matching backups. Backups returned are ordered by `create_time`
    * in descending order, starting from the most recent `create_time`.
@@ -57,8 +36,6 @@ public interface ListBackupsResponseOrBuilder
    */
   int getBackupsCount();
   /**
-   *
-   *
    * 
    * The list of matching backups. Backups returned are ordered by `create_time`
    * in descending order, starting from the most recent `create_time`.
@@ -66,11 +43,9 @@ public interface ListBackupsResponseOrBuilder
    *
    * repeated .google.spanner.admin.database.v1.Backup backups = 1;
    */
-  java.util.List
+  java.util.List 
       getBackupsOrBuilderList();
   /**
-   *
-   *
    * 
    * The list of matching backups. Backups returned are ordered by `create_time`
    * in descending order, starting from the most recent `create_time`.
@@ -78,11 +53,10 @@ public interface ListBackupsResponseOrBuilder
    *
    * repeated .google.spanner.admin.database.v1.Backup backups = 1;
    */
-  com.google.spanner.admin.database.v1.BackupOrBuilder getBackupsOrBuilder(int index);
+  com.google.spanner.admin.database.v1.BackupOrBuilder getBackupsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * `next_page_token` can be sent in a subsequent
    * [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups] call to fetch more
@@ -90,13 +64,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.spanner.admin.database.v1.DatabaseAdmin.ListBackups] call to fetch more
@@ -104,8 +75,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-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsRequest.java similarity index 77% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsRequest.java index 9bf375def87..d3120532eb6 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsRequest.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/spanner/admin/database/v1/spanner_database_admin.proto package com.google.spanner.admin.database.v1; /** - * - * *
  * The request for
  * [ListDatabaseOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.spanner.admin.database.v1.ListDatabaseOperationsRequest}
  */
-public final class ListDatabaseOperationsRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListDatabaseOperationsRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.ListDatabaseOperationsRequest)
     ListDatabaseOperationsRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListDatabaseOperationsRequest.newBuilder() to construct.
   private ListDatabaseOperationsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListDatabaseOperationsRequest() {
     parent_ = "";
     filter_ = "";
@@ -46,46 +28,39 @@ private ListDatabaseOperationsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListDatabaseOperationsRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-        .internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-        .internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsRequest_fieldAccessorTable
+    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest.class,
-            com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest.Builder.class);
+            com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest.class, com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. The instance of the database operations.
    * Values are of the form `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -94,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 instance of the database operations.
    * Values are of the form `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -128,12 +101,9 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int FILTER_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** - * - * *
    * An expression that filters the list of returned operations.
    * A filter expression consists of a field name, a
@@ -174,7 +144,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string filter = 2; - * * @return The filter. */ @java.lang.Override @@ -183,15 +152,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; } } /** - * - * *
    * An expression that filters the list of returned operations.
    * A filter expression consists of a field name, a
@@ -232,15 +200,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 { @@ -251,15 +220,12 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_ = 0; /** - * - * *
    * Number of operations to be returned in the response. If 0 or
    * less, defaults to the server's maximum allowed page size.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -268,12 +234,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.database.v1.ListDatabaseOperationsResponse.next_page_token]
@@ -282,7 +245,6 @@ public int getPageSize() {
    * 
* * string page_token = 4; - * * @return The pageToken. */ @java.lang.Override @@ -291,15 +253,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.spanner.admin.database.v1.ListDatabaseOperationsResponse.next_page_token]
@@ -308,15 +269,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; - * * @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 { @@ -325,7 +287,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -337,7 +298,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -366,7 +328,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filter_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -379,18 +342,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.spanner.admin.database.v1.ListDatabaseOperationsRequest)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest other = - (com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest other = (com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -416,105 +382,96 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest - 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.spanner.admin.database.v1.ListDatabaseOperationsRequest 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.spanner.admin.database.v1.ListDatabaseOperationsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest prototype) { + public static Builder newBuilder(com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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
    * [ListDatabaseOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations].
@@ -522,33 +479,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.database.v1.ListDatabaseOperationsRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.ListDatabaseOperationsRequest)
       com.google.spanner.admin.database.v1.ListDatabaseOperationsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-          .internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-          .internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsRequest_fieldAccessorTable
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest.class,
-              com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest.Builder.class);
+              com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest.class, com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest.Builder.class);
     }
 
-    // Construct using
-    // com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest.newBuilder()
-    private Builder() {}
+    // Construct using com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest.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();
@@ -561,16 +518,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-          .internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest
-        getDefaultInstanceForType() {
-      return com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest
-          .getDefaultInstance();
+    public com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest getDefaultInstanceForType() {
+      return com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest.getDefaultInstance();
     }
 
     @java.lang.Override
@@ -584,17 +539,13 @@ public com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest build(
 
     @java.lang.Override
     public com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest buildPartial() {
-      com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest result =
-          new com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest result = new com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest result) {
+    private void buildPartial0(com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.parent_ = parent_;
@@ -614,51 +565,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.spanner.admin.database.v1.ListDatabaseOperationsRequest) {
-        return mergeFrom(
-            (com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest) other);
+        return mergeFrom((com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest other) {
-      if (other
-          == com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest other) {
+      if (other == com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -703,37 +649,32 @@ 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 24:
-              {
-                pageSize_ = input.readInt32();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 24
-            case 34:
-              {
-                pageToken_ = input.readStringRequireUtf8();
-                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: {
+              filter_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 24: {
+              pageSize_ = input.readInt32();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 24
+            case 34: {
+              pageToken_ = 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) {
@@ -743,28 +684,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The instance of the database operations.
      * Values are of the form `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -773,24 +709,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The instance of the database operations.
      * Values are of the form `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 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 { @@ -798,41 +731,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The instance of the database operations.
      * Values are of the form `projects/<project>/instances/<instance>`.
      * 
* - * - * 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 instance of the database operations.
      * Values are of the form `projects/<project>/instances/<instance>`.
      * 
* - * - * string 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() { @@ -842,24 +764,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The instance of the database operations.
      * Values are of the form `projects/<project>/instances/<instance>`.
      * 
* - * - * 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; @@ -869,8 +785,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * An expression that filters the list of returned operations.
      * A filter expression consists of a field name, a
@@ -911,13 +825,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; @@ -926,8 +840,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * An expression that filters the list of returned operations.
      * A filter expression consists of a field name, a
@@ -968,14 +880,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 { @@ -983,8 +896,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * An expression that filters the list of returned operations.
      * A filter expression consists of a field name, a
@@ -1025,22 +936,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; } /** - * - * *
      * An expression that filters the list of returned operations.
      * A filter expression consists of a field name, a
@@ -1081,7 +988,6 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 2; - * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1091,8 +997,6 @@ public Builder clearFilter() { return this; } /** - * - * *
      * An expression that filters the list of returned operations.
      * A filter expression consists of a field name, a
@@ -1133,14 +1037,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; @@ -1148,17 +1050,14 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Number of operations to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -1166,35 +1065,29 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Number of operations to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 3; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Number of operations to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 3; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -1206,8 +1099,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListDatabaseOperationsResponse.next_page_token]
@@ -1216,13 +1107,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4; - * * @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; @@ -1231,8 +1122,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListDatabaseOperationsResponse.next_page_token]
@@ -1241,14 +1130,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; - * * @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 { @@ -1256,8 +1146,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListDatabaseOperationsResponse.next_page_token]
@@ -1266,22 +1154,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 4; - * * @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; } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListDatabaseOperationsResponse.next_page_token]
@@ -1290,7 +1174,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 4; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1300,8 +1183,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListDatabaseOperationsResponse.next_page_token]
@@ -1310,23 +1191,21 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; - * * @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); } @@ -1336,43 +1215,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.ListDatabaseOperationsRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.ListDatabaseOperationsRequest) - private static final com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest - DEFAULT_INSTANCE; - + private static final com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest(); } - public static com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest - getDefaultInstance() { + public static com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDatabaseOperationsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDatabaseOperationsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1384,8 +1261,9 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest - getDefaultInstanceForType() { + public com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsRequestOrBuilder.java similarity index 85% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsRequestOrBuilder.java index e020307e57f..9dac6e6a6f1 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsRequestOrBuilder.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/spanner/admin/database/v1/spanner_database_admin.proto package com.google.spanner.admin.database.v1; -public interface ListDatabaseOperationsRequestOrBuilder - extends +public interface ListDatabaseOperationsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.ListDatabaseOperationsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The instance of the database operations.
    * Values are of the form `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 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 instance of the database operations.
    * Values are of the form `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 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(); /** - * - * *
    * An expression that filters the list of returned operations.
    * A filter expression consists of a field name, a
@@ -97,13 +70,10 @@ public interface ListDatabaseOperationsRequestOrBuilder
    * 
* * string filter = 2; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * An expression that filters the list of returned operations.
    * A filter expression consists of a field name, a
@@ -144,28 +114,23 @@ public interface ListDatabaseOperationsRequestOrBuilder
    * 
* * string filter = 2; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Number of operations to be returned in the response. If 0 or
    * less, defaults to the server's maximum allowed page size.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.database.v1.ListDatabaseOperationsResponse.next_page_token]
@@ -174,13 +139,10 @@ public interface ListDatabaseOperationsRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.database.v1.ListDatabaseOperationsResponse.next_page_token]
@@ -189,8 +151,8 @@ public interface ListDatabaseOperationsRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsResponse.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsResponse.java similarity index 74% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsResponse.java index 763faff8830..780f58d523d 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsResponse.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/spanner/admin/database/v1/spanner_database_admin.proto package com.google.spanner.admin.database.v1; /** - * - * *
  * The response for
  * [ListDatabaseOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations].
@@ -28,17 +11,15 @@
  *
  * Protobuf type {@code google.spanner.admin.database.v1.ListDatabaseOperationsResponse}
  */
-public final class ListDatabaseOperationsResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListDatabaseOperationsResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.ListDatabaseOperationsResponse)
     ListDatabaseOperationsResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListDatabaseOperationsResponse.newBuilder() to construct.
-  private ListDatabaseOperationsResponse(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private ListDatabaseOperationsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListDatabaseOperationsResponse() {
     operations_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -46,37 +27,33 @@ private ListDatabaseOperationsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListDatabaseOperationsResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-        .internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-        .internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsResponse_fieldAccessorTable
+    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse.class,
-            com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse.Builder.class);
+            com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse.class, com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse.Builder.class);
   }
 
   public static final int OPERATIONS_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private java.util.List operations_;
   /**
-   *
-   *
    * 
    * The list of matching database [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -92,8 +69,6 @@ public java.util.List getOperationsList() {
     return operations_;
   }
   /**
-   *
-   *
    * 
    * The list of matching database [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -105,13 +80,11 @@ public java.util.List getOperationsList() {
    * repeated .google.longrunning.Operation operations = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getOperationsOrBuilderList() {
     return operations_;
   }
   /**
-   *
-   *
    * 
    * The list of matching database [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -127,8 +100,6 @@ public int getOperationsCount() {
     return operations_.size();
   }
   /**
-   *
-   *
    * 
    * The list of matching database [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -144,8 +115,6 @@ public com.google.longrunning.Operation getOperations(int index) {
     return operations_.get(index);
   }
   /**
-   *
-   *
    * 
    * The list of matching database [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -157,17 +126,15 @@ public com.google.longrunning.Operation getOperations(int index) {
    * repeated .google.longrunning.Operation operations = 1;
    */
   @java.lang.Override
-  public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(int index) {
+  public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(
+      int index) {
     return operations_.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
    * [ListDatabaseOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations]
@@ -175,7 +142,6 @@ public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(int inde
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -184,15 +150,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
    * [ListDatabaseOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations]
@@ -200,15 +165,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 { @@ -217,7 +183,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -229,7 +194,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < operations_.size(); i++) { output.writeMessage(1, operations_.get(i)); } @@ -246,7 +212,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < operations_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, operations_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, operations_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -259,16 +226,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.spanner.admin.database.v1.ListDatabaseOperationsResponse)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse other = - (com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse) obj; + com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse other = (com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse) obj; - if (!getOperationsList().equals(other.getOperationsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getOperationsList() + .equals(other.getOperationsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -292,105 +260,96 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse - 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.spanner.admin.database.v1.ListDatabaseOperationsResponse 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.spanner.admin.database.v1.ListDatabaseOperationsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse prototype) { + public static Builder newBuilder(com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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
    * [ListDatabaseOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations].
@@ -398,33 +357,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.database.v1.ListDatabaseOperationsResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.ListDatabaseOperationsResponse)
       com.google.spanner.admin.database.v1.ListDatabaseOperationsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-          .internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-          .internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsResponse_fieldAccessorTable
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse.class,
-              com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse.Builder.class);
+              com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse.class, com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse.Builder.class);
     }
 
-    // Construct using
-    // com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse.newBuilder()
-    private Builder() {}
+    // Construct using com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse.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();
@@ -441,16 +400,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-          .internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsResponse_descriptor;
     }
 
     @java.lang.Override
-    public com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse
-        getDefaultInstanceForType() {
-      return com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse
-          .getDefaultInstance();
+    public com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse getDefaultInstanceForType() {
+      return com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse.getDefaultInstance();
     }
 
     @java.lang.Override
@@ -464,18 +421,14 @@ public com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse build
 
     @java.lang.Override
     public com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse buildPartial() {
-      com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse result =
-          new com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse(this);
+      com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse result = new com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse result) {
+    private void buildPartialRepeatedFields(com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse result) {
       if (operationsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           operations_ = java.util.Collections.unmodifiableList(operations_);
@@ -487,8 +440,7 @@ private void buildPartialRepeatedFields(
       }
     }
 
-    private void buildPartial0(
-        com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse result) {
+    private void buildPartial0(com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000002) != 0)) {
         result.nextPageToken_ = nextPageToken_;
@@ -499,51 +451,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.spanner.admin.database.v1.ListDatabaseOperationsResponse) {
-        return mergeFrom(
-            (com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse) other);
+        return mergeFrom((com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse other) {
-      if (other
-          == com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse other) {
+      if (other == com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse.getDefaultInstance()) return this;
       if (operationsBuilder_ == null) {
         if (!other.operations_.isEmpty()) {
           if (operations_.isEmpty()) {
@@ -562,10 +509,9 @@ public Builder mergeFrom(
             operationsBuilder_ = null;
             operations_ = other.operations_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            operationsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getOperationsFieldBuilder()
-                    : null;
+            operationsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getOperationsFieldBuilder() : null;
           } else {
             operationsBuilder_.addAllMessages(other.operations_);
           }
@@ -602,31 +548,30 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.longrunning.Operation m =
-                    input.readMessage(com.google.longrunning.Operation.parser(), extensionRegistry);
-                if (operationsBuilder_ == null) {
-                  ensureOperationsIsMutable();
-                  operations_.add(m);
-                } else {
-                  operationsBuilder_.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.longrunning.Operation m =
+                  input.readMessage(
+                      com.google.longrunning.Operation.parser(),
+                      extensionRegistry);
+              if (operationsBuilder_ == null) {
+                ensureOperationsIsMutable();
+                operations_.add(m);
+              } else {
+                operationsBuilder_.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) {
@@ -636,28 +581,21 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List operations_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureOperationsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         operations_ = new java.util.ArrayList(operations_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.longrunning.Operation,
-            com.google.longrunning.Operation.Builder,
-            com.google.longrunning.OperationOrBuilder>
-        operationsBuilder_;
+        com.google.longrunning.Operation, com.google.longrunning.Operation.Builder, com.google.longrunning.OperationOrBuilder> operationsBuilder_;
 
     /**
-     *
-     *
      * 
      * The list of matching database [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -676,8 +614,6 @@ public java.util.List getOperationsList() {
       }
     }
     /**
-     *
-     *
      * 
      * The list of matching database [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -696,8 +632,6 @@ public int getOperationsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The list of matching database [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -716,8 +650,6 @@ public com.google.longrunning.Operation getOperations(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The list of matching database [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -728,7 +660,8 @@ public com.google.longrunning.Operation getOperations(int index) {
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public Builder setOperations(int index, com.google.longrunning.Operation value) {
+    public Builder setOperations(
+        int index, com.google.longrunning.Operation value) {
       if (operationsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -742,8 +675,6 @@ public Builder setOperations(int index, com.google.longrunning.Operation value)
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching database [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -766,8 +697,6 @@ public Builder setOperations(
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching database [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -792,8 +721,6 @@ public Builder addOperations(com.google.longrunning.Operation value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching database [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -804,7 +731,8 @@ public Builder addOperations(com.google.longrunning.Operation value) {
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public Builder addOperations(int index, com.google.longrunning.Operation value) {
+    public Builder addOperations(
+        int index, com.google.longrunning.Operation value) {
       if (operationsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -818,8 +746,6 @@ public Builder addOperations(int index, com.google.longrunning.Operation value)
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching database [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -830,7 +756,8 @@ public Builder addOperations(int index, com.google.longrunning.Operation value)
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public Builder addOperations(com.google.longrunning.Operation.Builder builderForValue) {
+    public Builder addOperations(
+        com.google.longrunning.Operation.Builder builderForValue) {
       if (operationsBuilder_ == null) {
         ensureOperationsIsMutable();
         operations_.add(builderForValue.build());
@@ -841,8 +768,6 @@ public Builder addOperations(com.google.longrunning.Operation.Builder builderFor
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching database [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -865,8 +790,6 @@ public Builder addOperations(
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching database [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -881,7 +804,8 @@ public Builder addAllOperations(
         java.lang.Iterable values) {
       if (operationsBuilder_ == null) {
         ensureOperationsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, operations_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, operations_);
         onChanged();
       } else {
         operationsBuilder_.addAllMessages(values);
@@ -889,8 +813,6 @@ public Builder addAllOperations(
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching database [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -912,8 +834,6 @@ public Builder clearOperations() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching database [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -935,8 +855,6 @@ public Builder removeOperations(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching database [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -947,12 +865,11 @@ public Builder removeOperations(int index) {
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public com.google.longrunning.Operation.Builder getOperationsBuilder(int index) {
+    public com.google.longrunning.Operation.Builder getOperationsBuilder(
+        int index) {
       return getOperationsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The list of matching database [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -963,16 +880,14 @@ public com.google.longrunning.Operation.Builder getOperationsBuilder(int index)
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(int index) {
+    public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(
+        int index) {
       if (operationsBuilder_ == null) {
-        return operations_.get(index);
-      } else {
+        return operations_.get(index);  } else {
         return operationsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The list of matching database [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -983,8 +898,8 @@ public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(int inde
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public java.util.List
-        getOperationsOrBuilderList() {
+    public java.util.List 
+         getOperationsOrBuilderList() {
       if (operationsBuilder_ != null) {
         return operationsBuilder_.getMessageOrBuilderList();
       } else {
@@ -992,8 +907,6 @@ public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(int inde
       }
     }
     /**
-     *
-     *
      * 
      * The list of matching database [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -1005,12 +918,10 @@ public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(int inde
      * repeated .google.longrunning.Operation operations = 1;
      */
     public com.google.longrunning.Operation.Builder addOperationsBuilder() {
-      return getOperationsFieldBuilder()
-          .addBuilder(com.google.longrunning.Operation.getDefaultInstance());
+      return getOperationsFieldBuilder().addBuilder(
+          com.google.longrunning.Operation.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The list of matching database [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -1021,13 +932,12 @@ public com.google.longrunning.Operation.Builder addOperationsBuilder() {
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public com.google.longrunning.Operation.Builder addOperationsBuilder(int index) {
-      return getOperationsFieldBuilder()
-          .addBuilder(index, com.google.longrunning.Operation.getDefaultInstance());
+    public com.google.longrunning.Operation.Builder addOperationsBuilder(
+        int index) {
+      return getOperationsFieldBuilder().addBuilder(
+          index, com.google.longrunning.Operation.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The list of matching database [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -1038,22 +948,20 @@ public com.google.longrunning.Operation.Builder addOperationsBuilder(int index)
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public java.util.List getOperationsBuilderList() {
+    public java.util.List 
+         getOperationsBuilderList() {
       return getOperationsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.longrunning.Operation,
-            com.google.longrunning.Operation.Builder,
-            com.google.longrunning.OperationOrBuilder>
+        com.google.longrunning.Operation, com.google.longrunning.Operation.Builder, com.google.longrunning.OperationOrBuilder> 
         getOperationsFieldBuilder() {
       if (operationsBuilder_ == null) {
-        operationsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.longrunning.Operation,
-                com.google.longrunning.Operation.Builder,
-                com.google.longrunning.OperationOrBuilder>(
-                operations_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        operationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.longrunning.Operation, com.google.longrunning.Operation.Builder, com.google.longrunning.OperationOrBuilder>(
+                operations_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         operations_ = null;
       }
       return operationsBuilder_;
@@ -1061,8 +969,6 @@ public java.util.List getOperationsBui
 
     private java.lang.Object nextPageToken_ = "";
     /**
-     *
-     *
      * 
      * `next_page_token` can be sent in a subsequent
      * [ListDatabaseOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations]
@@ -1070,13 +976,13 @@ public java.util.List getOperationsBui
      * 
* * 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; @@ -1085,8 +991,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListDatabaseOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations]
@@ -1094,14 +998,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 { @@ -1109,8 +1014,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListDatabaseOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations]
@@ -1118,22 +1021,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
      * [ListDatabaseOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations]
@@ -1141,7 +1040,6 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1151,8 +1049,6 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListDatabaseOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations]
@@ -1160,23 +1056,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); } @@ -1186,43 +1080,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.ListDatabaseOperationsResponse) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.ListDatabaseOperationsResponse) - private static final com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse - DEFAULT_INSTANCE; - + private static final com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse(); } - public static com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse - getDefaultInstance() { + public static com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDatabaseOperationsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDatabaseOperationsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1234,8 +1126,9 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse - getDefaultInstanceForType() { + public com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsResponseOrBuilder.java similarity index 78% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsResponseOrBuilder.java index 786c6fc2317..fee7430e1b8 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsResponseOrBuilder.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/spanner/admin/database/v1/spanner_database_admin.proto package com.google.spanner.admin.database.v1; -public interface ListDatabaseOperationsResponseOrBuilder - extends +public interface ListDatabaseOperationsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.ListDatabaseOperationsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of matching database [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -36,10 +18,9 @@ public interface ListDatabaseOperationsResponseOrBuilder
    *
    * repeated .google.longrunning.Operation operations = 1;
    */
-  java.util.List getOperationsList();
+  java.util.List 
+      getOperationsList();
   /**
-   *
-   *
    * 
    * The list of matching database [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -52,8 +33,6 @@ public interface ListDatabaseOperationsResponseOrBuilder
    */
   com.google.longrunning.Operation getOperations(int index);
   /**
-   *
-   *
    * 
    * The list of matching database [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -66,8 +45,6 @@ public interface ListDatabaseOperationsResponseOrBuilder
    */
   int getOperationsCount();
   /**
-   *
-   *
    * 
    * The list of matching database [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -78,10 +55,9 @@ public interface ListDatabaseOperationsResponseOrBuilder
    *
    * repeated .google.longrunning.Operation operations = 1;
    */
-  java.util.List getOperationsOrBuilderList();
+  java.util.List 
+      getOperationsOrBuilderList();
   /**
-   *
-   *
    * 
    * The list of matching database [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -92,11 +68,10 @@ public interface ListDatabaseOperationsResponseOrBuilder
    *
    * repeated .google.longrunning.Operation operations = 1;
    */
-  com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(int index);
+  com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * `next_page_token` can be sent in a subsequent
    * [ListDatabaseOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations]
@@ -104,13 +79,10 @@ public interface ListDatabaseOperationsResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * `next_page_token` can be sent in a subsequent
    * [ListDatabaseOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations]
@@ -118,8 +90,8 @@ public interface ListDatabaseOperationsResponseOrBuilder
    * 
* * 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-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesRequest.java similarity index 68% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesRequest.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesRequest.java index 4b7453090ce..f5f05e15433 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesRequest.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/spanner/admin/database/v1/spanner_database_admin.proto package com.google.spanner.admin.database.v1; /** - * - * *
  * The request for [ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles].
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.ListDatabaseRolesRequest} */ -public final class ListDatabaseRolesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListDatabaseRolesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.ListDatabaseRolesRequest) ListDatabaseRolesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListDatabaseRolesRequest.newBuilder() to construct. private ListDatabaseRolesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListDatabaseRolesRequest() { parent_ = ""; pageToken_ = ""; @@ -44,47 +26,40 @@ private ListDatabaseRolesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListDatabaseRolesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_ListDatabaseRolesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabaseRolesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_ListDatabaseRolesRequest_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabaseRolesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.ListDatabaseRolesRequest.class, - com.google.spanner.admin.database.v1.ListDatabaseRolesRequest.Builder.class); + com.google.spanner.admin.database.v1.ListDatabaseRolesRequest.class, com.google.spanner.admin.database.v1.ListDatabaseRolesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The database whose roles should be listed.
    * Values are of the form
    * `projects/<project>/instances/<instance>/databases/<database>/databaseRoles`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -93,33 +68,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 database whose roles should be listed.
    * Values are of the form
    * `projects/<project>/instances/<instance>/databases/<database>/databaseRoles`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -130,15 +103,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * Number of database roles to be returned in the response. If 0 or less,
    * defaults to the server's maximum allowed page size.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -147,12 +117,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.database.v1.ListDatabaseRolesResponse.next_page_token] from a
@@ -160,7 +127,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -169,15 +135,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.spanner.admin.database.v1.ListDatabaseRolesResponse.next_page_token] from a
@@ -185,15 +150,16 @@ public java.lang.String getPageToken() {
    * 
* * 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 { @@ -202,7 +168,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -214,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(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -237,7 +203,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_); @@ -250,17 +217,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.spanner.admin.database.v1.ListDatabaseRolesRequest)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.ListDatabaseRolesRequest other = - (com.google.spanner.admin.database.v1.ListDatabaseRolesRequest) obj; + com.google.spanner.admin.database.v1.ListDatabaseRolesRequest other = (com.google.spanner.admin.database.v1.ListDatabaseRolesRequest) 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; } @@ -284,136 +253,129 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.ListDatabaseRolesRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.ListDatabaseRolesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.ListDatabaseRolesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.ListDatabaseRolesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.ListDatabaseRolesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.ListDatabaseRolesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.ListDatabaseRolesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.ListDatabaseRolesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.ListDatabaseRolesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.ListDatabaseRolesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.ListDatabaseRolesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.ListDatabaseRolesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.ListDatabaseRolesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.ListDatabaseRolesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.database.v1.ListDatabaseRolesRequest prototype) { + public static Builder newBuilder(com.google.spanner.admin.database.v1.ListDatabaseRolesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles].
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.ListDatabaseRolesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.ListDatabaseRolesRequest) com.google.spanner.admin.database.v1.ListDatabaseRolesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_ListDatabaseRolesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabaseRolesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_ListDatabaseRolesRequest_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabaseRolesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.ListDatabaseRolesRequest.class, - com.google.spanner.admin.database.v1.ListDatabaseRolesRequest.Builder.class); + com.google.spanner.admin.database.v1.ListDatabaseRolesRequest.class, com.google.spanner.admin.database.v1.ListDatabaseRolesRequest.Builder.class); } // Construct using com.google.spanner.admin.database.v1.ListDatabaseRolesRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -425,14 +387,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_ListDatabaseRolesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabaseRolesRequest_descriptor; } @java.lang.Override - public com.google.spanner.admin.database.v1.ListDatabaseRolesRequest - getDefaultInstanceForType() { + public com.google.spanner.admin.database.v1.ListDatabaseRolesRequest getDefaultInstanceForType() { return com.google.spanner.admin.database.v1.ListDatabaseRolesRequest.getDefaultInstance(); } @@ -447,17 +408,13 @@ public com.google.spanner.admin.database.v1.ListDatabaseRolesRequest build() { @java.lang.Override public com.google.spanner.admin.database.v1.ListDatabaseRolesRequest buildPartial() { - com.google.spanner.admin.database.v1.ListDatabaseRolesRequest result = - new com.google.spanner.admin.database.v1.ListDatabaseRolesRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.admin.database.v1.ListDatabaseRolesRequest result = new com.google.spanner.admin.database.v1.ListDatabaseRolesRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.spanner.admin.database.v1.ListDatabaseRolesRequest result) { + private void buildPartial0(com.google.spanner.admin.database.v1.ListDatabaseRolesRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -474,39 +431,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.spanner.admin.database.v1.ListDatabaseRolesRequest) { - return mergeFrom((com.google.spanner.admin.database.v1.ListDatabaseRolesRequest) other); + return mergeFrom((com.google.spanner.admin.database.v1.ListDatabaseRolesRequest)other); } else { super.mergeFrom(other); return this; @@ -514,9 +470,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.admin.database.v1.ListDatabaseRolesRequest other) { - if (other - == com.google.spanner.admin.database.v1.ListDatabaseRolesRequest.getDefaultInstance()) - return this; + if (other == com.google.spanner.admin.database.v1.ListDatabaseRolesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -556,31 +510,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) { @@ -590,29 +540,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The database whose roles should be listed.
      * Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>/databaseRoles`.
      * 
* - * - * string parent = 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,25 +566,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The database whose roles should be listed.
      * Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>/databaseRoles`.
      * 
* - * - * string parent = 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 { @@ -647,43 +589,32 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The database whose roles should be listed.
      * Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>/databaseRoles`.
      * 
* - * - * 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 database whose roles should be listed.
      * Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>/databaseRoles`.
      * 
* - * - * string 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() { @@ -693,25 +624,19 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The database whose roles should be listed.
      * Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>/databaseRoles`.
      * 
* - * - * 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; @@ -719,17 +644,14 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Number of database roles to be returned in the response. If 0 or less,
      * defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -737,35 +659,29 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Number of database roles to be returned in the response. If 0 or less,
      * defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Number of database roles to be returned in the response. If 0 or less,
      * defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -777,8 +693,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListDatabaseRolesResponse.next_page_token] from a
@@ -786,13 +700,13 @@ public Builder clearPageSize() {
      * 
* * 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; @@ -801,8 +715,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListDatabaseRolesResponse.next_page_token] from a
@@ -810,14 +722,15 @@ public java.lang.String getPageToken() {
      * 
* * 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 { @@ -825,8 +738,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListDatabaseRolesResponse.next_page_token] from a
@@ -834,22 +745,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * 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; } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListDatabaseRolesResponse.next_page_token] from a
@@ -857,7 +764,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -867,8 +773,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListDatabaseRolesResponse.next_page_token] from a
@@ -876,23 +780,21 @@ public Builder clearPageToken() {
      * 
* * 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); } @@ -902,13 +804,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.ListDatabaseRolesRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.ListDatabaseRolesRequest) - private static final com.google.spanner.admin.database.v1.ListDatabaseRolesRequest - DEFAULT_INSTANCE; - + private static final com.google.spanner.admin.database.v1.ListDatabaseRolesRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.ListDatabaseRolesRequest(); } @@ -917,27 +818,27 @@ public static com.google.spanner.admin.database.v1.ListDatabaseRolesRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDatabaseRolesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDatabaseRolesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -952,4 +853,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.ListDatabaseRolesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesRequestOrBuilder.java similarity index 63% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesRequestOrBuilder.java index c9537a1b835..68535413a63 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesRequestOrBuilder.java @@ -1,78 +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/spanner/admin/database/v1/spanner_database_admin.proto package com.google.spanner.admin.database.v1; -public interface ListDatabaseRolesRequestOrBuilder - extends +public interface ListDatabaseRolesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.ListDatabaseRolesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The database whose roles should be listed.
    * Values are of the form
    * `projects/<project>/instances/<instance>/databases/<database>/databaseRoles`.
    * 
* - * - * string parent = 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 database whose roles should be listed.
    * Values are of the form
    * `projects/<project>/instances/<instance>/databases/<database>/databaseRoles`.
    * 
* - * - * string parent = 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(); /** - * - * *
    * Number of database roles to be returned in the response. If 0 or less,
    * defaults to the server's maximum allowed page size.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.database.v1.ListDatabaseRolesResponse.next_page_token] from a
@@ -80,13 +50,10 @@ public interface ListDatabaseRolesRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.database.v1.ListDatabaseRolesResponse.next_page_token] from a
@@ -94,8 +61,8 @@ public interface ListDatabaseRolesRequestOrBuilder
    * 
* * 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-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesResponse.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesResponse.java similarity index 72% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesResponse.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesResponse.java index ac539aa5acf..1e7c67eea88 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesResponse.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/spanner/admin/database/v1/spanner_database_admin.proto package com.google.spanner.admin.database.v1; /** - * - * *
  * The response for [ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles].
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.ListDatabaseRolesResponse} */ -public final class ListDatabaseRolesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListDatabaseRolesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.ListDatabaseRolesResponse) ListDatabaseRolesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListDatabaseRolesResponse.newBuilder() to construct. private ListDatabaseRolesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListDatabaseRolesResponse() { databaseRoles_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,37 +26,33 @@ private ListDatabaseRolesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListDatabaseRolesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_ListDatabaseRolesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabaseRolesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_ListDatabaseRolesResponse_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabaseRolesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.ListDatabaseRolesResponse.class, - com.google.spanner.admin.database.v1.ListDatabaseRolesResponse.Builder.class); + com.google.spanner.admin.database.v1.ListDatabaseRolesResponse.class, com.google.spanner.admin.database.v1.ListDatabaseRolesResponse.Builder.class); } public static final int DATABASE_ROLES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List databaseRoles_; /** - * - * *
    * Database roles that matched the request.
    * 
@@ -86,8 +64,6 @@ public java.util.List getData return databaseRoles_; } /** - * - * *
    * Database roles that matched the request.
    * 
@@ -95,13 +71,11 @@ public java.util.List getData * repeated .google.spanner.admin.database.v1.DatabaseRole database_roles = 1; */ @java.lang.Override - public java.util.List + public java.util.List getDatabaseRolesOrBuilderList() { return databaseRoles_; } /** - * - * *
    * Database roles that matched the request.
    * 
@@ -113,8 +87,6 @@ public int getDatabaseRolesCount() { return databaseRoles_.size(); } /** - * - * *
    * Database roles that matched the request.
    * 
@@ -126,8 +98,6 @@ public com.google.spanner.admin.database.v1.DatabaseRole getDatabaseRoles(int in return databaseRoles_.get(index); } /** - * - * *
    * Database roles that matched the request.
    * 
@@ -141,12 +111,9 @@ public com.google.spanner.admin.database.v1.DatabaseRoleOrBuilder getDatabaseRol } 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
    * [ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles]
@@ -154,7 +121,6 @@ public com.google.spanner.admin.database.v1.DatabaseRoleOrBuilder getDatabaseRol
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -163,15 +129,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
    * [ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles]
@@ -179,15 +144,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 +162,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -208,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 { for (int i = 0; i < databaseRoles_.size(); i++) { output.writeMessage(1, databaseRoles_.get(i)); } @@ -225,7 +191,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < databaseRoles_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, databaseRoles_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, databaseRoles_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -238,16 +205,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.spanner.admin.database.v1.ListDatabaseRolesResponse)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.ListDatabaseRolesResponse other = - (com.google.spanner.admin.database.v1.ListDatabaseRolesResponse) obj; + com.google.spanner.admin.database.v1.ListDatabaseRolesResponse other = (com.google.spanner.admin.database.v1.ListDatabaseRolesResponse) obj; - if (!getDatabaseRolesList().equals(other.getDatabaseRolesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getDatabaseRolesList() + .equals(other.getDatabaseRolesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -271,136 +239,129 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.ListDatabaseRolesResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.ListDatabaseRolesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.ListDatabaseRolesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.ListDatabaseRolesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.ListDatabaseRolesResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.admin.database.v1.ListDatabaseRolesResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.ListDatabaseRolesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.ListDatabaseRolesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.ListDatabaseRolesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.ListDatabaseRolesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.ListDatabaseRolesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.ListDatabaseRolesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.ListDatabaseRolesResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.ListDatabaseRolesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.ListDatabaseRolesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.database.v1.ListDatabaseRolesResponse prototype) { + public static Builder newBuilder(com.google.spanner.admin.database.v1.ListDatabaseRolesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles].
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.ListDatabaseRolesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.ListDatabaseRolesResponse) com.google.spanner.admin.database.v1.ListDatabaseRolesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_ListDatabaseRolesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabaseRolesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_ListDatabaseRolesResponse_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabaseRolesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.ListDatabaseRolesResponse.class, - com.google.spanner.admin.database.v1.ListDatabaseRolesResponse.Builder.class); + com.google.spanner.admin.database.v1.ListDatabaseRolesResponse.class, com.google.spanner.admin.database.v1.ListDatabaseRolesResponse.Builder.class); } // Construct using com.google.spanner.admin.database.v1.ListDatabaseRolesResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.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,14 +378,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_ListDatabaseRolesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabaseRolesResponse_descriptor; } @java.lang.Override - public com.google.spanner.admin.database.v1.ListDatabaseRolesResponse - getDefaultInstanceForType() { + public com.google.spanner.admin.database.v1.ListDatabaseRolesResponse getDefaultInstanceForType() { return com.google.spanner.admin.database.v1.ListDatabaseRolesResponse.getDefaultInstance(); } @@ -439,18 +399,14 @@ public com.google.spanner.admin.database.v1.ListDatabaseRolesResponse build() { @java.lang.Override public com.google.spanner.admin.database.v1.ListDatabaseRolesResponse buildPartial() { - com.google.spanner.admin.database.v1.ListDatabaseRolesResponse result = - new com.google.spanner.admin.database.v1.ListDatabaseRolesResponse(this); + com.google.spanner.admin.database.v1.ListDatabaseRolesResponse result = new com.google.spanner.admin.database.v1.ListDatabaseRolesResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.spanner.admin.database.v1.ListDatabaseRolesResponse result) { + private void buildPartialRepeatedFields(com.google.spanner.admin.database.v1.ListDatabaseRolesResponse result) { if (databaseRolesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { databaseRoles_ = java.util.Collections.unmodifiableList(databaseRoles_); @@ -462,8 +418,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.spanner.admin.database.v1.ListDatabaseRolesResponse result) { + private void buildPartial0(com.google.spanner.admin.database.v1.ListDatabaseRolesResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -474,39 +429,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.spanner.admin.database.v1.ListDatabaseRolesResponse) { - return mergeFrom((com.google.spanner.admin.database.v1.ListDatabaseRolesResponse) other); + return mergeFrom((com.google.spanner.admin.database.v1.ListDatabaseRolesResponse)other); } else { super.mergeFrom(other); return this; @@ -514,9 +468,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.admin.database.v1.ListDatabaseRolesResponse other) { - if (other - == com.google.spanner.admin.database.v1.ListDatabaseRolesResponse.getDefaultInstance()) - return this; + if (other == com.google.spanner.admin.database.v1.ListDatabaseRolesResponse.getDefaultInstance()) return this; if (databaseRolesBuilder_ == null) { if (!other.databaseRoles_.isEmpty()) { if (databaseRoles_.isEmpty()) { @@ -535,10 +487,9 @@ public Builder mergeFrom(com.google.spanner.admin.database.v1.ListDatabaseRolesR databaseRolesBuilder_ = null; databaseRoles_ = other.databaseRoles_; bitField0_ = (bitField0_ & ~0x00000001); - databaseRolesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getDatabaseRolesFieldBuilder() - : null; + databaseRolesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getDatabaseRolesFieldBuilder() : null; } else { databaseRolesBuilder_.addAllMessages(other.databaseRoles_); } @@ -575,33 +526,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.spanner.admin.database.v1.DatabaseRole m = - input.readMessage( - com.google.spanner.admin.database.v1.DatabaseRole.parser(), - extensionRegistry); - if (databaseRolesBuilder_ == null) { - ensureDatabaseRolesIsMutable(); - databaseRoles_.add(m); - } else { - databaseRolesBuilder_.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.spanner.admin.database.v1.DatabaseRole m = + input.readMessage( + com.google.spanner.admin.database.v1.DatabaseRole.parser(), + extensionRegistry); + if (databaseRolesBuilder_ == null) { + ensureDatabaseRolesIsMutable(); + databaseRoles_.add(m); + } else { + databaseRolesBuilder_.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) { @@ -611,38 +559,28 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List databaseRoles_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureDatabaseRolesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - databaseRoles_ = - new java.util.ArrayList( - databaseRoles_); + databaseRoles_ = new java.util.ArrayList(databaseRoles_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.admin.database.v1.DatabaseRole, - com.google.spanner.admin.database.v1.DatabaseRole.Builder, - com.google.spanner.admin.database.v1.DatabaseRoleOrBuilder> - databaseRolesBuilder_; + com.google.spanner.admin.database.v1.DatabaseRole, com.google.spanner.admin.database.v1.DatabaseRole.Builder, com.google.spanner.admin.database.v1.DatabaseRoleOrBuilder> databaseRolesBuilder_; /** - * - * *
      * Database roles that matched the request.
      * 
* * repeated .google.spanner.admin.database.v1.DatabaseRole database_roles = 1; */ - public java.util.List - getDatabaseRolesList() { + public java.util.List getDatabaseRolesList() { if (databaseRolesBuilder_ == null) { return java.util.Collections.unmodifiableList(databaseRoles_); } else { @@ -650,8 +588,6 @@ private void ensureDatabaseRolesIsMutable() { } } /** - * - * *
      * Database roles that matched the request.
      * 
@@ -666,8 +602,6 @@ public int getDatabaseRolesCount() { } } /** - * - * *
      * Database roles that matched the request.
      * 
@@ -682,8 +616,6 @@ public com.google.spanner.admin.database.v1.DatabaseRole getDatabaseRoles(int in } } /** - * - * *
      * Database roles that matched the request.
      * 
@@ -705,8 +637,6 @@ public Builder setDatabaseRoles( return this; } /** - * - * *
      * Database roles that matched the request.
      * 
@@ -725,8 +655,6 @@ public Builder setDatabaseRoles( return this; } /** - * - * *
      * Database roles that matched the request.
      * 
@@ -747,8 +675,6 @@ public Builder addDatabaseRoles(com.google.spanner.admin.database.v1.DatabaseRol return this; } /** - * - * *
      * Database roles that matched the request.
      * 
@@ -770,8 +696,6 @@ public Builder addDatabaseRoles( return this; } /** - * - * *
      * Database roles that matched the request.
      * 
@@ -790,8 +714,6 @@ public Builder addDatabaseRoles( return this; } /** - * - * *
      * Database roles that matched the request.
      * 
@@ -810,8 +732,6 @@ public Builder addDatabaseRoles( return this; } /** - * - * *
      * Database roles that matched the request.
      * 
@@ -822,7 +742,8 @@ public Builder addAllDatabaseRoles( java.lang.Iterable values) { if (databaseRolesBuilder_ == null) { ensureDatabaseRolesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, databaseRoles_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, databaseRoles_); onChanged(); } else { databaseRolesBuilder_.addAllMessages(values); @@ -830,8 +751,6 @@ public Builder addAllDatabaseRoles( return this; } /** - * - * *
      * Database roles that matched the request.
      * 
@@ -849,8 +768,6 @@ public Builder clearDatabaseRoles() { return this; } /** - * - * *
      * Database roles that matched the request.
      * 
@@ -868,8 +785,6 @@ public Builder removeDatabaseRoles(int index) { return this; } /** - * - * *
      * Database roles that matched the request.
      * 
@@ -881,8 +796,6 @@ public com.google.spanner.admin.database.v1.DatabaseRole.Builder getDatabaseRole return getDatabaseRolesFieldBuilder().getBuilder(index); } /** - * - * *
      * Database roles that matched the request.
      * 
@@ -892,22 +805,19 @@ public com.google.spanner.admin.database.v1.DatabaseRole.Builder getDatabaseRole public com.google.spanner.admin.database.v1.DatabaseRoleOrBuilder getDatabaseRolesOrBuilder( int index) { if (databaseRolesBuilder_ == null) { - return databaseRoles_.get(index); - } else { + return databaseRoles_.get(index); } else { return databaseRolesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Database roles that matched the request.
      * 
* * repeated .google.spanner.admin.database.v1.DatabaseRole database_roles = 1; */ - public java.util.List - getDatabaseRolesOrBuilderList() { + public java.util.List + getDatabaseRolesOrBuilderList() { if (databaseRolesBuilder_ != null) { return databaseRolesBuilder_.getMessageOrBuilderList(); } else { @@ -915,8 +825,6 @@ public com.google.spanner.admin.database.v1.DatabaseRoleOrBuilder getDatabaseRol } } /** - * - * *
      * Database roles that matched the request.
      * 
@@ -924,12 +832,10 @@ public com.google.spanner.admin.database.v1.DatabaseRoleOrBuilder getDatabaseRol * repeated .google.spanner.admin.database.v1.DatabaseRole database_roles = 1; */ public com.google.spanner.admin.database.v1.DatabaseRole.Builder addDatabaseRolesBuilder() { - return getDatabaseRolesFieldBuilder() - .addBuilder(com.google.spanner.admin.database.v1.DatabaseRole.getDefaultInstance()); + return getDatabaseRolesFieldBuilder().addBuilder( + com.google.spanner.admin.database.v1.DatabaseRole.getDefaultInstance()); } /** - * - * *
      * Database roles that matched the request.
      * 
@@ -938,35 +844,26 @@ public com.google.spanner.admin.database.v1.DatabaseRole.Builder addDatabaseRole */ public com.google.spanner.admin.database.v1.DatabaseRole.Builder addDatabaseRolesBuilder( int index) { - return getDatabaseRolesFieldBuilder() - .addBuilder( - index, com.google.spanner.admin.database.v1.DatabaseRole.getDefaultInstance()); + return getDatabaseRolesFieldBuilder().addBuilder( + index, com.google.spanner.admin.database.v1.DatabaseRole.getDefaultInstance()); } /** - * - * *
      * Database roles that matched the request.
      * 
* * repeated .google.spanner.admin.database.v1.DatabaseRole database_roles = 1; */ - public java.util.List - getDatabaseRolesBuilderList() { + public java.util.List + getDatabaseRolesBuilderList() { return getDatabaseRolesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.admin.database.v1.DatabaseRole, - com.google.spanner.admin.database.v1.DatabaseRole.Builder, - com.google.spanner.admin.database.v1.DatabaseRoleOrBuilder> + com.google.spanner.admin.database.v1.DatabaseRole, com.google.spanner.admin.database.v1.DatabaseRole.Builder, com.google.spanner.admin.database.v1.DatabaseRoleOrBuilder> getDatabaseRolesFieldBuilder() { if (databaseRolesBuilder_ == null) { - databaseRolesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.admin.database.v1.DatabaseRole, - com.google.spanner.admin.database.v1.DatabaseRole.Builder, - com.google.spanner.admin.database.v1.DatabaseRoleOrBuilder>( + databaseRolesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.spanner.admin.database.v1.DatabaseRole, com.google.spanner.admin.database.v1.DatabaseRole.Builder, com.google.spanner.admin.database.v1.DatabaseRoleOrBuilder>( databaseRoles_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -978,8 +875,6 @@ public com.google.spanner.admin.database.v1.DatabaseRole.Builder addDatabaseRole private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles]
@@ -987,13 +882,13 @@ public com.google.spanner.admin.database.v1.DatabaseRole.Builder addDatabaseRole
      * 
* * 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; @@ -1002,8 +897,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles]
@@ -1011,14 +904,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 { @@ -1026,8 +920,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles]
@@ -1035,22 +927,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
      * [ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles]
@@ -1058,7 +946,6 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1068,8 +955,6 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles]
@@ -1077,23 +962,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); } @@ -1103,43 +986,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.ListDatabaseRolesResponse) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.ListDatabaseRolesResponse) - private static final com.google.spanner.admin.database.v1.ListDatabaseRolesResponse - DEFAULT_INSTANCE; - + private static final com.google.spanner.admin.database.v1.ListDatabaseRolesResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.ListDatabaseRolesResponse(); } - public static com.google.spanner.admin.database.v1.ListDatabaseRolesResponse - getDefaultInstance() { + public static com.google.spanner.admin.database.v1.ListDatabaseRolesResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDatabaseRolesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDatabaseRolesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1151,8 +1032,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.spanner.admin.database.v1.ListDatabaseRolesResponse - getDefaultInstanceForType() { + public com.google.spanner.admin.database.v1.ListDatabaseRolesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesResponseOrBuilder.java similarity index 71% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesResponseOrBuilder.java index 2189d1d743a..9e8beb567f3 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesResponseOrBuilder.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/spanner/admin/database/v1/spanner_database_admin.proto package com.google.spanner.admin.database.v1; -public interface ListDatabaseRolesResponseOrBuilder - extends +public interface ListDatabaseRolesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.ListDatabaseRolesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Database roles that matched the request.
    * 
* * repeated .google.spanner.admin.database.v1.DatabaseRole database_roles = 1; */ - java.util.List getDatabaseRolesList(); + java.util.List + getDatabaseRolesList(); /** - * - * *
    * Database roles that matched the request.
    * 
@@ -44,8 +25,6 @@ public interface ListDatabaseRolesResponseOrBuilder */ com.google.spanner.admin.database.v1.DatabaseRole getDatabaseRoles(int index); /** - * - * *
    * Database roles that matched the request.
    * 
@@ -54,30 +33,25 @@ public interface ListDatabaseRolesResponseOrBuilder */ int getDatabaseRolesCount(); /** - * - * *
    * Database roles that matched the request.
    * 
* * repeated .google.spanner.admin.database.v1.DatabaseRole database_roles = 1; */ - java.util.List + java.util.List getDatabaseRolesOrBuilderList(); /** - * - * *
    * Database roles that matched the request.
    * 
* * repeated .google.spanner.admin.database.v1.DatabaseRole database_roles = 1; */ - com.google.spanner.admin.database.v1.DatabaseRoleOrBuilder getDatabaseRolesOrBuilder(int index); + com.google.spanner.admin.database.v1.DatabaseRoleOrBuilder getDatabaseRolesOrBuilder( + int index); /** - * - * *
    * `next_page_token` can be sent in a subsequent
    * [ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles]
@@ -85,13 +59,10 @@ public interface ListDatabaseRolesResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * `next_page_token` can be sent in a subsequent
    * [ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles]
@@ -99,8 +70,8 @@ public interface ListDatabaseRolesResponseOrBuilder
    * 
* * 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-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesRequest.java similarity index 68% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesRequest.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesRequest.java index eac171f8df9..5711ed95ee8 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesRequest.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/spanner/admin/database/v1/spanner_database_admin.proto package com.google.spanner.admin.database.v1; /** - * - * *
  * The request for [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases].
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.ListDatabasesRequest} */ -public final class ListDatabasesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListDatabasesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.ListDatabasesRequest) ListDatabasesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListDatabasesRequest.newBuilder() to construct. private ListDatabasesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListDatabasesRequest() { parent_ = ""; pageToken_ = ""; @@ -44,46 +26,39 @@ private ListDatabasesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListDatabasesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_ListDatabasesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabasesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_ListDatabasesRequest_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabasesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.ListDatabasesRequest.class, - com.google.spanner.admin.database.v1.ListDatabasesRequest.Builder.class); + com.google.spanner.admin.database.v1.ListDatabasesRequest.class, com.google.spanner.admin.database.v1.ListDatabasesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The instance whose databases should be listed.
    * Values are of the form `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -92,32 +67,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 instance whose databases should be listed.
    * Values are of the form `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -128,15 +101,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_ = 0; /** - * - * *
    * Number of databases to be returned in the response. If 0 or less,
    * defaults to the server's maximum allowed page size.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -145,12 +115,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.database.v1.ListDatabasesResponse.next_page_token] from a
@@ -158,7 +125,6 @@ public int getPageSize() {
    * 
* * string page_token = 4; - * * @return The pageToken. */ @java.lang.Override @@ -167,15 +133,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.spanner.admin.database.v1.ListDatabasesResponse.next_page_token] from a
@@ -183,15 +148,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; - * * @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 { @@ -200,7 +166,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -212,7 +177,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -235,7 +201,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -248,17 +215,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.spanner.admin.database.v1.ListDatabasesRequest)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.ListDatabasesRequest other = - (com.google.spanner.admin.database.v1.ListDatabasesRequest) obj; + com.google.spanner.admin.database.v1.ListDatabasesRequest other = (com.google.spanner.admin.database.v1.ListDatabasesRequest) 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; } @@ -282,136 +251,129 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.ListDatabasesRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.ListDatabasesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.ListDatabasesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.ListDatabasesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.ListDatabasesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.ListDatabasesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.ListDatabasesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.ListDatabasesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.ListDatabasesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.ListDatabasesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.ListDatabasesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.ListDatabasesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.ListDatabasesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.ListDatabasesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.database.v1.ListDatabasesRequest prototype) { + public static Builder newBuilder(com.google.spanner.admin.database.v1.ListDatabasesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases].
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.ListDatabasesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.ListDatabasesRequest) com.google.spanner.admin.database.v1.ListDatabasesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_ListDatabasesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabasesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_ListDatabasesRequest_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabasesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.ListDatabasesRequest.class, - com.google.spanner.admin.database.v1.ListDatabasesRequest.Builder.class); + com.google.spanner.admin.database.v1.ListDatabasesRequest.class, com.google.spanner.admin.database.v1.ListDatabasesRequest.Builder.class); } // Construct using com.google.spanner.admin.database.v1.ListDatabasesRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -423,9 +385,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_ListDatabasesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabasesRequest_descriptor; } @java.lang.Override @@ -444,11 +406,8 @@ public com.google.spanner.admin.database.v1.ListDatabasesRequest build() { @java.lang.Override public com.google.spanner.admin.database.v1.ListDatabasesRequest buildPartial() { - com.google.spanner.admin.database.v1.ListDatabasesRequest result = - new com.google.spanner.admin.database.v1.ListDatabasesRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.admin.database.v1.ListDatabasesRequest result = new com.google.spanner.admin.database.v1.ListDatabasesRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -470,39 +429,38 @@ private void buildPartial0(com.google.spanner.admin.database.v1.ListDatabasesReq public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.admin.database.v1.ListDatabasesRequest) { - return mergeFrom((com.google.spanner.admin.database.v1.ListDatabasesRequest) other); + return mergeFrom((com.google.spanner.admin.database.v1.ListDatabasesRequest)other); } else { super.mergeFrom(other); return this; @@ -510,8 +468,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.admin.database.v1.ListDatabasesRequest other) { - if (other == com.google.spanner.admin.database.v1.ListDatabasesRequest.getDefaultInstance()) - return this; + if (other == com.google.spanner.admin.database.v1.ListDatabasesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -551,31 +508,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 24: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 24 - case 34: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - 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 24: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 24 + case 34: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + 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) { @@ -585,28 +538,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The instance whose databases 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; @@ -615,24 +563,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The instance whose databases 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 { @@ -640,41 +585,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The instance whose databases 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 instance whose databases 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() { @@ -684,24 +618,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The instance whose databases 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; @@ -709,17 +637,14 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Number of databases to be returned in the response. If 0 or less,
      * defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -727,35 +652,29 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Number of databases to be returned in the response. If 0 or less,
      * defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 3; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Number of databases to be returned in the response. If 0 or less,
      * defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 3; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -767,8 +686,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListDatabasesResponse.next_page_token] from a
@@ -776,13 +693,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4; - * * @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; @@ -791,8 +708,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListDatabasesResponse.next_page_token] from a
@@ -800,14 +715,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; - * * @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 { @@ -815,8 +731,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListDatabasesResponse.next_page_token] from a
@@ -824,22 +738,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 4; - * * @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; } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListDatabasesResponse.next_page_token] from a
@@ -847,7 +757,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 4; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -857,8 +766,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListDatabasesResponse.next_page_token] from a
@@ -866,23 +773,21 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; - * * @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); } @@ -892,12 +797,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.ListDatabasesRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.ListDatabasesRequest) private static final com.google.spanner.admin.database.v1.ListDatabasesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.ListDatabasesRequest(); } @@ -906,27 +811,27 @@ public static com.google.spanner.admin.database.v1.ListDatabasesRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDatabasesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDatabasesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,4 +846,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.ListDatabasesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesRequestOrBuilder.java similarity index 62% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesRequestOrBuilder.java index 89cfe991ec2..68aa03254af 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesRequestOrBuilder.java @@ -1,76 +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/spanner/admin/database/v1/spanner_database_admin.proto package com.google.spanner.admin.database.v1; -public interface ListDatabasesRequestOrBuilder - extends +public interface ListDatabasesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.ListDatabasesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The instance whose databases 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 instance whose databases 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(); /** - * - * *
    * Number of databases to be returned in the response. If 0 or less,
    * defaults to the server's maximum allowed page size.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.database.v1.ListDatabasesResponse.next_page_token] from a
@@ -78,13 +48,10 @@ public interface ListDatabasesRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.database.v1.ListDatabasesResponse.next_page_token] from a
@@ -92,8 +59,8 @@ public interface ListDatabasesRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesResponse.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesResponse.java similarity index 72% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesResponse.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesResponse.java index dd3ce964137..0ea5493b721 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesResponse.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/spanner/admin/database/v1/spanner_database_admin.proto package com.google.spanner.admin.database.v1; /** - * - * *
  * The response for [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases].
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.ListDatabasesResponse} */ -public final class ListDatabasesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListDatabasesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.ListDatabasesResponse) ListDatabasesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListDatabasesResponse.newBuilder() to construct. private ListDatabasesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListDatabasesResponse() { databases_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,37 +26,33 @@ private ListDatabasesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListDatabasesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_ListDatabasesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabasesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_ListDatabasesResponse_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabasesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.ListDatabasesResponse.class, - com.google.spanner.admin.database.v1.ListDatabasesResponse.Builder.class); + com.google.spanner.admin.database.v1.ListDatabasesResponse.class, com.google.spanner.admin.database.v1.ListDatabasesResponse.Builder.class); } public static final int DATABASES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List databases_; /** - * - * *
    * Databases that matched the request.
    * 
@@ -86,8 +64,6 @@ public java.util.List getDatabase return databases_; } /** - * - * *
    * Databases that matched the request.
    * 
@@ -95,13 +71,11 @@ public java.util.List getDatabase * repeated .google.spanner.admin.database.v1.Database databases = 1; */ @java.lang.Override - public java.util.List + public java.util.List getDatabasesOrBuilderList() { return databases_; } /** - * - * *
    * Databases that matched the request.
    * 
@@ -113,8 +87,6 @@ public int getDatabasesCount() { return databases_.size(); } /** - * - * *
    * Databases that matched the request.
    * 
@@ -126,8 +98,6 @@ public com.google.spanner.admin.database.v1.Database getDatabases(int index) { return databases_.get(index); } /** - * - * *
    * Databases that matched the request.
    * 
@@ -135,17 +105,15 @@ public com.google.spanner.admin.database.v1.Database getDatabases(int index) { * repeated .google.spanner.admin.database.v1.Database databases = 1; */ @java.lang.Override - public com.google.spanner.admin.database.v1.DatabaseOrBuilder getDatabasesOrBuilder(int index) { + public com.google.spanner.admin.database.v1.DatabaseOrBuilder getDatabasesOrBuilder( + int index) { return databases_.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
    * [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases] call to fetch more
@@ -153,7 +121,6 @@ public com.google.spanner.admin.database.v1.DatabaseOrBuilder getDatabasesOrBuil
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -162,15 +129,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
    * [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases] call to fetch more
@@ -178,15 +144,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 { @@ -195,7 +162,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -207,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 { for (int i = 0; i < databases_.size(); i++) { output.writeMessage(1, databases_.get(i)); } @@ -224,7 +191,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < databases_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, databases_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, databases_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -237,16 +205,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.spanner.admin.database.v1.ListDatabasesResponse)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.ListDatabasesResponse other = - (com.google.spanner.admin.database.v1.ListDatabasesResponse) obj; + com.google.spanner.admin.database.v1.ListDatabasesResponse other = (com.google.spanner.admin.database.v1.ListDatabasesResponse) obj; - if (!getDatabasesList().equals(other.getDatabasesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getDatabasesList() + .equals(other.getDatabasesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -270,136 +239,129 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.ListDatabasesResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.ListDatabasesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.ListDatabasesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.ListDatabasesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.ListDatabasesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.ListDatabasesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.ListDatabasesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.ListDatabasesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.ListDatabasesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.ListDatabasesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.ListDatabasesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.ListDatabasesResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.ListDatabasesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.ListDatabasesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.database.v1.ListDatabasesResponse prototype) { + public static Builder newBuilder(com.google.spanner.admin.database.v1.ListDatabasesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases].
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.ListDatabasesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.ListDatabasesResponse) com.google.spanner.admin.database.v1.ListDatabasesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_ListDatabasesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabasesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_ListDatabasesResponse_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabasesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.ListDatabasesResponse.class, - com.google.spanner.admin.database.v1.ListDatabasesResponse.Builder.class); + com.google.spanner.admin.database.v1.ListDatabasesResponse.class, com.google.spanner.admin.database.v1.ListDatabasesResponse.Builder.class); } // Construct using com.google.spanner.admin.database.v1.ListDatabasesResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -416,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_ListDatabasesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabasesResponse_descriptor; } @java.lang.Override @@ -437,18 +399,14 @@ public com.google.spanner.admin.database.v1.ListDatabasesResponse build() { @java.lang.Override public com.google.spanner.admin.database.v1.ListDatabasesResponse buildPartial() { - com.google.spanner.admin.database.v1.ListDatabasesResponse result = - new com.google.spanner.admin.database.v1.ListDatabasesResponse(this); + com.google.spanner.admin.database.v1.ListDatabasesResponse result = new com.google.spanner.admin.database.v1.ListDatabasesResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.spanner.admin.database.v1.ListDatabasesResponse result) { + private void buildPartialRepeatedFields(com.google.spanner.admin.database.v1.ListDatabasesResponse result) { if (databasesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { databases_ = java.util.Collections.unmodifiableList(databases_); @@ -471,39 +429,38 @@ private void buildPartial0(com.google.spanner.admin.database.v1.ListDatabasesRes public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.admin.database.v1.ListDatabasesResponse) { - return mergeFrom((com.google.spanner.admin.database.v1.ListDatabasesResponse) other); + return mergeFrom((com.google.spanner.admin.database.v1.ListDatabasesResponse)other); } else { super.mergeFrom(other); return this; @@ -511,8 +468,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.admin.database.v1.ListDatabasesResponse other) { - if (other == com.google.spanner.admin.database.v1.ListDatabasesResponse.getDefaultInstance()) - return this; + if (other == com.google.spanner.admin.database.v1.ListDatabasesResponse.getDefaultInstance()) return this; if (databasesBuilder_ == null) { if (!other.databases_.isEmpty()) { if (databases_.isEmpty()) { @@ -531,10 +487,9 @@ public Builder mergeFrom(com.google.spanner.admin.database.v1.ListDatabasesRespo databasesBuilder_ = null; databases_ = other.databases_; bitField0_ = (bitField0_ & ~0x00000001); - databasesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getDatabasesFieldBuilder() - : null; + databasesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getDatabasesFieldBuilder() : null; } else { databasesBuilder_.addAllMessages(other.databases_); } @@ -571,32 +526,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.spanner.admin.database.v1.Database m = - input.readMessage( - com.google.spanner.admin.database.v1.Database.parser(), extensionRegistry); - if (databasesBuilder_ == null) { - ensureDatabasesIsMutable(); - databases_.add(m); - } else { - databasesBuilder_.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.spanner.admin.database.v1.Database m = + input.readMessage( + com.google.spanner.admin.database.v1.Database.parser(), + extensionRegistry); + if (databasesBuilder_ == null) { + ensureDatabasesIsMutable(); + databases_.add(m); + } else { + databasesBuilder_.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) { @@ -606,29 +559,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List databases_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureDatabasesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - databases_ = - new java.util.ArrayList(databases_); + databases_ = new java.util.ArrayList(databases_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.admin.database.v1.Database, - com.google.spanner.admin.database.v1.Database.Builder, - com.google.spanner.admin.database.v1.DatabaseOrBuilder> - databasesBuilder_; + com.google.spanner.admin.database.v1.Database, com.google.spanner.admin.database.v1.Database.Builder, com.google.spanner.admin.database.v1.DatabaseOrBuilder> databasesBuilder_; /** - * - * *
      * Databases that matched the request.
      * 
@@ -643,8 +588,6 @@ public java.util.List getDatabase } } /** - * - * *
      * Databases that matched the request.
      * 
@@ -659,8 +602,6 @@ public int getDatabasesCount() { } } /** - * - * *
      * Databases that matched the request.
      * 
@@ -675,15 +616,14 @@ public com.google.spanner.admin.database.v1.Database getDatabases(int index) { } } /** - * - * *
      * Databases that matched the request.
      * 
* * repeated .google.spanner.admin.database.v1.Database databases = 1; */ - public Builder setDatabases(int index, com.google.spanner.admin.database.v1.Database value) { + public Builder setDatabases( + int index, com.google.spanner.admin.database.v1.Database value) { if (databasesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -697,8 +637,6 @@ public Builder setDatabases(int index, com.google.spanner.admin.database.v1.Data return this; } /** - * - * *
      * Databases that matched the request.
      * 
@@ -717,8 +655,6 @@ public Builder setDatabases( return this; } /** - * - * *
      * Databases that matched the request.
      * 
@@ -739,15 +675,14 @@ public Builder addDatabases(com.google.spanner.admin.database.v1.Database value) return this; } /** - * - * *
      * Databases that matched the request.
      * 
* * repeated .google.spanner.admin.database.v1.Database databases = 1; */ - public Builder addDatabases(int index, com.google.spanner.admin.database.v1.Database value) { + public Builder addDatabases( + int index, com.google.spanner.admin.database.v1.Database value) { if (databasesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -761,8 +696,6 @@ public Builder addDatabases(int index, com.google.spanner.admin.database.v1.Data return this; } /** - * - * *
      * Databases that matched the request.
      * 
@@ -781,8 +714,6 @@ public Builder addDatabases( return this; } /** - * - * *
      * Databases that matched the request.
      * 
@@ -801,8 +732,6 @@ public Builder addDatabases( return this; } /** - * - * *
      * Databases that matched the request.
      * 
@@ -813,7 +742,8 @@ public Builder addAllDatabases( java.lang.Iterable values) { if (databasesBuilder_ == null) { ensureDatabasesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, databases_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, databases_); onChanged(); } else { databasesBuilder_.addAllMessages(values); @@ -821,8 +751,6 @@ public Builder addAllDatabases( return this; } /** - * - * *
      * Databases that matched the request.
      * 
@@ -840,8 +768,6 @@ public Builder clearDatabases() { return this; } /** - * - * *
      * Databases that matched the request.
      * 
@@ -859,44 +785,39 @@ public Builder removeDatabases(int index) { return this; } /** - * - * *
      * Databases that matched the request.
      * 
* * repeated .google.spanner.admin.database.v1.Database databases = 1; */ - public com.google.spanner.admin.database.v1.Database.Builder getDatabasesBuilder(int index) { + public com.google.spanner.admin.database.v1.Database.Builder getDatabasesBuilder( + int index) { return getDatabasesFieldBuilder().getBuilder(index); } /** - * - * *
      * Databases that matched the request.
      * 
* * repeated .google.spanner.admin.database.v1.Database databases = 1; */ - public com.google.spanner.admin.database.v1.DatabaseOrBuilder getDatabasesOrBuilder(int index) { + public com.google.spanner.admin.database.v1.DatabaseOrBuilder getDatabasesOrBuilder( + int index) { if (databasesBuilder_ == null) { - return databases_.get(index); - } else { + return databases_.get(index); } else { return databasesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Databases that matched the request.
      * 
* * repeated .google.spanner.admin.database.v1.Database databases = 1; */ - public java.util.List - getDatabasesOrBuilderList() { + public java.util.List + getDatabasesOrBuilderList() { if (databasesBuilder_ != null) { return databasesBuilder_.getMessageOrBuilderList(); } else { @@ -904,8 +825,6 @@ public com.google.spanner.admin.database.v1.DatabaseOrBuilder getDatabasesOrBuil } } /** - * - * *
      * Databases that matched the request.
      * 
@@ -913,48 +832,42 @@ public com.google.spanner.admin.database.v1.DatabaseOrBuilder getDatabasesOrBuil * repeated .google.spanner.admin.database.v1.Database databases = 1; */ public com.google.spanner.admin.database.v1.Database.Builder addDatabasesBuilder() { - return getDatabasesFieldBuilder() - .addBuilder(com.google.spanner.admin.database.v1.Database.getDefaultInstance()); + return getDatabasesFieldBuilder().addBuilder( + com.google.spanner.admin.database.v1.Database.getDefaultInstance()); } /** - * - * *
      * Databases that matched the request.
      * 
* * repeated .google.spanner.admin.database.v1.Database databases = 1; */ - public com.google.spanner.admin.database.v1.Database.Builder addDatabasesBuilder(int index) { - return getDatabasesFieldBuilder() - .addBuilder(index, com.google.spanner.admin.database.v1.Database.getDefaultInstance()); + public com.google.spanner.admin.database.v1.Database.Builder addDatabasesBuilder( + int index) { + return getDatabasesFieldBuilder().addBuilder( + index, com.google.spanner.admin.database.v1.Database.getDefaultInstance()); } /** - * - * *
      * Databases that matched the request.
      * 
* * repeated .google.spanner.admin.database.v1.Database databases = 1; */ - public java.util.List - getDatabasesBuilderList() { + public java.util.List + getDatabasesBuilderList() { return getDatabasesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.admin.database.v1.Database, - com.google.spanner.admin.database.v1.Database.Builder, - com.google.spanner.admin.database.v1.DatabaseOrBuilder> + com.google.spanner.admin.database.v1.Database, com.google.spanner.admin.database.v1.Database.Builder, com.google.spanner.admin.database.v1.DatabaseOrBuilder> getDatabasesFieldBuilder() { if (databasesBuilder_ == null) { - databasesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.admin.database.v1.Database, - com.google.spanner.admin.database.v1.Database.Builder, - com.google.spanner.admin.database.v1.DatabaseOrBuilder>( - databases_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + databasesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.spanner.admin.database.v1.Database, com.google.spanner.admin.database.v1.Database.Builder, com.google.spanner.admin.database.v1.DatabaseOrBuilder>( + databases_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); databases_ = null; } return databasesBuilder_; @@ -962,8 +875,6 @@ public com.google.spanner.admin.database.v1.Database.Builder addDatabasesBuilder private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases] call to fetch more
@@ -971,13 +882,13 @@ public com.google.spanner.admin.database.v1.Database.Builder addDatabasesBuilder
      * 
* * 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,8 +897,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases] call to fetch more
@@ -995,14 +904,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 { @@ -1010,8 +920,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases] call to fetch more
@@ -1019,22 +927,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
      * [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases] call to fetch more
@@ -1042,7 +946,6 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1052,8 +955,6 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases] call to fetch more
@@ -1061,23 +962,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); } @@ -1087,12 +986,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.ListDatabasesResponse) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.ListDatabasesResponse) private static final com.google.spanner.admin.database.v1.ListDatabasesResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.ListDatabasesResponse(); } @@ -1101,27 +1000,27 @@ public static com.google.spanner.admin.database.v1.ListDatabasesResponse getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDatabasesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDatabasesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1136,4 +1035,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.ListDatabasesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesResponseOrBuilder.java similarity index 71% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesResponseOrBuilder.java index e6b6facc0bb..89cf2e809a2 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesResponseOrBuilder.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/spanner/admin/database/v1/spanner_database_admin.proto package com.google.spanner.admin.database.v1; -public interface ListDatabasesResponseOrBuilder - extends +public interface ListDatabasesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.ListDatabasesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Databases that matched the request.
    * 
* * repeated .google.spanner.admin.database.v1.Database databases = 1; */ - java.util.List getDatabasesList(); + java.util.List + getDatabasesList(); /** - * - * *
    * Databases that matched the request.
    * 
@@ -44,8 +25,6 @@ public interface ListDatabasesResponseOrBuilder */ com.google.spanner.admin.database.v1.Database getDatabases(int index); /** - * - * *
    * Databases that matched the request.
    * 
@@ -54,30 +33,25 @@ public interface ListDatabasesResponseOrBuilder */ int getDatabasesCount(); /** - * - * *
    * Databases that matched the request.
    * 
* * repeated .google.spanner.admin.database.v1.Database databases = 1; */ - java.util.List + java.util.List getDatabasesOrBuilderList(); /** - * - * *
    * Databases that matched the request.
    * 
* * repeated .google.spanner.admin.database.v1.Database databases = 1; */ - com.google.spanner.admin.database.v1.DatabaseOrBuilder getDatabasesOrBuilder(int index); + com.google.spanner.admin.database.v1.DatabaseOrBuilder getDatabasesOrBuilder( + int index); /** - * - * *
    * `next_page_token` can be sent in a subsequent
    * [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases] call to fetch more
@@ -85,13 +59,10 @@ public interface ListDatabasesResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * `next_page_token` can be sent in a subsequent
    * [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases] call to fetch more
@@ -99,8 +70,8 @@ public interface ListDatabasesResponseOrBuilder
    * 
* * 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-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/OperationProgress.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/OperationProgress.java similarity index 70% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/OperationProgress.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/OperationProgress.java index dceff032df0..a005f0227be 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/OperationProgress.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/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/spanner/admin/database/v1/common.proto package com.google.spanner.admin.database.v1; /** - * - * *
  * Encapsulates progress related information for a Cloud Spanner long
  * running operation.
@@ -28,56 +11,52 @@
  *
  * Protobuf type {@code google.spanner.admin.database.v1.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.spanner.admin.database.v1.OperationProgress)
     OperationProgressOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use OperationProgress.newBuilder() to construct.
   private OperationProgress(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private OperationProgress() {}
+  private OperationProgress() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new OperationProgress();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.database.v1.CommonProto
-        .internal_static_google_spanner_admin_database_v1_OperationProgress_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.database.v1.CommonProto.internal_static_google_spanner_admin_database_v1_OperationProgress_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.database.v1.CommonProto
-        .internal_static_google_spanner_admin_database_v1_OperationProgress_fieldAccessorTable
+    return com.google.spanner.admin.database.v1.CommonProto.internal_static_google_spanner_admin_database_v1_OperationProgress_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.database.v1.OperationProgress.class,
-            com.google.spanner.admin.database.v1.OperationProgress.Builder.class);
+            com.google.spanner.admin.database.v1.OperationProgress.class, com.google.spanner.admin.database.v1.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 @@ -88,14 +67,11 @@ public int getProgressPercent() { public static final int START_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp startTime_; /** - * - * *
    * Time the request was received.
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return Whether the startTime field is set. */ @java.lang.Override @@ -103,14 +79,11 @@ public boolean hasStartTime() { return startTime_ != null; } /** - * - * *
    * Time the request was received.
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ @java.lang.Override @@ -118,8 +91,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * Time the request was received.
    * 
@@ -134,15 +105,12 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * If set, the time at which this operation failed or was completed
    * successfully.
    * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -150,15 +118,12 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * If set, the time at which this operation failed or was completed
    * successfully.
    * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return The endTime. */ @java.lang.Override @@ -166,8 +131,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * If set, the time at which this operation failed or was completed
    * successfully.
@@ -181,7 +144,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -193,7 +155,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (progressPercent_ != 0) {
       output.writeInt32(1, progressPercent_);
     }
@@ -213,13 +176,16 @@ public int getSerializedSize() {
 
     size = 0;
     if (progressPercent_ != 0) {
-      size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, progressPercent_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt32Size(1, progressPercent_);
     }
     if (startTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStartTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getStartTime());
     }
     if (endTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getEndTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getEndTime());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -229,22 +195,24 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.spanner.admin.database.v1.OperationProgress)) {
       return super.equals(obj);
     }
-    com.google.spanner.admin.database.v1.OperationProgress other =
-        (com.google.spanner.admin.database.v1.OperationProgress) obj;
+    com.google.spanner.admin.database.v1.OperationProgress other = (com.google.spanner.admin.database.v1.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;
@@ -273,104 +241,96 @@ public int hashCode() {
   }
 
   public static com.google.spanner.admin.database.v1.OperationProgress parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.OperationProgress parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.OperationProgress parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.OperationProgress parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.spanner.admin.database.v1.OperationProgress parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.OperationProgress parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.spanner.admin.database.v1.OperationProgress parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.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.spanner.admin.database.v1.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.spanner.admin.database.v1.OperationProgress prototype) {
+  public static Builder newBuilder(com.google.spanner.admin.database.v1.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 Spanner long
    * running operation.
@@ -378,32 +338,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.database.v1.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.spanner.admin.database.v1.OperationProgress)
       com.google.spanner.admin.database.v1.OperationProgressOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.database.v1.CommonProto
-          .internal_static_google_spanner_admin_database_v1_OperationProgress_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.database.v1.CommonProto.internal_static_google_spanner_admin_database_v1_OperationProgress_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.database.v1.CommonProto
-          .internal_static_google_spanner_admin_database_v1_OperationProgress_fieldAccessorTable
+      return com.google.spanner.admin.database.v1.CommonProto.internal_static_google_spanner_admin_database_v1_OperationProgress_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.database.v1.OperationProgress.class,
-              com.google.spanner.admin.database.v1.OperationProgress.Builder.class);
+              com.google.spanner.admin.database.v1.OperationProgress.class, com.google.spanner.admin.database.v1.OperationProgress.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.database.v1.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();
@@ -423,9 +384,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.database.v1.CommonProto
-          .internal_static_google_spanner_admin_database_v1_OperationProgress_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.database.v1.CommonProto.internal_static_google_spanner_admin_database_v1_OperationProgress_descriptor;
     }
 
     @java.lang.Override
@@ -444,11 +405,8 @@ public com.google.spanner.admin.database.v1.OperationProgress build() {
 
     @java.lang.Override
     public com.google.spanner.admin.database.v1.OperationProgress buildPartial() {
-      com.google.spanner.admin.database.v1.OperationProgress result =
-          new com.google.spanner.admin.database.v1.OperationProgress(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.admin.database.v1.OperationProgress result = new com.google.spanner.admin.database.v1.OperationProgress(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -459,10 +417,14 @@ private void buildPartial0(com.google.spanner.admin.database.v1.OperationProgres
         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();
       }
     }
 
@@ -470,39 +432,38 @@ private void buildPartial0(com.google.spanner.admin.database.v1.OperationProgres
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.database.v1.OperationProgress) {
-        return mergeFrom((com.google.spanner.admin.database.v1.OperationProgress) other);
+        return mergeFrom((com.google.spanner.admin.database.v1.OperationProgress)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -510,8 +471,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.spanner.admin.database.v1.OperationProgress other) {
-      if (other == com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance())
-        return this;
+      if (other == com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance()) return this;
       if (other.getProgressPercent() != 0) {
         setProgressPercent(other.getProgressPercent());
       }
@@ -547,31 +507,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) {
@@ -581,20 +541,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 @@ -602,35 +558,29 @@ public int getProgressPercent() { return progressPercent_; } /** - * - * *
      * Percent completion of the operation.
      * Values are between 0 and 100 inclusive.
      * 
* * int32 progress_percent = 1; - * * @param value The progressPercent to set. * @return This builder for chaining. */ public Builder setProgressPercent(int value) { - + progressPercent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Percent completion of the operation.
      * Values are between 0 and 100 inclusive.
      * 
* * int32 progress_percent = 1; - * * @return This builder for chaining. */ public Builder clearProgressPercent() { @@ -642,33 +592,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() { @@ -679,8 +620,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * Time the request was received.
      * 
@@ -701,15 +640,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 { @@ -720,8 +658,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * Time the request was received.
      * 
@@ -730,9 +666,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; @@ -745,8 +681,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time the request was received.
      * 
@@ -764,8 +698,6 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * Time the request was received.
      * 
@@ -778,8 +710,6 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Time the request was received.
      * 
@@ -790,12 +720,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.
      * 
@@ -803,17 +732,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_; @@ -821,35 +747,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() { @@ -860,8 +777,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -883,8 +798,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -892,7 +805,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 {
@@ -903,8 +817,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.
@@ -914,9 +826,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;
@@ -929,8 +841,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -949,8 +859,6 @@ public Builder clearEndTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -964,8 +872,6 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
       return getEndTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -977,12 +883,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.
@@ -991,24 +896,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);
     }
 
@@ -1018,12 +920,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.OperationProgress)
   }
 
   // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.OperationProgress)
   private static final com.google.spanner.admin.database.v1.OperationProgress DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.OperationProgress();
   }
@@ -1032,27 +934,27 @@ public static com.google.spanner.admin.database.v1.OperationProgress getDefaultI
     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;
@@ -1067,4 +969,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.spanner.admin.database.v1.OperationProgress getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/OperationProgressOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/OperationProgressOrBuilder.java
similarity index 72%
rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/OperationProgressOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/OperationProgressOrBuilder.java
index df76dbaca01..cc929a5437a 100644
--- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/OperationProgressOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/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/spanner/admin/database/v1/common.proto
 
 package com.google.spanner.admin.database.v1;
 
-public interface OperationProgressOrBuilder
-    extends
+public interface OperationProgressOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.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-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/OptimizeRestoredDatabaseMetadata.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/OptimizeRestoredDatabaseMetadata.java
similarity index 65%
rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/OptimizeRestoredDatabaseMetadata.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/OptimizeRestoredDatabaseMetadata.java
index ce652f5318f..1f64009f00b 100644
--- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/OptimizeRestoredDatabaseMetadata.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/OptimizeRestoredDatabaseMetadata.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/spanner/admin/database/v1/spanner_database_admin.proto
 
 package com.google.spanner.admin.database.v1;
 
 /**
- *
- *
  * 
  * Metadata type for the long-running operation used to track the progress
  * of optimizations performed on a newly restored database. This long-running
@@ -30,60 +13,53 @@
  *
  * Protobuf type {@code google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata}
  */
-public final class OptimizeRestoredDatabaseMetadata extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class OptimizeRestoredDatabaseMetadata extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata)
     OptimizeRestoredDatabaseMetadataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use OptimizeRestoredDatabaseMetadata.newBuilder() to construct.
-  private OptimizeRestoredDatabaseMetadata(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private OptimizeRestoredDatabaseMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private OptimizeRestoredDatabaseMetadata() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new OptimizeRestoredDatabaseMetadata();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-        .internal_static_google_spanner_admin_database_v1_OptimizeRestoredDatabaseMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_OptimizeRestoredDatabaseMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-        .internal_static_google_spanner_admin_database_v1_OptimizeRestoredDatabaseMetadata_fieldAccessorTable
+    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_OptimizeRestoredDatabaseMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata.class,
-            com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata.Builder.class);
+            com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata.class, com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Name of the restored database being optimized.
    * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return The name. */ @java.lang.Override @@ -92,29 +68,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 database being optimized.
    * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -125,14 +101,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int PROGRESS_FIELD_NUMBER = 2; private com.google.spanner.admin.database.v1.OperationProgress progress_; /** - * - * *
    * The progress of the post-restore optimizations.
    * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 2; - * * @return Whether the progress field is set. */ @java.lang.Override @@ -140,25 +113,18 @@ public boolean hasProgress() { return progress_ != null; } /** - * - * *
    * The progress of the post-restore optimizations.
    * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 2; - * * @return The progress. */ @java.lang.Override public com.google.spanner.admin.database.v1.OperationProgress getProgress() { - return progress_ == null - ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() - : progress_; + return progress_ == null ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() : progress_; } /** - * - * *
    * The progress of the post-restore optimizations.
    * 
@@ -167,13 +133,10 @@ public com.google.spanner.admin.database.v1.OperationProgress getProgress() { */ @java.lang.Override public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgressOrBuilder() { - return progress_ == null - ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() - : progress_; + return progress_ == null ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() : progress_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -185,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,7 +169,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; @@ -215,18 +180,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.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata other = - (com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata) obj; + com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata other = (com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata) 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; @@ -251,105 +217,96 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata - 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.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata 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.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata prototype) { + public static Builder newBuilder(com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 database. This long-running
@@ -359,33 +316,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata)
       com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-          .internal_static_google_spanner_admin_database_v1_OptimizeRestoredDatabaseMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_OptimizeRestoredDatabaseMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-          .internal_static_google_spanner_admin_database_v1_OptimizeRestoredDatabaseMetadata_fieldAccessorTable
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_OptimizeRestoredDatabaseMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata.class,
-              com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata.Builder.class);
+              com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata.class, com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata.Builder.class);
     }
 
-    // Construct using
-    // com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata.newBuilder()
-    private Builder() {}
+    // Construct using com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata.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();
@@ -400,16 +357,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-          .internal_static_google_spanner_admin_database_v1_OptimizeRestoredDatabaseMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_OptimizeRestoredDatabaseMetadata_descriptor;
     }
 
     @java.lang.Override
-    public com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata
-        getDefaultInstanceForType() {
-      return com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata
-          .getDefaultInstance();
+    public com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata getDefaultInstanceForType() {
+      return com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata.getDefaultInstance();
     }
 
     @java.lang.Override
@@ -423,23 +378,21 @@ public com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata bui
 
     @java.lang.Override
     public com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata buildPartial() {
-      com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata result =
-          new com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata result = new com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata result) {
+    private void buildPartial0(com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.name_ = name_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.progress_ = progressBuilder_ == null ? progress_ : progressBuilder_.build();
+        result.progress_ = progressBuilder_ == null
+            ? progress_
+            : progressBuilder_.build();
       }
     }
 
@@ -447,51 +400,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.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata) {
-        return mergeFrom(
-            (com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata) other);
+        return mergeFrom((com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata other) {
-      if (other
-          == com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata other) {
+      if (other == com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -526,25 +474,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) {
@@ -554,25 +501,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Name of the restored database being optimized.
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -581,21 +525,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Name of the restored database being optimized.
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -603,35 +546,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Name of the restored database being optimized.
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Name of the restored database being optimized.
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearName() { @@ -641,21 +577,17 @@ public Builder clearName() { return this; } /** - * - * *
      * Name of the restored database being optimized.
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -665,47 +597,34 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.spanner.admin.database.v1.OperationProgress progress_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.OperationProgress, - com.google.spanner.admin.database.v1.OperationProgress.Builder, - com.google.spanner.admin.database.v1.OperationProgressOrBuilder> - progressBuilder_; + com.google.spanner.admin.database.v1.OperationProgress, com.google.spanner.admin.database.v1.OperationProgress.Builder, com.google.spanner.admin.database.v1.OperationProgressOrBuilder> progressBuilder_; /** - * - * *
      * The progress of the post-restore optimizations.
      * 
* * .google.spanner.admin.database.v1.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.spanner.admin.database.v1.OperationProgress progress = 2; - * * @return The progress. */ public com.google.spanner.admin.database.v1.OperationProgress getProgress() { if (progressBuilder_ == null) { - return progress_ == null - ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() - : progress_; + return progress_ == null ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() : progress_; } else { return progressBuilder_.getMessage(); } } /** - * - * *
      * The progress of the post-restore optimizations.
      * 
@@ -726,8 +645,6 @@ public Builder setProgress(com.google.spanner.admin.database.v1.OperationProgres return this; } /** - * - * *
      * The progress of the post-restore optimizations.
      * 
@@ -746,8 +663,6 @@ public Builder setProgress( return this; } /** - * - * *
      * The progress of the post-restore optimizations.
      * 
@@ -756,10 +671,9 @@ public Builder setProgress( */ public Builder mergeProgress(com.google.spanner.admin.database.v1.OperationProgress value) { if (progressBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && progress_ != null - && progress_ - != com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + progress_ != null && + progress_ != com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance()) { getProgressBuilder().mergeFrom(value); } else { progress_ = value; @@ -772,8 +686,6 @@ public Builder mergeProgress(com.google.spanner.admin.database.v1.OperationProgr return this; } /** - * - * *
      * The progress of the post-restore optimizations.
      * 
@@ -791,8 +703,6 @@ public Builder clearProgress() { return this; } /** - * - * *
      * The progress of the post-restore optimizations.
      * 
@@ -805,8 +715,6 @@ public com.google.spanner.admin.database.v1.OperationProgress.Builder getProgres return getProgressFieldBuilder().getBuilder(); } /** - * - * *
      * The progress of the post-restore optimizations.
      * 
@@ -817,14 +725,11 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre if (progressBuilder_ != null) { return progressBuilder_.getMessageOrBuilder(); } else { - return progress_ == null - ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() - : progress_; + return progress_ == null ? + com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() : progress_; } } /** - * - * *
      * The progress of the post-restore optimizations.
      * 
@@ -832,24 +737,21 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre * .google.spanner.admin.database.v1.OperationProgress progress = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.OperationProgress, - com.google.spanner.admin.database.v1.OperationProgress.Builder, - com.google.spanner.admin.database.v1.OperationProgressOrBuilder> + com.google.spanner.admin.database.v1.OperationProgress, com.google.spanner.admin.database.v1.OperationProgress.Builder, com.google.spanner.admin.database.v1.OperationProgressOrBuilder> getProgressFieldBuilder() { if (progressBuilder_ == null) { - progressBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.OperationProgress, - com.google.spanner.admin.database.v1.OperationProgress.Builder, - com.google.spanner.admin.database.v1.OperationProgressOrBuilder>( - getProgress(), getParentForChildren(), isClean()); + progressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.admin.database.v1.OperationProgress, com.google.spanner.admin.database.v1.OperationProgress.Builder, com.google.spanner.admin.database.v1.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); } @@ -859,43 +761,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata) - private static final com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata - DEFAULT_INSTANCE; - + private static final com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata(); } - public static com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata - getDefaultInstance() { + public static com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OptimizeRestoredDatabaseMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OptimizeRestoredDatabaseMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -907,8 +807,9 @@ public com.google.protobuf.Parser getParserFor } @java.lang.Override - public com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata - getDefaultInstanceForType() { + public com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/OptimizeRestoredDatabaseMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/OptimizeRestoredDatabaseMetadataOrBuilder.java similarity index 66% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/OptimizeRestoredDatabaseMetadataOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/OptimizeRestoredDatabaseMetadataOrBuilder.java index 0606518a011..615d387a94e 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/OptimizeRestoredDatabaseMetadataOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/OptimizeRestoredDatabaseMetadataOrBuilder.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/spanner/admin/database/v1/spanner_database_admin.proto package com.google.spanner.admin.database.v1; -public interface OptimizeRestoredDatabaseMetadataOrBuilder - extends +public interface OptimizeRestoredDatabaseMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Name of the restored database being optimized.
    * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Name of the restored database being optimized.
    * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The progress of the post-restore optimizations.
    * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 2; - * * @return Whether the progress field is set. */ boolean hasProgress(); /** - * - * *
    * The progress of the post-restore optimizations.
    * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 2; - * * @return The progress. */ com.google.spanner.admin.database.v1.OperationProgress getProgress(); /** - * - * *
    * The progress of the post-restore optimizations.
    * 
diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseEncryptionConfig.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseEncryptionConfig.java similarity index 61% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseEncryptionConfig.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseEncryptionConfig.java index 54aa3135f07..92fee1b81c7 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseEncryptionConfig.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseEncryptionConfig.java @@ -1,43 +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/spanner/admin/database/v1/spanner_database_admin.proto package com.google.spanner.admin.database.v1; /** - * - * *
  * Encryption configuration for the restored database.
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig} */ -public final class RestoreDatabaseEncryptionConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RestoreDatabaseEncryptionConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig) RestoreDatabaseEncryptionConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RestoreDatabaseEncryptionConfig.newBuilder() to construct. - private RestoreDatabaseEncryptionConfig( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private RestoreDatabaseEncryptionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RestoreDatabaseEncryptionConfig() { encryptionType_ = 0; kmsKeyName_ = ""; @@ -45,44 +26,39 @@ private RestoreDatabaseEncryptionConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RestoreDatabaseEncryptionConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_RestoreDatabaseEncryptionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_RestoreDatabaseEncryptionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_RestoreDatabaseEncryptionConfig_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_RestoreDatabaseEncryptionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.class, - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.Builder.class); + com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.class, com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.Builder.class); } /** - * - * *
    * Encryption types for the database to be restored.
    * 
* - * Protobuf enum {@code - * google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType} + * Protobuf enum {@code google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType} */ - public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum { + public enum EncryptionType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified. Do not use.
      * 
@@ -91,8 +67,6 @@ public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum { */ ENCRYPTION_TYPE_UNSPECIFIED(0), /** - * - * *
      * This is the default option when
      * [encryption_config][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig] is not specified.
@@ -102,8 +76,6 @@ public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum {
      */
     USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION(1),
     /**
-     *
-     *
      * 
      * Use Google default encryption.
      * 
@@ -112,8 +84,6 @@ public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum { */ GOOGLE_DEFAULT_ENCRYPTION(2), /** - * - * *
      * Use customer managed encryption. If specified, `kms_key_name` must
      * must contain a valid Cloud KMS key.
@@ -126,8 +96,6 @@ public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Unspecified. Do not use.
      * 
@@ -136,8 +104,6 @@ public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ENCRYPTION_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * This is the default option when
      * [encryption_config][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig] is not specified.
@@ -147,8 +113,6 @@ public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION_VALUE = 1;
     /**
-     *
-     *
      * 
      * Use Google default encryption.
      * 
@@ -157,8 +121,6 @@ public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GOOGLE_DEFAULT_ENCRYPTION_VALUE = 2; /** - * - * *
      * Use customer managed encryption. If specified, `kms_key_name` must
      * must contain a valid Cloud KMS key.
@@ -168,6 +130,7 @@ public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CUSTOMER_MANAGED_ENCRYPTION_VALUE = 3;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -192,53 +155,50 @@ public static EncryptionType valueOf(int value) {
      */
     public static EncryptionType forNumber(int value) {
       switch (value) {
-        case 0:
-          return ENCRYPTION_TYPE_UNSPECIFIED;
-        case 1:
-          return USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION;
-        case 2:
-          return GOOGLE_DEFAULT_ENCRYPTION;
-        case 3:
-          return CUSTOMER_MANAGED_ENCRYPTION;
-        default:
-          return null;
+        case 0: return ENCRYPTION_TYPE_UNSPECIFIED;
+        case 1: return USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION;
+        case 2: return GOOGLE_DEFAULT_ENCRYPTION;
+        case 3: 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);
+            }
+          };
 
-    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() {
+    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.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.getDescriptor()
-          .getEnumTypes()
-          .get(0);
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
+      return com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.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;
@@ -258,54 +218,33 @@ private EncryptionType(int value) {
   public static final int ENCRYPTION_TYPE_FIELD_NUMBER = 1;
   private int encryptionType_ = 0;
   /**
-   *
-   *
    * 
    * Required. The encryption type of the restored database.
    * 
* - * - * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for encryptionType. */ - @java.lang.Override - public int getEncryptionTypeValue() { + @java.lang.Override public int getEncryptionTypeValue() { return encryptionType_; } /** - * - * *
    * Required. The encryption type of the restored database.
    * 
* - * - * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The encryptionType. */ - @java.lang.Override - public com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType - getEncryptionType() { - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType result = - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType - .forNumber(encryptionType_); - return result == null - ? com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType - .UNRECOGNIZED - : result; + @java.lang.Override public com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType getEncryptionType() { + com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType result = com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType.forNumber(encryptionType_); + return result == null ? com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType.UNRECOGNIZED : result; } public static final int KMS_KEY_NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object kmsKeyName_ = ""; /** - * - * *
    * Optional. The Cloud KMS key that will be used to encrypt/decrypt the restored
    * database. This field should be set only when
@@ -314,10 +253,7 @@ public int getEncryptionTypeValue() {
    * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
    * 
* - * - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return The kmsKeyName. */ @java.lang.Override @@ -326,15 +262,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; } } /** - * - * *
    * Optional. The Cloud KMS key that will be used to encrypt/decrypt the restored
    * database. This field should be set only when
@@ -343,18 +278,17 @@ public java.lang.String getKmsKeyName() {
    * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
    * 
* - * - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.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 { @@ -363,7 +297,6 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -375,11 +308,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (encryptionType_ - != com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType - .ENCRYPTION_TYPE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (encryptionType_ != com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType.ENCRYPTION_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, encryptionType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyName_)) { @@ -394,11 +325,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (encryptionType_ - != com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType - .ENCRYPTION_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, encryptionType_); + if (encryptionType_ != com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType.ENCRYPTION_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, encryptionType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, kmsKeyName_); @@ -411,16 +340,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.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig other = - (com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig) obj; + com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig other = (com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig) obj; if (encryptionType_ != other.encryptionType_) return false; - if (!getKmsKeyName().equals(other.getKmsKeyName())) return false; + if (!getKmsKeyName() + .equals(other.getKmsKeyName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -442,138 +371,129 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig - 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.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig 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.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig prototype) { + public static Builder newBuilder(com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 configuration for the restored database.
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig) com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_RestoreDatabaseEncryptionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_RestoreDatabaseEncryptionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_RestoreDatabaseEncryptionConfig_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_RestoreDatabaseEncryptionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.class, - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.Builder.class); + com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.class, com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.Builder.class); } - // Construct using - // com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.newBuilder() - private Builder() {} + // Construct using com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.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(); @@ -584,16 +504,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_RestoreDatabaseEncryptionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_RestoreDatabaseEncryptionConfig_descriptor; } @java.lang.Override - public com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig - getDefaultInstanceForType() { - return com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig - .getDefaultInstance(); + public com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig getDefaultInstanceForType() { + return com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.getDefaultInstance(); } @java.lang.Override @@ -607,17 +525,13 @@ public com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig buil @java.lang.Override public com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig buildPartial() { - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig result = - new com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig result = new com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig result) { + private void buildPartial0(com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.encryptionType_ = encryptionType_; @@ -631,51 +545,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.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig) { - return mergeFrom( - (com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig) other); + return mergeFrom((com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig other) { - if (other - == com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig other) { + if (other == com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.getDefaultInstance()) return this; if (other.encryptionType_ != 0) { setEncryptionTypeValue(other.getEncryptionTypeValue()); } @@ -710,25 +619,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - encryptionType_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - kmsKeyName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + encryptionType_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + kmsKeyName_ = 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) { @@ -738,38 +644,26 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int encryptionType_ = 0; /** - * - * *
      * Required. The encryption type of the restored database.
      * 
* - * - * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for encryptionType. */ - @java.lang.Override - public int getEncryptionTypeValue() { + @java.lang.Override public int getEncryptionTypeValue() { return encryptionType_; } /** - * - * *
      * Required. The encryption type of the restored database.
      * 
* - * - * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for encryptionType to set. * @return This builder for chaining. */ @@ -780,45 +674,28 @@ public Builder setEncryptionTypeValue(int value) { return this; } /** - * - * *
      * Required. The encryption type of the restored database.
      * 
* - * - * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The encryptionType. */ @java.lang.Override - public com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType - getEncryptionType() { - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType result = - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType - .forNumber(encryptionType_); - return result == null - ? com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType - .UNRECOGNIZED - : result; + public com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType getEncryptionType() { + com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType result = com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType.forNumber(encryptionType_); + return result == null ? com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType.UNRECOGNIZED : result; } /** - * - * *
      * Required. The encryption type of the restored database.
      * 
* - * - * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The encryptionType to set. * @return This builder for chaining. */ - public Builder setEncryptionType( - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType value) { + public Builder setEncryptionType(com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType value) { if (value == null) { throw new NullPointerException(); } @@ -828,16 +705,11 @@ public Builder setEncryptionType( return this; } /** - * - * *
      * Required. The encryption type of the restored database.
      * 
* - * - * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearEncryptionType() { @@ -849,8 +721,6 @@ public Builder clearEncryptionType() { private java.lang.Object kmsKeyName_ = ""; /** - * - * *
      * Optional. The Cloud KMS key that will be used to encrypt/decrypt the restored
      * database. This field should be set only when
@@ -859,16 +729,14 @@ public Builder clearEncryptionType() {
      * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
      * 
* - * - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.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; @@ -877,8 +745,6 @@ public java.lang.String getKmsKeyName() { } } /** - * - * *
      * Optional. The Cloud KMS key that will be used to encrypt/decrypt the restored
      * database. This field should be set only when
@@ -887,17 +753,16 @@ public java.lang.String getKmsKeyName() {
      * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
      * 
* - * - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.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 { @@ -905,8 +770,6 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() { } } /** - * - * *
      * Optional. The Cloud KMS key that will be used to encrypt/decrypt the restored
      * database. This field should be set only when
@@ -915,25 +778,19 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() {
      * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
      * 
* - * - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.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_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Optional. The Cloud KMS key that will be used to encrypt/decrypt the restored
      * database. This field should be set only when
@@ -942,10 +799,7 @@ public Builder setKmsKeyName(java.lang.String value) {
      * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
      * 
* - * - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearKmsKeyName() { @@ -955,8 +809,6 @@ public Builder clearKmsKeyName() { return this; } /** - * - * *
      * Optional. The Cloud KMS key that will be used to encrypt/decrypt the restored
      * database. This field should be set only when
@@ -965,26 +817,22 @@ public Builder clearKmsKeyName() {
      * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
      * 
* - * - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.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_ |= 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); } @@ -994,43 +842,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig) - private static final com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig - DEFAULT_INSTANCE; - + private static final com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig(); } - public static com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig - getDefaultInstance() { + public static com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RestoreDatabaseEncryptionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RestoreDatabaseEncryptionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1042,8 +888,9 @@ public com.google.protobuf.Parser getParserForT } @java.lang.Override - public com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig - getDefaultInstanceForType() { + public com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseEncryptionConfigOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseEncryptionConfigOrBuilder.java similarity index 54% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseEncryptionConfigOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseEncryptionConfigOrBuilder.java index a3915b2a6f4..7ee03fbb6fa 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseEncryptionConfigOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseEncryptionConfigOrBuilder.java @@ -1,61 +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/spanner/admin/database/v1/spanner_database_admin.proto package com.google.spanner.admin.database.v1; -public interface RestoreDatabaseEncryptionConfigOrBuilder - extends +public interface RestoreDatabaseEncryptionConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The encryption type of the restored database.
    * 
* - * - * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for encryptionType. */ int getEncryptionTypeValue(); /** - * - * *
    * Required. The encryption type of the restored database.
    * 
* - * - * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The encryptionType. */ - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType - getEncryptionType(); + com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType getEncryptionType(); /** - * - * *
    * Optional. The Cloud KMS key that will be used to encrypt/decrypt the restored
    * database. This field should be set only when
@@ -64,16 +35,11 @@ public interface RestoreDatabaseEncryptionConfigOrBuilder
    * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
    * 
* - * - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return The kmsKeyName. */ java.lang.String getKmsKeyName(); /** - * - * *
    * Optional. The Cloud KMS key that will be used to encrypt/decrypt the restored
    * database. This field should be set only when
@@ -82,11 +48,9 @@ public interface RestoreDatabaseEncryptionConfigOrBuilder
    * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
    * 
* - * - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } * @return The bytes for kmsKeyName. */ - com.google.protobuf.ByteString getKmsKeyNameBytes(); + com.google.protobuf.ByteString + getKmsKeyNameBytes(); } diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseMetadata.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseMetadata.java similarity index 77% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseMetadata.java index 0225666e1ff..9edc2541857 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseMetadata.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/spanner/admin/database/v1/spanner_database_admin.proto package com.google.spanner.admin.database.v1; /** - * - * *
  * Metadata type for the long-running operation returned by
  * [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.spanner.admin.database.v1.RestoreDatabaseMetadata}
  */
-public final class RestoreDatabaseMetadata extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RestoreDatabaseMetadata extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.RestoreDatabaseMetadata)
     RestoreDatabaseMetadataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RestoreDatabaseMetadata.newBuilder() to construct.
   private RestoreDatabaseMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private RestoreDatabaseMetadata() {
     name_ = "";
     sourceType_ = 0;
@@ -46,41 +28,37 @@ private RestoreDatabaseMetadata() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RestoreDatabaseMetadata();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-        .internal_static_google_spanner_admin_database_v1_RestoreDatabaseMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_RestoreDatabaseMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-        .internal_static_google_spanner_admin_database_v1_RestoreDatabaseMetadata_fieldAccessorTable
+    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_RestoreDatabaseMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.database.v1.RestoreDatabaseMetadata.class,
-            com.google.spanner.admin.database.v1.RestoreDatabaseMetadata.Builder.class);
+            com.google.spanner.admin.database.v1.RestoreDatabaseMetadata.class, com.google.spanner.admin.database.v1.RestoreDatabaseMetadata.Builder.class);
   }
 
   private int sourceInfoCase_ = 0;
   private java.lang.Object sourceInfo_;
-
   public enum SourceInfoCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     BACKUP_INFO(3),
     SOURCEINFO_NOT_SET(0);
     private final int value;
-
     private SourceInfoCase(int value) {
       this.value = value;
     }
@@ -96,37 +74,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 database being created and restored to.
    * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return The name. */ @java.lang.Override @@ -135,29 +107,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 database being created and restored to.
    * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -168,50 +140,36 @@ 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.spanner.admin.database.v1.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.spanner.admin.database.v1.RestoreSourceType source_type = 2; - * * @return The sourceType. */ - @java.lang.Override - public com.google.spanner.admin.database.v1.RestoreSourceType getSourceType() { - com.google.spanner.admin.database.v1.RestoreSourceType result = - com.google.spanner.admin.database.v1.RestoreSourceType.forNumber(sourceType_); - return result == null - ? com.google.spanner.admin.database.v1.RestoreSourceType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.spanner.admin.database.v1.RestoreSourceType getSourceType() { + com.google.spanner.admin.database.v1.RestoreSourceType result = com.google.spanner.admin.database.v1.RestoreSourceType.forNumber(sourceType_); + return result == null ? com.google.spanner.admin.database.v1.RestoreSourceType.UNRECOGNIZED : result; } public static final int BACKUP_INFO_FIELD_NUMBER = 3; /** - * - * *
    * Information about the backup used to restore the database.
    * 
* * .google.spanner.admin.database.v1.BackupInfo backup_info = 3; - * * @return Whether the backupInfo field is set. */ @java.lang.Override @@ -219,26 +177,21 @@ public boolean hasBackupInfo() { return sourceInfoCase_ == 3; } /** - * - * *
    * Information about the backup used to restore the database.
    * 
* * .google.spanner.admin.database.v1.BackupInfo backup_info = 3; - * * @return The backupInfo. */ @java.lang.Override public com.google.spanner.admin.database.v1.BackupInfo getBackupInfo() { if (sourceInfoCase_ == 3) { - return (com.google.spanner.admin.database.v1.BackupInfo) sourceInfo_; + return (com.google.spanner.admin.database.v1.BackupInfo) sourceInfo_; } return com.google.spanner.admin.database.v1.BackupInfo.getDefaultInstance(); } /** - * - * *
    * Information about the backup used to restore the database.
    * 
@@ -248,7 +201,7 @@ public com.google.spanner.admin.database.v1.BackupInfo getBackupInfo() { @java.lang.Override public com.google.spanner.admin.database.v1.BackupInfoOrBuilder getBackupInfoOrBuilder() { if (sourceInfoCase_ == 3) { - return (com.google.spanner.admin.database.v1.BackupInfo) sourceInfo_; + return (com.google.spanner.admin.database.v1.BackupInfo) sourceInfo_; } return com.google.spanner.admin.database.v1.BackupInfo.getDefaultInstance(); } @@ -256,8 +209,6 @@ public com.google.spanner.admin.database.v1.BackupInfoOrBuilder getBackupInfoOrB public static final int PROGRESS_FIELD_NUMBER = 4; private com.google.spanner.admin.database.v1.OperationProgress progress_; /** - * - * *
    * The progress of the
    * [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase]
@@ -265,7 +216,6 @@ public com.google.spanner.admin.database.v1.BackupInfoOrBuilder getBackupInfoOrB
    * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 4; - * * @return Whether the progress field is set. */ @java.lang.Override @@ -273,8 +223,6 @@ public boolean hasProgress() { return progress_ != null; } /** - * - * *
    * The progress of the
    * [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase]
@@ -282,18 +230,13 @@ public boolean hasProgress() {
    * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 4; - * * @return The progress. */ @java.lang.Override public com.google.spanner.admin.database.v1.OperationProgress getProgress() { - return progress_ == null - ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() - : progress_; + return progress_ == null ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() : progress_; } /** - * - * *
    * The progress of the
    * [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase]
@@ -304,16 +247,12 @@ public com.google.spanner.admin.database.v1.OperationProgress getProgress() {
    */
   @java.lang.Override
   public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgressOrBuilder() {
-    return progress_ == null
-        ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance()
-        : progress_;
+    return progress_ == null ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() : progress_;
   }
 
   public static final int CANCEL_TIME_FIELD_NUMBER = 5;
   private com.google.protobuf.Timestamp cancelTime_;
   /**
-   *
-   *
    * 
    * The time at which cancellation of this operation was received.
    * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -329,7 +268,6 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre
    * 
* * .google.protobuf.Timestamp cancel_time = 5; - * * @return Whether the cancelTime field is set. */ @java.lang.Override @@ -337,8 +275,6 @@ public boolean hasCancelTime() { return cancelTime_ != null; } /** - * - * *
    * The time at which cancellation of this operation was received.
    * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -354,7 +290,6 @@ public boolean hasCancelTime() {
    * 
* * .google.protobuf.Timestamp cancel_time = 5; - * * @return The cancelTime. */ @java.lang.Override @@ -362,8 +297,6 @@ public com.google.protobuf.Timestamp getCancelTime() { return cancelTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : cancelTime_; } /** - * - * *
    * The time at which cancellation of this operation was received.
    * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -386,12 +319,9 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
   }
 
   public static final int OPTIMIZE_DATABASE_OPERATION_NAME_FIELD_NUMBER = 6;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object optimizeDatabaseOperationName_ = "";
   /**
-   *
-   *
    * 
    * 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
@@ -407,7 +337,6 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
    * 
* * string optimize_database_operation_name = 6; - * * @return The optimizeDatabaseOperationName. */ @java.lang.Override @@ -416,15 +345,14 @@ public java.lang.String getOptimizeDatabaseOperationName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); optimizeDatabaseOperationName_ = 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
@@ -440,15 +368,16 @@ public java.lang.String getOptimizeDatabaseOperationName() {
    * 
* * string optimize_database_operation_name = 6; - * * @return The bytes for optimizeDatabaseOperationName. */ @java.lang.Override - public com.google.protobuf.ByteString getOptimizeDatabaseOperationNameBytes() { + public com.google.protobuf.ByteString + getOptimizeDatabaseOperationNameBytes() { java.lang.Object ref = optimizeDatabaseOperationName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); optimizeDatabaseOperationName_ = b; return b; } else { @@ -457,7 +386,6 @@ public com.google.protobuf.ByteString getOptimizeDatabaseOperationNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -469,12 +397,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.spanner.admin.database.v1.RestoreSourceType.TYPE_UNSPECIFIED.getNumber()) { + if (sourceType_ != com.google.spanner.admin.database.v1.RestoreSourceType.TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(2, sourceType_); } if (sourceInfoCase_ == 3) { @@ -501,25 +429,24 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (sourceType_ - != com.google.spanner.admin.database.v1.RestoreSourceType.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, sourceType_); + if (sourceType_ != com.google.spanner.admin.database.v1.RestoreSourceType.TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, sourceType_); } if (sourceInfoCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.spanner.admin.database.v1.BackupInfo) sourceInfo_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.spanner.admin.database.v1.BackupInfo) sourceInfo_); } if (progress_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getProgress()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getProgress()); } if (cancelTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCancelTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getCancelTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(optimizeDatabaseOperationName_)) { - size += - com.google.protobuf.GeneratedMessageV3.computeStringSize( - 6, optimizeDatabaseOperationName_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, optimizeDatabaseOperationName_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -529,30 +456,33 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.database.v1.RestoreDatabaseMetadata)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.RestoreDatabaseMetadata other = - (com.google.spanner.admin.database.v1.RestoreDatabaseMetadata) obj; + com.google.spanner.admin.database.v1.RestoreDatabaseMetadata other = (com.google.spanner.admin.database.v1.RestoreDatabaseMetadata) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (sourceType_ != other.sourceType_) 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 (hasCancelTime() != other.hasCancelTime()) return false; if (hasCancelTime()) { - if (!getCancelTime().equals(other.getCancelTime())) return false; + if (!getCancelTime() + .equals(other.getCancelTime())) return false; } - if (!getOptimizeDatabaseOperationName().equals(other.getOptimizeDatabaseOperationName())) - return false; + if (!getOptimizeDatabaseOperationName() + .equals(other.getOptimizeDatabaseOperationName())) 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: @@ -596,104 +526,96 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.RestoreDatabaseMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.RestoreDatabaseMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.RestoreDatabaseMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.RestoreDatabaseMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.RestoreDatabaseMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.RestoreDatabaseMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.RestoreDatabaseMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.RestoreDatabaseMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.RestoreDatabaseMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.RestoreDatabaseMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.RestoreDatabaseMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.RestoreDatabaseMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.RestoreDatabaseMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.RestoreDatabaseMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.database.v1.RestoreDatabaseMetadata prototype) { + public static Builder newBuilder(com.google.spanner.admin.database.v1.RestoreDatabaseMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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
    * [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase].
@@ -701,32 +623,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.database.v1.RestoreDatabaseMetadata}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.RestoreDatabaseMetadata)
       com.google.spanner.admin.database.v1.RestoreDatabaseMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-          .internal_static_google_spanner_admin_database_v1_RestoreDatabaseMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_RestoreDatabaseMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-          .internal_static_google_spanner_admin_database_v1_RestoreDatabaseMetadata_fieldAccessorTable
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_RestoreDatabaseMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.database.v1.RestoreDatabaseMetadata.class,
-              com.google.spanner.admin.database.v1.RestoreDatabaseMetadata.Builder.class);
+              com.google.spanner.admin.database.v1.RestoreDatabaseMetadata.class, com.google.spanner.admin.database.v1.RestoreDatabaseMetadata.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.database.v1.RestoreDatabaseMetadata.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -753,14 +676,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-          .internal_static_google_spanner_admin_database_v1_RestoreDatabaseMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_RestoreDatabaseMetadata_descriptor;
     }
 
     @java.lang.Override
-    public com.google.spanner.admin.database.v1.RestoreDatabaseMetadata
-        getDefaultInstanceForType() {
+    public com.google.spanner.admin.database.v1.RestoreDatabaseMetadata getDefaultInstanceForType() {
       return com.google.spanner.admin.database.v1.RestoreDatabaseMetadata.getDefaultInstance();
     }
 
@@ -775,18 +697,14 @@ public com.google.spanner.admin.database.v1.RestoreDatabaseMetadata build() {
 
     @java.lang.Override
     public com.google.spanner.admin.database.v1.RestoreDatabaseMetadata buildPartial() {
-      com.google.spanner.admin.database.v1.RestoreDatabaseMetadata result =
-          new com.google.spanner.admin.database.v1.RestoreDatabaseMetadata(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.admin.database.v1.RestoreDatabaseMetadata result = new com.google.spanner.admin.database.v1.RestoreDatabaseMetadata(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.spanner.admin.database.v1.RestoreDatabaseMetadata result) {
+    private void buildPartial0(com.google.spanner.admin.database.v1.RestoreDatabaseMetadata result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.name_ = name_;
@@ -795,21 +713,25 @@ private void buildPartial0(
         result.sourceType_ = sourceType_;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.progress_ = progressBuilder_ == null ? progress_ : progressBuilder_.build();
+        result.progress_ = progressBuilder_ == null
+            ? progress_
+            : progressBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.cancelTime_ = cancelTimeBuilder_ == null ? cancelTime_ : cancelTimeBuilder_.build();
+        result.cancelTime_ = cancelTimeBuilder_ == null
+            ? cancelTime_
+            : cancelTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
         result.optimizeDatabaseOperationName_ = optimizeDatabaseOperationName_;
       }
     }
 
-    private void buildPartialOneofs(
-        com.google.spanner.admin.database.v1.RestoreDatabaseMetadata result) {
+    private void buildPartialOneofs(com.google.spanner.admin.database.v1.RestoreDatabaseMetadata result) {
       result.sourceInfoCase_ = sourceInfoCase_;
       result.sourceInfo_ = this.sourceInfo_;
-      if (sourceInfoCase_ == 3 && backupInfoBuilder_ != null) {
+      if (sourceInfoCase_ == 3 &&
+          backupInfoBuilder_ != null) {
         result.sourceInfo_ = backupInfoBuilder_.build();
       }
     }
@@ -818,39 +740,38 @@ 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) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.database.v1.RestoreDatabaseMetadata) {
-        return mergeFrom((com.google.spanner.admin.database.v1.RestoreDatabaseMetadata) other);
+        return mergeFrom((com.google.spanner.admin.database.v1.RestoreDatabaseMetadata)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -858,9 +779,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.spanner.admin.database.v1.RestoreDatabaseMetadata other) {
-      if (other
-          == com.google.spanner.admin.database.v1.RestoreDatabaseMetadata.getDefaultInstance())
-        return this;
+      if (other == com.google.spanner.admin.database.v1.RestoreDatabaseMetadata.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -881,15 +800,13 @@ public Builder mergeFrom(com.google.spanner.admin.database.v1.RestoreDatabaseMet
         onChanged();
       }
       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();
@@ -917,49 +834,48 @@ 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:
-              {
-                input.readMessage(getProgressFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            case 42:
-              {
-                input.readMessage(getCancelTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 42
-            case 50:
-              {
-                optimizeDatabaseOperationName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000020;
-                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 16: {
+              sourceType_ = input.readEnum();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 16
+            case 26: {
+              input.readMessage(
+                  getBackupInfoFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              sourceInfoCase_ = 3;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getProgressFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            case 42: {
+              input.readMessage(
+                  getCancelTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 42
+            case 50: {
+              optimizeDatabaseOperationName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000020;
+              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) {
@@ -969,12 +885,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() {
@@ -988,20 +904,18 @@ public Builder clearSourceInfo() {
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Name of the database being created and restored to.
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1010,21 +924,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Name of the database being created and restored to.
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1032,35 +945,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Name of the database being created and restored to.
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Name of the database being created and restored to.
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearName() { @@ -1070,21 +976,17 @@ public Builder clearName() { return this; } /** - * - * *
      * Name of the database being created and restored to.
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1094,29 +996,22 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int sourceType_ = 0; /** - * - * *
      * The type of the restore source.
      * 
* * .google.spanner.admin.database.v1.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.spanner.admin.database.v1.RestoreSourceType source_type = 2; - * * @param value The enum numeric value on the wire for sourceType to set. * @return This builder for chaining. */ @@ -1127,33 +1022,24 @@ public Builder setSourceTypeValue(int value) { return this; } /** - * - * *
      * The type of the restore source.
      * 
* * .google.spanner.admin.database.v1.RestoreSourceType source_type = 2; - * * @return The sourceType. */ @java.lang.Override public com.google.spanner.admin.database.v1.RestoreSourceType getSourceType() { - com.google.spanner.admin.database.v1.RestoreSourceType result = - com.google.spanner.admin.database.v1.RestoreSourceType.forNumber(sourceType_); - return result == null - ? com.google.spanner.admin.database.v1.RestoreSourceType.UNRECOGNIZED - : result; + com.google.spanner.admin.database.v1.RestoreSourceType result = com.google.spanner.admin.database.v1.RestoreSourceType.forNumber(sourceType_); + return result == null ? com.google.spanner.admin.database.v1.RestoreSourceType.UNRECOGNIZED : result; } /** - * - * *
      * The type of the restore source.
      * 
* * .google.spanner.admin.database.v1.RestoreSourceType source_type = 2; - * * @param value The sourceType to set. * @return This builder for chaining. */ @@ -1167,14 +1053,11 @@ public Builder setSourceType(com.google.spanner.admin.database.v1.RestoreSourceT return this; } /** - * - * *
      * The type of the restore source.
      * 
* * .google.spanner.admin.database.v1.RestoreSourceType source_type = 2; - * * @return This builder for chaining. */ public Builder clearSourceType() { @@ -1185,19 +1068,13 @@ public Builder clearSourceType() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.BackupInfo, - com.google.spanner.admin.database.v1.BackupInfo.Builder, - com.google.spanner.admin.database.v1.BackupInfoOrBuilder> - backupInfoBuilder_; + com.google.spanner.admin.database.v1.BackupInfo, com.google.spanner.admin.database.v1.BackupInfo.Builder, com.google.spanner.admin.database.v1.BackupInfoOrBuilder> backupInfoBuilder_; /** - * - * *
      * Information about the backup used to restore the database.
      * 
* * .google.spanner.admin.database.v1.BackupInfo backup_info = 3; - * * @return Whether the backupInfo field is set. */ @java.lang.Override @@ -1205,14 +1082,11 @@ public boolean hasBackupInfo() { return sourceInfoCase_ == 3; } /** - * - * *
      * Information about the backup used to restore the database.
      * 
* * .google.spanner.admin.database.v1.BackupInfo backup_info = 3; - * * @return The backupInfo. */ @java.lang.Override @@ -1230,8 +1104,6 @@ public com.google.spanner.admin.database.v1.BackupInfo getBackupInfo() { } } /** - * - * *
      * Information about the backup used to restore the database.
      * 
@@ -1252,8 +1124,6 @@ public Builder setBackupInfo(com.google.spanner.admin.database.v1.BackupInfo val return this; } /** - * - * *
      * Information about the backup used to restore the database.
      * 
@@ -1272,8 +1142,6 @@ public Builder setBackupInfo( return this; } /** - * - * *
      * Information about the backup used to restore the database.
      * 
@@ -1282,14 +1150,10 @@ public Builder setBackupInfo( */ public Builder mergeBackupInfo(com.google.spanner.admin.database.v1.BackupInfo value) { if (backupInfoBuilder_ == null) { - if (sourceInfoCase_ == 3 - && sourceInfo_ - != com.google.spanner.admin.database.v1.BackupInfo.getDefaultInstance()) { - sourceInfo_ = - com.google.spanner.admin.database.v1.BackupInfo.newBuilder( - (com.google.spanner.admin.database.v1.BackupInfo) sourceInfo_) - .mergeFrom(value) - .buildPartial(); + if (sourceInfoCase_ == 3 && + sourceInfo_ != com.google.spanner.admin.database.v1.BackupInfo.getDefaultInstance()) { + sourceInfo_ = com.google.spanner.admin.database.v1.BackupInfo.newBuilder((com.google.spanner.admin.database.v1.BackupInfo) sourceInfo_) + .mergeFrom(value).buildPartial(); } else { sourceInfo_ = value; } @@ -1305,8 +1169,6 @@ public Builder mergeBackupInfo(com.google.spanner.admin.database.v1.BackupInfo v return this; } /** - * - * *
      * Information about the backup used to restore the database.
      * 
@@ -1330,8 +1192,6 @@ public Builder clearBackupInfo() { return this; } /** - * - * *
      * Information about the backup used to restore the database.
      * 
@@ -1342,8 +1202,6 @@ public com.google.spanner.admin.database.v1.BackupInfo.Builder getBackupInfoBuil return getBackupInfoFieldBuilder().getBuilder(); } /** - * - * *
      * Information about the backup used to restore the database.
      * 
@@ -1362,8 +1220,6 @@ public com.google.spanner.admin.database.v1.BackupInfoOrBuilder getBackupInfoOrB } } /** - * - * *
      * Information about the backup used to restore the database.
      * 
@@ -1371,19 +1227,14 @@ public com.google.spanner.admin.database.v1.BackupInfoOrBuilder getBackupInfoOrB * .google.spanner.admin.database.v1.BackupInfo backup_info = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.BackupInfo, - com.google.spanner.admin.database.v1.BackupInfo.Builder, - com.google.spanner.admin.database.v1.BackupInfoOrBuilder> + com.google.spanner.admin.database.v1.BackupInfo, com.google.spanner.admin.database.v1.BackupInfo.Builder, com.google.spanner.admin.database.v1.BackupInfoOrBuilder> getBackupInfoFieldBuilder() { if (backupInfoBuilder_ == null) { if (!(sourceInfoCase_ == 3)) { sourceInfo_ = com.google.spanner.admin.database.v1.BackupInfo.getDefaultInstance(); } - backupInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.BackupInfo, - com.google.spanner.admin.database.v1.BackupInfo.Builder, - com.google.spanner.admin.database.v1.BackupInfoOrBuilder>( + backupInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.admin.database.v1.BackupInfo, com.google.spanner.admin.database.v1.BackupInfo.Builder, com.google.spanner.admin.database.v1.BackupInfoOrBuilder>( (com.google.spanner.admin.database.v1.BackupInfo) sourceInfo_, getParentForChildren(), isClean()); @@ -1396,13 +1247,8 @@ public com.google.spanner.admin.database.v1.BackupInfoOrBuilder getBackupInfoOrB private com.google.spanner.admin.database.v1.OperationProgress progress_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.OperationProgress, - com.google.spanner.admin.database.v1.OperationProgress.Builder, - com.google.spanner.admin.database.v1.OperationProgressOrBuilder> - progressBuilder_; + com.google.spanner.admin.database.v1.OperationProgress, com.google.spanner.admin.database.v1.OperationProgress.Builder, com.google.spanner.admin.database.v1.OperationProgressOrBuilder> progressBuilder_; /** - * - * *
      * The progress of the
      * [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase]
@@ -1410,15 +1256,12 @@ public com.google.spanner.admin.database.v1.BackupInfoOrBuilder getBackupInfoOrB
      * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 4; - * * @return Whether the progress field is set. */ public boolean hasProgress() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * The progress of the
      * [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase]
@@ -1426,21 +1269,16 @@ public boolean hasProgress() {
      * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 4; - * * @return The progress. */ public com.google.spanner.admin.database.v1.OperationProgress getProgress() { if (progressBuilder_ == null) { - return progress_ == null - ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() - : progress_; + return progress_ == null ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() : progress_; } else { return progressBuilder_.getMessage(); } } /** - * - * *
      * The progress of the
      * [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase]
@@ -1463,8 +1301,6 @@ public Builder setProgress(com.google.spanner.admin.database.v1.OperationProgres
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase]
@@ -1485,8 +1321,6 @@ public Builder setProgress(
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase]
@@ -1497,10 +1331,9 @@ public Builder setProgress(
      */
     public Builder mergeProgress(com.google.spanner.admin.database.v1.OperationProgress value) {
       if (progressBuilder_ == null) {
-        if (((bitField0_ & 0x00000008) != 0)
-            && progress_ != null
-            && progress_
-                != com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0) &&
+          progress_ != null &&
+          progress_ != com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance()) {
           getProgressBuilder().mergeFrom(value);
         } else {
           progress_ = value;
@@ -1513,8 +1346,6 @@ public Builder mergeProgress(com.google.spanner.admin.database.v1.OperationProgr
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase]
@@ -1534,8 +1365,6 @@ public Builder clearProgress() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase]
@@ -1550,8 +1379,6 @@ public com.google.spanner.admin.database.v1.OperationProgress.Builder getProgres
       return getProgressFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase]
@@ -1564,14 +1391,11 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre
       if (progressBuilder_ != null) {
         return progressBuilder_.getMessageOrBuilder();
       } else {
-        return progress_ == null
-            ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance()
-            : progress_;
+        return progress_ == null ?
+            com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() : progress_;
       }
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase]
@@ -1581,17 +1405,14 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre
      * .google.spanner.admin.database.v1.OperationProgress progress = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.admin.database.v1.OperationProgress,
-            com.google.spanner.admin.database.v1.OperationProgress.Builder,
-            com.google.spanner.admin.database.v1.OperationProgressOrBuilder>
+        com.google.spanner.admin.database.v1.OperationProgress, com.google.spanner.admin.database.v1.OperationProgress.Builder, com.google.spanner.admin.database.v1.OperationProgressOrBuilder> 
         getProgressFieldBuilder() {
       if (progressBuilder_ == null) {
-        progressBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.admin.database.v1.OperationProgress,
-                com.google.spanner.admin.database.v1.OperationProgress.Builder,
-                com.google.spanner.admin.database.v1.OperationProgressOrBuilder>(
-                getProgress(), getParentForChildren(), isClean());
+        progressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.admin.database.v1.OperationProgress, com.google.spanner.admin.database.v1.OperationProgress.Builder, com.google.spanner.admin.database.v1.OperationProgressOrBuilder>(
+                getProgress(),
+                getParentForChildren(),
+                isClean());
         progress_ = null;
       }
       return progressBuilder_;
@@ -1599,13 +1420,8 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre
 
     private com.google.protobuf.Timestamp cancelTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        cancelTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> cancelTimeBuilder_;
     /**
-     *
-     *
      * 
      * The time at which cancellation of this operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1621,15 +1437,12 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre
      * 
* * .google.protobuf.Timestamp cancel_time = 5; - * * @return Whether the cancelTime field is set. */ public boolean hasCancelTime() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * The time at which cancellation of this operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1645,21 +1458,16 @@ public boolean hasCancelTime() {
      * 
* * .google.protobuf.Timestamp cancel_time = 5; - * * @return The cancelTime. */ public com.google.protobuf.Timestamp getCancelTime() { if (cancelTimeBuilder_ == null) { - return cancelTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : cancelTime_; + return cancelTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : cancelTime_; } else { return cancelTimeBuilder_.getMessage(); } } /** - * - * *
      * The time at which cancellation of this operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1690,8 +1498,6 @@ public Builder setCancelTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which cancellation of this operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1708,7 +1514,8 @@ public Builder setCancelTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp cancel_time = 5;
      */
-    public Builder setCancelTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setCancelTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (cancelTimeBuilder_ == null) {
         cancelTime_ = builderForValue.build();
       } else {
@@ -1719,8 +1526,6 @@ public Builder setCancelTime(com.google.protobuf.Timestamp.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which cancellation of this operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1739,9 +1544,9 @@ public Builder setCancelTime(com.google.protobuf.Timestamp.Builder builderForVal
      */
     public Builder mergeCancelTime(com.google.protobuf.Timestamp value) {
       if (cancelTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000010) != 0)
-            && cancelTime_ != null
-            && cancelTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000010) != 0) &&
+          cancelTime_ != null &&
+          cancelTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getCancelTimeBuilder().mergeFrom(value);
         } else {
           cancelTime_ = value;
@@ -1754,8 +1559,6 @@ public Builder mergeCancelTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which cancellation of this operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1783,8 +1586,6 @@ public Builder clearCancelTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which cancellation of this operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1807,8 +1608,6 @@ public com.google.protobuf.Timestamp.Builder getCancelTimeBuilder() {
       return getCancelTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time at which cancellation of this operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1829,14 +1628,11 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
       if (cancelTimeBuilder_ != null) {
         return cancelTimeBuilder_.getMessageOrBuilder();
       } else {
-        return cancelTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : cancelTime_;
+        return cancelTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : cancelTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The time at which cancellation of this operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1854,17 +1650,14 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
      * .google.protobuf.Timestamp cancel_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> 
         getCancelTimeFieldBuilder() {
       if (cancelTimeBuilder_ == null) {
-        cancelTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getCancelTime(), getParentForChildren(), isClean());
+        cancelTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getCancelTime(),
+                getParentForChildren(),
+                isClean());
         cancelTime_ = null;
       }
       return cancelTimeBuilder_;
@@ -1872,8 +1665,6 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
 
     private java.lang.Object optimizeDatabaseOperationName_ = "";
     /**
-     *
-     *
      * 
      * 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
@@ -1889,13 +1680,13 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
      * 
* * string optimize_database_operation_name = 6; - * * @return The optimizeDatabaseOperationName. */ public java.lang.String getOptimizeDatabaseOperationName() { java.lang.Object ref = optimizeDatabaseOperationName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); optimizeDatabaseOperationName_ = s; return s; @@ -1904,8 +1695,6 @@ public java.lang.String getOptimizeDatabaseOperationName() { } } /** - * - * *
      * 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
@@ -1921,14 +1710,15 @@ public java.lang.String getOptimizeDatabaseOperationName() {
      * 
* * string optimize_database_operation_name = 6; - * * @return The bytes for optimizeDatabaseOperationName. */ - public com.google.protobuf.ByteString getOptimizeDatabaseOperationNameBytes() { + public com.google.protobuf.ByteString + getOptimizeDatabaseOperationNameBytes() { java.lang.Object ref = optimizeDatabaseOperationName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); optimizeDatabaseOperationName_ = b; return b; } else { @@ -1936,8 +1726,6 @@ public com.google.protobuf.ByteString getOptimizeDatabaseOperationNameBytes() { } } /** - * - * *
      * 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
@@ -1953,22 +1741,18 @@ public com.google.protobuf.ByteString getOptimizeDatabaseOperationNameBytes() {
      * 
* * string optimize_database_operation_name = 6; - * * @param value The optimizeDatabaseOperationName to set. * @return This builder for chaining. */ - public Builder setOptimizeDatabaseOperationName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOptimizeDatabaseOperationName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } optimizeDatabaseOperationName_ = value; bitField0_ |= 0x00000020; 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
@@ -1984,7 +1768,6 @@ public Builder setOptimizeDatabaseOperationName(java.lang.String value) {
      * 
* * string optimize_database_operation_name = 6; - * * @return This builder for chaining. */ public Builder clearOptimizeDatabaseOperationName() { @@ -1994,8 +1777,6 @@ public Builder clearOptimizeDatabaseOperationName() { 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
@@ -2011,23 +1792,21 @@ public Builder clearOptimizeDatabaseOperationName() {
      * 
* * string optimize_database_operation_name = 6; - * * @param value The bytes for optimizeDatabaseOperationName to set. * @return This builder for chaining. */ - public Builder setOptimizeDatabaseOperationNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOptimizeDatabaseOperationNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); optimizeDatabaseOperationName_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2037,13 +1816,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.RestoreDatabaseMetadata) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.RestoreDatabaseMetadata) - private static final com.google.spanner.admin.database.v1.RestoreDatabaseMetadata - DEFAULT_INSTANCE; - + private static final com.google.spanner.admin.database.v1.RestoreDatabaseMetadata DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.RestoreDatabaseMetadata(); } @@ -2052,27 +1830,27 @@ public static com.google.spanner.admin.database.v1.RestoreDatabaseMetadata getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RestoreDatabaseMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RestoreDatabaseMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2087,4 +1865,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.RestoreDatabaseMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseMetadataOrBuilder.java similarity index 88% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseMetadataOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseMetadataOrBuilder.java index 35ad6d76e9d..ff45e02439b 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseMetadataOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseMetadataOrBuilder.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/spanner/admin/database/v1/spanner_database_admin.proto package com.google.spanner.admin.database.v1; -public interface RestoreDatabaseMetadataOrBuilder - extends +public interface RestoreDatabaseMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.RestoreDatabaseMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Name of the database being created and restored to.
    * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Name of the database being created and restored to.
    * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The type of the restore source.
    * 
* * .google.spanner.admin.database.v1.RestoreSourceType source_type = 2; - * * @return The enum numeric value on the wire for sourceType. */ int getSourceTypeValue(); /** - * - * *
    * The type of the restore source.
    * 
* * .google.spanner.admin.database.v1.RestoreSourceType source_type = 2; - * * @return The sourceType. */ com.google.spanner.admin.database.v1.RestoreSourceType getSourceType(); /** - * - * *
    * Information about the backup used to restore the database.
    * 
* * .google.spanner.admin.database.v1.BackupInfo backup_info = 3; - * * @return Whether the backupInfo field is set. */ boolean hasBackupInfo(); /** - * - * *
    * Information about the backup used to restore the database.
    * 
* * .google.spanner.admin.database.v1.BackupInfo backup_info = 3; - * * @return The backupInfo. */ com.google.spanner.admin.database.v1.BackupInfo getBackupInfo(); /** - * - * *
    * Information about the backup used to restore the database.
    * 
@@ -109,8 +74,6 @@ public interface RestoreDatabaseMetadataOrBuilder com.google.spanner.admin.database.v1.BackupInfoOrBuilder getBackupInfoOrBuilder(); /** - * - * *
    * The progress of the
    * [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase]
@@ -118,13 +81,10 @@ public interface RestoreDatabaseMetadataOrBuilder
    * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 4; - * * @return Whether the progress field is set. */ boolean hasProgress(); /** - * - * *
    * The progress of the
    * [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase]
@@ -132,13 +92,10 @@ public interface RestoreDatabaseMetadataOrBuilder
    * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 4; - * * @return The progress. */ com.google.spanner.admin.database.v1.OperationProgress getProgress(); /** - * - * *
    * The progress of the
    * [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase]
@@ -150,8 +107,6 @@ public interface RestoreDatabaseMetadataOrBuilder
   com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgressOrBuilder();
 
   /**
-   *
-   *
    * 
    * The time at which cancellation of this operation was received.
    * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -167,13 +122,10 @@ public interface RestoreDatabaseMetadataOrBuilder
    * 
* * .google.protobuf.Timestamp cancel_time = 5; - * * @return Whether the cancelTime field is set. */ boolean hasCancelTime(); /** - * - * *
    * The time at which cancellation of this operation was received.
    * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -189,13 +141,10 @@ public interface RestoreDatabaseMetadataOrBuilder
    * 
* * .google.protobuf.Timestamp cancel_time = 5; - * * @return The cancelTime. */ com.google.protobuf.Timestamp getCancelTime(); /** - * - * *
    * The time at which cancellation of this operation was received.
    * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -215,8 +164,6 @@ public interface RestoreDatabaseMetadataOrBuilder
   com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * 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
@@ -232,13 +179,10 @@ public interface RestoreDatabaseMetadataOrBuilder
    * 
* * string optimize_database_operation_name = 6; - * * @return The optimizeDatabaseOperationName. */ java.lang.String getOptimizeDatabaseOperationName(); /** - * - * *
    * 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
@@ -254,11 +198,10 @@ public interface RestoreDatabaseMetadataOrBuilder
    * 
* * string optimize_database_operation_name = 6; - * * @return The bytes for optimizeDatabaseOperationName. */ - com.google.protobuf.ByteString getOptimizeDatabaseOperationNameBytes(); + com.google.protobuf.ByteString + getOptimizeDatabaseOperationNameBytes(); - public com.google.spanner.admin.database.v1.RestoreDatabaseMetadata.SourceInfoCase - getSourceInfoCase(); + public com.google.spanner.admin.database.v1.RestoreDatabaseMetadata.SourceInfoCase getSourceInfoCase(); } diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseRequest.java similarity index 70% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseRequest.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseRequest.java index c89cf015544..543db5a7891 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseRequest.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/spanner/admin/database/v1/spanner_database_admin.proto package com.google.spanner.admin.database.v1; /** - * - * *
  * The request for
  * [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.spanner.admin.database.v1.RestoreDatabaseRequest}
  */
-public final class RestoreDatabaseRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RestoreDatabaseRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.RestoreDatabaseRequest)
     RestoreDatabaseRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RestoreDatabaseRequest.newBuilder() to construct.
   private RestoreDatabaseRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private RestoreDatabaseRequest() {
     parent_ = "";
     databaseId_ = "";
@@ -45,41 +27,37 @@ private RestoreDatabaseRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RestoreDatabaseRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-        .internal_static_google_spanner_admin_database_v1_RestoreDatabaseRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_RestoreDatabaseRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-        .internal_static_google_spanner_admin_database_v1_RestoreDatabaseRequest_fieldAccessorTable
+    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_RestoreDatabaseRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.database.v1.RestoreDatabaseRequest.class,
-            com.google.spanner.admin.database.v1.RestoreDatabaseRequest.Builder.class);
+            com.google.spanner.admin.database.v1.RestoreDatabaseRequest.class, com.google.spanner.admin.database.v1.RestoreDatabaseRequest.Builder.class);
   }
 
   private int sourceCase_ = 0;
   private java.lang.Object source_;
-
   public enum SourceCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     BACKUP(3),
     SOURCE_NOT_SET(0);
     private final int value;
-
     private SourceCase(int value) {
       this.value = value;
     }
@@ -95,31 +73,26 @@ 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 database. This instance must be in the same project and
@@ -128,10 +101,7 @@ public SourceCase getSourceCase() {
    * `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 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 @@ -140,15 +110,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 name of the instance in which to create the
    * restored database. This instance must be in the same project and
@@ -157,18 +126,17 @@ public java.lang.String getParent() {
    * `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 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 { @@ -177,12 +145,9 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int DATABASE_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object databaseId_ = ""; /** - * - * *
    * Required. The id of the database to create and restore to. This
    * database must not already exist. The `database_id` appended to
@@ -191,7 +156,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string database_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The databaseId. */ @java.lang.Override @@ -200,15 +164,14 @@ public java.lang.String getDatabaseId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseId_ = s; return s; } } /** - * - * *
    * Required. The id of the database to create and restore to. This
    * database must not already exist. The `database_id` appended to
@@ -217,15 +180,16 @@ public java.lang.String getDatabaseId() {
    * 
* * string database_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for databaseId. */ @java.lang.Override - public com.google.protobuf.ByteString getDatabaseIdBytes() { + public com.google.protobuf.ByteString + getDatabaseIdBytes() { java.lang.Object ref = databaseId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); databaseId_ = b; return b; } else { @@ -235,30 +199,24 @@ public com.google.protobuf.ByteString getDatabaseIdBytes() { 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>/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>/backups/<backup>`.
    * 
* * string backup = 3 [(.google.api.resource_reference) = { ... } - * * @return The backup. */ public java.lang.String getBackup() { @@ -269,7 +227,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; @@ -278,25 +237,24 @@ public java.lang.String getBackup() { } } /** - * - * *
    * Name of the backup from which to restore.  Values are of the form
    * `projects/<project>/instances/<instance>/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; } @@ -309,8 +267,6 @@ public com.google.protobuf.ByteString getBackupBytes() { public static final int ENCRYPTION_CONFIG_FIELD_NUMBER = 4; private com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryptionConfig_; /** - * - * *
    * Optional. An encryption configuration describing the encryption type and key
    * resources in Cloud KMS used to encrypt/decrypt the database to restore to.
@@ -320,10 +276,7 @@ public com.google.protobuf.ByteString getBackupBytes() {
    * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
    * 
* - * - * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the encryptionConfig field is set. */ @java.lang.Override @@ -331,8 +284,6 @@ public boolean hasEncryptionConfig() { return encryptionConfig_ != null; } /** - * - * *
    * Optional. An encryption configuration describing the encryption type and key
    * resources in Cloud KMS used to encrypt/decrypt the database to restore to.
@@ -342,22 +293,14 @@ public boolean hasEncryptionConfig() {
    * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
    * 
* - * - * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The encryptionConfig. */ @java.lang.Override - public com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig - getEncryptionConfig() { - return encryptionConfig_ == null - ? com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.getDefaultInstance() - : encryptionConfig_; + public com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig getEncryptionConfig() { + return encryptionConfig_ == null ? com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.getDefaultInstance() : encryptionConfig_; } /** - * - * *
    * Optional. An encryption configuration describing the encryption type and key
    * resources in Cloud KMS used to encrypt/decrypt the database to restore to.
@@ -367,20 +310,14 @@ public boolean hasEncryptionConfig() {
    * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
    * 
* - * - * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfigOrBuilder - getEncryptionConfigOrBuilder() { - return encryptionConfig_ == null - ? com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.getDefaultInstance() - : encryptionConfig_; + public com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { + return encryptionConfig_ == null ? com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.getDefaultInstance() : encryptionConfig_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -392,7 +329,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -424,7 +362,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, source_); } if (encryptionConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getEncryptionConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getEncryptionConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -434,24 +373,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.spanner.admin.database.v1.RestoreDatabaseRequest)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.RestoreDatabaseRequest other = - (com.google.spanner.admin.database.v1.RestoreDatabaseRequest) obj; + com.google.spanner.admin.database.v1.RestoreDatabaseRequest other = (com.google.spanner.admin.database.v1.RestoreDatabaseRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getDatabaseId().equals(other.getDatabaseId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getDatabaseId() + .equals(other.getDatabaseId())) 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 (!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: @@ -489,104 +431,96 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.RestoreDatabaseRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.RestoreDatabaseRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.RestoreDatabaseRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.RestoreDatabaseRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.RestoreDatabaseRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.RestoreDatabaseRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.RestoreDatabaseRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.RestoreDatabaseRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.RestoreDatabaseRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.RestoreDatabaseRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.RestoreDatabaseRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.RestoreDatabaseRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.RestoreDatabaseRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.RestoreDatabaseRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.database.v1.RestoreDatabaseRequest prototype) { + public static Builder newBuilder(com.google.spanner.admin.database.v1.RestoreDatabaseRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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
    * [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase].
@@ -594,32 +528,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.database.v1.RestoreDatabaseRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.RestoreDatabaseRequest)
       com.google.spanner.admin.database.v1.RestoreDatabaseRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-          .internal_static_google_spanner_admin_database_v1_RestoreDatabaseRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_RestoreDatabaseRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-          .internal_static_google_spanner_admin_database_v1_RestoreDatabaseRequest_fieldAccessorTable
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_RestoreDatabaseRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.database.v1.RestoreDatabaseRequest.class,
-              com.google.spanner.admin.database.v1.RestoreDatabaseRequest.Builder.class);
+              com.google.spanner.admin.database.v1.RestoreDatabaseRequest.class, com.google.spanner.admin.database.v1.RestoreDatabaseRequest.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.database.v1.RestoreDatabaseRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -637,9 +572,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-          .internal_static_google_spanner_admin_database_v1_RestoreDatabaseRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_RestoreDatabaseRequest_descriptor;
     }
 
     @java.lang.Override
@@ -658,11 +593,8 @@ public com.google.spanner.admin.database.v1.RestoreDatabaseRequest build() {
 
     @java.lang.Override
     public com.google.spanner.admin.database.v1.RestoreDatabaseRequest buildPartial() {
-      com.google.spanner.admin.database.v1.RestoreDatabaseRequest result =
-          new com.google.spanner.admin.database.v1.RestoreDatabaseRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.admin.database.v1.RestoreDatabaseRequest result = new com.google.spanner.admin.database.v1.RestoreDatabaseRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -677,13 +609,13 @@ private void buildPartial0(com.google.spanner.admin.database.v1.RestoreDatabaseR
         result.databaseId_ = databaseId_;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.encryptionConfig_ =
-            encryptionConfigBuilder_ == null ? encryptionConfig_ : encryptionConfigBuilder_.build();
+        result.encryptionConfig_ = encryptionConfigBuilder_ == null
+            ? encryptionConfig_
+            : encryptionConfigBuilder_.build();
       }
     }
 
-    private void buildPartialOneofs(
-        com.google.spanner.admin.database.v1.RestoreDatabaseRequest result) {
+    private void buildPartialOneofs(com.google.spanner.admin.database.v1.RestoreDatabaseRequest result) {
       result.sourceCase_ = sourceCase_;
       result.source_ = this.source_;
     }
@@ -692,39 +624,38 @@ 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) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.database.v1.RestoreDatabaseRequest) {
-        return mergeFrom((com.google.spanner.admin.database.v1.RestoreDatabaseRequest) other);
+        return mergeFrom((com.google.spanner.admin.database.v1.RestoreDatabaseRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -732,8 +663,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.spanner.admin.database.v1.RestoreDatabaseRequest other) {
-      if (other == com.google.spanner.admin.database.v1.RestoreDatabaseRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.spanner.admin.database.v1.RestoreDatabaseRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -748,17 +678,15 @@ public Builder mergeFrom(com.google.spanner.admin.database.v1.RestoreDatabaseReq
         mergeEncryptionConfig(other.getEncryptionConfig());
       }
       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();
@@ -786,39 +714,35 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                databaseId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                sourceCase_ = 3;
-                source_ = s;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(
-                    getEncryptionConfigFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              databaseId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              java.lang.String s = input.readStringRequireUtf8();
+              sourceCase_ = 3;
+              source_ = s;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getEncryptionConfigFieldBuilder().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) {
@@ -828,12 +752,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() {
@@ -847,8 +771,6 @@ public Builder clearSource() {
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the instance in which to create the
      * restored database. This instance must be in the same project and
@@ -857,16 +779,14 @@ public Builder clearSource() {
      * `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 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; @@ -875,8 +795,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the instance in which to create the
      * restored database. This instance must be in the same project and
@@ -885,17 +803,16 @@ public java.lang.String getParent() {
      * `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 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 { @@ -903,8 +820,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the instance in which to create the
      * restored database. This instance must be in the same project and
@@ -913,25 +828,19 @@ public com.google.protobuf.ByteString getParentBytes() {
      * `projects/<project>/instances/<instance>`.
      * 
* - * - * 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 database. This instance must be in the same project and
@@ -940,10 +849,7 @@ public Builder setParent(java.lang.String value) {
      * `projects/<project>/instances/<instance>`.
      * 
* - * - * string 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() { @@ -953,8 +859,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The name of the instance in which to create the
      * restored database. This instance must be in the same project and
@@ -963,17 +867,13 @@ public Builder clearParent() {
      * `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -983,8 +883,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object databaseId_ = ""; /** - * - * *
      * Required. The id of the database to create and restore to. This
      * database must not already exist. The `database_id` appended to
@@ -993,13 +891,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string database_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The databaseId. */ public java.lang.String getDatabaseId() { java.lang.Object ref = databaseId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseId_ = s; return s; @@ -1008,8 +906,6 @@ public java.lang.String getDatabaseId() { } } /** - * - * *
      * Required. The id of the database to create and restore to. This
      * database must not already exist. The `database_id` appended to
@@ -1018,14 +914,15 @@ public java.lang.String getDatabaseId() {
      * 
* * string database_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for databaseId. */ - public com.google.protobuf.ByteString getDatabaseIdBytes() { + public com.google.protobuf.ByteString + getDatabaseIdBytes() { java.lang.Object ref = databaseId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); databaseId_ = b; return b; } else { @@ -1033,8 +930,6 @@ public com.google.protobuf.ByteString getDatabaseIdBytes() { } } /** - * - * *
      * Required. The id of the database to create and restore to. This
      * database must not already exist. The `database_id` appended to
@@ -1043,22 +938,18 @@ public com.google.protobuf.ByteString getDatabaseIdBytes() {
      * 
* * string database_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The databaseId to set. * @return This builder for chaining. */ - public Builder setDatabaseId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabaseId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } databaseId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The id of the database to create and restore to. This
      * database must not already exist. The `database_id` appended to
@@ -1067,7 +958,6 @@ public Builder setDatabaseId(java.lang.String value) {
      * 
* * string database_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDatabaseId() { @@ -1077,8 +967,6 @@ public Builder clearDatabaseId() { return this; } /** - * - * *
      * Required. The id of the database to create and restore to. This
      * database must not already exist. The `database_id` appended to
@@ -1087,14 +975,12 @@ public Builder clearDatabaseId() {
      * 
* * string database_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for databaseId to set. * @return This builder for chaining. */ - public Builder setDatabaseIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabaseIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); databaseId_ = value; bitField0_ |= 0x00000002; @@ -1103,15 +989,12 @@ public Builder setDatabaseIdBytes(com.google.protobuf.ByteString value) { } /** - * - * *
      * Name of the backup from which to restore.  Values are of the form
      * `projects/<project>/instances/<instance>/backups/<backup>`.
      * 
* * string backup = 3 [(.google.api.resource_reference) = { ... } - * * @return Whether the backup field is set. */ @java.lang.Override @@ -1119,15 +1002,12 @@ public boolean hasBackup() { return sourceCase_ == 3; } /** - * - * *
      * Name of the backup from which to restore.  Values are of the form
      * `projects/<project>/instances/<instance>/backups/<backup>`.
      * 
* * string backup = 3 [(.google.api.resource_reference) = { ... } - * * @return The backup. */ @java.lang.Override @@ -1137,7 +1017,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; @@ -1148,26 +1029,25 @@ public java.lang.String getBackup() { } } /** - * - * *
      * Name of the backup from which to restore.  Values are of the form
      * `projects/<project>/instances/<instance>/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; } @@ -1177,37 +1057,30 @@ public com.google.protobuf.ByteString getBackupBytes() { } } /** - * - * *
      * Name of the backup from which to restore.  Values are of the form
      * `projects/<project>/instances/<instance>/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>/backups/<backup>`.
      * 
* * string backup = 3 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearBackup() { @@ -1219,22 +1092,18 @@ public Builder clearBackup() { return this; } /** - * - * *
      * Name of the backup from which to restore.  Values are of the form
      * `projects/<project>/instances/<instance>/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; @@ -1244,13 +1113,8 @@ public Builder setBackupBytes(com.google.protobuf.ByteString value) { private com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryptionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig, - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.Builder, - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfigOrBuilder> - encryptionConfigBuilder_; + com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig, com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.Builder, com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfigOrBuilder> encryptionConfigBuilder_; /** - * - * *
      * Optional. An encryption configuration describing the encryption type and key
      * resources in Cloud KMS used to encrypt/decrypt the database to restore to.
@@ -1260,18 +1124,13 @@ public Builder setBackupBytes(com.google.protobuf.ByteString value) {
      * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
      * 
* - * - * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the encryptionConfig field is set. */ public boolean hasEncryptionConfig() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Optional. An encryption configuration describing the encryption type and key
      * resources in Cloud KMS used to encrypt/decrypt the database to restore to.
@@ -1281,26 +1140,17 @@ public boolean hasEncryptionConfig() {
      * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
      * 
* - * - * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The encryptionConfig. */ - public com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig - getEncryptionConfig() { + public com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig getEncryptionConfig() { if (encryptionConfigBuilder_ == null) { - return encryptionConfig_ == null - ? com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig - .getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.getDefaultInstance() : encryptionConfig_; } else { return encryptionConfigBuilder_.getMessage(); } } /** - * - * *
      * Optional. An encryption configuration describing the encryption type and key
      * resources in Cloud KMS used to encrypt/decrypt the database to restore to.
@@ -1310,12 +1160,9 @@ public boolean hasEncryptionConfig() {
      * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
      * 
* - * - * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setEncryptionConfig( - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig value) { + public Builder setEncryptionConfig(com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig value) { if (encryptionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1329,8 +1176,6 @@ public Builder setEncryptionConfig( return this; } /** - * - * *
      * Optional. An encryption configuration describing the encryption type and key
      * resources in Cloud KMS used to encrypt/decrypt the database to restore to.
@@ -1340,13 +1185,10 @@ public Builder setEncryptionConfig(
      * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
      * 
* - * - * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setEncryptionConfig( - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.Builder - builderForValue) { + com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.Builder builderForValue) { if (encryptionConfigBuilder_ == null) { encryptionConfig_ = builderForValue.build(); } else { @@ -1357,8 +1199,6 @@ public Builder setEncryptionConfig( return this; } /** - * - * *
      * Optional. An encryption configuration describing the encryption type and key
      * resources in Cloud KMS used to encrypt/decrypt the database to restore to.
@@ -1368,18 +1208,13 @@ public Builder setEncryptionConfig(
      * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
      * 
* - * - * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder mergeEncryptionConfig( - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig value) { + public Builder mergeEncryptionConfig(com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig value) { if (encryptionConfigBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && encryptionConfig_ != null - && encryptionConfig_ - != com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig - .getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + encryptionConfig_ != null && + encryptionConfig_ != com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.getDefaultInstance()) { getEncryptionConfigBuilder().mergeFrom(value); } else { encryptionConfig_ = value; @@ -1392,8 +1227,6 @@ public Builder mergeEncryptionConfig( return this; } /** - * - * *
      * Optional. An encryption configuration describing the encryption type and key
      * resources in Cloud KMS used to encrypt/decrypt the database to restore to.
@@ -1403,9 +1236,7 @@ public Builder mergeEncryptionConfig(
      * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
      * 
* - * - * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearEncryptionConfig() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1418,8 +1249,6 @@ public Builder clearEncryptionConfig() { return this; } /** - * - * *
      * Optional. An encryption configuration describing the encryption type and key
      * resources in Cloud KMS used to encrypt/decrypt the database to restore to.
@@ -1429,19 +1258,14 @@ public Builder clearEncryptionConfig() {
      * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
      * 
* - * - * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.Builder - getEncryptionConfigBuilder() { + public com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.Builder getEncryptionConfigBuilder() { bitField0_ |= 0x00000008; onChanged(); return getEncryptionConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. An encryption configuration describing the encryption type and key
      * resources in Cloud KMS used to encrypt/decrypt the database to restore to.
@@ -1451,24 +1275,17 @@ public Builder clearEncryptionConfig() {
      * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
      * 
* - * - * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfigOrBuilder - getEncryptionConfigOrBuilder() { + public com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { if (encryptionConfigBuilder_ != null) { return encryptionConfigBuilder_.getMessageOrBuilder(); } else { - return encryptionConfig_ == null - ? com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig - .getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? + com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.getDefaultInstance() : encryptionConfig_; } } /** - * - * *
      * Optional. An encryption configuration describing the encryption type and key
      * resources in Cloud KMS used to encrypt/decrypt the database to restore to.
@@ -1478,29 +1295,24 @@ public Builder clearEncryptionConfig() {
      * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
      * 
* - * - * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig, - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.Builder, - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfigOrBuilder> + com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig, com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.Builder, com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfigOrBuilder> getEncryptionConfigFieldBuilder() { if (encryptionConfigBuilder_ == null) { - encryptionConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig, - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.Builder, - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfigOrBuilder>( - getEncryptionConfig(), getParentForChildren(), isClean()); + encryptionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig, com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.Builder, com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfigOrBuilder>( + 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); } @@ -1510,12 +1322,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.RestoreDatabaseRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.RestoreDatabaseRequest) private static final com.google.spanner.admin.database.v1.RestoreDatabaseRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.RestoreDatabaseRequest(); } @@ -1524,27 +1336,27 @@ public static com.google.spanner.admin.database.v1.RestoreDatabaseRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RestoreDatabaseRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RestoreDatabaseRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1559,4 +1371,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.RestoreDatabaseRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseRequestOrBuilder.java similarity index 73% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseRequestOrBuilder.java index f7c1c6e1f82..4ec44d96fb1 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseRequestOrBuilder.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/spanner/admin/database/v1/spanner_database_admin.proto package com.google.spanner.admin.database.v1; -public interface RestoreDatabaseRequestOrBuilder - extends +public interface RestoreDatabaseRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.RestoreDatabaseRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the instance in which to create the
    * restored database. This instance must be in the same project and
@@ -34,16 +16,11 @@ public interface RestoreDatabaseRequestOrBuilder
    * `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 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 database. This instance must be in the same project and
@@ -52,17 +29,13 @@ public interface RestoreDatabaseRequestOrBuilder
    * `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 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 database to create and restore to. This
    * database must not already exist. The `database_id` appended to
@@ -71,13 +44,10 @@ public interface RestoreDatabaseRequestOrBuilder
    * 
* * string database_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The databaseId. */ java.lang.String getDatabaseId(); /** - * - * *
    * Required. The id of the database to create and restore to. This
    * database must not already exist. The `database_id` appended to
@@ -86,54 +56,44 @@ public interface RestoreDatabaseRequestOrBuilder
    * 
* * string database_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for databaseId. */ - com.google.protobuf.ByteString getDatabaseIdBytes(); + com.google.protobuf.ByteString + getDatabaseIdBytes(); /** - * - * *
    * Name of the backup from which to restore.  Values are of the form
    * `projects/<project>/instances/<instance>/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>/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>/backups/<backup>`.
    * 
* * string backup = 3 [(.google.api.resource_reference) = { ... } - * * @return The bytes for backup. */ - com.google.protobuf.ByteString getBackupBytes(); + com.google.protobuf.ByteString + getBackupBytes(); /** - * - * *
    * Optional. An encryption configuration describing the encryption type and key
    * resources in Cloud KMS used to encrypt/decrypt the database to restore to.
@@ -143,16 +103,11 @@ public interface RestoreDatabaseRequestOrBuilder
    * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
    * 
* - * - * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the encryptionConfig field is set. */ boolean hasEncryptionConfig(); /** - * - * *
    * Optional. An encryption configuration describing the encryption type and key
    * resources in Cloud KMS used to encrypt/decrypt the database to restore to.
@@ -162,16 +117,11 @@ public interface RestoreDatabaseRequestOrBuilder
    * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
    * 
* - * - * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The encryptionConfig. */ com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig getEncryptionConfig(); /** - * - * *
    * Optional. An encryption configuration describing the encryption type and key
    * resources in Cloud KMS used to encrypt/decrypt the database to restore to.
@@ -181,12 +131,9 @@ public interface RestoreDatabaseRequestOrBuilder
    * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
    * 
* - * - * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfigOrBuilder - getEncryptionConfigOrBuilder(); + com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfigOrBuilder getEncryptionConfigOrBuilder(); public com.google.spanner.admin.database.v1.RestoreDatabaseRequest.SourceCase getSourceCase(); } diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreInfo.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreInfo.java similarity index 69% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreInfo.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreInfo.java index e76b3bcef86..2eaa9b7d384 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreInfo.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreInfo.java @@ -1,83 +1,61 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/spanner_database_admin.proto package com.google.spanner.admin.database.v1; /** - * - * *
  * Information about the database restore.
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.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.spanner.admin.database.v1.RestoreInfo) RestoreInfoOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RestoreInfo.newBuilder() to construct. private RestoreInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RestoreInfo() { sourceType_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RestoreInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_RestoreInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_RestoreInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_RestoreInfo_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_RestoreInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.RestoreInfo.class, - com.google.spanner.admin.database.v1.RestoreInfo.Builder.class); + com.google.spanner.admin.database.v1.RestoreInfo.class, com.google.spanner.admin.database.v1.RestoreInfo.Builder.class); } private int sourceInfoCase_ = 0; private java.lang.Object sourceInfo_; - public enum SourceInfoCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { BACKUP_INFO(2), SOURCEINFO_NOT_SET(0); private final int value; - private SourceInfoCase(int value) { this.value = value; } @@ -93,72 +71,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.spanner.admin.database.v1.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.spanner.admin.database.v1.RestoreSourceType source_type = 1; - * * @return The sourceType. */ - @java.lang.Override - public com.google.spanner.admin.database.v1.RestoreSourceType getSourceType() { - com.google.spanner.admin.database.v1.RestoreSourceType result = - com.google.spanner.admin.database.v1.RestoreSourceType.forNumber(sourceType_); - return result == null - ? com.google.spanner.admin.database.v1.RestoreSourceType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.spanner.admin.database.v1.RestoreSourceType getSourceType() { + com.google.spanner.admin.database.v1.RestoreSourceType result = com.google.spanner.admin.database.v1.RestoreSourceType.forNumber(sourceType_); + return result == null ? com.google.spanner.admin.database.v1.RestoreSourceType.UNRECOGNIZED : result; } public static final int BACKUP_INFO_FIELD_NUMBER = 2; /** - * - * *
    * Information about the backup used to restore the database. The backup
    * may no longer exist.
    * 
* * .google.spanner.admin.database.v1.BackupInfo backup_info = 2; - * * @return Whether the backupInfo field is set. */ @java.lang.Override @@ -166,27 +128,22 @@ public boolean hasBackupInfo() { return sourceInfoCase_ == 2; } /** - * - * *
    * Information about the backup used to restore the database. The backup
    * may no longer exist.
    * 
* * .google.spanner.admin.database.v1.BackupInfo backup_info = 2; - * * @return The backupInfo. */ @java.lang.Override public com.google.spanner.admin.database.v1.BackupInfo getBackupInfo() { if (sourceInfoCase_ == 2) { - return (com.google.spanner.admin.database.v1.BackupInfo) sourceInfo_; + return (com.google.spanner.admin.database.v1.BackupInfo) sourceInfo_; } return com.google.spanner.admin.database.v1.BackupInfo.getDefaultInstance(); } /** - * - * *
    * Information about the backup used to restore the database. The backup
    * may no longer exist.
@@ -197,13 +154,12 @@ public com.google.spanner.admin.database.v1.BackupInfo getBackupInfo() {
   @java.lang.Override
   public com.google.spanner.admin.database.v1.BackupInfoOrBuilder getBackupInfoOrBuilder() {
     if (sourceInfoCase_ == 2) {
-      return (com.google.spanner.admin.database.v1.BackupInfo) sourceInfo_;
+       return (com.google.spanner.admin.database.v1.BackupInfo) sourceInfo_;
     }
     return com.google.spanner.admin.database.v1.BackupInfo.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -215,9 +171,9 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
-    if (sourceType_
-        != com.google.spanner.admin.database.v1.RestoreSourceType.TYPE_UNSPECIFIED.getNumber()) {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
+    if (sourceType_ != com.google.spanner.admin.database.v1.RestoreSourceType.TYPE_UNSPECIFIED.getNumber()) {
       output.writeEnum(1, sourceType_);
     }
     if (sourceInfoCase_ == 2) {
@@ -232,14 +188,13 @@ public int getSerializedSize() {
     if (size != -1) return size;
 
     size = 0;
-    if (sourceType_
-        != com.google.spanner.admin.database.v1.RestoreSourceType.TYPE_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, sourceType_);
+    if (sourceType_ != com.google.spanner.admin.database.v1.RestoreSourceType.TYPE_UNSPECIFIED.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(1, sourceType_);
     }
     if (sourceInfoCase_ == 2) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              2, (com.google.spanner.admin.database.v1.BackupInfo) sourceInfo_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, (com.google.spanner.admin.database.v1.BackupInfo) sourceInfo_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -249,19 +204,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.spanner.admin.database.v1.RestoreInfo)) {
       return super.equals(obj);
     }
-    com.google.spanner.admin.database.v1.RestoreInfo other =
-        (com.google.spanner.admin.database.v1.RestoreInfo) obj;
+    com.google.spanner.admin.database.v1.RestoreInfo other = (com.google.spanner.admin.database.v1.RestoreInfo) obj;
 
     if (sourceType_ != other.sourceType_) return false;
     if (!getSourceInfoCase().equals(other.getSourceInfoCase())) return false;
     switch (sourceInfoCase_) {
       case 2:
-        if (!getBackupInfo().equals(other.getBackupInfo())) return false;
+        if (!getBackupInfo()
+            .equals(other.getBackupInfo())) return false;
         break;
       case 0:
       default:
@@ -292,136 +247,130 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.spanner.admin.database.v1.RestoreInfo parseFrom(java.nio.ByteBuffer data)
+  public static com.google.spanner.admin.database.v1.RestoreInfo parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.RestoreInfo parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.RestoreInfo parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.RestoreInfo parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.spanner.admin.database.v1.RestoreInfo parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.RestoreInfo parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.spanner.admin.database.v1.RestoreInfo parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.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.spanner.admin.database.v1.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.spanner.admin.database.v1.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 the database restore.
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.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.spanner.admin.database.v1.RestoreInfo) com.google.spanner.admin.database.v1.RestoreInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_RestoreInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_RestoreInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_RestoreInfo_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_RestoreInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.RestoreInfo.class, - com.google.spanner.admin.database.v1.RestoreInfo.Builder.class); + com.google.spanner.admin.database.v1.RestoreInfo.class, com.google.spanner.admin.database.v1.RestoreInfo.Builder.class); } // Construct using com.google.spanner.admin.database.v1.RestoreInfo.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -436,9 +385,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto - .internal_static_google_spanner_admin_database_v1_RestoreInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_RestoreInfo_descriptor; } @java.lang.Override @@ -457,11 +406,8 @@ public com.google.spanner.admin.database.v1.RestoreInfo build() { @java.lang.Override public com.google.spanner.admin.database.v1.RestoreInfo buildPartial() { - com.google.spanner.admin.database.v1.RestoreInfo result = - new com.google.spanner.admin.database.v1.RestoreInfo(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.admin.database.v1.RestoreInfo result = new com.google.spanner.admin.database.v1.RestoreInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -477,7 +423,8 @@ private void buildPartial0(com.google.spanner.admin.database.v1.RestoreInfo resu private void buildPartialOneofs(com.google.spanner.admin.database.v1.RestoreInfo result) { result.sourceInfoCase_ = sourceInfoCase_; result.sourceInfo_ = this.sourceInfo_; - if (sourceInfoCase_ == 2 && backupInfoBuilder_ != null) { + if (sourceInfoCase_ == 2 && + backupInfoBuilder_ != null) { result.sourceInfo_ = backupInfoBuilder_.build(); } } @@ -486,39 +433,38 @@ private void buildPartialOneofs(com.google.spanner.admin.database.v1.RestoreInfo public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.admin.database.v1.RestoreInfo) { - return mergeFrom((com.google.spanner.admin.database.v1.RestoreInfo) other); + return mergeFrom((com.google.spanner.admin.database.v1.RestoreInfo)other); } else { super.mergeFrom(other); return this; @@ -526,21 +472,18 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.admin.database.v1.RestoreInfo other) { - if (other == com.google.spanner.admin.database.v1.RestoreInfo.getDefaultInstance()) - return this; + if (other == com.google.spanner.admin.database.v1.RestoreInfo.getDefaultInstance()) return this; if (other.sourceType_ != 0) { 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(); @@ -568,25 +511,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) { @@ -596,12 +538,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() { @@ -615,29 +557,22 @@ public Builder clearSourceInfo() { private int sourceType_ = 0; /** - * - * *
      * The type of the restore source.
      * 
* * .google.spanner.admin.database.v1.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.spanner.admin.database.v1.RestoreSourceType source_type = 1; - * * @param value The enum numeric value on the wire for sourceType to set. * @return This builder for chaining. */ @@ -648,33 +583,24 @@ public Builder setSourceTypeValue(int value) { return this; } /** - * - * *
      * The type of the restore source.
      * 
* * .google.spanner.admin.database.v1.RestoreSourceType source_type = 1; - * * @return The sourceType. */ @java.lang.Override public com.google.spanner.admin.database.v1.RestoreSourceType getSourceType() { - com.google.spanner.admin.database.v1.RestoreSourceType result = - com.google.spanner.admin.database.v1.RestoreSourceType.forNumber(sourceType_); - return result == null - ? com.google.spanner.admin.database.v1.RestoreSourceType.UNRECOGNIZED - : result; + com.google.spanner.admin.database.v1.RestoreSourceType result = com.google.spanner.admin.database.v1.RestoreSourceType.forNumber(sourceType_); + return result == null ? com.google.spanner.admin.database.v1.RestoreSourceType.UNRECOGNIZED : result; } /** - * - * *
      * The type of the restore source.
      * 
* * .google.spanner.admin.database.v1.RestoreSourceType source_type = 1; - * * @param value The sourceType to set. * @return This builder for chaining. */ @@ -688,14 +614,11 @@ public Builder setSourceType(com.google.spanner.admin.database.v1.RestoreSourceT return this; } /** - * - * *
      * The type of the restore source.
      * 
* * .google.spanner.admin.database.v1.RestoreSourceType source_type = 1; - * * @return This builder for chaining. */ public Builder clearSourceType() { @@ -706,20 +629,14 @@ public Builder clearSourceType() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.BackupInfo, - com.google.spanner.admin.database.v1.BackupInfo.Builder, - com.google.spanner.admin.database.v1.BackupInfoOrBuilder> - backupInfoBuilder_; + com.google.spanner.admin.database.v1.BackupInfo, com.google.spanner.admin.database.v1.BackupInfo.Builder, com.google.spanner.admin.database.v1.BackupInfoOrBuilder> backupInfoBuilder_; /** - * - * *
      * Information about the backup used to restore the database. The backup
      * may no longer exist.
      * 
* * .google.spanner.admin.database.v1.BackupInfo backup_info = 2; - * * @return Whether the backupInfo field is set. */ @java.lang.Override @@ -727,15 +644,12 @@ public boolean hasBackupInfo() { return sourceInfoCase_ == 2; } /** - * - * *
      * Information about the backup used to restore the database. The backup
      * may no longer exist.
      * 
* * .google.spanner.admin.database.v1.BackupInfo backup_info = 2; - * * @return The backupInfo. */ @java.lang.Override @@ -753,8 +667,6 @@ public com.google.spanner.admin.database.v1.BackupInfo getBackupInfo() { } } /** - * - * *
      * Information about the backup used to restore the database. The backup
      * may no longer exist.
@@ -776,8 +688,6 @@ public Builder setBackupInfo(com.google.spanner.admin.database.v1.BackupInfo val
       return this;
     }
     /**
-     *
-     *
      * 
      * Information about the backup used to restore the database. The backup
      * may no longer exist.
@@ -797,8 +707,6 @@ public Builder setBackupInfo(
       return this;
     }
     /**
-     *
-     *
      * 
      * Information about the backup used to restore the database. The backup
      * may no longer exist.
@@ -808,14 +716,10 @@ public Builder setBackupInfo(
      */
     public Builder mergeBackupInfo(com.google.spanner.admin.database.v1.BackupInfo value) {
       if (backupInfoBuilder_ == null) {
-        if (sourceInfoCase_ == 2
-            && sourceInfo_
-                != com.google.spanner.admin.database.v1.BackupInfo.getDefaultInstance()) {
-          sourceInfo_ =
-              com.google.spanner.admin.database.v1.BackupInfo.newBuilder(
-                      (com.google.spanner.admin.database.v1.BackupInfo) sourceInfo_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (sourceInfoCase_ == 2 &&
+            sourceInfo_ != com.google.spanner.admin.database.v1.BackupInfo.getDefaultInstance()) {
+          sourceInfo_ = com.google.spanner.admin.database.v1.BackupInfo.newBuilder((com.google.spanner.admin.database.v1.BackupInfo) sourceInfo_)
+              .mergeFrom(value).buildPartial();
         } else {
           sourceInfo_ = value;
         }
@@ -831,8 +735,6 @@ public Builder mergeBackupInfo(com.google.spanner.admin.database.v1.BackupInfo v
       return this;
     }
     /**
-     *
-     *
      * 
      * Information about the backup used to restore the database. The backup
      * may no longer exist.
@@ -857,8 +759,6 @@ public Builder clearBackupInfo() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Information about the backup used to restore the database. The backup
      * may no longer exist.
@@ -870,8 +770,6 @@ public com.google.spanner.admin.database.v1.BackupInfo.Builder getBackupInfoBuil
       return getBackupInfoFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Information about the backup used to restore the database. The backup
      * may no longer exist.
@@ -891,8 +789,6 @@ public com.google.spanner.admin.database.v1.BackupInfoOrBuilder getBackupInfoOrB
       }
     }
     /**
-     *
-     *
      * 
      * Information about the backup used to restore the database. The backup
      * may no longer exist.
@@ -901,19 +797,14 @@ public com.google.spanner.admin.database.v1.BackupInfoOrBuilder getBackupInfoOrB
      * .google.spanner.admin.database.v1.BackupInfo backup_info = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.admin.database.v1.BackupInfo,
-            com.google.spanner.admin.database.v1.BackupInfo.Builder,
-            com.google.spanner.admin.database.v1.BackupInfoOrBuilder>
+        com.google.spanner.admin.database.v1.BackupInfo, com.google.spanner.admin.database.v1.BackupInfo.Builder, com.google.spanner.admin.database.v1.BackupInfoOrBuilder> 
         getBackupInfoFieldBuilder() {
       if (backupInfoBuilder_ == null) {
         if (!(sourceInfoCase_ == 2)) {
           sourceInfo_ = com.google.spanner.admin.database.v1.BackupInfo.getDefaultInstance();
         }
-        backupInfoBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.admin.database.v1.BackupInfo,
-                com.google.spanner.admin.database.v1.BackupInfo.Builder,
-                com.google.spanner.admin.database.v1.BackupInfoOrBuilder>(
+        backupInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.admin.database.v1.BackupInfo, com.google.spanner.admin.database.v1.BackupInfo.Builder, com.google.spanner.admin.database.v1.BackupInfoOrBuilder>(
                 (com.google.spanner.admin.database.v1.BackupInfo) sourceInfo_,
                 getParentForChildren(),
                 isClean());
@@ -923,9 +814,9 @@ public com.google.spanner.admin.database.v1.BackupInfoOrBuilder getBackupInfoOrB
       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);
     }
 
@@ -935,12 +826,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.RestoreInfo)
   }
 
   // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.RestoreInfo)
   private static final com.google.spanner.admin.database.v1.RestoreInfo DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.RestoreInfo();
   }
@@ -949,27 +840,27 @@ public static com.google.spanner.admin.database.v1.RestoreInfo getDefaultInstanc
     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;
@@ -984,4 +875,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.spanner.admin.database.v1.RestoreInfo getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreInfoOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreInfoOrBuilder.java
similarity index 72%
rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreInfoOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreInfoOrBuilder.java
index f1b55bcc5f5..320c3027af5 100644
--- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreInfoOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/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/spanner/admin/database/v1/spanner_database_admin.proto
 
 package com.google.spanner.admin.database.v1;
 
-public interface RestoreInfoOrBuilder
-    extends
+public interface RestoreInfoOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.RestoreInfo)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The type of the restore source.
    * 
* * .google.spanner.admin.database.v1.RestoreSourceType source_type = 1; - * * @return The enum numeric value on the wire for sourceType. */ int getSourceTypeValue(); /** - * - * *
    * The type of the restore source.
    * 
* * .google.spanner.admin.database.v1.RestoreSourceType source_type = 1; - * * @return The sourceType. */ com.google.spanner.admin.database.v1.RestoreSourceType getSourceType(); /** - * - * *
    * Information about the backup used to restore the database. The backup
    * may no longer exist.
    * 
* * .google.spanner.admin.database.v1.BackupInfo backup_info = 2; - * * @return Whether the backupInfo field is set. */ boolean hasBackupInfo(); /** - * - * *
    * Information about the backup used to restore the database. The backup
    * may no longer exist.
    * 
* * .google.spanner.admin.database.v1.BackupInfo backup_info = 2; - * * @return The backupInfo. */ com.google.spanner.admin.database.v1.BackupInfo getBackupInfo(); /** - * - * *
    * Information about the backup used to restore the database. The backup
    * may no longer exist.
diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreSourceType.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreSourceType.java
similarity index 66%
rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreSourceType.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreSourceType.java
index e881b2a5910..99287de9d24 100644
--- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreSourceType.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/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/spanner/admin/database/v1/spanner_database_admin.proto
 
 package com.google.spanner.admin.database.v1;
 
 /**
- *
- *
  * 
  * Indicates the type of the restore source.
  * 
* * Protobuf enum {@code google.spanner.admin.database.v1.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 */ 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 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,43 +73,39 @@ public static RestoreSourceType valueOf(int value) { */ public static RestoreSourceType forNumber(int value) { switch (value) { - case 0: - return TYPE_UNSPECIFIED; - case 1: - return BACKUP; - default: - return null; + case 0: return 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() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.getDescriptor().getEnumTypes().get(0); } private static final RestoreSourceType[] VALUES = values(); @@ -140,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; @@ -156,3 +130,4 @@ private RestoreSourceType(int value) { // @@protoc_insertion_point(enum_scope:google.spanner.admin.database.v1.RestoreSourceType) } + diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/SpannerDatabaseAdminProto.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/SpannerDatabaseAdminProto.java new file mode 100644 index 00000000000..5db478c8e32 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/SpannerDatabaseAdminProto.java @@ -0,0 +1,541 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/spanner/admin/database/v1/spanner_database_admin.proto + +package com.google.spanner.admin.database.v1; + +public final class SpannerDatabaseAdminProto { + private SpannerDatabaseAdminProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_RestoreInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_RestoreInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_Database_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_Database_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_ListDatabasesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_ListDatabasesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_ListDatabasesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_ListDatabasesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_CreateDatabaseRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_CreateDatabaseRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_CreateDatabaseMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_CreateDatabaseMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_GetDatabaseRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_GetDatabaseRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_DropDatabaseRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_DropDatabaseRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_GetDatabaseDdlRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_GetDatabaseDdlRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_GetDatabaseDdlResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_GetDatabaseDdlResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_RestoreDatabaseRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_RestoreDatabaseRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_RestoreDatabaseEncryptionConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_RestoreDatabaseEncryptionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_RestoreDatabaseMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_RestoreDatabaseMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_OptimizeRestoredDatabaseMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_OptimizeRestoredDatabaseMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_DatabaseRole_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_DatabaseRole_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_ListDatabaseRolesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_ListDatabaseRolesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_ListDatabaseRolesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_ListDatabaseRolesResponse_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n=google/spanner/admin/database/v1/spann" + + "er_database_admin.proto\022 google.spanner." + + "admin.database.v1\032\034google/api/annotation" + + "s.proto\032\027google/api/client.proto\032\037google" + + "/api/field_behavior.proto\032\031google/api/re" + + "source.proto\032\036google/iam/v1/iam_policy.p" + + "roto\032\032google/iam/v1/policy.proto\032#google" + + "/longrunning/operations.proto\032\033google/pr" + + "otobuf/empty.proto\032\037google/protobuf/time" + + "stamp.proto\032-google/spanner/admin/databa" + + "se/v1/backup.proto\032-google/spanner/admin" + + "/database/v1/common.proto\"\253\001\n\013RestoreInf" + + "o\022H\n\013source_type\030\001 \001(\01623.google.spanner." + + "admin.database.v1.RestoreSourceType\022C\n\013b" + + "ackup_info\030\002 \001(\0132,.google.spanner.admin." + + "database.v1.BackupInfoH\000B\r\n\013source_info\"" + + "\220\006\n\010Database\022\021\n\004name\030\001 \001(\tB\003\340A\002\022D\n\005state" + + "\030\002 \001(\01620.google.spanner.admin.database.v" + + "1.Database.StateB\003\340A\003\0224\n\013create_time\030\003 \001" + + "(\0132\032.google.protobuf.TimestampB\003\340A\003\022H\n\014r" + + "estore_info\030\004 \001(\0132-.google.spanner.admin" + + ".database.v1.RestoreInfoB\003\340A\003\022R\n\021encrypt" + + "ion_config\030\005 \001(\01322.google.spanner.admin." + + "database.v1.EncryptionConfigB\003\340A\003\022N\n\017enc" + + "ryption_info\030\010 \003(\01320.google.spanner.admi" + + "n.database.v1.EncryptionInfoB\003\340A\003\022%\n\030ver" + + "sion_retention_period\030\006 \001(\tB\003\340A\003\022>\n\025earl" + + "iest_version_time\030\007 \001(\0132\032.google.protobu" + + "f.TimestampB\003\340A\003\022\033\n\016default_leader\030\t \001(\t" + + "B\003\340A\003\022P\n\020database_dialect\030\n \001(\01621.google" + + ".spanner.admin.database.v1.DatabaseDiale" + + "ctB\003\340A\003\"M\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022" + + "\014\n\010CREATING\020\001\022\t\n\005READY\020\002\022\024\n\020READY_OPTIMI" + + "ZING\020\003:b\352A_\n\037spanner.googleapis.com/Data" + + "base\022\202\323\344\223\002/\022-/v1/{parent=projects" + + "/*/instances/*}/databases\332A\006parent\022\244\002\n\016C" + + "reateDatabase\0227.google.spanner.admin.dat" + + "abase.v1.CreateDatabaseRequest\032\035.google." + + "longrunning.Operation\"\271\001\202\323\344\223\0022\"-/v1/{par" + + "ent=projects/*/instances/*}/databases:\001*" + + "\332A\027parent,create_statement\312Ad\n)google.sp" + + "anner.admin.database.v1.Database\0227google" + + ".spanner.admin.database.v1.CreateDatabas" + + "eMetadata\022\255\001\n\013GetDatabase\0224.google.spann" + + "er.admin.database.v1.GetDatabaseRequest\032" + + "*.google.spanner.admin.database.v1.Datab" + + "ase\"<\202\323\344\223\002/\022-/v1/{name=projects/*/instan" + + "ces/*/databases/*}\332A\004name\022\235\002\n\021UpdateData" + + "baseDdl\022:.google.spanner.admin.database." + + "v1.UpdateDatabaseDdlRequest\032\035.google.lon" + + "grunning.Operation\"\254\001\202\323\344\223\002:25/v1/{databa" + + "se=projects/*/instances/*/databases/*}/d" + + "dl:\001*\332A\023database,statements\312AS\n\025google.p" + + "rotobuf.Empty\022:google.spanner.admin.data" + + "base.v1.UpdateDatabaseDdlMetadata\022\243\001\n\014Dr" + + "opDatabase\0225.google.spanner.admin.databa" + + "se.v1.DropDatabaseRequest\032\026.google.proto" + + "buf.Empty\"D\202\323\344\223\0023*1/v1/{database=project" + + "s/*/instances/*/databases/*}\332A\010database\022" + + "\315\001\n\016GetDatabaseDdl\0227.google.spanner.admi" + + "n.database.v1.GetDatabaseDdlRequest\0328.go" + + "ogle.spanner.admin.database.v1.GetDataba" + + "seDdlResponse\"H\202\323\344\223\0027\0225/v1/{database=pro" + + "jects/*/instances/*/databases/*}/ddl\332A\010d" + + "atabase\022\353\001\n\014SetIamPolicy\022\".google.iam.v1" + + ".SetIamPolicyRequest\032\025.google.iam.v1.Pol" + + "icy\"\237\001\202\323\344\223\002\206\001\">/v1/{resource=projects/*/" + + "instances/*/databases/*}:setIamPolicy:\001*" + + "ZA\"/v1/{resource=projects/*/in" + + "stances/*/databases/*}:getIamPolicy:\001*ZA" + + "\".google.sp" + + "anner.admin.database.v1.ListBackupOperat" + + "ionsResponse\"E\202\323\344\223\0026\0224/v1/{parent=projec" + + "ts/*/instances/*}/backupOperations\332A\006par" + + "ent\022\334\001\n\021ListDatabaseRoles\022:.google.spann" + + "er.admin.database.v1.ListDatabaseRolesRe" + + "quest\032;.google.spanner.admin.database.v1" + + ".ListDatabaseRolesResponse\"N\202\323\344\223\002?\022=/v1/" + + "{parent=projects/*/instances/*/databases" + + "/*}/databaseRoles\332A\006parent\032x\312A\026spanner.g" + + "oogleapis.com\322A\\https://www.googleapis.c" + + "om/auth/cloud-platform,https://www.googl" + + "eapis.com/auth/spanner.adminB\330\002\n$com.goo" + + "gle.spanner.admin.database.v1B\031SpannerDa" + + "tabaseAdminProtoP\001ZFcloud.google.com/go/" + + "spanner/admin/database/apiv1/databasepb;" + + "databasepb\252\002&Google.Cloud.Spanner.Admin." + + "Database.V1\312\002&Google\\Cloud\\Spanner\\Admin" + + "\\Database\\V1\352\002+Google::Cloud::Spanner::A" + + "dmin::Database::V1\352AJ\n\037spanner.googleapi" + + "s.com/Instance\022\'projects/{project}/insta" + + "nces/{instance}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.iam.v1.IamPolicyProto.getDescriptor(), + com.google.iam.v1.PolicyProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.spanner.admin.database.v1.BackupProto.getDescriptor(), + com.google.spanner.admin.database.v1.CommonProto.getDescriptor(), + }); + internal_static_google_spanner_admin_database_v1_RestoreInfo_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_spanner_admin_database_v1_RestoreInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_RestoreInfo_descriptor, + new java.lang.String[] { "SourceType", "BackupInfo", "SourceInfo", }); + internal_static_google_spanner_admin_database_v1_Database_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_spanner_admin_database_v1_Database_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_Database_descriptor, + new java.lang.String[] { "Name", "State", "CreateTime", "RestoreInfo", "EncryptionConfig", "EncryptionInfo", "VersionRetentionPeriod", "EarliestVersionTime", "DefaultLeader", "DatabaseDialect", }); + internal_static_google_spanner_admin_database_v1_ListDatabasesRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_spanner_admin_database_v1_ListDatabasesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_ListDatabasesRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + internal_static_google_spanner_admin_database_v1_ListDatabasesResponse_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_spanner_admin_database_v1_ListDatabasesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_ListDatabasesResponse_descriptor, + new java.lang.String[] { "Databases", "NextPageToken", }); + internal_static_google_spanner_admin_database_v1_CreateDatabaseRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_spanner_admin_database_v1_CreateDatabaseRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_CreateDatabaseRequest_descriptor, + new java.lang.String[] { "Parent", "CreateStatement", "ExtraStatements", "EncryptionConfig", "DatabaseDialect", }); + internal_static_google_spanner_admin_database_v1_CreateDatabaseMetadata_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_spanner_admin_database_v1_CreateDatabaseMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_CreateDatabaseMetadata_descriptor, + new java.lang.String[] { "Database", }); + internal_static_google_spanner_admin_database_v1_GetDatabaseRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_spanner_admin_database_v1_GetDatabaseRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_GetDatabaseRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlRequest_descriptor, + new java.lang.String[] { "Database", "Statements", "OperationId", }); + internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlMetadata_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlMetadata_descriptor, + new java.lang.String[] { "Database", "Statements", "CommitTimestamps", "Throttled", "Progress", }); + internal_static_google_spanner_admin_database_v1_DropDatabaseRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_spanner_admin_database_v1_DropDatabaseRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_DropDatabaseRequest_descriptor, + new java.lang.String[] { "Database", }); + internal_static_google_spanner_admin_database_v1_GetDatabaseDdlRequest_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_spanner_admin_database_v1_GetDatabaseDdlRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_GetDatabaseDdlRequest_descriptor, + new java.lang.String[] { "Database", }); + internal_static_google_spanner_admin_database_v1_GetDatabaseDdlResponse_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_spanner_admin_database_v1_GetDatabaseDdlResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_GetDatabaseDdlResponse_descriptor, + new java.lang.String[] { "Statements", }); + internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsRequest_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsRequest_descriptor, + new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", }); + internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsResponse_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsResponse_descriptor, + new java.lang.String[] { "Operations", "NextPageToken", }); + internal_static_google_spanner_admin_database_v1_RestoreDatabaseRequest_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_spanner_admin_database_v1_RestoreDatabaseRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_RestoreDatabaseRequest_descriptor, + new java.lang.String[] { "Parent", "DatabaseId", "Backup", "EncryptionConfig", "Source", }); + internal_static_google_spanner_admin_database_v1_RestoreDatabaseEncryptionConfig_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_spanner_admin_database_v1_RestoreDatabaseEncryptionConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_RestoreDatabaseEncryptionConfig_descriptor, + new java.lang.String[] { "EncryptionType", "KmsKeyName", }); + internal_static_google_spanner_admin_database_v1_RestoreDatabaseMetadata_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_spanner_admin_database_v1_RestoreDatabaseMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_RestoreDatabaseMetadata_descriptor, + new java.lang.String[] { "Name", "SourceType", "BackupInfo", "Progress", "CancelTime", "OptimizeDatabaseOperationName", "SourceInfo", }); + internal_static_google_spanner_admin_database_v1_OptimizeRestoredDatabaseMetadata_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_spanner_admin_database_v1_OptimizeRestoredDatabaseMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_OptimizeRestoredDatabaseMetadata_descriptor, + new java.lang.String[] { "Name", "Progress", }); + internal_static_google_spanner_admin_database_v1_DatabaseRole_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_spanner_admin_database_v1_DatabaseRole_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_DatabaseRole_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_spanner_admin_database_v1_ListDatabaseRolesRequest_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_spanner_admin_database_v1_ListDatabaseRolesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_ListDatabaseRolesRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + internal_static_google_spanner_admin_database_v1_ListDatabaseRolesResponse_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_spanner_admin_database_v1_ListDatabaseRolesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_ListDatabaseRolesResponse_descriptor, + new java.lang.String[] { "DatabaseRoles", "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.resource); + registry.add(com.google.api.ResourceProto.resourceDefinition); + 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.iam.v1.IamPolicyProto.getDescriptor(); + com.google.iam.v1.PolicyProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.spanner.admin.database.v1.BackupProto.getDescriptor(); + com.google.spanner.admin.database.v1.CommonProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateBackupRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateBackupRequest.java similarity index 68% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateBackupRequest.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateBackupRequest.java index ccd25df5763..22f9900d6b6 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateBackupRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateBackupRequest.java @@ -1,75 +1,55 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/backup.proto package com.google.spanner.admin.database.v1; /** - * - * *
  * The request for [UpdateBackup][google.spanner.admin.database.v1.DatabaseAdmin.UpdateBackup].
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.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.spanner.admin.database.v1.UpdateBackupRequest) UpdateBackupRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateBackupRequest.newBuilder() to construct. private UpdateBackupRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateBackupRequest() {} + private UpdateBackupRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateBackupRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_UpdateBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_UpdateBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_UpdateBackupRequest_fieldAccessorTable + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_UpdateBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.UpdateBackupRequest.class, - com.google.spanner.admin.database.v1.UpdateBackupRequest.Builder.class); + com.google.spanner.admin.database.v1.UpdateBackupRequest.class, com.google.spanner.admin.database.v1.UpdateBackupRequest.Builder.class); } public static final int BACKUP_FIELD_NUMBER = 1; private com.google.spanner.admin.database.v1.Backup backup_; /** - * - * *
    * Required. The backup to update. `backup.name`, and the fields to be updated
    * as specified by `update_mask` are required. Other fields are ignored.
@@ -77,10 +57,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *  * `backup.expire_time`.
    * 
* - * - * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the backup field is set. */ @java.lang.Override @@ -88,8 +65,6 @@ public boolean hasBackup() { return backup_ != null; } /** - * - * *
    * Required. The backup to update. `backup.name`, and the fields to be updated
    * as specified by `update_mask` are required. Other fields are ignored.
@@ -97,21 +72,14 @@ public boolean hasBackup() {
    *  * `backup.expire_time`.
    * 
* - * - * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The backup. */ @java.lang.Override public com.google.spanner.admin.database.v1.Backup getBackup() { - return backup_ == null - ? com.google.spanner.admin.database.v1.Backup.getDefaultInstance() - : backup_; + return backup_ == null ? com.google.spanner.admin.database.v1.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.
@@ -119,22 +87,16 @@ public com.google.spanner.admin.database.v1.Backup getBackup() {
    *  * `backup.expire_time`.
    * 
* - * - * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.spanner.admin.database.v1.BackupOrBuilder getBackupOrBuilder() { - return backup_ == null - ? com.google.spanner.admin.database.v1.Backup.getDefaultInstance() - : backup_; + return backup_ == null ? com.google.spanner.admin.database.v1.Backup.getDefaultInstance() : backup_; } 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
@@ -143,9 +105,7 @@ public com.google.spanner.admin.database.v1.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 @@ -153,8 +113,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Required. A mask specifying which fields (e.g. `expire_time`) in the
    * Backup resource should be updated. This mask is relative to the Backup
@@ -163,9 +121,7 @@ public boolean hasUpdateMask() {
    * by clients that do not know about them.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -173,8 +129,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Required. A mask specifying which fields (e.g. `expire_time`) in the
    * Backup resource should be updated. This mask is relative to the Backup
@@ -183,8 +137,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    * by clients that do not know about them.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -192,7 +145,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,7 +156,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (backup_ != null) { output.writeMessage(1, getBackup()); } @@ -221,10 +174,12 @@ public int getSerializedSize() { size = 0; if (backup_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getBackup()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getBackup()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -234,21 +189,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.database.v1.UpdateBackupRequest)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.UpdateBackupRequest other = - (com.google.spanner.admin.database.v1.UpdateBackupRequest) obj; + com.google.spanner.admin.database.v1.UpdateBackupRequest other = (com.google.spanner.admin.database.v1.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; @@ -275,136 +231,129 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.UpdateBackupRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.UpdateBackupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.UpdateBackupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.UpdateBackupRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.UpdateBackupRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.UpdateBackupRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.UpdateBackupRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.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.spanner.admin.database.v1.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.spanner.admin.database.v1.UpdateBackupRequest prototype) { + public static Builder newBuilder(com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.DatabaseAdmin.UpdateBackup].
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.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.spanner.admin.database.v1.UpdateBackupRequest) com.google.spanner.admin.database.v1.UpdateBackupRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_UpdateBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_UpdateBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_UpdateBackupRequest_fieldAccessorTable + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_UpdateBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.UpdateBackupRequest.class, - com.google.spanner.admin.database.v1.UpdateBackupRequest.Builder.class); + com.google.spanner.admin.database.v1.UpdateBackupRequest.class, com.google.spanner.admin.database.v1.UpdateBackupRequest.Builder.class); } // Construct using com.google.spanner.admin.database.v1.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(); @@ -423,9 +372,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.admin.database.v1.BackupProto - .internal_static_google_spanner_admin_database_v1_UpdateBackupRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_UpdateBackupRequest_descriptor; } @java.lang.Override @@ -444,11 +393,8 @@ public com.google.spanner.admin.database.v1.UpdateBackupRequest build() { @java.lang.Override public com.google.spanner.admin.database.v1.UpdateBackupRequest buildPartial() { - com.google.spanner.admin.database.v1.UpdateBackupRequest result = - new com.google.spanner.admin.database.v1.UpdateBackupRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.admin.database.v1.UpdateBackupRequest result = new com.google.spanner.admin.database.v1.UpdateBackupRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -456,10 +402,14 @@ public com.google.spanner.admin.database.v1.UpdateBackupRequest buildPartial() { private void buildPartial0(com.google.spanner.admin.database.v1.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(); } } @@ -467,39 +417,38 @@ private void buildPartial0(com.google.spanner.admin.database.v1.UpdateBackupRequ public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.admin.database.v1.UpdateBackupRequest) { - return mergeFrom((com.google.spanner.admin.database.v1.UpdateBackupRequest) other); + return mergeFrom((com.google.spanner.admin.database.v1.UpdateBackupRequest)other); } else { super.mergeFrom(other); return this; @@ -507,8 +456,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.admin.database.v1.UpdateBackupRequest other) { - if (other == com.google.spanner.admin.database.v1.UpdateBackupRequest.getDefaultInstance()) - return this; + if (other == com.google.spanner.admin.database.v1.UpdateBackupRequest.getDefaultInstance()) return this; if (other.hasBackup()) { mergeBackup(other.getBackup()); } @@ -541,25 +489,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) { @@ -569,18 +518,12 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.spanner.admin.database.v1.Backup backup_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.Backup, - com.google.spanner.admin.database.v1.Backup.Builder, - com.google.spanner.admin.database.v1.BackupOrBuilder> - backupBuilder_; + com.google.spanner.admin.database.v1.Backup, com.google.spanner.admin.database.v1.Backup.Builder, com.google.spanner.admin.database.v1.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.
@@ -588,18 +531,13 @@ public Builder mergeFrom(
      *  * `backup.expire_time`.
      * 
* - * - * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.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.
@@ -607,24 +545,17 @@ public boolean hasBackup() {
      *  * `backup.expire_time`.
      * 
* - * - * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The backup. */ public com.google.spanner.admin.database.v1.Backup getBackup() { if (backupBuilder_ == null) { - return backup_ == null - ? com.google.spanner.admin.database.v1.Backup.getDefaultInstance() - : backup_; + return backup_ == null ? com.google.spanner.admin.database.v1.Backup.getDefaultInstance() : backup_; } else { return backupBuilder_.getMessage(); } } /** - * - * *
      * Required. The backup to update. `backup.name`, and the fields to be updated
      * as specified by `update_mask` are required. Other fields are ignored.
@@ -632,9 +563,7 @@ public com.google.spanner.admin.database.v1.Backup getBackup() {
      *  * `backup.expire_time`.
      * 
* - * - * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setBackup(com.google.spanner.admin.database.v1.Backup value) { if (backupBuilder_ == null) { @@ -650,8 +579,6 @@ public Builder setBackup(com.google.spanner.admin.database.v1.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.
@@ -659,11 +586,10 @@ public Builder setBackup(com.google.spanner.admin.database.v1.Backup value) {
      *  * `backup.expire_time`.
      * 
* - * - * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setBackup(com.google.spanner.admin.database.v1.Backup.Builder builderForValue) { + public Builder setBackup( + com.google.spanner.admin.database.v1.Backup.Builder builderForValue) { if (backupBuilder_ == null) { backup_ = builderForValue.build(); } else { @@ -674,8 +600,6 @@ public Builder setBackup(com.google.spanner.admin.database.v1.Backup.Builder bui 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.
@@ -683,15 +607,13 @@ public Builder setBackup(com.google.spanner.admin.database.v1.Backup.Builder bui
      *  * `backup.expire_time`.
      * 
* - * - * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeBackup(com.google.spanner.admin.database.v1.Backup value) { if (backupBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && backup_ != null - && backup_ != com.google.spanner.admin.database.v1.Backup.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + backup_ != null && + backup_ != com.google.spanner.admin.database.v1.Backup.getDefaultInstance()) { getBackupBuilder().mergeFrom(value); } else { backup_ = value; @@ -704,8 +626,6 @@ public Builder mergeBackup(com.google.spanner.admin.database.v1.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.
@@ -713,9 +633,7 @@ public Builder mergeBackup(com.google.spanner.admin.database.v1.Backup value) {
      *  * `backup.expire_time`.
      * 
* - * - * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearBackup() { bitField0_ = (bitField0_ & ~0x00000001); @@ -728,8 +646,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.
@@ -737,9 +653,7 @@ public Builder clearBackup() {
      *  * `backup.expire_time`.
      * 
* - * - * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.spanner.admin.database.v1.Backup.Builder getBackupBuilder() { bitField0_ |= 0x00000001; @@ -747,8 +661,6 @@ public com.google.spanner.admin.database.v1.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.
@@ -756,22 +668,17 @@ public com.google.spanner.admin.database.v1.Backup.Builder getBackupBuilder() {
      *  * `backup.expire_time`.
      * 
* - * - * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.spanner.admin.database.v1.BackupOrBuilder getBackupOrBuilder() { if (backupBuilder_ != null) { return backupBuilder_.getMessageOrBuilder(); } else { - return backup_ == null - ? com.google.spanner.admin.database.v1.Backup.getDefaultInstance() - : backup_; + return backup_ == null ? + com.google.spanner.admin.database.v1.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.
@@ -779,22 +686,17 @@ public com.google.spanner.admin.database.v1.BackupOrBuilder getBackupOrBuilder()
      *  * `backup.expire_time`.
      * 
* - * - * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.Backup, - com.google.spanner.admin.database.v1.Backup.Builder, - com.google.spanner.admin.database.v1.BackupOrBuilder> + com.google.spanner.admin.database.v1.Backup, com.google.spanner.admin.database.v1.Backup.Builder, com.google.spanner.admin.database.v1.BackupOrBuilder> getBackupFieldBuilder() { if (backupBuilder_ == null) { - backupBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.Backup, - com.google.spanner.admin.database.v1.Backup.Builder, - com.google.spanner.admin.database.v1.BackupOrBuilder>( - getBackup(), getParentForChildren(), isClean()); + backupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.admin.database.v1.Backup, com.google.spanner.admin.database.v1.Backup.Builder, com.google.spanner.admin.database.v1.BackupOrBuilder>( + getBackup(), + getParentForChildren(), + isClean()); backup_ = null; } return backupBuilder_; @@ -802,13 +704,8 @@ public com.google.spanner.admin.database.v1.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
@@ -817,17 +714,13 @@ public com.google.spanner.admin.database.v1.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
@@ -836,23 +729,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
@@ -861,8 +748,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) { @@ -878,8 +764,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
@@ -888,10 +772,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 { @@ -902,8 +786,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
@@ -912,14 +794,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; @@ -932,8 +813,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
@@ -942,8 +821,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); @@ -956,8 +834,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
@@ -966,8 +842,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; @@ -975,8 +850,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
@@ -985,21 +858,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
@@ -1008,28 +877,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); } @@ -1039,12 +904,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.UpdateBackupRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.UpdateBackupRequest) private static final com.google.spanner.admin.database.v1.UpdateBackupRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.UpdateBackupRequest(); } @@ -1053,27 +918,27 @@ public static com.google.spanner.admin.database.v1.UpdateBackupRequest getDefaul 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; @@ -1088,4 +953,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.UpdateBackupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateBackupRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateBackupRequestOrBuilder.java similarity index 70% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateBackupRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateBackupRequestOrBuilder.java index 2fd0d8ae9b5..38228c92a89 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateBackupRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/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/spanner/admin/database/v1/backup.proto package com.google.spanner.admin.database.v1; -public interface UpdateBackupRequestOrBuilder - extends +public interface UpdateBackupRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.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,16 +15,11 @@ public interface UpdateBackupRequestOrBuilder
    *  * `backup.expire_time`.
    * 
* - * - * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.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.
@@ -50,16 +27,11 @@ public interface UpdateBackupRequestOrBuilder
    *  * `backup.expire_time`.
    * 
* - * - * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The backup. */ com.google.spanner.admin.database.v1.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.
@@ -67,15 +39,11 @@ public interface UpdateBackupRequestOrBuilder
    *  * `backup.expire_time`.
    * 
* - * - * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.spanner.admin.database.v1.BackupOrBuilder getBackupOrBuilder(); /** - * - * *
    * Required. A mask specifying which fields (e.g. `expire_time`) in the
    * Backup resource should be updated. This mask is relative to the Backup
@@ -84,15 +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
@@ -101,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
@@ -118,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-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlMetadata.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlMetadata.java similarity index 79% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlMetadata.java index d4625807d12..09eb268f187 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlMetadata.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/spanner/admin/database/v1/spanner_database_admin.proto package com.google.spanner.admin.database.v1; /** - * - * *
  * Metadata type for the operation returned by
  * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata}
  */
-public final class UpdateDatabaseDdlMetadata extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class UpdateDatabaseDdlMetadata extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata)
     UpdateDatabaseDdlMetadataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use UpdateDatabaseDdlMetadata.newBuilder() to construct.
   private UpdateDatabaseDdlMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private UpdateDatabaseDdlMetadata() {
     database_ = "";
     statements_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -47,43 +29,38 @@ private UpdateDatabaseDdlMetadata() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new UpdateDatabaseDdlMetadata();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-        .internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-        .internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlMetadata_fieldAccessorTable
+    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata.class,
-            com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata.Builder.class);
+            com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata.class, com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata.Builder.class);
   }
 
   public static final int DATABASE_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object database_ = "";
   /**
-   *
-   *
    * 
    * The database being modified.
    * 
* * string database = 1 [(.google.api.resource_reference) = { ... } - * * @return The database. */ @java.lang.Override @@ -92,29 +69,29 @@ public java.lang.String getDatabase() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; } } /** - * - * *
    * The database being modified.
    * 
* * string database = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for database. */ @java.lang.Override - public com.google.protobuf.ByteString getDatabaseBytes() { + public com.google.protobuf.ByteString + getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); database_ = b; return b; } else { @@ -123,49 +100,40 @@ public com.google.protobuf.ByteString getDatabaseBytes() { } public static final int STATEMENTS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringList statements_; /** - * - * *
    * For an update this list contains all the statements. For an
    * individual statement, this list contains only that statement.
    * 
* * repeated string statements = 2; - * * @return A list containing the statements. */ - public com.google.protobuf.ProtocolStringList getStatementsList() { + public com.google.protobuf.ProtocolStringList + getStatementsList() { return statements_; } /** - * - * *
    * For an update this list contains all the statements. For an
    * individual statement, this list contains only that statement.
    * 
* * repeated string statements = 2; - * * @return The count of statements. */ public int getStatementsCount() { return statements_.size(); } /** - * - * *
    * For an update this list contains all the statements. For an
    * individual statement, this list contains only that statement.
    * 
* * repeated string statements = 2; - * * @param index The index of the element to return. * @return The statements at the given index. */ @@ -173,29 +141,24 @@ public java.lang.String getStatements(int index) { return statements_.get(index); } /** - * - * *
    * For an update this list contains all the statements. For an
    * individual statement, this list contains only that statement.
    * 
* * repeated string statements = 2; - * * @param index The index of the value to return. * @return The bytes of the statements at the given index. */ - public com.google.protobuf.ByteString getStatementsBytes(int index) { + public com.google.protobuf.ByteString + getStatementsBytes(int index) { return statements_.getByteString(index); } public static final int COMMIT_TIMESTAMPS_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private java.util.List commitTimestamps_; /** - * - * *
    * Reports the commit timestamps of all statements that have
    * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -209,8 +172,6 @@ public java.util.List getCommitTimestampsList() {
     return commitTimestamps_;
   }
   /**
-   *
-   *
    * 
    * Reports the commit timestamps of all statements that have
    * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -220,13 +181,11 @@ public java.util.List getCommitTimestampsList() {
    * repeated .google.protobuf.Timestamp commit_timestamps = 3;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getCommitTimestampsOrBuilderList() {
     return commitTimestamps_;
   }
   /**
-   *
-   *
    * 
    * Reports the commit timestamps of all statements that have
    * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -240,8 +199,6 @@ public int getCommitTimestampsCount() {
     return commitTimestamps_.size();
   }
   /**
-   *
-   *
    * 
    * Reports the commit timestamps of all statements that have
    * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -255,8 +212,6 @@ public com.google.protobuf.Timestamp getCommitTimestamps(int index) {
     return commitTimestamps_.get(index);
   }
   /**
-   *
-   *
    * 
    * Reports the commit timestamps of all statements that have
    * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -266,15 +221,14 @@ public com.google.protobuf.Timestamp getCommitTimestamps(int index) {
    * repeated .google.protobuf.Timestamp commit_timestamps = 3;
    */
   @java.lang.Override
-  public com.google.protobuf.TimestampOrBuilder getCommitTimestampsOrBuilder(int index) {
+  public com.google.protobuf.TimestampOrBuilder getCommitTimestampsOrBuilder(
+      int index) {
     return commitTimestamps_.get(index);
   }
 
   public static final int THROTTLED_FIELD_NUMBER = 4;
   private boolean throttled_ = false;
   /**
-   *
-   *
    * 
    * Output only. When true, indicates that the operation is throttled e.g
    * due to resource constraints. When resources become available the operation
@@ -282,7 +236,6 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimestampsOrBuilder(int i
    * 
* * bool throttled = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The throttled. */ @java.lang.Override @@ -291,12 +244,9 @@ public boolean getThrottled() { } public static final int PROGRESS_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private java.util.List progress_; /** - * - * *
    * The progress of the
    * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -315,8 +265,6 @@ public java.util.List ge
     return progress_;
   }
   /**
-   *
-   *
    * 
    * The progress of the
    * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -331,13 +279,11 @@ public java.util.List ge
    * repeated .google.spanner.admin.database.v1.OperationProgress progress = 5;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getProgressOrBuilderList() {
     return progress_;
   }
   /**
-   *
-   *
    * 
    * The progress of the
    * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -356,8 +302,6 @@ public int getProgressCount() {
     return progress_.size();
   }
   /**
-   *
-   *
    * 
    * The progress of the
    * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -376,8 +320,6 @@ public com.google.spanner.admin.database.v1.OperationProgress getProgress(int in
     return progress_.get(index);
   }
   /**
-   *
-   *
    * 
    * The progress of the
    * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -398,7 +340,6 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -410,7 +351,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(database_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, database_);
     }
@@ -447,13 +389,16 @@ public int getSerializedSize() {
       size += 1 * getStatementsList().size();
     }
     for (int i = 0; i < commitTimestamps_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, commitTimestamps_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, commitTimestamps_.get(i));
     }
     if (throttled_ != false) {
-      size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, throttled_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBoolSize(4, throttled_);
     }
     for (int i = 0; i < progress_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, progress_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, progress_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -463,19 +408,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.spanner.admin.database.v1.UpdateDatabaseDdlMetadata)) {
       return super.equals(obj);
     }
-    com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata other =
-        (com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata) obj;
-
-    if (!getDatabase().equals(other.getDatabase())) return false;
-    if (!getStatementsList().equals(other.getStatementsList())) return false;
-    if (!getCommitTimestampsList().equals(other.getCommitTimestampsList())) return false;
-    if (getThrottled() != other.getThrottled()) return false;
-    if (!getProgressList().equals(other.getProgressList())) return false;
+    com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata other = (com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata) obj;
+
+    if (!getDatabase()
+        .equals(other.getDatabase())) return false;
+    if (!getStatementsList()
+        .equals(other.getStatementsList())) return false;
+    if (!getCommitTimestampsList()
+        .equals(other.getCommitTimestampsList())) return false;
+    if (getThrottled()
+        != other.getThrottled()) return false;
+    if (!getProgressList()
+        .equals(other.getProgressList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -498,7 +447,8 @@ public int hashCode() {
       hash = (53 * hash) + getCommitTimestampsList().hashCode();
     }
     hash = (37 * hash) + THROTTLED_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getThrottled());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+        getThrottled());
     if (getProgressCount() > 0) {
       hash = (37 * hash) + PROGRESS_FIELD_NUMBER;
       hash = (53 * hash) + getProgressList().hashCode();
@@ -509,104 +459,96 @@ public int hashCode() {
   }
 
   public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata parseFrom(
-      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+  public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata parseFrom(byte[] data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata prototype) {
+  public static Builder newBuilder(com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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
    * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl].
@@ -614,32 +556,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata)
       com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-          .internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-          .internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlMetadata_fieldAccessorTable
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata.class,
-              com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata.Builder.class);
+              com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata.class, com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -666,14 +609,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-          .internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlMetadata_descriptor;
     }
 
     @java.lang.Override
-    public com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata
-        getDefaultInstanceForType() {
+    public com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata getDefaultInstanceForType() {
       return com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata.getDefaultInstance();
     }
 
@@ -688,18 +630,14 @@ public com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata build() {
 
     @java.lang.Override
     public com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata buildPartial() {
-      com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata result =
-          new com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata(this);
+      com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata result = new com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata result) {
+    private void buildPartialRepeatedFields(com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata result) {
       if (((bitField0_ & 0x00000002) != 0)) {
         statements_ = statements_.getUnmodifiableView();
         bitField0_ = (bitField0_ & ~0x00000002);
@@ -725,8 +663,7 @@ private void buildPartialRepeatedFields(
       }
     }
 
-    private void buildPartial0(
-        com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata result) {
+    private void buildPartial0(com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.database_ = database_;
@@ -740,39 +677,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.spanner.admin.database.v1.UpdateDatabaseDdlMetadata) {
-        return mergeFrom((com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata) other);
+        return mergeFrom((com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -780,9 +716,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata other) {
-      if (other
-          == com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata.getDefaultInstance())
-        return this;
+      if (other == com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata.getDefaultInstance()) return this;
       if (!other.getDatabase().isEmpty()) {
         database_ = other.database_;
         bitField0_ |= 0x00000001;
@@ -816,10 +750,9 @@ public Builder mergeFrom(com.google.spanner.admin.database.v1.UpdateDatabaseDdlM
             commitTimestampsBuilder_ = null;
             commitTimestamps_ = other.commitTimestamps_;
             bitField0_ = (bitField0_ & ~0x00000004);
-            commitTimestampsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getCommitTimestampsFieldBuilder()
-                    : null;
+            commitTimestampsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getCommitTimestampsFieldBuilder() : null;
           } else {
             commitTimestampsBuilder_.addAllMessages(other.commitTimestamps_);
           }
@@ -846,10 +779,9 @@ public Builder mergeFrom(com.google.spanner.admin.database.v1.UpdateDatabaseDdlM
             progressBuilder_ = null;
             progress_ = other.progress_;
             bitField0_ = (bitField0_ & ~0x00000010);
-            progressBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getProgressFieldBuilder()
-                    : null;
+            progressBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getProgressFieldBuilder() : null;
           } else {
             progressBuilder_.addAllMessages(other.progress_);
           }
@@ -881,58 +813,54 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                database_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureStatementsIsMutable();
-                statements_.add(s);
-                break;
-              } // case 18
-            case 26:
-              {
-                com.google.protobuf.Timestamp m =
-                    input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-                if (commitTimestampsBuilder_ == null) {
-                  ensureCommitTimestampsIsMutable();
-                  commitTimestamps_.add(m);
-                } else {
-                  commitTimestampsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 26
-            case 32:
-              {
-                throttled_ = input.readBool();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 32
-            case 42:
-              {
-                com.google.spanner.admin.database.v1.OperationProgress m =
-                    input.readMessage(
-                        com.google.spanner.admin.database.v1.OperationProgress.parser(),
-                        extensionRegistry);
-                if (progressBuilder_ == null) {
-                  ensureProgressIsMutable();
-                  progress_.add(m);
-                } else {
-                  progressBuilder_.addMessage(m);
-                }
-                break;
-              } // case 42
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              database_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureStatementsIsMutable();
+              statements_.add(s);
+              break;
+            } // case 18
+            case 26: {
+              com.google.protobuf.Timestamp m =
+                  input.readMessage(
+                      com.google.protobuf.Timestamp.parser(),
+                      extensionRegistry);
+              if (commitTimestampsBuilder_ == null) {
+                ensureCommitTimestampsIsMutable();
+                commitTimestamps_.add(m);
+              } else {
+                commitTimestampsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 26
+            case 32: {
+              throttled_ = input.readBool();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 32
+            case 42: {
+              com.google.spanner.admin.database.v1.OperationProgress m =
+                  input.readMessage(
+                      com.google.spanner.admin.database.v1.OperationProgress.parser(),
+                      extensionRegistry);
+              if (progressBuilder_ == null) {
+                ensureProgressIsMutable();
+                progress_.add(m);
+              } else {
+                progressBuilder_.addMessage(m);
+              }
+              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) {
@@ -942,25 +870,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object database_ = "";
     /**
-     *
-     *
      * 
      * The database being modified.
      * 
* * string database = 1 [(.google.api.resource_reference) = { ... } - * * @return The database. */ public java.lang.String getDatabase() { java.lang.Object ref = database_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; @@ -969,21 +894,20 @@ public java.lang.String getDatabase() { } } /** - * - * *
      * The database being modified.
      * 
* * string database = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for database. */ - public com.google.protobuf.ByteString getDatabaseBytes() { + public com.google.protobuf.ByteString + getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); database_ = b; return b; } else { @@ -991,35 +915,28 @@ public com.google.protobuf.ByteString getDatabaseBytes() { } } /** - * - * *
      * The database being modified.
      * 
* * string database = 1 [(.google.api.resource_reference) = { ... } - * * @param value The database to set. * @return This builder for chaining. */ - public Builder setDatabase(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabase( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } database_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The database being modified.
      * 
* * string database = 1 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearDatabase() { @@ -1029,21 +946,17 @@ public Builder clearDatabase() { return this; } /** - * - * *
      * The database being modified.
      * 
* * string database = 1 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for database to set. * @return This builder for chaining. */ - public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabaseBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); database_ = value; bitField0_ |= 0x00000001; @@ -1051,55 +964,45 @@ public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.LazyStringList statements_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList statements_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureStatementsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { statements_ = new com.google.protobuf.LazyStringArrayList(statements_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * For an update this list contains all the statements. For an
      * individual statement, this list contains only that statement.
      * 
* * repeated string statements = 2; - * * @return A list containing the statements. */ - public com.google.protobuf.ProtocolStringList getStatementsList() { + public com.google.protobuf.ProtocolStringList + getStatementsList() { return statements_.getUnmodifiableView(); } /** - * - * *
      * For an update this list contains all the statements. For an
      * individual statement, this list contains only that statement.
      * 
* * repeated string statements = 2; - * * @return The count of statements. */ public int getStatementsCount() { return statements_.size(); } /** - * - * *
      * For an update this list contains all the statements. For an
      * individual statement, this list contains only that statement.
      * 
* * repeated string statements = 2; - * * @param index The index of the element to return. * @return The statements at the given index. */ @@ -1107,95 +1010,81 @@ public java.lang.String getStatements(int index) { return statements_.get(index); } /** - * - * *
      * For an update this list contains all the statements. For an
      * individual statement, this list contains only that statement.
      * 
* * repeated string statements = 2; - * * @param index The index of the value to return. * @return The bytes of the statements at the given index. */ - public com.google.protobuf.ByteString getStatementsBytes(int index) { + public com.google.protobuf.ByteString + getStatementsBytes(int index) { return statements_.getByteString(index); } /** - * - * *
      * For an update this list contains all the statements. For an
      * individual statement, this list contains only that statement.
      * 
* * repeated string statements = 2; - * * @param index The index to set the value at. * @param value The statements to set. * @return This builder for chaining. */ - public Builder setStatements(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setStatements( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureStatementsIsMutable(); statements_.set(index, value); onChanged(); return this; } /** - * - * *
      * For an update this list contains all the statements. For an
      * individual statement, this list contains only that statement.
      * 
* * repeated string statements = 2; - * * @param value The statements to add. * @return This builder for chaining. */ - public Builder addStatements(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addStatements( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureStatementsIsMutable(); statements_.add(value); onChanged(); return this; } /** - * - * *
      * For an update this list contains all the statements. For an
      * individual statement, this list contains only that statement.
      * 
* * repeated string statements = 2; - * * @param values The statements to add. * @return This builder for chaining. */ - public Builder addAllStatements(java.lang.Iterable values) { + public Builder addAllStatements( + java.lang.Iterable values) { ensureStatementsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, statements_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, statements_); onChanged(); return this; } /** - * - * *
      * For an update this list contains all the statements. For an
      * individual statement, this list contains only that statement.
      * 
* * repeated string statements = 2; - * * @return This builder for chaining. */ public Builder clearStatements() { @@ -1205,22 +1094,18 @@ public Builder clearStatements() { return this; } /** - * - * *
      * For an update this list contains all the statements. For an
      * individual statement, this list contains only that statement.
      * 
* * repeated string statements = 2; - * * @param value The bytes of the statements to add. * @return This builder for chaining. */ - public Builder addStatementsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addStatementsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureStatementsIsMutable(); statements_.add(value); @@ -1229,25 +1114,18 @@ public Builder addStatementsBytes(com.google.protobuf.ByteString value) { } private java.util.List commitTimestamps_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureCommitTimestampsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - commitTimestamps_ = - new java.util.ArrayList(commitTimestamps_); + commitTimestamps_ = new java.util.ArrayList(commitTimestamps_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - commitTimestampsBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> commitTimestampsBuilder_; /** - * - * *
      * Reports the commit timestamps of all statements that have
      * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -1264,8 +1142,6 @@ public java.util.List getCommitTimestampsList() {
       }
     }
     /**
-     *
-     *
      * 
      * Reports the commit timestamps of all statements that have
      * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -1282,8 +1158,6 @@ public int getCommitTimestampsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Reports the commit timestamps of all statements that have
      * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -1300,8 +1174,6 @@ public com.google.protobuf.Timestamp getCommitTimestamps(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Reports the commit timestamps of all statements that have
      * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -1310,7 +1182,8 @@ public com.google.protobuf.Timestamp getCommitTimestamps(int index) {
      *
      * repeated .google.protobuf.Timestamp commit_timestamps = 3;
      */
-    public Builder setCommitTimestamps(int index, com.google.protobuf.Timestamp value) {
+    public Builder setCommitTimestamps(
+        int index, com.google.protobuf.Timestamp value) {
       if (commitTimestampsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1324,8 +1197,6 @@ public Builder setCommitTimestamps(int index, com.google.protobuf.Timestamp valu
       return this;
     }
     /**
-     *
-     *
      * 
      * Reports the commit timestamps of all statements that have
      * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -1346,8 +1217,6 @@ public Builder setCommitTimestamps(
       return this;
     }
     /**
-     *
-     *
      * 
      * Reports the commit timestamps of all statements that have
      * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -1370,8 +1239,6 @@ public Builder addCommitTimestamps(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Reports the commit timestamps of all statements that have
      * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -1380,7 +1247,8 @@ public Builder addCommitTimestamps(com.google.protobuf.Timestamp value) {
      *
      * repeated .google.protobuf.Timestamp commit_timestamps = 3;
      */
-    public Builder addCommitTimestamps(int index, com.google.protobuf.Timestamp value) {
+    public Builder addCommitTimestamps(
+        int index, com.google.protobuf.Timestamp value) {
       if (commitTimestampsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1394,8 +1262,6 @@ public Builder addCommitTimestamps(int index, com.google.protobuf.Timestamp valu
       return this;
     }
     /**
-     *
-     *
      * 
      * Reports the commit timestamps of all statements that have
      * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -1404,7 +1270,8 @@ public Builder addCommitTimestamps(int index, com.google.protobuf.Timestamp valu
      *
      * repeated .google.protobuf.Timestamp commit_timestamps = 3;
      */
-    public Builder addCommitTimestamps(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder addCommitTimestamps(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (commitTimestampsBuilder_ == null) {
         ensureCommitTimestampsIsMutable();
         commitTimestamps_.add(builderForValue.build());
@@ -1415,8 +1282,6 @@ public Builder addCommitTimestamps(com.google.protobuf.Timestamp.Builder builder
       return this;
     }
     /**
-     *
-     *
      * 
      * Reports the commit timestamps of all statements that have
      * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -1437,8 +1302,6 @@ public Builder addCommitTimestamps(
       return this;
     }
     /**
-     *
-     *
      * 
      * Reports the commit timestamps of all statements that have
      * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -1451,7 +1314,8 @@ public Builder addAllCommitTimestamps(
         java.lang.Iterable values) {
       if (commitTimestampsBuilder_ == null) {
         ensureCommitTimestampsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, commitTimestamps_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, commitTimestamps_);
         onChanged();
       } else {
         commitTimestampsBuilder_.addAllMessages(values);
@@ -1459,8 +1323,6 @@ public Builder addAllCommitTimestamps(
       return this;
     }
     /**
-     *
-     *
      * 
      * Reports the commit timestamps of all statements that have
      * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -1480,8 +1342,6 @@ public Builder clearCommitTimestamps() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Reports the commit timestamps of all statements that have
      * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -1501,8 +1361,6 @@ public Builder removeCommitTimestamps(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Reports the commit timestamps of all statements that have
      * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -1511,12 +1369,11 @@ public Builder removeCommitTimestamps(int index) {
      *
      * repeated .google.protobuf.Timestamp commit_timestamps = 3;
      */
-    public com.google.protobuf.Timestamp.Builder getCommitTimestampsBuilder(int index) {
+    public com.google.protobuf.Timestamp.Builder getCommitTimestampsBuilder(
+        int index) {
       return getCommitTimestampsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Reports the commit timestamps of all statements that have
      * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -1525,16 +1382,14 @@ public com.google.protobuf.Timestamp.Builder getCommitTimestampsBuilder(int inde
      *
      * repeated .google.protobuf.Timestamp commit_timestamps = 3;
      */
-    public com.google.protobuf.TimestampOrBuilder getCommitTimestampsOrBuilder(int index) {
+    public com.google.protobuf.TimestampOrBuilder getCommitTimestampsOrBuilder(
+        int index) {
       if (commitTimestampsBuilder_ == null) {
-        return commitTimestamps_.get(index);
-      } else {
+        return commitTimestamps_.get(index);  } else {
         return commitTimestampsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Reports the commit timestamps of all statements that have
      * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -1543,8 +1398,8 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimestampsOrBuilder(int i
      *
      * repeated .google.protobuf.Timestamp commit_timestamps = 3;
      */
-    public java.util.List
-        getCommitTimestampsOrBuilderList() {
+    public java.util.List 
+         getCommitTimestampsOrBuilderList() {
       if (commitTimestampsBuilder_ != null) {
         return commitTimestampsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1552,8 +1407,6 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimestampsOrBuilder(int i
       }
     }
     /**
-     *
-     *
      * 
      * Reports the commit timestamps of all statements that have
      * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -1563,12 +1416,10 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimestampsOrBuilder(int i
      * repeated .google.protobuf.Timestamp commit_timestamps = 3;
      */
     public com.google.protobuf.Timestamp.Builder addCommitTimestampsBuilder() {
-      return getCommitTimestampsFieldBuilder()
-          .addBuilder(com.google.protobuf.Timestamp.getDefaultInstance());
+      return getCommitTimestampsFieldBuilder().addBuilder(
+          com.google.protobuf.Timestamp.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Reports the commit timestamps of all statements that have
      * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -1577,13 +1428,12 @@ public com.google.protobuf.Timestamp.Builder addCommitTimestampsBuilder() {
      *
      * repeated .google.protobuf.Timestamp commit_timestamps = 3;
      */
-    public com.google.protobuf.Timestamp.Builder addCommitTimestampsBuilder(int index) {
-      return getCommitTimestampsFieldBuilder()
-          .addBuilder(index, com.google.protobuf.Timestamp.getDefaultInstance());
+    public com.google.protobuf.Timestamp.Builder addCommitTimestampsBuilder(
+        int index) {
+      return getCommitTimestampsFieldBuilder().addBuilder(
+          index, com.google.protobuf.Timestamp.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Reports the commit timestamps of all statements that have
      * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -1592,21 +1442,16 @@ public com.google.protobuf.Timestamp.Builder addCommitTimestampsBuilder(int inde
      *
      * repeated .google.protobuf.Timestamp commit_timestamps = 3;
      */
-    public java.util.List getCommitTimestampsBuilderList() {
+    public java.util.List 
+         getCommitTimestampsBuilderList() {
       return getCommitTimestampsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            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> 
         getCommitTimestampsFieldBuilder() {
       if (commitTimestampsBuilder_ == null) {
-        commitTimestampsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
+        commitTimestampsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
                 commitTimestamps_,
                 ((bitField0_ & 0x00000004) != 0),
                 getParentForChildren(),
@@ -1616,10 +1461,8 @@ public java.util.List getCommitTimestamps
       return commitTimestampsBuilder_;
     }
 
-    private boolean throttled_;
+    private boolean throttled_ ;
     /**
-     *
-     *
      * 
      * Output only. When true, indicates that the operation is throttled e.g
      * due to resource constraints. When resources become available the operation
@@ -1627,7 +1470,6 @@ public java.util.List getCommitTimestamps
      * 
* * bool throttled = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The throttled. */ @java.lang.Override @@ -1635,8 +1477,6 @@ public boolean getThrottled() { return throttled_; } /** - * - * *
      * Output only. When true, indicates that the operation is throttled e.g
      * due to resource constraints. When resources become available the operation
@@ -1644,20 +1484,17 @@ public boolean getThrottled() {
      * 
* * bool throttled = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The throttled to set. * @return This builder for chaining. */ public Builder setThrottled(boolean value) { - + throttled_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Output only. When true, indicates that the operation is throttled e.g
      * due to resource constraints. When resources become available the operation
@@ -1665,7 +1502,6 @@ public Builder setThrottled(boolean value) {
      * 
* * bool throttled = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearThrottled() { @@ -1676,26 +1512,18 @@ public Builder clearThrottled() { } private java.util.List progress_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureProgressIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { - progress_ = - new java.util.ArrayList( - progress_); + progress_ = new java.util.ArrayList(progress_); bitField0_ |= 0x00000010; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.admin.database.v1.OperationProgress, - com.google.spanner.admin.database.v1.OperationProgress.Builder, - com.google.spanner.admin.database.v1.OperationProgressOrBuilder> - progressBuilder_; + com.google.spanner.admin.database.v1.OperationProgress, com.google.spanner.admin.database.v1.OperationProgress.Builder, com.google.spanner.admin.database.v1.OperationProgressOrBuilder> progressBuilder_; /** - * - * *
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -1709,8 +1537,7 @@ private void ensureProgressIsMutable() {
      *
      * repeated .google.spanner.admin.database.v1.OperationProgress progress = 5;
      */
-    public java.util.List
-        getProgressList() {
+    public java.util.List getProgressList() {
       if (progressBuilder_ == null) {
         return java.util.Collections.unmodifiableList(progress_);
       } else {
@@ -1718,8 +1545,6 @@ private void ensureProgressIsMutable() {
       }
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -1741,8 +1566,6 @@ public int getProgressCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -1764,8 +1587,6 @@ public com.google.spanner.admin.database.v1.OperationProgress getProgress(int in
       }
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -1794,8 +1615,6 @@ public Builder setProgress(
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -1821,8 +1640,6 @@ public Builder setProgress(
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -1850,8 +1667,6 @@ public Builder addProgress(com.google.spanner.admin.database.v1.OperationProgres
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -1880,8 +1695,6 @@ public Builder addProgress(
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -1907,8 +1720,6 @@ public Builder addProgress(
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -1934,8 +1745,6 @@ public Builder addProgress(
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -1950,11 +1759,11 @@ public Builder addProgress(
      * repeated .google.spanner.admin.database.v1.OperationProgress progress = 5;
      */
     public Builder addAllProgress(
-        java.lang.Iterable
-            values) {
+        java.lang.Iterable values) {
       if (progressBuilder_ == null) {
         ensureProgressIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, progress_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, progress_);
         onChanged();
       } else {
         progressBuilder_.addAllMessages(values);
@@ -1962,8 +1771,6 @@ public Builder addAllProgress(
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -1988,8 +1795,6 @@ public Builder clearProgress() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -2014,8 +1819,6 @@ public Builder removeProgress(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -2034,8 +1837,6 @@ public com.google.spanner.admin.database.v1.OperationProgress.Builder getProgres
       return getProgressFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -2052,14 +1853,11 @@ public com.google.spanner.admin.database.v1.OperationProgress.Builder getProgres
     public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgressOrBuilder(
         int index) {
       if (progressBuilder_ == null) {
-        return progress_.get(index);
-      } else {
+        return progress_.get(index);  } else {
         return progressBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -2073,8 +1871,8 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre
      *
      * repeated .google.spanner.admin.database.v1.OperationProgress progress = 5;
      */
-    public java.util.List
-        getProgressOrBuilderList() {
+    public java.util.List 
+         getProgressOrBuilderList() {
       if (progressBuilder_ != null) {
         return progressBuilder_.getMessageOrBuilderList();
       } else {
@@ -2082,8 +1880,6 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre
       }
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -2098,12 +1894,10 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre
      * repeated .google.spanner.admin.database.v1.OperationProgress progress = 5;
      */
     public com.google.spanner.admin.database.v1.OperationProgress.Builder addProgressBuilder() {
-      return getProgressFieldBuilder()
-          .addBuilder(com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance());
+      return getProgressFieldBuilder().addBuilder(
+          com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -2119,13 +1913,10 @@ public com.google.spanner.admin.database.v1.OperationProgress.Builder addProgres
      */
     public com.google.spanner.admin.database.v1.OperationProgress.Builder addProgressBuilder(
         int index) {
-      return getProgressFieldBuilder()
-          .addBuilder(
-              index, com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance());
+      return getProgressFieldBuilder().addBuilder(
+          index, com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -2139,30 +1930,27 @@ public com.google.spanner.admin.database.v1.OperationProgress.Builder addProgres
      *
      * repeated .google.spanner.admin.database.v1.OperationProgress progress = 5;
      */
-    public java.util.List
-        getProgressBuilderList() {
+    public java.util.List 
+         getProgressBuilderList() {
       return getProgressFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.spanner.admin.database.v1.OperationProgress,
-            com.google.spanner.admin.database.v1.OperationProgress.Builder,
-            com.google.spanner.admin.database.v1.OperationProgressOrBuilder>
+        com.google.spanner.admin.database.v1.OperationProgress, com.google.spanner.admin.database.v1.OperationProgress.Builder, com.google.spanner.admin.database.v1.OperationProgressOrBuilder> 
         getProgressFieldBuilder() {
       if (progressBuilder_ == null) {
-        progressBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.spanner.admin.database.v1.OperationProgress,
-                com.google.spanner.admin.database.v1.OperationProgress.Builder,
-                com.google.spanner.admin.database.v1.OperationProgressOrBuilder>(
-                progress_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean());
+        progressBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.spanner.admin.database.v1.OperationProgress, com.google.spanner.admin.database.v1.OperationProgress.Builder, com.google.spanner.admin.database.v1.OperationProgressOrBuilder>(
+                progress_,
+                ((bitField0_ & 0x00000010) != 0),
+                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);
     }
 
@@ -2172,43 +1960,41 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata)
   }
 
   // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata)
-  private static final com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata
-      DEFAULT_INSTANCE;
-
+  private static final com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata DEFAULT_INSTANCE;
   static {
     DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata();
   }
 
-  public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata
-      getDefaultInstance() {
+  public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public UpdateDatabaseDdlMetadata parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public UpdateDatabaseDdlMetadata parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2220,8 +2006,9 @@ public com.google.protobuf.Parser getParserForType()
   }
 
   @java.lang.Override
-  public com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata
-      getDefaultInstanceForType() {
+  public com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlMetadataOrBuilder.java
similarity index 86%
rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlMetadataOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlMetadataOrBuilder.java
index 0557d7314d1..c4e484e9990 100644
--- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlMetadataOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlMetadataOrBuilder.java
@@ -1,111 +1,78 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/admin/database/v1/spanner_database_admin.proto
 
 package com.google.spanner.admin.database.v1;
 
-public interface UpdateDatabaseDdlMetadataOrBuilder
-    extends
+public interface UpdateDatabaseDdlMetadataOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The database being modified.
    * 
* * string database = 1 [(.google.api.resource_reference) = { ... } - * * @return The database. */ java.lang.String getDatabase(); /** - * - * *
    * The database being modified.
    * 
* * string database = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for database. */ - com.google.protobuf.ByteString getDatabaseBytes(); + com.google.protobuf.ByteString + getDatabaseBytes(); /** - * - * *
    * For an update this list contains all the statements. For an
    * individual statement, this list contains only that statement.
    * 
* * repeated string statements = 2; - * * @return A list containing the statements. */ - java.util.List getStatementsList(); + java.util.List + getStatementsList(); /** - * - * *
    * For an update this list contains all the statements. For an
    * individual statement, this list contains only that statement.
    * 
* * repeated string statements = 2; - * * @return The count of statements. */ int getStatementsCount(); /** - * - * *
    * For an update this list contains all the statements. For an
    * individual statement, this list contains only that statement.
    * 
* * repeated string statements = 2; - * * @param index The index of the element to return. * @return The statements at the given index. */ java.lang.String getStatements(int index); /** - * - * *
    * For an update this list contains all the statements. For an
    * individual statement, this list contains only that statement.
    * 
* * repeated string statements = 2; - * * @param index The index of the value to return. * @return The bytes of the statements at the given index. */ - com.google.protobuf.ByteString getStatementsBytes(int index); + com.google.protobuf.ByteString + getStatementsBytes(int index); /** - * - * *
    * Reports the commit timestamps of all statements that have
    * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -114,10 +81,9 @@ public interface UpdateDatabaseDdlMetadataOrBuilder
    *
    * repeated .google.protobuf.Timestamp commit_timestamps = 3;
    */
-  java.util.List getCommitTimestampsList();
+  java.util.List 
+      getCommitTimestampsList();
   /**
-   *
-   *
    * 
    * Reports the commit timestamps of all statements that have
    * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -128,8 +94,6 @@ public interface UpdateDatabaseDdlMetadataOrBuilder
    */
   com.google.protobuf.Timestamp getCommitTimestamps(int index);
   /**
-   *
-   *
    * 
    * Reports the commit timestamps of all statements that have
    * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -140,8 +104,6 @@ public interface UpdateDatabaseDdlMetadataOrBuilder
    */
   int getCommitTimestampsCount();
   /**
-   *
-   *
    * 
    * Reports the commit timestamps of all statements that have
    * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -150,11 +112,9 @@ public interface UpdateDatabaseDdlMetadataOrBuilder
    *
    * repeated .google.protobuf.Timestamp commit_timestamps = 3;
    */
-  java.util.List
+  java.util.List 
       getCommitTimestampsOrBuilderList();
   /**
-   *
-   *
    * 
    * Reports the commit timestamps of all statements that have
    * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -163,11 +123,10 @@ public interface UpdateDatabaseDdlMetadataOrBuilder
    *
    * repeated .google.protobuf.Timestamp commit_timestamps = 3;
    */
-  com.google.protobuf.TimestampOrBuilder getCommitTimestampsOrBuilder(int index);
+  com.google.protobuf.TimestampOrBuilder getCommitTimestampsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Output only. When true, indicates that the operation is throttled e.g
    * due to resource constraints. When resources become available the operation
@@ -175,14 +134,11 @@ public interface UpdateDatabaseDdlMetadataOrBuilder
    * 
* * bool throttled = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The throttled. */ boolean getThrottled(); /** - * - * *
    * The progress of the
    * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -196,10 +152,9 @@ public interface UpdateDatabaseDdlMetadataOrBuilder
    *
    * repeated .google.spanner.admin.database.v1.OperationProgress progress = 5;
    */
-  java.util.List getProgressList();
+  java.util.List 
+      getProgressList();
   /**
-   *
-   *
    * 
    * The progress of the
    * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -215,8 +170,6 @@ public interface UpdateDatabaseDdlMetadataOrBuilder
    */
   com.google.spanner.admin.database.v1.OperationProgress getProgress(int index);
   /**
-   *
-   *
    * 
    * The progress of the
    * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -232,8 +185,6 @@ public interface UpdateDatabaseDdlMetadataOrBuilder
    */
   int getProgressCount();
   /**
-   *
-   *
    * 
    * The progress of the
    * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -247,11 +198,9 @@ public interface UpdateDatabaseDdlMetadataOrBuilder
    *
    * repeated .google.spanner.admin.database.v1.OperationProgress progress = 5;
    */
-  java.util.List
+  java.util.List 
       getProgressOrBuilderList();
   /**
-   *
-   *
    * 
    * The progress of the
    * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -265,5 +214,6 @@ public interface UpdateDatabaseDdlMetadataOrBuilder
    *
    * repeated .google.spanner.admin.database.v1.OperationProgress progress = 5;
    */
-  com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgressOrBuilder(int index);
+  com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgressOrBuilder(
+      int index);
 }
diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlRequest.java
similarity index 74%
rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlRequest.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlRequest.java
index a2c59a7b9b6..398eaebaaf6 100644
--- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlRequest.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlRequest.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/spanner/admin/database/v1/spanner_database_admin.proto
 
 package com.google.spanner.admin.database.v1;
 
 /**
- *
- *
  * 
  * Enqueues the given DDL statements to be applied, in order but not
  * necessarily all at once, to the database schema at some point (or
@@ -41,16 +24,15 @@
  *
  * Protobuf type {@code google.spanner.admin.database.v1.UpdateDatabaseDdlRequest}
  */
-public final class UpdateDatabaseDdlRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class UpdateDatabaseDdlRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.UpdateDatabaseDdlRequest)
     UpdateDatabaseDdlRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use UpdateDatabaseDdlRequest.newBuilder() to construct.
   private UpdateDatabaseDdlRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private UpdateDatabaseDdlRequest() {
     database_ = "";
     statements_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -59,45 +41,38 @@ private UpdateDatabaseDdlRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new UpdateDatabaseDdlRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-        .internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-        .internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlRequest_fieldAccessorTable
+    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.class,
-            com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.Builder.class);
+            com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.class, com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.Builder.class);
   }
 
   public static final int DATABASE_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object database_ = "";
   /**
-   *
-   *
    * 
    * Required. The database to update.
    * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The database. */ @java.lang.Override @@ -106,31 +81,29 @@ public java.lang.String getDatabase() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; } } /** - * - * *
    * Required. The database to update.
    * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for database. */ @java.lang.Override - public com.google.protobuf.ByteString getDatabaseBytes() { + public com.google.protobuf.ByteString + getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); database_ = b; return b; } else { @@ -139,46 +112,37 @@ public com.google.protobuf.ByteString getDatabaseBytes() { } public static final int STATEMENTS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringList statements_; /** - * - * *
    * Required. DDL statements to be applied to the database.
    * 
* * repeated string statements = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return A list containing the statements. */ - public com.google.protobuf.ProtocolStringList getStatementsList() { + public com.google.protobuf.ProtocolStringList + getStatementsList() { return statements_; } /** - * - * *
    * Required. DDL statements to be applied to the database.
    * 
* * repeated string statements = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The count of statements. */ public int getStatementsCount() { return statements_.size(); } /** - * - * *
    * Required. DDL statements to be applied to the database.
    * 
* * repeated string statements = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the element to return. * @return The statements at the given index. */ @@ -186,28 +150,23 @@ public java.lang.String getStatements(int index) { return statements_.get(index); } /** - * - * *
    * Required. DDL statements to be applied to the database.
    * 
* * repeated string statements = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the value to return. * @return The bytes of the statements at the given index. */ - public com.google.protobuf.ByteString getStatementsBytes(int index) { + public com.google.protobuf.ByteString + getStatementsBytes(int index) { return statements_.getByteString(index); } public static final int OPERATION_ID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object operationId_ = ""; /** - * - * *
    * If empty, the new update request is assigned an
    * automatically-generated operation ID. Otherwise, `operation_id`
@@ -229,7 +188,6 @@ public com.google.protobuf.ByteString getStatementsBytes(int index) {
    * 
* * string operation_id = 3; - * * @return The operationId. */ @java.lang.Override @@ -238,15 +196,14 @@ public java.lang.String getOperationId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); operationId_ = s; return s; } } /** - * - * *
    * If empty, the new update request is assigned an
    * automatically-generated operation ID. Otherwise, `operation_id`
@@ -268,15 +225,16 @@ public java.lang.String getOperationId() {
    * 
* * string operation_id = 3; - * * @return The bytes for operationId. */ @java.lang.Override - public com.google.protobuf.ByteString getOperationIdBytes() { + public com.google.protobuf.ByteString + getOperationIdBytes() { java.lang.Object ref = operationId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); operationId_ = b; return b; } else { @@ -285,7 +243,6 @@ public com.google.protobuf.ByteString getOperationIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -297,7 +254,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(database_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, database_); } @@ -338,17 +296,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.spanner.admin.database.v1.UpdateDatabaseDdlRequest)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest other = - (com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest) obj; - - if (!getDatabase().equals(other.getDatabase())) return false; - if (!getStatementsList().equals(other.getStatementsList())) return false; - if (!getOperationId().equals(other.getOperationId())) return false; + com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest other = (com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest) obj; + + if (!getDatabase() + .equals(other.getDatabase())) return false; + if (!getStatementsList() + .equals(other.getStatementsList())) return false; + if (!getOperationId() + .equals(other.getOperationId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -374,104 +334,96 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest prototype) { + public static Builder newBuilder(com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Enqueues the given DDL statements to be applied, in order but not
    * necessarily all at once, to the database schema at some point (or
@@ -492,32 +444,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.database.v1.UpdateDatabaseDdlRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.UpdateDatabaseDdlRequest)
       com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-          .internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-          .internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlRequest_fieldAccessorTable
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.class,
-              com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.Builder.class);
+              com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.class, com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.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,14 +483,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
-          .internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest
-        getDefaultInstanceForType() {
+    public com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest getDefaultInstanceForType() {
       return com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.getDefaultInstance();
     }
 
@@ -552,18 +504,14 @@ public com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest build() {
 
     @java.lang.Override
     public com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest buildPartial() {
-      com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest result =
-          new com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest(this);
+      com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest result = new com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest result) {
+    private void buildPartialRepeatedFields(com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest result) {
       if (((bitField0_ & 0x00000002) != 0)) {
         statements_ = statements_.getUnmodifiableView();
         bitField0_ = (bitField0_ & ~0x00000002);
@@ -571,8 +519,7 @@ private void buildPartialRepeatedFields(
       result.statements_ = statements_;
     }
 
-    private void buildPartial0(
-        com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest result) {
+    private void buildPartial0(com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.database_ = database_;
@@ -586,39 +533,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.spanner.admin.database.v1.UpdateDatabaseDdlRequest) {
-        return mergeFrom((com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest) other);
+        return mergeFrom((com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -626,9 +572,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest other) {
-      if (other
-          == com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.getDefaultInstance()) return this;
       if (!other.getDatabase().isEmpty()) {
         database_ = other.database_;
         bitField0_ |= 0x00000001;
@@ -675,32 +619,28 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                database_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureStatementsIsMutable();
-                statements_.add(s);
-                break;
-              } // case 18
-            case 26:
-              {
-                operationId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              database_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureStatementsIsMutable();
+              statements_.add(s);
+              break;
+            } // case 18
+            case 26: {
+              operationId_ = 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) {
@@ -710,27 +650,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object database_ = "";
     /**
-     *
-     *
      * 
      * Required. The database to update.
      * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The database. */ public java.lang.String getDatabase() { java.lang.Object ref = database_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; @@ -739,23 +674,20 @@ public java.lang.String getDatabase() { } } /** - * - * *
      * Required. The database to update.
      * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for database. */ - public com.google.protobuf.ByteString getDatabaseBytes() { + public com.google.protobuf.ByteString + getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); database_ = b; return b; } else { @@ -763,39 +695,28 @@ public com.google.protobuf.ByteString getDatabaseBytes() { } } /** - * - * *
      * Required. The database to update.
      * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The database to set. * @return This builder for chaining. */ - public Builder setDatabase(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabase( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } database_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The database to update.
      * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearDatabase() { @@ -805,23 +726,17 @@ public Builder clearDatabase() { return this; } /** - * - * *
      * Required. The database to update.
      * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for database to set. * @return This builder for chaining. */ - public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabaseBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); database_ = value; bitField0_ |= 0x00000001; @@ -829,52 +744,42 @@ public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.LazyStringList statements_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList statements_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureStatementsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { statements_ = new com.google.protobuf.LazyStringArrayList(statements_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * Required. DDL statements to be applied to the database.
      * 
* * repeated string statements = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return A list containing the statements. */ - public com.google.protobuf.ProtocolStringList getStatementsList() { + public com.google.protobuf.ProtocolStringList + getStatementsList() { return statements_.getUnmodifiableView(); } /** - * - * *
      * Required. DDL statements to be applied to the database.
      * 
* * repeated string statements = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The count of statements. */ public int getStatementsCount() { return statements_.size(); } /** - * - * *
      * Required. DDL statements to be applied to the database.
      * 
* * repeated string statements = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the element to return. * @return The statements at the given index. */ @@ -882,90 +787,76 @@ public java.lang.String getStatements(int index) { return statements_.get(index); } /** - * - * *
      * Required. DDL statements to be applied to the database.
      * 
* * repeated string statements = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the value to return. * @return The bytes of the statements at the given index. */ - public com.google.protobuf.ByteString getStatementsBytes(int index) { + public com.google.protobuf.ByteString + getStatementsBytes(int index) { return statements_.getByteString(index); } /** - * - * *
      * Required. DDL statements to be applied to the database.
      * 
* * repeated string statements = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index to set the value at. * @param value The statements to set. * @return This builder for chaining. */ - public Builder setStatements(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setStatements( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureStatementsIsMutable(); statements_.set(index, value); onChanged(); return this; } /** - * - * *
      * Required. DDL statements to be applied to the database.
      * 
* * repeated string statements = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The statements to add. * @return This builder for chaining. */ - public Builder addStatements(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addStatements( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureStatementsIsMutable(); statements_.add(value); onChanged(); return this; } /** - * - * *
      * Required. DDL statements to be applied to the database.
      * 
* * repeated string statements = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param values The statements to add. * @return This builder for chaining. */ - public Builder addAllStatements(java.lang.Iterable values) { + public Builder addAllStatements( + java.lang.Iterable values) { ensureStatementsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, statements_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, statements_); onChanged(); return this; } /** - * - * *
      * Required. DDL statements to be applied to the database.
      * 
* * repeated string statements = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearStatements() { @@ -975,21 +866,17 @@ public Builder clearStatements() { return this; } /** - * - * *
      * Required. DDL statements to be applied to the database.
      * 
* * repeated string statements = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes of the statements to add. * @return This builder for chaining. */ - public Builder addStatementsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addStatementsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureStatementsIsMutable(); statements_.add(value); @@ -999,8 +886,6 @@ public Builder addStatementsBytes(com.google.protobuf.ByteString value) { private java.lang.Object operationId_ = ""; /** - * - * *
      * If empty, the new update request is assigned an
      * automatically-generated operation ID. Otherwise, `operation_id`
@@ -1022,13 +907,13 @@ public Builder addStatementsBytes(com.google.protobuf.ByteString value) {
      * 
* * string operation_id = 3; - * * @return The operationId. */ public java.lang.String getOperationId() { java.lang.Object ref = operationId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); operationId_ = s; return s; @@ -1037,8 +922,6 @@ public java.lang.String getOperationId() { } } /** - * - * *
      * If empty, the new update request is assigned an
      * automatically-generated operation ID. Otherwise, `operation_id`
@@ -1060,14 +943,15 @@ public java.lang.String getOperationId() {
      * 
* * string operation_id = 3; - * * @return The bytes for operationId. */ - public com.google.protobuf.ByteString getOperationIdBytes() { + public com.google.protobuf.ByteString + getOperationIdBytes() { java.lang.Object ref = operationId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); operationId_ = b; return b; } else { @@ -1075,8 +959,6 @@ public com.google.protobuf.ByteString getOperationIdBytes() { } } /** - * - * *
      * If empty, the new update request is assigned an
      * automatically-generated operation ID. Otherwise, `operation_id`
@@ -1098,22 +980,18 @@ public com.google.protobuf.ByteString getOperationIdBytes() {
      * 
* * string operation_id = 3; - * * @param value The operationId to set. * @return This builder for chaining. */ - public Builder setOperationId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOperationId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } operationId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * If empty, the new update request is assigned an
      * automatically-generated operation ID. Otherwise, `operation_id`
@@ -1135,7 +1013,6 @@ public Builder setOperationId(java.lang.String value) {
      * 
* * string operation_id = 3; - * * @return This builder for chaining. */ public Builder clearOperationId() { @@ -1145,8 +1022,6 @@ public Builder clearOperationId() { return this; } /** - * - * *
      * If empty, the new update request is assigned an
      * automatically-generated operation ID. Otherwise, `operation_id`
@@ -1168,23 +1043,21 @@ public Builder clearOperationId() {
      * 
* * string operation_id = 3; - * * @param value The bytes for operationId to set. * @return This builder for chaining. */ - public Builder setOperationIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOperationIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); operationId_ = 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); } @@ -1194,13 +1067,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.UpdateDatabaseDdlRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.UpdateDatabaseDdlRequest) - private static final com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest - DEFAULT_INSTANCE; - + private static final com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest(); } @@ -1209,27 +1081,27 @@ public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateDatabaseDdlRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateDatabaseDdlRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1244,4 +1116,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlRequestOrBuilder.java similarity index 77% rename from proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlRequestOrBuilder.java index cad7c3a28a2..3ff8b82a0ae 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlRequestOrBuilder.java @@ -1,111 +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/spanner/admin/database/v1/spanner_database_admin.proto package com.google.spanner.admin.database.v1; -public interface UpdateDatabaseDdlRequestOrBuilder - extends +public interface UpdateDatabaseDdlRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.UpdateDatabaseDdlRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The database to update.
    * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The database. */ java.lang.String getDatabase(); /** - * - * *
    * Required. The database to update.
    * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for database. */ - com.google.protobuf.ByteString getDatabaseBytes(); + com.google.protobuf.ByteString + getDatabaseBytes(); /** - * - * *
    * Required. DDL statements to be applied to the database.
    * 
* * repeated string statements = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return A list containing the statements. */ - java.util.List getStatementsList(); + java.util.List + getStatementsList(); /** - * - * *
    * Required. DDL statements to be applied to the database.
    * 
* * repeated string statements = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The count of statements. */ int getStatementsCount(); /** - * - * *
    * Required. DDL statements to be applied to the database.
    * 
* * repeated string statements = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the element to return. * @return The statements at the given index. */ java.lang.String getStatements(int index); /** - * - * *
    * Required. DDL statements to be applied to the database.
    * 
* * repeated string statements = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the value to return. * @return The bytes of the statements at the given index. */ - com.google.protobuf.ByteString getStatementsBytes(int index); + com.google.protobuf.ByteString + getStatementsBytes(int index); /** - * - * *
    * If empty, the new update request is assigned an
    * automatically-generated operation ID. Otherwise, `operation_id`
@@ -127,13 +90,10 @@ public interface UpdateDatabaseDdlRequestOrBuilder
    * 
* * string operation_id = 3; - * * @return The operationId. */ java.lang.String getOperationId(); /** - * - * *
    * If empty, the new update request is assigned an
    * automatically-generated operation ID. Otherwise, `operation_id`
@@ -155,8 +115,8 @@ public interface UpdateDatabaseDdlRequestOrBuilder
    * 
* * string operation_id = 3; - * * @return The bytes for operationId. */ - com.google.protobuf.ByteString getOperationIdBytes(); + com.google.protobuf.ByteString + getOperationIdBytes(); } diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/proto/google/spanner/admin/database/v1/backup.proto b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/proto/google/spanner/admin/database/v1/backup.proto similarity index 99% rename from proto-google-cloud-spanner-admin-database-v1/src/main/proto/google/spanner/admin/database/v1/backup.proto rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/proto/google/spanner/admin/database/v1/backup.proto index 5e019543eb9..fce69a2f3e3 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/proto/google/spanner/admin/database/v1/backup.proto +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/proto/google/spanner/admin/database/v1/backup.proto @@ -24,7 +24,7 @@ import "google/protobuf/timestamp.proto"; import "google/spanner/admin/database/v1/common.proto"; option csharp_namespace = "Google.Cloud.Spanner.Admin.Database.V1"; -option go_package = "google.golang.org/genproto/googleapis/spanner/admin/database/v1;database"; +option go_package = "cloud.google.com/go/spanner/admin/database/apiv1/databasepb;databasepb"; option java_multiple_files = true; option java_outer_classname = "BackupProto"; option java_package = "com.google.spanner.admin.database.v1"; diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/proto/google/spanner/admin/database/v1/common.proto b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/proto/google/spanner/admin/database/v1/common.proto similarity index 97% rename from proto-google-cloud-spanner-admin-database-v1/src/main/proto/google/spanner/admin/database/v1/common.proto rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/proto/google/spanner/admin/database/v1/common.proto index 720ebb95dbc..32d7519e3a4 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/proto/google/spanner/admin/database/v1/common.proto +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/proto/google/spanner/admin/database/v1/common.proto @@ -22,7 +22,7 @@ import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; option csharp_namespace = "Google.Cloud.Spanner.Admin.Database.V1"; -option go_package = "google.golang.org/genproto/googleapis/spanner/admin/database/v1;database"; +option go_package = "cloud.google.com/go/spanner/admin/database/apiv1/databasepb;databasepb"; option java_multiple_files = true; option java_outer_classname = "CommonProto"; option java_package = "com.google.spanner.admin.database.v1"; diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/proto/google/spanner/admin/database/v1/spanner_database_admin.proto b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/proto/google/spanner/admin/database/v1/spanner_database_admin.proto similarity index 99% rename from proto-google-cloud-spanner-admin-database-v1/src/main/proto/google/spanner/admin/database/v1/spanner_database_admin.proto rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/proto/google/spanner/admin/database/v1/spanner_database_admin.proto index 91489ae4b45..4d98fa1313f 100644 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/proto/google/spanner/admin/database/v1/spanner_database_admin.proto +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/proto/google/spanner/admin/database/v1/spanner_database_admin.proto @@ -29,7 +29,7 @@ import "google/spanner/admin/database/v1/backup.proto"; import "google/spanner/admin/database/v1/common.proto"; option csharp_namespace = "Google.Cloud.Spanner.Admin.Database.V1"; -option go_package = "google.golang.org/genproto/googleapis/spanner/admin/database/v1;database"; +option go_package = "cloud.google.com/go/spanner/admin/database/apiv1/databasepb;databasepb"; option java_multiple_files = true; option java_outer_classname = "SpannerDatabaseAdminProto"; option java_package = "com.google.spanner.admin.database.v1"; diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CommonProto.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CommonProto.java new file mode 100644 index 00000000000..e6e3e259347 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CommonProto.java @@ -0,0 +1,60 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/spanner/admin/instance/v1/common.proto + +package com.google.spanner.admin.instance.v1; + +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_spanner_admin_instance_v1_OperationProgress_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_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/spanner/admin/instance/v1/commo" + + "n.proto\022 google.spanner.admin.instance.v" + + "1\032\037google/protobuf/timestamp.proto\"\213\001\n\021O" + + "perationProgress\022\030\n\020progress_percent\030\001 \001" + + "(\005\022.\n\nstart_time\030\002 \001(\0132\032.google.protobuf" + + ".Timestamp\022,\n\010end_time\030\003 \001(\0132\032.google.pr" + + "otobuf.TimestampB\375\001\n$com.google.spanner." + + "admin.instance.v1B\013CommonProtoP\001ZFcloud." + + "google.com/go/spanner/admin/instance/api" + + "v1/instancepb;instancepb\252\002&Google.Cloud." + + "Spanner.Admin.Instance.V1\312\002&Google\\Cloud" + + "\\Spanner\\Admin\\Instance\\V1\352\002+Google::Clo" + + "ud::Spanner::Admin::Instance::V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_spanner_admin_instance_v1_OperationProgress_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_spanner_admin_instance_v1_OperationProgress_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_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-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigMetadata.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigMetadata.java similarity index 68% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigMetadata.java index ddb0edf39fc..5b7634912be 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigMetadata.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/spanner/admin/instance/v1/spanner_instance_admin.proto package com.google.spanner.admin.instance.v1; /** - * - * *
  * Metadata type for the operation returned by
  * [CreateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig].
@@ -28,55 +11,51 @@
  *
  * Protobuf type {@code google.spanner.admin.instance.v1.CreateInstanceConfigMetadata}
  */
-public final class CreateInstanceConfigMetadata extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CreateInstanceConfigMetadata extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.instance.v1.CreateInstanceConfigMetadata)
     CreateInstanceConfigMetadataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CreateInstanceConfigMetadata.newBuilder() to construct.
   private CreateInstanceConfigMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private CreateInstanceConfigMetadata() {}
+  private CreateInstanceConfigMetadata() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CreateInstanceConfigMetadata();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigMetadata_fieldAccessorTable
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata.class,
-            com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata.Builder.class);
+            com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata.class, com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata.Builder.class);
   }
 
   public static final int INSTANCE_CONFIG_FIELD_NUMBER = 1;
   private com.google.spanner.admin.instance.v1.InstanceConfig instanceConfig_;
   /**
-   *
-   *
    * 
    * The target instance config end state.
    * 
* * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1; - * * @return Whether the instanceConfig field is set. */ @java.lang.Override @@ -84,25 +63,18 @@ public boolean hasInstanceConfig() { return instanceConfig_ != null; } /** - * - * *
    * The target instance config end state.
    * 
* * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1; - * * @return The instanceConfig. */ @java.lang.Override public com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfig() { - return instanceConfig_ == null - ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() - : instanceConfig_; + return instanceConfig_ == null ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() : instanceConfig_; } /** - * - * *
    * The target instance config end state.
    * 
@@ -111,16 +83,12 @@ public com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfig() { */ @java.lang.Override public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceConfigOrBuilder() { - return instanceConfig_ == null - ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() - : instanceConfig_; + return instanceConfig_ == null ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() : instanceConfig_; } public static final int PROGRESS_FIELD_NUMBER = 2; private com.google.spanner.admin.instance.v1.OperationProgress progress_; /** - * - * *
    * The progress of the
    * [CreateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig]
@@ -128,7 +96,6 @@ public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceC
    * 
* * .google.spanner.admin.instance.v1.OperationProgress progress = 2; - * * @return Whether the progress field is set. */ @java.lang.Override @@ -136,8 +103,6 @@ public boolean hasProgress() { return progress_ != null; } /** - * - * *
    * The progress of the
    * [CreateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig]
@@ -145,18 +110,13 @@ public boolean hasProgress() {
    * 
* * .google.spanner.admin.instance.v1.OperationProgress progress = 2; - * * @return The progress. */ @java.lang.Override public com.google.spanner.admin.instance.v1.OperationProgress getProgress() { - return progress_ == null - ? com.google.spanner.admin.instance.v1.OperationProgress.getDefaultInstance() - : progress_; + return progress_ == null ? com.google.spanner.admin.instance.v1.OperationProgress.getDefaultInstance() : progress_; } /** - * - * *
    * The progress of the
    * [CreateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig]
@@ -167,22 +127,17 @@ public com.google.spanner.admin.instance.v1.OperationProgress getProgress() {
    */
   @java.lang.Override
   public com.google.spanner.admin.instance.v1.OperationProgressOrBuilder getProgressOrBuilder() {
-    return progress_ == null
-        ? com.google.spanner.admin.instance.v1.OperationProgress.getDefaultInstance()
-        : progress_;
+    return progress_ == null ? com.google.spanner.admin.instance.v1.OperationProgress.getDefaultInstance() : progress_;
   }
 
   public static final int CANCEL_TIME_FIELD_NUMBER = 3;
   private com.google.protobuf.Timestamp cancelTime_;
   /**
-   *
-   *
    * 
    * The time at which this operation was cancelled.
    * 
* * .google.protobuf.Timestamp cancel_time = 3; - * * @return Whether the cancelTime field is set. */ @java.lang.Override @@ -190,14 +145,11 @@ public boolean hasCancelTime() { return cancelTime_ != null; } /** - * - * *
    * The time at which this operation was cancelled.
    * 
* * .google.protobuf.Timestamp cancel_time = 3; - * * @return The cancelTime. */ @java.lang.Override @@ -205,8 +157,6 @@ public com.google.protobuf.Timestamp getCancelTime() { return cancelTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : cancelTime_; } /** - * - * *
    * The time at which this operation was cancelled.
    * 
@@ -219,7 +169,6 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -231,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 (instanceConfig_ != null) { output.writeMessage(1, getInstanceConfig()); } @@ -251,13 +201,16 @@ public int getSerializedSize() { size = 0; if (instanceConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getInstanceConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getInstanceConfig()); } if (progress_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getProgress()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getProgress()); } if (cancelTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCancelTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getCancelTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -267,25 +220,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata)) { return super.equals(obj); } - com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata other = - (com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata) obj; + com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata other = (com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata) obj; if (hasInstanceConfig() != other.hasInstanceConfig()) return false; if (hasInstanceConfig()) { - if (!getInstanceConfig().equals(other.getInstanceConfig())) return false; + if (!getInstanceConfig() + .equals(other.getInstanceConfig())) 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 (hasCancelTime() != other.hasCancelTime()) return false; if (hasCancelTime()) { - if (!getCancelTime().equals(other.getCancelTime())) return false; + if (!getCancelTime() + .equals(other.getCancelTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -316,105 +271,96 @@ public int hashCode() { } public static com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata - 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.spanner.admin.instance.v1.CreateInstanceConfigMetadata 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.spanner.admin.instance.v1.CreateInstanceConfigMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata prototype) { + public static Builder newBuilder(com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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
    * [CreateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig].
@@ -422,33 +368,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.instance.v1.CreateInstanceConfigMetadata}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.instance.v1.CreateInstanceConfigMetadata)
       com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigMetadata_fieldAccessorTable
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata.class,
-              com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata.Builder.class);
+              com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata.class, com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata.Builder.class);
     }
 
-    // Construct using
-    // com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata.newBuilder()
-    private Builder() {}
+    // Construct using com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata.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();
@@ -472,14 +418,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigMetadata_descriptor;
     }
 
     @java.lang.Override
-    public com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata
-        getDefaultInstanceForType() {
+    public com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata getDefaultInstanceForType() {
       return com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata.getDefaultInstance();
     }
 
@@ -494,27 +439,28 @@ public com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata build()
 
     @java.lang.Override
     public com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata buildPartial() {
-      com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata result =
-          new com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata result = new com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata result) {
+    private void buildPartial0(com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.instanceConfig_ =
-            instanceConfigBuilder_ == null ? instanceConfig_ : instanceConfigBuilder_.build();
+        result.instanceConfig_ = instanceConfigBuilder_ == null
+            ? instanceConfig_
+            : instanceConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.progress_ = progressBuilder_ == null ? progress_ : progressBuilder_.build();
+        result.progress_ = progressBuilder_ == null
+            ? progress_
+            : progressBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.cancelTime_ = cancelTimeBuilder_ == null ? cancelTime_ : cancelTimeBuilder_.build();
+        result.cancelTime_ = cancelTimeBuilder_ == null
+            ? cancelTime_
+            : cancelTimeBuilder_.build();
       }
     }
 
@@ -522,50 +468,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.spanner.admin.instance.v1.CreateInstanceConfigMetadata) {
-        return mergeFrom((com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata) other);
+        return mergeFrom((com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata other) {
-      if (other
-          == com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata.getDefaultInstance())
-        return this;
+    public Builder mergeFrom(com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata other) {
+      if (other == com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata.getDefaultInstance()) return this;
       if (other.hasInstanceConfig()) {
         mergeInstanceConfig(other.getInstanceConfig());
       }
@@ -601,31 +543,33 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getInstanceConfigFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getProgressFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getCancelTimeFieldBuilder().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(
+                  getInstanceConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getProgressFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getCancelTimeFieldBuilder().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) {
@@ -635,52 +579,38 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.spanner.admin.instance.v1.InstanceConfig instanceConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.admin.instance.v1.InstanceConfig,
-            com.google.spanner.admin.instance.v1.InstanceConfig.Builder,
-            com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder>
-        instanceConfigBuilder_;
+        com.google.spanner.admin.instance.v1.InstanceConfig, com.google.spanner.admin.instance.v1.InstanceConfig.Builder, com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder> instanceConfigBuilder_;
     /**
-     *
-     *
      * 
      * The target instance config end state.
      * 
* * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1; - * * @return Whether the instanceConfig field is set. */ public boolean hasInstanceConfig() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The target instance config end state.
      * 
* * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1; - * * @return The instanceConfig. */ public com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfig() { if (instanceConfigBuilder_ == null) { - return instanceConfig_ == null - ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() - : instanceConfig_; + return instanceConfig_ == null ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() : instanceConfig_; } else { return instanceConfigBuilder_.getMessage(); } } /** - * - * *
      * The target instance config end state.
      * 
@@ -701,8 +631,6 @@ public Builder setInstanceConfig(com.google.spanner.admin.instance.v1.InstanceCo return this; } /** - * - * *
      * The target instance config end state.
      * 
@@ -721,8 +649,6 @@ public Builder setInstanceConfig( return this; } /** - * - * *
      * The target instance config end state.
      * 
@@ -731,10 +657,9 @@ public Builder setInstanceConfig( */ public Builder mergeInstanceConfig(com.google.spanner.admin.instance.v1.InstanceConfig value) { if (instanceConfigBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && instanceConfig_ != null - && instanceConfig_ - != com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + instanceConfig_ != null && + instanceConfig_ != com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance()) { getInstanceConfigBuilder().mergeFrom(value); } else { instanceConfig_ = value; @@ -747,8 +672,6 @@ public Builder mergeInstanceConfig(com.google.spanner.admin.instance.v1.Instance return this; } /** - * - * *
      * The target instance config end state.
      * 
@@ -766,8 +689,6 @@ public Builder clearInstanceConfig() { return this; } /** - * - * *
      * The target instance config end state.
      * 
@@ -780,27 +701,21 @@ public com.google.spanner.admin.instance.v1.InstanceConfig.Builder getInstanceCo return getInstanceConfigFieldBuilder().getBuilder(); } /** - * - * *
      * The target instance config end state.
      * 
* * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1; */ - public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder - getInstanceConfigOrBuilder() { + public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceConfigOrBuilder() { if (instanceConfigBuilder_ != null) { return instanceConfigBuilder_.getMessageOrBuilder(); } else { - return instanceConfig_ == null - ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() - : instanceConfig_; + return instanceConfig_ == null ? + com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() : instanceConfig_; } } /** - * - * *
      * The target instance config end state.
      * 
@@ -808,17 +723,14 @@ public com.google.spanner.admin.instance.v1.InstanceConfig.Builder getInstanceCo * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.InstanceConfig, - com.google.spanner.admin.instance.v1.InstanceConfig.Builder, - com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder> + com.google.spanner.admin.instance.v1.InstanceConfig, com.google.spanner.admin.instance.v1.InstanceConfig.Builder, com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder> getInstanceConfigFieldBuilder() { if (instanceConfigBuilder_ == null) { - instanceConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.InstanceConfig, - com.google.spanner.admin.instance.v1.InstanceConfig.Builder, - com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder>( - getInstanceConfig(), getParentForChildren(), isClean()); + instanceConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.admin.instance.v1.InstanceConfig, com.google.spanner.admin.instance.v1.InstanceConfig.Builder, com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder>( + getInstanceConfig(), + getParentForChildren(), + isClean()); instanceConfig_ = null; } return instanceConfigBuilder_; @@ -826,13 +738,8 @@ public com.google.spanner.admin.instance.v1.InstanceConfig.Builder getInstanceCo private com.google.spanner.admin.instance.v1.OperationProgress progress_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.OperationProgress, - com.google.spanner.admin.instance.v1.OperationProgress.Builder, - com.google.spanner.admin.instance.v1.OperationProgressOrBuilder> - progressBuilder_; + com.google.spanner.admin.instance.v1.OperationProgress, com.google.spanner.admin.instance.v1.OperationProgress.Builder, com.google.spanner.admin.instance.v1.OperationProgressOrBuilder> progressBuilder_; /** - * - * *
      * The progress of the
      * [CreateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig]
@@ -840,15 +747,12 @@ public com.google.spanner.admin.instance.v1.InstanceConfig.Builder getInstanceCo
      * 
* * .google.spanner.admin.instance.v1.OperationProgress progress = 2; - * * @return Whether the progress field is set. */ public boolean hasProgress() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The progress of the
      * [CreateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig]
@@ -856,21 +760,16 @@ public boolean hasProgress() {
      * 
* * .google.spanner.admin.instance.v1.OperationProgress progress = 2; - * * @return The progress. */ public com.google.spanner.admin.instance.v1.OperationProgress getProgress() { if (progressBuilder_ == null) { - return progress_ == null - ? com.google.spanner.admin.instance.v1.OperationProgress.getDefaultInstance() - : progress_; + return progress_ == null ? com.google.spanner.admin.instance.v1.OperationProgress.getDefaultInstance() : progress_; } else { return progressBuilder_.getMessage(); } } /** - * - * *
      * The progress of the
      * [CreateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig]
@@ -893,8 +792,6 @@ public Builder setProgress(com.google.spanner.admin.instance.v1.OperationProgres
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [CreateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig]
@@ -915,8 +812,6 @@ public Builder setProgress(
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [CreateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig]
@@ -927,10 +822,9 @@ public Builder setProgress(
      */
     public Builder mergeProgress(com.google.spanner.admin.instance.v1.OperationProgress value) {
       if (progressBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && progress_ != null
-            && progress_
-                != com.google.spanner.admin.instance.v1.OperationProgress.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          progress_ != null &&
+          progress_ != com.google.spanner.admin.instance.v1.OperationProgress.getDefaultInstance()) {
           getProgressBuilder().mergeFrom(value);
         } else {
           progress_ = value;
@@ -943,8 +837,6 @@ public Builder mergeProgress(com.google.spanner.admin.instance.v1.OperationProgr
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [CreateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig]
@@ -964,8 +856,6 @@ public Builder clearProgress() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [CreateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig]
@@ -980,8 +870,6 @@ public com.google.spanner.admin.instance.v1.OperationProgress.Builder getProgres
       return getProgressFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [CreateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig]
@@ -994,14 +882,11 @@ public com.google.spanner.admin.instance.v1.OperationProgressOrBuilder getProgre
       if (progressBuilder_ != null) {
         return progressBuilder_.getMessageOrBuilder();
       } else {
-        return progress_ == null
-            ? com.google.spanner.admin.instance.v1.OperationProgress.getDefaultInstance()
-            : progress_;
+        return progress_ == null ?
+            com.google.spanner.admin.instance.v1.OperationProgress.getDefaultInstance() : progress_;
       }
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [CreateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig]
@@ -1011,17 +896,14 @@ public com.google.spanner.admin.instance.v1.OperationProgressOrBuilder getProgre
      * .google.spanner.admin.instance.v1.OperationProgress progress = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.admin.instance.v1.OperationProgress,
-            com.google.spanner.admin.instance.v1.OperationProgress.Builder,
-            com.google.spanner.admin.instance.v1.OperationProgressOrBuilder>
+        com.google.spanner.admin.instance.v1.OperationProgress, com.google.spanner.admin.instance.v1.OperationProgress.Builder, com.google.spanner.admin.instance.v1.OperationProgressOrBuilder> 
         getProgressFieldBuilder() {
       if (progressBuilder_ == null) {
-        progressBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.admin.instance.v1.OperationProgress,
-                com.google.spanner.admin.instance.v1.OperationProgress.Builder,
-                com.google.spanner.admin.instance.v1.OperationProgressOrBuilder>(
-                getProgress(), getParentForChildren(), isClean());
+        progressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.admin.instance.v1.OperationProgress, com.google.spanner.admin.instance.v1.OperationProgress.Builder, com.google.spanner.admin.instance.v1.OperationProgressOrBuilder>(
+                getProgress(),
+                getParentForChildren(),
+                isClean());
         progress_ = null;
       }
       return progressBuilder_;
@@ -1029,47 +911,34 @@ public com.google.spanner.admin.instance.v1.OperationProgressOrBuilder getProgre
 
     private com.google.protobuf.Timestamp cancelTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        cancelTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> cancelTimeBuilder_;
     /**
-     *
-     *
      * 
      * The time at which this operation was cancelled.
      * 
* * .google.protobuf.Timestamp cancel_time = 3; - * * @return Whether the cancelTime field is set. */ public boolean hasCancelTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The time at which this operation was cancelled.
      * 
* * .google.protobuf.Timestamp cancel_time = 3; - * * @return The cancelTime. */ public com.google.protobuf.Timestamp getCancelTime() { if (cancelTimeBuilder_ == null) { - return cancelTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : cancelTime_; + return cancelTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : cancelTime_; } else { return cancelTimeBuilder_.getMessage(); } } /** - * - * *
      * The time at which this operation was cancelled.
      * 
@@ -1090,15 +959,14 @@ public Builder setCancelTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which this operation was cancelled.
      * 
* * .google.protobuf.Timestamp cancel_time = 3; */ - public Builder setCancelTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCancelTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (cancelTimeBuilder_ == null) { cancelTime_ = builderForValue.build(); } else { @@ -1109,8 +977,6 @@ public Builder setCancelTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time at which this operation was cancelled.
      * 
@@ -1119,9 +985,9 @@ public Builder setCancelTime(com.google.protobuf.Timestamp.Builder builderForVal */ public Builder mergeCancelTime(com.google.protobuf.Timestamp value) { if (cancelTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && cancelTime_ != null - && cancelTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + cancelTime_ != null && + cancelTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCancelTimeBuilder().mergeFrom(value); } else { cancelTime_ = value; @@ -1134,8 +1000,6 @@ public Builder mergeCancelTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which this operation was cancelled.
      * 
@@ -1153,8 +1017,6 @@ public Builder clearCancelTime() { return this; } /** - * - * *
      * The time at which this operation was cancelled.
      * 
@@ -1167,8 +1029,6 @@ public com.google.protobuf.Timestamp.Builder getCancelTimeBuilder() { return getCancelTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which this operation was cancelled.
      * 
@@ -1179,14 +1039,11 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() { if (cancelTimeBuilder_ != null) { return cancelTimeBuilder_.getMessageOrBuilder(); } else { - return cancelTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : cancelTime_; + return cancelTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : cancelTime_; } } /** - * - * *
      * The time at which this operation was cancelled.
      * 
@@ -1194,24 +1051,21 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() { * .google.protobuf.Timestamp cancel_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> getCancelTimeFieldBuilder() { if (cancelTimeBuilder_ == null) { - cancelTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCancelTime(), getParentForChildren(), isClean()); + cancelTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCancelTime(), + getParentForChildren(), + isClean()); cancelTime_ = null; } return cancelTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1221,43 +1075,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.CreateInstanceConfigMetadata) } // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.CreateInstanceConfigMetadata) - private static final com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata - DEFAULT_INSTANCE; - + private static final com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata(); } - public static com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata - getDefaultInstance() { + public static com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateInstanceConfigMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateInstanceConfigMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1269,8 +1121,9 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata - getDefaultInstanceForType() { + public com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigMetadataOrBuilder.java similarity index 78% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigMetadataOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigMetadataOrBuilder.java index 6f80b73da11..6581156a95e 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigMetadataOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigMetadataOrBuilder.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/spanner/admin/instance/v1/spanner_instance_admin.proto package com.google.spanner.admin.instance.v1; -public interface CreateInstanceConfigMetadataOrBuilder - extends +public interface CreateInstanceConfigMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.CreateInstanceConfigMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The target instance config end state.
    * 
* * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1; - * * @return Whether the instanceConfig field is set. */ boolean hasInstanceConfig(); /** - * - * *
    * The target instance config end state.
    * 
* * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1; - * * @return The instanceConfig. */ com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfig(); /** - * - * *
    * The target instance config end state.
    * 
@@ -59,8 +35,6 @@ public interface CreateInstanceConfigMetadataOrBuilder com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceConfigOrBuilder(); /** - * - * *
    * The progress of the
    * [CreateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig]
@@ -68,13 +42,10 @@ public interface CreateInstanceConfigMetadataOrBuilder
    * 
* * .google.spanner.admin.instance.v1.OperationProgress progress = 2; - * * @return Whether the progress field is set. */ boolean hasProgress(); /** - * - * *
    * The progress of the
    * [CreateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig]
@@ -82,13 +53,10 @@ public interface CreateInstanceConfigMetadataOrBuilder
    * 
* * .google.spanner.admin.instance.v1.OperationProgress progress = 2; - * * @return The progress. */ com.google.spanner.admin.instance.v1.OperationProgress getProgress(); /** - * - * *
    * The progress of the
    * [CreateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig]
@@ -100,32 +68,24 @@ public interface CreateInstanceConfigMetadataOrBuilder
   com.google.spanner.admin.instance.v1.OperationProgressOrBuilder getProgressOrBuilder();
 
   /**
-   *
-   *
    * 
    * The time at which this operation was cancelled.
    * 
* * .google.protobuf.Timestamp cancel_time = 3; - * * @return Whether the cancelTime field is set. */ boolean hasCancelTime(); /** - * - * *
    * The time at which this operation was cancelled.
    * 
* * .google.protobuf.Timestamp cancel_time = 3; - * * @return The cancelTime. */ com.google.protobuf.Timestamp getCancelTime(); /** - * - * *
    * The time at which this operation was cancelled.
    * 
diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigRequest.java similarity index 67% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigRequest.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigRequest.java index 0d9bd2336fb..d25bf432851 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigRequest.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/spanner/admin/instance/v1/spanner_instance_admin.proto package com.google.spanner.admin.instance.v1; /** - * - * *
  * The request for
  * [CreateInstanceConfigRequest][InstanceAdmin.CreateInstanceConfigRequest].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.spanner.admin.instance.v1.CreateInstanceConfigRequest}
  */
-public final class CreateInstanceConfigRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CreateInstanceConfigRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.instance.v1.CreateInstanceConfigRequest)
     CreateInstanceConfigRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CreateInstanceConfigRequest.newBuilder() to construct.
   private CreateInstanceConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CreateInstanceConfigRequest() {
     parent_ = "";
     instanceConfigId_ = "";
@@ -45,46 +27,39 @@ private CreateInstanceConfigRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CreateInstanceConfigRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigRequest_fieldAccessorTable
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest.class,
-            com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest.Builder.class);
+            com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest.class, com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. The name of the project in which to create the instance config.
    * 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 @@ -93,32 +68,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The name of the project in which to create the instance config.
    * 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 { @@ -127,12 +100,9 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int INSTANCE_CONFIG_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object instanceConfigId_ = ""; /** - * - * *
    * Required. The ID of the instance config to create.  Valid identifiers are
    * of the form `custom-[-a-z0-9]*[a-z0-9]` and must be between 2 and 64
@@ -141,7 +111,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string instance_config_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The instanceConfigId. */ @java.lang.Override @@ -150,15 +119,14 @@ public java.lang.String getInstanceConfigId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceConfigId_ = s; return s; } } /** - * - * *
    * Required. The ID of the instance config to create.  Valid identifiers are
    * of the form `custom-[-a-z0-9]*[a-z0-9]` and must be between 2 and 64
@@ -167,15 +135,16 @@ public java.lang.String getInstanceConfigId() {
    * 
* * string instance_config_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for instanceConfigId. */ @java.lang.Override - public com.google.protobuf.ByteString getInstanceConfigIdBytes() { + public com.google.protobuf.ByteString + getInstanceConfigIdBytes() { java.lang.Object ref = instanceConfigId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instanceConfigId_ = b; return b; } else { @@ -186,8 +155,6 @@ public com.google.protobuf.ByteString getInstanceConfigIdBytes() { public static final int INSTANCE_CONFIG_FIELD_NUMBER = 3; private com.google.spanner.admin.instance.v1.InstanceConfig instanceConfig_; /** - * - * *
    * Required. The InstanceConfig proto of the configuration to create.
    * instance_config.name must be
@@ -196,10 +163,7 @@ public com.google.protobuf.ByteString getInstanceConfigIdBytes() {
    * e.g. <parent>/instanceConfigs/us-east1, <parent>/instanceConfigs/nam3.
    * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instanceConfig field is set. */ @java.lang.Override @@ -207,8 +171,6 @@ public boolean hasInstanceConfig() { return instanceConfig_ != null; } /** - * - * *
    * Required. The InstanceConfig proto of the configuration to create.
    * instance_config.name must be
@@ -217,21 +179,14 @@ public boolean hasInstanceConfig() {
    * e.g. <parent>/instanceConfigs/us-east1, <parent>/instanceConfigs/nam3.
    * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The instanceConfig. */ @java.lang.Override public com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfig() { - return instanceConfig_ == null - ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() - : instanceConfig_; + return instanceConfig_ == null ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() : instanceConfig_; } /** - * - * *
    * Required. The InstanceConfig proto of the configuration to create.
    * instance_config.name must be
@@ -240,29 +195,22 @@ public com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfig() {
    * e.g. <parent>/instanceConfigs/us-east1, <parent>/instanceConfigs/nam3.
    * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceConfigOrBuilder() { - return instanceConfig_ == null - ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() - : instanceConfig_; + return instanceConfig_ == null ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() : instanceConfig_; } public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** - * - * *
    * An option to validate, but not actually execute, a request,
    * and provide the same response.
    * 
* * bool validate_only = 4; - * * @return The validateOnly. */ @java.lang.Override @@ -271,7 +219,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -283,7 +230,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -312,10 +260,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, instanceConfigId_); } if (instanceConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getInstanceConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getInstanceConfig()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -325,21 +275,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.spanner.admin.instance.v1.CreateInstanceConfigRequest)) { return super.equals(obj); } - com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest other = - (com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest) obj; + com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest other = (com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getInstanceConfigId().equals(other.getInstanceConfigId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getInstanceConfigId() + .equals(other.getInstanceConfigId())) return false; if (hasInstanceConfig() != other.hasInstanceConfig()) return false; if (hasInstanceConfig()) { - if (!getInstanceConfig().equals(other.getInstanceConfig())) return false; + if (!getInstanceConfig() + .equals(other.getInstanceConfig())) return false; } - if (getValidateOnly() != other.getValidateOnly()) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -360,111 +313,104 @@ public int hashCode() { hash = (53 * hash) + getInstanceConfig().hashCode(); } hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest prototype) { + public static Builder newBuilder(com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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
    * [CreateInstanceConfigRequest][InstanceAdmin.CreateInstanceConfigRequest].
@@ -472,32 +418,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.instance.v1.CreateInstanceConfigRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.instance.v1.CreateInstanceConfigRequest)
       com.google.spanner.admin.instance.v1.CreateInstanceConfigRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigRequest_fieldAccessorTable
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest.class,
-              com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest.Builder.class);
+              com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest.class, com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -514,14 +461,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest
-        getDefaultInstanceForType() {
+    public com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest getDefaultInstanceForType() {
       return com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest.getDefaultInstance();
     }
 
@@ -536,17 +482,13 @@ public com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest build()
 
     @java.lang.Override
     public com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest buildPartial() {
-      com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest result =
-          new com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest result = new com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest result) {
+    private void buildPartial0(com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.parent_ = parent_;
@@ -555,8 +497,9 @@ private void buildPartial0(
         result.instanceConfigId_ = instanceConfigId_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.instanceConfig_ =
-            instanceConfigBuilder_ == null ? instanceConfig_ : instanceConfigBuilder_.build();
+        result.instanceConfig_ = instanceConfigBuilder_ == null
+            ? instanceConfig_
+            : instanceConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
         result.validateOnly_ = validateOnly_;
@@ -567,50 +510,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.spanner.admin.instance.v1.CreateInstanceConfigRequest) {
-        return mergeFrom((com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest) other);
+        return mergeFrom((com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest other) {
-      if (other
-          == com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest.getDefaultInstance())
-        return this;
+    public Builder mergeFrom(com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest other) {
+      if (other == com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -653,37 +592,34 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                instanceConfigId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getInstanceConfigFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 32:
-              {
-                validateOnly_ = 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: {
+              instanceConfigId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getInstanceConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 32: {
+              validateOnly_ = 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) {
@@ -693,28 +629,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the project in which to create the instance config.
      * 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; @@ -723,24 +654,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the project in which to create the instance config.
      * 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 { @@ -748,41 +676,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the project in which to create the instance config.
      * 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 name of the project in which to create the instance config.
      * 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() { @@ -792,24 +709,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The name of the project in which to create the instance config.
      * 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; @@ -819,8 +730,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object instanceConfigId_ = ""; /** - * - * *
      * Required. The ID of the instance config to create.  Valid identifiers are
      * of the form `custom-[-a-z0-9]*[a-z0-9]` and must be between 2 and 64
@@ -829,13 +738,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string instance_config_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The instanceConfigId. */ public java.lang.String getInstanceConfigId() { java.lang.Object ref = instanceConfigId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceConfigId_ = s; return s; @@ -844,8 +753,6 @@ public java.lang.String getInstanceConfigId() { } } /** - * - * *
      * Required. The ID of the instance config to create.  Valid identifiers are
      * of the form `custom-[-a-z0-9]*[a-z0-9]` and must be between 2 and 64
@@ -854,14 +761,15 @@ public java.lang.String getInstanceConfigId() {
      * 
* * string instance_config_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for instanceConfigId. */ - public com.google.protobuf.ByteString getInstanceConfigIdBytes() { + public com.google.protobuf.ByteString + getInstanceConfigIdBytes() { java.lang.Object ref = instanceConfigId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instanceConfigId_ = b; return b; } else { @@ -869,8 +777,6 @@ public com.google.protobuf.ByteString getInstanceConfigIdBytes() { } } /** - * - * *
      * Required. The ID of the instance config to create.  Valid identifiers are
      * of the form `custom-[-a-z0-9]*[a-z0-9]` and must be between 2 and 64
@@ -879,22 +785,18 @@ public com.google.protobuf.ByteString getInstanceConfigIdBytes() {
      * 
* * string instance_config_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The instanceConfigId to set. * @return This builder for chaining. */ - public Builder setInstanceConfigId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceConfigId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } instanceConfigId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The ID of the instance config to create.  Valid identifiers are
      * of the form `custom-[-a-z0-9]*[a-z0-9]` and must be between 2 and 64
@@ -903,7 +805,6 @@ public Builder setInstanceConfigId(java.lang.String value) {
      * 
* * string instance_config_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearInstanceConfigId() { @@ -913,8 +814,6 @@ public Builder clearInstanceConfigId() { return this; } /** - * - * *
      * Required. The ID of the instance config to create.  Valid identifiers are
      * of the form `custom-[-a-z0-9]*[a-z0-9]` and must be between 2 and 64
@@ -923,14 +822,12 @@ public Builder clearInstanceConfigId() {
      * 
* * string instance_config_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for instanceConfigId to set. * @return This builder for chaining. */ - public Builder setInstanceConfigIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceConfigIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); instanceConfigId_ = value; bitField0_ |= 0x00000002; @@ -940,13 +837,8 @@ public Builder setInstanceConfigIdBytes(com.google.protobuf.ByteString value) { private com.google.spanner.admin.instance.v1.InstanceConfig instanceConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.InstanceConfig, - com.google.spanner.admin.instance.v1.InstanceConfig.Builder, - com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder> - instanceConfigBuilder_; + com.google.spanner.admin.instance.v1.InstanceConfig, com.google.spanner.admin.instance.v1.InstanceConfig.Builder, com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder> instanceConfigBuilder_; /** - * - * *
      * Required. The InstanceConfig proto of the configuration to create.
      * instance_config.name must be
@@ -955,18 +847,13 @@ public Builder setInstanceConfigIdBytes(com.google.protobuf.ByteString value) {
      * e.g. <parent>/instanceConfigs/us-east1, <parent>/instanceConfigs/nam3.
      * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instanceConfig field is set. */ public boolean hasInstanceConfig() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required. The InstanceConfig proto of the configuration to create.
      * instance_config.name must be
@@ -975,24 +862,17 @@ public boolean hasInstanceConfig() {
      * e.g. <parent>/instanceConfigs/us-east1, <parent>/instanceConfigs/nam3.
      * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The instanceConfig. */ public com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfig() { if (instanceConfigBuilder_ == null) { - return instanceConfig_ == null - ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() - : instanceConfig_; + return instanceConfig_ == null ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() : instanceConfig_; } else { return instanceConfigBuilder_.getMessage(); } } /** - * - * *
      * Required. The InstanceConfig proto of the configuration to create.
      * instance_config.name must be
@@ -1001,9 +881,7 @@ public com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfig() {
      * e.g. <parent>/instanceConfigs/us-east1, <parent>/instanceConfigs/nam3.
      * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setInstanceConfig(com.google.spanner.admin.instance.v1.InstanceConfig value) { if (instanceConfigBuilder_ == null) { @@ -1019,8 +897,6 @@ public Builder setInstanceConfig(com.google.spanner.admin.instance.v1.InstanceCo return this; } /** - * - * *
      * Required. The InstanceConfig proto of the configuration to create.
      * instance_config.name must be
@@ -1029,9 +905,7 @@ public Builder setInstanceConfig(com.google.spanner.admin.instance.v1.InstanceCo
      * e.g. <parent>/instanceConfigs/us-east1, <parent>/instanceConfigs/nam3.
      * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setInstanceConfig( com.google.spanner.admin.instance.v1.InstanceConfig.Builder builderForValue) { @@ -1045,8 +919,6 @@ public Builder setInstanceConfig( return this; } /** - * - * *
      * Required. The InstanceConfig proto of the configuration to create.
      * instance_config.name must be
@@ -1055,16 +927,13 @@ public Builder setInstanceConfig(
      * e.g. <parent>/instanceConfigs/us-east1, <parent>/instanceConfigs/nam3.
      * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeInstanceConfig(com.google.spanner.admin.instance.v1.InstanceConfig value) { if (instanceConfigBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && instanceConfig_ != null - && instanceConfig_ - != com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + instanceConfig_ != null && + instanceConfig_ != com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance()) { getInstanceConfigBuilder().mergeFrom(value); } else { instanceConfig_ = value; @@ -1077,8 +946,6 @@ public Builder mergeInstanceConfig(com.google.spanner.admin.instance.v1.Instance return this; } /** - * - * *
      * Required. The InstanceConfig proto of the configuration to create.
      * instance_config.name must be
@@ -1087,9 +954,7 @@ public Builder mergeInstanceConfig(com.google.spanner.admin.instance.v1.Instance
      * e.g. <parent>/instanceConfigs/us-east1, <parent>/instanceConfigs/nam3.
      * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearInstanceConfig() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1102,8 +967,6 @@ public Builder clearInstanceConfig() { return this; } /** - * - * *
      * Required. The InstanceConfig proto of the configuration to create.
      * instance_config.name must be
@@ -1112,9 +975,7 @@ public Builder clearInstanceConfig() {
      * e.g. <parent>/instanceConfigs/us-east1, <parent>/instanceConfigs/nam3.
      * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.spanner.admin.instance.v1.InstanceConfig.Builder getInstanceConfigBuilder() { bitField0_ |= 0x00000004; @@ -1122,8 +983,6 @@ public com.google.spanner.admin.instance.v1.InstanceConfig.Builder getInstanceCo return getInstanceConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The InstanceConfig proto of the configuration to create.
      * instance_config.name must be
@@ -1132,23 +991,17 @@ public com.google.spanner.admin.instance.v1.InstanceConfig.Builder getInstanceCo
      * e.g. <parent>/instanceConfigs/us-east1, <parent>/instanceConfigs/nam3.
      * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder - getInstanceConfigOrBuilder() { + public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceConfigOrBuilder() { if (instanceConfigBuilder_ != null) { return instanceConfigBuilder_.getMessageOrBuilder(); } else { - return instanceConfig_ == null - ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() - : instanceConfig_; + return instanceConfig_ == null ? + com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() : instanceConfig_; } } /** - * - * *
      * Required. The InstanceConfig proto of the configuration to create.
      * instance_config.name must be
@@ -1157,38 +1010,30 @@ public com.google.spanner.admin.instance.v1.InstanceConfig.Builder getInstanceCo
      * e.g. <parent>/instanceConfigs/us-east1, <parent>/instanceConfigs/nam3.
      * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.InstanceConfig, - com.google.spanner.admin.instance.v1.InstanceConfig.Builder, - com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder> + com.google.spanner.admin.instance.v1.InstanceConfig, com.google.spanner.admin.instance.v1.InstanceConfig.Builder, com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder> getInstanceConfigFieldBuilder() { if (instanceConfigBuilder_ == null) { - instanceConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.InstanceConfig, - com.google.spanner.admin.instance.v1.InstanceConfig.Builder, - com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder>( - getInstanceConfig(), getParentForChildren(), isClean()); + instanceConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.admin.instance.v1.InstanceConfig, com.google.spanner.admin.instance.v1.InstanceConfig.Builder, com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder>( + getInstanceConfig(), + getParentForChildren(), + isClean()); instanceConfig_ = null; } return instanceConfigBuilder_; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * An option to validate, but not actually execute, a request,
      * and provide the same response.
      * 
* * bool validate_only = 4; - * * @return The validateOnly. */ @java.lang.Override @@ -1196,35 +1041,29 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * An option to validate, but not actually execute, a request,
      * and provide the same response.
      * 
* * bool validate_only = 4; - * * @param value The validateOnly to set. * @return This builder for chaining. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * An option to validate, but not actually execute, a request,
      * and provide the same response.
      * 
* * bool validate_only = 4; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1233,9 +1072,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1245,43 +1084,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.CreateInstanceConfigRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.CreateInstanceConfigRequest) - private static final com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest - DEFAULT_INSTANCE; - + private static final com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest(); } - public static com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest - getDefaultInstance() { + public static com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateInstanceConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateInstanceConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1293,8 +1130,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest - getDefaultInstanceForType() { + public com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigRequestOrBuilder.java similarity index 68% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigRequestOrBuilder.java index 0748fdade24..96d3273fee2 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigRequestOrBuilder.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/spanner/admin/instance/v1/spanner_instance_admin.proto package com.google.spanner.admin.instance.v1; -public interface CreateInstanceConfigRequestOrBuilder - extends +public interface CreateInstanceConfigRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.CreateInstanceConfigRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the project in which to create the instance config.
    * 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 name of the project in which to create the instance config.
    * 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 of the instance config to create.  Valid identifiers are
    * of the form `custom-[-a-z0-9]*[a-z0-9]` and must be between 2 and 64
@@ -65,13 +38,10 @@ public interface CreateInstanceConfigRequestOrBuilder
    * 
* * string instance_config_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The instanceConfigId. */ java.lang.String getInstanceConfigId(); /** - * - * *
    * Required. The ID of the instance config to create.  Valid identifiers are
    * of the form `custom-[-a-z0-9]*[a-z0-9]` and must be between 2 and 64
@@ -80,14 +50,12 @@ public interface CreateInstanceConfigRequestOrBuilder
    * 
* * string instance_config_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for instanceConfigId. */ - com.google.protobuf.ByteString getInstanceConfigIdBytes(); + com.google.protobuf.ByteString + getInstanceConfigIdBytes(); /** - * - * *
    * Required. The InstanceConfig proto of the configuration to create.
    * instance_config.name must be
@@ -96,16 +64,11 @@ public interface CreateInstanceConfigRequestOrBuilder
    * e.g. <parent>/instanceConfigs/us-east1, <parent>/instanceConfigs/nam3.
    * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instanceConfig field is set. */ boolean hasInstanceConfig(); /** - * - * *
    * Required. The InstanceConfig proto of the configuration to create.
    * instance_config.name must be
@@ -114,16 +77,11 @@ public interface CreateInstanceConfigRequestOrBuilder
    * e.g. <parent>/instanceConfigs/us-east1, <parent>/instanceConfigs/nam3.
    * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The instanceConfig. */ com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfig(); /** - * - * *
    * Required. The InstanceConfig proto of the configuration to create.
    * instance_config.name must be
@@ -132,22 +90,17 @@ public interface CreateInstanceConfigRequestOrBuilder
    * e.g. <parent>/instanceConfigs/us-east1, <parent>/instanceConfigs/nam3.
    * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceConfigOrBuilder(); /** - * - * *
    * An option to validate, but not actually execute, a request,
    * and provide the same response.
    * 
* * bool validate_only = 4; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceMetadata.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceMetadata.java similarity index 73% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceMetadata.java index 5dbce1d85d0..396873303fe 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceMetadata.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/spanner/admin/instance/v1/spanner_instance_admin.proto package com.google.spanner.admin.instance.v1; /** - * - * *
  * Metadata type for the operation returned by
  * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance].
@@ -28,55 +11,51 @@
  *
  * Protobuf type {@code google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.CreateInstanceMetadata)
     CreateInstanceMetadataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CreateInstanceMetadata.newBuilder() to construct.
   private CreateInstanceMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private CreateInstanceMetadata() {}
+  private CreateInstanceMetadata() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CreateInstanceMetadata();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_CreateInstanceMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_CreateInstanceMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_CreateInstanceMetadata_fieldAccessorTable
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_CreateInstanceMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.instance.v1.CreateInstanceMetadata.class,
-            com.google.spanner.admin.instance.v1.CreateInstanceMetadata.Builder.class);
+            com.google.spanner.admin.instance.v1.CreateInstanceMetadata.class, com.google.spanner.admin.instance.v1.CreateInstanceMetadata.Builder.class);
   }
 
   public static final int INSTANCE_FIELD_NUMBER = 1;
   private com.google.spanner.admin.instance.v1.Instance instance_;
   /**
-   *
-   *
    * 
    * The instance being created.
    * 
* * .google.spanner.admin.instance.v1.Instance instance = 1; - * * @return Whether the instance field is set. */ @java.lang.Override @@ -84,25 +63,18 @@ public boolean hasInstance() { return instance_ != null; } /** - * - * *
    * The instance being created.
    * 
* * .google.spanner.admin.instance.v1.Instance instance = 1; - * * @return The instance. */ @java.lang.Override public com.google.spanner.admin.instance.v1.Instance getInstance() { - return instance_ == null - ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() : instance_; } /** - * - * *
    * The instance being created.
    * 
@@ -111,16 +83,12 @@ public com.google.spanner.admin.instance.v1.Instance getInstance() { */ @java.lang.Override public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuilder() { - return instance_ == null - ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() : instance_; } public static final int START_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp startTime_; /** - * - * *
    * The time at which the
    * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance]
@@ -128,7 +96,6 @@ public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuild
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return Whether the startTime field is set. */ @java.lang.Override @@ -136,8 +103,6 @@ public boolean hasStartTime() { return startTime_ != null; } /** - * - * *
    * The time at which the
    * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance]
@@ -145,7 +110,6 @@ public boolean hasStartTime() {
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ @java.lang.Override @@ -153,8 +117,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * The time at which the
    * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance]
@@ -171,8 +133,6 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
   public static final int CANCEL_TIME_FIELD_NUMBER = 3;
   private com.google.protobuf.Timestamp cancelTime_;
   /**
-   *
-   *
    * 
    * The time at which this operation was cancelled. If set, this operation is
    * in the process of undoing itself (which is guaranteed to succeed) and
@@ -180,7 +140,6 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
    * 
* * .google.protobuf.Timestamp cancel_time = 3; - * * @return Whether the cancelTime field is set. */ @java.lang.Override @@ -188,8 +147,6 @@ public boolean hasCancelTime() { return cancelTime_ != null; } /** - * - * *
    * The time at which this operation was cancelled. If set, this operation is
    * in the process of undoing itself (which is guaranteed to succeed) and
@@ -197,7 +154,6 @@ public boolean hasCancelTime() {
    * 
* * .google.protobuf.Timestamp cancel_time = 3; - * * @return The cancelTime. */ @java.lang.Override @@ -205,8 +161,6 @@ public com.google.protobuf.Timestamp getCancelTime() { return cancelTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : cancelTime_; } /** - * - * *
    * The time at which this operation was cancelled. If set, this operation is
    * in the process of undoing itself (which is guaranteed to succeed) and
@@ -223,14 +177,11 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
   public static final int END_TIME_FIELD_NUMBER = 4;
   private com.google.protobuf.Timestamp endTime_;
   /**
-   *
-   *
    * 
    * The time at which this operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp end_time = 4; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -238,14 +189,11 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * The time at which this operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp end_time = 4; - * * @return The endTime. */ @java.lang.Override @@ -253,8 +201,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * The time at which this operation failed or was completed successfully.
    * 
@@ -267,7 +213,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -279,7 +224,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -302,16 +248,20 @@ 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 (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getStartTime()); } if (cancelTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCancelTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getCancelTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getEndTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -321,29 +271,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.spanner.admin.instance.v1.CreateInstanceMetadata)) { return super.equals(obj); } - com.google.spanner.admin.instance.v1.CreateInstanceMetadata other = - (com.google.spanner.admin.instance.v1.CreateInstanceMetadata) obj; + com.google.spanner.admin.instance.v1.CreateInstanceMetadata other = (com.google.spanner.admin.instance.v1.CreateInstanceMetadata) obj; if (hasInstance() != other.hasInstance()) return false; if (hasInstance()) { - if (!getInstance().equals(other.getInstance())) return false; + if (!getInstance() + .equals(other.getInstance())) 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 (hasCancelTime() != other.hasCancelTime()) return false; if (hasCancelTime()) { - if (!getCancelTime().equals(other.getCancelTime())) return false; + if (!getCancelTime() + .equals(other.getCancelTime())) 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; @@ -378,104 +331,96 @@ public int hashCode() { } public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.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.spanner.admin.instance.v1.CreateInstanceMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.CreateInstanceMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.CreateInstanceMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.CreateInstanceMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.CreateInstanceMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.CreateInstanceMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.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.spanner.admin.instance.v1.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.spanner.admin.instance.v1.CreateInstanceMetadata prototype) { + public static Builder newBuilder(com.google.spanner.admin.instance.v1.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; } /** - * - * *
    * Metadata type for the operation returned by
    * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance].
@@ -483,32 +428,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.CreateInstanceMetadata)
       com.google.spanner.admin.instance.v1.CreateInstanceMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_CreateInstanceMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_CreateInstanceMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_CreateInstanceMetadata_fieldAccessorTable
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_CreateInstanceMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.instance.v1.CreateInstanceMetadata.class,
-              com.google.spanner.admin.instance.v1.CreateInstanceMetadata.Builder.class);
+              com.google.spanner.admin.instance.v1.CreateInstanceMetadata.class, com.google.spanner.admin.instance.v1.CreateInstanceMetadata.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.instance.v1.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();
@@ -537,9 +483,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_CreateInstanceMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_CreateInstanceMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -558,11 +504,8 @@ public com.google.spanner.admin.instance.v1.CreateInstanceMetadata build() {
 
     @java.lang.Override
     public com.google.spanner.admin.instance.v1.CreateInstanceMetadata buildPartial() {
-      com.google.spanner.admin.instance.v1.CreateInstanceMetadata result =
-          new com.google.spanner.admin.instance.v1.CreateInstanceMetadata(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.admin.instance.v1.CreateInstanceMetadata result = new com.google.spanner.admin.instance.v1.CreateInstanceMetadata(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -570,16 +513,24 @@ public com.google.spanner.admin.instance.v1.CreateInstanceMetadata buildPartial(
     private void buildPartial0(com.google.spanner.admin.instance.v1.CreateInstanceMetadata 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.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build();
+        result.startTime_ = startTimeBuilder_ == null
+            ? startTime_
+            : startTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.cancelTime_ = cancelTimeBuilder_ == null ? cancelTime_ : cancelTimeBuilder_.build();
+        result.cancelTime_ = cancelTimeBuilder_ == null
+            ? cancelTime_
+            : cancelTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build();
+        result.endTime_ = endTimeBuilder_ == null
+            ? endTime_
+            : endTimeBuilder_.build();
       }
     }
 
@@ -587,39 +538,38 @@ private void buildPartial0(com.google.spanner.admin.instance.v1.CreateInstanceMe
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.instance.v1.CreateInstanceMetadata) {
-        return mergeFrom((com.google.spanner.admin.instance.v1.CreateInstanceMetadata) other);
+        return mergeFrom((com.google.spanner.admin.instance.v1.CreateInstanceMetadata)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -627,8 +577,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.spanner.admin.instance.v1.CreateInstanceMetadata other) {
-      if (other == com.google.spanner.admin.instance.v1.CreateInstanceMetadata.getDefaultInstance())
-        return this;
+      if (other == com.google.spanner.admin.instance.v1.CreateInstanceMetadata.getDefaultInstance()) return this;
       if (other.hasInstance()) {
         mergeInstance(other.getInstance());
       }
@@ -667,37 +616,40 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getInstanceFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getCancelTimeFieldBuilder().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: {
+              input.readMessage(
+                  getInstanceFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getStartTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getCancelTimeFieldBuilder().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) {
@@ -707,52 +659,38 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.spanner.admin.instance.v1.Instance instance_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.admin.instance.v1.Instance,
-            com.google.spanner.admin.instance.v1.Instance.Builder,
-            com.google.spanner.admin.instance.v1.InstanceOrBuilder>
-        instanceBuilder_;
+        com.google.spanner.admin.instance.v1.Instance, com.google.spanner.admin.instance.v1.Instance.Builder, com.google.spanner.admin.instance.v1.InstanceOrBuilder> instanceBuilder_;
     /**
-     *
-     *
      * 
      * The instance being created.
      * 
* * .google.spanner.admin.instance.v1.Instance instance = 1; - * * @return Whether the instance field is set. */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The instance being created.
      * 
* * .google.spanner.admin.instance.v1.Instance instance = 1; - * * @return The instance. */ public com.google.spanner.admin.instance.v1.Instance getInstance() { if (instanceBuilder_ == null) { - return instance_ == null - ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() : instance_; } else { return instanceBuilder_.getMessage(); } } /** - * - * *
      * The instance being created.
      * 
@@ -773,8 +711,6 @@ public Builder setInstance(com.google.spanner.admin.instance.v1.Instance value) return this; } /** - * - * *
      * The instance being created.
      * 
@@ -793,8 +729,6 @@ public Builder setInstance( return this; } /** - * - * *
      * The instance being created.
      * 
@@ -803,9 +737,9 @@ public Builder setInstance( */ public Builder mergeInstance(com.google.spanner.admin.instance.v1.Instance value) { if (instanceBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && instance_ != null - && instance_ != com.google.spanner.admin.instance.v1.Instance.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + instance_ != null && + instance_ != com.google.spanner.admin.instance.v1.Instance.getDefaultInstance()) { getInstanceBuilder().mergeFrom(value); } else { instance_ = value; @@ -818,8 +752,6 @@ public Builder mergeInstance(com.google.spanner.admin.instance.v1.Instance value return this; } /** - * - * *
      * The instance being created.
      * 
@@ -837,8 +769,6 @@ public Builder clearInstance() { return this; } /** - * - * *
      * The instance being created.
      * 
@@ -851,8 +781,6 @@ public com.google.spanner.admin.instance.v1.Instance.Builder getInstanceBuilder( return getInstanceFieldBuilder().getBuilder(); } /** - * - * *
      * The instance being created.
      * 
@@ -863,14 +791,11 @@ public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuild if (instanceBuilder_ != null) { return instanceBuilder_.getMessageOrBuilder(); } else { - return instance_ == null - ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? + com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() : instance_; } } /** - * - * *
      * The instance being created.
      * 
@@ -878,17 +803,14 @@ public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuild * .google.spanner.admin.instance.v1.Instance instance = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.Instance, - com.google.spanner.admin.instance.v1.Instance.Builder, - com.google.spanner.admin.instance.v1.InstanceOrBuilder> + com.google.spanner.admin.instance.v1.Instance, com.google.spanner.admin.instance.v1.Instance.Builder, com.google.spanner.admin.instance.v1.InstanceOrBuilder> getInstanceFieldBuilder() { if (instanceBuilder_ == null) { - instanceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.Instance, - com.google.spanner.admin.instance.v1.Instance.Builder, - com.google.spanner.admin.instance.v1.InstanceOrBuilder>( - getInstance(), getParentForChildren(), isClean()); + instanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.admin.instance.v1.Instance, com.google.spanner.admin.instance.v1.Instance.Builder, com.google.spanner.admin.instance.v1.InstanceOrBuilder>( + getInstance(), + getParentForChildren(), + isClean()); instance_ = null; } return instanceBuilder_; @@ -896,13 +818,8 @@ public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuild 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 the
      * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance]
@@ -910,15 +827,12 @@ public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuild
      * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The time at which the
      * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance]
@@ -926,7 +840,6 @@ public boolean hasStartTime() {
      * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -937,8 +850,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * The time at which the
      * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance]
@@ -961,8 +872,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which the
      * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance]
@@ -971,7 +880,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 +892,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which the
      * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance]
@@ -994,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_ & 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;
@@ -1009,8 +917,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which the
      * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance]
@@ -1030,8 +936,6 @@ public Builder clearStartTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which the
      * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance]
@@ -1046,8 +950,6 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() {
       return getStartTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time at which the
      * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance]
@@ -1060,12 +962,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 the
      * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance]
@@ -1075,17 +976,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_;
@@ -1093,13 +991,8 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp cancelTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        cancelTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> cancelTimeBuilder_;
     /**
-     *
-     *
      * 
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is guaranteed to succeed) and
@@ -1107,15 +1000,12 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
      * 
* * .google.protobuf.Timestamp cancel_time = 3; - * * @return Whether the cancelTime field is set. */ public boolean hasCancelTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is guaranteed to succeed) and
@@ -1123,21 +1013,16 @@ public boolean hasCancelTime() {
      * 
* * .google.protobuf.Timestamp cancel_time = 3; - * * @return The cancelTime. */ public com.google.protobuf.Timestamp getCancelTime() { if (cancelTimeBuilder_ == null) { - return cancelTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : cancelTime_; + return cancelTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : cancelTime_; } else { return cancelTimeBuilder_.getMessage(); } } /** - * - * *
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is guaranteed to succeed) and
@@ -1160,8 +1045,6 @@ public Builder setCancelTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is guaranteed to succeed) and
@@ -1170,7 +1053,8 @@ public Builder setCancelTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp cancel_time = 3;
      */
-    public Builder setCancelTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setCancelTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (cancelTimeBuilder_ == null) {
         cancelTime_ = builderForValue.build();
       } else {
@@ -1181,8 +1065,6 @@ public Builder setCancelTime(com.google.protobuf.Timestamp.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is guaranteed to succeed) and
@@ -1193,9 +1075,9 @@ public Builder setCancelTime(com.google.protobuf.Timestamp.Builder builderForVal
      */
     public Builder mergeCancelTime(com.google.protobuf.Timestamp value) {
       if (cancelTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0)
-            && cancelTime_ != null
-            && cancelTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0) &&
+          cancelTime_ != null &&
+          cancelTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getCancelTimeBuilder().mergeFrom(value);
         } else {
           cancelTime_ = value;
@@ -1208,8 +1090,6 @@ public Builder mergeCancelTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is guaranteed to succeed) and
@@ -1229,8 +1109,6 @@ public Builder clearCancelTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is guaranteed to succeed) and
@@ -1245,8 +1123,6 @@ public com.google.protobuf.Timestamp.Builder getCancelTimeBuilder() {
       return getCancelTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is guaranteed to succeed) and
@@ -1259,14 +1135,11 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
       if (cancelTimeBuilder_ != null) {
         return cancelTimeBuilder_.getMessageOrBuilder();
       } else {
-        return cancelTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : cancelTime_;
+        return cancelTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : cancelTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is guaranteed to succeed) and
@@ -1276,17 +1149,14 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
      * .google.protobuf.Timestamp cancel_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> 
         getCancelTimeFieldBuilder() {
       if (cancelTimeBuilder_ == null) {
-        cancelTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getCancelTime(), getParentForChildren(), isClean());
+        cancelTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getCancelTime(),
+                getParentForChildren(),
+                isClean());
         cancelTime_ = null;
       }
       return cancelTimeBuilder_;
@@ -1294,33 +1164,24 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
 
     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 time at which this operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp end_time = 4; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * The time at which this operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp end_time = 4; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1331,8 +1192,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * The time at which this operation failed or was completed successfully.
      * 
@@ -1353,15 +1212,14 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which this operation failed or was completed successfully.
      * 
* * .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 { @@ -1372,8 +1230,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * The time at which this operation failed or was completed successfully.
      * 
@@ -1382,9 +1238,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; @@ -1397,8 +1253,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which this operation failed or was completed successfully.
      * 
@@ -1416,8 +1270,6 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * The time at which this operation failed or was completed successfully.
      * 
@@ -1430,8 +1282,6 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which this operation failed or was completed successfully.
      * 
@@ -1442,12 +1292,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 time at which this operation failed or was completed successfully.
      * 
@@ -1455,24 +1304,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); } @@ -1482,12 +1328,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.CreateInstanceMetadata) } // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.CreateInstanceMetadata) private static final com.google.spanner.admin.instance.v1.CreateInstanceMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.CreateInstanceMetadata(); } @@ -1496,27 +1342,27 @@ public static com.google.spanner.admin.instance.v1.CreateInstanceMetadata getDef 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; @@ -1531,4 +1377,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.instance.v1.CreateInstanceMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceMetadataOrBuilder.java similarity index 82% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceMetadataOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceMetadataOrBuilder.java index ce460d6f984..27636a2b514 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceMetadataOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/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/spanner/admin/instance/v1/spanner_instance_admin.proto package com.google.spanner.admin.instance.v1; -public interface CreateInstanceMetadataOrBuilder - extends +public interface CreateInstanceMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.CreateInstanceMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The instance being created.
    * 
* * .google.spanner.admin.instance.v1.Instance instance = 1; - * * @return Whether the instance field is set. */ boolean hasInstance(); /** - * - * *
    * The instance being created.
    * 
* * .google.spanner.admin.instance.v1.Instance instance = 1; - * * @return The instance. */ com.google.spanner.admin.instance.v1.Instance getInstance(); /** - * - * *
    * The instance being created.
    * 
@@ -59,8 +35,6 @@ public interface CreateInstanceMetadataOrBuilder com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuilder(); /** - * - * *
    * The time at which the
    * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance]
@@ -68,13 +42,10 @@ public interface CreateInstanceMetadataOrBuilder
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * The time at which the
    * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance]
@@ -82,13 +53,10 @@ public interface CreateInstanceMetadataOrBuilder
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * The time at which the
    * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance]
@@ -100,8 +68,6 @@ public interface CreateInstanceMetadataOrBuilder
   com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * The time at which this operation was cancelled. If set, this operation is
    * in the process of undoing itself (which is guaranteed to succeed) and
@@ -109,13 +75,10 @@ public interface CreateInstanceMetadataOrBuilder
    * 
* * .google.protobuf.Timestamp cancel_time = 3; - * * @return Whether the cancelTime field is set. */ boolean hasCancelTime(); /** - * - * *
    * The time at which this operation was cancelled. If set, this operation is
    * in the process of undoing itself (which is guaranteed to succeed) and
@@ -123,13 +86,10 @@ public interface CreateInstanceMetadataOrBuilder
    * 
* * .google.protobuf.Timestamp cancel_time = 3; - * * @return The cancelTime. */ com.google.protobuf.Timestamp getCancelTime(); /** - * - * *
    * The time at which this operation was cancelled. If set, this operation is
    * in the process of undoing itself (which is guaranteed to succeed) and
@@ -141,32 +101,24 @@ public interface CreateInstanceMetadataOrBuilder
   com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * The time at which this operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp end_time = 4; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * The time at which this operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp end_time = 4; - * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * The time at which this operation failed or was completed successfully.
    * 
diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceRequest.java similarity index 65% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceRequest.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceRequest.java index 5bc14b342f4..262adb86b89 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceRequest.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/spanner/admin/instance/v1/spanner_instance_admin.proto package com.google.spanner.admin.instance.v1; /** - * - * *
  * The request for
  * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.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_ = "";
@@ -45,46 +27,39 @@ private CreateInstanceRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CreateInstanceRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_CreateInstanceRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_CreateInstanceRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_CreateInstanceRequest_fieldAccessorTable
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_CreateInstanceRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.instance.v1.CreateInstanceRequest.class,
-            com.google.spanner.admin.instance.v1.CreateInstanceRequest.Builder.class);
+            com.google.spanner.admin.instance.v1.CreateInstanceRequest.class, com.google.spanner.admin.instance.v1.CreateInstanceRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. The name of the project in which to create the 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 @@ -93,32 +68,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The name of the project in which to create the 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 { @@ -127,12 +100,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 of the instance to create.  Valid identifiers are of the
    * form `[a-z][-a-z0-9]*[a-z0-9]` and must be between 2 and 64 characters in
@@ -140,7 +110,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The instanceId. */ @java.lang.Override @@ -149,15 +118,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 of the instance to create.  Valid identifiers are of the
    * form `[a-z][-a-z0-9]*[a-z0-9]` and must be between 2 and 64 characters in
@@ -165,15 +133,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 { @@ -184,17 +153,12 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { public static final int INSTANCE_FIELD_NUMBER = 3; private com.google.spanner.admin.instance.v1.Instance instance_; /** - * - * *
    * Required. The instance to create.  The name may be omitted, but if
    * specified must be `<parent>/instances/<instance_id>`.
    * 
* - * - * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instance field is set. */ @java.lang.Override @@ -202,46 +166,32 @@ public boolean hasInstance() { return instance_ != null; } /** - * - * *
    * Required. The instance to create.  The name may be omitted, but if
    * specified must be `<parent>/instances/<instance_id>`.
    * 
* - * - * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The instance. */ @java.lang.Override public com.google.spanner.admin.instance.v1.Instance getInstance() { - return instance_ == null - ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() : instance_; } /** - * - * *
    * Required. The instance to create.  The name may be omitted, but if
    * specified must be `<parent>/instances/<instance_id>`.
    * 
* - * - * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuilder() { - return instance_ == null - ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() : instance_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -253,7 +203,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -279,7 +230,8 @@ 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()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -289,19 +241,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.instance.v1.CreateInstanceRequest)) { return super.equals(obj); } - com.google.spanner.admin.instance.v1.CreateInstanceRequest other = - (com.google.spanner.admin.instance.v1.CreateInstanceRequest) obj; + com.google.spanner.admin.instance.v1.CreateInstanceRequest other = (com.google.spanner.admin.instance.v1.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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -328,104 +282,96 @@ public int hashCode() { } public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.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.spanner.admin.instance.v1.CreateInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.CreateInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.CreateInstanceRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.CreateInstanceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.CreateInstanceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.CreateInstanceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.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.spanner.admin.instance.v1.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.spanner.admin.instance.v1.CreateInstanceRequest prototype) { + public static Builder newBuilder(com.google.spanner.admin.instance.v1.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; } /** - * - * *
    * The request for
    * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance].
@@ -433,32 +379,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.CreateInstanceRequest)
       com.google.spanner.admin.instance.v1.CreateInstanceRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_CreateInstanceRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_CreateInstanceRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_CreateInstanceRequest_fieldAccessorTable
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_CreateInstanceRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.instance.v1.CreateInstanceRequest.class,
-              com.google.spanner.admin.instance.v1.CreateInstanceRequest.Builder.class);
+              com.google.spanner.admin.instance.v1.CreateInstanceRequest.class, com.google.spanner.admin.instance.v1.CreateInstanceRequest.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.instance.v1.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();
@@ -474,9 +421,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_CreateInstanceRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_CreateInstanceRequest_descriptor;
     }
 
     @java.lang.Override
@@ -495,11 +442,8 @@ public com.google.spanner.admin.instance.v1.CreateInstanceRequest build() {
 
     @java.lang.Override
     public com.google.spanner.admin.instance.v1.CreateInstanceRequest buildPartial() {
-      com.google.spanner.admin.instance.v1.CreateInstanceRequest result =
-          new com.google.spanner.admin.instance.v1.CreateInstanceRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.admin.instance.v1.CreateInstanceRequest result = new com.google.spanner.admin.instance.v1.CreateInstanceRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -513,7 +457,9 @@ private void buildPartial0(com.google.spanner.admin.instance.v1.CreateInstanceRe
         result.instanceId_ = instanceId_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.instance_ = instanceBuilder_ == null ? instance_ : instanceBuilder_.build();
+        result.instance_ = instanceBuilder_ == null
+            ? instance_
+            : instanceBuilder_.build();
       }
     }
 
@@ -521,39 +467,38 @@ private void buildPartial0(com.google.spanner.admin.instance.v1.CreateInstanceRe
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.instance.v1.CreateInstanceRequest) {
-        return mergeFrom((com.google.spanner.admin.instance.v1.CreateInstanceRequest) other);
+        return mergeFrom((com.google.spanner.admin.instance.v1.CreateInstanceRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -561,8 +506,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.spanner.admin.instance.v1.CreateInstanceRequest other) {
-      if (other == com.google.spanner.admin.instance.v1.CreateInstanceRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.spanner.admin.instance.v1.CreateInstanceRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -602,31 +546,29 @@ 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
-            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
+            default: {
+              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 +578,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the project in which to create the 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; @@ -666,24 +603,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the project in which to create the 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 { @@ -691,41 +625,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the project in which to create the 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 name of the project in which to create the 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() { @@ -735,24 +658,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The name of the project in which to create the 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; @@ -762,8 +679,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object instanceId_ = ""; /** - * - * *
      * Required. The ID of the instance to create.  Valid identifiers are of the
      * form `[a-z][-a-z0-9]*[a-z0-9]` and must be between 2 and 64 characters in
@@ -771,13 +686,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; @@ -786,8 +701,6 @@ public java.lang.String getInstanceId() { } } /** - * - * *
      * Required. The ID of the instance to create.  Valid identifiers are of the
      * form `[a-z][-a-z0-9]*[a-z0-9]` and must be between 2 and 64 characters in
@@ -795,14 +708,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 { @@ -810,8 +724,6 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { } } /** - * - * *
      * Required. The ID of the instance to create.  Valid identifiers are of the
      * form `[a-z][-a-z0-9]*[a-z0-9]` and must be between 2 and 64 characters in
@@ -819,22 +731,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 of the instance to create.  Valid identifiers are of the
      * form `[a-z][-a-z0-9]*[a-z0-9]` and must be between 2 and 64 characters in
@@ -842,7 +750,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() { @@ -852,8 +759,6 @@ public Builder clearInstanceId() { return this; } /** - * - * *
      * Required. The ID of the instance to create.  Valid identifiers are of the
      * form `[a-z][-a-z0-9]*[a-z0-9]` and must be between 2 and 64 characters in
@@ -861,14 +766,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; @@ -878,61 +781,42 @@ public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { private com.google.spanner.admin.instance.v1.Instance instance_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.Instance, - com.google.spanner.admin.instance.v1.Instance.Builder, - com.google.spanner.admin.instance.v1.InstanceOrBuilder> - instanceBuilder_; + com.google.spanner.admin.instance.v1.Instance, com.google.spanner.admin.instance.v1.Instance.Builder, com.google.spanner.admin.instance.v1.InstanceOrBuilder> instanceBuilder_; /** - * - * *
      * Required. The instance to create.  The name may be omitted, but if
      * specified must be `<parent>/instances/<instance_id>`.
      * 
* - * - * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.instance.v1.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.  The name may be omitted, but if
      * specified must be `<parent>/instances/<instance_id>`.
      * 
* - * - * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The instance. */ public com.google.spanner.admin.instance.v1.Instance getInstance() { if (instanceBuilder_ == null) { - return instance_ == null - ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() : instance_; } else { return instanceBuilder_.getMessage(); } } /** - * - * *
      * Required. The instance to create.  The name may be omitted, but if
      * specified must be `<parent>/instances/<instance_id>`.
      * 
* - * - * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setInstance(com.google.spanner.admin.instance.v1.Instance value) { if (instanceBuilder_ == null) { @@ -948,16 +832,12 @@ public Builder setInstance(com.google.spanner.admin.instance.v1.Instance value) return this; } /** - * - * *
      * Required. The instance to create.  The name may be omitted, but if
      * specified must be `<parent>/instances/<instance_id>`.
      * 
* - * - * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setInstance( com.google.spanner.admin.instance.v1.Instance.Builder builderForValue) { @@ -971,22 +851,18 @@ public Builder setInstance( return this; } /** - * - * *
      * Required. The instance to create.  The name may be omitted, but if
      * specified must be `<parent>/instances/<instance_id>`.
      * 
* - * - * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeInstance(com.google.spanner.admin.instance.v1.Instance value) { if (instanceBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && instance_ != null - && instance_ != com.google.spanner.admin.instance.v1.Instance.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + instance_ != null && + instance_ != com.google.spanner.admin.instance.v1.Instance.getDefaultInstance()) { getInstanceBuilder().mergeFrom(value); } else { instance_ = value; @@ -999,16 +875,12 @@ public Builder mergeInstance(com.google.spanner.admin.instance.v1.Instance value return this; } /** - * - * *
      * Required. The instance to create.  The name may be omitted, but if
      * specified must be `<parent>/instances/<instance_id>`.
      * 
* - * - * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearInstance() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1021,16 +893,12 @@ public Builder clearInstance() { return this; } /** - * - * *
      * Required. The instance to create.  The name may be omitted, but if
      * specified must be `<parent>/instances/<instance_id>`.
      * 
* - * - * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.spanner.admin.instance.v1.Instance.Builder getInstanceBuilder() { bitField0_ |= 0x00000004; @@ -1038,57 +906,45 @@ public com.google.spanner.admin.instance.v1.Instance.Builder getInstanceBuilder( return getInstanceFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The instance to create.  The name may be omitted, but if
      * specified must be `<parent>/instances/<instance_id>`.
      * 
* - * - * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuilder() { if (instanceBuilder_ != null) { return instanceBuilder_.getMessageOrBuilder(); } else { - return instance_ == null - ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? + com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() : instance_; } } /** - * - * *
      * Required. The instance to create.  The name may be omitted, but if
      * specified must be `<parent>/instances/<instance_id>`.
      * 
* - * - * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.Instance, - com.google.spanner.admin.instance.v1.Instance.Builder, - com.google.spanner.admin.instance.v1.InstanceOrBuilder> + com.google.spanner.admin.instance.v1.Instance, com.google.spanner.admin.instance.v1.Instance.Builder, com.google.spanner.admin.instance.v1.InstanceOrBuilder> getInstanceFieldBuilder() { if (instanceBuilder_ == null) { - instanceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.Instance, - com.google.spanner.admin.instance.v1.Instance.Builder, - com.google.spanner.admin.instance.v1.InstanceOrBuilder>( - getInstance(), getParentForChildren(), isClean()); + instanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.admin.instance.v1.Instance, com.google.spanner.admin.instance.v1.Instance.Builder, com.google.spanner.admin.instance.v1.InstanceOrBuilder>( + getInstance(), + getParentForChildren(), + isClean()); instance_ = null; } return instanceBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1098,12 +954,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.CreateInstanceRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.CreateInstanceRequest) private static final com.google.spanner.admin.instance.v1.CreateInstanceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.CreateInstanceRequest(); } @@ -1112,27 +968,27 @@ public static com.google.spanner.admin.instance.v1.CreateInstanceRequest getDefa 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; @@ -1147,4 +1003,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.instance.v1.CreateInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceRequestOrBuilder.java similarity index 59% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceRequestOrBuilder.java index 5f7649eb259..94b44ef5b9e 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/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/spanner/admin/instance/v1/spanner_instance_admin.proto package com.google.spanner.admin.instance.v1; -public interface CreateInstanceRequestOrBuilder - extends +public interface CreateInstanceRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.CreateInstanceRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the project in which to create the 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 name of the project in which to create the 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 of the instance to create.  Valid identifiers are of the
    * form `[a-z][-a-z0-9]*[a-z0-9]` and must be between 2 and 64 characters in
@@ -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 of the instance to create.  Valid identifiers are of the
    * form `[a-z][-a-z0-9]*[a-z0-9]` and must be between 2 and 64 characters in
@@ -78,52 +48,38 @@ 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.  The name may be omitted, but if
    * specified must be `<parent>/instances/<instance_id>`.
    * 
* - * - * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instance field is set. */ boolean hasInstance(); /** - * - * *
    * Required. The instance to create.  The name may be omitted, but if
    * specified must be `<parent>/instances/<instance_id>`.
    * 
* - * - * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The instance. */ com.google.spanner.admin.instance.v1.Instance getInstance(); /** - * - * *
    * Required. The instance to create.  The name may be omitted, but if
    * specified must be `<parent>/instances/<instance_id>`.
    * 
* - * - * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuilder(); } diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceConfigRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceConfigRequest.java similarity index 68% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceConfigRequest.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceConfigRequest.java index 97f3875a680..edca43de555 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceConfigRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceConfigRequest.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/spanner/admin/instance/v1/spanner_instance_admin.proto package com.google.spanner.admin.instance.v1; /** - * - * *
  * The request for
  * [DeleteInstanceConfigRequest][InstanceAdmin.DeleteInstanceConfigRequest].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.spanner.admin.instance.v1.DeleteInstanceConfigRequest}
  */
-public final class DeleteInstanceConfigRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DeleteInstanceConfigRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.instance.v1.DeleteInstanceConfigRequest)
     DeleteInstanceConfigRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DeleteInstanceConfigRequest.newBuilder() to construct.
   private DeleteInstanceConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DeleteInstanceConfigRequest() {
     name_ = "";
     etag_ = "";
@@ -45,47 +27,40 @@ private DeleteInstanceConfigRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DeleteInstanceConfigRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_DeleteInstanceConfigRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_DeleteInstanceConfigRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_DeleteInstanceConfigRequest_fieldAccessorTable
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_DeleteInstanceConfigRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest.class,
-            com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest.Builder.class);
+            com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest.class, com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The name of the instance configuration to be deleted.
    * Values are of the form
    * `projects/<project>/instanceConfigs/<instance_config>`
    * 
* - * - * string name = 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 @@ -94,33 +69,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 name of the instance configuration to be deleted.
    * Values are of the form
    * `projects/<project>/instanceConfigs/<instance_config>`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -129,12 +102,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int ETAG_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** - * - * *
    * Used for optimistic concurrency control as a way to help prevent
    * simultaneous deletes of an instance config from overwriting each
@@ -146,7 +116,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string etag = 2; - * * @return The etag. */ @java.lang.Override @@ -155,15 +124,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; } } /** - * - * *
    * Used for optimistic concurrency control as a way to help prevent
    * simultaneous deletes of an instance config from overwriting each
@@ -175,15 +143,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 { @@ -194,15 +163,12 @@ public com.google.protobuf.ByteString getEtagBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 3; private boolean validateOnly_ = false; /** - * - * *
    * An option to validate, but not actually execute, a request,
    * and provide the same response.
    * 
* * bool validate_only = 3; - * * @return The validateOnly. */ @java.lang.Override @@ -211,7 +177,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -223,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 { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -249,7 +215,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, etag_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -259,17 +226,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.spanner.admin.instance.v1.DeleteInstanceConfigRequest)) { return super.equals(obj); } - com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest other = - (com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest) obj; + com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest other = (com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest) obj; - if (!getName().equals(other.getName())) return false; - if (!getEtag().equals(other.getEtag())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getEtag() + .equals(other.getEtag())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -286,111 +255,104 @@ public int hashCode() { hash = (37 * hash) + ETAG_FIELD_NUMBER; hash = (53 * hash) + getEtag().hashCode(); hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest prototype) { + public static Builder newBuilder(com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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
    * [DeleteInstanceConfigRequest][InstanceAdmin.DeleteInstanceConfigRequest].
@@ -398,32 +360,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.instance.v1.DeleteInstanceConfigRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.instance.v1.DeleteInstanceConfigRequest)
       com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_DeleteInstanceConfigRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_DeleteInstanceConfigRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_DeleteInstanceConfigRequest_fieldAccessorTable
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_DeleteInstanceConfigRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest.class,
-              com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest.Builder.class);
+              com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest.class, com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -435,14 +398,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_DeleteInstanceConfigRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_DeleteInstanceConfigRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest
-        getDefaultInstanceForType() {
+    public com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest getDefaultInstanceForType() {
       return com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest.getDefaultInstance();
     }
 
@@ -457,17 +419,13 @@ public com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest build()
 
     @java.lang.Override
     public com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest buildPartial() {
-      com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest result =
-          new com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest result = new com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest result) {
+    private void buildPartial0(com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.name_ = name_;
@@ -484,50 +442,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.spanner.admin.instance.v1.DeleteInstanceConfigRequest) {
-        return mergeFrom((com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest) other);
+        return mergeFrom((com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest other) {
-      if (other
-          == com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest.getDefaultInstance())
-        return this;
+    public Builder mergeFrom(com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest other) {
+      if (other == com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -567,31 +521,27 @@ 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 24:
-              {
-                validateOnly_ = input.readBool();
-                bitField0_ |= 0x00000004;
-                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: {
+              etag_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 24: {
+              validateOnly_ = 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) {
@@ -601,29 +551,24 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the instance configuration to be deleted.
      * Values are of the form
      * `projects/<project>/instanceConfigs/<instance_config>`
      * 
* - * - * string name = 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; @@ -632,25 +577,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the instance configuration to be deleted.
      * Values are of the form
      * `projects/<project>/instanceConfigs/<instance_config>`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -658,43 +600,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the instance configuration to be deleted.
      * Values are of the form
      * `projects/<project>/instanceConfigs/<instance_config>`
      * 
* - * - * 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 name of the instance configuration to be deleted.
      * Values are of the form
      * `projects/<project>/instanceConfigs/<instance_config>`
      * 
* - * - * string 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() { @@ -704,25 +635,19 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the instance configuration to be deleted.
      * Values are of the form
      * `projects/<project>/instanceConfigs/<instance_config>`
      * 
* - * - * 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; @@ -732,8 +657,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object etag_ = ""; /** - * - * *
      * Used for optimistic concurrency control as a way to help prevent
      * simultaneous deletes of an instance config from overwriting each
@@ -745,13 +668,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; @@ -760,8 +683,6 @@ public java.lang.String getEtag() { } } /** - * - * *
      * Used for optimistic concurrency control as a way to help prevent
      * simultaneous deletes of an instance config from overwriting each
@@ -773,14 +694,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 { @@ -788,8 +710,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * Used for optimistic concurrency control as a way to help prevent
      * simultaneous deletes of an instance config from overwriting each
@@ -801,22 +721,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; } /** - * - * *
      * Used for optimistic concurrency control as a way to help prevent
      * simultaneous deletes of an instance config from overwriting each
@@ -828,7 +744,6 @@ public Builder setEtag(java.lang.String value) {
      * 
* * string etag = 2; - * * @return This builder for chaining. */ public Builder clearEtag() { @@ -838,8 +753,6 @@ public Builder clearEtag() { return this; } /** - * - * *
      * Used for optimistic concurrency control as a way to help prevent
      * simultaneous deletes of an instance config from overwriting each
@@ -851,14 +764,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; @@ -866,17 +777,14 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) { return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * An option to validate, but not actually execute, a request,
      * and provide the same response.
      * 
* * bool validate_only = 3; - * * @return The validateOnly. */ @java.lang.Override @@ -884,35 +792,29 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * An option to validate, but not actually execute, a request,
      * and provide the same response.
      * 
* * bool validate_only = 3; - * * @param value The validateOnly to set. * @return This builder for chaining. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * An option to validate, but not actually execute, a request,
      * and provide the same response.
      * 
* * bool validate_only = 3; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -921,9 +823,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -933,43 +835,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.DeleteInstanceConfigRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.DeleteInstanceConfigRequest) - private static final com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest - DEFAULT_INSTANCE; - + private static final com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest(); } - public static com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest - getDefaultInstance() { + public static com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteInstanceConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteInstanceConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -981,8 +881,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest - getDefaultInstanceForType() { + public com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceConfigRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceConfigRequestOrBuilder.java similarity index 66% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceConfigRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceConfigRequestOrBuilder.java index 8002cd5678c..1cfe039a6dd 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceConfigRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceConfigRequestOrBuilder.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/spanner/admin/instance/v1/spanner_instance_admin.proto package com.google.spanner.admin.instance.v1; -public interface DeleteInstanceConfigRequestOrBuilder - extends +public interface DeleteInstanceConfigRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.DeleteInstanceConfigRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the instance configuration to be deleted.
    * Values are of the form
    * `projects/<project>/instanceConfigs/<instance_config>`
    * 
* - * - * string name = 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 name of the instance configuration to be deleted.
    * Values are of the form
    * `projects/<project>/instanceConfigs/<instance_config>`
    * 
* - * - * string name = 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(); /** - * - * *
    * Used for optimistic concurrency control as a way to help prevent
    * simultaneous deletes of an instance config from overwriting each
@@ -70,13 +43,10 @@ public interface DeleteInstanceConfigRequestOrBuilder
    * 
* * string etag = 2; - * * @return The etag. */ java.lang.String getEtag(); /** - * - * *
    * Used for optimistic concurrency control as a way to help prevent
    * simultaneous deletes of an instance config from overwriting each
@@ -88,21 +58,18 @@ public interface DeleteInstanceConfigRequestOrBuilder
    * 
* * string etag = 2; - * * @return The bytes for etag. */ - com.google.protobuf.ByteString getEtagBytes(); + com.google.protobuf.ByteString + getEtagBytes(); /** - * - * *
    * An option to validate, but not actually execute, a request,
    * and provide the same response.
    * 
* * bool validate_only = 3; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceRequest.java similarity index 64% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceRequest.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceRequest.java index cbfa1e94aef..492d33fde6f 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceRequest.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/spanner/admin/instance/v1/spanner_instance_admin.proto package com.google.spanner.admin.instance.v1; /** - * - * *
  * The request for
  * [DeleteInstance][google.spanner.admin.instance.v1.InstanceAdmin.DeleteInstance].
@@ -28,62 +11,54 @@
  *
  * Protobuf type {@code google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.DeleteInstanceRequest)
     DeleteInstanceRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DeleteInstanceRequest.newBuilder() to construct.
   private DeleteInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DeleteInstanceRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DeleteInstanceRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_DeleteInstanceRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_DeleteInstanceRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_DeleteInstanceRequest_fieldAccessorTable
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_DeleteInstanceRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.instance.v1.DeleteInstanceRequest.class,
-            com.google.spanner.admin.instance.v1.DeleteInstanceRequest.Builder.class);
+            com.google.spanner.admin.instance.v1.DeleteInstanceRequest.class, com.google.spanner.admin.instance.v1.DeleteInstanceRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The 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 @@ -92,32 +67,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 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 { @@ -126,7 +99,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -138,7 +110,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -162,15 +135,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.instance.v1.DeleteInstanceRequest)) { return super.equals(obj); } - com.google.spanner.admin.instance.v1.DeleteInstanceRequest other = - (com.google.spanner.admin.instance.v1.DeleteInstanceRequest) obj; + com.google.spanner.admin.instance.v1.DeleteInstanceRequest other = (com.google.spanner.admin.instance.v1.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; } @@ -190,104 +163,96 @@ public int hashCode() { } public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.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.spanner.admin.instance.v1.DeleteInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.DeleteInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.DeleteInstanceRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.DeleteInstanceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.DeleteInstanceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.DeleteInstanceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.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.spanner.admin.instance.v1.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.spanner.admin.instance.v1.DeleteInstanceRequest prototype) { + public static Builder newBuilder(com.google.spanner.admin.instance.v1.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; } /** - * - * *
    * The request for
    * [DeleteInstance][google.spanner.admin.instance.v1.InstanceAdmin.DeleteInstance].
@@ -295,32 +260,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.DeleteInstanceRequest)
       com.google.spanner.admin.instance.v1.DeleteInstanceRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_DeleteInstanceRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_DeleteInstanceRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_DeleteInstanceRequest_fieldAccessorTable
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_DeleteInstanceRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.instance.v1.DeleteInstanceRequest.class,
-              com.google.spanner.admin.instance.v1.DeleteInstanceRequest.Builder.class);
+              com.google.spanner.admin.instance.v1.DeleteInstanceRequest.class, com.google.spanner.admin.instance.v1.DeleteInstanceRequest.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.instance.v1.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();
@@ -330,9 +296,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_DeleteInstanceRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_DeleteInstanceRequest_descriptor;
     }
 
     @java.lang.Override
@@ -351,11 +317,8 @@ public com.google.spanner.admin.instance.v1.DeleteInstanceRequest build() {
 
     @java.lang.Override
     public com.google.spanner.admin.instance.v1.DeleteInstanceRequest buildPartial() {
-      com.google.spanner.admin.instance.v1.DeleteInstanceRequest result =
-          new com.google.spanner.admin.instance.v1.DeleteInstanceRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.admin.instance.v1.DeleteInstanceRequest result = new com.google.spanner.admin.instance.v1.DeleteInstanceRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -371,39 +334,38 @@ private void buildPartial0(com.google.spanner.admin.instance.v1.DeleteInstanceRe
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.instance.v1.DeleteInstanceRequest) {
-        return mergeFrom((com.google.spanner.admin.instance.v1.DeleteInstanceRequest) other);
+        return mergeFrom((com.google.spanner.admin.instance.v1.DeleteInstanceRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -411,8 +373,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.spanner.admin.instance.v1.DeleteInstanceRequest other) {
-      if (other == com.google.spanner.admin.instance.v1.DeleteInstanceRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.spanner.admin.instance.v1.DeleteInstanceRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -444,19 +405,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) {
@@ -466,28 +425,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The 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; @@ -496,24 +450,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The 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 { @@ -521,41 +472,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The 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 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() { @@ -565,33 +505,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The 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); } @@ -601,12 +535,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.DeleteInstanceRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.DeleteInstanceRequest) private static final com.google.spanner.admin.instance.v1.DeleteInstanceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.DeleteInstanceRequest(); } @@ -615,27 +549,27 @@ public static com.google.spanner.admin.instance.v1.DeleteInstanceRequest getDefa 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; @@ -650,4 +584,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.instance.v1.DeleteInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceRequestOrBuilder.java new file mode 100644 index 00000000000..7cb4be1bb4b --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/spanner/admin/instance/v1/spanner_instance_admin.proto + +package com.google.spanner.admin.instance.v1; + +public interface DeleteInstanceRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.DeleteInstanceRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The 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 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-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceConfigRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceConfigRequest.java similarity index 62% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceConfigRequest.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceConfigRequest.java index 80d5c4007ad..22282c60be8 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceConfigRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceConfigRequest.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/spanner/admin/instance/v1/spanner_instance_admin.proto package com.google.spanner.admin.instance.v1; /** - * - * *
  * The request for
  * [GetInstanceConfigRequest][google.spanner.admin.instance.v1.InstanceAdmin.GetInstanceConfig].
@@ -28,62 +11,54 @@
  *
  * Protobuf type {@code google.spanner.admin.instance.v1.GetInstanceConfigRequest}
  */
-public final class GetInstanceConfigRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class GetInstanceConfigRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.instance.v1.GetInstanceConfigRequest)
     GetInstanceConfigRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use GetInstanceConfigRequest.newBuilder() to construct.
   private GetInstanceConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private GetInstanceConfigRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new GetInstanceConfigRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_GetInstanceConfigRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_GetInstanceConfigRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_GetInstanceConfigRequest_fieldAccessorTable
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_GetInstanceConfigRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.instance.v1.GetInstanceConfigRequest.class,
-            com.google.spanner.admin.instance.v1.GetInstanceConfigRequest.Builder.class);
+            com.google.spanner.admin.instance.v1.GetInstanceConfigRequest.class, com.google.spanner.admin.instance.v1.GetInstanceConfigRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The name of the requested instance configuration. Values are of
    * the form `projects/<project>/instanceConfigs/<config>`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -92,32 +67,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 name of the requested instance configuration. Values are of
    * the form `projects/<project>/instanceConfigs/<config>`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -126,7 +99,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -138,7 +110,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -162,15 +135,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.instance.v1.GetInstanceConfigRequest)) { return super.equals(obj); } - com.google.spanner.admin.instance.v1.GetInstanceConfigRequest other = - (com.google.spanner.admin.instance.v1.GetInstanceConfigRequest) obj; + com.google.spanner.admin.instance.v1.GetInstanceConfigRequest other = (com.google.spanner.admin.instance.v1.GetInstanceConfigRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -190,104 +163,96 @@ public int hashCode() { } public static com.google.spanner.admin.instance.v1.GetInstanceConfigRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.GetInstanceConfigRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.GetInstanceConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.GetInstanceConfigRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.GetInstanceConfigRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.GetInstanceConfigRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.GetInstanceConfigRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.GetInstanceConfigRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.GetInstanceConfigRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.GetInstanceConfigRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.GetInstanceConfigRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.GetInstanceConfigRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.GetInstanceConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.GetInstanceConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.instance.v1.GetInstanceConfigRequest prototype) { + public static Builder newBuilder(com.google.spanner.admin.instance.v1.GetInstanceConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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
    * [GetInstanceConfigRequest][google.spanner.admin.instance.v1.InstanceAdmin.GetInstanceConfig].
@@ -295,32 +260,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.instance.v1.GetInstanceConfigRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.instance.v1.GetInstanceConfigRequest)
       com.google.spanner.admin.instance.v1.GetInstanceConfigRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_GetInstanceConfigRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_GetInstanceConfigRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_GetInstanceConfigRequest_fieldAccessorTable
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_GetInstanceConfigRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.instance.v1.GetInstanceConfigRequest.class,
-              com.google.spanner.admin.instance.v1.GetInstanceConfigRequest.Builder.class);
+              com.google.spanner.admin.instance.v1.GetInstanceConfigRequest.class, com.google.spanner.admin.instance.v1.GetInstanceConfigRequest.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.instance.v1.GetInstanceConfigRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -330,14 +296,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_GetInstanceConfigRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_GetInstanceConfigRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.spanner.admin.instance.v1.GetInstanceConfigRequest
-        getDefaultInstanceForType() {
+    public com.google.spanner.admin.instance.v1.GetInstanceConfigRequest getDefaultInstanceForType() {
       return com.google.spanner.admin.instance.v1.GetInstanceConfigRequest.getDefaultInstance();
     }
 
@@ -352,17 +317,13 @@ public com.google.spanner.admin.instance.v1.GetInstanceConfigRequest build() {
 
     @java.lang.Override
     public com.google.spanner.admin.instance.v1.GetInstanceConfigRequest buildPartial() {
-      com.google.spanner.admin.instance.v1.GetInstanceConfigRequest result =
-          new com.google.spanner.admin.instance.v1.GetInstanceConfigRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.admin.instance.v1.GetInstanceConfigRequest result = new com.google.spanner.admin.instance.v1.GetInstanceConfigRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.spanner.admin.instance.v1.GetInstanceConfigRequest result) {
+    private void buildPartial0(com.google.spanner.admin.instance.v1.GetInstanceConfigRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.name_ = name_;
@@ -373,39 +334,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.spanner.admin.instance.v1.GetInstanceConfigRequest) {
-        return mergeFrom((com.google.spanner.admin.instance.v1.GetInstanceConfigRequest) other);
+        return mergeFrom((com.google.spanner.admin.instance.v1.GetInstanceConfigRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -413,9 +373,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.spanner.admin.instance.v1.GetInstanceConfigRequest other) {
-      if (other
-          == com.google.spanner.admin.instance.v1.GetInstanceConfigRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.spanner.admin.instance.v1.GetInstanceConfigRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -447,19 +405,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) {
@@ -469,28 +425,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the requested instance configuration. Values are of
      * the form `projects/<project>/instanceConfigs/<config>`.
      * 
* - * - * string name = 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; @@ -499,24 +450,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the requested instance configuration. Values are of
      * the form `projects/<project>/instanceConfigs/<config>`.
      * 
* - * - * string name = 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,41 +472,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the requested instance configuration. Values are of
      * the form `projects/<project>/instanceConfigs/<config>`.
      * 
* - * - * 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 name of the requested instance configuration. Values are of
      * the form `projects/<project>/instanceConfigs/<config>`.
      * 
* - * - * string 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() { @@ -568,33 +505,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the requested instance configuration. Values are of
      * the form `projects/<project>/instanceConfigs/<config>`.
      * 
* - * - * 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); } @@ -604,13 +535,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.GetInstanceConfigRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.GetInstanceConfigRequest) - private static final com.google.spanner.admin.instance.v1.GetInstanceConfigRequest - DEFAULT_INSTANCE; - + private static final com.google.spanner.admin.instance.v1.GetInstanceConfigRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.GetInstanceConfigRequest(); } @@ -619,27 +549,27 @@ public static com.google.spanner.admin.instance.v1.GetInstanceConfigRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetInstanceConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetInstanceConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -654,4 +584,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.instance.v1.GetInstanceConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceConfigRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceConfigRequestOrBuilder.java new file mode 100644 index 00000000000..7cf7102fce5 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceConfigRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/spanner/admin/instance/v1/spanner_instance_admin.proto + +package com.google.spanner.admin.instance.v1; + +public interface GetInstanceConfigRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.GetInstanceConfigRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the requested instance configuration. Values are of
+   * the form `projects/<project>/instanceConfigs/<config>`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the requested instance configuration. Values are of
+   * the form `projects/<project>/instanceConfigs/<config>`.
+   * 
+ * + * 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-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceRequest.java similarity index 69% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceRequest.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceRequest.java index 5e5f96640b0..a925de033ed 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceRequest.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/spanner/admin/instance/v1/spanner_instance_admin.proto package com.google.spanner.admin.instance.v1; /** - * - * *
  * The request for
  * [GetInstance][google.spanner.admin.instance.v1.InstanceAdmin.GetInstance].
@@ -28,62 +11,54 @@
  *
  * Protobuf type {@code google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.GetInstanceRequest)
     GetInstanceRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use GetInstanceRequest.newBuilder() to construct.
   private GetInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private GetInstanceRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new GetInstanceRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_GetInstanceRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_GetInstanceRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_GetInstanceRequest_fieldAccessorTable
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_GetInstanceRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.instance.v1.GetInstanceRequest.class,
-            com.google.spanner.admin.instance.v1.GetInstanceRequest.Builder.class);
+            com.google.spanner.admin.instance.v1.GetInstanceRequest.class, com.google.spanner.admin.instance.v1.GetInstanceRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The 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 @@ -92,32 +67,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 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 { @@ -128,8 +101,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int FIELD_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask fieldMask_; /** - * - * *
    * If field_mask is present, specifies the subset of
    * [Instance][google.spanner.admin.instance.v1.Instance] fields that should be
@@ -138,7 +109,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * .google.protobuf.FieldMask field_mask = 2; - * * @return Whether the fieldMask field is set. */ @java.lang.Override @@ -146,8 +116,6 @@ public boolean hasFieldMask() { return fieldMask_ != null; } /** - * - * *
    * If field_mask is present, specifies the subset of
    * [Instance][google.spanner.admin.instance.v1.Instance] fields that should be
@@ -156,7 +124,6 @@ public boolean hasFieldMask() {
    * 
* * .google.protobuf.FieldMask field_mask = 2; - * * @return The fieldMask. */ @java.lang.Override @@ -164,8 +131,6 @@ public com.google.protobuf.FieldMask getFieldMask() { return fieldMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : fieldMask_; } /** - * - * *
    * If field_mask is present, specifies the subset of
    * [Instance][google.spanner.admin.instance.v1.Instance] fields that should be
@@ -181,7 +146,6 @@ public com.google.protobuf.FieldMaskOrBuilder getFieldMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -193,7 +157,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -213,7 +178,8 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
     }
     if (fieldMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getFieldMask());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getFieldMask());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -223,18 +189,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.spanner.admin.instance.v1.GetInstanceRequest)) {
       return super.equals(obj);
     }
-    com.google.spanner.admin.instance.v1.GetInstanceRequest other =
-        (com.google.spanner.admin.instance.v1.GetInstanceRequest) obj;
+    com.google.spanner.admin.instance.v1.GetInstanceRequest other = (com.google.spanner.admin.instance.v1.GetInstanceRequest) obj;
 
-    if (!getName().equals(other.getName())) return false;
+    if (!getName()
+        .equals(other.getName())) return false;
     if (hasFieldMask() != other.hasFieldMask()) return false;
     if (hasFieldMask()) {
-      if (!getFieldMask().equals(other.getFieldMask())) return false;
+      if (!getFieldMask()
+          .equals(other.getFieldMask())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -259,104 +226,96 @@ public int hashCode() {
   }
 
   public static com.google.spanner.admin.instance.v1.GetInstanceRequest parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.GetInstanceRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.GetInstanceRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.GetInstanceRequest parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.spanner.admin.instance.v1.GetInstanceRequest parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.GetInstanceRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.spanner.admin.instance.v1.GetInstanceRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.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.spanner.admin.instance.v1.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.spanner.admin.instance.v1.GetInstanceRequest prototype) {
+  public static Builder newBuilder(com.google.spanner.admin.instance.v1.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;
   }
   /**
-   *
-   *
    * 
    * The request for
    * [GetInstance][google.spanner.admin.instance.v1.InstanceAdmin.GetInstance].
@@ -364,32 +323,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.GetInstanceRequest)
       com.google.spanner.admin.instance.v1.GetInstanceRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_GetInstanceRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_GetInstanceRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_GetInstanceRequest_fieldAccessorTable
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_GetInstanceRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.instance.v1.GetInstanceRequest.class,
-              com.google.spanner.admin.instance.v1.GetInstanceRequest.Builder.class);
+              com.google.spanner.admin.instance.v1.GetInstanceRequest.class, com.google.spanner.admin.instance.v1.GetInstanceRequest.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.instance.v1.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();
@@ -404,9 +364,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_GetInstanceRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_GetInstanceRequest_descriptor;
     }
 
     @java.lang.Override
@@ -425,11 +385,8 @@ public com.google.spanner.admin.instance.v1.GetInstanceRequest build() {
 
     @java.lang.Override
     public com.google.spanner.admin.instance.v1.GetInstanceRequest buildPartial() {
-      com.google.spanner.admin.instance.v1.GetInstanceRequest result =
-          new com.google.spanner.admin.instance.v1.GetInstanceRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.admin.instance.v1.GetInstanceRequest result = new com.google.spanner.admin.instance.v1.GetInstanceRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -440,7 +397,9 @@ private void buildPartial0(com.google.spanner.admin.instance.v1.GetInstanceReque
         result.name_ = name_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.fieldMask_ = fieldMaskBuilder_ == null ? fieldMask_ : fieldMaskBuilder_.build();
+        result.fieldMask_ = fieldMaskBuilder_ == null
+            ? fieldMask_
+            : fieldMaskBuilder_.build();
       }
     }
 
@@ -448,39 +407,38 @@ private void buildPartial0(com.google.spanner.admin.instance.v1.GetInstanceReque
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.instance.v1.GetInstanceRequest) {
-        return mergeFrom((com.google.spanner.admin.instance.v1.GetInstanceRequest) other);
+        return mergeFrom((com.google.spanner.admin.instance.v1.GetInstanceRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -488,8 +446,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.spanner.admin.instance.v1.GetInstanceRequest other) {
-      if (other == com.google.spanner.admin.instance.v1.GetInstanceRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.spanner.admin.instance.v1.GetInstanceRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -524,25 +481,24 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getFieldMaskFieldBuilder().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(
+                  getFieldMaskFieldBuilder().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) {
@@ -552,28 +508,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The 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; @@ -582,24 +533,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The 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 { @@ -607,41 +555,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The 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 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() { @@ -651,24 +588,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The 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; @@ -678,13 +609,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.FieldMask fieldMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - fieldMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> fieldMaskBuilder_; /** - * - * *
      * If field_mask is present, specifies the subset of
      * [Instance][google.spanner.admin.instance.v1.Instance] fields that should be
@@ -693,15 +619,12 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.protobuf.FieldMask field_mask = 2; - * * @return Whether the fieldMask field is set. */ public boolean hasFieldMask() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * If field_mask is present, specifies the subset of
      * [Instance][google.spanner.admin.instance.v1.Instance] fields that should be
@@ -710,7 +633,6 @@ public boolean hasFieldMask() {
      * 
* * .google.protobuf.FieldMask field_mask = 2; - * * @return The fieldMask. */ public com.google.protobuf.FieldMask getFieldMask() { @@ -721,8 +643,6 @@ public com.google.protobuf.FieldMask getFieldMask() { } } /** - * - * *
      * If field_mask is present, specifies the subset of
      * [Instance][google.spanner.admin.instance.v1.Instance] fields that should be
@@ -746,8 +666,6 @@ public Builder setFieldMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If field_mask is present, specifies the subset of
      * [Instance][google.spanner.admin.instance.v1.Instance] fields that should be
@@ -757,7 +675,8 @@ public Builder setFieldMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask field_mask = 2;
      */
-    public Builder setFieldMask(com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setFieldMask(
+        com.google.protobuf.FieldMask.Builder builderForValue) {
       if (fieldMaskBuilder_ == null) {
         fieldMask_ = builderForValue.build();
       } else {
@@ -768,8 +687,6 @@ public Builder setFieldMask(com.google.protobuf.FieldMask.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * If field_mask is present, specifies the subset of
      * [Instance][google.spanner.admin.instance.v1.Instance] fields that should be
@@ -781,9 +698,9 @@ public Builder setFieldMask(com.google.protobuf.FieldMask.Builder builderForValu
      */
     public Builder mergeFieldMask(com.google.protobuf.FieldMask value) {
       if (fieldMaskBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && fieldMask_ != null
-            && fieldMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          fieldMask_ != null &&
+          fieldMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) {
           getFieldMaskBuilder().mergeFrom(value);
         } else {
           fieldMask_ = value;
@@ -796,8 +713,6 @@ public Builder mergeFieldMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If field_mask is present, specifies the subset of
      * [Instance][google.spanner.admin.instance.v1.Instance] fields that should be
@@ -818,8 +733,6 @@ public Builder clearFieldMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If field_mask is present, specifies the subset of
      * [Instance][google.spanner.admin.instance.v1.Instance] fields that should be
@@ -835,8 +748,6 @@ public com.google.protobuf.FieldMask.Builder getFieldMaskBuilder() {
       return getFieldMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If field_mask is present, specifies the subset of
      * [Instance][google.spanner.admin.instance.v1.Instance] fields that should be
@@ -850,12 +761,11 @@ public com.google.protobuf.FieldMaskOrBuilder getFieldMaskOrBuilder() {
       if (fieldMaskBuilder_ != null) {
         return fieldMaskBuilder_.getMessageOrBuilder();
       } else {
-        return fieldMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : fieldMask_;
+        return fieldMask_ == null ?
+            com.google.protobuf.FieldMask.getDefaultInstance() : fieldMask_;
       }
     }
     /**
-     *
-     *
      * 
      * If field_mask is present, specifies the subset of
      * [Instance][google.spanner.admin.instance.v1.Instance] fields that should be
@@ -866,24 +776,21 @@ public com.google.protobuf.FieldMaskOrBuilder getFieldMaskOrBuilder() {
      * .google.protobuf.FieldMask field_mask = 2;
      */
     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> 
         getFieldMaskFieldBuilder() {
       if (fieldMaskBuilder_ == null) {
-        fieldMaskBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.FieldMask,
-                com.google.protobuf.FieldMask.Builder,
-                com.google.protobuf.FieldMaskOrBuilder>(
-                getFieldMask(), getParentForChildren(), isClean());
+        fieldMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
+                getFieldMask(),
+                getParentForChildren(),
+                isClean());
         fieldMask_ = null;
       }
       return fieldMaskBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -893,12 +800,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.GetInstanceRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.GetInstanceRequest)
   private static final com.google.spanner.admin.instance.v1.GetInstanceRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.GetInstanceRequest();
   }
@@ -907,27 +814,27 @@ public static com.google.spanner.admin.instance.v1.GetInstanceRequest getDefault
     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;
@@ -942,4 +849,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.spanner.admin.instance.v1.GetInstanceRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceRequestOrBuilder.java
similarity index 66%
rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceRequestOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceRequestOrBuilder.java
index 32e35c95e21..37a15b4521a 100644
--- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceRequestOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceRequestOrBuilder.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/spanner/admin/instance/v1/spanner_instance_admin.proto
 
 package com.google.spanner.admin.instance.v1;
 
-public interface GetInstanceRequestOrBuilder
-    extends
+public interface GetInstanceRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.GetInstanceRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The 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.String getName(); /** - * - * *
    * Required. The 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. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * If field_mask is present, specifies the subset of
    * [Instance][google.spanner.admin.instance.v1.Instance] fields that should be
@@ -65,13 +38,10 @@ public interface GetInstanceRequestOrBuilder
    * 
* * .google.protobuf.FieldMask field_mask = 2; - * * @return Whether the fieldMask field is set. */ boolean hasFieldMask(); /** - * - * *
    * If field_mask is present, specifies the subset of
    * [Instance][google.spanner.admin.instance.v1.Instance] fields that should be
@@ -80,13 +50,10 @@ public interface GetInstanceRequestOrBuilder
    * 
* * .google.protobuf.FieldMask field_mask = 2; - * * @return The fieldMask. */ com.google.protobuf.FieldMask getFieldMask(); /** - * - * *
    * If field_mask is present, specifies the subset of
    * [Instance][google.spanner.admin.instance.v1.Instance] fields that should be
diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/Instance.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/Instance.java
similarity index 73%
rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/Instance.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/Instance.java
index b2adc5f5222..a0d44404b9f 100644
--- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/Instance.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/Instance.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/spanner/admin/instance/v1/spanner_instance_admin.proto
 
 package com.google.spanner.admin.instance.v1;
 
 /**
- *
- *
  * 
  * An isolated set of Cloud Spanner resources on which databases can be hosted.
  * 
* * Protobuf type {@code google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.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_ = ""; config_ = ""; @@ -47,54 +29,51 @@ private Instance() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Instance(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto - .internal_static_google_spanner_admin_instance_v1_Instance_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_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 7: 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.spanner.admin.instance.v1.SpannerInstanceAdminProto - .internal_static_google_spanner_admin_instance_v1_Instance_fieldAccessorTable + return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_Instance_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.instance.v1.Instance.class, - com.google.spanner.admin.instance.v1.Instance.Builder.class); + com.google.spanner.admin.instance.v1.Instance.class, com.google.spanner.admin.instance.v1.Instance.Builder.class); } /** - * - * *
    * Indicates the current state of the instance.
    * 
* * Protobuf enum {@code google.spanner.admin.instance.v1.Instance.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Not specified.
      * 
@@ -103,8 +82,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The instance is still being created. Resources may not be
      * available yet, and operations such as database creation may not
@@ -115,8 +92,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     CREATING(1),
     /**
-     *
-     *
      * 
      * The instance is fully created and ready to do work such as
      * creating databases.
@@ -129,8 +104,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Not specified.
      * 
@@ -139,8 +112,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The instance is still being created. Resources may not be
      * available yet, and operations such as database creation may not
@@ -151,8 +122,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CREATING_VALUE = 1;
     /**
-     *
-     *
      * 
      * The instance is fully created and ready to do work such as
      * creating databases.
@@ -162,6 +131,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(
@@ -186,49 +156,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.spanner.admin.instance.v1.Instance.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final State[] VALUES = values();
 
-    public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static State valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -246,12 +216,9 @@ private State(int value) {
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. A unique identifier for the instance, which cannot be changed
    * after the instance is created. Values are of the form
@@ -260,7 +227,6 @@ private State(int value) {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -269,15 +235,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; } } /** - * - * *
    * Required. A unique identifier for the instance, which cannot be changed
    * after the instance is created. Values are of the form
@@ -286,15 +251,16 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -303,12 +269,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int CONFIG_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object config_ = ""; /** - * - * *
    * Required. The name of the instance's configuration. Values are of the form
    * `projects/<project>/instanceConfigs/<configuration>`. See
@@ -316,10 +279,7 @@ public com.google.protobuf.ByteString getNameBytes() {
    * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs].
    * 
* - * - * string config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The config. */ @java.lang.Override @@ -328,15 +288,14 @@ public java.lang.String getConfig() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); config_ = s; return s; } } /** - * - * *
    * Required. The name of the instance's configuration. Values are of the form
    * `projects/<project>/instanceConfigs/<configuration>`. See
@@ -344,18 +303,17 @@ public java.lang.String getConfig() {
    * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs].
    * 
* - * - * string config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for config. */ @java.lang.Override - public com.google.protobuf.ByteString getConfigBytes() { + public com.google.protobuf.ByteString + getConfigBytes() { java.lang.Object ref = config_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); config_ = b; return b; } else { @@ -364,19 +322,15 @@ public com.google.protobuf.ByteString getConfigBytes() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * Required. The descriptive name for this instance as it appears in UIs.
    * Must be unique per project and between 4 and 30 characters in length.
    * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ @java.lang.Override @@ -385,30 +339,30 @@ 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.
    * Must be unique per project and between 4 and 30 characters in length.
    * 
* * string display_name = 3 [(.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 { @@ -419,8 +373,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int NODE_COUNT_FIELD_NUMBER = 5; private int nodeCount_ = 0; /** - * - * *
    * The number of nodes allocated to this instance. At most one of either
    * node_count or processing_units should be present in the message. This
@@ -432,7 +384,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
    * 
* * int32 node_count = 5; - * * @return The nodeCount. */ @java.lang.Override @@ -443,8 +394,6 @@ public int getNodeCount() { public static final int PROCESSING_UNITS_FIELD_NUMBER = 9; private int processingUnits_ = 0; /** - * - * *
    * The number of processing units allocated to this instance. At most one of
    * processing_units or node_count should be present in the message. This may
@@ -455,7 +404,6 @@ public int getNodeCount() {
    * 
* * int32 processing_units = 9; - * * @return The processingUnits. */ @java.lang.Override @@ -466,8 +414,6 @@ public int getProcessingUnits() { public static final int STATE_FIELD_NUMBER = 6; private int state_ = 0; /** - * - * *
    * Output only. The current instance state. For
    * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance],
@@ -476,19 +422,13 @@ public int getProcessingUnits() {
    * the state must be either omitted or set to `READY`.
    * 
* - * - * .google.spanner.admin.instance.v1.Instance.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.instance.v1.Instance.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * Output only. The current instance state. For
    * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance],
@@ -497,50 +437,41 @@ public int getStateValue() {
    * the state must be either omitted or set to `READY`.
    * 
* - * - * .google.spanner.admin.instance.v1.Instance.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.instance.v1.Instance.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - @java.lang.Override - public com.google.spanner.admin.instance.v1.Instance.State getState() { - com.google.spanner.admin.instance.v1.Instance.State result = - com.google.spanner.admin.instance.v1.Instance.State.forNumber(state_); - return result == null - ? com.google.spanner.admin.instance.v1.Instance.State.UNRECOGNIZED - : result; + @java.lang.Override public com.google.spanner.admin.instance.v1.Instance.State getState() { + com.google.spanner.admin.instance.v1.Instance.State result = com.google.spanner.admin.instance.v1.Instance.State.forNumber(state_); + return result == null ? com.google.spanner.admin.instance.v1.Instance.State.UNRECOGNIZED : result; } public static final int LABELS_FIELD_NUMBER = 7; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto - .internal_static_google_spanner_admin_instance_v1_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.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_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(); } /** - * - * *
    * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -565,21 +496,20 @@ public int getLabelsCount() {
    * map<string, string> labels = 7;
    */
   @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();
   }
   /**
-   *
-   *
    * 
    * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -608,8 +538,6 @@ public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
-   *
-   *
    * 
    * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -634,19 +562,17 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 7;
    */
   @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;
   }
   /**
-   *
-   *
    * 
    * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -671,11 +597,11 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 7;
    */
   @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();
     }
@@ -683,46 +609,37 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
   }
 
   public static final int ENDPOINT_URIS_FIELD_NUMBER = 8;
-
   @SuppressWarnings("serial")
   private com.google.protobuf.LazyStringList endpointUris_;
   /**
-   *
-   *
    * 
    * Deprecated. This field is not populated.
    * 
* * repeated string endpoint_uris = 8; - * * @return A list containing the endpointUris. */ - public com.google.protobuf.ProtocolStringList getEndpointUrisList() { + public com.google.protobuf.ProtocolStringList + getEndpointUrisList() { return endpointUris_; } /** - * - * *
    * Deprecated. This field is not populated.
    * 
* * repeated string endpoint_uris = 8; - * * @return The count of endpointUris. */ public int getEndpointUrisCount() { return endpointUris_.size(); } /** - * - * *
    * Deprecated. This field is not populated.
    * 
* * repeated string endpoint_uris = 8; - * * @param index The index of the element to return. * @return The endpointUris at the given index. */ @@ -730,33 +647,27 @@ public java.lang.String getEndpointUris(int index) { return endpointUris_.get(index); } /** - * - * *
    * Deprecated. This field is not populated.
    * 
* * repeated string endpoint_uris = 8; - * * @param index The index of the value to return. * @return The bytes of the endpointUris at the given index. */ - public com.google.protobuf.ByteString getEndpointUrisBytes(int index) { + public com.google.protobuf.ByteString + getEndpointUrisBytes(int index) { return endpointUris_.getByteString(index); } public static final int CREATE_TIME_FIELD_NUMBER = 11; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. The time at which the instance was created.
    * 
* - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -764,15 +675,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The time at which the instance was created.
    * 
* - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -780,14 +687,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The time at which the instance was created.
    * 
* - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -797,15 +701,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 12; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. The time at which the instance was most recently updated.
    * 
* - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -813,15 +713,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. The time at which the instance was most recently updated.
    * 
* - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -829,14 +725,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. The time at which the instance was most recently updated.
    * 
* - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -844,7 +737,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -856,7 +748,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -869,12 +762,15 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (nodeCount_ != 0) { output.writeInt32(5, nodeCount_); } - if (state_ - != com.google.spanner.admin.instance.v1.Instance.State.STATE_UNSPECIFIED.getNumber()) { + if (state_ != com.google.spanner.admin.instance.v1.Instance.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(6, state_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 7); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 7); for (int i = 0; i < endpointUris_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, endpointUris_.getRaw(i)); } @@ -906,21 +802,22 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, displayName_); } if (nodeCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, nodeCount_); - } - if (state_ - != com.google.spanner.admin.instance.v1.Instance.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, state_); - } - 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(7, labels__); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(5, nodeCount_); + } + if (state_ != com.google.spanner.admin.instance.v1.Instance.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(6, state_); + } + 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(7, labels__); } { int dataSize = 0; @@ -931,13 +828,16 @@ public int getSerializedSize() { size += 1 * getEndpointUrisList().size(); } if (processingUnits_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(9, processingUnits_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(9, processingUnits_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, getUpdateTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -947,29 +847,37 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.instance.v1.Instance)) { return super.equals(obj); } - com.google.spanner.admin.instance.v1.Instance other = - (com.google.spanner.admin.instance.v1.Instance) obj; - - if (!getName().equals(other.getName())) return false; - if (!getConfig().equals(other.getConfig())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (getNodeCount() != other.getNodeCount()) return false; - if (getProcessingUnits() != other.getProcessingUnits()) return false; + com.google.spanner.admin.instance.v1.Instance other = (com.google.spanner.admin.instance.v1.Instance) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!getConfig() + .equals(other.getConfig())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (getNodeCount() + != other.getNodeCount()) return false; + if (getProcessingUnits() + != other.getProcessingUnits()) return false; if (state_ != other.state_) return false; - if (!internalGetLabels().equals(other.internalGetLabels())) return false; - if (!getEndpointUrisList().equals(other.getEndpointUrisList())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; + if (!getEndpointUrisList() + .equals(other.getEndpointUrisList())) 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 (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1015,156 +923,152 @@ public int hashCode() { return hash; } - public static com.google.spanner.admin.instance.v1.Instance parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.admin.instance.v1.Instance parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.Instance parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.Instance parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.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.spanner.admin.instance.v1.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.spanner.admin.instance.v1.Instance parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.Instance parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.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.spanner.admin.instance.v1.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.spanner.admin.instance.v1.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; } /** - * - * *
    * An isolated set of Cloud Spanner resources on which databases can be hosted.
    * 
* * Protobuf type {@code google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.Instance) com.google.spanner.admin.instance.v1.InstanceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto - .internal_static_google_spanner_admin_instance_v1_Instance_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_Instance_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 7: 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 7: 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.spanner.admin.instance.v1.SpannerInstanceAdminProto - .internal_static_google_spanner_admin_instance_v1_Instance_fieldAccessorTable + return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_Instance_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.instance.v1.Instance.class, - com.google.spanner.admin.instance.v1.Instance.Builder.class); + com.google.spanner.admin.instance.v1.Instance.class, com.google.spanner.admin.instance.v1.Instance.Builder.class); } // Construct using com.google.spanner.admin.instance.v1.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(); @@ -1192,9 +1096,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto - .internal_static_google_spanner_admin_instance_v1_Instance_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_Instance_descriptor; } @java.lang.Override @@ -1213,12 +1117,9 @@ public com.google.spanner.admin.instance.v1.Instance build() { @java.lang.Override public com.google.spanner.admin.instance.v1.Instance buildPartial() { - com.google.spanner.admin.instance.v1.Instance result = - new com.google.spanner.admin.instance.v1.Instance(this); + com.google.spanner.admin.instance.v1.Instance result = new com.google.spanner.admin.instance.v1.Instance(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -1256,10 +1157,14 @@ private void buildPartial0(com.google.spanner.admin.instance.v1.Instance result) result.labels_.makeImmutable(); } if (((from_bitField0_ & 0x00000100) != 0)) { - result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null + ? createTime_ + : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000200) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null + ? updateTime_ + : updateTimeBuilder_.build(); } } @@ -1267,39 +1172,38 @@ private void buildPartial0(com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.Instance) { - return mergeFrom((com.google.spanner.admin.instance.v1.Instance) other); + return mergeFrom((com.google.spanner.admin.instance.v1.Instance)other); } else { super.mergeFrom(other); return this; @@ -1332,7 +1236,8 @@ public Builder mergeFrom(com.google.spanner.admin.instance.v1.Instance other) { if (other.state_ != 0) { setStateValue(other.getStateValue()); } - internalGetMutableLabels().mergeFrom(other.internalGetLabels()); + internalGetMutableLabels().mergeFrom( + other.internalGetLabels()); bitField0_ |= 0x00000040; if (!other.endpointUris_.isEmpty()) { if (endpointUris_.isEmpty()) { @@ -1376,80 +1281,71 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - config_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 40: - { - nodeCount_ = input.readInt32(); - bitField0_ |= 0x00000008; - break; - } // case 40 - case 48: - { - state_ = input.readEnum(); - bitField0_ |= 0x00000020; - break; - } // case 48 - case 58: - { - com.google.protobuf.MapEntry labels__ = - input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableLabels() - .getMutableMap() - .put(labels__.getKey(), labels__.getValue()); - bitField0_ |= 0x00000040; - break; - } // case 58 - case 66: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureEndpointUrisIsMutable(); - endpointUris_.add(s); - break; - } // case 66 - case 72: - { - processingUnits_ = input.readInt32(); - bitField0_ |= 0x00000010; - break; - } // case 72 - case 90: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000100; - break; - } // case 90 - case 98: - { - input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000200; - break; - } // case 98 - 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: { + config_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 40: { + nodeCount_ = input.readInt32(); + bitField0_ |= 0x00000008; + break; + } // case 40 + case 48: { + state_ = input.readEnum(); + bitField0_ |= 0x00000020; + break; + } // case 48 + case 58: { + com.google.protobuf.MapEntry + labels__ = input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableLabels().getMutableMap().put( + labels__.getKey(), labels__.getValue()); + bitField0_ |= 0x00000040; + break; + } // case 58 + case 66: { + java.lang.String s = input.readStringRequireUtf8(); + ensureEndpointUrisIsMutable(); + endpointUris_.add(s); + break; + } // case 66 + case 72: { + processingUnits_ = input.readInt32(); + bitField0_ |= 0x00000010; + break; + } // case 72 + case 90: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000100; + break; + } // case 90 + case 98: { + input.readMessage( + getUpdateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000200; + break; + } // case 98 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1459,13 +1355,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. A unique identifier for the instance, which cannot be changed
      * after the instance is created. Values are of the form
@@ -1474,13 +1367,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -1489,8 +1382,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. A unique identifier for the instance, which cannot be changed
      * after the instance is created. Values are of the form
@@ -1499,14 +1390,15 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -1514,8 +1406,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. A unique identifier for the instance, which cannot be changed
      * after the instance is created. Values are of the form
@@ -1524,22 +1414,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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. A unique identifier for the instance, which cannot be changed
      * after the instance is created. Values are of the form
@@ -1548,7 +1434,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -1558,8 +1443,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. A unique identifier for the instance, which cannot be changed
      * after the instance is created. Values are of the form
@@ -1568,14 +1451,12 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -1585,8 +1466,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object config_ = ""; /** - * - * *
      * Required. The name of the instance's configuration. Values are of the form
      * `projects/<project>/instanceConfigs/<configuration>`. See
@@ -1594,16 +1473,14 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs].
      * 
* - * - * string config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The config. */ public java.lang.String getConfig() { java.lang.Object ref = config_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); config_ = s; return s; @@ -1612,8 +1489,6 @@ public java.lang.String getConfig() { } } /** - * - * *
      * Required. The name of the instance's configuration. Values are of the form
      * `projects/<project>/instanceConfigs/<configuration>`. See
@@ -1621,17 +1496,16 @@ public java.lang.String getConfig() {
      * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs].
      * 
* - * - * string config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for config. */ - public com.google.protobuf.ByteString getConfigBytes() { + public com.google.protobuf.ByteString + getConfigBytes() { java.lang.Object ref = config_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); config_ = b; return b; } else { @@ -1639,8 +1513,6 @@ public com.google.protobuf.ByteString getConfigBytes() { } } /** - * - * *
      * Required. The name of the instance's configuration. Values are of the form
      * `projects/<project>/instanceConfigs/<configuration>`. See
@@ -1648,25 +1520,19 @@ public com.google.protobuf.ByteString getConfigBytes() {
      * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs].
      * 
* - * - * string config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The config to set. * @return This builder for chaining. */ - public Builder setConfig(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setConfig( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } config_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The name of the instance's configuration. Values are of the form
      * `projects/<project>/instanceConfigs/<configuration>`. See
@@ -1674,10 +1540,7 @@ public Builder setConfig(java.lang.String value) {
      * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs].
      * 
* - * - * string config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearConfig() { @@ -1687,8 +1550,6 @@ public Builder clearConfig() { return this; } /** - * - * *
      * Required. The name of the instance's configuration. Values are of the form
      * `projects/<project>/instanceConfigs/<configuration>`. See
@@ -1696,17 +1557,13 @@ public Builder clearConfig() {
      * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs].
      * 
* - * - * string config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for config to set. * @return This builder for chaining. */ - public Builder setConfigBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setConfigBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); config_ = value; bitField0_ |= 0x00000002; @@ -1716,21 +1573,19 @@ public Builder setConfigBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * Required. The descriptive name for this instance as it appears in UIs.
      * Must be unique per project and between 4 and 30 characters in length.
      * 
* * string display_name = 3 [(.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; @@ -1739,22 +1594,21 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Required. The descriptive name for this instance as it appears in UIs.
      * Must be unique per project and between 4 and 30 characters in length.
      * 
* * string display_name = 3 [(.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 { @@ -1762,37 +1616,30 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Required. The descriptive name for this instance as it appears in UIs.
      * Must be unique per project and between 4 and 30 characters in length.
      * 
* * string display_name = 3 [(.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_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Required. The descriptive name for this instance as it appears in UIs.
      * Must be unique per project and between 4 and 30 characters in length.
      * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1802,22 +1649,18 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * Required. The descriptive name for this instance as it appears in UIs.
      * Must be unique per project and between 4 and 30 characters in length.
      * 
* * string display_name = 3 [(.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_ |= 0x00000004; @@ -1825,10 +1668,8 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { return this; } - private int nodeCount_; + private int nodeCount_ ; /** - * - * *
      * The number of nodes allocated to this instance. At most one of either
      * node_count or processing_units should be present in the message. This
@@ -1840,7 +1681,6 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 node_count = 5; - * * @return The nodeCount. */ @java.lang.Override @@ -1848,8 +1688,6 @@ public int getNodeCount() { return nodeCount_; } /** - * - * *
      * The number of nodes allocated to this instance. At most one of either
      * node_count or processing_units should be present in the message. This
@@ -1861,20 +1699,17 @@ public int getNodeCount() {
      * 
* * int32 node_count = 5; - * * @param value The nodeCount to set. * @return This builder for chaining. */ public Builder setNodeCount(int value) { - + nodeCount_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * The number of nodes allocated to this instance. At most one of either
      * node_count or processing_units should be present in the message. This
@@ -1886,7 +1721,6 @@ public Builder setNodeCount(int value) {
      * 
* * int32 node_count = 5; - * * @return This builder for chaining. */ public Builder clearNodeCount() { @@ -1896,10 +1730,8 @@ public Builder clearNodeCount() { return this; } - private int processingUnits_; + private int processingUnits_ ; /** - * - * *
      * The number of processing units allocated to this instance. At most one of
      * processing_units or node_count should be present in the message. This may
@@ -1910,7 +1742,6 @@ public Builder clearNodeCount() {
      * 
* * int32 processing_units = 9; - * * @return The processingUnits. */ @java.lang.Override @@ -1918,8 +1749,6 @@ public int getProcessingUnits() { return processingUnits_; } /** - * - * *
      * The number of processing units allocated to this instance. At most one of
      * processing_units or node_count should be present in the message. This may
@@ -1930,20 +1759,17 @@ public int getProcessingUnits() {
      * 
* * int32 processing_units = 9; - * * @param value The processingUnits to set. * @return This builder for chaining. */ public Builder setProcessingUnits(int value) { - + processingUnits_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * The number of processing units allocated to this instance. At most one of
      * processing_units or node_count should be present in the message. This may
@@ -1954,7 +1780,6 @@ public Builder setProcessingUnits(int value) {
      * 
* * int32 processing_units = 9; - * * @return This builder for chaining. */ public Builder clearProcessingUnits() { @@ -1966,8 +1791,6 @@ public Builder clearProcessingUnits() { private int state_ = 0; /** - * - * *
      * Output only. The current instance state. For
      * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance],
@@ -1976,19 +1799,13 @@ public Builder clearProcessingUnits() {
      * the state must be either omitted or set to `READY`.
      * 
* - * - * .google.spanner.admin.instance.v1.Instance.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.instance.v1.Instance.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Output only. The current instance state. For
      * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance],
@@ -1997,10 +1814,7 @@ public int getStateValue() {
      * the state must be either omitted or set to `READY`.
      * 
* - * - * .google.spanner.admin.instance.v1.Instance.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.instance.v1.Instance.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -2011,8 +1825,6 @@ public Builder setStateValue(int value) { return this; } /** - * - * *
      * Output only. The current instance state. For
      * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance],
@@ -2021,23 +1833,15 @@ public Builder setStateValue(int value) {
      * the state must be either omitted or set to `READY`.
      * 
* - * - * .google.spanner.admin.instance.v1.Instance.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.instance.v1.Instance.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ @java.lang.Override public com.google.spanner.admin.instance.v1.Instance.State getState() { - com.google.spanner.admin.instance.v1.Instance.State result = - com.google.spanner.admin.instance.v1.Instance.State.forNumber(state_); - return result == null - ? com.google.spanner.admin.instance.v1.Instance.State.UNRECOGNIZED - : result; + com.google.spanner.admin.instance.v1.Instance.State result = com.google.spanner.admin.instance.v1.Instance.State.forNumber(state_); + return result == null ? com.google.spanner.admin.instance.v1.Instance.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The current instance state. For
      * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance],
@@ -2046,10 +1850,7 @@ public com.google.spanner.admin.instance.v1.Instance.State getState() {
      * the state must be either omitted or set to `READY`.
      * 
* - * - * .google.spanner.admin.instance.v1.Instance.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.instance.v1.Instance.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The state to set. * @return This builder for chaining. */ @@ -2063,8 +1864,6 @@ public Builder setState(com.google.spanner.admin.instance.v1.Instance.State valu return this; } /** - * - * *
      * Output only. The current instance state. For
      * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance],
@@ -2073,10 +1872,7 @@ public Builder setState(com.google.spanner.admin.instance.v1.Instance.State valu
      * the state must be either omitted or set to `READY`.
      * 
* - * - * .google.spanner.admin.instance.v1.Instance.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.instance.v1.Instance.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { @@ -2086,19 +1882,21 @@ public Builder clearState() { 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(); @@ -2107,13 +1905,10 @@ private com.google.protobuf.MapField interna onChanged(); return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -2138,21 +1933,20 @@ public int getLabelsCount() {
      * map<string, string> labels = 7;
      */
     @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();
     }
     /**
-     *
-     *
      * 
      * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -2181,8 +1975,6 @@ public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
-     *
-     *
      * 
      * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -2207,19 +1999,17 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 7;
      */
     @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;
     }
     /**
-     *
-     *
      * 
      * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -2244,25 +2034,23 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 7;
      */
     @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_ & ~0x00000040);
-      internalGetMutableLabels().getMutableMap().clear();
+      internalGetMutableLabels().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -2286,22 +2074,23 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 7;
      */
-    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_ |= 0x00000040;
       return internalGetMutableLabels().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -2325,20 +2114,17 @@ public java.util.Map getMutableLabels() {
      *
      * map<string, string> labels = 7;
      */
-    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_ |= 0x00000040;
       return this;
     }
     /**
-     *
-     *
      * 
      * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -2362,58 +2148,50 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> labels = 7;
      */
-    public Builder putAllLabels(java.util.Map values) {
-      internalGetMutableLabels().getMutableMap().putAll(values);
+    public Builder putAllLabels(
+        java.util.Map values) {
+      internalGetMutableLabels().getMutableMap()
+          .putAll(values);
       bitField0_ |= 0x00000040;
       return this;
     }
 
-    private com.google.protobuf.LazyStringList endpointUris_ =
-        com.google.protobuf.LazyStringArrayList.EMPTY;
-
+    private com.google.protobuf.LazyStringList endpointUris_ = com.google.protobuf.LazyStringArrayList.EMPTY;
     private void ensureEndpointUrisIsMutable() {
       if (!((bitField0_ & 0x00000080) != 0)) {
         endpointUris_ = new com.google.protobuf.LazyStringArrayList(endpointUris_);
         bitField0_ |= 0x00000080;
-      }
+       }
     }
     /**
-     *
-     *
      * 
      * Deprecated. This field is not populated.
      * 
* * repeated string endpoint_uris = 8; - * * @return A list containing the endpointUris. */ - public com.google.protobuf.ProtocolStringList getEndpointUrisList() { + public com.google.protobuf.ProtocolStringList + getEndpointUrisList() { return endpointUris_.getUnmodifiableView(); } /** - * - * *
      * Deprecated. This field is not populated.
      * 
* * repeated string endpoint_uris = 8; - * * @return The count of endpointUris. */ public int getEndpointUrisCount() { return endpointUris_.size(); } /** - * - * *
      * Deprecated. This field is not populated.
      * 
* * repeated string endpoint_uris = 8; - * * @param index The index of the element to return. * @return The endpointUris at the given index. */ @@ -2421,90 +2199,76 @@ public java.lang.String getEndpointUris(int index) { return endpointUris_.get(index); } /** - * - * *
      * Deprecated. This field is not populated.
      * 
* * repeated string endpoint_uris = 8; - * * @param index The index of the value to return. * @return The bytes of the endpointUris at the given index. */ - public com.google.protobuf.ByteString getEndpointUrisBytes(int index) { + public com.google.protobuf.ByteString + getEndpointUrisBytes(int index) { return endpointUris_.getByteString(index); } /** - * - * *
      * Deprecated. This field is not populated.
      * 
* * repeated string endpoint_uris = 8; - * * @param index The index to set the value at. * @param value The endpointUris to set. * @return This builder for chaining. */ - public Builder setEndpointUris(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEndpointUris( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureEndpointUrisIsMutable(); endpointUris_.set(index, value); onChanged(); return this; } /** - * - * *
      * Deprecated. This field is not populated.
      * 
* * repeated string endpoint_uris = 8; - * * @param value The endpointUris to add. * @return This builder for chaining. */ - public Builder addEndpointUris(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addEndpointUris( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureEndpointUrisIsMutable(); endpointUris_.add(value); onChanged(); return this; } /** - * - * *
      * Deprecated. This field is not populated.
      * 
* * repeated string endpoint_uris = 8; - * * @param values The endpointUris to add. * @return This builder for chaining. */ - public Builder addAllEndpointUris(java.lang.Iterable values) { + public Builder addAllEndpointUris( + java.lang.Iterable values) { ensureEndpointUrisIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, endpointUris_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, endpointUris_); onChanged(); return this; } /** - * - * *
      * Deprecated. This field is not populated.
      * 
* * repeated string endpoint_uris = 8; - * * @return This builder for chaining. */ public Builder clearEndpointUris() { @@ -2514,21 +2278,17 @@ public Builder clearEndpointUris() { return this; } /** - * - * *
      * Deprecated. This field is not populated.
      * 
* * repeated string endpoint_uris = 8; - * * @param value The bytes of the endpointUris to add. * @return This builder for chaining. */ - public Builder addEndpointUrisBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addEndpointUrisBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureEndpointUrisIsMutable(); endpointUris_.add(value); @@ -2538,58 +2298,39 @@ public Builder addEndpointUrisBytes(com.google.protobuf.ByteString value) { 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 at which the instance was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000100) != 0); } /** - * - * *
      * Output only. The time at which the instance was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time at which the instance was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -2605,17 +2346,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time at which the instance was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 11 [(.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 { @@ -2626,21 +2364,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time at which the instance was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000100) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -2653,15 +2387,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time at which the instance was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000100); @@ -2674,15 +2404,11 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The time at which the instance was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000100; @@ -2690,48 +2416,36 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time at which the instance was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. The time at which the instance was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 11 [(.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_; @@ -2739,58 +2453,39 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * Output only. The time at which the instance was most recently updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000200) != 0); } /** - * - * *
      * Output only. The time at which the instance was most recently updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time at which the instance was most recently updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -2806,17 +2501,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time at which the instance was most recently updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -2827,21 +2519,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time at which the instance was most recently updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000200) != 0) - && updateTime_ != null - && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000200) != 0) && + updateTime_ != null && + updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -2854,15 +2542,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time at which the instance was most recently updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000200); @@ -2875,15 +2559,11 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. The time at which the instance was most recently updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000200; @@ -2891,55 +2571,43 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time at which the instance was most recently updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
      * Output only. The time at which the instance was most recently updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 12 [(.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> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); + updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), + getParentForChildren(), + isClean()); updateTime_ = null; } return updateTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2949,12 +2617,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.Instance) } // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.Instance) private static final com.google.spanner.admin.instance.v1.Instance DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.Instance(); } @@ -2963,27 +2631,27 @@ public static com.google.spanner.admin.instance.v1.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; @@ -2998,4 +2666,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.instance.v1.Instance getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceConfig.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceConfig.java similarity index 74% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceConfig.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceConfig.java index e8b1cd418e3..11c7bc6d571 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceConfig.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceConfig.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/spanner/admin/instance/v1/spanner_instance_admin.proto package com.google.spanner.admin.instance.v1; /** - * - * *
  * A possible configuration for a Cloud Spanner instance. Configurations
  * define the geographic placement of nodes and their replication.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.spanner.admin.instance.v1.InstanceConfig}
  */
-public final class InstanceConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class InstanceConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.instance.v1.InstanceConfig)
     InstanceConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use InstanceConfig.newBuilder() to construct.
   private InstanceConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private InstanceConfig() {
     name_ = "";
     displayName_ = "";
@@ -52,54 +34,51 @@ private InstanceConfig() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new InstanceConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_InstanceConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_InstanceConfig_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 8:
         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.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_InstanceConfig_fieldAccessorTable
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_InstanceConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.instance.v1.InstanceConfig.class,
-            com.google.spanner.admin.instance.v1.InstanceConfig.Builder.class);
+            com.google.spanner.admin.instance.v1.InstanceConfig.class, com.google.spanner.admin.instance.v1.InstanceConfig.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * The type of this configuration.
    * 
* * Protobuf enum {@code google.spanner.admin.instance.v1.InstanceConfig.Type} */ - public enum Type implements com.google.protobuf.ProtocolMessageEnum { + public enum Type + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified.
      * 
@@ -108,8 +87,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ TYPE_UNSPECIFIED(0), /** - * - * *
      * Google managed configuration.
      * 
@@ -118,8 +95,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ GOOGLE_MANAGED(1), /** - * - * *
      * User managed configuration.
      * 
@@ -131,8 +106,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified.
      * 
@@ -141,8 +114,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Google managed configuration.
      * 
@@ -151,8 +122,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GOOGLE_MANAGED_VALUE = 1; /** - * - * *
      * User managed configuration.
      * 
@@ -161,6 +130,7 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int USER_MANAGED_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -185,51 +155,49 @@ public static Type valueOf(int value) { */ public static Type forNumber(int value) { switch (value) { - case 0: - return TYPE_UNSPECIFIED; - case 1: - return GOOGLE_MANAGED; - case 2: - return USER_MANAGED; - default: - return null; + case 0: return TYPE_UNSPECIFIED; + case 1: return GOOGLE_MANAGED; + case 2: return USER_MANAGED; + 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.spanner.admin.instance.v1.InstanceConfig.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.spanner.admin.instance.v1.InstanceConfig.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; @@ -247,18 +215,15 @@ private Type(int value) { } /** - * - * *
    * Indicates the current state of the instance config.
    * 
* * Protobuf enum {@code google.spanner.admin.instance.v1.InstanceConfig.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Not specified.
      * 
@@ -267,8 +232,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The instance config is still being created.
      * 
@@ -277,8 +240,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ CREATING(1), /** - * - * *
      * The instance config is fully created and ready to be used to create
      * instances.
@@ -291,8 +252,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Not specified.
      * 
@@ -301,8 +260,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The instance config is still being created.
      * 
@@ -311,8 +268,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CREATING_VALUE = 1; /** - * - * *
      * The instance config is fully created and ready to be used to create
      * instances.
@@ -322,6 +277,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(
@@ -346,51 +302,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() {
-      return com.google.spanner.admin.instance.v1.InstanceConfig.getDescriptor()
-          .getEnumTypes()
-          .get(1);
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
+      return com.google.spanner.admin.instance.v1.InstanceConfig.getDescriptor().getEnumTypes().get(1);
     }
 
     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;
@@ -408,12 +362,9 @@ private State(int value) {
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * A unique identifier for the instance configuration.  Values
    * are of the form
@@ -421,7 +372,6 @@ private State(int value) {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -430,15 +380,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 unique identifier for the instance configuration.  Values
    * are of the form
@@ -446,15 +395,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 { @@ -463,18 +413,14 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * The name of this instance configuration as it appears in UIs.
    * 
* * string display_name = 2; - * * @return The displayName. */ @java.lang.Override @@ -483,29 +429,29 @@ 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; } } /** - * - * *
    * The name of this instance configuration as it appears in UIs.
    * 
* * string display_name = 2; - * * @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 { @@ -516,53 +462,35 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int CONFIG_TYPE_FIELD_NUMBER = 5; private int configType_ = 0; /** - * - * *
    * Output only. Whether this instance config is a Google or User Managed
    * Configuration.
    * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig.Type config_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.instance.v1.InstanceConfig.Type config_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for configType. */ - @java.lang.Override - public int getConfigTypeValue() { + @java.lang.Override public int getConfigTypeValue() { return configType_; } /** - * - * *
    * Output only. Whether this instance config is a Google or User Managed
    * Configuration.
    * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig.Type config_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.instance.v1.InstanceConfig.Type config_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The configType. */ - @java.lang.Override - public com.google.spanner.admin.instance.v1.InstanceConfig.Type getConfigType() { - com.google.spanner.admin.instance.v1.InstanceConfig.Type result = - com.google.spanner.admin.instance.v1.InstanceConfig.Type.forNumber(configType_); - return result == null - ? com.google.spanner.admin.instance.v1.InstanceConfig.Type.UNRECOGNIZED - : result; + @java.lang.Override public com.google.spanner.admin.instance.v1.InstanceConfig.Type getConfigType() { + com.google.spanner.admin.instance.v1.InstanceConfig.Type result = com.google.spanner.admin.instance.v1.InstanceConfig.Type.forNumber(configType_); + return result == null ? com.google.spanner.admin.instance.v1.InstanceConfig.Type.UNRECOGNIZED : result; } public static final int REPLICAS_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private java.util.List replicas_; /** - * - * *
    * The geographic placement of nodes in this instance configuration and their
    * replication properties.
@@ -575,8 +503,6 @@ public java.util.List getRepli
     return replicas_;
   }
   /**
-   *
-   *
    * 
    * The geographic placement of nodes in this instance configuration and their
    * replication properties.
@@ -585,13 +511,11 @@ public java.util.List getRepli
    * repeated .google.spanner.admin.instance.v1.ReplicaInfo replicas = 3;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getReplicasOrBuilderList() {
     return replicas_;
   }
   /**
-   *
-   *
    * 
    * The geographic placement of nodes in this instance configuration and their
    * replication properties.
@@ -604,8 +528,6 @@ public int getReplicasCount() {
     return replicas_.size();
   }
   /**
-   *
-   *
    * 
    * The geographic placement of nodes in this instance configuration and their
    * replication properties.
@@ -618,8 +540,6 @@ public com.google.spanner.admin.instance.v1.ReplicaInfo getReplicas(int index) {
     return replicas_.get(index);
   }
   /**
-   *
-   *
    * 
    * The geographic placement of nodes in this instance configuration and their
    * replication properties.
@@ -628,91 +548,70 @@ public com.google.spanner.admin.instance.v1.ReplicaInfo getReplicas(int index) {
    * repeated .google.spanner.admin.instance.v1.ReplicaInfo replicas = 3;
    */
   @java.lang.Override
-  public com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder getReplicasOrBuilder(int index) {
+  public com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder getReplicasOrBuilder(
+      int index) {
     return replicas_.get(index);
   }
 
   public static final int OPTIONAL_REPLICAS_FIELD_NUMBER = 6;
-
   @SuppressWarnings("serial")
   private java.util.List optionalReplicas_;
   /**
-   *
-   *
    * 
    * Output only. The available optional replicas to choose from for user
    * managed configurations. Populated for Google managed configurations.
    * 
* - * - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List - getOptionalReplicasList() { + public java.util.List getOptionalReplicasList() { return optionalReplicas_; } /** - * - * *
    * Output only. The available optional replicas to choose from for user
    * managed configurations. Populated for Google managed configurations.
    * 
* - * - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List + public java.util.List getOptionalReplicasOrBuilderList() { return optionalReplicas_; } /** - * - * *
    * Output only. The available optional replicas to choose from for user
    * managed configurations. Populated for Google managed configurations.
    * 
* - * - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public int getOptionalReplicasCount() { return optionalReplicas_.size(); } /** - * - * *
    * Output only. The available optional replicas to choose from for user
    * managed configurations. Populated for Google managed configurations.
    * 
* - * - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.spanner.admin.instance.v1.ReplicaInfo getOptionalReplicas(int index) { return optionalReplicas_.get(index); } /** - * - * *
    * Output only. The available optional replicas to choose from for user
    * managed configurations. Populated for Google managed configurations.
    * 
* - * - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder getOptionalReplicasOrBuilder( @@ -721,12 +620,9 @@ public com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder getOptionalRepl } public static final int BASE_CONFIG_FIELD_NUMBER = 7; - @SuppressWarnings("serial") private volatile java.lang.Object baseConfig_ = ""; /** - * - * *
    * Base configuration name, e.g. projects/<project_name>/instanceConfigs/nam3,
    * based on which this configuration is created. Only set for user managed
@@ -735,7 +631,6 @@ public com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder getOptionalRepl
    * 
* * string base_config = 7 [(.google.api.resource_reference) = { ... } - * * @return The baseConfig. */ @java.lang.Override @@ -744,15 +639,14 @@ public java.lang.String getBaseConfig() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); baseConfig_ = s; return s; } } /** - * - * *
    * Base configuration name, e.g. projects/<project_name>/instanceConfigs/nam3,
    * based on which this configuration is created. Only set for user managed
@@ -761,15 +655,16 @@ public java.lang.String getBaseConfig() {
    * 
* * string base_config = 7 [(.google.api.resource_reference) = { ... } - * * @return The bytes for baseConfig. */ @java.lang.Override - public com.google.protobuf.ByteString getBaseConfigBytes() { + public com.google.protobuf.ByteString + getBaseConfigBytes() { java.lang.Object ref = baseConfig_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); baseConfig_ = b; return b; } else { @@ -778,34 +673,32 @@ public com.google.protobuf.ByteString getBaseConfigBytes() { } public static final int LABELS_FIELD_NUMBER = 8; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto - .internal_static_google_spanner_admin_instance_v1_InstanceConfig_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.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_InstanceConfig_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(); } /** - * - * *
    * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -830,21 +723,20 @@ public int getLabelsCount() {
    * map<string, string> labels = 8;
    */
   @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();
   }
   /**
-   *
-   *
    * 
    * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -873,8 +765,6 @@ public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
-   *
-   *
    * 
    * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -899,19 +789,17 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 8;
    */
   @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;
   }
   /**
-   *
-   *
    * 
    * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -936,11 +824,11 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 8;
    */
   @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();
     }
@@ -948,12 +836,9 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
   }
 
   public static final int ETAG_FIELD_NUMBER = 9;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object etag_ = "";
   /**
-   *
-   *
    * 
    * etag is used for optimistic concurrency control as a way
    * to help prevent simultaneous updates of a instance config from overwriting
@@ -968,7 +853,6 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
    * 
* * string etag = 9; - * * @return The etag. */ @java.lang.Override @@ -977,15 +861,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; } } /** - * - * *
    * etag is used for optimistic concurrency control as a way
    * to help prevent simultaneous updates of a instance config from overwriting
@@ -1000,15 +883,16 @@ public java.lang.String getEtag() {
    * 
* * string etag = 9; - * * @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 { @@ -1017,49 +901,40 @@ public com.google.protobuf.ByteString getEtagBytes() { } public static final int LEADER_OPTIONS_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringList leaderOptions_; /** - * - * *
    * Allowed values of the "default_leader" schema option for databases in
    * instances that use this instance configuration.
    * 
* * repeated string leader_options = 4; - * * @return A list containing the leaderOptions. */ - public com.google.protobuf.ProtocolStringList getLeaderOptionsList() { + public com.google.protobuf.ProtocolStringList + getLeaderOptionsList() { return leaderOptions_; } /** - * - * *
    * Allowed values of the "default_leader" schema option for databases in
    * instances that use this instance configuration.
    * 
* * repeated string leader_options = 4; - * * @return The count of leaderOptions. */ public int getLeaderOptionsCount() { return leaderOptions_.size(); } /** - * - * *
    * Allowed values of the "default_leader" schema option for databases in
    * instances that use this instance configuration.
    * 
* * repeated string leader_options = 4; - * * @param index The index of the element to return. * @return The leaderOptions at the given index. */ @@ -1067,34 +942,29 @@ public java.lang.String getLeaderOptions(int index) { return leaderOptions_.get(index); } /** - * - * *
    * Allowed values of the "default_leader" schema option for databases in
    * instances that use this instance configuration.
    * 
* * repeated string leader_options = 4; - * * @param index The index of the value to return. * @return The bytes of the leaderOptions at the given index. */ - public com.google.protobuf.ByteString getLeaderOptionsBytes(int index) { + public com.google.protobuf.ByteString + getLeaderOptionsBytes(int index) { return leaderOptions_.getByteString(index); } public static final int RECONCILING_FIELD_NUMBER = 10; private boolean reconciling_ = false; /** - * - * *
    * Output only. If true, the instance config is being created or updated. If
    * false, there are no ongoing operations for the instance config.
    * 
* * bool reconciling = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The reconciling. */ @java.lang.Override @@ -1105,46 +975,30 @@ public boolean getReconciling() { public static final int STATE_FIELD_NUMBER = 11; private int state_ = 0; /** - * - * *
    * Output only. The current instance config state.
    * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.instance.v1.InstanceConfig.State state = 11 [(.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 instance config state.
    * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.instance.v1.InstanceConfig.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - @java.lang.Override - public com.google.spanner.admin.instance.v1.InstanceConfig.State getState() { - com.google.spanner.admin.instance.v1.InstanceConfig.State result = - com.google.spanner.admin.instance.v1.InstanceConfig.State.forNumber(state_); - return result == null - ? com.google.spanner.admin.instance.v1.InstanceConfig.State.UNRECOGNIZED - : result; + @java.lang.Override public com.google.spanner.admin.instance.v1.InstanceConfig.State getState() { + com.google.spanner.admin.instance.v1.InstanceConfig.State result = com.google.spanner.admin.instance.v1.InstanceConfig.State.forNumber(state_); + return result == null ? com.google.spanner.admin.instance.v1.InstanceConfig.State.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1156,7 +1010,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -1169,8 +1024,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < leaderOptions_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, leaderOptions_.getRaw(i)); } - if (configType_ - != com.google.spanner.admin.instance.v1.InstanceConfig.Type.TYPE_UNSPECIFIED.getNumber()) { + if (configType_ != com.google.spanner.admin.instance.v1.InstanceConfig.Type.TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(5, configType_); } for (int i = 0; i < optionalReplicas_.size(); i++) { @@ -1179,17 +1033,19 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(baseConfig_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, baseConfig_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 8); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 8); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, etag_); } if (reconciling_ != false) { output.writeBool(10, reconciling_); } - if (state_ - != com.google.spanner.admin.instance.v1.InstanceConfig.State.STATE_UNSPECIFIED - .getNumber()) { + if (state_ != com.google.spanner.admin.instance.v1.InstanceConfig.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(11, state_); } getUnknownFields().writeTo(output); @@ -1208,7 +1064,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, displayName_); } for (int i = 0; i < replicas_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, replicas_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, replicas_.get(i)); } { int dataSize = 0; @@ -1218,36 +1075,37 @@ public int getSerializedSize() { size += dataSize; size += 1 * getLeaderOptionsList().size(); } - if (configType_ - != com.google.spanner.admin.instance.v1.InstanceConfig.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, configType_); + if (configType_ != com.google.spanner.admin.instance.v1.InstanceConfig.Type.TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(5, configType_); } for (int i = 0; i < optionalReplicas_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, optionalReplicas_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, optionalReplicas_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(baseConfig_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, baseConfig_); } - 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(8, labels__); + 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(8, labels__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, etag_); } if (reconciling_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(10, reconciling_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(10, reconciling_); } - if (state_ - != com.google.spanner.admin.instance.v1.InstanceConfig.State.STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(11, state_); + if (state_ != com.google.spanner.admin.instance.v1.InstanceConfig.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(11, state_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1257,24 +1115,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.spanner.admin.instance.v1.InstanceConfig)) { return super.equals(obj); } - com.google.spanner.admin.instance.v1.InstanceConfig other = - (com.google.spanner.admin.instance.v1.InstanceConfig) obj; + com.google.spanner.admin.instance.v1.InstanceConfig other = (com.google.spanner.admin.instance.v1.InstanceConfig) 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 (configType_ != other.configType_) return false; - if (!getReplicasList().equals(other.getReplicasList())) return false; - if (!getOptionalReplicasList().equals(other.getOptionalReplicasList())) return false; - if (!getBaseConfig().equals(other.getBaseConfig())) return false; - if (!internalGetLabels().equals(other.internalGetLabels())) return false; - if (!getEtag().equals(other.getEtag())) return false; - if (!getLeaderOptionsList().equals(other.getLeaderOptionsList())) return false; - if (getReconciling() != other.getReconciling()) return false; + if (!getReplicasList() + .equals(other.getReplicasList())) return false; + if (!getOptionalReplicasList() + .equals(other.getOptionalReplicasList())) return false; + if (!getBaseConfig() + .equals(other.getBaseConfig())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; + if (!getEtag() + .equals(other.getEtag())) return false; + if (!getLeaderOptionsList() + .equals(other.getLeaderOptionsList())) return false; + if (getReconciling() + != other.getReconciling()) return false; if (state_ != other.state_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1314,7 +1180,8 @@ public int hashCode() { hash = (53 * hash) + getLeaderOptionsList().hashCode(); } hash = (37 * hash) + RECONCILING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReconciling()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getReconciling()); hash = (37 * hash) + STATE_FIELD_NUMBER; hash = (53 * hash) + state_; hash = (29 * hash) + getUnknownFields().hashCode(); @@ -1323,103 +1190,96 @@ public int hashCode() { } public static com.google.spanner.admin.instance.v1.InstanceConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.InstanceConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.InstanceConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.InstanceConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.InstanceConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.InstanceConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.InstanceConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.InstanceConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.InstanceConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.InstanceConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.InstanceConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.InstanceConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.InstanceConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.InstanceConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.admin.instance.v1.InstanceConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 possible configuration for a Cloud Spanner instance. Configurations
    * define the geographic placement of nodes and their replication.
@@ -1427,52 +1287,55 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.instance.v1.InstanceConfig}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.instance.v1.InstanceConfig)
       com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_InstanceConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_InstanceConfig_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 8:
           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 8:
           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.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_InstanceConfig_fieldAccessorTable
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_InstanceConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.instance.v1.InstanceConfig.class,
-              com.google.spanner.admin.instance.v1.InstanceConfig.Builder.class);
+              com.google.spanner.admin.instance.v1.InstanceConfig.class, com.google.spanner.admin.instance.v1.InstanceConfig.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.instance.v1.InstanceConfig.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1505,9 +1368,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_InstanceConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_InstanceConfig_descriptor;
     }
 
     @java.lang.Override
@@ -1526,18 +1389,14 @@ public com.google.spanner.admin.instance.v1.InstanceConfig build() {
 
     @java.lang.Override
     public com.google.spanner.admin.instance.v1.InstanceConfig buildPartial() {
-      com.google.spanner.admin.instance.v1.InstanceConfig result =
-          new com.google.spanner.admin.instance.v1.InstanceConfig(this);
+      com.google.spanner.admin.instance.v1.InstanceConfig result = new com.google.spanner.admin.instance.v1.InstanceConfig(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.spanner.admin.instance.v1.InstanceConfig result) {
+    private void buildPartialRepeatedFields(com.google.spanner.admin.instance.v1.InstanceConfig result) {
       if (replicasBuilder_ == null) {
         if (((bitField0_ & 0x00000008) != 0)) {
           replicas_ = java.util.Collections.unmodifiableList(replicas_);
@@ -1596,39 +1455,38 @@ private void buildPartial0(com.google.spanner.admin.instance.v1.InstanceConfig 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.spanner.admin.instance.v1.InstanceConfig) {
-        return mergeFrom((com.google.spanner.admin.instance.v1.InstanceConfig) other);
+        return mergeFrom((com.google.spanner.admin.instance.v1.InstanceConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1636,8 +1494,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.spanner.admin.instance.v1.InstanceConfig other) {
-      if (other == com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance())
-        return this;
+      if (other == com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -1669,10 +1526,9 @@ public Builder mergeFrom(com.google.spanner.admin.instance.v1.InstanceConfig oth
             replicasBuilder_ = null;
             replicas_ = other.replicas_;
             bitField0_ = (bitField0_ & ~0x00000008);
-            replicasBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getReplicasFieldBuilder()
-                    : null;
+            replicasBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getReplicasFieldBuilder() : null;
           } else {
             replicasBuilder_.addAllMessages(other.replicas_);
           }
@@ -1696,10 +1552,9 @@ public Builder mergeFrom(com.google.spanner.admin.instance.v1.InstanceConfig oth
             optionalReplicasBuilder_ = null;
             optionalReplicas_ = other.optionalReplicas_;
             bitField0_ = (bitField0_ & ~0x00000010);
-            optionalReplicasBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getOptionalReplicasFieldBuilder()
-                    : null;
+            optionalReplicasBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getOptionalReplicasFieldBuilder() : null;
           } else {
             optionalReplicasBuilder_.addAllMessages(other.optionalReplicas_);
           }
@@ -1710,7 +1565,8 @@ public Builder mergeFrom(com.google.spanner.admin.instance.v1.InstanceConfig oth
         bitField0_ |= 0x00000020;
         onChanged();
       }
-      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(
+          other.internalGetLabels());
       bitField0_ |= 0x00000040;
       if (!other.getEtag().isEmpty()) {
         etag_ = other.etag_;
@@ -1759,102 +1615,88 @@ 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 26:
-              {
-                com.google.spanner.admin.instance.v1.ReplicaInfo m =
-                    input.readMessage(
-                        com.google.spanner.admin.instance.v1.ReplicaInfo.parser(),
-                        extensionRegistry);
-                if (replicasBuilder_ == null) {
-                  ensureReplicasIsMutable();
-                  replicas_.add(m);
-                } else {
-                  replicasBuilder_.addMessage(m);
-                }
-                break;
-              } // case 26
-            case 34:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureLeaderOptionsIsMutable();
-                leaderOptions_.add(s);
-                break;
-              } // case 34
-            case 40:
-              {
-                configType_ = input.readEnum();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 40
-            case 50:
-              {
-                com.google.spanner.admin.instance.v1.ReplicaInfo m =
-                    input.readMessage(
-                        com.google.spanner.admin.instance.v1.ReplicaInfo.parser(),
-                        extensionRegistry);
-                if (optionalReplicasBuilder_ == null) {
-                  ensureOptionalReplicasIsMutable();
-                  optionalReplicas_.add(m);
-                } else {
-                  optionalReplicasBuilder_.addMessage(m);
-                }
-                break;
-              } // case 50
-            case 58:
-              {
-                baseConfig_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 58
-            case 66:
-              {
-                com.google.protobuf.MapEntry labels__ =
-                    input.readMessage(
-                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
-                        extensionRegistry);
-                internalGetMutableLabels()
-                    .getMutableMap()
-                    .put(labels__.getKey(), labels__.getValue());
-                bitField0_ |= 0x00000040;
-                break;
-              } // case 66
-            case 74:
-              {
-                etag_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000080;
-                break;
-              } // case 74
-            case 80:
-              {
-                reconciling_ = input.readBool();
-                bitField0_ |= 0x00000200;
-                break;
-              } // case 80
-            case 88:
-              {
-                state_ = input.readEnum();
-                bitField0_ |= 0x00000400;
-                break;
-              } // case 88
-            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 26: {
+              com.google.spanner.admin.instance.v1.ReplicaInfo m =
+                  input.readMessage(
+                      com.google.spanner.admin.instance.v1.ReplicaInfo.parser(),
+                      extensionRegistry);
+              if (replicasBuilder_ == null) {
+                ensureReplicasIsMutable();
+                replicas_.add(m);
+              } else {
+                replicasBuilder_.addMessage(m);
+              }
+              break;
+            } // case 26
+            case 34: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureLeaderOptionsIsMutable();
+              leaderOptions_.add(s);
+              break;
+            } // case 34
+            case 40: {
+              configType_ = input.readEnum();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 40
+            case 50: {
+              com.google.spanner.admin.instance.v1.ReplicaInfo m =
+                  input.readMessage(
+                      com.google.spanner.admin.instance.v1.ReplicaInfo.parser(),
+                      extensionRegistry);
+              if (optionalReplicasBuilder_ == null) {
+                ensureOptionalReplicasIsMutable();
+                optionalReplicas_.add(m);
+              } else {
+                optionalReplicasBuilder_.addMessage(m);
+              }
+              break;
+            } // case 50
+            case 58: {
+              baseConfig_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 58
+            case 66: {
+              com.google.protobuf.MapEntry
+              labels__ = input.readMessage(
+                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableLabels().getMutableMap().put(
+                  labels__.getKey(), labels__.getValue());
+              bitField0_ |= 0x00000040;
+              break;
+            } // case 66
+            case 74: {
+              etag_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000080;
+              break;
+            } // case 74
+            case 80: {
+              reconciling_ = input.readBool();
+              bitField0_ |= 0x00000200;
+              break;
+            } // case 80
+            case 88: {
+              state_ = input.readEnum();
+              bitField0_ |= 0x00000400;
+              break;
+            } // case 88
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1864,13 +1706,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * A unique identifier for the instance configuration.  Values
      * are of the form
@@ -1878,13 +1717,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; @@ -1893,8 +1732,6 @@ public java.lang.String getName() { } } /** - * - * *
      * A unique identifier for the instance configuration.  Values
      * are of the form
@@ -1902,14 +1739,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 { @@ -1917,8 +1755,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * A unique identifier for the instance configuration.  Values
      * are of the form
@@ -1926,22 +1762,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 unique identifier for the instance configuration.  Values
      * are of the form
@@ -1949,7 +1781,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -1959,8 +1790,6 @@ public Builder clearName() { return this; } /** - * - * *
      * A unique identifier for the instance configuration.  Values
      * are of the form
@@ -1968,14 +1797,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; @@ -1985,20 +1812,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * The name of this instance configuration as it appears in UIs.
      * 
* * string display_name = 2; - * * @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; @@ -2007,21 +1832,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * The name of this instance configuration as it appears in UIs.
      * 
* * string display_name = 2; - * * @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 { @@ -2029,35 +1853,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * The name of this instance configuration as it appears in UIs.
      * 
* * string display_name = 2; - * * @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; } /** - * - * *
      * The name of this instance configuration as it appears in UIs.
      * 
* * string display_name = 2; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -2067,21 +1884,17 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * The name of this instance configuration as it appears in UIs.
      * 
* * string display_name = 2; - * * @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; @@ -2091,35 +1904,24 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private int configType_ = 0; /** - * - * *
      * Output only. Whether this instance config is a Google or User Managed
      * Configuration.
      * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig.Type config_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.instance.v1.InstanceConfig.Type config_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for configType. */ - @java.lang.Override - public int getConfigTypeValue() { + @java.lang.Override public int getConfigTypeValue() { return configType_; } /** - * - * *
      * Output only. Whether this instance config is a Google or User Managed
      * Configuration.
      * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig.Type config_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.instance.v1.InstanceConfig.Type config_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for configType to set. * @return This builder for chaining. */ @@ -2130,39 +1932,26 @@ public Builder setConfigTypeValue(int value) { return this; } /** - * - * *
      * Output only. Whether this instance config is a Google or User Managed
      * Configuration.
      * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig.Type config_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.instance.v1.InstanceConfig.Type config_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The configType. */ @java.lang.Override public com.google.spanner.admin.instance.v1.InstanceConfig.Type getConfigType() { - com.google.spanner.admin.instance.v1.InstanceConfig.Type result = - com.google.spanner.admin.instance.v1.InstanceConfig.Type.forNumber(configType_); - return result == null - ? com.google.spanner.admin.instance.v1.InstanceConfig.Type.UNRECOGNIZED - : result; + com.google.spanner.admin.instance.v1.InstanceConfig.Type result = com.google.spanner.admin.instance.v1.InstanceConfig.Type.forNumber(configType_); + return result == null ? com.google.spanner.admin.instance.v1.InstanceConfig.Type.UNRECOGNIZED : result; } /** - * - * *
      * Output only. Whether this instance config is a Google or User Managed
      * Configuration.
      * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig.Type config_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.instance.v1.InstanceConfig.Type config_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The configType to set. * @return This builder for chaining. */ @@ -2176,17 +1965,12 @@ public Builder setConfigType(com.google.spanner.admin.instance.v1.InstanceConfig return this; } /** - * - * *
      * Output only. Whether this instance config is a Google or User Managed
      * Configuration.
      * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig.Type config_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.instance.v1.InstanceConfig.Type config_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearConfigType() { @@ -2197,25 +1981,18 @@ public Builder clearConfigType() { } private java.util.List replicas_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureReplicasIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - replicas_ = - new java.util.ArrayList(replicas_); + replicas_ = new java.util.ArrayList(replicas_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.admin.instance.v1.ReplicaInfo, - com.google.spanner.admin.instance.v1.ReplicaInfo.Builder, - com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder> - replicasBuilder_; + com.google.spanner.admin.instance.v1.ReplicaInfo, com.google.spanner.admin.instance.v1.ReplicaInfo.Builder, com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder> replicasBuilder_; /** - * - * *
      * The geographic placement of nodes in this instance configuration and their
      * replication properties.
@@ -2231,8 +2008,6 @@ public java.util.List getRepli
       }
     }
     /**
-     *
-     *
      * 
      * The geographic placement of nodes in this instance configuration and their
      * replication properties.
@@ -2248,8 +2023,6 @@ public int getReplicasCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The geographic placement of nodes in this instance configuration and their
      * replication properties.
@@ -2265,8 +2038,6 @@ public com.google.spanner.admin.instance.v1.ReplicaInfo getReplicas(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The geographic placement of nodes in this instance configuration and their
      * replication properties.
@@ -2274,7 +2045,8 @@ public com.google.spanner.admin.instance.v1.ReplicaInfo getReplicas(int index) {
      *
      * repeated .google.spanner.admin.instance.v1.ReplicaInfo replicas = 3;
      */
-    public Builder setReplicas(int index, com.google.spanner.admin.instance.v1.ReplicaInfo value) {
+    public Builder setReplicas(
+        int index, com.google.spanner.admin.instance.v1.ReplicaInfo value) {
       if (replicasBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2288,8 +2060,6 @@ public Builder setReplicas(int index, com.google.spanner.admin.instance.v1.Repli
       return this;
     }
     /**
-     *
-     *
      * 
      * The geographic placement of nodes in this instance configuration and their
      * replication properties.
@@ -2309,8 +2079,6 @@ public Builder setReplicas(
       return this;
     }
     /**
-     *
-     *
      * 
      * The geographic placement of nodes in this instance configuration and their
      * replication properties.
@@ -2332,8 +2100,6 @@ public Builder addReplicas(com.google.spanner.admin.instance.v1.ReplicaInfo valu
       return this;
     }
     /**
-     *
-     *
      * 
      * The geographic placement of nodes in this instance configuration and their
      * replication properties.
@@ -2341,7 +2107,8 @@ public Builder addReplicas(com.google.spanner.admin.instance.v1.ReplicaInfo valu
      *
      * repeated .google.spanner.admin.instance.v1.ReplicaInfo replicas = 3;
      */
-    public Builder addReplicas(int index, com.google.spanner.admin.instance.v1.ReplicaInfo value) {
+    public Builder addReplicas(
+        int index, com.google.spanner.admin.instance.v1.ReplicaInfo value) {
       if (replicasBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2355,8 +2122,6 @@ public Builder addReplicas(int index, com.google.spanner.admin.instance.v1.Repli
       return this;
     }
     /**
-     *
-     *
      * 
      * The geographic placement of nodes in this instance configuration and their
      * replication properties.
@@ -2376,8 +2141,6 @@ public Builder addReplicas(
       return this;
     }
     /**
-     *
-     *
      * 
      * The geographic placement of nodes in this instance configuration and their
      * replication properties.
@@ -2397,8 +2160,6 @@ public Builder addReplicas(
       return this;
     }
     /**
-     *
-     *
      * 
      * The geographic placement of nodes in this instance configuration and their
      * replication properties.
@@ -2410,7 +2171,8 @@ public Builder addAllReplicas(
         java.lang.Iterable values) {
       if (replicasBuilder_ == null) {
         ensureReplicasIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, replicas_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, replicas_);
         onChanged();
       } else {
         replicasBuilder_.addAllMessages(values);
@@ -2418,8 +2180,6 @@ public Builder addAllReplicas(
       return this;
     }
     /**
-     *
-     *
      * 
      * The geographic placement of nodes in this instance configuration and their
      * replication properties.
@@ -2438,8 +2198,6 @@ public Builder clearReplicas() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The geographic placement of nodes in this instance configuration and their
      * replication properties.
@@ -2458,8 +2216,6 @@ public Builder removeReplicas(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The geographic placement of nodes in this instance configuration and their
      * replication properties.
@@ -2467,12 +2223,11 @@ public Builder removeReplicas(int index) {
      *
      * repeated .google.spanner.admin.instance.v1.ReplicaInfo replicas = 3;
      */
-    public com.google.spanner.admin.instance.v1.ReplicaInfo.Builder getReplicasBuilder(int index) {
+    public com.google.spanner.admin.instance.v1.ReplicaInfo.Builder getReplicasBuilder(
+        int index) {
       return getReplicasFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The geographic placement of nodes in this instance configuration and their
      * replication properties.
@@ -2483,14 +2238,11 @@ public com.google.spanner.admin.instance.v1.ReplicaInfo.Builder getReplicasBuild
     public com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder getReplicasOrBuilder(
         int index) {
       if (replicasBuilder_ == null) {
-        return replicas_.get(index);
-      } else {
+        return replicas_.get(index);  } else {
         return replicasBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The geographic placement of nodes in this instance configuration and their
      * replication properties.
@@ -2498,8 +2250,8 @@ public com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder getReplicasOrBu
      *
      * repeated .google.spanner.admin.instance.v1.ReplicaInfo replicas = 3;
      */
-    public java.util.List
-        getReplicasOrBuilderList() {
+    public java.util.List 
+         getReplicasOrBuilderList() {
       if (replicasBuilder_ != null) {
         return replicasBuilder_.getMessageOrBuilderList();
       } else {
@@ -2507,8 +2259,6 @@ public com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder getReplicasOrBu
       }
     }
     /**
-     *
-     *
      * 
      * The geographic placement of nodes in this instance configuration and their
      * replication properties.
@@ -2517,12 +2267,10 @@ public com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder getReplicasOrBu
      * repeated .google.spanner.admin.instance.v1.ReplicaInfo replicas = 3;
      */
     public com.google.spanner.admin.instance.v1.ReplicaInfo.Builder addReplicasBuilder() {
-      return getReplicasFieldBuilder()
-          .addBuilder(com.google.spanner.admin.instance.v1.ReplicaInfo.getDefaultInstance());
+      return getReplicasFieldBuilder().addBuilder(
+          com.google.spanner.admin.instance.v1.ReplicaInfo.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The geographic placement of nodes in this instance configuration and their
      * replication properties.
@@ -2530,13 +2278,12 @@ public com.google.spanner.admin.instance.v1.ReplicaInfo.Builder addReplicasBuild
      *
      * repeated .google.spanner.admin.instance.v1.ReplicaInfo replicas = 3;
      */
-    public com.google.spanner.admin.instance.v1.ReplicaInfo.Builder addReplicasBuilder(int index) {
-      return getReplicasFieldBuilder()
-          .addBuilder(index, com.google.spanner.admin.instance.v1.ReplicaInfo.getDefaultInstance());
+    public com.google.spanner.admin.instance.v1.ReplicaInfo.Builder addReplicasBuilder(
+        int index) {
+      return getReplicasFieldBuilder().addBuilder(
+          index, com.google.spanner.admin.instance.v1.ReplicaInfo.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The geographic placement of nodes in this instance configuration and their
      * replication properties.
@@ -2544,60 +2291,46 @@ public com.google.spanner.admin.instance.v1.ReplicaInfo.Builder addReplicasBuild
      *
      * repeated .google.spanner.admin.instance.v1.ReplicaInfo replicas = 3;
      */
-    public java.util.List
-        getReplicasBuilderList() {
+    public java.util.List 
+         getReplicasBuilderList() {
       return getReplicasFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.spanner.admin.instance.v1.ReplicaInfo,
-            com.google.spanner.admin.instance.v1.ReplicaInfo.Builder,
-            com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder>
+        com.google.spanner.admin.instance.v1.ReplicaInfo, com.google.spanner.admin.instance.v1.ReplicaInfo.Builder, com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder> 
         getReplicasFieldBuilder() {
       if (replicasBuilder_ == null) {
-        replicasBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.spanner.admin.instance.v1.ReplicaInfo,
-                com.google.spanner.admin.instance.v1.ReplicaInfo.Builder,
-                com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder>(
-                replicas_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean());
+        replicasBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.spanner.admin.instance.v1.ReplicaInfo, com.google.spanner.admin.instance.v1.ReplicaInfo.Builder, com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder>(
+                replicas_,
+                ((bitField0_ & 0x00000008) != 0),
+                getParentForChildren(),
+                isClean());
         replicas_ = null;
       }
       return replicasBuilder_;
     }
 
     private java.util.List optionalReplicas_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureOptionalReplicasIsMutable() {
       if (!((bitField0_ & 0x00000010) != 0)) {
-        optionalReplicas_ =
-            new java.util.ArrayList(
-                optionalReplicas_);
+        optionalReplicas_ = new java.util.ArrayList(optionalReplicas_);
         bitField0_ |= 0x00000010;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.spanner.admin.instance.v1.ReplicaInfo,
-            com.google.spanner.admin.instance.v1.ReplicaInfo.Builder,
-            com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder>
-        optionalReplicasBuilder_;
+        com.google.spanner.admin.instance.v1.ReplicaInfo, com.google.spanner.admin.instance.v1.ReplicaInfo.Builder, com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder> optionalReplicasBuilder_;
 
     /**
-     *
-     *
      * 
      * Output only. The available optional replicas to choose from for user
      * managed configurations. Populated for Google managed configurations.
      * 
* - * - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getOptionalReplicasList() { + public java.util.List getOptionalReplicasList() { if (optionalReplicasBuilder_ == null) { return java.util.Collections.unmodifiableList(optionalReplicas_); } else { @@ -2605,16 +2338,12 @@ private void ensureOptionalReplicasIsMutable() { } } /** - * - * *
      * Output only. The available optional replicas to choose from for user
      * managed configurations. Populated for Google managed configurations.
      * 
* - * - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public int getOptionalReplicasCount() { if (optionalReplicasBuilder_ == null) { @@ -2624,16 +2353,12 @@ public int getOptionalReplicasCount() { } } /** - * - * *
      * Output only. The available optional replicas to choose from for user
      * managed configurations. Populated for Google managed configurations.
      * 
* - * - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.spanner.admin.instance.v1.ReplicaInfo getOptionalReplicas(int index) { if (optionalReplicasBuilder_ == null) { @@ -2643,16 +2368,12 @@ public com.google.spanner.admin.instance.v1.ReplicaInfo getOptionalReplicas(int } } /** - * - * *
      * Output only. The available optional replicas to choose from for user
      * managed configurations. Populated for Google managed configurations.
      * 
* - * - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setOptionalReplicas( int index, com.google.spanner.admin.instance.v1.ReplicaInfo value) { @@ -2669,16 +2390,12 @@ public Builder setOptionalReplicas( return this; } /** - * - * *
      * Output only. The available optional replicas to choose from for user
      * managed configurations. Populated for Google managed configurations.
      * 
* - * - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setOptionalReplicas( int index, com.google.spanner.admin.instance.v1.ReplicaInfo.Builder builderForValue) { @@ -2692,16 +2409,12 @@ public Builder setOptionalReplicas( return this; } /** - * - * *
      * Output only. The available optional replicas to choose from for user
      * managed configurations. Populated for Google managed configurations.
      * 
* - * - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addOptionalReplicas(com.google.spanner.admin.instance.v1.ReplicaInfo value) { if (optionalReplicasBuilder_ == null) { @@ -2717,16 +2430,12 @@ public Builder addOptionalReplicas(com.google.spanner.admin.instance.v1.ReplicaI return this; } /** - * - * *
      * Output only. The available optional replicas to choose from for user
      * managed configurations. Populated for Google managed configurations.
      * 
* - * - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addOptionalReplicas( int index, com.google.spanner.admin.instance.v1.ReplicaInfo value) { @@ -2743,16 +2452,12 @@ public Builder addOptionalReplicas( return this; } /** - * - * *
      * Output only. The available optional replicas to choose from for user
      * managed configurations. Populated for Google managed configurations.
      * 
* - * - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addOptionalReplicas( com.google.spanner.admin.instance.v1.ReplicaInfo.Builder builderForValue) { @@ -2766,16 +2471,12 @@ public Builder addOptionalReplicas( return this; } /** - * - * *
      * Output only. The available optional replicas to choose from for user
      * managed configurations. Populated for Google managed configurations.
      * 
* - * - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addOptionalReplicas( int index, com.google.spanner.admin.instance.v1.ReplicaInfo.Builder builderForValue) { @@ -2789,22 +2490,19 @@ public Builder addOptionalReplicas( return this; } /** - * - * *
      * Output only. The available optional replicas to choose from for user
      * managed configurations. Populated for Google managed configurations.
      * 
* - * - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addAllOptionalReplicas( java.lang.Iterable values) { if (optionalReplicasBuilder_ == null) { ensureOptionalReplicasIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, optionalReplicas_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, optionalReplicas_); onChanged(); } else { optionalReplicasBuilder_.addAllMessages(values); @@ -2812,16 +2510,12 @@ public Builder addAllOptionalReplicas( return this; } /** - * - * *
      * Output only. The available optional replicas to choose from for user
      * managed configurations. Populated for Google managed configurations.
      * 
* - * - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearOptionalReplicas() { if (optionalReplicasBuilder_ == null) { @@ -2834,16 +2528,12 @@ public Builder clearOptionalReplicas() { return this; } /** - * - * *
      * Output only. The available optional replicas to choose from for user
      * managed configurations. Populated for Google managed configurations.
      * 
* - * - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder removeOptionalReplicas(int index) { if (optionalReplicasBuilder_ == null) { @@ -2856,55 +2546,42 @@ public Builder removeOptionalReplicas(int index) { return this; } /** - * - * *
      * Output only. The available optional replicas to choose from for user
      * managed configurations. Populated for Google managed configurations.
      * 
* - * - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.spanner.admin.instance.v1.ReplicaInfo.Builder getOptionalReplicasBuilder( int index) { return getOptionalReplicasFieldBuilder().getBuilder(index); } /** - * - * *
      * Output only. The available optional replicas to choose from for user
      * managed configurations. Populated for Google managed configurations.
      * 
* - * - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder getOptionalReplicasOrBuilder( int index) { if (optionalReplicasBuilder_ == null) { - return optionalReplicas_.get(index); - } else { + return optionalReplicas_.get(index); } else { return optionalReplicasBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Output only. The available optional replicas to choose from for user
      * managed configurations. Populated for Google managed configurations.
      * 
* - * - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getOptionalReplicasOrBuilderList() { + public java.util.List + getOptionalReplicasOrBuilderList() { if (optionalReplicasBuilder_ != null) { return optionalReplicasBuilder_.getMessageOrBuilderList(); } else { @@ -2912,66 +2589,48 @@ public com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder getOptionalRepl } } /** - * - * *
      * Output only. The available optional replicas to choose from for user
      * managed configurations. Populated for Google managed configurations.
      * 
* - * - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.spanner.admin.instance.v1.ReplicaInfo.Builder addOptionalReplicasBuilder() { - return getOptionalReplicasFieldBuilder() - .addBuilder(com.google.spanner.admin.instance.v1.ReplicaInfo.getDefaultInstance()); + return getOptionalReplicasFieldBuilder().addBuilder( + com.google.spanner.admin.instance.v1.ReplicaInfo.getDefaultInstance()); } /** - * - * *
      * Output only. The available optional replicas to choose from for user
      * managed configurations. Populated for Google managed configurations.
      * 
* - * - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.spanner.admin.instance.v1.ReplicaInfo.Builder addOptionalReplicasBuilder( int index) { - return getOptionalReplicasFieldBuilder() - .addBuilder(index, com.google.spanner.admin.instance.v1.ReplicaInfo.getDefaultInstance()); + return getOptionalReplicasFieldBuilder().addBuilder( + index, com.google.spanner.admin.instance.v1.ReplicaInfo.getDefaultInstance()); } /** - * - * *
      * Output only. The available optional replicas to choose from for user
      * managed configurations. Populated for Google managed configurations.
      * 
* - * - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getOptionalReplicasBuilderList() { + public java.util.List + getOptionalReplicasBuilderList() { return getOptionalReplicasFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.admin.instance.v1.ReplicaInfo, - com.google.spanner.admin.instance.v1.ReplicaInfo.Builder, - com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder> + com.google.spanner.admin.instance.v1.ReplicaInfo, com.google.spanner.admin.instance.v1.ReplicaInfo.Builder, com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder> getOptionalReplicasFieldBuilder() { if (optionalReplicasBuilder_ == null) { - optionalReplicasBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.admin.instance.v1.ReplicaInfo, - com.google.spanner.admin.instance.v1.ReplicaInfo.Builder, - com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder>( + optionalReplicasBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.spanner.admin.instance.v1.ReplicaInfo, com.google.spanner.admin.instance.v1.ReplicaInfo.Builder, com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder>( optionalReplicas_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), @@ -2983,8 +2642,6 @@ public com.google.spanner.admin.instance.v1.ReplicaInfo.Builder addOptionalRepli private java.lang.Object baseConfig_ = ""; /** - * - * *
      * Base configuration name, e.g. projects/<project_name>/instanceConfigs/nam3,
      * based on which this configuration is created. Only set for user managed
@@ -2993,13 +2650,13 @@ public com.google.spanner.admin.instance.v1.ReplicaInfo.Builder addOptionalRepli
      * 
* * string base_config = 7 [(.google.api.resource_reference) = { ... } - * * @return The baseConfig. */ public java.lang.String getBaseConfig() { java.lang.Object ref = baseConfig_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); baseConfig_ = s; return s; @@ -3008,8 +2665,6 @@ public java.lang.String getBaseConfig() { } } /** - * - * *
      * Base configuration name, e.g. projects/<project_name>/instanceConfigs/nam3,
      * based on which this configuration is created. Only set for user managed
@@ -3018,14 +2673,15 @@ public java.lang.String getBaseConfig() {
      * 
* * string base_config = 7 [(.google.api.resource_reference) = { ... } - * * @return The bytes for baseConfig. */ - public com.google.protobuf.ByteString getBaseConfigBytes() { + public com.google.protobuf.ByteString + getBaseConfigBytes() { java.lang.Object ref = baseConfig_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); baseConfig_ = b; return b; } else { @@ -3033,8 +2689,6 @@ public com.google.protobuf.ByteString getBaseConfigBytes() { } } /** - * - * *
      * Base configuration name, e.g. projects/<project_name>/instanceConfigs/nam3,
      * based on which this configuration is created. Only set for user managed
@@ -3043,22 +2697,18 @@ public com.google.protobuf.ByteString getBaseConfigBytes() {
      * 
* * string base_config = 7 [(.google.api.resource_reference) = { ... } - * * @param value The baseConfig to set. * @return This builder for chaining. */ - public Builder setBaseConfig(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBaseConfig( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } baseConfig_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * Base configuration name, e.g. projects/<project_name>/instanceConfigs/nam3,
      * based on which this configuration is created. Only set for user managed
@@ -3067,7 +2717,6 @@ public Builder setBaseConfig(java.lang.String value) {
      * 
* * string base_config = 7 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearBaseConfig() { @@ -3077,8 +2726,6 @@ public Builder clearBaseConfig() { return this; } /** - * - * *
      * Base configuration name, e.g. projects/<project_name>/instanceConfigs/nam3,
      * based on which this configuration is created. Only set for user managed
@@ -3087,14 +2734,12 @@ public Builder clearBaseConfig() {
      * 
* * string base_config = 7 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for baseConfig to set. * @return This builder for chaining. */ - public Builder setBaseConfigBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBaseConfigBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); baseConfig_ = value; bitField0_ |= 0x00000020; @@ -3102,19 +2747,21 @@ public Builder setBaseConfigBytes(com.google.protobuf.ByteString value) { 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(); @@ -3123,13 +2770,10 @@ private com.google.protobuf.MapField interna onChanged(); return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -3154,21 +2798,20 @@ public int getLabelsCount() {
      * map<string, string> labels = 8;
      */
     @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();
     }
     /**
-     *
-     *
      * 
      * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -3197,8 +2840,6 @@ public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
-     *
-     *
      * 
      * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -3223,19 +2864,17 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 8;
      */
     @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;
     }
     /**
-     *
-     *
      * 
      * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -3260,25 +2899,23 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 8;
      */
     @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_ & ~0x00000040);
-      internalGetMutableLabels().getMutableMap().clear();
+      internalGetMutableLabels().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -3302,22 +2939,23 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 8;
      */
-    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_ |= 0x00000040;
       return internalGetMutableLabels().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -3341,20 +2979,17 @@ public java.util.Map getMutableLabels() {
      *
      * map<string, string> labels = 8;
      */
-    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_ |= 0x00000040;
       return this;
     }
     /**
-     *
-     *
      * 
      * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -3378,16 +3013,16 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> labels = 8;
      */
-    public Builder putAllLabels(java.util.Map values) {
-      internalGetMutableLabels().getMutableMap().putAll(values);
+    public Builder putAllLabels(
+        java.util.Map values) {
+      internalGetMutableLabels().getMutableMap()
+          .putAll(values);
       bitField0_ |= 0x00000040;
       return this;
     }
 
     private java.lang.Object etag_ = "";
     /**
-     *
-     *
      * 
      * etag is used for optimistic concurrency control as a way
      * to help prevent simultaneous updates of a instance config from overwriting
@@ -3402,13 +3037,13 @@ public Builder putAllLabels(java.util.Map va
      * 
* * string etag = 9; - * * @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; @@ -3417,8 +3052,6 @@ public java.lang.String getEtag() { } } /** - * - * *
      * etag is used for optimistic concurrency control as a way
      * to help prevent simultaneous updates of a instance config from overwriting
@@ -3433,14 +3066,15 @@ public java.lang.String getEtag() {
      * 
* * string etag = 9; - * * @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 { @@ -3448,8 +3082,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * etag is used for optimistic concurrency control as a way
      * to help prevent simultaneous updates of a instance config from overwriting
@@ -3464,22 +3096,18 @@ public com.google.protobuf.ByteString getEtagBytes() {
      * 
* * string etag = 9; - * * @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_ |= 0x00000080; onChanged(); return this; } /** - * - * *
      * etag is used for optimistic concurrency control as a way
      * to help prevent simultaneous updates of a instance config from overwriting
@@ -3494,7 +3122,6 @@ public Builder setEtag(java.lang.String value) {
      * 
* * string etag = 9; - * * @return This builder for chaining. */ public Builder clearEtag() { @@ -3504,8 +3131,6 @@ public Builder clearEtag() { return this; } /** - * - * *
      * etag is used for optimistic concurrency control as a way
      * to help prevent simultaneous updates of a instance config from overwriting
@@ -3520,14 +3145,12 @@ public Builder clearEtag() {
      * 
* * string etag = 9; - * * @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_ |= 0x00000080; @@ -3535,55 +3158,45 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.LazyStringList leaderOptions_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList leaderOptions_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureLeaderOptionsIsMutable() { if (!((bitField0_ & 0x00000100) != 0)) { leaderOptions_ = new com.google.protobuf.LazyStringArrayList(leaderOptions_); bitField0_ |= 0x00000100; - } + } } /** - * - * *
      * Allowed values of the "default_leader" schema option for databases in
      * instances that use this instance configuration.
      * 
* * repeated string leader_options = 4; - * * @return A list containing the leaderOptions. */ - public com.google.protobuf.ProtocolStringList getLeaderOptionsList() { + public com.google.protobuf.ProtocolStringList + getLeaderOptionsList() { return leaderOptions_.getUnmodifiableView(); } /** - * - * *
      * Allowed values of the "default_leader" schema option for databases in
      * instances that use this instance configuration.
      * 
* * repeated string leader_options = 4; - * * @return The count of leaderOptions. */ public int getLeaderOptionsCount() { return leaderOptions_.size(); } /** - * - * *
      * Allowed values of the "default_leader" schema option for databases in
      * instances that use this instance configuration.
      * 
* * repeated string leader_options = 4; - * * @param index The index of the element to return. * @return The leaderOptions at the given index. */ @@ -3591,95 +3204,81 @@ public java.lang.String getLeaderOptions(int index) { return leaderOptions_.get(index); } /** - * - * *
      * Allowed values of the "default_leader" schema option for databases in
      * instances that use this instance configuration.
      * 
* * repeated string leader_options = 4; - * * @param index The index of the value to return. * @return The bytes of the leaderOptions at the given index. */ - public com.google.protobuf.ByteString getLeaderOptionsBytes(int index) { + public com.google.protobuf.ByteString + getLeaderOptionsBytes(int index) { return leaderOptions_.getByteString(index); } /** - * - * *
      * Allowed values of the "default_leader" schema option for databases in
      * instances that use this instance configuration.
      * 
* * repeated string leader_options = 4; - * * @param index The index to set the value at. * @param value The leaderOptions to set. * @return This builder for chaining. */ - public Builder setLeaderOptions(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setLeaderOptions( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureLeaderOptionsIsMutable(); leaderOptions_.set(index, value); onChanged(); return this; } /** - * - * *
      * Allowed values of the "default_leader" schema option for databases in
      * instances that use this instance configuration.
      * 
* * repeated string leader_options = 4; - * * @param value The leaderOptions to add. * @return This builder for chaining. */ - public Builder addLeaderOptions(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addLeaderOptions( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureLeaderOptionsIsMutable(); leaderOptions_.add(value); onChanged(); return this; } /** - * - * *
      * Allowed values of the "default_leader" schema option for databases in
      * instances that use this instance configuration.
      * 
* * repeated string leader_options = 4; - * * @param values The leaderOptions to add. * @return This builder for chaining. */ - public Builder addAllLeaderOptions(java.lang.Iterable values) { + public Builder addAllLeaderOptions( + java.lang.Iterable values) { ensureLeaderOptionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, leaderOptions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, leaderOptions_); onChanged(); return this; } /** - * - * *
      * Allowed values of the "default_leader" schema option for databases in
      * instances that use this instance configuration.
      * 
* * repeated string leader_options = 4; - * * @return This builder for chaining. */ public Builder clearLeaderOptions() { @@ -3689,22 +3288,18 @@ public Builder clearLeaderOptions() { return this; } /** - * - * *
      * Allowed values of the "default_leader" schema option for databases in
      * instances that use this instance configuration.
      * 
* * repeated string leader_options = 4; - * * @param value The bytes of the leaderOptions to add. * @return This builder for chaining. */ - public Builder addLeaderOptionsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addLeaderOptionsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureLeaderOptionsIsMutable(); leaderOptions_.add(value); @@ -3712,17 +3307,14 @@ public Builder addLeaderOptionsBytes(com.google.protobuf.ByteString value) { return this; } - private boolean reconciling_; + private boolean reconciling_ ; /** - * - * *
      * Output only. If true, the instance config is being created or updated. If
      * false, there are no ongoing operations for the instance config.
      * 
* * bool reconciling = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The reconciling. */ @java.lang.Override @@ -3730,35 +3322,29 @@ public boolean getReconciling() { return reconciling_; } /** - * - * *
      * Output only. If true, the instance config is being created or updated. If
      * false, there are no ongoing operations for the instance config.
      * 
* * bool reconciling = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The reconciling to set. * @return This builder for chaining. */ public Builder setReconciling(boolean value) { - + reconciling_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } /** - * - * *
      * Output only. If true, the instance config is being created or updated. If
      * false, there are no ongoing operations for the instance config.
      * 
* * bool reconciling = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearReconciling() { @@ -3770,33 +3356,22 @@ public Builder clearReconciling() { private int state_ = 0; /** - * - * *
      * Output only. The current instance config state.
      * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.instance.v1.InstanceConfig.State state = 11 [(.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 instance config state.
      * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.instance.v1.InstanceConfig.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -3807,37 +3382,24 @@ public Builder setStateValue(int value) { return this; } /** - * - * *
      * Output only. The current instance config state.
      * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.instance.v1.InstanceConfig.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ @java.lang.Override public com.google.spanner.admin.instance.v1.InstanceConfig.State getState() { - com.google.spanner.admin.instance.v1.InstanceConfig.State result = - com.google.spanner.admin.instance.v1.InstanceConfig.State.forNumber(state_); - return result == null - ? com.google.spanner.admin.instance.v1.InstanceConfig.State.UNRECOGNIZED - : result; + com.google.spanner.admin.instance.v1.InstanceConfig.State result = com.google.spanner.admin.instance.v1.InstanceConfig.State.forNumber(state_); + return result == null ? com.google.spanner.admin.instance.v1.InstanceConfig.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The current instance config state.
      * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.instance.v1.InstanceConfig.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The state to set. * @return This builder for chaining. */ @@ -3851,16 +3413,11 @@ public Builder setState(com.google.spanner.admin.instance.v1.InstanceConfig.Stat return this; } /** - * - * *
      * Output only. The current instance config state.
      * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.instance.v1.InstanceConfig.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { @@ -3869,9 +3426,9 @@ public Builder clearState() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3881,12 +3438,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.InstanceConfig) } // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.InstanceConfig) private static final com.google.spanner.admin.instance.v1.InstanceConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.InstanceConfig(); } @@ -3895,27 +3452,27 @@ public static com.google.spanner.admin.instance.v1.InstanceConfig getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InstanceConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InstanceConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3930,4 +3487,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.instance.v1.InstanceConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceConfigName.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceConfigName.java similarity index 100% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceConfigName.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceConfigName.java diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceConfigOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceConfigOrBuilder.java similarity index 83% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceConfigOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceConfigOrBuilder.java index cd54bc42865..23db9c97963 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceConfigOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceConfigOrBuilder.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/spanner/admin/instance/v1/spanner_instance_admin.proto package com.google.spanner.admin.instance.v1; -public interface InstanceConfigOrBuilder - extends +public interface InstanceConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.InstanceConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A unique identifier for the instance configuration.  Values
    * are of the form
@@ -33,13 +15,10 @@ public interface InstanceConfigOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * A unique identifier for the instance configuration.  Values
    * are of the form
@@ -47,70 +26,53 @@ public interface InstanceConfigOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The name of this instance configuration as it appears in UIs.
    * 
* * string display_name = 2; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * The name of this instance configuration as it appears in UIs.
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Output only. Whether this instance config is a Google or User Managed
    * Configuration.
    * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig.Type config_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.instance.v1.InstanceConfig.Type config_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for configType. */ int getConfigTypeValue(); /** - * - * *
    * Output only. Whether this instance config is a Google or User Managed
    * Configuration.
    * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig.Type config_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.instance.v1.InstanceConfig.Type config_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The configType. */ com.google.spanner.admin.instance.v1.InstanceConfig.Type getConfigType(); /** - * - * *
    * The geographic placement of nodes in this instance configuration and their
    * replication properties.
@@ -118,10 +80,9 @@ public interface InstanceConfigOrBuilder
    *
    * repeated .google.spanner.admin.instance.v1.ReplicaInfo replicas = 3;
    */
-  java.util.List getReplicasList();
+  java.util.List 
+      getReplicasList();
   /**
-   *
-   *
    * 
    * The geographic placement of nodes in this instance configuration and their
    * replication properties.
@@ -131,8 +92,6 @@ public interface InstanceConfigOrBuilder
    */
   com.google.spanner.admin.instance.v1.ReplicaInfo getReplicas(int index);
   /**
-   *
-   *
    * 
    * The geographic placement of nodes in this instance configuration and their
    * replication properties.
@@ -142,8 +101,6 @@ public interface InstanceConfigOrBuilder
    */
   int getReplicasCount();
   /**
-   *
-   *
    * 
    * The geographic placement of nodes in this instance configuration and their
    * replication properties.
@@ -151,11 +108,9 @@ public interface InstanceConfigOrBuilder
    *
    * repeated .google.spanner.admin.instance.v1.ReplicaInfo replicas = 3;
    */
-  java.util.List
+  java.util.List 
       getReplicasOrBuilderList();
   /**
-   *
-   *
    * 
    * The geographic placement of nodes in this instance configuration and their
    * replication properties.
@@ -163,78 +118,59 @@ public interface InstanceConfigOrBuilder
    *
    * repeated .google.spanner.admin.instance.v1.ReplicaInfo replicas = 3;
    */
-  com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder getReplicasOrBuilder(int index);
+  com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder getReplicasOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Output only. The available optional replicas to choose from for user
    * managed configurations. Populated for Google managed configurations.
    * 
* - * - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List getOptionalReplicasList(); + java.util.List + getOptionalReplicasList(); /** - * - * *
    * Output only. The available optional replicas to choose from for user
    * managed configurations. Populated for Google managed configurations.
    * 
* - * - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.spanner.admin.instance.v1.ReplicaInfo getOptionalReplicas(int index); /** - * - * *
    * Output only. The available optional replicas to choose from for user
    * managed configurations. Populated for Google managed configurations.
    * 
* - * - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ int getOptionalReplicasCount(); /** - * - * *
    * Output only. The available optional replicas to choose from for user
    * managed configurations. Populated for Google managed configurations.
    * 
* - * - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List + java.util.List getOptionalReplicasOrBuilderList(); /** - * - * *
    * Output only. The available optional replicas to choose from for user
    * managed configurations. Populated for Google managed configurations.
    * 
* - * - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder getOptionalReplicasOrBuilder(int index); + com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder getOptionalReplicasOrBuilder( + int index); /** - * - * *
    * Base configuration name, e.g. projects/<project_name>/instanceConfigs/nam3,
    * based on which this configuration is created. Only set for user managed
@@ -243,13 +179,10 @@ public interface InstanceConfigOrBuilder
    * 
* * string base_config = 7 [(.google.api.resource_reference) = { ... } - * * @return The baseConfig. */ java.lang.String getBaseConfig(); /** - * - * *
    * Base configuration name, e.g. projects/<project_name>/instanceConfigs/nam3,
    * based on which this configuration is created. Only set for user managed
@@ -258,14 +191,12 @@ public interface InstanceConfigOrBuilder
    * 
* * string base_config = 7 [(.google.api.resource_reference) = { ... } - * * @return The bytes for baseConfig. */ - com.google.protobuf.ByteString getBaseConfigBytes(); + com.google.protobuf.ByteString + getBaseConfigBytes(); /** - * - * *
    * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -291,8 +222,6 @@ public interface InstanceConfigOrBuilder
    */
   int getLabelsCount();
   /**
-   *
-   *
    * 
    * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -316,13 +245,15 @@ public interface InstanceConfigOrBuilder
    *
    * map<string, string> labels = 8;
    */
-  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();
   /**
-   *
-   *
    * 
    * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -346,10 +277,9 @@ public interface InstanceConfigOrBuilder
    *
    * map<string, string> labels = 8;
    */
-  java.util.Map getLabelsMap();
+  java.util.Map
+  getLabelsMap();
   /**
-   *
-   *
    * 
    * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -374,13 +304,11 @@ public interface InstanceConfigOrBuilder
    * map<string, string> labels = 8;
    */
   /* nullable */
-  java.lang.String getLabelsOrDefault(
+java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -404,11 +332,10 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 8;
    */
-  java.lang.String getLabelsOrThrow(java.lang.String key);
+  java.lang.String getLabelsOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * etag is used for optimistic concurrency control as a way
    * to help prevent simultaneous updates of a instance config from overwriting
@@ -423,13 +350,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * string etag = 9; - * * @return The etag. */ java.lang.String getEtag(); /** - * - * *
    * etag is used for optimistic concurrency control as a way
    * to help prevent simultaneous updates of a instance config from overwriting
@@ -444,105 +368,82 @@ java.lang.String getLabelsOrDefault(
    * 
* * string etag = 9; - * * @return The bytes for etag. */ - com.google.protobuf.ByteString getEtagBytes(); + com.google.protobuf.ByteString + getEtagBytes(); /** - * - * *
    * Allowed values of the "default_leader" schema option for databases in
    * instances that use this instance configuration.
    * 
* * repeated string leader_options = 4; - * * @return A list containing the leaderOptions. */ - java.util.List getLeaderOptionsList(); + java.util.List + getLeaderOptionsList(); /** - * - * *
    * Allowed values of the "default_leader" schema option for databases in
    * instances that use this instance configuration.
    * 
* * repeated string leader_options = 4; - * * @return The count of leaderOptions. */ int getLeaderOptionsCount(); /** - * - * *
    * Allowed values of the "default_leader" schema option for databases in
    * instances that use this instance configuration.
    * 
* * repeated string leader_options = 4; - * * @param index The index of the element to return. * @return The leaderOptions at the given index. */ java.lang.String getLeaderOptions(int index); /** - * - * *
    * Allowed values of the "default_leader" schema option for databases in
    * instances that use this instance configuration.
    * 
* * repeated string leader_options = 4; - * * @param index The index of the value to return. * @return The bytes of the leaderOptions at the given index. */ - com.google.protobuf.ByteString getLeaderOptionsBytes(int index); + com.google.protobuf.ByteString + getLeaderOptionsBytes(int index); /** - * - * *
    * Output only. If true, the instance config is being created or updated. If
    * false, there are no ongoing operations for the instance config.
    * 
* * bool reconciling = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The reconciling. */ boolean getReconciling(); /** - * - * *
    * Output only. The current instance config state.
    * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.instance.v1.InstanceConfig.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. The current instance config state.
    * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.instance.v1.InstanceConfig.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ com.google.spanner.admin.instance.v1.InstanceConfig.State getState(); diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceName.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceName.java similarity index 100% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceName.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceName.java diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceOrBuilder.java similarity index 85% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceOrBuilder.java index 202d5c0bfe2..0476837e717 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceOrBuilder.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/spanner/admin/instance/v1/spanner_instance_admin.proto package com.google.spanner.admin.instance.v1; -public interface InstanceOrBuilder - extends +public interface InstanceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.Instance) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. A unique identifier for the instance, which cannot be changed
    * after the instance is created. Values are of the form
@@ -34,13 +16,10 @@ public interface InstanceOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. A unique identifier for the instance, which cannot be changed
    * after the instance is created. Values are of the form
@@ -49,14 +28,12 @@ public interface InstanceOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. The name of the instance's configuration. Values are of the form
    * `projects/<project>/instanceConfigs/<configuration>`. See
@@ -64,16 +41,11 @@ public interface InstanceOrBuilder
    * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs].
    * 
* - * - * string config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The config. */ java.lang.String getConfig(); /** - * - * *
    * Required. The name of the instance's configuration. Values are of the form
    * `projects/<project>/instanceConfigs/<configuration>`. See
@@ -81,44 +53,35 @@ public interface InstanceOrBuilder
    * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs].
    * 
* - * - * string config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for config. */ - com.google.protobuf.ByteString getConfigBytes(); + com.google.protobuf.ByteString + getConfigBytes(); /** - * - * *
    * Required. The descriptive name for this instance as it appears in UIs.
    * Must be unique per project and between 4 and 30 characters in length.
    * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Required. The descriptive name for this instance as it appears in UIs.
    * Must be unique per project and between 4 and 30 characters in length.
    * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * The number of nodes allocated to this instance. At most one of either
    * node_count or processing_units should be present in the message. This
@@ -130,14 +93,11 @@ public interface InstanceOrBuilder
    * 
* * int32 node_count = 5; - * * @return The nodeCount. */ int getNodeCount(); /** - * - * *
    * The number of processing units allocated to this instance. At most one of
    * processing_units or node_count should be present in the message. This may
@@ -148,14 +108,11 @@ public interface InstanceOrBuilder
    * 
* * int32 processing_units = 9; - * * @return The processingUnits. */ int getProcessingUnits(); /** - * - * *
    * Output only. The current instance state. For
    * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance],
@@ -164,16 +121,11 @@ public interface InstanceOrBuilder
    * the state must be either omitted or set to `READY`.
    * 
* - * - * .google.spanner.admin.instance.v1.Instance.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.instance.v1.Instance.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. The current instance state. For
    * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance],
@@ -182,17 +134,12 @@ public interface InstanceOrBuilder
    * the state must be either omitted or set to `READY`.
    * 
* - * - * .google.spanner.admin.instance.v1.Instance.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.spanner.admin.instance.v1.Instance.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ com.google.spanner.admin.instance.v1.Instance.State getState(); /** - * - * *
    * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -218,8 +165,6 @@ public interface InstanceOrBuilder
    */
   int getLabelsCount();
   /**
-   *
-   *
    * 
    * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -243,13 +188,15 @@ public interface InstanceOrBuilder
    *
    * map<string, string> labels = 7;
    */
-  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();
   /**
-   *
-   *
    * 
    * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -273,10 +220,9 @@ public interface InstanceOrBuilder
    *
    * map<string, string> labels = 7;
    */
-  java.util.Map getLabelsMap();
+  java.util.Map
+  getLabelsMap();
   /**
-   *
-   *
    * 
    * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -301,13 +247,11 @@ public interface InstanceOrBuilder
    * map<string, string> labels = 7;
    */
   /* nullable */
-  java.lang.String getLabelsOrDefault(
+java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -331,132 +275,101 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 7;
    */
-  java.lang.String getLabelsOrThrow(java.lang.String key);
+  java.lang.String getLabelsOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * Deprecated. This field is not populated.
    * 
* * repeated string endpoint_uris = 8; - * * @return A list containing the endpointUris. */ - java.util.List getEndpointUrisList(); + java.util.List + getEndpointUrisList(); /** - * - * *
    * Deprecated. This field is not populated.
    * 
* * repeated string endpoint_uris = 8; - * * @return The count of endpointUris. */ int getEndpointUrisCount(); /** - * - * *
    * Deprecated. This field is not populated.
    * 
* * repeated string endpoint_uris = 8; - * * @param index The index of the element to return. * @return The endpointUris at the given index. */ java.lang.String getEndpointUris(int index); /** - * - * *
    * Deprecated. This field is not populated.
    * 
* * repeated string endpoint_uris = 8; - * * @param index The index of the value to return. * @return The bytes of the endpointUris at the given index. */ - com.google.protobuf.ByteString getEndpointUrisBytes(int index); + com.google.protobuf.ByteString + getEndpointUrisBytes(int index); /** - * - * *
    * Output only. The time at which the instance was created.
    * 
* - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The time at which the instance was created.
    * 
* - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The time at which the instance was created.
    * 
* - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. The time at which the instance was most recently updated.
    * 
* - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. The time at which the instance was most recently updated.
    * 
* - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. The time at which the instance was most recently updated.
    * 
* - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); } diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsRequest.java similarity index 76% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsRequest.java index f2383b48b41..91918e2d2fd 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsRequest.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/spanner/admin/instance/v1/spanner_instance_admin.proto package com.google.spanner.admin.instance.v1; /** - * - * *
  * The request for
  * [ListInstanceConfigOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigOperations].
@@ -28,18 +11,15 @@
  *
  * Protobuf type {@code google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest}
  */
-public final class ListInstanceConfigOperationsRequest
-    extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListInstanceConfigOperationsRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest)
     ListInstanceConfigOperationsRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListInstanceConfigOperationsRequest.newBuilder() to construct.
-  private ListInstanceConfigOperationsRequest(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private ListInstanceConfigOperationsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListInstanceConfigOperationsRequest() {
     parent_ = "";
     filter_ = "";
@@ -48,46 +28,39 @@ private ListInstanceConfigOperationsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListInstanceConfigOperationsRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsRequest_fieldAccessorTable
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest.class,
-            com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest.Builder.class);
+            com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest.class, com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. The project of the instance config operations.
    * 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 @@ -96,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 project of the instance config operations.
    * 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 { @@ -130,12 +101,9 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int FILTER_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** - * - * *
    * An expression that filters the list of returned operations.
    * A filter expression consists of a field name, a
@@ -177,7 +145,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string filter = 2; - * * @return The filter. */ @java.lang.Override @@ -186,15 +153,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; } } /** - * - * *
    * An expression that filters the list of returned operations.
    * A filter expression consists of a field name, a
@@ -236,15 +202,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 { @@ -255,15 +222,12 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_ = 0; /** - * - * *
    * Number of operations to be returned in the response. If 0 or
    * less, defaults to the server's maximum allowed page size.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -272,12 +236,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.next_page_token]
@@ -287,7 +248,6 @@ public int getPageSize() {
    * 
* * string page_token = 4; - * * @return The pageToken. */ @java.lang.Override @@ -296,15 +256,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.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.next_page_token]
@@ -314,15 +273,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; - * * @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 { @@ -331,7 +291,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -343,7 +302,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -372,7 +332,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filter_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -385,19 +346,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.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest)) { + if (!(obj instanceof com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest)) { return super.equals(obj); } - com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest other = - (com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest other = (com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -423,105 +386,96 @@ public int hashCode() { } public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest - 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.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest 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.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest prototype) { + public static Builder newBuilder(com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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
    * [ListInstanceConfigOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigOperations].
@@ -529,34 +483,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest)
       com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsRequest_fieldAccessorTable
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest.class,
-              com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest.Builder
-                  .class);
+              com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest.class, com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest.Builder.class);
     }
 
-    // Construct using
-    // com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest.newBuilder()
-    private Builder() {}
+    // Construct using com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest.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();
@@ -569,22 +522,19 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest
-        getDefaultInstanceForType() {
-      return com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest
-          .getDefaultInstance();
+    public com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest getDefaultInstanceForType() {
+      return com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest.getDefaultInstance();
     }
 
     @java.lang.Override
     public com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest build() {
-      com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest result =
-          buildPartial();
+      com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest result = buildPartial();
       if (!result.isInitialized()) {
         throw newUninitializedMessageException(result);
       }
@@ -593,17 +543,13 @@ public com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest
 
     @java.lang.Override
     public com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest buildPartial() {
-      com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest result =
-          new com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest result = new com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest result) {
+    private void buildPartial0(com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.parent_ = parent_;
@@ -623,52 +569,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.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest) {
-        return mergeFrom(
-            (com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest) other);
+      if (other instanceof com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest) {
+        return mergeFrom((com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest other) {
-      if (other
-          == com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest other) {
+      if (other == com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -713,37 +653,32 @@ 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 24:
-              {
-                pageSize_ = input.readInt32();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 24
-            case 34:
-              {
-                pageToken_ = input.readStringRequireUtf8();
-                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: {
+              filter_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 24: {
+              pageSize_ = input.readInt32();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 24
+            case 34: {
+              pageToken_ = 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) {
@@ -753,28 +688,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The project of the instance config operations.
      * 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; @@ -783,24 +713,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The project of the instance config operations.
      * 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 { @@ -808,41 +735,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The project of the instance config operations.
      * 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 project of the instance config operations.
      * 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() { @@ -852,24 +768,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The project of the instance config operations.
      * 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; @@ -879,8 +789,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * An expression that filters the list of returned operations.
      * A filter expression consists of a field name, a
@@ -922,13 +830,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; @@ -937,8 +845,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * An expression that filters the list of returned operations.
      * A filter expression consists of a field name, a
@@ -980,14 +886,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 { @@ -995,8 +902,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * An expression that filters the list of returned operations.
      * A filter expression consists of a field name, a
@@ -1038,22 +943,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; } /** - * - * *
      * An expression that filters the list of returned operations.
      * A filter expression consists of a field name, a
@@ -1095,7 +996,6 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 2; - * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1105,8 +1005,6 @@ public Builder clearFilter() { return this; } /** - * - * *
      * An expression that filters the list of returned operations.
      * A filter expression consists of a field name, a
@@ -1148,14 +1046,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; @@ -1163,17 +1059,14 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Number of operations to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -1181,35 +1074,29 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Number of operations to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 3; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Number of operations to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 3; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -1221,8 +1108,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.next_page_token]
@@ -1232,13 +1117,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4; - * * @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; @@ -1247,8 +1132,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.next_page_token]
@@ -1258,14 +1141,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; - * * @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,8 +1157,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.next_page_token]
@@ -1284,22 +1166,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 4; - * * @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; } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.next_page_token]
@@ -1309,7 +1187,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 4; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1319,8 +1196,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.next_page_token]
@@ -1330,23 +1205,21 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; - * * @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); } @@ -1356,44 +1229,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest) - private static final com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest - DEFAULT_INSTANCE; - + private static final com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest(); + DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest(); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest - getDefaultInstance() { + public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListInstanceConfigOperationsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListInstanceConfigOperationsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1405,8 +1275,9 @@ public com.google.protobuf.Parser getParser } @java.lang.Override - public com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest - getDefaultInstanceForType() { + public com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsRequestOrBuilder.java similarity index 84% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsRequestOrBuilder.java index 3e79ae5fff3..c140cb8bca8 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsRequestOrBuilder.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/spanner/admin/instance/v1/spanner_instance_admin.proto package com.google.spanner.admin.instance.v1; -public interface ListInstanceConfigOperationsRequestOrBuilder - extends +public interface ListInstanceConfigOperationsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The project of the instance config operations.
    * 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 project of the instance config operations.
    * 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(); /** - * - * *
    * An expression that filters the list of returned operations.
    * A filter expression consists of a field name, a
@@ -98,13 +71,10 @@ public interface ListInstanceConfigOperationsRequestOrBuilder
    * 
* * string filter = 2; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * An expression that filters the list of returned operations.
    * A filter expression consists of a field name, a
@@ -146,28 +116,23 @@ public interface ListInstanceConfigOperationsRequestOrBuilder
    * 
* * string filter = 2; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Number of operations to be returned in the response. If 0 or
    * less, defaults to the server's maximum allowed page size.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.next_page_token]
@@ -177,13 +142,10 @@ public interface ListInstanceConfigOperationsRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.next_page_token]
@@ -193,8 +155,8 @@ public interface ListInstanceConfigOperationsRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsResponse.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsResponse.java similarity index 73% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsResponse.java index f120ee9ea3b..78f69dda50f 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsResponse.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/spanner/admin/instance/v1/spanner_instance_admin.proto package com.google.spanner.admin.instance.v1; /** - * - * *
  * The response for
  * [ListInstanceConfigOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigOperations].
@@ -28,18 +11,15 @@
  *
  * Protobuf type {@code google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse}
  */
-public final class ListInstanceConfigOperationsResponse
-    extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListInstanceConfigOperationsResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse)
     ListInstanceConfigOperationsResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListInstanceConfigOperationsResponse.newBuilder() to construct.
-  private ListInstanceConfigOperationsResponse(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private ListInstanceConfigOperationsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListInstanceConfigOperationsResponse() {
     operations_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -47,38 +27,33 @@ private ListInstanceConfigOperationsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListInstanceConfigOperationsResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsResponse_fieldAccessorTable
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.class,
-            com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.Builder
-                .class);
+            com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.class, com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.Builder.class);
   }
 
   public static final int OPERATIONS_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private java.util.List operations_;
   /**
-   *
-   *
    * 
    * The list of matching instance config [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -94,8 +69,6 @@ public java.util.List getOperationsList() {
     return operations_;
   }
   /**
-   *
-   *
    * 
    * The list of matching instance config [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -107,13 +80,11 @@ public java.util.List getOperationsList() {
    * repeated .google.longrunning.Operation operations = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getOperationsOrBuilderList() {
     return operations_;
   }
   /**
-   *
-   *
    * 
    * The list of matching instance config [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -129,8 +100,6 @@ public int getOperationsCount() {
     return operations_.size();
   }
   /**
-   *
-   *
    * 
    * The list of matching instance config [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -146,8 +115,6 @@ public com.google.longrunning.Operation getOperations(int index) {
     return operations_.get(index);
   }
   /**
-   *
-   *
    * 
    * The list of matching instance config [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -159,17 +126,15 @@ public com.google.longrunning.Operation getOperations(int index) {
    * repeated .google.longrunning.Operation operations = 1;
    */
   @java.lang.Override
-  public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(int index) {
+  public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(
+      int index) {
     return operations_.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
    * [ListInstanceConfigOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigOperations]
@@ -177,7 +142,6 @@ public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(int inde
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -186,15 +150,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
    * [ListInstanceConfigOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigOperations]
@@ -202,15 +165,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 { @@ -219,7 +183,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -231,7 +194,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < operations_.size(); i++) { output.writeMessage(1, operations_.get(i)); } @@ -248,7 +212,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < operations_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, operations_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, operations_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -261,17 +226,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.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse)) { + if (!(obj instanceof com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse)) { return super.equals(obj); } - com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse other = - (com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse) obj; + com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse other = (com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse) obj; - if (!getOperationsList().equals(other.getOperationsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getOperationsList() + .equals(other.getOperationsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -295,105 +260,96 @@ public int hashCode() { } public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse - 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.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse 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.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse prototype) { + public static Builder newBuilder(com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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
    * [ListInstanceConfigOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigOperations].
@@ -401,34 +357,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse)
       com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsResponse_fieldAccessorTable
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.class,
-              com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.Builder
-                  .class);
+              com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.class, com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.Builder.class);
     }
 
-    // Construct using
-    // com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.newBuilder()
-    private Builder() {}
+    // Construct using com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.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();
@@ -445,22 +400,19 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsResponse_descriptor;
     }
 
     @java.lang.Override
-    public com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse
-        getDefaultInstanceForType() {
-      return com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse
-          .getDefaultInstance();
+    public com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse getDefaultInstanceForType() {
+      return com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.getDefaultInstance();
     }
 
     @java.lang.Override
     public com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse build() {
-      com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse result =
-          buildPartial();
+      com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse result = buildPartial();
       if (!result.isInitialized()) {
         throw newUninitializedMessageException(result);
       }
@@ -468,20 +420,15 @@ public com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse
     }
 
     @java.lang.Override
-    public com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse
-        buildPartial() {
-      com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse result =
-          new com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse(this);
+    public com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse buildPartial() {
+      com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse result = new com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse result) {
+    private void buildPartialRepeatedFields(com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse result) {
       if (operationsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           operations_ = java.util.Collections.unmodifiableList(operations_);
@@ -493,8 +440,7 @@ private void buildPartialRepeatedFields(
       }
     }
 
-    private void buildPartial0(
-        com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse result) {
+    private void buildPartial0(com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000002) != 0)) {
         result.nextPageToken_ = nextPageToken_;
@@ -505,52 +451,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.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse) {
-        return mergeFrom(
-            (com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse) other);
+      if (other instanceof com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse) {
+        return mergeFrom((com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse other) {
-      if (other
-          == com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse other) {
+      if (other == com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.getDefaultInstance()) return this;
       if (operationsBuilder_ == null) {
         if (!other.operations_.isEmpty()) {
           if (operations_.isEmpty()) {
@@ -569,10 +509,9 @@ public Builder mergeFrom(
             operationsBuilder_ = null;
             operations_ = other.operations_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            operationsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getOperationsFieldBuilder()
-                    : null;
+            operationsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getOperationsFieldBuilder() : null;
           } else {
             operationsBuilder_.addAllMessages(other.operations_);
           }
@@ -609,31 +548,30 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.longrunning.Operation m =
-                    input.readMessage(com.google.longrunning.Operation.parser(), extensionRegistry);
-                if (operationsBuilder_ == null) {
-                  ensureOperationsIsMutable();
-                  operations_.add(m);
-                } else {
-                  operationsBuilder_.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.longrunning.Operation m =
+                  input.readMessage(
+                      com.google.longrunning.Operation.parser(),
+                      extensionRegistry);
+              if (operationsBuilder_ == null) {
+                ensureOperationsIsMutable();
+                operations_.add(m);
+              } else {
+                operationsBuilder_.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) {
@@ -643,28 +581,21 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List operations_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureOperationsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         operations_ = new java.util.ArrayList(operations_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.longrunning.Operation,
-            com.google.longrunning.Operation.Builder,
-            com.google.longrunning.OperationOrBuilder>
-        operationsBuilder_;
+        com.google.longrunning.Operation, com.google.longrunning.Operation.Builder, com.google.longrunning.OperationOrBuilder> operationsBuilder_;
 
     /**
-     *
-     *
      * 
      * The list of matching instance config [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -683,8 +614,6 @@ public java.util.List getOperationsList() {
       }
     }
     /**
-     *
-     *
      * 
      * The list of matching instance config [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -703,8 +632,6 @@ public int getOperationsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The list of matching instance config [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -723,8 +650,6 @@ public com.google.longrunning.Operation getOperations(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The list of matching instance config [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -735,7 +660,8 @@ public com.google.longrunning.Operation getOperations(int index) {
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public Builder setOperations(int index, com.google.longrunning.Operation value) {
+    public Builder setOperations(
+        int index, com.google.longrunning.Operation value) {
       if (operationsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -749,8 +675,6 @@ public Builder setOperations(int index, com.google.longrunning.Operation value)
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching instance config [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -773,8 +697,6 @@ public Builder setOperations(
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching instance config [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -799,8 +721,6 @@ public Builder addOperations(com.google.longrunning.Operation value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching instance config [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -811,7 +731,8 @@ public Builder addOperations(com.google.longrunning.Operation value) {
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public Builder addOperations(int index, com.google.longrunning.Operation value) {
+    public Builder addOperations(
+        int index, com.google.longrunning.Operation value) {
       if (operationsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -825,8 +746,6 @@ public Builder addOperations(int index, com.google.longrunning.Operation value)
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching instance config [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -837,7 +756,8 @@ public Builder addOperations(int index, com.google.longrunning.Operation value)
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public Builder addOperations(com.google.longrunning.Operation.Builder builderForValue) {
+    public Builder addOperations(
+        com.google.longrunning.Operation.Builder builderForValue) {
       if (operationsBuilder_ == null) {
         ensureOperationsIsMutable();
         operations_.add(builderForValue.build());
@@ -848,8 +768,6 @@ public Builder addOperations(com.google.longrunning.Operation.Builder builderFor
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching instance config [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -872,8 +790,6 @@ public Builder addOperations(
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching instance config [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -888,7 +804,8 @@ public Builder addAllOperations(
         java.lang.Iterable values) {
       if (operationsBuilder_ == null) {
         ensureOperationsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, operations_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, operations_);
         onChanged();
       } else {
         operationsBuilder_.addAllMessages(values);
@@ -896,8 +813,6 @@ public Builder addAllOperations(
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching instance config [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -919,8 +834,6 @@ public Builder clearOperations() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching instance config [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -942,8 +855,6 @@ public Builder removeOperations(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of matching instance config [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -954,12 +865,11 @@ public Builder removeOperations(int index) {
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public com.google.longrunning.Operation.Builder getOperationsBuilder(int index) {
+    public com.google.longrunning.Operation.Builder getOperationsBuilder(
+        int index) {
       return getOperationsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The list of matching instance config [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -970,16 +880,14 @@ public com.google.longrunning.Operation.Builder getOperationsBuilder(int index)
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(int index) {
+    public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(
+        int index) {
       if (operationsBuilder_ == null) {
-        return operations_.get(index);
-      } else {
+        return operations_.get(index);  } else {
         return operationsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The list of matching instance config [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -990,8 +898,8 @@ public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(int inde
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public java.util.List
-        getOperationsOrBuilderList() {
+    public java.util.List 
+         getOperationsOrBuilderList() {
       if (operationsBuilder_ != null) {
         return operationsBuilder_.getMessageOrBuilderList();
       } else {
@@ -999,8 +907,6 @@ public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(int inde
       }
     }
     /**
-     *
-     *
      * 
      * The list of matching instance config [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -1012,12 +918,10 @@ public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(int inde
      * repeated .google.longrunning.Operation operations = 1;
      */
     public com.google.longrunning.Operation.Builder addOperationsBuilder() {
-      return getOperationsFieldBuilder()
-          .addBuilder(com.google.longrunning.Operation.getDefaultInstance());
+      return getOperationsFieldBuilder().addBuilder(
+          com.google.longrunning.Operation.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The list of matching instance config [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -1028,13 +932,12 @@ public com.google.longrunning.Operation.Builder addOperationsBuilder() {
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public com.google.longrunning.Operation.Builder addOperationsBuilder(int index) {
-      return getOperationsFieldBuilder()
-          .addBuilder(index, com.google.longrunning.Operation.getDefaultInstance());
+    public com.google.longrunning.Operation.Builder addOperationsBuilder(
+        int index) {
+      return getOperationsFieldBuilder().addBuilder(
+          index, com.google.longrunning.Operation.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The list of matching instance config [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -1045,22 +948,20 @@ public com.google.longrunning.Operation.Builder addOperationsBuilder(int index)
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public java.util.List getOperationsBuilderList() {
+    public java.util.List 
+         getOperationsBuilderList() {
       return getOperationsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.longrunning.Operation,
-            com.google.longrunning.Operation.Builder,
-            com.google.longrunning.OperationOrBuilder>
+        com.google.longrunning.Operation, com.google.longrunning.Operation.Builder, com.google.longrunning.OperationOrBuilder> 
         getOperationsFieldBuilder() {
       if (operationsBuilder_ == null) {
-        operationsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.longrunning.Operation,
-                com.google.longrunning.Operation.Builder,
-                com.google.longrunning.OperationOrBuilder>(
-                operations_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        operationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.longrunning.Operation, com.google.longrunning.Operation.Builder, com.google.longrunning.OperationOrBuilder>(
+                operations_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         operations_ = null;
       }
       return operationsBuilder_;
@@ -1068,8 +969,6 @@ public java.util.List getOperationsBui
 
     private java.lang.Object nextPageToken_ = "";
     /**
-     *
-     *
      * 
      * `next_page_token` can be sent in a subsequent
      * [ListInstanceConfigOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigOperations]
@@ -1077,13 +976,13 @@ public java.util.List getOperationsBui
      * 
* * 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; @@ -1092,8 +991,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListInstanceConfigOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigOperations]
@@ -1101,14 +998,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 { @@ -1116,8 +1014,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListInstanceConfigOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigOperations]
@@ -1125,22 +1021,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
      * [ListInstanceConfigOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigOperations]
@@ -1148,7 +1040,6 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1158,8 +1049,6 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListInstanceConfigOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigOperations]
@@ -1167,23 +1056,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); } @@ -1193,44 +1080,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse) } // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse) - private static final com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse - DEFAULT_INSTANCE; - + private static final com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse(); + DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse(); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse - getDefaultInstance() { + public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListInstanceConfigOperationsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListInstanceConfigOperationsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1242,8 +1126,9 @@ public com.google.protobuf.Parser getParse } @java.lang.Override - public com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse - getDefaultInstanceForType() { + public com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsResponseOrBuilder.java similarity index 78% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsResponseOrBuilder.java index f7d1c09b612..356a5ae4231 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsResponseOrBuilder.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/spanner/admin/instance/v1/spanner_instance_admin.proto package com.google.spanner.admin.instance.v1; -public interface ListInstanceConfigOperationsResponseOrBuilder - extends +public interface ListInstanceConfigOperationsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of matching instance config [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -36,10 +18,9 @@ public interface ListInstanceConfigOperationsResponseOrBuilder
    *
    * repeated .google.longrunning.Operation operations = 1;
    */
-  java.util.List getOperationsList();
+  java.util.List 
+      getOperationsList();
   /**
-   *
-   *
    * 
    * The list of matching instance config [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -52,8 +33,6 @@ public interface ListInstanceConfigOperationsResponseOrBuilder
    */
   com.google.longrunning.Operation getOperations(int index);
   /**
-   *
-   *
    * 
    * The list of matching instance config [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -66,8 +45,6 @@ public interface ListInstanceConfigOperationsResponseOrBuilder
    */
   int getOperationsCount();
   /**
-   *
-   *
    * 
    * The list of matching instance config [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -78,10 +55,9 @@ public interface ListInstanceConfigOperationsResponseOrBuilder
    *
    * repeated .google.longrunning.Operation operations = 1;
    */
-  java.util.List getOperationsOrBuilderList();
+  java.util.List 
+      getOperationsOrBuilderList();
   /**
-   *
-   *
    * 
    * The list of matching instance config [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -92,11 +68,10 @@ public interface ListInstanceConfigOperationsResponseOrBuilder
    *
    * repeated .google.longrunning.Operation operations = 1;
    */
-  com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(int index);
+  com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * `next_page_token` can be sent in a subsequent
    * [ListInstanceConfigOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigOperations]
@@ -104,13 +79,10 @@ public interface ListInstanceConfigOperationsResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * `next_page_token` can be sent in a subsequent
    * [ListInstanceConfigOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigOperations]
@@ -118,8 +90,8 @@ public interface ListInstanceConfigOperationsResponseOrBuilder
    * 
* * 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-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsRequest.java similarity index 67% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsRequest.java index ccfd7f89e98..dc5810a5dd6 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsRequest.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/spanner/admin/instance/v1/spanner_instance_admin.proto package com.google.spanner.admin.instance.v1; /** - * - * *
  * The request for
  * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.spanner.admin.instance.v1.ListInstanceConfigsRequest}
  */
-public final class ListInstanceConfigsRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListInstanceConfigsRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.instance.v1.ListInstanceConfigsRequest)
     ListInstanceConfigsRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListInstanceConfigsRequest.newBuilder() to construct.
   private ListInstanceConfigsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListInstanceConfigsRequest() {
     parent_ = "";
     pageToken_ = "";
@@ -45,47 +27,40 @@ private ListInstanceConfigsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListInstanceConfigsRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsRequest_fieldAccessorTable
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest.class,
-            com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest.Builder.class);
+            com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest.class, com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. The name of the project for which a list of supported instance
    * configurations 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 @@ -94,33 +69,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 project for which a list of supported instance
    * configurations 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 { @@ -131,15 +104,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * Number of instance configurations to be returned in the response. If 0 or
    * less, defaults to the server's maximum allowed page size.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -148,12 +118,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.instance.v1.ListInstanceConfigsResponse.next_page_token]
@@ -162,7 +129,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -171,15 +137,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.spanner.admin.instance.v1.ListInstanceConfigsResponse.next_page_token]
@@ -188,15 +153,16 @@ public java.lang.String getPageToken() {
    * 
* * 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 { @@ -205,7 +171,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -217,7 +182,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -240,7 +206,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -253,17 +220,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest)) { return super.equals(obj); } - com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest other = - (com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest) obj; + com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest other = (com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest) 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; } @@ -287,104 +256,96 @@ public int hashCode() { } public static com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest prototype) { + public static Builder newBuilder(com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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
    * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs].
@@ -392,32 +353,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.instance.v1.ListInstanceConfigsRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.instance.v1.ListInstanceConfigsRequest)
       com.google.spanner.admin.instance.v1.ListInstanceConfigsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsRequest_fieldAccessorTable
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest.class,
-              com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest.Builder.class);
+              com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest.class, com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -429,14 +391,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest
-        getDefaultInstanceForType() {
+    public com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest getDefaultInstanceForType() {
       return com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest.getDefaultInstance();
     }
 
@@ -451,17 +412,13 @@ public com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest build() {
 
     @java.lang.Override
     public com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest buildPartial() {
-      com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest result =
-          new com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest result = new com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest result) {
+    private void buildPartial0(com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.parent_ = parent_;
@@ -478,50 +435,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.spanner.admin.instance.v1.ListInstanceConfigsRequest) {
-        return mergeFrom((com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest) other);
+        return mergeFrom((com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest other) {
-      if (other
-          == com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest.getDefaultInstance())
-        return this;
+    public Builder mergeFrom(com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest other) {
+      if (other == com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -561,31 +514,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) {
@@ -595,29 +544,24 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the project for which a list of supported instance
      * configurations 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; @@ -626,25 +570,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the project for which a list of supported instance
      * configurations 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 { @@ -652,43 +593,32 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the project for which a list of supported instance
      * configurations 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 name of the project for which a list of supported instance
      * configurations 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() { @@ -698,25 +628,19 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The name of the project for which a list of supported instance
      * configurations 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; @@ -724,17 +648,14 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Number of instance configurations to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -742,35 +663,29 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Number of instance configurations to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Number of instance configurations to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -782,8 +697,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.instance.v1.ListInstanceConfigsResponse.next_page_token]
@@ -792,13 +705,13 @@ public Builder clearPageSize() {
      * 
* * 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; @@ -807,8 +720,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.instance.v1.ListInstanceConfigsResponse.next_page_token]
@@ -817,14 +728,15 @@ public java.lang.String getPageToken() {
      * 
* * 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 { @@ -832,8 +744,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.instance.v1.ListInstanceConfigsResponse.next_page_token]
@@ -842,22 +752,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * 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; } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.instance.v1.ListInstanceConfigsResponse.next_page_token]
@@ -866,7 +772,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -876,8 +781,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.instance.v1.ListInstanceConfigsResponse.next_page_token]
@@ -886,23 +789,21 @@ public Builder clearPageToken() {
      * 
* * 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); } @@ -912,43 +813,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.ListInstanceConfigsRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.ListInstanceConfigsRequest) - private static final com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest - DEFAULT_INSTANCE; - + private static final com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest(); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest - getDefaultInstance() { + public static com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListInstanceConfigsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListInstanceConfigsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -960,8 +859,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest - getDefaultInstanceForType() { + public com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsRequestOrBuilder.java similarity index 63% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsRequestOrBuilder.java index 1cdb7effce4..f5eaa7fdd12 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsRequestOrBuilder.java @@ -1,78 +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/spanner/admin/instance/v1/spanner_instance_admin.proto package com.google.spanner.admin.instance.v1; -public interface ListInstanceConfigsRequestOrBuilder - extends +public interface ListInstanceConfigsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.ListInstanceConfigsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the project for which a list of supported instance
    * configurations 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 name of the project for which a list of supported instance
    * configurations 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(); /** - * - * *
    * Number of instance configurations to be returned in the response. If 0 or
    * less, defaults to the server's maximum allowed page size.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.instance.v1.ListInstanceConfigsResponse.next_page_token]
@@ -81,13 +51,10 @@ public interface ListInstanceConfigsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.instance.v1.ListInstanceConfigsResponse.next_page_token]
@@ -96,8 +63,8 @@ public interface ListInstanceConfigsRequestOrBuilder
    * 
* * 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-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsResponse.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsResponse.java similarity index 72% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsResponse.java index d5611dd1e8d..166821da5fc 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsResponse.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/spanner/admin/instance/v1/spanner_instance_admin.proto package com.google.spanner.admin.instance.v1; /** - * - * *
  * The response for
  * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.spanner.admin.instance.v1.ListInstanceConfigsResponse}
  */
-public final class ListInstanceConfigsResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListInstanceConfigsResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.instance.v1.ListInstanceConfigsResponse)
     ListInstanceConfigsResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListInstanceConfigsResponse.newBuilder() to construct.
   private ListInstanceConfigsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListInstanceConfigsResponse() {
     instanceConfigs_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -45,37 +27,33 @@ private ListInstanceConfigsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListInstanceConfigsResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsResponse_fieldAccessorTable
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse.class,
-            com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse.Builder.class);
+            com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse.class, com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse.Builder.class);
   }
 
   public static final int INSTANCE_CONFIGS_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private java.util.List instanceConfigs_;
   /**
-   *
-   *
    * 
    * The list of requested instance configurations.
    * 
@@ -83,13 +61,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.spanner.admin.instance.v1.InstanceConfig instance_configs = 1; */ @java.lang.Override - public java.util.List - getInstanceConfigsList() { + public java.util.List getInstanceConfigsList() { return instanceConfigs_; } /** - * - * *
    * The list of requested instance configurations.
    * 
@@ -97,13 +72,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.spanner.admin.instance.v1.InstanceConfig instance_configs = 1; */ @java.lang.Override - public java.util.List + public java.util.List getInstanceConfigsOrBuilderList() { return instanceConfigs_; } /** - * - * *
    * The list of requested instance configurations.
    * 
@@ -115,8 +88,6 @@ public int getInstanceConfigsCount() { return instanceConfigs_.size(); } /** - * - * *
    * The list of requested instance configurations.
    * 
@@ -128,8 +99,6 @@ public com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfigs(in return instanceConfigs_.get(index); } /** - * - * *
    * The list of requested instance configurations.
    * 
@@ -143,12 +112,9 @@ public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceC } 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
    * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs]
@@ -156,7 +122,6 @@ public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceC
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -165,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; } } /** - * - * *
    * `next_page_token` can be sent in a subsequent
    * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs]
@@ -181,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 { @@ -198,7 +163,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -210,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 < instanceConfigs_.size(); i++) { output.writeMessage(1, instanceConfigs_.get(i)); } @@ -227,7 +192,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < instanceConfigs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, instanceConfigs_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, instanceConfigs_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -240,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.spanner.admin.instance.v1.ListInstanceConfigsResponse)) { return super.equals(obj); } - com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse other = - (com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse) obj; + com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse other = (com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse) obj; - if (!getInstanceConfigsList().equals(other.getInstanceConfigsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getInstanceConfigsList() + .equals(other.getInstanceConfigsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -273,104 +240,96 @@ public int hashCode() { } public static com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse prototype) { + public static Builder newBuilder(com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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
    * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs].
@@ -378,32 +337,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.instance.v1.ListInstanceConfigsResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.instance.v1.ListInstanceConfigsResponse)
       com.google.spanner.admin.instance.v1.ListInstanceConfigsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsResponse_fieldAccessorTable
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse.class,
-              com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse.Builder.class);
+              com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse.class, com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -420,14 +380,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsResponse_descriptor;
     }
 
     @java.lang.Override
-    public com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse
-        getDefaultInstanceForType() {
+    public com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse getDefaultInstanceForType() {
       return com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse.getDefaultInstance();
     }
 
@@ -442,18 +401,14 @@ public com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse build()
 
     @java.lang.Override
     public com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse buildPartial() {
-      com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse result =
-          new com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse(this);
+      com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse result = new com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse result) {
+    private void buildPartialRepeatedFields(com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse result) {
       if (instanceConfigsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           instanceConfigs_ = java.util.Collections.unmodifiableList(instanceConfigs_);
@@ -465,8 +420,7 @@ private void buildPartialRepeatedFields(
       }
     }
 
-    private void buildPartial0(
-        com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse result) {
+    private void buildPartial0(com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000002) != 0)) {
         result.nextPageToken_ = nextPageToken_;
@@ -477,50 +431,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.spanner.admin.instance.v1.ListInstanceConfigsResponse) {
-        return mergeFrom((com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse) other);
+        return mergeFrom((com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse other) {
-      if (other
-          == com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse.getDefaultInstance())
-        return this;
+    public Builder mergeFrom(com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse other) {
+      if (other == com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse.getDefaultInstance()) return this;
       if (instanceConfigsBuilder_ == null) {
         if (!other.instanceConfigs_.isEmpty()) {
           if (instanceConfigs_.isEmpty()) {
@@ -539,10 +489,9 @@ public Builder mergeFrom(
             instanceConfigsBuilder_ = null;
             instanceConfigs_ = other.instanceConfigs_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            instanceConfigsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getInstanceConfigsFieldBuilder()
-                    : null;
+            instanceConfigsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getInstanceConfigsFieldBuilder() : null;
           } else {
             instanceConfigsBuilder_.addAllMessages(other.instanceConfigs_);
           }
@@ -579,33 +528,30 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.spanner.admin.instance.v1.InstanceConfig m =
-                    input.readMessage(
-                        com.google.spanner.admin.instance.v1.InstanceConfig.parser(),
-                        extensionRegistry);
-                if (instanceConfigsBuilder_ == null) {
-                  ensureInstanceConfigsIsMutable();
-                  instanceConfigs_.add(m);
-                } else {
-                  instanceConfigsBuilder_.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.spanner.admin.instance.v1.InstanceConfig m =
+                  input.readMessage(
+                      com.google.spanner.admin.instance.v1.InstanceConfig.parser(),
+                      extensionRegistry);
+              if (instanceConfigsBuilder_ == null) {
+                ensureInstanceConfigsIsMutable();
+                instanceConfigs_.add(m);
+              } else {
+                instanceConfigsBuilder_.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) {
@@ -615,38 +561,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List instanceConfigs_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureInstanceConfigsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        instanceConfigs_ =
-            new java.util.ArrayList(
-                instanceConfigs_);
+        instanceConfigs_ = new java.util.ArrayList(instanceConfigs_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.spanner.admin.instance.v1.InstanceConfig,
-            com.google.spanner.admin.instance.v1.InstanceConfig.Builder,
-            com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder>
-        instanceConfigsBuilder_;
+        com.google.spanner.admin.instance.v1.InstanceConfig, com.google.spanner.admin.instance.v1.InstanceConfig.Builder, com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder> instanceConfigsBuilder_;
 
     /**
-     *
-     *
      * 
      * The list of requested instance configurations.
      * 
* * repeated .google.spanner.admin.instance.v1.InstanceConfig instance_configs = 1; */ - public java.util.List - getInstanceConfigsList() { + public java.util.List getInstanceConfigsList() { if (instanceConfigsBuilder_ == null) { return java.util.Collections.unmodifiableList(instanceConfigs_); } else { @@ -654,8 +590,6 @@ private void ensureInstanceConfigsIsMutable() { } } /** - * - * *
      * The list of requested instance configurations.
      * 
@@ -670,8 +604,6 @@ public int getInstanceConfigsCount() { } } /** - * - * *
      * The list of requested instance configurations.
      * 
@@ -686,8 +618,6 @@ public com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfigs(in } } /** - * - * *
      * The list of requested instance configurations.
      * 
@@ -709,8 +639,6 @@ public Builder setInstanceConfigs( return this; } /** - * - * *
      * The list of requested instance configurations.
      * 
@@ -729,8 +657,6 @@ public Builder setInstanceConfigs( return this; } /** - * - * *
      * The list of requested instance configurations.
      * 
@@ -751,8 +677,6 @@ public Builder addInstanceConfigs(com.google.spanner.admin.instance.v1.InstanceC return this; } /** - * - * *
      * The list of requested instance configurations.
      * 
@@ -774,8 +698,6 @@ public Builder addInstanceConfigs( return this; } /** - * - * *
      * The list of requested instance configurations.
      * 
@@ -794,8 +716,6 @@ public Builder addInstanceConfigs( return this; } /** - * - * *
      * The list of requested instance configurations.
      * 
@@ -814,8 +734,6 @@ public Builder addInstanceConfigs( return this; } /** - * - * *
      * The list of requested instance configurations.
      * 
@@ -826,7 +744,8 @@ public Builder addAllInstanceConfigs( java.lang.Iterable values) { if (instanceConfigsBuilder_ == null) { ensureInstanceConfigsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, instanceConfigs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, instanceConfigs_); onChanged(); } else { instanceConfigsBuilder_.addAllMessages(values); @@ -834,8 +753,6 @@ public Builder addAllInstanceConfigs( return this; } /** - * - * *
      * The list of requested instance configurations.
      * 
@@ -853,8 +770,6 @@ public Builder clearInstanceConfigs() { return this; } /** - * - * *
      * The list of requested instance configurations.
      * 
@@ -872,8 +787,6 @@ public Builder removeInstanceConfigs(int index) { return this; } /** - * - * *
      * The list of requested instance configurations.
      * 
@@ -885,8 +798,6 @@ public com.google.spanner.admin.instance.v1.InstanceConfig.Builder getInstanceCo return getInstanceConfigsFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of requested instance configurations.
      * 
@@ -896,22 +807,19 @@ public com.google.spanner.admin.instance.v1.InstanceConfig.Builder getInstanceCo public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceConfigsOrBuilder( int index) { if (instanceConfigsBuilder_ == null) { - return instanceConfigs_.get(index); - } else { + return instanceConfigs_.get(index); } else { return instanceConfigsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The list of requested instance configurations.
      * 
* * repeated .google.spanner.admin.instance.v1.InstanceConfig instance_configs = 1; */ - public java.util.List - getInstanceConfigsOrBuilderList() { + public java.util.List + getInstanceConfigsOrBuilderList() { if (instanceConfigsBuilder_ != null) { return instanceConfigsBuilder_.getMessageOrBuilderList(); } else { @@ -919,8 +827,6 @@ public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceC } } /** - * - * *
      * The list of requested instance configurations.
      * 
@@ -928,12 +834,10 @@ public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceC * repeated .google.spanner.admin.instance.v1.InstanceConfig instance_configs = 1; */ public com.google.spanner.admin.instance.v1.InstanceConfig.Builder addInstanceConfigsBuilder() { - return getInstanceConfigsFieldBuilder() - .addBuilder(com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance()); + return getInstanceConfigsFieldBuilder().addBuilder( + com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance()); } /** - * - * *
      * The list of requested instance configurations.
      * 
@@ -942,35 +846,26 @@ public com.google.spanner.admin.instance.v1.InstanceConfig.Builder addInstanceCo */ public com.google.spanner.admin.instance.v1.InstanceConfig.Builder addInstanceConfigsBuilder( int index) { - return getInstanceConfigsFieldBuilder() - .addBuilder( - index, com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance()); + return getInstanceConfigsFieldBuilder().addBuilder( + index, com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance()); } /** - * - * *
      * The list of requested instance configurations.
      * 
* * repeated .google.spanner.admin.instance.v1.InstanceConfig instance_configs = 1; */ - public java.util.List - getInstanceConfigsBuilderList() { + public java.util.List + getInstanceConfigsBuilderList() { return getInstanceConfigsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.admin.instance.v1.InstanceConfig, - com.google.spanner.admin.instance.v1.InstanceConfig.Builder, - com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder> + com.google.spanner.admin.instance.v1.InstanceConfig, com.google.spanner.admin.instance.v1.InstanceConfig.Builder, com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder> getInstanceConfigsFieldBuilder() { if (instanceConfigsBuilder_ == null) { - instanceConfigsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.admin.instance.v1.InstanceConfig, - com.google.spanner.admin.instance.v1.InstanceConfig.Builder, - com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder>( + instanceConfigsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.spanner.admin.instance.v1.InstanceConfig, com.google.spanner.admin.instance.v1.InstanceConfig.Builder, com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder>( instanceConfigs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -982,8 +877,6 @@ public com.google.spanner.admin.instance.v1.InstanceConfig.Builder addInstanceCo private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs]
@@ -991,13 +884,13 @@ public com.google.spanner.admin.instance.v1.InstanceConfig.Builder addInstanceCo
      * 
* * 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; @@ -1006,8 +899,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs]
@@ -1015,14 +906,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 { @@ -1030,8 +922,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs]
@@ -1039,22 +929,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
      * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs]
@@ -1062,7 +948,6 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1072,8 +957,6 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs]
@@ -1081,23 +964,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); } @@ -1107,43 +988,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.ListInstanceConfigsResponse) } // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.ListInstanceConfigsResponse) - private static final com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse - DEFAULT_INSTANCE; - + private static final com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse(); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse - getDefaultInstance() { + public static com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListInstanceConfigsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListInstanceConfigsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1155,8 +1034,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse - getDefaultInstanceForType() { + public com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsResponseOrBuilder.java similarity index 73% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsResponseOrBuilder.java index 10593e8253d..626758766ce 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsResponseOrBuilder.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/spanner/admin/instance/v1/spanner_instance_admin.proto package com.google.spanner.admin.instance.v1; -public interface ListInstanceConfigsResponseOrBuilder - extends +public interface ListInstanceConfigsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.ListInstanceConfigsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of requested instance configurations.
    * 
* * repeated .google.spanner.admin.instance.v1.InstanceConfig instance_configs = 1; */ - java.util.List getInstanceConfigsList(); + java.util.List + getInstanceConfigsList(); /** - * - * *
    * The list of requested instance configurations.
    * 
@@ -44,8 +25,6 @@ public interface ListInstanceConfigsResponseOrBuilder */ com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfigs(int index); /** - * - * *
    * The list of requested instance configurations.
    * 
@@ -54,19 +33,15 @@ public interface ListInstanceConfigsResponseOrBuilder */ int getInstanceConfigsCount(); /** - * - * *
    * The list of requested instance configurations.
    * 
* * repeated .google.spanner.admin.instance.v1.InstanceConfig instance_configs = 1; */ - java.util.List + java.util.List getInstanceConfigsOrBuilderList(); /** - * - * *
    * The list of requested instance configurations.
    * 
@@ -77,8 +52,6 @@ com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceConfigsO int index); /** - * - * *
    * `next_page_token` can be sent in a subsequent
    * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs]
@@ -86,13 +59,10 @@ com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceConfigsO
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * `next_page_token` can be sent in a subsequent
    * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs]
@@ -100,8 +70,8 @@ com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceConfigsO
    * 
* * 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-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesRequest.java similarity index 74% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesRequest.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesRequest.java index 2ba8ebb3487..4f7646c1358 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesRequest.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/spanner/admin/instance/v1/spanner_instance_admin.proto package com.google.spanner.admin.instance.v1; /** - * - * *
  * The request for
  * [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.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_ = "";
@@ -46,46 +28,39 @@ private ListInstancesRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListInstancesRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_ListInstancesRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstancesRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_ListInstancesRequest_fieldAccessorTable
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstancesRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.instance.v1.ListInstancesRequest.class,
-            com.google.spanner.admin.instance.v1.ListInstancesRequest.Builder.class);
+            com.google.spanner.admin.instance.v1.ListInstancesRequest.class, com.google.spanner.admin.instance.v1.ListInstancesRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. The 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 @@ -94,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 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 { @@ -130,15 +103,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * Number of instances to be returned in the response. If 0 or less, defaults
    * to the server's maximum allowed page size.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -147,12 +117,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.instance.v1.ListInstancesResponse.next_page_token]
@@ -161,7 +128,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -170,15 +136,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.spanner.admin.instance.v1.ListInstancesResponse.next_page_token]
@@ -187,15 +152,16 @@ public java.lang.String getPageToken() {
    * 
* * 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 { @@ -204,12 +170,9 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } public static final int FILTER_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -230,7 +193,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * 
* * string filter = 4; - * * @return The filter. */ @java.lang.Override @@ -239,15 +201,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; } } /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -268,15 +229,16 @@ public java.lang.String getFilter() {
    * 
* * string filter = 4; - * * @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 { @@ -285,7 +247,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -297,7 +258,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -323,7 +285,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_); @@ -339,18 +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.spanner.admin.instance.v1.ListInstancesRequest)) { return super.equals(obj); } - com.google.spanner.admin.instance.v1.ListInstancesRequest other = - (com.google.spanner.admin.instance.v1.ListInstancesRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getFilter().equals(other.getFilter())) return false; + com.google.spanner.admin.instance.v1.ListInstancesRequest other = (com.google.spanner.admin.instance.v1.ListInstancesRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -376,104 +342,96 @@ public int hashCode() { } public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.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.spanner.admin.instance.v1.ListInstancesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.ListInstancesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.ListInstancesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.ListInstancesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.ListInstancesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.ListInstancesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.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.spanner.admin.instance.v1.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.spanner.admin.instance.v1.ListInstancesRequest prototype) { + public static Builder newBuilder(com.google.spanner.admin.instance.v1.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; } /** - * - * *
    * The request for
    * [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances].
@@ -481,32 +439,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.ListInstancesRequest)
       com.google.spanner.admin.instance.v1.ListInstancesRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_ListInstancesRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstancesRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_ListInstancesRequest_fieldAccessorTable
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstancesRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.instance.v1.ListInstancesRequest.class,
-              com.google.spanner.admin.instance.v1.ListInstancesRequest.Builder.class);
+              com.google.spanner.admin.instance.v1.ListInstancesRequest.class, com.google.spanner.admin.instance.v1.ListInstancesRequest.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.instance.v1.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();
@@ -519,9 +478,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_ListInstancesRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstancesRequest_descriptor;
     }
 
     @java.lang.Override
@@ -540,11 +499,8 @@ public com.google.spanner.admin.instance.v1.ListInstancesRequest build() {
 
     @java.lang.Override
     public com.google.spanner.admin.instance.v1.ListInstancesRequest buildPartial() {
-      com.google.spanner.admin.instance.v1.ListInstancesRequest result =
-          new com.google.spanner.admin.instance.v1.ListInstancesRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.admin.instance.v1.ListInstancesRequest result = new com.google.spanner.admin.instance.v1.ListInstancesRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -569,39 +525,38 @@ private void buildPartial0(com.google.spanner.admin.instance.v1.ListInstancesReq
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.instance.v1.ListInstancesRequest) {
-        return mergeFrom((com.google.spanner.admin.instance.v1.ListInstancesRequest) other);
+        return mergeFrom((com.google.spanner.admin.instance.v1.ListInstancesRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -609,8 +564,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.spanner.admin.instance.v1.ListInstancesRequest other) {
-      if (other == com.google.spanner.admin.instance.v1.ListInstancesRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.spanner.admin.instance.v1.ListInstancesRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -655,37 +609,32 @@ 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
-            case 34:
-              {
-                filter_ = input.readStringRequireUtf8();
-                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 16: {
+              pageSize_ = input.readInt32();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 16
+            case 26: {
+              pageToken_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              filter_ = 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) {
@@ -695,28 +644,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The 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; @@ -725,24 +669,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The 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 { @@ -750,41 +691,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The 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 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() { @@ -794,24 +724,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The 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; @@ -819,17 +743,14 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Number of instances to be returned in the response. If 0 or less, defaults
      * to the server's maximum allowed page size.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -837,35 +758,29 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Number of instances to be returned in the response. If 0 or less, defaults
      * to the server's maximum allowed page size.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Number of instances to be returned in the response. If 0 or less, defaults
      * to the server's maximum allowed page size.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -877,8 +792,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.instance.v1.ListInstancesResponse.next_page_token]
@@ -887,13 +800,13 @@ public Builder clearPageSize() {
      * 
* * 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; @@ -902,8 +815,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.instance.v1.ListInstancesResponse.next_page_token]
@@ -912,14 +823,15 @@ public java.lang.String getPageToken() {
      * 
* * 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 { @@ -927,8 +839,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.instance.v1.ListInstancesResponse.next_page_token]
@@ -937,22 +847,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * 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; } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.instance.v1.ListInstancesResponse.next_page_token]
@@ -961,7 +867,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -971,8 +876,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.instance.v1.ListInstancesResponse.next_page_token]
@@ -981,14 +884,12 @@ public Builder clearPageToken() {
      * 
* * 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; @@ -998,8 +899,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -1020,13 +919,13 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
      * 
* * string filter = 4; - * * @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; @@ -1035,8 +934,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -1057,14 +954,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 4; - * * @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 { @@ -1072,8 +970,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -1094,22 +990,18 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 4; - * * @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_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -1130,7 +1022,6 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 4; - * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1140,8 +1031,6 @@ public Builder clearFilter() { return this; } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -1162,23 +1051,21 @@ public Builder clearFilter() {
      * 
* * string filter = 4; - * * @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_ |= 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); } @@ -1188,12 +1075,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.ListInstancesRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.ListInstancesRequest) private static final com.google.spanner.admin.instance.v1.ListInstancesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.ListInstancesRequest(); } @@ -1202,27 +1089,27 @@ public static com.google.spanner.admin.instance.v1.ListInstancesRequest getDefau 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; @@ -1237,4 +1124,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.instance.v1.ListInstancesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesRequestOrBuilder.java similarity index 76% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesRequestOrBuilder.java index fe48b843731..582a662bbab 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesRequestOrBuilder.java @@ -1,76 +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/spanner/admin/instance/v1/spanner_instance_admin.proto package com.google.spanner.admin.instance.v1; -public interface ListInstancesRequestOrBuilder - extends +public interface ListInstancesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.ListInstancesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The 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 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(); /** - * - * *
    * Number of instances to be returned in the response. If 0 or less, defaults
    * to the server's maximum allowed page size.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.instance.v1.ListInstancesResponse.next_page_token]
@@ -79,13 +49,10 @@ public interface ListInstancesRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.instance.v1.ListInstancesResponse.next_page_token]
@@ -94,14 +61,12 @@ public interface ListInstancesRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -122,13 +87,10 @@ public interface ListInstancesRequestOrBuilder
    * 
* * string filter = 4; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -149,8 +111,8 @@ public interface ListInstancesRequestOrBuilder
    * 
* * string filter = 4; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); } diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesResponse.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesResponse.java similarity index 72% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesResponse.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesResponse.java index 89519d1b539..ea8be22d677 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesResponse.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/spanner/admin/instance/v1/spanner_instance_admin.proto package com.google.spanner.admin.instance.v1; /** - * - * *
  * The response for
  * [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.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();
     nextPageToken_ = "";
@@ -45,37 +27,33 @@ private ListInstancesResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListInstancesResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_ListInstancesResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstancesResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_ListInstancesResponse_fieldAccessorTable
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstancesResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.instance.v1.ListInstancesResponse.class,
-            com.google.spanner.admin.instance.v1.ListInstancesResponse.Builder.class);
+            com.google.spanner.admin.instance.v1.ListInstancesResponse.class, com.google.spanner.admin.instance.v1.ListInstancesResponse.Builder.class);
   }
 
   public static final int INSTANCES_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private java.util.List instances_;
   /**
-   *
-   *
    * 
    * The list of requested instances.
    * 
@@ -87,8 +65,6 @@ public java.util.List getInstance return instances_; } /** - * - * *
    * The list of requested instances.
    * 
@@ -96,13 +72,11 @@ public java.util.List getInstance * repeated .google.spanner.admin.instance.v1.Instance instances = 1; */ @java.lang.Override - public java.util.List + public java.util.List getInstancesOrBuilderList() { return instances_; } /** - * - * *
    * The list of requested instances.
    * 
@@ -114,8 +88,6 @@ public int getInstancesCount() { return instances_.size(); } /** - * - * *
    * The list of requested instances.
    * 
@@ -127,8 +99,6 @@ public com.google.spanner.admin.instance.v1.Instance getInstances(int index) { return instances_.get(index); } /** - * - * *
    * The list of requested instances.
    * 
@@ -136,17 +106,15 @@ public com.google.spanner.admin.instance.v1.Instance getInstances(int index) { * repeated .google.spanner.admin.instance.v1.Instance instances = 1; */ @java.lang.Override - public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstancesOrBuilder(int index) { + public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstancesOrBuilder( + int index) { return instances_.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
    * [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances]
@@ -154,7 +122,6 @@ public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstancesOrBuil
    * 
* * 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; } } /** - * - * *
    * `next_page_token` can be sent in a subsequent
    * [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances]
@@ -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 < instances_.size(); i++) { output.writeMessage(1, instances_.get(i)); } @@ -225,7 +192,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)); } 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.spanner.admin.instance.v1.ListInstancesResponse)) { return super.equals(obj); } - com.google.spanner.admin.instance.v1.ListInstancesResponse other = - (com.google.spanner.admin.instance.v1.ListInstancesResponse) obj; + com.google.spanner.admin.instance.v1.ListInstancesResponse other = (com.google.spanner.admin.instance.v1.ListInstancesResponse) obj; - if (!getInstancesList().equals(other.getInstancesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getInstancesList() + .equals(other.getInstancesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -271,104 +240,96 @@ public int hashCode() { } public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.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.spanner.admin.instance.v1.ListInstancesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.ListInstancesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.ListInstancesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.ListInstancesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.ListInstancesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.ListInstancesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.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.spanner.admin.instance.v1.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.spanner.admin.instance.v1.ListInstancesResponse prototype) { + public static Builder newBuilder(com.google.spanner.admin.instance.v1.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; } /** - * - * *
    * The response for
    * [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances].
@@ -376,32 +337,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.ListInstancesResponse)
       com.google.spanner.admin.instance.v1.ListInstancesResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_ListInstancesResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstancesResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_ListInstancesResponse_fieldAccessorTable
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstancesResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.instance.v1.ListInstancesResponse.class,
-              com.google.spanner.admin.instance.v1.ListInstancesResponse.Builder.class);
+              com.google.spanner.admin.instance.v1.ListInstancesResponse.class, com.google.spanner.admin.instance.v1.ListInstancesResponse.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.instance.v1.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();
@@ -418,9 +380,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_ListInstancesResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstancesResponse_descriptor;
     }
 
     @java.lang.Override
@@ -439,18 +401,14 @@ public com.google.spanner.admin.instance.v1.ListInstancesResponse build() {
 
     @java.lang.Override
     public com.google.spanner.admin.instance.v1.ListInstancesResponse buildPartial() {
-      com.google.spanner.admin.instance.v1.ListInstancesResponse result =
-          new com.google.spanner.admin.instance.v1.ListInstancesResponse(this);
+      com.google.spanner.admin.instance.v1.ListInstancesResponse result = new com.google.spanner.admin.instance.v1.ListInstancesResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.spanner.admin.instance.v1.ListInstancesResponse result) {
+    private void buildPartialRepeatedFields(com.google.spanner.admin.instance.v1.ListInstancesResponse result) {
       if (instancesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           instances_ = java.util.Collections.unmodifiableList(instances_);
@@ -473,39 +431,38 @@ private void buildPartial0(com.google.spanner.admin.instance.v1.ListInstancesRes
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.instance.v1.ListInstancesResponse) {
-        return mergeFrom((com.google.spanner.admin.instance.v1.ListInstancesResponse) other);
+        return mergeFrom((com.google.spanner.admin.instance.v1.ListInstancesResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -513,8 +470,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.spanner.admin.instance.v1.ListInstancesResponse other) {
-      if (other == com.google.spanner.admin.instance.v1.ListInstancesResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.spanner.admin.instance.v1.ListInstancesResponse.getDefaultInstance()) return this;
       if (instancesBuilder_ == null) {
         if (!other.instances_.isEmpty()) {
           if (instances_.isEmpty()) {
@@ -533,10 +489,9 @@ public Builder mergeFrom(com.google.spanner.admin.instance.v1.ListInstancesRespo
             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_);
           }
@@ -573,32 +528,30 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.spanner.admin.instance.v1.Instance m =
-                    input.readMessage(
-                        com.google.spanner.admin.instance.v1.Instance.parser(), extensionRegistry);
-                if (instancesBuilder_ == null) {
-                  ensureInstancesIsMutable();
-                  instances_.add(m);
-                } else {
-                  instancesBuilder_.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.spanner.admin.instance.v1.Instance m =
+                  input.readMessage(
+                      com.google.spanner.admin.instance.v1.Instance.parser(),
+                      extensionRegistry);
+              if (instancesBuilder_ == null) {
+                ensureInstancesIsMutable();
+                instances_.add(m);
+              } else {
+                instancesBuilder_.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) {
@@ -608,29 +561,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_);
+        instances_ = new java.util.ArrayList(instances_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.spanner.admin.instance.v1.Instance,
-            com.google.spanner.admin.instance.v1.Instance.Builder,
-            com.google.spanner.admin.instance.v1.InstanceOrBuilder>
-        instancesBuilder_;
+        com.google.spanner.admin.instance.v1.Instance, com.google.spanner.admin.instance.v1.Instance.Builder, com.google.spanner.admin.instance.v1.InstanceOrBuilder> instancesBuilder_;
 
     /**
-     *
-     *
      * 
      * The list of requested instances.
      * 
@@ -645,8 +590,6 @@ public java.util.List getInstance } } /** - * - * *
      * The list of requested instances.
      * 
@@ -661,8 +604,6 @@ public int getInstancesCount() { } } /** - * - * *
      * The list of requested instances.
      * 
@@ -677,15 +618,14 @@ public com.google.spanner.admin.instance.v1.Instance getInstances(int index) { } } /** - * - * *
      * The list of requested instances.
      * 
* * repeated .google.spanner.admin.instance.v1.Instance instances = 1; */ - public Builder setInstances(int index, com.google.spanner.admin.instance.v1.Instance value) { + public Builder setInstances( + int index, com.google.spanner.admin.instance.v1.Instance value) { if (instancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -699,8 +639,6 @@ public Builder setInstances(int index, com.google.spanner.admin.instance.v1.Inst return this; } /** - * - * *
      * The list of requested instances.
      * 
@@ -719,8 +657,6 @@ public Builder setInstances( return this; } /** - * - * *
      * The list of requested instances.
      * 
@@ -741,15 +677,14 @@ public Builder addInstances(com.google.spanner.admin.instance.v1.Instance value) return this; } /** - * - * *
      * The list of requested instances.
      * 
* * repeated .google.spanner.admin.instance.v1.Instance instances = 1; */ - public Builder addInstances(int index, com.google.spanner.admin.instance.v1.Instance value) { + public Builder addInstances( + int index, com.google.spanner.admin.instance.v1.Instance value) { if (instancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -763,8 +698,6 @@ public Builder addInstances(int index, com.google.spanner.admin.instance.v1.Inst return this; } /** - * - * *
      * The list of requested instances.
      * 
@@ -783,8 +716,6 @@ public Builder addInstances( return this; } /** - * - * *
      * The list of requested instances.
      * 
@@ -803,8 +734,6 @@ public Builder addInstances( return this; } /** - * - * *
      * The list of requested instances.
      * 
@@ -815,7 +744,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); @@ -823,8 +753,6 @@ public Builder addAllInstances( return this; } /** - * - * *
      * The list of requested instances.
      * 
@@ -842,8 +770,6 @@ public Builder clearInstances() { return this; } /** - * - * *
      * The list of requested instances.
      * 
@@ -861,44 +787,39 @@ public Builder removeInstances(int index) { return this; } /** - * - * *
      * The list of requested instances.
      * 
* * repeated .google.spanner.admin.instance.v1.Instance instances = 1; */ - public com.google.spanner.admin.instance.v1.Instance.Builder getInstancesBuilder(int index) { + public com.google.spanner.admin.instance.v1.Instance.Builder getInstancesBuilder( + int index) { return getInstancesFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of requested instances.
      * 
* * repeated .google.spanner.admin.instance.v1.Instance instances = 1; */ - public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstancesOrBuilder(int index) { + public com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.Instance instances = 1; */ - public java.util.List - getInstancesOrBuilderList() { + public java.util.List + getInstancesOrBuilderList() { if (instancesBuilder_ != null) { return instancesBuilder_.getMessageOrBuilderList(); } else { @@ -906,8 +827,6 @@ public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstancesOrBuil } } /** - * - * *
      * The list of requested instances.
      * 
@@ -915,48 +834,42 @@ public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstancesOrBuil * repeated .google.spanner.admin.instance.v1.Instance instances = 1; */ public com.google.spanner.admin.instance.v1.Instance.Builder addInstancesBuilder() { - return getInstancesFieldBuilder() - .addBuilder(com.google.spanner.admin.instance.v1.Instance.getDefaultInstance()); + return getInstancesFieldBuilder().addBuilder( + com.google.spanner.admin.instance.v1.Instance.getDefaultInstance()); } /** - * - * *
      * The list of requested instances.
      * 
* * repeated .google.spanner.admin.instance.v1.Instance instances = 1; */ - public com.google.spanner.admin.instance.v1.Instance.Builder addInstancesBuilder(int index) { - return getInstancesFieldBuilder() - .addBuilder(index, com.google.spanner.admin.instance.v1.Instance.getDefaultInstance()); + public com.google.spanner.admin.instance.v1.Instance.Builder addInstancesBuilder( + int index) { + return getInstancesFieldBuilder().addBuilder( + index, com.google.spanner.admin.instance.v1.Instance.getDefaultInstance()); } /** - * - * *
      * The list of requested instances.
      * 
* * repeated .google.spanner.admin.instance.v1.Instance instances = 1; */ - public java.util.List - getInstancesBuilderList() { + public java.util.List + getInstancesBuilderList() { return getInstancesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.admin.instance.v1.Instance, - com.google.spanner.admin.instance.v1.Instance.Builder, - com.google.spanner.admin.instance.v1.InstanceOrBuilder> + com.google.spanner.admin.instance.v1.Instance, com.google.spanner.admin.instance.v1.Instance.Builder, com.google.spanner.admin.instance.v1.InstanceOrBuilder> getInstancesFieldBuilder() { if (instancesBuilder_ == null) { - instancesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.admin.instance.v1.Instance, - com.google.spanner.admin.instance.v1.Instance.Builder, - com.google.spanner.admin.instance.v1.InstanceOrBuilder>( - instances_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + instancesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.spanner.admin.instance.v1.Instance, com.google.spanner.admin.instance.v1.Instance.Builder, com.google.spanner.admin.instance.v1.InstanceOrBuilder>( + instances_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); instances_ = null; } return instancesBuilder_; @@ -964,8 +877,6 @@ public com.google.spanner.admin.instance.v1.Instance.Builder addInstancesBuilder private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances]
@@ -973,13 +884,13 @@ public com.google.spanner.admin.instance.v1.Instance.Builder addInstancesBuilder
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -988,8 +899,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances]
@@ -997,14 +906,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 { @@ -1012,8 +922,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances]
@@ -1021,22 +929,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
      * [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances]
@@ -1044,7 +948,6 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1054,8 +957,6 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances]
@@ -1063,23 +964,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); } @@ -1089,12 +988,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.ListInstancesResponse) } // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.ListInstancesResponse) private static final com.google.spanner.admin.instance.v1.ListInstancesResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.ListInstancesResponse(); } @@ -1103,27 +1002,27 @@ public static com.google.spanner.admin.instance.v1.ListInstancesResponse getDefa 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; @@ -1138,4 +1037,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.instance.v1.ListInstancesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesResponseOrBuilder.java similarity index 71% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesResponseOrBuilder.java index 542ef8910a7..26eae91ef8a 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/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/spanner/admin/instance/v1/spanner_instance_admin.proto package com.google.spanner.admin.instance.v1; -public interface ListInstancesResponseOrBuilder - extends +public interface ListInstancesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.ListInstancesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of requested instances.
    * 
* * repeated .google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.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.spanner.admin.instance.v1.Instance instances = 1; */ - java.util.List + java.util.List getInstancesOrBuilderList(); /** - * - * *
    * The list of requested instances.
    * 
* * repeated .google.spanner.admin.instance.v1.Instance instances = 1; */ - com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstancesOrBuilder(int index); + com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstancesOrBuilder( + int index); /** - * - * *
    * `next_page_token` can be sent in a subsequent
    * [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances]
@@ -85,13 +59,10 @@ public interface ListInstancesResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * `next_page_token` can be sent in a subsequent
    * [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances]
@@ -99,8 +70,8 @@ public interface ListInstancesResponseOrBuilder
    * 
* * 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-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/OperationProgress.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/OperationProgress.java similarity index 70% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/OperationProgress.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/OperationProgress.java index 8a822c2c7d2..f47cda96812 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/OperationProgress.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/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/spanner/admin/instance/v1/common.proto package com.google.spanner.admin.instance.v1; /** - * - * *
  * Encapsulates progress related information for a Cloud Spanner long
  * running instance operations.
@@ -28,56 +11,52 @@
  *
  * Protobuf type {@code google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.OperationProgress)
     OperationProgressOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use OperationProgress.newBuilder() to construct.
   private OperationProgress(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private OperationProgress() {}
+  private OperationProgress() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new OperationProgress();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.instance.v1.CommonProto
-        .internal_static_google_spanner_admin_instance_v1_OperationProgress_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.instance.v1.CommonProto.internal_static_google_spanner_admin_instance_v1_OperationProgress_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.instance.v1.CommonProto
-        .internal_static_google_spanner_admin_instance_v1_OperationProgress_fieldAccessorTable
+    return com.google.spanner.admin.instance.v1.CommonProto.internal_static_google_spanner_admin_instance_v1_OperationProgress_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.instance.v1.OperationProgress.class,
-            com.google.spanner.admin.instance.v1.OperationProgress.Builder.class);
+            com.google.spanner.admin.instance.v1.OperationProgress.class, com.google.spanner.admin.instance.v1.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 @@ -88,14 +67,11 @@ public int getProgressPercent() { public static final int START_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp startTime_; /** - * - * *
    * Time the request was received.
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return Whether the startTime field is set. */ @java.lang.Override @@ -103,14 +79,11 @@ public boolean hasStartTime() { return startTime_ != null; } /** - * - * *
    * Time the request was received.
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ @java.lang.Override @@ -118,8 +91,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * Time the request was received.
    * 
@@ -134,15 +105,12 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * If set, the time at which this operation failed or was completed
    * successfully.
    * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -150,15 +118,12 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * If set, the time at which this operation failed or was completed
    * successfully.
    * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return The endTime. */ @java.lang.Override @@ -166,8 +131,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * If set, the time at which this operation failed or was completed
    * successfully.
@@ -181,7 +144,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -193,7 +155,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (progressPercent_ != 0) {
       output.writeInt32(1, progressPercent_);
     }
@@ -213,13 +176,16 @@ public int getSerializedSize() {
 
     size = 0;
     if (progressPercent_ != 0) {
-      size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, progressPercent_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt32Size(1, progressPercent_);
     }
     if (startTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStartTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getStartTime());
     }
     if (endTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getEndTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getEndTime());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -229,22 +195,24 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.spanner.admin.instance.v1.OperationProgress)) {
       return super.equals(obj);
     }
-    com.google.spanner.admin.instance.v1.OperationProgress other =
-        (com.google.spanner.admin.instance.v1.OperationProgress) obj;
+    com.google.spanner.admin.instance.v1.OperationProgress other = (com.google.spanner.admin.instance.v1.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;
@@ -273,104 +241,96 @@ public int hashCode() {
   }
 
   public static com.google.spanner.admin.instance.v1.OperationProgress parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.OperationProgress parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.OperationProgress parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.OperationProgress parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.spanner.admin.instance.v1.OperationProgress parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.OperationProgress parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.spanner.admin.instance.v1.OperationProgress parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.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.spanner.admin.instance.v1.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.spanner.admin.instance.v1.OperationProgress prototype) {
+  public static Builder newBuilder(com.google.spanner.admin.instance.v1.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 Spanner long
    * running instance operations.
@@ -378,32 +338,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.OperationProgress)
       com.google.spanner.admin.instance.v1.OperationProgressOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.instance.v1.CommonProto
-          .internal_static_google_spanner_admin_instance_v1_OperationProgress_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.instance.v1.CommonProto.internal_static_google_spanner_admin_instance_v1_OperationProgress_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.instance.v1.CommonProto
-          .internal_static_google_spanner_admin_instance_v1_OperationProgress_fieldAccessorTable
+      return com.google.spanner.admin.instance.v1.CommonProto.internal_static_google_spanner_admin_instance_v1_OperationProgress_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.instance.v1.OperationProgress.class,
-              com.google.spanner.admin.instance.v1.OperationProgress.Builder.class);
+              com.google.spanner.admin.instance.v1.OperationProgress.class, com.google.spanner.admin.instance.v1.OperationProgress.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.instance.v1.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();
@@ -423,9 +384,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.instance.v1.CommonProto
-          .internal_static_google_spanner_admin_instance_v1_OperationProgress_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.instance.v1.CommonProto.internal_static_google_spanner_admin_instance_v1_OperationProgress_descriptor;
     }
 
     @java.lang.Override
@@ -444,11 +405,8 @@ public com.google.spanner.admin.instance.v1.OperationProgress build() {
 
     @java.lang.Override
     public com.google.spanner.admin.instance.v1.OperationProgress buildPartial() {
-      com.google.spanner.admin.instance.v1.OperationProgress result =
-          new com.google.spanner.admin.instance.v1.OperationProgress(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.admin.instance.v1.OperationProgress result = new com.google.spanner.admin.instance.v1.OperationProgress(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -459,10 +417,14 @@ private void buildPartial0(com.google.spanner.admin.instance.v1.OperationProgres
         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();
       }
     }
 
@@ -470,39 +432,38 @@ private void buildPartial0(com.google.spanner.admin.instance.v1.OperationProgres
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.instance.v1.OperationProgress) {
-        return mergeFrom((com.google.spanner.admin.instance.v1.OperationProgress) other);
+        return mergeFrom((com.google.spanner.admin.instance.v1.OperationProgress)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -510,8 +471,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.spanner.admin.instance.v1.OperationProgress other) {
-      if (other == com.google.spanner.admin.instance.v1.OperationProgress.getDefaultInstance())
-        return this;
+      if (other == com.google.spanner.admin.instance.v1.OperationProgress.getDefaultInstance()) return this;
       if (other.getProgressPercent() != 0) {
         setProgressPercent(other.getProgressPercent());
       }
@@ -547,31 +507,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) {
@@ -581,20 +541,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 @@ -602,35 +558,29 @@ public int getProgressPercent() { return progressPercent_; } /** - * - * *
      * Percent completion of the operation.
      * Values are between 0 and 100 inclusive.
      * 
* * int32 progress_percent = 1; - * * @param value The progressPercent to set. * @return This builder for chaining. */ public Builder setProgressPercent(int value) { - + progressPercent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Percent completion of the operation.
      * Values are between 0 and 100 inclusive.
      * 
* * int32 progress_percent = 1; - * * @return This builder for chaining. */ public Builder clearProgressPercent() { @@ -642,33 +592,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() { @@ -679,8 +620,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * Time the request was received.
      * 
@@ -701,15 +640,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 { @@ -720,8 +658,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * Time the request was received.
      * 
@@ -730,9 +666,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; @@ -745,8 +681,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time the request was received.
      * 
@@ -764,8 +698,6 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * Time the request was received.
      * 
@@ -778,8 +710,6 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Time the request was received.
      * 
@@ -790,12 +720,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.
      * 
@@ -803,17 +732,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_; @@ -821,35 +747,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() { @@ -860,8 +777,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -883,8 +798,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -892,7 +805,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 {
@@ -903,8 +817,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.
@@ -914,9 +826,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;
@@ -929,8 +841,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -949,8 +859,6 @@ public Builder clearEndTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -964,8 +872,6 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
       return getEndTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -977,12 +883,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.
@@ -991,24 +896,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);
     }
 
@@ -1018,12 +920,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.OperationProgress)
   }
 
   // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.OperationProgress)
   private static final com.google.spanner.admin.instance.v1.OperationProgress DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.OperationProgress();
   }
@@ -1032,27 +934,27 @@ public static com.google.spanner.admin.instance.v1.OperationProgress getDefaultI
     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;
@@ -1067,4 +969,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.spanner.admin.instance.v1.OperationProgress getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/OperationProgressOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/OperationProgressOrBuilder.java
similarity index 72%
rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/OperationProgressOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/OperationProgressOrBuilder.java
index 8bf5eedddde..267bab2a579 100644
--- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/OperationProgressOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/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/spanner/admin/instance/v1/common.proto
 
 package com.google.spanner.admin.instance.v1;
 
-public interface OperationProgressOrBuilder
-    extends
+public interface OperationProgressOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.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-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ProjectName.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ProjectName.java
similarity index 100%
rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ProjectName.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ProjectName.java
diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ReplicaInfo.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ReplicaInfo.java
similarity index 70%
rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ReplicaInfo.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ReplicaInfo.java
index 2553f2fff57..96178dcdf73 100644
--- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ReplicaInfo.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ReplicaInfo.java
@@ -1,34 +1,20 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto
 
 package com.google.spanner.admin.instance.v1;
 
-/** Protobuf type {@code google.spanner.admin.instance.v1.ReplicaInfo} */
-public final class ReplicaInfo extends com.google.protobuf.GeneratedMessageV3
-    implements
+/**
+ * Protobuf type {@code google.spanner.admin.instance.v1.ReplicaInfo}
+ */
+public final class ReplicaInfo extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.instance.v1.ReplicaInfo)
     ReplicaInfoOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ReplicaInfo.newBuilder() to construct.
   private ReplicaInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ReplicaInfo() {
     location_ = "";
     type_ = 0;
@@ -36,33 +22,30 @@ private ReplicaInfo() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ReplicaInfo();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_ReplicaInfo_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ReplicaInfo_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_ReplicaInfo_fieldAccessorTable
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ReplicaInfo_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.instance.v1.ReplicaInfo.class,
-            com.google.spanner.admin.instance.v1.ReplicaInfo.Builder.class);
+            com.google.spanner.admin.instance.v1.ReplicaInfo.class, com.google.spanner.admin.instance.v1.ReplicaInfo.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Indicates the type of replica.  See the [replica types
    * documentation](https://cloud.google.com/spanner/docs/replication#replica_types)
@@ -71,10 +54,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType}
    */
-  public enum ReplicaType implements com.google.protobuf.ProtocolMessageEnum {
+  public enum ReplicaType
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Not specified.
      * 
@@ -83,8 +65,6 @@ public enum ReplicaType implements com.google.protobuf.ProtocolMessageEnum { */ TYPE_UNSPECIFIED(0), /** - * - * *
      * Read-write replicas support both reads and writes. These replicas:
      * * Maintain a full copy of your data.
@@ -98,8 +78,6 @@ public enum ReplicaType implements com.google.protobuf.ProtocolMessageEnum {
      */
     READ_WRITE(1),
     /**
-     *
-     *
      * 
      * Read-only replicas only support reads (not writes). Read-only replicas:
      * * Maintain a full copy of your data.
@@ -112,8 +90,6 @@ public enum ReplicaType implements com.google.protobuf.ProtocolMessageEnum {
      */
     READ_ONLY(2),
     /**
-     *
-     *
      * 
      * Witness replicas don't support reads but do participate in voting to
      * commit writes. Witness replicas:
@@ -130,8 +106,6 @@ public enum ReplicaType implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Not specified.
      * 
@@ -140,8 +114,6 @@ public enum ReplicaType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Read-write replicas support both reads and writes. These replicas:
      * * Maintain a full copy of your data.
@@ -155,8 +127,6 @@ public enum ReplicaType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int READ_WRITE_VALUE = 1;
     /**
-     *
-     *
      * 
      * Read-only replicas only support reads (not writes). Read-only replicas:
      * * Maintain a full copy of your data.
@@ -169,8 +139,6 @@ public enum ReplicaType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int READ_ONLY_VALUE = 2;
     /**
-     *
-     *
      * 
      * Witness replicas don't support reads but do participate in voting to
      * commit writes. Witness replicas:
@@ -184,6 +152,7 @@ public enum ReplicaType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int WITNESS_VALUE = 3;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -208,51 +177,50 @@ public static ReplicaType valueOf(int value) {
      */
     public static ReplicaType forNumber(int value) {
       switch (value) {
-        case 0:
-          return TYPE_UNSPECIFIED;
-        case 1:
-          return READ_WRITE;
-        case 2:
-          return READ_ONLY;
-        case 3:
-          return WITNESS;
-        default:
-          return null;
+        case 0: return TYPE_UNSPECIFIED;
+        case 1: return READ_WRITE;
+        case 2: return READ_ONLY;
+        case 3: return WITNESS;
+        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<
+        ReplicaType> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public ReplicaType findValueByNumber(int number) {
+              return ReplicaType.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public ReplicaType findValueByNumber(int number) {
-            return ReplicaType.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.spanner.admin.instance.v1.ReplicaInfo.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final ReplicaType[] VALUES = values();
 
-    public static ReplicaType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static ReplicaType 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;
@@ -270,18 +238,14 @@ private ReplicaType(int value) {
   }
 
   public static final int LOCATION_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object location_ = "";
   /**
-   *
-   *
    * 
    * The location of the serving resources, e.g. "us-central1".
    * 
* * string location = 1; - * * @return The location. */ @java.lang.Override @@ -290,29 +254,29 @@ 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; } } /** - * - * *
    * The location of the serving resources, e.g. "us-central1".
    * 
* * string location = 1; - * * @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 { @@ -323,45 +287,32 @@ public com.google.protobuf.ByteString getLocationBytes() { public static final int TYPE_FIELD_NUMBER = 2; private int type_ = 0; /** - * - * *
    * The type of replica.
    * 
* * .google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType type = 2; - * * @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 replica.
    * 
* * .google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType type = 2; - * * @return The type. */ - @java.lang.Override - public com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType getType() { - com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType result = - com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType.forNumber(type_); - return result == null - ? com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType getType() { + com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType result = com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType.forNumber(type_); + return result == null ? com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType.UNRECOGNIZED : result; } public static final int DEFAULT_LEADER_LOCATION_FIELD_NUMBER = 3; private boolean defaultLeaderLocation_ = false; /** - * - * *
    * If true, this location is designated as the default leader location where
    * leader replicas are placed. See the [region types
@@ -370,7 +321,6 @@ public com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType getType() {
    * 
* * bool default_leader_location = 3; - * * @return The defaultLeaderLocation. */ @java.lang.Override @@ -379,7 +329,6 @@ public boolean getDefaultLeaderLocation() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -391,13 +340,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(location_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, location_); } - if (type_ - != com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType.TYPE_UNSPECIFIED - .getNumber()) { + if (type_ != com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType.TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(2, type_); } if (defaultLeaderLocation_ != false) { @@ -415,13 +363,13 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(location_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, location_); } - if (type_ - != com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType.TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, type_); + if (type_ != com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType.TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, type_); } if (defaultLeaderLocation_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, defaultLeaderLocation_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, defaultLeaderLocation_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -431,17 +379,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.spanner.admin.instance.v1.ReplicaInfo)) { return super.equals(obj); } - com.google.spanner.admin.instance.v1.ReplicaInfo other = - (com.google.spanner.admin.instance.v1.ReplicaInfo) obj; + com.google.spanner.admin.instance.v1.ReplicaInfo other = (com.google.spanner.admin.instance.v1.ReplicaInfo) obj; - if (!getLocation().equals(other.getLocation())) return false; + if (!getLocation() + .equals(other.getLocation())) return false; if (type_ != other.type_) return false; - if (getDefaultLeaderLocation() != other.getDefaultLeaderLocation()) return false; + if (getDefaultLeaderLocation() + != other.getDefaultLeaderLocation()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -458,134 +407,133 @@ public int hashCode() { hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + type_; hash = (37 * hash) + DEFAULT_LEADER_LOCATION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDefaultLeaderLocation()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDefaultLeaderLocation()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.spanner.admin.instance.v1.ReplicaInfo parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.admin.instance.v1.ReplicaInfo parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.ReplicaInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.ReplicaInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.ReplicaInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.ReplicaInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.ReplicaInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.ReplicaInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.ReplicaInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.ReplicaInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.ReplicaInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.ReplicaInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.ReplicaInfo parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.ReplicaInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.ReplicaInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.admin.instance.v1.ReplicaInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } - /** Protobuf type {@code google.spanner.admin.instance.v1.ReplicaInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + /** + * Protobuf type {@code google.spanner.admin.instance.v1.ReplicaInfo} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.admin.instance.v1.ReplicaInfo) com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto - .internal_static_google_spanner_admin_instance_v1_ReplicaInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ReplicaInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto - .internal_static_google_spanner_admin_instance_v1_ReplicaInfo_fieldAccessorTable + return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ReplicaInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.instance.v1.ReplicaInfo.class, - com.google.spanner.admin.instance.v1.ReplicaInfo.Builder.class); + com.google.spanner.admin.instance.v1.ReplicaInfo.class, com.google.spanner.admin.instance.v1.ReplicaInfo.Builder.class); } // Construct using com.google.spanner.admin.instance.v1.ReplicaInfo.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -597,9 +545,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto - .internal_static_google_spanner_admin_instance_v1_ReplicaInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ReplicaInfo_descriptor; } @java.lang.Override @@ -618,11 +566,8 @@ public com.google.spanner.admin.instance.v1.ReplicaInfo build() { @java.lang.Override public com.google.spanner.admin.instance.v1.ReplicaInfo buildPartial() { - com.google.spanner.admin.instance.v1.ReplicaInfo result = - new com.google.spanner.admin.instance.v1.ReplicaInfo(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.admin.instance.v1.ReplicaInfo result = new com.google.spanner.admin.instance.v1.ReplicaInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -644,39 +589,38 @@ private void buildPartial0(com.google.spanner.admin.instance.v1.ReplicaInfo 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.spanner.admin.instance.v1.ReplicaInfo) { - return mergeFrom((com.google.spanner.admin.instance.v1.ReplicaInfo) other); + return mergeFrom((com.google.spanner.admin.instance.v1.ReplicaInfo)other); } else { super.mergeFrom(other); return this; @@ -684,8 +628,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.admin.instance.v1.ReplicaInfo other) { - if (other == com.google.spanner.admin.instance.v1.ReplicaInfo.getDefaultInstance()) - return this; + if (other == com.google.spanner.admin.instance.v1.ReplicaInfo.getDefaultInstance()) return this; if (!other.getLocation().isEmpty()) { location_ = other.location_; bitField0_ |= 0x00000001; @@ -723,31 +666,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - location_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - type_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 24: - { - defaultLeaderLocation_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + location_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + type_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: { + defaultLeaderLocation_ = 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) { @@ -757,25 +696,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object location_ = ""; /** - * - * *
      * The location of the serving resources, e.g. "us-central1".
      * 
* * string location = 1; - * * @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; @@ -784,21 +720,20 @@ public java.lang.String getLocation() { } } /** - * - * *
      * The location of the serving resources, e.g. "us-central1".
      * 
* * string location = 1; - * * @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 { @@ -806,35 +741,28 @@ public com.google.protobuf.ByteString getLocationBytes() { } } /** - * - * *
      * The location of the serving resources, e.g. "us-central1".
      * 
* * string location = 1; - * * @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_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The location of the serving resources, e.g. "us-central1".
      * 
* * string location = 1; - * * @return This builder for chaining. */ public Builder clearLocation() { @@ -844,21 +772,17 @@ public Builder clearLocation() { return this; } /** - * - * *
      * The location of the serving resources, e.g. "us-central1".
      * 
* * string location = 1; - * * @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_ |= 0x00000001; @@ -868,29 +792,22 @@ public Builder setLocationBytes(com.google.protobuf.ByteString value) { private int type_ = 0; /** - * - * *
      * The type of replica.
      * 
* * .google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType type = 2; - * * @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 replica.
      * 
* * .google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType type = 2; - * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -901,33 +818,24 @@ public Builder setTypeValue(int value) { return this; } /** - * - * *
      * The type of replica.
      * 
* * .google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType type = 2; - * * @return The type. */ @java.lang.Override public com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType getType() { - com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType result = - com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType.forNumber(type_); - return result == null - ? com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType.UNRECOGNIZED - : result; + com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType result = com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType.forNumber(type_); + return result == null ? com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType.UNRECOGNIZED : result; } /** - * - * *
      * The type of replica.
      * 
* * .google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType type = 2; - * * @param value The type to set. * @return This builder for chaining. */ @@ -941,14 +849,11 @@ public Builder setType(com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaT return this; } /** - * - * *
      * The type of replica.
      * 
* * .google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType type = 2; - * * @return This builder for chaining. */ public Builder clearType() { @@ -958,10 +863,8 @@ public Builder clearType() { return this; } - private boolean defaultLeaderLocation_; + private boolean defaultLeaderLocation_ ; /** - * - * *
      * If true, this location is designated as the default leader location where
      * leader replicas are placed. See the [region types
@@ -970,7 +873,6 @@ public Builder clearType() {
      * 
* * bool default_leader_location = 3; - * * @return The defaultLeaderLocation. */ @java.lang.Override @@ -978,8 +880,6 @@ public boolean getDefaultLeaderLocation() { return defaultLeaderLocation_; } /** - * - * *
      * If true, this location is designated as the default leader location where
      * leader replicas are placed. See the [region types
@@ -988,20 +888,17 @@ public boolean getDefaultLeaderLocation() {
      * 
* * bool default_leader_location = 3; - * * @param value The defaultLeaderLocation to set. * @return This builder for chaining. */ public Builder setDefaultLeaderLocation(boolean value) { - + defaultLeaderLocation_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * If true, this location is designated as the default leader location where
      * leader replicas are placed. See the [region types
@@ -1010,7 +907,6 @@ public Builder setDefaultLeaderLocation(boolean value) {
      * 
* * bool default_leader_location = 3; - * * @return This builder for chaining. */ public Builder clearDefaultLeaderLocation() { @@ -1019,9 +915,9 @@ public Builder clearDefaultLeaderLocation() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1031,12 +927,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.ReplicaInfo) } // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.ReplicaInfo) private static final com.google.spanner.admin.instance.v1.ReplicaInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.ReplicaInfo(); } @@ -1045,27 +941,27 @@ public static com.google.spanner.admin.instance.v1.ReplicaInfo getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReplicaInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReplicaInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1080,4 +976,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.instance.v1.ReplicaInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ReplicaInfoOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ReplicaInfoOrBuilder.java similarity index 67% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ReplicaInfoOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ReplicaInfoOrBuilder.java index 1e3f8a3e1a1..1fbda309525 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ReplicaInfoOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ReplicaInfoOrBuilder.java @@ -1,81 +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/spanner/admin/instance/v1/spanner_instance_admin.proto package com.google.spanner.admin.instance.v1; -public interface ReplicaInfoOrBuilder - extends +public interface ReplicaInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.ReplicaInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The location of the serving resources, e.g. "us-central1".
    * 
* * string location = 1; - * * @return The location. */ java.lang.String getLocation(); /** - * - * *
    * The location of the serving resources, e.g. "us-central1".
    * 
* * string location = 1; - * * @return The bytes for location. */ - com.google.protobuf.ByteString getLocationBytes(); + com.google.protobuf.ByteString + getLocationBytes(); /** - * - * *
    * The type of replica.
    * 
* * .google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType type = 2; - * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * The type of replica.
    * 
* * .google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType type = 2; - * * @return The type. */ com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType getType(); /** - * - * *
    * If true, this location is designated as the default leader location where
    * leader replicas are placed. See the [region types
@@ -84,7 +55,6 @@ public interface ReplicaInfoOrBuilder
    * 
* * bool default_leader_location = 3; - * * @return The defaultLeaderLocation. */ boolean getDefaultLeaderLocation(); diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/SpannerInstanceAdminProto.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/SpannerInstanceAdminProto.java new file mode 100644 index 00000000000..a79b1073b58 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/SpannerInstanceAdminProto.java @@ -0,0 +1,534 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/spanner/admin/instance/v1/spanner_instance_admin.proto + +package com.google.spanner.admin.instance.v1; + +public final class SpannerInstanceAdminProto { + private SpannerInstanceAdminProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_ReplicaInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_ReplicaInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_InstanceConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_InstanceConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_InstanceConfig_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_InstanceConfig_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_Instance_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_Instance_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_Instance_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_Instance_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_GetInstanceConfigRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_GetInstanceConfigRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_DeleteInstanceConfigRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_DeleteInstanceConfigRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_GetInstanceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_GetInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_CreateInstanceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_CreateInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_ListInstancesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_ListInstancesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_ListInstancesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_ListInstancesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_UpdateInstanceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_UpdateInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_DeleteInstanceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_DeleteInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_CreateInstanceMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_CreateInstanceMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_UpdateInstanceMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_UpdateInstanceMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigMetadata_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n=google/spanner/admin/instance/v1/spann" + + "er_instance_admin.proto\022 google.spanner." + + "admin.instance.v1\032\034google/api/annotation" + + "s.proto\032\027google/api/client.proto\032\037google" + + "/api/field_behavior.proto\032\031google/api/re" + + "source.proto\032\036google/iam/v1/iam_policy.p" + + "roto\032\032google/iam/v1/policy.proto\032#google" + + "/longrunning/operations.proto\032\033google/pr" + + "otobuf/empty.proto\032 google/protobuf/fiel" + + "d_mask.proto\032\037google/protobuf/timestamp." + + "proto\032-google/spanner/admin/instance/v1/" + + "common.proto\"\332\001\n\013ReplicaInfo\022\020\n\010location" + + "\030\001 \001(\t\022G\n\004type\030\002 \001(\01629.google.spanner.ad" + + "min.instance.v1.ReplicaInfo.ReplicaType\022" + + "\037\n\027default_leader_location\030\003 \001(\010\"O\n\013Repl" + + "icaType\022\024\n\020TYPE_UNSPECIFIED\020\000\022\016\n\nREAD_WR" + + "ITE\020\001\022\r\n\tREAD_ONLY\020\002\022\013\n\007WITNESS\020\003\"\276\006\n\016In" + + "stanceConfig\022\014\n\004name\030\001 \001(\t\022\024\n\014display_na" + + "me\030\002 \001(\t\022O\n\013config_type\030\005 \001(\01625.google.s" + + "panner.admin.instance.v1.InstanceConfig." + + "TypeB\003\340A\003\022?\n\010replicas\030\003 \003(\0132-.google.spa" + + "nner.admin.instance.v1.ReplicaInfo\022M\n\021op" + + "tional_replicas\030\006 \003(\0132-.google.spanner.a" + + "dmin.instance.v1.ReplicaInfoB\003\340A\003\022?\n\013bas" + + "e_config\030\007 \001(\tB*\372A\'\n%spanner.googleapis." + + "com/InstanceConfig\022L\n\006labels\030\010 \003(\0132<.goo" + + "gle.spanner.admin.instance.v1.InstanceCo" + + "nfig.LabelsEntry\022\014\n\004etag\030\t \001(\t\022\026\n\016leader" + + "_options\030\004 \003(\t\022\030\n\013reconciling\030\n \001(\010B\003\340A\003" + + "\022J\n\005state\030\013 \001(\01626.google.spanner.admin.i" + + "nstance.v1.InstanceConfig.StateB\003\340A\003\032-\n\013" + + "LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:" + + "\0028\001\"B\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\022\n\016GOO" + + "GLE_MANAGED\020\001\022\020\n\014USER_MANAGED\020\002\"7\n\005State" + + "\022\025\n\021STATE_UNSPECIFIED\020\000\022\014\n\010CREATING\020\001\022\t\n" + + "\005READY\020\002:`\352A]\n%spanner.googleapis.com/In" + + "stanceConfig\0224projects/{project}/instanc" + + "eConfigs/{instance_config}\"\355\004\n\010Instance\022" + + "\021\n\004name\030\001 \001(\tB\003\340A\002\022=\n\006config\030\002 \001(\tB-\340A\002\372" + + "A\'\n%spanner.googleapis.com/InstanceConfi" + + "g\022\031\n\014display_name\030\003 \001(\tB\003\340A\002\022\022\n\nnode_cou" + + "nt\030\005 \001(\005\022\030\n\020processing_units\030\t \001(\005\022D\n\005st" + + "ate\030\006 \001(\01620.google.spanner.admin.instanc" + + "e.v1.Instance.StateB\003\340A\003\022F\n\006labels\030\007 \003(\013" + + "26.google.spanner.admin.instance.v1.Inst" + + "ance.LabelsEntry\022\025\n\rendpoint_uris\030\010 \003(\t\022" + + "4\n\013create_time\030\013 \001(\0132\032.google.protobuf.T" + + "imestampB\003\340A\003\0224\n\013update_time\030\014 \001(\0132\032.goo" + + "gle.protobuf.TimestampB\003\340A\003\032-\n\013LabelsEnt" + + "ry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"7\n\005St" + + "ate\022\025\n\021STATE_UNSPECIFIED\020\000\022\014\n\010CREATING\020\001" + + "\022\t\n\005READY\020\002:M\352AJ\n\037spanner.googleapis.com" + + "/Instance\022\'projects/{project}/instances/" + + "{instance}\"\210\001\n\032ListInstanceConfigsReques" + + "t\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\n+cloudresource" + + "manager.googleapis.com/Project\022\021\n\tpage_s" + + "ize\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\202\001\n\033ListIn" + + "stanceConfigsResponse\022J\n\020instance_config" + + "s\030\001 \003(\01320.google.spanner.admin.instance." + + "v1.InstanceConfig\022\027\n\017next_page_token\030\002 \001" + + "(\t\"W\n\030GetInstanceConfigRequest\022;\n\004name\030\001" + + " \001(\tB-\340A\002\372A\'\n%spanner.googleapis.com/Ins" + + "tanceConfig\"\352\001\n\033CreateInstanceConfigRequ" + + "est\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\n+cloudresour" + + "cemanager.googleapis.com/Project\022\037\n\022inst" + + "ance_config_id\030\002 \001(\tB\003\340A\002\022N\n\017instance_co" + + "nfig\030\003 \001(\01320.google.spanner.admin.instan" + + "ce.v1.InstanceConfigB\003\340A\002\022\025\n\rvalidate_on" + + "ly\030\004 \001(\010\"\272\001\n\033UpdateInstanceConfigRequest" + + "\022N\n\017instance_config\030\001 \001(\01320.google.spann" + + "er.admin.instance.v1.InstanceConfigB\003\340A\002" + + "\0224\n\013update_mask\030\002 \001(\0132\032.google.protobuf." + + "FieldMaskB\003\340A\002\022\025\n\rvalidate_only\030\003 \001(\010\"\177\n" + + "\033DeleteInstanceConfigRequest\022;\n\004name\030\001 \001" + + "(\tB-\340A\002\372A\'\n%spanner.googleapis.com/Insta" + + "nceConfig\022\014\n\004etag\030\002 \001(\t\022\025\n\rvalidate_only" + + "\030\003 \001(\010\"\241\001\n#ListInstanceConfigOperationsR" + + "equest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\n+cloudres" + + "ourcemanager.googleapis.com/Project\022\016\n\006f" + + "ilter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_t" + + "oken\030\004 \001(\t\"r\n$ListInstanceConfigOperatio" + + "nsResponse\0221\n\noperations\030\001 \003(\0132\035.google." + + "longrunning.Operation\022\027\n\017next_page_token" + + "\030\002 \001(\t\"{\n\022GetInstanceRequest\0225\n\004name\030\001 \001" + + "(\tB\'\340A\002\372A!\n\037spanner.googleapis.com/Insta" + + "nce\022.\n\nfield_mask\030\002 \001(\0132\032.google.protobu" + + "f.FieldMask\"\271\001\n\025CreateInstanceRequest\022C\n" + + "\006parent\030\001 \001(\tB3\340A\002\372A-\n+cloudresourcemana" + + "ger.googleapis.com/Project\022\030\n\013instance_i" + + "d\030\002 \001(\tB\003\340A\002\022A\n\010instance\030\003 \001(\0132*.google." + + "spanner.admin.instance.v1.InstanceB\003\340A\002\"" + + "\222\001\n\024ListInstancesRequest\022C\n\006parent\030\001 \001(\t" + + "B3\340A\002\372A-\n+cloudresourcemanager.googleapi" + + "s.com/Project\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage" + + "_token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\"o\n\025ListInst" + + "ancesResponse\022=\n\tinstances\030\001 \003(\0132*.googl" + + "e.spanner.admin.instance.v1.Instance\022\027\n\017" + + "next_page_token\030\002 \001(\t\"\217\001\n\025UpdateInstance" + + "Request\022A\n\010instance\030\001 \001(\0132*.google.spann" + + "er.admin.instance.v1.InstanceB\003\340A\002\0223\n\nfi" + + "eld_mask\030\002 \001(\0132\032.google.protobuf.FieldMa" + + "skB\003\340A\002\"N\n\025DeleteInstanceRequest\0225\n\004name" + + "\030\001 \001(\tB\'\340A\002\372A!\n\037spanner.googleapis.com/I" + + "nstance\"\345\001\n\026CreateInstanceMetadata\022<\n\010in" + + "stance\030\001 \001(\0132*.google.spanner.admin.inst" + + "ance.v1.Instance\022.\n\nstart_time\030\002 \001(\0132\032.g" + + "oogle.protobuf.Timestamp\022/\n\013cancel_time\030" + + "\003 \001(\0132\032.google.protobuf.Timestamp\022,\n\010end" + + "_time\030\004 \001(\0132\032.google.protobuf.Timestamp\"" + + "\345\001\n\026UpdateInstanceMetadata\022<\n\010instance\030\001" + + " \001(\0132*.google.spanner.admin.instance.v1." + + "Instance\022.\n\nstart_time\030\002 \001(\0132\032.google.pr" + + "otobuf.Timestamp\022/\n\013cancel_time\030\003 \001(\0132\032." + + "google.protobuf.Timestamp\022,\n\010end_time\030\004 " + + "\001(\0132\032.google.protobuf.Timestamp\"\341\001\n\034Crea" + + "teInstanceConfigMetadata\022I\n\017instance_con" + + "fig\030\001 \001(\01320.google.spanner.admin.instanc" + + "e.v1.InstanceConfig\022E\n\010progress\030\002 \001(\01323." + + "google.spanner.admin.instance.v1.Operati" + + "onProgress\022/\n\013cancel_time\030\003 \001(\0132\032.google" + + ".protobuf.Timestamp\"\341\001\n\034UpdateInstanceCo" + + "nfigMetadata\022I\n\017instance_config\030\001 \001(\01320." + + "google.spanner.admin.instance.v1.Instanc" + + "eConfig\022E\n\010progress\030\002 \001(\01323.google.spann" + + "er.admin.instance.v1.OperationProgress\022/" + + "\n\013cancel_time\030\003 \001(\0132\032.google.protobuf.Ti" + + "mestamp2\362\030\n\rInstanceAdmin\022\314\001\n\023ListInstan" + + "ceConfigs\022<.google.spanner.admin.instanc" + + "e.v1.ListInstanceConfigsRequest\032=.google" + + ".spanner.admin.instance.v1.ListInstanceC" + + "onfigsResponse\"8\202\323\344\223\002)\022\'/v1/{parent=proj" + + "ects/*}/instanceConfigs\332A\006parent\022\271\001\n\021Get" + + "InstanceConfig\022:.google.spanner.admin.in" + + "stance.v1.GetInstanceConfigRequest\0320.goo" + + "gle.spanner.admin.instance.v1.InstanceCo" + + "nfig\"6\202\323\344\223\002)\022\'/v1/{name=projects/*/insta" + + "nceConfigs/*}\332A\004name\022\310\002\n\024CreateInstanceC" + + "onfig\022=.google.spanner.admin.instance.v1" + + ".CreateInstanceConfigRequest\032\035.google.lo" + + "ngrunning.Operation\"\321\001\202\323\344\223\002,\"\'/v1/{paren" + + "t=projects/*}/instanceConfigs:\001*\332A)paren" + + "t,instance_config,instance_config_id\312Ap\n" + + "/google.spanner.admin.instance.v1.Instan" + + "ceConfig\022=google.spanner.admin.instance." + + "v1.CreateInstanceConfigMetadata\022\312\002\n\024Upda" + + "teInstanceConfig\022=.google.spanner.admin." + + "instance.v1.UpdateInstanceConfigRequest\032" + + "\035.google.longrunning.Operation\"\323\001\202\323\344\223\002<2" + + "7/v1/{instance_config.name=projects/*/in" + + "stanceConfigs/*}:\001*\332A\033instance_config,up" + + "date_mask\312Ap\n/google.spanner.admin.insta" + + "nce.v1.InstanceConfig\022=google.spanner.ad" + + "min.instance.v1.UpdateInstanceConfigMeta" + + "data\022\245\001\n\024DeleteInstanceConfig\022=.google.s" + + "panner.admin.instance.v1.DeleteInstanceC" + + "onfigRequest\032\026.google.protobuf.Empty\"6\202\323" + + "\344\223\002)*\'/v1/{name=projects/*/instanceConfi" + + "gs/*}\332A\004name\022\360\001\n\034ListInstanceConfigOpera" + + "tions\022E.google.spanner.admin.instance.v1" + + ".ListInstanceConfigOperationsRequest\032F.g" + + "oogle.spanner.admin.instance.v1.ListInst" + + "anceConfigOperationsResponse\"A\202\323\344\223\0022\0220/v" + + "1/{parent=projects/*}/instanceConfigOper" + + "ations\332A\006parent\022\264\001\n\rListInstances\0226.goog" + + "le.spanner.admin.instance.v1.ListInstanc" + + "esRequest\0327.google.spanner.admin.instanc" + + "e.v1.ListInstancesResponse\"2\202\323\344\223\002#\022!/v1/" + + "{parent=projects/*}/instances\332A\006parent\022\241" + + "\001\n\013GetInstance\0224.google.spanner.admin.in" + + "stance.v1.GetInstanceRequest\032*.google.sp" + + "anner.admin.instance.v1.Instance\"0\202\323\344\223\002#" + + "\022!/v1/{name=projects/*/instances/*}\332A\004na" + + "me\022\234\002\n\016CreateInstance\0227.google.spanner.a" + + "dmin.instance.v1.CreateInstanceRequest\032\035" + + ".google.longrunning.Operation\"\261\001\202\323\344\223\002&\"!" + + "/v1/{parent=projects/*}/instances:\001*\332A\033p" + + "arent,instance_id,instance\312Ad\n)google.sp" + + "anner.admin.instance.v1.Instance\0227google" + + ".spanner.admin.instance.v1.CreateInstanc" + + "eMetadata\022\235\002\n\016UpdateInstance\0227.google.sp" + + "anner.admin.instance.v1.UpdateInstanceRe" + + "quest\032\035.google.longrunning.Operation\"\262\001\202" + + "\323\344\223\002/2*/v1/{instance.name=projects/*/ins" + + "tances/*}:\001*\332A\023instance,field_mask\312Ad\n)g" + + "oogle.spanner.admin.instance.v1.Instance" + + "\0227google.spanner.admin.instance.v1.Updat" + + "eInstanceMetadata\022\223\001\n\016DeleteInstance\0227.g" + + "oogle.spanner.admin.instance.v1.DeleteIn" + + "stanceRequest\032\026.google.protobuf.Empty\"0\202" + + "\323\344\223\002#*!/v1/{name=projects/*/instances/*}" + + "\332A\004name\022\232\001\n\014SetIamPolicy\022\".google.iam.v1" + + ".SetIamPolicyRequest\032\025.google.iam.v1.Pol" + + "icy\"O\202\323\344\223\0027\"2/v1/{resource=projects/*/in" + + "stances/*}:setIamPolicy:\001*\332A\017resource,po" + + "licy\022\223\001\n\014GetIamPolicy\022\".google.iam.v1.Ge" + + "tIamPolicyRequest\032\025.google.iam.v1.Policy" + + "\"H\202\323\344\223\0027\"2/v1/{resource=projects/*/insta" + + "nces/*}:getIamPolicy:\001*\332A\010resource\022\305\001\n\022T" + + "estIamPermissions\022(.google.iam.v1.TestIa" + + "mPermissionsRequest\032).google.iam.v1.Test" + + "IamPermissionsResponse\"Z\202\323\344\223\002=\"8/v1/{res" + + "ource=projects/*/instances/*}:testIamPer" + + "missions:\001*\332A\024resource,permissions\032x\312A\026s" + + "panner.googleapis.com\322A\\https://www.goog" + + "leapis.com/auth/cloud-platform,https://w" + + "ww.googleapis.com/auth/spanner.adminB\213\002\n" + + "$com.google.spanner.admin.instance.v1B\031S" + + "pannerInstanceAdminProtoP\001ZFcloud.google" + + ".com/go/spanner/admin/instance/apiv1/ins" + + "tancepb;instancepb\252\002&Google.Cloud.Spanne" + + "r.Admin.Instance.V1\312\002&Google\\Cloud\\Spann" + + "er\\Admin\\Instance\\V1\352\002+Google::Cloud::Sp" + + "anner::Admin::Instance::V1b\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.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(), + com.google.spanner.admin.instance.v1.CommonProto.getDescriptor(), + }); + internal_static_google_spanner_admin_instance_v1_ReplicaInfo_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_spanner_admin_instance_v1_ReplicaInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_ReplicaInfo_descriptor, + new java.lang.String[] { "Location", "Type", "DefaultLeaderLocation", }); + internal_static_google_spanner_admin_instance_v1_InstanceConfig_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_spanner_admin_instance_v1_InstanceConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_InstanceConfig_descriptor, + new java.lang.String[] { "Name", "DisplayName", "ConfigType", "Replicas", "OptionalReplicas", "BaseConfig", "Labels", "Etag", "LeaderOptions", "Reconciling", "State", }); + internal_static_google_spanner_admin_instance_v1_InstanceConfig_LabelsEntry_descriptor = + internal_static_google_spanner_admin_instance_v1_InstanceConfig_descriptor.getNestedTypes().get(0); + internal_static_google_spanner_admin_instance_v1_InstanceConfig_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_InstanceConfig_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_spanner_admin_instance_v1_Instance_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_spanner_admin_instance_v1_Instance_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_Instance_descriptor, + new java.lang.String[] { "Name", "Config", "DisplayName", "NodeCount", "ProcessingUnits", "State", "Labels", "EndpointUris", "CreateTime", "UpdateTime", }); + internal_static_google_spanner_admin_instance_v1_Instance_LabelsEntry_descriptor = + internal_static_google_spanner_admin_instance_v1_Instance_descriptor.getNestedTypes().get(0); + internal_static_google_spanner_admin_instance_v1_Instance_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_Instance_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsResponse_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsResponse_descriptor, + new java.lang.String[] { "InstanceConfigs", "NextPageToken", }); + internal_static_google_spanner_admin_instance_v1_GetInstanceConfigRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_spanner_admin_instance_v1_GetInstanceConfigRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_GetInstanceConfigRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigRequest_descriptor, + new java.lang.String[] { "Parent", "InstanceConfigId", "InstanceConfig", "ValidateOnly", }); + internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigRequest_descriptor, + new java.lang.String[] { "InstanceConfig", "UpdateMask", "ValidateOnly", }); + internal_static_google_spanner_admin_instance_v1_DeleteInstanceConfigRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_spanner_admin_instance_v1_DeleteInstanceConfigRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_DeleteInstanceConfigRequest_descriptor, + new java.lang.String[] { "Name", "Etag", "ValidateOnly", }); + internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsRequest_descriptor, + new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", }); + internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsResponse_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsResponse_descriptor, + new java.lang.String[] { "Operations", "NextPageToken", }); + internal_static_google_spanner_admin_instance_v1_GetInstanceRequest_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_spanner_admin_instance_v1_GetInstanceRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_GetInstanceRequest_descriptor, + new java.lang.String[] { "Name", "FieldMask", }); + internal_static_google_spanner_admin_instance_v1_CreateInstanceRequest_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_spanner_admin_instance_v1_CreateInstanceRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_CreateInstanceRequest_descriptor, + new java.lang.String[] { "Parent", "InstanceId", "Instance", }); + internal_static_google_spanner_admin_instance_v1_ListInstancesRequest_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_spanner_admin_instance_v1_ListInstancesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_ListInstancesRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", }); + internal_static_google_spanner_admin_instance_v1_ListInstancesResponse_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_spanner_admin_instance_v1_ListInstancesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_ListInstancesResponse_descriptor, + new java.lang.String[] { "Instances", "NextPageToken", }); + internal_static_google_spanner_admin_instance_v1_UpdateInstanceRequest_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_spanner_admin_instance_v1_UpdateInstanceRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_UpdateInstanceRequest_descriptor, + new java.lang.String[] { "Instance", "FieldMask", }); + internal_static_google_spanner_admin_instance_v1_DeleteInstanceRequest_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_spanner_admin_instance_v1_DeleteInstanceRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_DeleteInstanceRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_spanner_admin_instance_v1_CreateInstanceMetadata_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_spanner_admin_instance_v1_CreateInstanceMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_CreateInstanceMetadata_descriptor, + new java.lang.String[] { "Instance", "StartTime", "CancelTime", "EndTime", }); + internal_static_google_spanner_admin_instance_v1_UpdateInstanceMetadata_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_spanner_admin_instance_v1_UpdateInstanceMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_UpdateInstanceMetadata_descriptor, + new java.lang.String[] { "Instance", "StartTime", "CancelTime", "EndTime", }); + internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigMetadata_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigMetadata_descriptor, + new java.lang.String[] { "InstanceConfig", "Progress", "CancelTime", }); + internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigMetadata_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigMetadata_descriptor, + new java.lang.String[] { "InstanceConfig", "Progress", "CancelTime", }); + 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.resource); + 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.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(); + com.google.spanner.admin.instance.v1.CommonProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigMetadata.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigMetadata.java similarity index 68% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigMetadata.java index 5a22311f981..f9e18ee4f94 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigMetadata.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/spanner/admin/instance/v1/spanner_instance_admin.proto package com.google.spanner.admin.instance.v1; /** - * - * *
  * Metadata type for the operation returned by
  * [UpdateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig].
@@ -28,55 +11,51 @@
  *
  * Protobuf type {@code google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata}
  */
-public final class UpdateInstanceConfigMetadata extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class UpdateInstanceConfigMetadata extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata)
     UpdateInstanceConfigMetadataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use UpdateInstanceConfigMetadata.newBuilder() to construct.
   private UpdateInstanceConfigMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private UpdateInstanceConfigMetadata() {}
+  private UpdateInstanceConfigMetadata() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new UpdateInstanceConfigMetadata();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigMetadata_fieldAccessorTable
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata.class,
-            com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata.Builder.class);
+            com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata.class, com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata.Builder.class);
   }
 
   public static final int INSTANCE_CONFIG_FIELD_NUMBER = 1;
   private com.google.spanner.admin.instance.v1.InstanceConfig instanceConfig_;
   /**
-   *
-   *
    * 
    * The desired instance config after updating.
    * 
* * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1; - * * @return Whether the instanceConfig field is set. */ @java.lang.Override @@ -84,25 +63,18 @@ public boolean hasInstanceConfig() { return instanceConfig_ != null; } /** - * - * *
    * The desired instance config after updating.
    * 
* * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1; - * * @return The instanceConfig. */ @java.lang.Override public com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfig() { - return instanceConfig_ == null - ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() - : instanceConfig_; + return instanceConfig_ == null ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() : instanceConfig_; } /** - * - * *
    * The desired instance config after updating.
    * 
@@ -111,16 +83,12 @@ public com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfig() { */ @java.lang.Override public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceConfigOrBuilder() { - return instanceConfig_ == null - ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() - : instanceConfig_; + return instanceConfig_ == null ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() : instanceConfig_; } public static final int PROGRESS_FIELD_NUMBER = 2; private com.google.spanner.admin.instance.v1.OperationProgress progress_; /** - * - * *
    * The progress of the
    * [UpdateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig]
@@ -128,7 +96,6 @@ public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceC
    * 
* * .google.spanner.admin.instance.v1.OperationProgress progress = 2; - * * @return Whether the progress field is set. */ @java.lang.Override @@ -136,8 +103,6 @@ public boolean hasProgress() { return progress_ != null; } /** - * - * *
    * The progress of the
    * [UpdateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig]
@@ -145,18 +110,13 @@ public boolean hasProgress() {
    * 
* * .google.spanner.admin.instance.v1.OperationProgress progress = 2; - * * @return The progress. */ @java.lang.Override public com.google.spanner.admin.instance.v1.OperationProgress getProgress() { - return progress_ == null - ? com.google.spanner.admin.instance.v1.OperationProgress.getDefaultInstance() - : progress_; + return progress_ == null ? com.google.spanner.admin.instance.v1.OperationProgress.getDefaultInstance() : progress_; } /** - * - * *
    * The progress of the
    * [UpdateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig]
@@ -167,22 +127,17 @@ public com.google.spanner.admin.instance.v1.OperationProgress getProgress() {
    */
   @java.lang.Override
   public com.google.spanner.admin.instance.v1.OperationProgressOrBuilder getProgressOrBuilder() {
-    return progress_ == null
-        ? com.google.spanner.admin.instance.v1.OperationProgress.getDefaultInstance()
-        : progress_;
+    return progress_ == null ? com.google.spanner.admin.instance.v1.OperationProgress.getDefaultInstance() : progress_;
   }
 
   public static final int CANCEL_TIME_FIELD_NUMBER = 3;
   private com.google.protobuf.Timestamp cancelTime_;
   /**
-   *
-   *
    * 
    * The time at which this operation was cancelled.
    * 
* * .google.protobuf.Timestamp cancel_time = 3; - * * @return Whether the cancelTime field is set. */ @java.lang.Override @@ -190,14 +145,11 @@ public boolean hasCancelTime() { return cancelTime_ != null; } /** - * - * *
    * The time at which this operation was cancelled.
    * 
* * .google.protobuf.Timestamp cancel_time = 3; - * * @return The cancelTime. */ @java.lang.Override @@ -205,8 +157,6 @@ public com.google.protobuf.Timestamp getCancelTime() { return cancelTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : cancelTime_; } /** - * - * *
    * The time at which this operation was cancelled.
    * 
@@ -219,7 +169,6 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -231,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 (instanceConfig_ != null) { output.writeMessage(1, getInstanceConfig()); } @@ -251,13 +201,16 @@ public int getSerializedSize() { size = 0; if (instanceConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getInstanceConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getInstanceConfig()); } if (progress_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getProgress()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getProgress()); } if (cancelTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCancelTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getCancelTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -267,25 +220,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata)) { return super.equals(obj); } - com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata other = - (com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata) obj; + com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata other = (com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata) obj; if (hasInstanceConfig() != other.hasInstanceConfig()) return false; if (hasInstanceConfig()) { - if (!getInstanceConfig().equals(other.getInstanceConfig())) return false; + if (!getInstanceConfig() + .equals(other.getInstanceConfig())) 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 (hasCancelTime() != other.hasCancelTime()) return false; if (hasCancelTime()) { - if (!getCancelTime().equals(other.getCancelTime())) return false; + if (!getCancelTime() + .equals(other.getCancelTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -316,105 +271,96 @@ public int hashCode() { } public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata - 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.spanner.admin.instance.v1.UpdateInstanceConfigMetadata 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.spanner.admin.instance.v1.UpdateInstanceConfigMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata prototype) { + public static Builder newBuilder(com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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
    * [UpdateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig].
@@ -422,33 +368,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata)
       com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigMetadata_fieldAccessorTable
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata.class,
-              com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata.Builder.class);
+              com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata.class, com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata.Builder.class);
     }
 
-    // Construct using
-    // com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata.newBuilder()
-    private Builder() {}
+    // Construct using com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata.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();
@@ -472,14 +418,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigMetadata_descriptor;
     }
 
     @java.lang.Override
-    public com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata
-        getDefaultInstanceForType() {
+    public com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata getDefaultInstanceForType() {
       return com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata.getDefaultInstance();
     }
 
@@ -494,27 +439,28 @@ public com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata build()
 
     @java.lang.Override
     public com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata buildPartial() {
-      com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata result =
-          new com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata result = new com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata result) {
+    private void buildPartial0(com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.instanceConfig_ =
-            instanceConfigBuilder_ == null ? instanceConfig_ : instanceConfigBuilder_.build();
+        result.instanceConfig_ = instanceConfigBuilder_ == null
+            ? instanceConfig_
+            : instanceConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.progress_ = progressBuilder_ == null ? progress_ : progressBuilder_.build();
+        result.progress_ = progressBuilder_ == null
+            ? progress_
+            : progressBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.cancelTime_ = cancelTimeBuilder_ == null ? cancelTime_ : cancelTimeBuilder_.build();
+        result.cancelTime_ = cancelTimeBuilder_ == null
+            ? cancelTime_
+            : cancelTimeBuilder_.build();
       }
     }
 
@@ -522,50 +468,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.spanner.admin.instance.v1.UpdateInstanceConfigMetadata) {
-        return mergeFrom((com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata) other);
+        return mergeFrom((com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata other) {
-      if (other
-          == com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata.getDefaultInstance())
-        return this;
+    public Builder mergeFrom(com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata other) {
+      if (other == com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata.getDefaultInstance()) return this;
       if (other.hasInstanceConfig()) {
         mergeInstanceConfig(other.getInstanceConfig());
       }
@@ -601,31 +543,33 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getInstanceConfigFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getProgressFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getCancelTimeFieldBuilder().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(
+                  getInstanceConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getProgressFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getCancelTimeFieldBuilder().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) {
@@ -635,52 +579,38 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.spanner.admin.instance.v1.InstanceConfig instanceConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.admin.instance.v1.InstanceConfig,
-            com.google.spanner.admin.instance.v1.InstanceConfig.Builder,
-            com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder>
-        instanceConfigBuilder_;
+        com.google.spanner.admin.instance.v1.InstanceConfig, com.google.spanner.admin.instance.v1.InstanceConfig.Builder, com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder> instanceConfigBuilder_;
     /**
-     *
-     *
      * 
      * The desired instance config after updating.
      * 
* * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1; - * * @return Whether the instanceConfig field is set. */ public boolean hasInstanceConfig() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The desired instance config after updating.
      * 
* * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1; - * * @return The instanceConfig. */ public com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfig() { if (instanceConfigBuilder_ == null) { - return instanceConfig_ == null - ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() - : instanceConfig_; + return instanceConfig_ == null ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() : instanceConfig_; } else { return instanceConfigBuilder_.getMessage(); } } /** - * - * *
      * The desired instance config after updating.
      * 
@@ -701,8 +631,6 @@ public Builder setInstanceConfig(com.google.spanner.admin.instance.v1.InstanceCo return this; } /** - * - * *
      * The desired instance config after updating.
      * 
@@ -721,8 +649,6 @@ public Builder setInstanceConfig( return this; } /** - * - * *
      * The desired instance config after updating.
      * 
@@ -731,10 +657,9 @@ public Builder setInstanceConfig( */ public Builder mergeInstanceConfig(com.google.spanner.admin.instance.v1.InstanceConfig value) { if (instanceConfigBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && instanceConfig_ != null - && instanceConfig_ - != com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + instanceConfig_ != null && + instanceConfig_ != com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance()) { getInstanceConfigBuilder().mergeFrom(value); } else { instanceConfig_ = value; @@ -747,8 +672,6 @@ public Builder mergeInstanceConfig(com.google.spanner.admin.instance.v1.Instance return this; } /** - * - * *
      * The desired instance config after updating.
      * 
@@ -766,8 +689,6 @@ public Builder clearInstanceConfig() { return this; } /** - * - * *
      * The desired instance config after updating.
      * 
@@ -780,27 +701,21 @@ public com.google.spanner.admin.instance.v1.InstanceConfig.Builder getInstanceCo return getInstanceConfigFieldBuilder().getBuilder(); } /** - * - * *
      * The desired instance config after updating.
      * 
* * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1; */ - public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder - getInstanceConfigOrBuilder() { + public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceConfigOrBuilder() { if (instanceConfigBuilder_ != null) { return instanceConfigBuilder_.getMessageOrBuilder(); } else { - return instanceConfig_ == null - ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() - : instanceConfig_; + return instanceConfig_ == null ? + com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() : instanceConfig_; } } /** - * - * *
      * The desired instance config after updating.
      * 
@@ -808,17 +723,14 @@ public com.google.spanner.admin.instance.v1.InstanceConfig.Builder getInstanceCo * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.InstanceConfig, - com.google.spanner.admin.instance.v1.InstanceConfig.Builder, - com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder> + com.google.spanner.admin.instance.v1.InstanceConfig, com.google.spanner.admin.instance.v1.InstanceConfig.Builder, com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder> getInstanceConfigFieldBuilder() { if (instanceConfigBuilder_ == null) { - instanceConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.InstanceConfig, - com.google.spanner.admin.instance.v1.InstanceConfig.Builder, - com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder>( - getInstanceConfig(), getParentForChildren(), isClean()); + instanceConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.admin.instance.v1.InstanceConfig, com.google.spanner.admin.instance.v1.InstanceConfig.Builder, com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder>( + getInstanceConfig(), + getParentForChildren(), + isClean()); instanceConfig_ = null; } return instanceConfigBuilder_; @@ -826,13 +738,8 @@ public com.google.spanner.admin.instance.v1.InstanceConfig.Builder getInstanceCo private com.google.spanner.admin.instance.v1.OperationProgress progress_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.OperationProgress, - com.google.spanner.admin.instance.v1.OperationProgress.Builder, - com.google.spanner.admin.instance.v1.OperationProgressOrBuilder> - progressBuilder_; + com.google.spanner.admin.instance.v1.OperationProgress, com.google.spanner.admin.instance.v1.OperationProgress.Builder, com.google.spanner.admin.instance.v1.OperationProgressOrBuilder> progressBuilder_; /** - * - * *
      * The progress of the
      * [UpdateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig]
@@ -840,15 +747,12 @@ public com.google.spanner.admin.instance.v1.InstanceConfig.Builder getInstanceCo
      * 
* * .google.spanner.admin.instance.v1.OperationProgress progress = 2; - * * @return Whether the progress field is set. */ public boolean hasProgress() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The progress of the
      * [UpdateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig]
@@ -856,21 +760,16 @@ public boolean hasProgress() {
      * 
* * .google.spanner.admin.instance.v1.OperationProgress progress = 2; - * * @return The progress. */ public com.google.spanner.admin.instance.v1.OperationProgress getProgress() { if (progressBuilder_ == null) { - return progress_ == null - ? com.google.spanner.admin.instance.v1.OperationProgress.getDefaultInstance() - : progress_; + return progress_ == null ? com.google.spanner.admin.instance.v1.OperationProgress.getDefaultInstance() : progress_; } else { return progressBuilder_.getMessage(); } } /** - * - * *
      * The progress of the
      * [UpdateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig]
@@ -893,8 +792,6 @@ public Builder setProgress(com.google.spanner.admin.instance.v1.OperationProgres
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [UpdateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig]
@@ -915,8 +812,6 @@ public Builder setProgress(
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [UpdateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig]
@@ -927,10 +822,9 @@ public Builder setProgress(
      */
     public Builder mergeProgress(com.google.spanner.admin.instance.v1.OperationProgress value) {
       if (progressBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && progress_ != null
-            && progress_
-                != com.google.spanner.admin.instance.v1.OperationProgress.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          progress_ != null &&
+          progress_ != com.google.spanner.admin.instance.v1.OperationProgress.getDefaultInstance()) {
           getProgressBuilder().mergeFrom(value);
         } else {
           progress_ = value;
@@ -943,8 +837,6 @@ public Builder mergeProgress(com.google.spanner.admin.instance.v1.OperationProgr
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [UpdateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig]
@@ -964,8 +856,6 @@ public Builder clearProgress() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [UpdateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig]
@@ -980,8 +870,6 @@ public com.google.spanner.admin.instance.v1.OperationProgress.Builder getProgres
       return getProgressFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [UpdateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig]
@@ -994,14 +882,11 @@ public com.google.spanner.admin.instance.v1.OperationProgressOrBuilder getProgre
       if (progressBuilder_ != null) {
         return progressBuilder_.getMessageOrBuilder();
       } else {
-        return progress_ == null
-            ? com.google.spanner.admin.instance.v1.OperationProgress.getDefaultInstance()
-            : progress_;
+        return progress_ == null ?
+            com.google.spanner.admin.instance.v1.OperationProgress.getDefaultInstance() : progress_;
       }
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [UpdateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig]
@@ -1011,17 +896,14 @@ public com.google.spanner.admin.instance.v1.OperationProgressOrBuilder getProgre
      * .google.spanner.admin.instance.v1.OperationProgress progress = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.admin.instance.v1.OperationProgress,
-            com.google.spanner.admin.instance.v1.OperationProgress.Builder,
-            com.google.spanner.admin.instance.v1.OperationProgressOrBuilder>
+        com.google.spanner.admin.instance.v1.OperationProgress, com.google.spanner.admin.instance.v1.OperationProgress.Builder, com.google.spanner.admin.instance.v1.OperationProgressOrBuilder> 
         getProgressFieldBuilder() {
       if (progressBuilder_ == null) {
-        progressBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.admin.instance.v1.OperationProgress,
-                com.google.spanner.admin.instance.v1.OperationProgress.Builder,
-                com.google.spanner.admin.instance.v1.OperationProgressOrBuilder>(
-                getProgress(), getParentForChildren(), isClean());
+        progressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.admin.instance.v1.OperationProgress, com.google.spanner.admin.instance.v1.OperationProgress.Builder, com.google.spanner.admin.instance.v1.OperationProgressOrBuilder>(
+                getProgress(),
+                getParentForChildren(),
+                isClean());
         progress_ = null;
       }
       return progressBuilder_;
@@ -1029,47 +911,34 @@ public com.google.spanner.admin.instance.v1.OperationProgressOrBuilder getProgre
 
     private com.google.protobuf.Timestamp cancelTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        cancelTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> cancelTimeBuilder_;
     /**
-     *
-     *
      * 
      * The time at which this operation was cancelled.
      * 
* * .google.protobuf.Timestamp cancel_time = 3; - * * @return Whether the cancelTime field is set. */ public boolean hasCancelTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The time at which this operation was cancelled.
      * 
* * .google.protobuf.Timestamp cancel_time = 3; - * * @return The cancelTime. */ public com.google.protobuf.Timestamp getCancelTime() { if (cancelTimeBuilder_ == null) { - return cancelTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : cancelTime_; + return cancelTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : cancelTime_; } else { return cancelTimeBuilder_.getMessage(); } } /** - * - * *
      * The time at which this operation was cancelled.
      * 
@@ -1090,15 +959,14 @@ public Builder setCancelTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which this operation was cancelled.
      * 
* * .google.protobuf.Timestamp cancel_time = 3; */ - public Builder setCancelTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCancelTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (cancelTimeBuilder_ == null) { cancelTime_ = builderForValue.build(); } else { @@ -1109,8 +977,6 @@ public Builder setCancelTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time at which this operation was cancelled.
      * 
@@ -1119,9 +985,9 @@ public Builder setCancelTime(com.google.protobuf.Timestamp.Builder builderForVal */ public Builder mergeCancelTime(com.google.protobuf.Timestamp value) { if (cancelTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && cancelTime_ != null - && cancelTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + cancelTime_ != null && + cancelTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCancelTimeBuilder().mergeFrom(value); } else { cancelTime_ = value; @@ -1134,8 +1000,6 @@ public Builder mergeCancelTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which this operation was cancelled.
      * 
@@ -1153,8 +1017,6 @@ public Builder clearCancelTime() { return this; } /** - * - * *
      * The time at which this operation was cancelled.
      * 
@@ -1167,8 +1029,6 @@ public com.google.protobuf.Timestamp.Builder getCancelTimeBuilder() { return getCancelTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which this operation was cancelled.
      * 
@@ -1179,14 +1039,11 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() { if (cancelTimeBuilder_ != null) { return cancelTimeBuilder_.getMessageOrBuilder(); } else { - return cancelTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : cancelTime_; + return cancelTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : cancelTime_; } } /** - * - * *
      * The time at which this operation was cancelled.
      * 
@@ -1194,24 +1051,21 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() { * .google.protobuf.Timestamp cancel_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> getCancelTimeFieldBuilder() { if (cancelTimeBuilder_ == null) { - cancelTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCancelTime(), getParentForChildren(), isClean()); + cancelTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCancelTime(), + getParentForChildren(), + isClean()); cancelTime_ = null; } return cancelTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1221,43 +1075,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata) } // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata) - private static final com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata - DEFAULT_INSTANCE; - + private static final com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata(); } - public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata - getDefaultInstance() { + public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateInstanceConfigMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateInstanceConfigMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1269,8 +1121,9 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata - getDefaultInstanceForType() { + public com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigMetadataOrBuilder.java similarity index 78% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigMetadataOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigMetadataOrBuilder.java index 79e1db736f6..fe8c4ba9c60 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigMetadataOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigMetadataOrBuilder.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/spanner/admin/instance/v1/spanner_instance_admin.proto package com.google.spanner.admin.instance.v1; -public interface UpdateInstanceConfigMetadataOrBuilder - extends +public interface UpdateInstanceConfigMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The desired instance config after updating.
    * 
* * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1; - * * @return Whether the instanceConfig field is set. */ boolean hasInstanceConfig(); /** - * - * *
    * The desired instance config after updating.
    * 
* * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1; - * * @return The instanceConfig. */ com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfig(); /** - * - * *
    * The desired instance config after updating.
    * 
@@ -59,8 +35,6 @@ public interface UpdateInstanceConfigMetadataOrBuilder com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceConfigOrBuilder(); /** - * - * *
    * The progress of the
    * [UpdateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig]
@@ -68,13 +42,10 @@ public interface UpdateInstanceConfigMetadataOrBuilder
    * 
* * .google.spanner.admin.instance.v1.OperationProgress progress = 2; - * * @return Whether the progress field is set. */ boolean hasProgress(); /** - * - * *
    * The progress of the
    * [UpdateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig]
@@ -82,13 +53,10 @@ public interface UpdateInstanceConfigMetadataOrBuilder
    * 
* * .google.spanner.admin.instance.v1.OperationProgress progress = 2; - * * @return The progress. */ com.google.spanner.admin.instance.v1.OperationProgress getProgress(); /** - * - * *
    * The progress of the
    * [UpdateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig]
@@ -100,32 +68,24 @@ public interface UpdateInstanceConfigMetadataOrBuilder
   com.google.spanner.admin.instance.v1.OperationProgressOrBuilder getProgressOrBuilder();
 
   /**
-   *
-   *
    * 
    * The time at which this operation was cancelled.
    * 
* * .google.protobuf.Timestamp cancel_time = 3; - * * @return Whether the cancelTime field is set. */ boolean hasCancelTime(); /** - * - * *
    * The time at which this operation was cancelled.
    * 
* * .google.protobuf.Timestamp cancel_time = 3; - * * @return The cancelTime. */ com.google.protobuf.Timestamp getCancelTime(); /** - * - * *
    * The time at which this operation was cancelled.
    * 
diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigRequest.java similarity index 69% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigRequest.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigRequest.java index 9c93dda8798..8443c310b0a 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigRequest.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/spanner/admin/instance/v1/spanner_instance_admin.proto package com.google.spanner.admin.instance.v1; /** - * - * *
  * The request for
  * [UpdateInstanceConfigRequest][InstanceAdmin.UpdateInstanceConfigRequest].
@@ -28,49 +11,46 @@
  *
  * Protobuf type {@code google.spanner.admin.instance.v1.UpdateInstanceConfigRequest}
  */
-public final class UpdateInstanceConfigRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class UpdateInstanceConfigRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.instance.v1.UpdateInstanceConfigRequest)
     UpdateInstanceConfigRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use UpdateInstanceConfigRequest.newBuilder() to construct.
   private UpdateInstanceConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private UpdateInstanceConfigRequest() {}
+  private UpdateInstanceConfigRequest() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new UpdateInstanceConfigRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigRequest_fieldAccessorTable
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest.class,
-            com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest.Builder.class);
+            com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest.class, com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest.Builder.class);
   }
 
   public static final int INSTANCE_CONFIG_FIELD_NUMBER = 1;
   private com.google.spanner.admin.instance.v1.InstanceConfig instanceConfig_;
   /**
-   *
-   *
    * 
    * Required. The user instance config to update, which must always include the
    * instance config name. Otherwise, only fields mentioned in
@@ -80,10 +60,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * be used.
    * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instanceConfig field is set. */ @java.lang.Override @@ -91,8 +68,6 @@ public boolean hasInstanceConfig() { return instanceConfig_ != null; } /** - * - * *
    * Required. The user instance config to update, which must always include the
    * instance config name. Otherwise, only fields mentioned in
@@ -102,21 +77,14 @@ public boolean hasInstanceConfig() {
    * be used.
    * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The instanceConfig. */ @java.lang.Override public com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfig() { - return instanceConfig_ == null - ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() - : instanceConfig_; + return instanceConfig_ == null ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() : instanceConfig_; } /** - * - * *
    * Required. The user instance config to update, which must always include the
    * instance config name. Otherwise, only fields mentioned in
@@ -126,22 +94,16 @@ public com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfig() {
    * be used.
    * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceConfigOrBuilder() { - return instanceConfig_ == null - ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() - : instanceConfig_; + return instanceConfig_ == null ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() : instanceConfig_; } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Required. A mask specifying which fields in
    * [InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig] should be
@@ -151,9 +113,7 @@ public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceC
    * display_name and labels can be updated.
    * 
* - * .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 @@ -161,8 +121,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Required. A mask specifying which fields in
    * [InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig] should be
@@ -172,9 +130,7 @@ public boolean hasUpdateMask() {
    * display_name and labels can be updated.
    * 
* - * .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 @@ -182,8 +138,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Required. A mask specifying which fields in
    * [InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig] should be
@@ -193,8 +147,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    * display_name and labels can be updated.
    * 
* - * .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() { @@ -204,15 +157,12 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 3; private boolean validateOnly_ = false; /** - * - * *
    * An option to validate, but not actually execute, a request,
    * and provide the same response.
    * 
* * bool validate_only = 3; - * * @return The validateOnly. */ @java.lang.Override @@ -221,7 +171,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -233,7 +182,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (instanceConfig_ != null) { output.writeMessage(1, getInstanceConfig()); } @@ -253,13 +203,16 @@ public int getSerializedSize() { size = 0; if (instanceConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getInstanceConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getInstanceConfig()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -269,23 +222,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.spanner.admin.instance.v1.UpdateInstanceConfigRequest)) { return super.equals(obj); } - com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest other = - (com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest) obj; + com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest other = (com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest) obj; if (hasInstanceConfig() != other.hasInstanceConfig()) return false; if (hasInstanceConfig()) { - if (!getInstanceConfig().equals(other.getInstanceConfig())) return false; + if (!getInstanceConfig() + .equals(other.getInstanceConfig())) 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 (getValidateOnly() != other.getValidateOnly()) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -306,111 +261,104 @@ public int hashCode() { hash = (53 * hash) + getUpdateMask().hashCode(); } hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest prototype) { + public static Builder newBuilder(com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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
    * [UpdateInstanceConfigRequest][InstanceAdmin.UpdateInstanceConfigRequest].
@@ -418,32 +366,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.instance.v1.UpdateInstanceConfigRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.instance.v1.UpdateInstanceConfigRequest)
       com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigRequest_fieldAccessorTable
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest.class,
-              com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest.Builder.class);
+              com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest.class, com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -463,14 +412,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest
-        getDefaultInstanceForType() {
+    public com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest getDefaultInstanceForType() {
       return com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest.getDefaultInstance();
     }
 
@@ -485,24 +433,23 @@ public com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest build()
 
     @java.lang.Override
     public com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest buildPartial() {
-      com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest result =
-          new com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest result = new com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest result) {
+    private void buildPartial0(com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.instanceConfig_ =
-            instanceConfigBuilder_ == null ? instanceConfig_ : instanceConfigBuilder_.build();
+        result.instanceConfig_ = instanceConfigBuilder_ == null
+            ? instanceConfig_
+            : instanceConfigBuilder_.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.validateOnly_ = validateOnly_;
@@ -513,50 +460,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.spanner.admin.instance.v1.UpdateInstanceConfigRequest) {
-        return mergeFrom((com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest) other);
+        return mergeFrom((com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest other) {
-      if (other
-          == com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest.getDefaultInstance())
-        return this;
+    public Builder mergeFrom(com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest other) {
+      if (other == com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest.getDefaultInstance()) return this;
       if (other.hasInstanceConfig()) {
         mergeInstanceConfig(other.getInstanceConfig());
       }
@@ -592,31 +535,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getInstanceConfigFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 24:
-              {
-                validateOnly_ = 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(
+                  getInstanceConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getUpdateMaskFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 24: {
+              validateOnly_ = 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) {
@@ -626,18 +569,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.spanner.admin.instance.v1.InstanceConfig instanceConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.admin.instance.v1.InstanceConfig,
-            com.google.spanner.admin.instance.v1.InstanceConfig.Builder,
-            com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder>
-        instanceConfigBuilder_;
+        com.google.spanner.admin.instance.v1.InstanceConfig, com.google.spanner.admin.instance.v1.InstanceConfig.Builder, com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder> instanceConfigBuilder_;
     /**
-     *
-     *
      * 
      * Required. The user instance config to update, which must always include the
      * instance config name. Otherwise, only fields mentioned in
@@ -647,18 +584,13 @@ public Builder mergeFrom(
      * be used.
      * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instanceConfig field is set. */ public boolean hasInstanceConfig() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. The user instance config to update, which must always include the
      * instance config name. Otherwise, only fields mentioned in
@@ -668,24 +600,17 @@ public boolean hasInstanceConfig() {
      * be used.
      * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The instanceConfig. */ public com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfig() { if (instanceConfigBuilder_ == null) { - return instanceConfig_ == null - ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() - : instanceConfig_; + return instanceConfig_ == null ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() : instanceConfig_; } else { return instanceConfigBuilder_.getMessage(); } } /** - * - * *
      * Required. The user instance config to update, which must always include the
      * instance config name. Otherwise, only fields mentioned in
@@ -695,9 +620,7 @@ public com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfig() {
      * be used.
      * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setInstanceConfig(com.google.spanner.admin.instance.v1.InstanceConfig value) { if (instanceConfigBuilder_ == null) { @@ -713,8 +636,6 @@ public Builder setInstanceConfig(com.google.spanner.admin.instance.v1.InstanceCo return this; } /** - * - * *
      * Required. The user instance config to update, which must always include the
      * instance config name. Otherwise, only fields mentioned in
@@ -724,9 +645,7 @@ public Builder setInstanceConfig(com.google.spanner.admin.instance.v1.InstanceCo
      * be used.
      * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setInstanceConfig( com.google.spanner.admin.instance.v1.InstanceConfig.Builder builderForValue) { @@ -740,8 +659,6 @@ public Builder setInstanceConfig( return this; } /** - * - * *
      * Required. The user instance config to update, which must always include the
      * instance config name. Otherwise, only fields mentioned in
@@ -751,16 +668,13 @@ public Builder setInstanceConfig(
      * be used.
      * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeInstanceConfig(com.google.spanner.admin.instance.v1.InstanceConfig value) { if (instanceConfigBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && instanceConfig_ != null - && instanceConfig_ - != com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + instanceConfig_ != null && + instanceConfig_ != com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance()) { getInstanceConfigBuilder().mergeFrom(value); } else { instanceConfig_ = value; @@ -773,8 +687,6 @@ public Builder mergeInstanceConfig(com.google.spanner.admin.instance.v1.Instance return this; } /** - * - * *
      * Required. The user instance config to update, which must always include the
      * instance config name. Otherwise, only fields mentioned in
@@ -784,9 +696,7 @@ public Builder mergeInstanceConfig(com.google.spanner.admin.instance.v1.Instance
      * be used.
      * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearInstanceConfig() { bitField0_ = (bitField0_ & ~0x00000001); @@ -799,8 +709,6 @@ public Builder clearInstanceConfig() { return this; } /** - * - * *
      * Required. The user instance config to update, which must always include the
      * instance config name. Otherwise, only fields mentioned in
@@ -810,9 +718,7 @@ public Builder clearInstanceConfig() {
      * be used.
      * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.spanner.admin.instance.v1.InstanceConfig.Builder getInstanceConfigBuilder() { bitField0_ |= 0x00000001; @@ -820,8 +726,6 @@ public com.google.spanner.admin.instance.v1.InstanceConfig.Builder getInstanceCo return getInstanceConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The user instance config to update, which must always include the
      * instance config name. Otherwise, only fields mentioned in
@@ -831,23 +735,17 @@ public com.google.spanner.admin.instance.v1.InstanceConfig.Builder getInstanceCo
      * be used.
      * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder - getInstanceConfigOrBuilder() { + public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceConfigOrBuilder() { if (instanceConfigBuilder_ != null) { return instanceConfigBuilder_.getMessageOrBuilder(); } else { - return instanceConfig_ == null - ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() - : instanceConfig_; + return instanceConfig_ == null ? + com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() : instanceConfig_; } } /** - * - * *
      * Required. The user instance config to update, which must always include the
      * instance config name. Otherwise, only fields mentioned in
@@ -857,22 +755,17 @@ public com.google.spanner.admin.instance.v1.InstanceConfig.Builder getInstanceCo
      * be used.
      * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.InstanceConfig, - com.google.spanner.admin.instance.v1.InstanceConfig.Builder, - com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder> + com.google.spanner.admin.instance.v1.InstanceConfig, com.google.spanner.admin.instance.v1.InstanceConfig.Builder, com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder> getInstanceConfigFieldBuilder() { if (instanceConfigBuilder_ == null) { - instanceConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.InstanceConfig, - com.google.spanner.admin.instance.v1.InstanceConfig.Builder, - com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder>( - getInstanceConfig(), getParentForChildren(), isClean()); + instanceConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.admin.instance.v1.InstanceConfig, com.google.spanner.admin.instance.v1.InstanceConfig.Builder, com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder>( + getInstanceConfig(), + getParentForChildren(), + isClean()); instanceConfig_ = null; } return instanceConfigBuilder_; @@ -880,13 +773,8 @@ public com.google.spanner.admin.instance.v1.InstanceConfig.Builder getInstanceCo 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 in
      * [InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig] should be
@@ -896,17 +784,13 @@ public com.google.spanner.admin.instance.v1.InstanceConfig.Builder getInstanceCo
      * display_name and labels can be updated.
      * 
* - * .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 in
      * [InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig] should be
@@ -916,23 +800,17 @@ public boolean hasUpdateMask() {
      * display_name and labels can be updated.
      * 
* - * .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 in
      * [InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig] should be
@@ -942,8 +820,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      * display_name and labels can be updated.
      * 
* - * .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) { @@ -959,8 +836,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. A mask specifying which fields in
      * [InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig] should be
@@ -970,10 +845,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * display_name and labels can be updated.
      * 
* - * .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 { @@ -984,8 +859,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Required. A mask specifying which fields in
      * [InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig] should be
@@ -995,14 +868,13 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
      * display_name and labels can be updated.
      * 
* - * .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; @@ -1015,8 +887,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. A mask specifying which fields in
      * [InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig] should be
@@ -1026,8 +896,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      * display_name and labels can be updated.
      * 
* - * .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); @@ -1040,8 +909,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Required. A mask specifying which fields in
      * [InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig] should be
@@ -1051,8 +918,7 @@ public Builder clearUpdateMask() {
      * display_name and labels can be updated.
      * 
* - * .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; @@ -1060,8 +926,6 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. A mask specifying which fields in
      * [InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig] should be
@@ -1071,21 +935,17 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      * display_name and labels can be updated.
      * 
* - * .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 in
      * [InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig] should be
@@ -1095,37 +955,30 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * display_name and labels can be updated.
      * 
* - * .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 validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * An option to validate, but not actually execute, a request,
      * and provide the same response.
      * 
* * bool validate_only = 3; - * * @return The validateOnly. */ @java.lang.Override @@ -1133,35 +986,29 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * An option to validate, but not actually execute, a request,
      * and provide the same response.
      * 
* * bool validate_only = 3; - * * @param value The validateOnly to set. * @return This builder for chaining. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * An option to validate, but not actually execute, a request,
      * and provide the same response.
      * 
* * bool validate_only = 3; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1170,9 +1017,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } - @java.lang.Override - 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,43 +1029,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.UpdateInstanceConfigRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.UpdateInstanceConfigRequest) - private static final com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest - DEFAULT_INSTANCE; - + private static final com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest(); } - public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest - getDefaultInstance() { + public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateInstanceConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateInstanceConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1230,8 +1075,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest - getDefaultInstanceForType() { + public com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigRequestOrBuilder.java similarity index 75% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigRequestOrBuilder.java index 36afa00cc7c..053873ee0b1 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigRequestOrBuilder.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/spanner/admin/instance/v1/spanner_instance_admin.proto package com.google.spanner.admin.instance.v1; -public interface UpdateInstanceConfigRequestOrBuilder - extends +public interface UpdateInstanceConfigRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.UpdateInstanceConfigRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The user instance config to update, which must always include the
    * instance config name. Otherwise, only fields mentioned in
@@ -35,16 +17,11 @@ public interface UpdateInstanceConfigRequestOrBuilder
    * be used.
    * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instanceConfig field is set. */ boolean hasInstanceConfig(); /** - * - * *
    * Required. The user instance config to update, which must always include the
    * instance config name. Otherwise, only fields mentioned in
@@ -54,16 +31,11 @@ public interface UpdateInstanceConfigRequestOrBuilder
    * be used.
    * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The instanceConfig. */ com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfig(); /** - * - * *
    * Required. The user instance config to update, which must always include the
    * instance config name. Otherwise, only fields mentioned in
@@ -73,15 +45,11 @@ public interface UpdateInstanceConfigRequestOrBuilder
    * be used.
    * 
* - * - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceConfigOrBuilder(); /** - * - * *
    * Required. A mask specifying which fields in
    * [InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig] should be
@@ -91,15 +59,11 @@ public interface UpdateInstanceConfigRequestOrBuilder
    * display_name and labels can be updated.
    * 
* - * .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 in
    * [InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig] should be
@@ -109,15 +73,11 @@ public interface UpdateInstanceConfigRequestOrBuilder
    * display_name and labels can be updated.
    * 
* - * .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 in
    * [InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig] should be
@@ -127,21 +87,17 @@ public interface UpdateInstanceConfigRequestOrBuilder
    * display_name and labels can be updated.
    * 
* - * .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(); /** - * - * *
    * An option to validate, but not actually execute, a request,
    * and provide the same response.
    * 
* * bool validate_only = 3; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceMetadata.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceMetadata.java similarity index 73% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceMetadata.java index a421f384777..984ed644862 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceMetadata.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/spanner/admin/instance/v1/spanner_instance_admin.proto package com.google.spanner.admin.instance.v1; /** - * - * *
  * Metadata type for the operation returned by
  * [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance].
@@ -28,55 +11,51 @@
  *
  * Protobuf type {@code google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.UpdateInstanceMetadata)
     UpdateInstanceMetadataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use UpdateInstanceMetadata.newBuilder() to construct.
   private UpdateInstanceMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private UpdateInstanceMetadata() {}
+  private UpdateInstanceMetadata() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new UpdateInstanceMetadata();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_UpdateInstanceMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_UpdateInstanceMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_UpdateInstanceMetadata_fieldAccessorTable
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_UpdateInstanceMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.instance.v1.UpdateInstanceMetadata.class,
-            com.google.spanner.admin.instance.v1.UpdateInstanceMetadata.Builder.class);
+            com.google.spanner.admin.instance.v1.UpdateInstanceMetadata.class, com.google.spanner.admin.instance.v1.UpdateInstanceMetadata.Builder.class);
   }
 
   public static final int INSTANCE_FIELD_NUMBER = 1;
   private com.google.spanner.admin.instance.v1.Instance instance_;
   /**
-   *
-   *
    * 
    * The desired end state of the update.
    * 
* * .google.spanner.admin.instance.v1.Instance instance = 1; - * * @return Whether the instance field is set. */ @java.lang.Override @@ -84,25 +63,18 @@ public boolean hasInstance() { return instance_ != null; } /** - * - * *
    * The desired end state of the update.
    * 
* * .google.spanner.admin.instance.v1.Instance instance = 1; - * * @return The instance. */ @java.lang.Override public com.google.spanner.admin.instance.v1.Instance getInstance() { - return instance_ == null - ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() : instance_; } /** - * - * *
    * The desired end state of the update.
    * 
@@ -111,16 +83,12 @@ public com.google.spanner.admin.instance.v1.Instance getInstance() { */ @java.lang.Override public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuilder() { - return instance_ == null - ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() : instance_; } public static final int START_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp startTime_; /** - * - * *
    * The time at which
    * [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
@@ -128,7 +96,6 @@ public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuild
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return Whether the startTime field is set. */ @java.lang.Override @@ -136,8 +103,6 @@ public boolean hasStartTime() { return startTime_ != null; } /** - * - * *
    * The time at which
    * [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
@@ -145,7 +110,6 @@ public boolean hasStartTime() {
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ @java.lang.Override @@ -153,8 +117,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * The time at which
    * [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
@@ -171,8 +133,6 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
   public static final int CANCEL_TIME_FIELD_NUMBER = 3;
   private com.google.protobuf.Timestamp cancelTime_;
   /**
-   *
-   *
    * 
    * The time at which this operation was cancelled. If set, this operation is
    * in the process of undoing itself (which is guaranteed to succeed) and
@@ -180,7 +140,6 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
    * 
* * .google.protobuf.Timestamp cancel_time = 3; - * * @return Whether the cancelTime field is set. */ @java.lang.Override @@ -188,8 +147,6 @@ public boolean hasCancelTime() { return cancelTime_ != null; } /** - * - * *
    * The time at which this operation was cancelled. If set, this operation is
    * in the process of undoing itself (which is guaranteed to succeed) and
@@ -197,7 +154,6 @@ public boolean hasCancelTime() {
    * 
* * .google.protobuf.Timestamp cancel_time = 3; - * * @return The cancelTime. */ @java.lang.Override @@ -205,8 +161,6 @@ public com.google.protobuf.Timestamp getCancelTime() { return cancelTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : cancelTime_; } /** - * - * *
    * The time at which this operation was cancelled. If set, this operation is
    * in the process of undoing itself (which is guaranteed to succeed) and
@@ -223,14 +177,11 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
   public static final int END_TIME_FIELD_NUMBER = 4;
   private com.google.protobuf.Timestamp endTime_;
   /**
-   *
-   *
    * 
    * The time at which this operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp end_time = 4; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -238,14 +189,11 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * The time at which this operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp end_time = 4; - * * @return The endTime. */ @java.lang.Override @@ -253,8 +201,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * The time at which this operation failed or was completed successfully.
    * 
@@ -267,7 +213,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -279,7 +224,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -302,16 +248,20 @@ 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 (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getStartTime()); } if (cancelTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCancelTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getCancelTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getEndTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -321,29 +271,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.spanner.admin.instance.v1.UpdateInstanceMetadata)) { return super.equals(obj); } - com.google.spanner.admin.instance.v1.UpdateInstanceMetadata other = - (com.google.spanner.admin.instance.v1.UpdateInstanceMetadata) obj; + com.google.spanner.admin.instance.v1.UpdateInstanceMetadata other = (com.google.spanner.admin.instance.v1.UpdateInstanceMetadata) obj; if (hasInstance() != other.hasInstance()) return false; if (hasInstance()) { - if (!getInstance().equals(other.getInstance())) return false; + if (!getInstance() + .equals(other.getInstance())) 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 (hasCancelTime() != other.hasCancelTime()) return false; if (hasCancelTime()) { - if (!getCancelTime().equals(other.getCancelTime())) return false; + if (!getCancelTime() + .equals(other.getCancelTime())) 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; @@ -378,104 +331,96 @@ public int hashCode() { } public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.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.spanner.admin.instance.v1.UpdateInstanceMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.UpdateInstanceMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.UpdateInstanceMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.UpdateInstanceMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.UpdateInstanceMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.UpdateInstanceMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.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.spanner.admin.instance.v1.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.spanner.admin.instance.v1.UpdateInstanceMetadata prototype) { + public static Builder newBuilder(com.google.spanner.admin.instance.v1.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; } /** - * - * *
    * Metadata type for the operation returned by
    * [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance].
@@ -483,32 +428,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.UpdateInstanceMetadata)
       com.google.spanner.admin.instance.v1.UpdateInstanceMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_UpdateInstanceMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_UpdateInstanceMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_UpdateInstanceMetadata_fieldAccessorTable
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_UpdateInstanceMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.instance.v1.UpdateInstanceMetadata.class,
-              com.google.spanner.admin.instance.v1.UpdateInstanceMetadata.Builder.class);
+              com.google.spanner.admin.instance.v1.UpdateInstanceMetadata.class, com.google.spanner.admin.instance.v1.UpdateInstanceMetadata.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.instance.v1.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();
@@ -537,9 +483,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_UpdateInstanceMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_UpdateInstanceMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -558,11 +504,8 @@ public com.google.spanner.admin.instance.v1.UpdateInstanceMetadata build() {
 
     @java.lang.Override
     public com.google.spanner.admin.instance.v1.UpdateInstanceMetadata buildPartial() {
-      com.google.spanner.admin.instance.v1.UpdateInstanceMetadata result =
-          new com.google.spanner.admin.instance.v1.UpdateInstanceMetadata(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.admin.instance.v1.UpdateInstanceMetadata result = new com.google.spanner.admin.instance.v1.UpdateInstanceMetadata(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -570,16 +513,24 @@ public com.google.spanner.admin.instance.v1.UpdateInstanceMetadata buildPartial(
     private void buildPartial0(com.google.spanner.admin.instance.v1.UpdateInstanceMetadata 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.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build();
+        result.startTime_ = startTimeBuilder_ == null
+            ? startTime_
+            : startTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.cancelTime_ = cancelTimeBuilder_ == null ? cancelTime_ : cancelTimeBuilder_.build();
+        result.cancelTime_ = cancelTimeBuilder_ == null
+            ? cancelTime_
+            : cancelTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build();
+        result.endTime_ = endTimeBuilder_ == null
+            ? endTime_
+            : endTimeBuilder_.build();
       }
     }
 
@@ -587,39 +538,38 @@ private void buildPartial0(com.google.spanner.admin.instance.v1.UpdateInstanceMe
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.instance.v1.UpdateInstanceMetadata) {
-        return mergeFrom((com.google.spanner.admin.instance.v1.UpdateInstanceMetadata) other);
+        return mergeFrom((com.google.spanner.admin.instance.v1.UpdateInstanceMetadata)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -627,8 +577,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.spanner.admin.instance.v1.UpdateInstanceMetadata other) {
-      if (other == com.google.spanner.admin.instance.v1.UpdateInstanceMetadata.getDefaultInstance())
-        return this;
+      if (other == com.google.spanner.admin.instance.v1.UpdateInstanceMetadata.getDefaultInstance()) return this;
       if (other.hasInstance()) {
         mergeInstance(other.getInstance());
       }
@@ -667,37 +616,40 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getInstanceFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getCancelTimeFieldBuilder().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: {
+              input.readMessage(
+                  getInstanceFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getStartTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getCancelTimeFieldBuilder().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) {
@@ -707,52 +659,38 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.spanner.admin.instance.v1.Instance instance_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.admin.instance.v1.Instance,
-            com.google.spanner.admin.instance.v1.Instance.Builder,
-            com.google.spanner.admin.instance.v1.InstanceOrBuilder>
-        instanceBuilder_;
+        com.google.spanner.admin.instance.v1.Instance, com.google.spanner.admin.instance.v1.Instance.Builder, com.google.spanner.admin.instance.v1.InstanceOrBuilder> instanceBuilder_;
     /**
-     *
-     *
      * 
      * The desired end state of the update.
      * 
* * .google.spanner.admin.instance.v1.Instance instance = 1; - * * @return Whether the instance field is set. */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The desired end state of the update.
      * 
* * .google.spanner.admin.instance.v1.Instance instance = 1; - * * @return The instance. */ public com.google.spanner.admin.instance.v1.Instance getInstance() { if (instanceBuilder_ == null) { - return instance_ == null - ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() : instance_; } else { return instanceBuilder_.getMessage(); } } /** - * - * *
      * The desired end state of the update.
      * 
@@ -773,8 +711,6 @@ public Builder setInstance(com.google.spanner.admin.instance.v1.Instance value) return this; } /** - * - * *
      * The desired end state of the update.
      * 
@@ -793,8 +729,6 @@ public Builder setInstance( return this; } /** - * - * *
      * The desired end state of the update.
      * 
@@ -803,9 +737,9 @@ public Builder setInstance( */ public Builder mergeInstance(com.google.spanner.admin.instance.v1.Instance value) { if (instanceBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && instance_ != null - && instance_ != com.google.spanner.admin.instance.v1.Instance.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + instance_ != null && + instance_ != com.google.spanner.admin.instance.v1.Instance.getDefaultInstance()) { getInstanceBuilder().mergeFrom(value); } else { instance_ = value; @@ -818,8 +752,6 @@ public Builder mergeInstance(com.google.spanner.admin.instance.v1.Instance value return this; } /** - * - * *
      * The desired end state of the update.
      * 
@@ -837,8 +769,6 @@ public Builder clearInstance() { return this; } /** - * - * *
      * The desired end state of the update.
      * 
@@ -851,8 +781,6 @@ public com.google.spanner.admin.instance.v1.Instance.Builder getInstanceBuilder( return getInstanceFieldBuilder().getBuilder(); } /** - * - * *
      * The desired end state of the update.
      * 
@@ -863,14 +791,11 @@ public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuild if (instanceBuilder_ != null) { return instanceBuilder_.getMessageOrBuilder(); } else { - return instance_ == null - ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? + com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() : instance_; } } /** - * - * *
      * The desired end state of the update.
      * 
@@ -878,17 +803,14 @@ public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuild * .google.spanner.admin.instance.v1.Instance instance = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.Instance, - com.google.spanner.admin.instance.v1.Instance.Builder, - com.google.spanner.admin.instance.v1.InstanceOrBuilder> + com.google.spanner.admin.instance.v1.Instance, com.google.spanner.admin.instance.v1.Instance.Builder, com.google.spanner.admin.instance.v1.InstanceOrBuilder> getInstanceFieldBuilder() { if (instanceBuilder_ == null) { - instanceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.Instance, - com.google.spanner.admin.instance.v1.Instance.Builder, - com.google.spanner.admin.instance.v1.InstanceOrBuilder>( - getInstance(), getParentForChildren(), isClean()); + instanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.admin.instance.v1.Instance, com.google.spanner.admin.instance.v1.Instance.Builder, com.google.spanner.admin.instance.v1.InstanceOrBuilder>( + getInstance(), + getParentForChildren(), + isClean()); instance_ = null; } return instanceBuilder_; @@ -896,13 +818,8 @@ public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuild 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
      * [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
@@ -910,15 +827,12 @@ public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuild
      * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The time at which
      * [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
@@ -926,7 +840,6 @@ public boolean hasStartTime() {
      * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -937,8 +850,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * The time at which
      * [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
@@ -961,8 +872,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which
      * [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
@@ -971,7 +880,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 +892,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which
      * [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
@@ -994,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_ & 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;
@@ -1009,8 +917,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which
      * [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
@@ -1030,8 +936,6 @@ public Builder clearStartTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which
      * [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
@@ -1046,8 +950,6 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() {
       return getStartTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time at which
      * [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
@@ -1060,12 +962,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
      * [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
@@ -1075,17 +976,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_;
@@ -1093,13 +991,8 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp cancelTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        cancelTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> cancelTimeBuilder_;
     /**
-     *
-     *
      * 
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is guaranteed to succeed) and
@@ -1107,15 +1000,12 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
      * 
* * .google.protobuf.Timestamp cancel_time = 3; - * * @return Whether the cancelTime field is set. */ public boolean hasCancelTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is guaranteed to succeed) and
@@ -1123,21 +1013,16 @@ public boolean hasCancelTime() {
      * 
* * .google.protobuf.Timestamp cancel_time = 3; - * * @return The cancelTime. */ public com.google.protobuf.Timestamp getCancelTime() { if (cancelTimeBuilder_ == null) { - return cancelTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : cancelTime_; + return cancelTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : cancelTime_; } else { return cancelTimeBuilder_.getMessage(); } } /** - * - * *
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is guaranteed to succeed) and
@@ -1160,8 +1045,6 @@ public Builder setCancelTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is guaranteed to succeed) and
@@ -1170,7 +1053,8 @@ public Builder setCancelTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp cancel_time = 3;
      */
-    public Builder setCancelTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setCancelTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (cancelTimeBuilder_ == null) {
         cancelTime_ = builderForValue.build();
       } else {
@@ -1181,8 +1065,6 @@ public Builder setCancelTime(com.google.protobuf.Timestamp.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is guaranteed to succeed) and
@@ -1193,9 +1075,9 @@ public Builder setCancelTime(com.google.protobuf.Timestamp.Builder builderForVal
      */
     public Builder mergeCancelTime(com.google.protobuf.Timestamp value) {
       if (cancelTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0)
-            && cancelTime_ != null
-            && cancelTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0) &&
+          cancelTime_ != null &&
+          cancelTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getCancelTimeBuilder().mergeFrom(value);
         } else {
           cancelTime_ = value;
@@ -1208,8 +1090,6 @@ public Builder mergeCancelTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is guaranteed to succeed) and
@@ -1229,8 +1109,6 @@ public Builder clearCancelTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is guaranteed to succeed) and
@@ -1245,8 +1123,6 @@ public com.google.protobuf.Timestamp.Builder getCancelTimeBuilder() {
       return getCancelTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is guaranteed to succeed) and
@@ -1259,14 +1135,11 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
       if (cancelTimeBuilder_ != null) {
         return cancelTimeBuilder_.getMessageOrBuilder();
       } else {
-        return cancelTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : cancelTime_;
+        return cancelTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : cancelTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is guaranteed to succeed) and
@@ -1276,17 +1149,14 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
      * .google.protobuf.Timestamp cancel_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> 
         getCancelTimeFieldBuilder() {
       if (cancelTimeBuilder_ == null) {
-        cancelTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getCancelTime(), getParentForChildren(), isClean());
+        cancelTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getCancelTime(),
+                getParentForChildren(),
+                isClean());
         cancelTime_ = null;
       }
       return cancelTimeBuilder_;
@@ -1294,33 +1164,24 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
 
     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 time at which this operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp end_time = 4; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * The time at which this operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp end_time = 4; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1331,8 +1192,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * The time at which this operation failed or was completed successfully.
      * 
@@ -1353,15 +1212,14 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which this operation failed or was completed successfully.
      * 
* * .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 { @@ -1372,8 +1230,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * The time at which this operation failed or was completed successfully.
      * 
@@ -1382,9 +1238,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; @@ -1397,8 +1253,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which this operation failed or was completed successfully.
      * 
@@ -1416,8 +1270,6 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * The time at which this operation failed or was completed successfully.
      * 
@@ -1430,8 +1282,6 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which this operation failed or was completed successfully.
      * 
@@ -1442,12 +1292,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 time at which this operation failed or was completed successfully.
      * 
@@ -1455,24 +1304,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); } @@ -1482,12 +1328,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.UpdateInstanceMetadata) } // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.UpdateInstanceMetadata) private static final com.google.spanner.admin.instance.v1.UpdateInstanceMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.UpdateInstanceMetadata(); } @@ -1496,27 +1342,27 @@ public static com.google.spanner.admin.instance.v1.UpdateInstanceMetadata getDef 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; @@ -1531,4 +1377,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.instance.v1.UpdateInstanceMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceMetadataOrBuilder.java similarity index 82% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceMetadataOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceMetadataOrBuilder.java index cb4f3c002dd..aa1ff424f3a 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceMetadataOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/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/spanner/admin/instance/v1/spanner_instance_admin.proto package com.google.spanner.admin.instance.v1; -public interface UpdateInstanceMetadataOrBuilder - extends +public interface UpdateInstanceMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.UpdateInstanceMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The desired end state of the update.
    * 
* * .google.spanner.admin.instance.v1.Instance instance = 1; - * * @return Whether the instance field is set. */ boolean hasInstance(); /** - * - * *
    * The desired end state of the update.
    * 
* * .google.spanner.admin.instance.v1.Instance instance = 1; - * * @return The instance. */ com.google.spanner.admin.instance.v1.Instance getInstance(); /** - * - * *
    * The desired end state of the update.
    * 
@@ -59,8 +35,6 @@ public interface UpdateInstanceMetadataOrBuilder com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuilder(); /** - * - * *
    * The time at which
    * [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
@@ -68,13 +42,10 @@ public interface UpdateInstanceMetadataOrBuilder
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * The time at which
    * [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
@@ -82,13 +53,10 @@ public interface UpdateInstanceMetadataOrBuilder
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * The time at which
    * [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
@@ -100,8 +68,6 @@ public interface UpdateInstanceMetadataOrBuilder
   com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * The time at which this operation was cancelled. If set, this operation is
    * in the process of undoing itself (which is guaranteed to succeed) and
@@ -109,13 +75,10 @@ public interface UpdateInstanceMetadataOrBuilder
    * 
* * .google.protobuf.Timestamp cancel_time = 3; - * * @return Whether the cancelTime field is set. */ boolean hasCancelTime(); /** - * - * *
    * The time at which this operation was cancelled. If set, this operation is
    * in the process of undoing itself (which is guaranteed to succeed) and
@@ -123,13 +86,10 @@ public interface UpdateInstanceMetadataOrBuilder
    * 
* * .google.protobuf.Timestamp cancel_time = 3; - * * @return The cancelTime. */ com.google.protobuf.Timestamp getCancelTime(); /** - * - * *
    * The time at which this operation was cancelled. If set, this operation is
    * in the process of undoing itself (which is guaranteed to succeed) and
@@ -141,32 +101,24 @@ public interface UpdateInstanceMetadataOrBuilder
   com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * The time at which this operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp end_time = 4; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * The time at which this operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp end_time = 4; - * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * The time at which this operation failed or was completed successfully.
    * 
diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceRequest.java similarity index 69% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceRequest.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceRequest.java index b8eaa2160d8..db7c6a75c51 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceRequest.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/spanner/admin/instance/v1/spanner_instance_admin.proto package com.google.spanner.admin.instance.v1; /** - * - * *
  * The request for
  * [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance].
@@ -28,49 +11,46 @@
  *
  * Protobuf type {@code google.spanner.admin.instance.v1.UpdateInstanceRequest}
  */
-public final class UpdateInstanceRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class UpdateInstanceRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.instance.v1.UpdateInstanceRequest)
     UpdateInstanceRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use UpdateInstanceRequest.newBuilder() to construct.
   private UpdateInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private UpdateInstanceRequest() {}
+  private UpdateInstanceRequest() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new UpdateInstanceRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_UpdateInstanceRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_UpdateInstanceRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-        .internal_static_google_spanner_admin_instance_v1_UpdateInstanceRequest_fieldAccessorTable
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_UpdateInstanceRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.instance.v1.UpdateInstanceRequest.class,
-            com.google.spanner.admin.instance.v1.UpdateInstanceRequest.Builder.class);
+            com.google.spanner.admin.instance.v1.UpdateInstanceRequest.class, com.google.spanner.admin.instance.v1.UpdateInstanceRequest.Builder.class);
   }
 
   public static final int INSTANCE_FIELD_NUMBER = 1;
   private com.google.spanner.admin.instance.v1.Instance instance_;
   /**
-   *
-   *
    * 
    * Required. The instance to update, which must always include the instance
    * name.  Otherwise, only fields mentioned in
@@ -78,10 +58,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * need be included.
    * 
* - * - * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instance field is set. */ @java.lang.Override @@ -89,8 +66,6 @@ public boolean hasInstance() { return instance_ != null; } /** - * - * *
    * Required. The instance to update, which must always include the instance
    * name.  Otherwise, only fields mentioned in
@@ -98,21 +73,14 @@ public boolean hasInstance() {
    * need be included.
    * 
* - * - * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The instance. */ @java.lang.Override public com.google.spanner.admin.instance.v1.Instance getInstance() { - return instance_ == null - ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() : instance_; } /** - * - * *
    * Required. The instance to update, which must always include the instance
    * name.  Otherwise, only fields mentioned in
@@ -120,22 +88,16 @@ public com.google.spanner.admin.instance.v1.Instance getInstance() {
    * need be included.
    * 
* - * - * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuilder() { - return instance_ == null - ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() : instance_; } public static final int FIELD_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask fieldMask_; /** - * - * *
    * Required. A mask specifying which fields in
    * [Instance][google.spanner.admin.instance.v1.Instance] should be updated.
@@ -144,9 +106,7 @@ public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuild
    * accidentally by clients that do not know about them.
    * 
* - * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the fieldMask field is set. */ @java.lang.Override @@ -154,8 +114,6 @@ public boolean hasFieldMask() { return fieldMask_ != null; } /** - * - * *
    * Required. A mask specifying which fields in
    * [Instance][google.spanner.admin.instance.v1.Instance] should be updated.
@@ -164,9 +122,7 @@ public boolean hasFieldMask() {
    * accidentally by clients that do not know about them.
    * 
* - * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The fieldMask. */ @java.lang.Override @@ -174,8 +130,6 @@ public com.google.protobuf.FieldMask getFieldMask() { return fieldMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : fieldMask_; } /** - * - * *
    * Required. A mask specifying which fields in
    * [Instance][google.spanner.admin.instance.v1.Instance] should be updated.
@@ -184,8 +138,7 @@ public com.google.protobuf.FieldMask getFieldMask() {
    * accidentally by clients that do not know about them.
    * 
* - * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getFieldMaskOrBuilder() { @@ -193,7 +146,6 @@ public com.google.protobuf.FieldMaskOrBuilder getFieldMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -205,7 +157,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (instance_ != null) { output.writeMessage(1, getInstance()); } @@ -222,10 +175,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 (fieldMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getFieldMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getFieldMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -235,21 +190,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.spanner.admin.instance.v1.UpdateInstanceRequest)) { return super.equals(obj); } - com.google.spanner.admin.instance.v1.UpdateInstanceRequest other = - (com.google.spanner.admin.instance.v1.UpdateInstanceRequest) obj; + com.google.spanner.admin.instance.v1.UpdateInstanceRequest other = (com.google.spanner.admin.instance.v1.UpdateInstanceRequest) obj; if (hasInstance() != other.hasInstance()) return false; if (hasInstance()) { - if (!getInstance().equals(other.getInstance())) return false; + if (!getInstance() + .equals(other.getInstance())) return false; } if (hasFieldMask() != other.hasFieldMask()) return false; if (hasFieldMask()) { - if (!getFieldMask().equals(other.getFieldMask())) return false; + if (!getFieldMask() + .equals(other.getFieldMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -276,104 +232,96 @@ public int hashCode() { } public static com.google.spanner.admin.instance.v1.UpdateInstanceRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.UpdateInstanceRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.UpdateInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.UpdateInstanceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.UpdateInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.admin.instance.v1.UpdateInstanceRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.UpdateInstanceRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.UpdateInstanceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.UpdateInstanceRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.spanner.admin.instance.v1.UpdateInstanceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.admin.instance.v1.UpdateInstanceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.UpdateInstanceRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.UpdateInstanceRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.UpdateInstanceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.admin.instance.v1.UpdateInstanceRequest prototype) { + public static Builder newBuilder(com.google.spanner.admin.instance.v1.UpdateInstanceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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
    * [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance].
@@ -381,32 +329,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.admin.instance.v1.UpdateInstanceRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.instance.v1.UpdateInstanceRequest)
       com.google.spanner.admin.instance.v1.UpdateInstanceRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_UpdateInstanceRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_UpdateInstanceRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_UpdateInstanceRequest_fieldAccessorTable
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_UpdateInstanceRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.instance.v1.UpdateInstanceRequest.class,
-              com.google.spanner.admin.instance.v1.UpdateInstanceRequest.Builder.class);
+              com.google.spanner.admin.instance.v1.UpdateInstanceRequest.class, com.google.spanner.admin.instance.v1.UpdateInstanceRequest.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.instance.v1.UpdateInstanceRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -425,9 +374,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
-          .internal_static_google_spanner_admin_instance_v1_UpdateInstanceRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_UpdateInstanceRequest_descriptor;
     }
 
     @java.lang.Override
@@ -446,11 +395,8 @@ public com.google.spanner.admin.instance.v1.UpdateInstanceRequest build() {
 
     @java.lang.Override
     public com.google.spanner.admin.instance.v1.UpdateInstanceRequest buildPartial() {
-      com.google.spanner.admin.instance.v1.UpdateInstanceRequest result =
-          new com.google.spanner.admin.instance.v1.UpdateInstanceRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.admin.instance.v1.UpdateInstanceRequest result = new com.google.spanner.admin.instance.v1.UpdateInstanceRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -458,10 +404,14 @@ public com.google.spanner.admin.instance.v1.UpdateInstanceRequest buildPartial()
     private void buildPartial0(com.google.spanner.admin.instance.v1.UpdateInstanceRequest 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.fieldMask_ = fieldMaskBuilder_ == null ? fieldMask_ : fieldMaskBuilder_.build();
+        result.fieldMask_ = fieldMaskBuilder_ == null
+            ? fieldMask_
+            : fieldMaskBuilder_.build();
       }
     }
 
@@ -469,39 +419,38 @@ private void buildPartial0(com.google.spanner.admin.instance.v1.UpdateInstanceRe
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.instance.v1.UpdateInstanceRequest) {
-        return mergeFrom((com.google.spanner.admin.instance.v1.UpdateInstanceRequest) other);
+        return mergeFrom((com.google.spanner.admin.instance.v1.UpdateInstanceRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -509,8 +458,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.spanner.admin.instance.v1.UpdateInstanceRequest other) {
-      if (other == com.google.spanner.admin.instance.v1.UpdateInstanceRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.spanner.admin.instance.v1.UpdateInstanceRequest.getDefaultInstance()) return this;
       if (other.hasInstance()) {
         mergeInstance(other.getInstance());
       }
@@ -543,25 +491,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(getFieldMaskFieldBuilder().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(
+                  getFieldMaskFieldBuilder().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) {
@@ -571,18 +520,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.spanner.admin.instance.v1.Instance instance_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.admin.instance.v1.Instance,
-            com.google.spanner.admin.instance.v1.Instance.Builder,
-            com.google.spanner.admin.instance.v1.InstanceOrBuilder>
-        instanceBuilder_;
+        com.google.spanner.admin.instance.v1.Instance, com.google.spanner.admin.instance.v1.Instance.Builder, com.google.spanner.admin.instance.v1.InstanceOrBuilder> instanceBuilder_;
     /**
-     *
-     *
      * 
      * Required. The instance to update, which must always include the instance
      * name.  Otherwise, only fields mentioned in
@@ -590,18 +533,13 @@ public Builder mergeFrom(
      * need be included.
      * 
* - * - * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.instance.v1.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 to update, which must always include the instance
      * name.  Otherwise, only fields mentioned in
@@ -609,24 +547,17 @@ public boolean hasInstance() {
      * need be included.
      * 
* - * - * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The instance. */ public com.google.spanner.admin.instance.v1.Instance getInstance() { if (instanceBuilder_ == null) { - return instance_ == null - ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() : instance_; } else { return instanceBuilder_.getMessage(); } } /** - * - * *
      * Required. The instance to update, which must always include the instance
      * name.  Otherwise, only fields mentioned in
@@ -634,9 +565,7 @@ public com.google.spanner.admin.instance.v1.Instance getInstance() {
      * need be included.
      * 
* - * - * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setInstance(com.google.spanner.admin.instance.v1.Instance value) { if (instanceBuilder_ == null) { @@ -652,8 +581,6 @@ public Builder setInstance(com.google.spanner.admin.instance.v1.Instance value) return this; } /** - * - * *
      * Required. The instance to update, which must always include the instance
      * name.  Otherwise, only fields mentioned in
@@ -661,9 +588,7 @@ public Builder setInstance(com.google.spanner.admin.instance.v1.Instance value)
      * need be included.
      * 
* - * - * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setInstance( com.google.spanner.admin.instance.v1.Instance.Builder builderForValue) { @@ -677,8 +602,6 @@ public Builder setInstance( return this; } /** - * - * *
      * Required. The instance to update, which must always include the instance
      * name.  Otherwise, only fields mentioned in
@@ -686,15 +609,13 @@ public Builder setInstance(
      * need be included.
      * 
* - * - * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeInstance(com.google.spanner.admin.instance.v1.Instance value) { if (instanceBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && instance_ != null - && instance_ != com.google.spanner.admin.instance.v1.Instance.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + instance_ != null && + instance_ != com.google.spanner.admin.instance.v1.Instance.getDefaultInstance()) { getInstanceBuilder().mergeFrom(value); } else { instance_ = value; @@ -707,8 +628,6 @@ public Builder mergeInstance(com.google.spanner.admin.instance.v1.Instance value return this; } /** - * - * *
      * Required. The instance to update, which must always include the instance
      * name.  Otherwise, only fields mentioned in
@@ -716,9 +635,7 @@ public Builder mergeInstance(com.google.spanner.admin.instance.v1.Instance value
      * need be included.
      * 
* - * - * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearInstance() { bitField0_ = (bitField0_ & ~0x00000001); @@ -731,8 +648,6 @@ public Builder clearInstance() { return this; } /** - * - * *
      * Required. The instance to update, which must always include the instance
      * name.  Otherwise, only fields mentioned in
@@ -740,9 +655,7 @@ public Builder clearInstance() {
      * need be included.
      * 
* - * - * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.spanner.admin.instance.v1.Instance.Builder getInstanceBuilder() { bitField0_ |= 0x00000001; @@ -750,8 +663,6 @@ public com.google.spanner.admin.instance.v1.Instance.Builder getInstanceBuilder( return getInstanceFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The instance to update, which must always include the instance
      * name.  Otherwise, only fields mentioned in
@@ -759,22 +670,17 @@ public com.google.spanner.admin.instance.v1.Instance.Builder getInstanceBuilder(
      * need be included.
      * 
* - * - * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuilder() { if (instanceBuilder_ != null) { return instanceBuilder_.getMessageOrBuilder(); } else { - return instance_ == null - ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? + com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() : instance_; } } /** - * - * *
      * Required. The instance to update, which must always include the instance
      * name.  Otherwise, only fields mentioned in
@@ -782,22 +688,17 @@ public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuild
      * need be included.
      * 
* - * - * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.Instance, - com.google.spanner.admin.instance.v1.Instance.Builder, - com.google.spanner.admin.instance.v1.InstanceOrBuilder> + com.google.spanner.admin.instance.v1.Instance, com.google.spanner.admin.instance.v1.Instance.Builder, com.google.spanner.admin.instance.v1.InstanceOrBuilder> getInstanceFieldBuilder() { if (instanceBuilder_ == null) { - instanceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.Instance, - com.google.spanner.admin.instance.v1.Instance.Builder, - com.google.spanner.admin.instance.v1.InstanceOrBuilder>( - getInstance(), getParentForChildren(), isClean()); + instanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.admin.instance.v1.Instance, com.google.spanner.admin.instance.v1.Instance.Builder, com.google.spanner.admin.instance.v1.InstanceOrBuilder>( + getInstance(), + getParentForChildren(), + isClean()); instance_ = null; } return instanceBuilder_; @@ -805,13 +706,8 @@ public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuild private com.google.protobuf.FieldMask fieldMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - fieldMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> fieldMaskBuilder_; /** - * - * *
      * Required. A mask specifying which fields in
      * [Instance][google.spanner.admin.instance.v1.Instance] should be updated.
@@ -820,17 +716,13 @@ public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuild
      * accidentally by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the fieldMask field is set. */ public boolean hasFieldMask() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. A mask specifying which fields in
      * [Instance][google.spanner.admin.instance.v1.Instance] should be updated.
@@ -839,9 +731,7 @@ public boolean hasFieldMask() {
      * accidentally by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The fieldMask. */ public com.google.protobuf.FieldMask getFieldMask() { @@ -852,8 +742,6 @@ public com.google.protobuf.FieldMask getFieldMask() { } } /** - * - * *
      * Required. A mask specifying which fields in
      * [Instance][google.spanner.admin.instance.v1.Instance] should be updated.
@@ -862,8 +750,7 @@ public com.google.protobuf.FieldMask getFieldMask() {
      * accidentally by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setFieldMask(com.google.protobuf.FieldMask value) { if (fieldMaskBuilder_ == null) { @@ -879,8 +766,6 @@ public Builder setFieldMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. A mask specifying which fields in
      * [Instance][google.spanner.admin.instance.v1.Instance] should be updated.
@@ -889,10 +774,10 @@ public Builder setFieldMask(com.google.protobuf.FieldMask value) {
      * accidentally by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setFieldMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setFieldMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (fieldMaskBuilder_ == null) { fieldMask_ = builderForValue.build(); } else { @@ -903,8 +788,6 @@ public Builder setFieldMask(com.google.protobuf.FieldMask.Builder builderForValu return this; } /** - * - * *
      * Required. A mask specifying which fields in
      * [Instance][google.spanner.admin.instance.v1.Instance] should be updated.
@@ -913,14 +796,13 @@ public Builder setFieldMask(com.google.protobuf.FieldMask.Builder builderForValu
      * accidentally by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeFieldMask(com.google.protobuf.FieldMask value) { if (fieldMaskBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && fieldMask_ != null - && fieldMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + fieldMask_ != null && + fieldMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getFieldMaskBuilder().mergeFrom(value); } else { fieldMask_ = value; @@ -933,8 +815,6 @@ public Builder mergeFieldMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. A mask specifying which fields in
      * [Instance][google.spanner.admin.instance.v1.Instance] should be updated.
@@ -943,8 +823,7 @@ public Builder mergeFieldMask(com.google.protobuf.FieldMask value) {
      * accidentally by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearFieldMask() { bitField0_ = (bitField0_ & ~0x00000002); @@ -957,8 +836,6 @@ public Builder clearFieldMask() { return this; } /** - * - * *
      * Required. A mask specifying which fields in
      * [Instance][google.spanner.admin.instance.v1.Instance] should be updated.
@@ -967,8 +844,7 @@ public Builder clearFieldMask() {
      * accidentally by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getFieldMaskBuilder() { bitField0_ |= 0x00000002; @@ -976,8 +852,6 @@ public com.google.protobuf.FieldMask.Builder getFieldMaskBuilder() { return getFieldMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. A mask specifying which fields in
      * [Instance][google.spanner.admin.instance.v1.Instance] should be updated.
@@ -986,19 +860,17 @@ public com.google.protobuf.FieldMask.Builder getFieldMaskBuilder() {
      * accidentally by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMaskOrBuilder getFieldMaskOrBuilder() { if (fieldMaskBuilder_ != null) { return fieldMaskBuilder_.getMessageOrBuilder(); } else { - return fieldMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : fieldMask_; + return fieldMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : fieldMask_; } } /** - * - * *
      * Required. A mask specifying which fields in
      * [Instance][google.spanner.admin.instance.v1.Instance] should be updated.
@@ -1007,28 +879,24 @@ public com.google.protobuf.FieldMaskOrBuilder getFieldMaskOrBuilder() {
      * accidentally by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask field_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> getFieldMaskFieldBuilder() { if (fieldMaskBuilder_ == null) { - fieldMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getFieldMask(), getParentForChildren(), isClean()); + fieldMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getFieldMask(), + getParentForChildren(), + isClean()); fieldMask_ = null; } return fieldMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1038,12 +906,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.UpdateInstanceRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.UpdateInstanceRequest) private static final com.google.spanner.admin.instance.v1.UpdateInstanceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.UpdateInstanceRequest(); } @@ -1052,27 +920,27 @@ public static com.google.spanner.admin.instance.v1.UpdateInstanceRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateInstanceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateInstanceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1087,4 +955,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.instance.v1.UpdateInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceRequestOrBuilder.java similarity index 70% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceRequestOrBuilder.java index 6d01be2120f..07e2673a78d 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceRequestOrBuilder.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/spanner/admin/instance/v1/spanner_instance_admin.proto package com.google.spanner.admin.instance.v1; -public interface UpdateInstanceRequestOrBuilder - extends +public interface UpdateInstanceRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.UpdateInstanceRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The instance to update, which must always include the instance
    * name.  Otherwise, only fields mentioned in
@@ -33,16 +15,11 @@ public interface UpdateInstanceRequestOrBuilder
    * need be included.
    * 
* - * - * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instance field is set. */ boolean hasInstance(); /** - * - * *
    * Required. The instance to update, which must always include the instance
    * name.  Otherwise, only fields mentioned in
@@ -50,16 +27,11 @@ public interface UpdateInstanceRequestOrBuilder
    * need be included.
    * 
* - * - * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The instance. */ com.google.spanner.admin.instance.v1.Instance getInstance(); /** - * - * *
    * Required. The instance to update, which must always include the instance
    * name.  Otherwise, only fields mentioned in
@@ -67,15 +39,11 @@ public interface UpdateInstanceRequestOrBuilder
    * need be included.
    * 
* - * - * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuilder(); /** - * - * *
    * Required. A mask specifying which fields in
    * [Instance][google.spanner.admin.instance.v1.Instance] should be updated.
@@ -84,15 +52,11 @@ public interface UpdateInstanceRequestOrBuilder
    * accidentally by clients that do not know about them.
    * 
* - * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the fieldMask field is set. */ boolean hasFieldMask(); /** - * - * *
    * Required. A mask specifying which fields in
    * [Instance][google.spanner.admin.instance.v1.Instance] should be updated.
@@ -101,15 +65,11 @@ public interface UpdateInstanceRequestOrBuilder
    * accidentally by clients that do not know about them.
    * 
* - * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The fieldMask. */ com.google.protobuf.FieldMask getFieldMask(); /** - * - * *
    * Required. A mask specifying which fields in
    * [Instance][google.spanner.admin.instance.v1.Instance] should be updated.
@@ -118,8 +78,7 @@ public interface UpdateInstanceRequestOrBuilder
    * accidentally by clients that do not know about them.
    * 
* - * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.FieldMaskOrBuilder getFieldMaskOrBuilder(); } diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/proto/google/spanner/admin/instance/v1/common.proto b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/proto/google/spanner/admin/instance/v1/common.proto similarity index 94% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/proto/google/spanner/admin/instance/v1/common.proto rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/proto/google/spanner/admin/instance/v1/common.proto index e93b33476e8..ffb69748fbc 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/proto/google/spanner/admin/instance/v1/common.proto +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/proto/google/spanner/admin/instance/v1/common.proto @@ -19,7 +19,7 @@ package google.spanner.admin.instance.v1; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.Spanner.Admin.Instance.V1"; -option go_package = "google.golang.org/genproto/googleapis/spanner/admin/instance/v1;instance"; +option go_package = "cloud.google.com/go/spanner/admin/instance/apiv1/instancepb;instancepb"; option java_multiple_files = true; option java_outer_classname = "CommonProto"; option java_package = "com.google.spanner.admin.instance.v1"; diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/proto/google/spanner/admin/instance/v1/spanner_instance_admin.proto b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/proto/google/spanner/admin/instance/v1/spanner_instance_admin.proto similarity index 99% rename from proto-google-cloud-spanner-admin-instance-v1/src/main/proto/google/spanner/admin/instance/v1/spanner_instance_admin.proto rename to owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/proto/google/spanner/admin/instance/v1/spanner_instance_admin.proto index 85b041134ea..0b4a35705b4 100644 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/proto/google/spanner/admin/instance/v1/spanner_instance_admin.proto +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/proto/google/spanner/admin/instance/v1/spanner_instance_admin.proto @@ -29,7 +29,7 @@ import "google/protobuf/timestamp.proto"; import "google/spanner/admin/instance/v1/common.proto"; option csharp_namespace = "Google.Cloud.Spanner.Admin.Instance.V1"; -option go_package = "google.golang.org/genproto/googleapis/spanner/admin/instance/v1;instance"; +option go_package = "cloud.google.com/go/spanner/admin/instance/apiv1/instancepb;instancepb"; option java_multiple_files = true; option java_outer_classname = "SpannerInstanceAdminProto"; option java_package = "com.google.spanner.admin.instance.v1"; diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchCreateSessionsRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchCreateSessionsRequest.java similarity index 67% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchCreateSessionsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchCreateSessionsRequest.java index 9b92cd1cb03..add3c9b54cc 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchCreateSessionsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchCreateSessionsRequest.java @@ -1,87 +1,62 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/spanner.proto package com.google.spanner.v1; /** - * - * *
  * The request for [BatchCreateSessions][google.spanner.v1.Spanner.BatchCreateSessions].
  * 
* * Protobuf type {@code google.spanner.v1.BatchCreateSessionsRequest} */ -public final class BatchCreateSessionsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BatchCreateSessionsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.v1.BatchCreateSessionsRequest) BatchCreateSessionsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BatchCreateSessionsRequest.newBuilder() to construct. private BatchCreateSessionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BatchCreateSessionsRequest() { database_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BatchCreateSessionsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_BatchCreateSessionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_BatchCreateSessionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_BatchCreateSessionsRequest_fieldAccessorTable + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_BatchCreateSessionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.BatchCreateSessionsRequest.class, - com.google.spanner.v1.BatchCreateSessionsRequest.Builder.class); + com.google.spanner.v1.BatchCreateSessionsRequest.class, com.google.spanner.v1.BatchCreateSessionsRequest.Builder.class); } public static final int DATABASE_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object database_ = ""; /** - * - * *
    * Required. The database in which the new sessions are created.
    * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The database. */ @java.lang.Override @@ -90,31 +65,29 @@ public java.lang.String getDatabase() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; } } /** - * - * *
    * Required. The database in which the new sessions are created.
    * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for database. */ @java.lang.Override - public com.google.protobuf.ByteString getDatabaseBytes() { + public com.google.protobuf.ByteString + getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); database_ = b; return b; } else { @@ -125,14 +98,11 @@ public com.google.protobuf.ByteString getDatabaseBytes() { public static final int SESSION_TEMPLATE_FIELD_NUMBER = 2; private com.google.spanner.v1.Session sessionTemplate_; /** - * - * *
    * Parameters to be applied to each created session.
    * 
* * .google.spanner.v1.Session session_template = 2; - * * @return Whether the sessionTemplate field is set. */ @java.lang.Override @@ -140,25 +110,18 @@ public boolean hasSessionTemplate() { return sessionTemplate_ != null; } /** - * - * *
    * Parameters to be applied to each created session.
    * 
* * .google.spanner.v1.Session session_template = 2; - * * @return The sessionTemplate. */ @java.lang.Override public com.google.spanner.v1.Session getSessionTemplate() { - return sessionTemplate_ == null - ? com.google.spanner.v1.Session.getDefaultInstance() - : sessionTemplate_; + return sessionTemplate_ == null ? com.google.spanner.v1.Session.getDefaultInstance() : sessionTemplate_; } /** - * - * *
    * Parameters to be applied to each created session.
    * 
@@ -167,16 +130,12 @@ public com.google.spanner.v1.Session getSessionTemplate() { */ @java.lang.Override public com.google.spanner.v1.SessionOrBuilder getSessionTemplateOrBuilder() { - return sessionTemplate_ == null - ? com.google.spanner.v1.Session.getDefaultInstance() - : sessionTemplate_; + return sessionTemplate_ == null ? com.google.spanner.v1.Session.getDefaultInstance() : sessionTemplate_; } public static final int SESSION_COUNT_FIELD_NUMBER = 3; private int sessionCount_ = 0; /** - * - * *
    * Required. The number of sessions to be created in this batch call.
    * The API may return fewer than the requested number of sessions. If a
@@ -186,7 +145,6 @@ public com.google.spanner.v1.SessionOrBuilder getSessionTemplateOrBuilder() {
    * 
* * int32 session_count = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The sessionCount. */ @java.lang.Override @@ -195,7 +153,6 @@ public int getSessionCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -207,7 +164,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(database_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, database_); } @@ -230,10 +188,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, database_); } if (sessionTemplate_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getSessionTemplate()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getSessionTemplate()); } if (sessionCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, sessionCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, sessionCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -243,20 +203,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.spanner.v1.BatchCreateSessionsRequest)) { return super.equals(obj); } - com.google.spanner.v1.BatchCreateSessionsRequest other = - (com.google.spanner.v1.BatchCreateSessionsRequest) obj; + com.google.spanner.v1.BatchCreateSessionsRequest other = (com.google.spanner.v1.BatchCreateSessionsRequest) obj; - if (!getDatabase().equals(other.getDatabase())) return false; + if (!getDatabase() + .equals(other.getDatabase())) return false; if (hasSessionTemplate() != other.hasSessionTemplate()) return false; if (hasSessionTemplate()) { - if (!getSessionTemplate().equals(other.getSessionTemplate())) return false; + if (!getSessionTemplate() + .equals(other.getSessionTemplate())) return false; } - if (getSessionCount() != other.getSessionCount()) return false; + if (getSessionCount() + != other.getSessionCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -281,136 +243,130 @@ public int hashCode() { return hash; } - public static com.google.spanner.v1.BatchCreateSessionsRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.v1.BatchCreateSessionsRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.BatchCreateSessionsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.BatchCreateSessionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.BatchCreateSessionsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.BatchCreateSessionsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.BatchCreateSessionsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.v1.BatchCreateSessionsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.v1.BatchCreateSessionsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.BatchCreateSessionsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.spanner.v1.BatchCreateSessionsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.v1.BatchCreateSessionsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.v1.BatchCreateSessionsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.BatchCreateSessionsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.BatchCreateSessionsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.v1.BatchCreateSessionsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [BatchCreateSessions][google.spanner.v1.Spanner.BatchCreateSessions].
    * 
* * Protobuf type {@code google.spanner.v1.BatchCreateSessionsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.BatchCreateSessionsRequest) com.google.spanner.v1.BatchCreateSessionsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_BatchCreateSessionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_BatchCreateSessionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_BatchCreateSessionsRequest_fieldAccessorTable + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_BatchCreateSessionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.BatchCreateSessionsRequest.class, - com.google.spanner.v1.BatchCreateSessionsRequest.Builder.class); + com.google.spanner.v1.BatchCreateSessionsRequest.class, com.google.spanner.v1.BatchCreateSessionsRequest.Builder.class); } // Construct using com.google.spanner.v1.BatchCreateSessionsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.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 +382,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_BatchCreateSessionsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_BatchCreateSessionsRequest_descriptor; } @java.lang.Override @@ -447,11 +403,8 @@ public com.google.spanner.v1.BatchCreateSessionsRequest build() { @java.lang.Override public com.google.spanner.v1.BatchCreateSessionsRequest buildPartial() { - com.google.spanner.v1.BatchCreateSessionsRequest result = - new com.google.spanner.v1.BatchCreateSessionsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.v1.BatchCreateSessionsRequest result = new com.google.spanner.v1.BatchCreateSessionsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -462,8 +415,9 @@ private void buildPartial0(com.google.spanner.v1.BatchCreateSessionsRequest resu result.database_ = database_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.sessionTemplate_ = - sessionTemplateBuilder_ == null ? sessionTemplate_ : sessionTemplateBuilder_.build(); + result.sessionTemplate_ = sessionTemplateBuilder_ == null + ? sessionTemplate_ + : sessionTemplateBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.sessionCount_ = sessionCount_; @@ -474,39 +428,38 @@ private void buildPartial0(com.google.spanner.v1.BatchCreateSessionsRequest 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.spanner.v1.BatchCreateSessionsRequest) { - return mergeFrom((com.google.spanner.v1.BatchCreateSessionsRequest) other); + return mergeFrom((com.google.spanner.v1.BatchCreateSessionsRequest)other); } else { super.mergeFrom(other); return this; @@ -514,8 +467,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.v1.BatchCreateSessionsRequest other) { - if (other == com.google.spanner.v1.BatchCreateSessionsRequest.getDefaultInstance()) - return this; + if (other == com.google.spanner.v1.BatchCreateSessionsRequest.getDefaultInstance()) return this; if (!other.getDatabase().isEmpty()) { database_ = other.database_; bitField0_ |= 0x00000001; @@ -553,31 +505,29 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - database_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getSessionTemplateFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: - { - sessionCount_ = input.readInt32(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + database_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getSessionTemplateFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + sessionCount_ = input.readInt32(); + 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) { @@ -587,27 +537,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object database_ = ""; /** - * - * *
      * Required. The database in which the new sessions are created.
      * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The database. */ public java.lang.String getDatabase() { java.lang.Object ref = database_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; @@ -616,23 +561,20 @@ public java.lang.String getDatabase() { } } /** - * - * *
      * Required. The database in which the new sessions are created.
      * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for database. */ - public com.google.protobuf.ByteString getDatabaseBytes() { + public com.google.protobuf.ByteString + getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); database_ = b; return b; } else { @@ -640,39 +582,28 @@ public com.google.protobuf.ByteString getDatabaseBytes() { } } /** - * - * *
      * Required. The database in which the new sessions are created.
      * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The database to set. * @return This builder for chaining. */ - public Builder setDatabase(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabase( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } database_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The database in which the new sessions are created.
      * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearDatabase() { @@ -682,23 +613,17 @@ public Builder clearDatabase() { return this; } /** - * - * *
      * Required. The database in which the new sessions are created.
      * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for database to set. * @return This builder for chaining. */ - public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabaseBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); database_ = value; bitField0_ |= 0x00000001; @@ -708,47 +633,34 @@ public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { private com.google.spanner.v1.Session sessionTemplate_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.Session, - com.google.spanner.v1.Session.Builder, - com.google.spanner.v1.SessionOrBuilder> - sessionTemplateBuilder_; + com.google.spanner.v1.Session, com.google.spanner.v1.Session.Builder, com.google.spanner.v1.SessionOrBuilder> sessionTemplateBuilder_; /** - * - * *
      * Parameters to be applied to each created session.
      * 
* * .google.spanner.v1.Session session_template = 2; - * * @return Whether the sessionTemplate field is set. */ public boolean hasSessionTemplate() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Parameters to be applied to each created session.
      * 
* * .google.spanner.v1.Session session_template = 2; - * * @return The sessionTemplate. */ public com.google.spanner.v1.Session getSessionTemplate() { if (sessionTemplateBuilder_ == null) { - return sessionTemplate_ == null - ? com.google.spanner.v1.Session.getDefaultInstance() - : sessionTemplate_; + return sessionTemplate_ == null ? com.google.spanner.v1.Session.getDefaultInstance() : sessionTemplate_; } else { return sessionTemplateBuilder_.getMessage(); } } /** - * - * *
      * Parameters to be applied to each created session.
      * 
@@ -769,15 +681,14 @@ public Builder setSessionTemplate(com.google.spanner.v1.Session value) { return this; } /** - * - * *
      * Parameters to be applied to each created session.
      * 
* * .google.spanner.v1.Session session_template = 2; */ - public Builder setSessionTemplate(com.google.spanner.v1.Session.Builder builderForValue) { + public Builder setSessionTemplate( + com.google.spanner.v1.Session.Builder builderForValue) { if (sessionTemplateBuilder_ == null) { sessionTemplate_ = builderForValue.build(); } else { @@ -788,8 +699,6 @@ public Builder setSessionTemplate(com.google.spanner.v1.Session.Builder builderF return this; } /** - * - * *
      * Parameters to be applied to each created session.
      * 
@@ -798,9 +707,9 @@ public Builder setSessionTemplate(com.google.spanner.v1.Session.Builder builderF */ public Builder mergeSessionTemplate(com.google.spanner.v1.Session value) { if (sessionTemplateBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && sessionTemplate_ != null - && sessionTemplate_ != com.google.spanner.v1.Session.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + sessionTemplate_ != null && + sessionTemplate_ != com.google.spanner.v1.Session.getDefaultInstance()) { getSessionTemplateBuilder().mergeFrom(value); } else { sessionTemplate_ = value; @@ -813,8 +722,6 @@ public Builder mergeSessionTemplate(com.google.spanner.v1.Session value) { return this; } /** - * - * *
      * Parameters to be applied to each created session.
      * 
@@ -832,8 +739,6 @@ public Builder clearSessionTemplate() { return this; } /** - * - * *
      * Parameters to be applied to each created session.
      * 
@@ -846,8 +751,6 @@ public com.google.spanner.v1.Session.Builder getSessionTemplateBuilder() { return getSessionTemplateFieldBuilder().getBuilder(); } /** - * - * *
      * Parameters to be applied to each created session.
      * 
@@ -858,14 +761,11 @@ public com.google.spanner.v1.SessionOrBuilder getSessionTemplateOrBuilder() { if (sessionTemplateBuilder_ != null) { return sessionTemplateBuilder_.getMessageOrBuilder(); } else { - return sessionTemplate_ == null - ? com.google.spanner.v1.Session.getDefaultInstance() - : sessionTemplate_; + return sessionTemplate_ == null ? + com.google.spanner.v1.Session.getDefaultInstance() : sessionTemplate_; } } /** - * - * *
      * Parameters to be applied to each created session.
      * 
@@ -873,26 +773,21 @@ public com.google.spanner.v1.SessionOrBuilder getSessionTemplateOrBuilder() { * .google.spanner.v1.Session session_template = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.Session, - com.google.spanner.v1.Session.Builder, - com.google.spanner.v1.SessionOrBuilder> + com.google.spanner.v1.Session, com.google.spanner.v1.Session.Builder, com.google.spanner.v1.SessionOrBuilder> getSessionTemplateFieldBuilder() { if (sessionTemplateBuilder_ == null) { - sessionTemplateBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.Session, - com.google.spanner.v1.Session.Builder, - com.google.spanner.v1.SessionOrBuilder>( - getSessionTemplate(), getParentForChildren(), isClean()); + sessionTemplateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.v1.Session, com.google.spanner.v1.Session.Builder, com.google.spanner.v1.SessionOrBuilder>( + getSessionTemplate(), + getParentForChildren(), + isClean()); sessionTemplate_ = null; } return sessionTemplateBuilder_; } - private int sessionCount_; + private int sessionCount_ ; /** - * - * *
      * Required. The number of sessions to be created in this batch call.
      * The API may return fewer than the requested number of sessions. If a
@@ -902,7 +797,6 @@ public com.google.spanner.v1.SessionOrBuilder getSessionTemplateOrBuilder() {
      * 
* * int32 session_count = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The sessionCount. */ @java.lang.Override @@ -910,8 +804,6 @@ public int getSessionCount() { return sessionCount_; } /** - * - * *
      * Required. The number of sessions to be created in this batch call.
      * The API may return fewer than the requested number of sessions. If a
@@ -921,20 +813,17 @@ public int getSessionCount() {
      * 
* * int32 session_count = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The sessionCount to set. * @return This builder for chaining. */ public Builder setSessionCount(int value) { - + sessionCount_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Required. The number of sessions to be created in this batch call.
      * The API may return fewer than the requested number of sessions. If a
@@ -944,7 +833,6 @@ public Builder setSessionCount(int value) {
      * 
* * int32 session_count = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearSessionCount() { @@ -953,9 +841,9 @@ public Builder clearSessionCount() { onChanged(); return this; } - @java.lang.Override - 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 +853,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.v1.BatchCreateSessionsRequest) } // @@protoc_insertion_point(class_scope:google.spanner.v1.BatchCreateSessionsRequest) private static final com.google.spanner.v1.BatchCreateSessionsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.v1.BatchCreateSessionsRequest(); } @@ -979,27 +867,27 @@ public static com.google.spanner.v1.BatchCreateSessionsRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchCreateSessionsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchCreateSessionsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,4 +902,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.spanner.v1.BatchCreateSessionsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchCreateSessionsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchCreateSessionsRequestOrBuilder.java similarity index 63% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchCreateSessionsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchCreateSessionsRequestOrBuilder.java index 3a4cd4d26ac..35d6a63a155 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchCreateSessionsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchCreateSessionsRequestOrBuilder.java @@ -1,84 +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/spanner/v1/spanner.proto package com.google.spanner.v1; -public interface BatchCreateSessionsRequestOrBuilder - extends +public interface BatchCreateSessionsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.BatchCreateSessionsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The database in which the new sessions are created.
    * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The database. */ java.lang.String getDatabase(); /** - * - * *
    * Required. The database in which the new sessions are created.
    * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for database. */ - com.google.protobuf.ByteString getDatabaseBytes(); + com.google.protobuf.ByteString + getDatabaseBytes(); /** - * - * *
    * Parameters to be applied to each created session.
    * 
* * .google.spanner.v1.Session session_template = 2; - * * @return Whether the sessionTemplate field is set. */ boolean hasSessionTemplate(); /** - * - * *
    * Parameters to be applied to each created session.
    * 
* * .google.spanner.v1.Session session_template = 2; - * * @return The sessionTemplate. */ com.google.spanner.v1.Session getSessionTemplate(); /** - * - * *
    * Parameters to be applied to each created session.
    * 
@@ -88,8 +55,6 @@ public interface BatchCreateSessionsRequestOrBuilder com.google.spanner.v1.SessionOrBuilder getSessionTemplateOrBuilder(); /** - * - * *
    * Required. The number of sessions to be created in this batch call.
    * The API may return fewer than the requested number of sessions. If a
@@ -99,7 +64,6 @@ public interface BatchCreateSessionsRequestOrBuilder
    * 
* * int32 session_count = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The sessionCount. */ int getSessionCount(); diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchCreateSessionsResponse.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchCreateSessionsResponse.java similarity index 69% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchCreateSessionsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchCreateSessionsResponse.java index a53a5644317..af5fec3928f 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchCreateSessionsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchCreateSessionsResponse.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/spanner/v1/spanner.proto package com.google.spanner.v1; /** - * - * *
  * The response for [BatchCreateSessions][google.spanner.v1.Spanner.BatchCreateSessions].
  * 
* * Protobuf type {@code google.spanner.v1.BatchCreateSessionsResponse} */ -public final class BatchCreateSessionsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BatchCreateSessionsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.v1.BatchCreateSessionsResponse) BatchCreateSessionsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BatchCreateSessionsResponse.newBuilder() to construct. private BatchCreateSessionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BatchCreateSessionsResponse() { session_ = 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 BatchCreateSessionsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_BatchCreateSessionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_BatchCreateSessionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_BatchCreateSessionsResponse_fieldAccessorTable + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_BatchCreateSessionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.BatchCreateSessionsResponse.class, - com.google.spanner.v1.BatchCreateSessionsResponse.Builder.class); + com.google.spanner.v1.BatchCreateSessionsResponse.class, com.google.spanner.v1.BatchCreateSessionsResponse.Builder.class); } public static final int SESSION_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List session_; /** - * - * *
    * The freshly created sessions.
    * 
@@ -85,8 +63,6 @@ public java.util.List getSessionList() { return session_; } /** - * - * *
    * The freshly created sessions.
    * 
@@ -94,13 +70,11 @@ public java.util.List getSessionList() { * repeated .google.spanner.v1.Session session = 1; */ @java.lang.Override - public java.util.List + public java.util.List getSessionOrBuilderList() { return session_; } /** - * - * *
    * The freshly created sessions.
    * 
@@ -112,8 +86,6 @@ public int getSessionCount() { return session_.size(); } /** - * - * *
    * The freshly created sessions.
    * 
@@ -125,8 +97,6 @@ public com.google.spanner.v1.Session getSession(int index) { return session_.get(index); } /** - * - * *
    * The freshly created sessions.
    * 
@@ -134,12 +104,12 @@ public com.google.spanner.v1.Session getSession(int index) { * repeated .google.spanner.v1.Session session = 1; */ @java.lang.Override - public com.google.spanner.v1.SessionOrBuilder getSessionOrBuilder(int index) { + public com.google.spanner.v1.SessionOrBuilder getSessionOrBuilder( + int index) { return session_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,7 +121,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < session_.size(); i++) { output.writeMessage(1, session_.get(i)); } @@ -165,7 +136,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < session_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, session_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, session_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -175,15 +147,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.spanner.v1.BatchCreateSessionsResponse)) { return super.equals(obj); } - com.google.spanner.v1.BatchCreateSessionsResponse other = - (com.google.spanner.v1.BatchCreateSessionsResponse) obj; + com.google.spanner.v1.BatchCreateSessionsResponse other = (com.google.spanner.v1.BatchCreateSessionsResponse) obj; - if (!getSessionList().equals(other.getSessionList())) return false; + if (!getSessionList() + .equals(other.getSessionList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -205,135 +177,129 @@ public int hashCode() { } public static com.google.spanner.v1.BatchCreateSessionsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.BatchCreateSessionsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.BatchCreateSessionsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.BatchCreateSessionsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.BatchCreateSessionsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.BatchCreateSessionsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.v1.BatchCreateSessionsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.v1.BatchCreateSessionsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.BatchCreateSessionsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.spanner.v1.BatchCreateSessionsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.v1.BatchCreateSessionsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.v1.BatchCreateSessionsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.BatchCreateSessionsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.BatchCreateSessionsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.v1.BatchCreateSessionsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [BatchCreateSessions][google.spanner.v1.Spanner.BatchCreateSessions].
    * 
* * Protobuf type {@code google.spanner.v1.BatchCreateSessionsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.BatchCreateSessionsResponse) com.google.spanner.v1.BatchCreateSessionsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_BatchCreateSessionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_BatchCreateSessionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_BatchCreateSessionsResponse_fieldAccessorTable + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_BatchCreateSessionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.BatchCreateSessionsResponse.class, - com.google.spanner.v1.BatchCreateSessionsResponse.Builder.class); + com.google.spanner.v1.BatchCreateSessionsResponse.class, com.google.spanner.v1.BatchCreateSessionsResponse.Builder.class); } // Construct using com.google.spanner.v1.BatchCreateSessionsResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -349,9 +315,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_BatchCreateSessionsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_BatchCreateSessionsResponse_descriptor; } @java.lang.Override @@ -370,18 +336,14 @@ public com.google.spanner.v1.BatchCreateSessionsResponse build() { @java.lang.Override public com.google.spanner.v1.BatchCreateSessionsResponse buildPartial() { - com.google.spanner.v1.BatchCreateSessionsResponse result = - new com.google.spanner.v1.BatchCreateSessionsResponse(this); + com.google.spanner.v1.BatchCreateSessionsResponse result = new com.google.spanner.v1.BatchCreateSessionsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.spanner.v1.BatchCreateSessionsResponse result) { + private void buildPartialRepeatedFields(com.google.spanner.v1.BatchCreateSessionsResponse result) { if (sessionBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { session_ = java.util.Collections.unmodifiableList(session_); @@ -401,39 +363,38 @@ private void buildPartial0(com.google.spanner.v1.BatchCreateSessionsResponse 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.spanner.v1.BatchCreateSessionsResponse) { - return mergeFrom((com.google.spanner.v1.BatchCreateSessionsResponse) other); + return mergeFrom((com.google.spanner.v1.BatchCreateSessionsResponse)other); } else { super.mergeFrom(other); return this; @@ -441,8 +402,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.v1.BatchCreateSessionsResponse other) { - if (other == com.google.spanner.v1.BatchCreateSessionsResponse.getDefaultInstance()) - return this; + if (other == com.google.spanner.v1.BatchCreateSessionsResponse.getDefaultInstance()) return this; if (sessionBuilder_ == null) { if (!other.session_.isEmpty()) { if (session_.isEmpty()) { @@ -461,10 +421,9 @@ public Builder mergeFrom(com.google.spanner.v1.BatchCreateSessionsResponse other sessionBuilder_ = null; session_ = other.session_; bitField0_ = (bitField0_ & ~0x00000001); - sessionBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getSessionFieldBuilder() - : null; + sessionBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getSessionFieldBuilder() : null; } else { sessionBuilder_.addAllMessages(other.session_); } @@ -496,25 +455,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.spanner.v1.Session m = - input.readMessage(com.google.spanner.v1.Session.parser(), extensionRegistry); - if (sessionBuilder_ == null) { - ensureSessionIsMutable(); - session_.add(m); - } else { - sessionBuilder_.addMessage(m); - } - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.spanner.v1.Session m = + input.readMessage( + com.google.spanner.v1.Session.parser(), + extensionRegistry); + if (sessionBuilder_ == null) { + ensureSessionIsMutable(); + session_.add(m); + } else { + sessionBuilder_.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 +483,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List session_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureSessionIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { session_ = new java.util.ArrayList(session_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.v1.Session, - com.google.spanner.v1.Session.Builder, - com.google.spanner.v1.SessionOrBuilder> - sessionBuilder_; + com.google.spanner.v1.Session, com.google.spanner.v1.Session.Builder, com.google.spanner.v1.SessionOrBuilder> sessionBuilder_; /** - * - * *
      * The freshly created sessions.
      * 
@@ -560,8 +512,6 @@ public java.util.List getSessionList() { } } /** - * - * *
      * The freshly created sessions.
      * 
@@ -576,8 +526,6 @@ public int getSessionCount() { } } /** - * - * *
      * The freshly created sessions.
      * 
@@ -592,15 +540,14 @@ public com.google.spanner.v1.Session getSession(int index) { } } /** - * - * *
      * The freshly created sessions.
      * 
* * repeated .google.spanner.v1.Session session = 1; */ - public Builder setSession(int index, com.google.spanner.v1.Session value) { + public Builder setSession( + int index, com.google.spanner.v1.Session value) { if (sessionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -614,15 +561,14 @@ public Builder setSession(int index, com.google.spanner.v1.Session value) { return this; } /** - * - * *
      * The freshly created sessions.
      * 
* * repeated .google.spanner.v1.Session session = 1; */ - public Builder setSession(int index, com.google.spanner.v1.Session.Builder builderForValue) { + public Builder setSession( + int index, com.google.spanner.v1.Session.Builder builderForValue) { if (sessionBuilder_ == null) { ensureSessionIsMutable(); session_.set(index, builderForValue.build()); @@ -633,8 +579,6 @@ public Builder setSession(int index, com.google.spanner.v1.Session.Builder build return this; } /** - * - * *
      * The freshly created sessions.
      * 
@@ -655,15 +599,14 @@ public Builder addSession(com.google.spanner.v1.Session value) { return this; } /** - * - * *
      * The freshly created sessions.
      * 
* * repeated .google.spanner.v1.Session session = 1; */ - public Builder addSession(int index, com.google.spanner.v1.Session value) { + public Builder addSession( + int index, com.google.spanner.v1.Session value) { if (sessionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -677,15 +620,14 @@ public Builder addSession(int index, com.google.spanner.v1.Session value) { return this; } /** - * - * *
      * The freshly created sessions.
      * 
* * repeated .google.spanner.v1.Session session = 1; */ - public Builder addSession(com.google.spanner.v1.Session.Builder builderForValue) { + public Builder addSession( + com.google.spanner.v1.Session.Builder builderForValue) { if (sessionBuilder_ == null) { ensureSessionIsMutable(); session_.add(builderForValue.build()); @@ -696,15 +638,14 @@ public Builder addSession(com.google.spanner.v1.Session.Builder builderForValue) return this; } /** - * - * *
      * The freshly created sessions.
      * 
* * repeated .google.spanner.v1.Session session = 1; */ - public Builder addSession(int index, com.google.spanner.v1.Session.Builder builderForValue) { + public Builder addSession( + int index, com.google.spanner.v1.Session.Builder builderForValue) { if (sessionBuilder_ == null) { ensureSessionIsMutable(); session_.add(index, builderForValue.build()); @@ -715,8 +656,6 @@ public Builder addSession(int index, com.google.spanner.v1.Session.Builder build return this; } /** - * - * *
      * The freshly created sessions.
      * 
@@ -727,7 +666,8 @@ public Builder addAllSession( java.lang.Iterable values) { if (sessionBuilder_ == null) { ensureSessionIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, session_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, session_); onChanged(); } else { sessionBuilder_.addAllMessages(values); @@ -735,8 +675,6 @@ public Builder addAllSession( return this; } /** - * - * *
      * The freshly created sessions.
      * 
@@ -754,8 +692,6 @@ public Builder clearSession() { return this; } /** - * - * *
      * The freshly created sessions.
      * 
@@ -773,44 +709,39 @@ public Builder removeSession(int index) { return this; } /** - * - * *
      * The freshly created sessions.
      * 
* * repeated .google.spanner.v1.Session session = 1; */ - public com.google.spanner.v1.Session.Builder getSessionBuilder(int index) { + public com.google.spanner.v1.Session.Builder getSessionBuilder( + int index) { return getSessionFieldBuilder().getBuilder(index); } /** - * - * *
      * The freshly created sessions.
      * 
* * repeated .google.spanner.v1.Session session = 1; */ - public com.google.spanner.v1.SessionOrBuilder getSessionOrBuilder(int index) { + public com.google.spanner.v1.SessionOrBuilder getSessionOrBuilder( + int index) { if (sessionBuilder_ == null) { - return session_.get(index); - } else { + return session_.get(index); } else { return sessionBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The freshly created sessions.
      * 
* * repeated .google.spanner.v1.Session session = 1; */ - public java.util.List - getSessionOrBuilderList() { + public java.util.List + getSessionOrBuilderList() { if (sessionBuilder_ != null) { return sessionBuilder_.getMessageOrBuilderList(); } else { @@ -818,8 +749,6 @@ public com.google.spanner.v1.SessionOrBuilder getSessionOrBuilder(int index) { } } /** - * - * *
      * The freshly created sessions.
      * 
@@ -827,54 +756,49 @@ public com.google.spanner.v1.SessionOrBuilder getSessionOrBuilder(int index) { * repeated .google.spanner.v1.Session session = 1; */ public com.google.spanner.v1.Session.Builder addSessionBuilder() { - return getSessionFieldBuilder() - .addBuilder(com.google.spanner.v1.Session.getDefaultInstance()); + return getSessionFieldBuilder().addBuilder( + com.google.spanner.v1.Session.getDefaultInstance()); } /** - * - * *
      * The freshly created sessions.
      * 
* * repeated .google.spanner.v1.Session session = 1; */ - public com.google.spanner.v1.Session.Builder addSessionBuilder(int index) { - return getSessionFieldBuilder() - .addBuilder(index, com.google.spanner.v1.Session.getDefaultInstance()); + public com.google.spanner.v1.Session.Builder addSessionBuilder( + int index) { + return getSessionFieldBuilder().addBuilder( + index, com.google.spanner.v1.Session.getDefaultInstance()); } /** - * - * *
      * The freshly created sessions.
      * 
* * repeated .google.spanner.v1.Session session = 1; */ - public java.util.List getSessionBuilderList() { + public java.util.List + getSessionBuilderList() { return getSessionFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.v1.Session, - com.google.spanner.v1.Session.Builder, - com.google.spanner.v1.SessionOrBuilder> + com.google.spanner.v1.Session, com.google.spanner.v1.Session.Builder, com.google.spanner.v1.SessionOrBuilder> getSessionFieldBuilder() { if (sessionBuilder_ == null) { - sessionBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.v1.Session, - com.google.spanner.v1.Session.Builder, - com.google.spanner.v1.SessionOrBuilder>( - session_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + sessionBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.spanner.v1.Session, com.google.spanner.v1.Session.Builder, com.google.spanner.v1.SessionOrBuilder>( + session_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); session_ = null; } return sessionBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -884,12 +808,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.v1.BatchCreateSessionsResponse) } // @@protoc_insertion_point(class_scope:google.spanner.v1.BatchCreateSessionsResponse) private static final com.google.spanner.v1.BatchCreateSessionsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.v1.BatchCreateSessionsResponse(); } @@ -898,27 +822,27 @@ public static com.google.spanner.v1.BatchCreateSessionsResponse getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchCreateSessionsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchCreateSessionsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -933,4 +857,6 @@ public com.google.protobuf.Parser getParserForType( public com.google.spanner.v1.BatchCreateSessionsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchCreateSessionsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchCreateSessionsResponseOrBuilder.java similarity index 56% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchCreateSessionsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchCreateSessionsResponseOrBuilder.java index 8c6fd582b74..2e2cbd2454d 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchCreateSessionsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchCreateSessionsResponseOrBuilder.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/spanner/v1/spanner.proto package com.google.spanner.v1; -public interface BatchCreateSessionsResponseOrBuilder - extends +public interface BatchCreateSessionsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.BatchCreateSessionsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The freshly created sessions.
    * 
* * repeated .google.spanner.v1.Session session = 1; */ - java.util.List getSessionList(); + java.util.List + getSessionList(); /** - * - * *
    * The freshly created sessions.
    * 
@@ -44,8 +25,6 @@ public interface BatchCreateSessionsResponseOrBuilder */ com.google.spanner.v1.Session getSession(int index); /** - * - * *
    * The freshly created sessions.
    * 
@@ -54,23 +33,21 @@ public interface BatchCreateSessionsResponseOrBuilder */ int getSessionCount(); /** - * - * *
    * The freshly created sessions.
    * 
* * repeated .google.spanner.v1.Session session = 1; */ - java.util.List getSessionOrBuilderList(); + java.util.List + getSessionOrBuilderList(); /** - * - * *
    * The freshly created sessions.
    * 
* * repeated .google.spanner.v1.Session session = 1; */ - com.google.spanner.v1.SessionOrBuilder getSessionOrBuilder(int index); + com.google.spanner.v1.SessionOrBuilder getSessionOrBuilder( + int index); } diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BeginTransactionRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BeginTransactionRequest.java similarity index 65% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BeginTransactionRequest.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BeginTransactionRequest.java index d676fd87ea6..7b9c8abf983 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BeginTransactionRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BeginTransactionRequest.java @@ -1,87 +1,62 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/spanner.proto package com.google.spanner.v1; /** - * - * *
  * The request for [BeginTransaction][google.spanner.v1.Spanner.BeginTransaction].
  * 
* * Protobuf type {@code google.spanner.v1.BeginTransactionRequest} */ -public final class BeginTransactionRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BeginTransactionRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.v1.BeginTransactionRequest) BeginTransactionRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BeginTransactionRequest.newBuilder() to construct. private BeginTransactionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BeginTransactionRequest() { session_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BeginTransactionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_BeginTransactionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_BeginTransactionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_BeginTransactionRequest_fieldAccessorTable + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_BeginTransactionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.BeginTransactionRequest.class, - com.google.spanner.v1.BeginTransactionRequest.Builder.class); + com.google.spanner.v1.BeginTransactionRequest.class, com.google.spanner.v1.BeginTransactionRequest.Builder.class); } public static final int SESSION_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object session_ = ""; /** - * - * *
    * Required. The session in which the transaction runs.
    * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The session. */ @java.lang.Override @@ -90,31 +65,29 @@ public java.lang.String getSession() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); session_ = s; return s; } } /** - * - * *
    * Required. The session in which the transaction runs.
    * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for session. */ @java.lang.Override - public com.google.protobuf.ByteString getSessionBytes() { + public com.google.protobuf.ByteString + getSessionBytes() { java.lang.Object ref = session_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); session_ = b; return b; } else { @@ -125,16 +98,11 @@ public com.google.protobuf.ByteString getSessionBytes() { public static final int OPTIONS_FIELD_NUMBER = 2; private com.google.spanner.v1.TransactionOptions options_; /** - * - * *
    * Required. Options for the new transaction.
    * 
* - * - * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the options field is set. */ @java.lang.Override @@ -142,47 +110,32 @@ public boolean hasOptions() { return options_ != null; } /** - * - * *
    * Required. Options for the new transaction.
    * 
* - * - * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The options. */ @java.lang.Override public com.google.spanner.v1.TransactionOptions getOptions() { - return options_ == null - ? com.google.spanner.v1.TransactionOptions.getDefaultInstance() - : options_; + return options_ == null ? com.google.spanner.v1.TransactionOptions.getDefaultInstance() : options_; } /** - * - * *
    * Required. Options for the new transaction.
    * 
* - * - * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.spanner.v1.TransactionOptionsOrBuilder getOptionsOrBuilder() { - return options_ == null - ? com.google.spanner.v1.TransactionOptions.getDefaultInstance() - : options_; + return options_ == null ? com.google.spanner.v1.TransactionOptions.getDefaultInstance() : options_; } public static final int REQUEST_OPTIONS_FIELD_NUMBER = 3; private com.google.spanner.v1.RequestOptions requestOptions_; /** - * - * *
    * Common options for this request.
    * Priority is ignored for this request. Setting the priority in this
@@ -192,7 +145,6 @@ public com.google.spanner.v1.TransactionOptionsOrBuilder getOptionsOrBuilder() {
    * 
* * .google.spanner.v1.RequestOptions request_options = 3; - * * @return Whether the requestOptions field is set. */ @java.lang.Override @@ -200,8 +152,6 @@ public boolean hasRequestOptions() { return requestOptions_ != null; } /** - * - * *
    * Common options for this request.
    * Priority is ignored for this request. Setting the priority in this
@@ -211,18 +161,13 @@ public boolean hasRequestOptions() {
    * 
* * .google.spanner.v1.RequestOptions request_options = 3; - * * @return The requestOptions. */ @java.lang.Override public com.google.spanner.v1.RequestOptions getRequestOptions() { - return requestOptions_ == null - ? com.google.spanner.v1.RequestOptions.getDefaultInstance() - : requestOptions_; + return requestOptions_ == null ? com.google.spanner.v1.RequestOptions.getDefaultInstance() : requestOptions_; } /** - * - * *
    * Common options for this request.
    * Priority is ignored for this request. Setting the priority in this
@@ -235,13 +180,10 @@ public com.google.spanner.v1.RequestOptions getRequestOptions() {
    */
   @java.lang.Override
   public com.google.spanner.v1.RequestOptionsOrBuilder getRequestOptionsOrBuilder() {
-    return requestOptions_ == null
-        ? com.google.spanner.v1.RequestOptions.getDefaultInstance()
-        : requestOptions_;
+    return requestOptions_ == null ? com.google.spanner.v1.RequestOptions.getDefaultInstance() : requestOptions_;
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -253,7 +195,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(session_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, session_);
     }
@@ -276,10 +219,12 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, session_);
     }
     if (options_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getOptions());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getOptions());
     }
     if (requestOptions_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRequestOptions());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getRequestOptions());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -289,22 +234,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.spanner.v1.BeginTransactionRequest)) {
       return super.equals(obj);
     }
-    com.google.spanner.v1.BeginTransactionRequest other =
-        (com.google.spanner.v1.BeginTransactionRequest) obj;
+    com.google.spanner.v1.BeginTransactionRequest other = (com.google.spanner.v1.BeginTransactionRequest) obj;
 
-    if (!getSession().equals(other.getSession())) return false;
+    if (!getSession()
+        .equals(other.getSession())) return false;
     if (hasOptions() != other.hasOptions()) return false;
     if (hasOptions()) {
-      if (!getOptions().equals(other.getOptions())) return false;
+      if (!getOptions()
+          .equals(other.getOptions())) return false;
     }
     if (hasRequestOptions() != other.hasRequestOptions()) return false;
     if (hasRequestOptions()) {
-      if (!getRequestOptions().equals(other.getRequestOptions())) return false;
+      if (!getRequestOptions()
+          .equals(other.getRequestOptions())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -332,136 +279,130 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.spanner.v1.BeginTransactionRequest parseFrom(java.nio.ByteBuffer data)
+  public static com.google.spanner.v1.BeginTransactionRequest parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.BeginTransactionRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.v1.BeginTransactionRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.BeginTransactionRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.v1.BeginTransactionRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.BeginTransactionRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.v1.BeginTransactionRequest parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.v1.BeginTransactionRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.spanner.v1.BeginTransactionRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.spanner.v1.BeginTransactionRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.v1.BeginTransactionRequest parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.spanner.v1.BeginTransactionRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.v1.BeginTransactionRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.spanner.v1.BeginTransactionRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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 [BeginTransaction][google.spanner.v1.Spanner.BeginTransaction].
    * 
* * Protobuf type {@code google.spanner.v1.BeginTransactionRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.BeginTransactionRequest) com.google.spanner.v1.BeginTransactionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_BeginTransactionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_BeginTransactionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_BeginTransactionRequest_fieldAccessorTable + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_BeginTransactionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.BeginTransactionRequest.class, - com.google.spanner.v1.BeginTransactionRequest.Builder.class); + com.google.spanner.v1.BeginTransactionRequest.class, com.google.spanner.v1.BeginTransactionRequest.Builder.class); } // Construct using com.google.spanner.v1.BeginTransactionRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -481,9 +422,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_BeginTransactionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_BeginTransactionRequest_descriptor; } @java.lang.Override @@ -502,11 +443,8 @@ public com.google.spanner.v1.BeginTransactionRequest build() { @java.lang.Override public com.google.spanner.v1.BeginTransactionRequest buildPartial() { - com.google.spanner.v1.BeginTransactionRequest result = - new com.google.spanner.v1.BeginTransactionRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.v1.BeginTransactionRequest result = new com.google.spanner.v1.BeginTransactionRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -517,11 +455,14 @@ private void buildPartial0(com.google.spanner.v1.BeginTransactionRequest result) result.session_ = session_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.options_ = optionsBuilder_ == null ? options_ : optionsBuilder_.build(); + result.options_ = optionsBuilder_ == null + ? options_ + : optionsBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.requestOptions_ = - requestOptionsBuilder_ == null ? requestOptions_ : requestOptionsBuilder_.build(); + result.requestOptions_ = requestOptionsBuilder_ == null + ? requestOptions_ + : requestOptionsBuilder_.build(); } } @@ -529,39 +470,38 @@ private void buildPartial0(com.google.spanner.v1.BeginTransactionRequest 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.spanner.v1.BeginTransactionRequest) { - return mergeFrom((com.google.spanner.v1.BeginTransactionRequest) other); + return mergeFrom((com.google.spanner.v1.BeginTransactionRequest)other); } else { super.mergeFrom(other); return this; @@ -607,31 +547,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - session_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getOptionsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getRequestOptionsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + session_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getOptionsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getRequestOptionsFieldBuilder().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) { @@ -641,27 +581,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object session_ = ""; /** - * - * *
      * Required. The session in which the transaction runs.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The session. */ public java.lang.String getSession() { java.lang.Object ref = session_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); session_ = s; return s; @@ -670,23 +605,20 @@ public java.lang.String getSession() { } } /** - * - * *
      * Required. The session in which the transaction runs.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for session. */ - public com.google.protobuf.ByteString getSessionBytes() { + public com.google.protobuf.ByteString + getSessionBytes() { java.lang.Object ref = session_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); session_ = b; return b; } else { @@ -694,39 +626,28 @@ public com.google.protobuf.ByteString getSessionBytes() { } } /** - * - * *
      * Required. The session in which the transaction runs.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The session to set. * @return This builder for chaining. */ - public Builder setSession(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSession( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } session_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The session in which the transaction runs.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearSession() { @@ -736,23 +657,17 @@ public Builder clearSession() { return this; } /** - * - * *
      * Required. The session in which the transaction runs.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for session to set. * @return This builder for chaining. */ - public Builder setSessionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSessionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); session_ = value; bitField0_ |= 0x00000001; @@ -762,58 +677,39 @@ public Builder setSessionBytes(com.google.protobuf.ByteString value) { private com.google.spanner.v1.TransactionOptions options_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.TransactionOptions, - com.google.spanner.v1.TransactionOptions.Builder, - com.google.spanner.v1.TransactionOptionsOrBuilder> - optionsBuilder_; + com.google.spanner.v1.TransactionOptions, com.google.spanner.v1.TransactionOptions.Builder, com.google.spanner.v1.TransactionOptionsOrBuilder> optionsBuilder_; /** - * - * *
      * Required. Options for the new transaction.
      * 
* - * - * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the options field is set. */ public boolean hasOptions() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. Options for the new transaction.
      * 
* - * - * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The options. */ public com.google.spanner.v1.TransactionOptions getOptions() { if (optionsBuilder_ == null) { - return options_ == null - ? com.google.spanner.v1.TransactionOptions.getDefaultInstance() - : options_; + return options_ == null ? com.google.spanner.v1.TransactionOptions.getDefaultInstance() : options_; } else { return optionsBuilder_.getMessage(); } } /** - * - * *
      * Required. Options for the new transaction.
      * 
* - * - * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setOptions(com.google.spanner.v1.TransactionOptions value) { if (optionsBuilder_ == null) { @@ -829,17 +725,14 @@ public Builder setOptions(com.google.spanner.v1.TransactionOptions value) { return this; } /** - * - * *
      * Required. Options for the new transaction.
      * 
* - * - * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setOptions(com.google.spanner.v1.TransactionOptions.Builder builderForValue) { + public Builder setOptions( + com.google.spanner.v1.TransactionOptions.Builder builderForValue) { if (optionsBuilder_ == null) { options_ = builderForValue.build(); } else { @@ -850,21 +743,17 @@ public Builder setOptions(com.google.spanner.v1.TransactionOptions.Builder build return this; } /** - * - * *
      * Required. Options for the new transaction.
      * 
* - * - * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeOptions(com.google.spanner.v1.TransactionOptions value) { if (optionsBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && options_ != null - && options_ != com.google.spanner.v1.TransactionOptions.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + options_ != null && + options_ != com.google.spanner.v1.TransactionOptions.getDefaultInstance()) { getOptionsBuilder().mergeFrom(value); } else { options_ = value; @@ -877,15 +766,11 @@ public Builder mergeOptions(com.google.spanner.v1.TransactionOptions value) { return this; } /** - * - * *
      * Required. Options for the new transaction.
      * 
* - * - * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearOptions() { bitField0_ = (bitField0_ & ~0x00000002); @@ -898,15 +783,11 @@ public Builder clearOptions() { return this; } /** - * - * *
      * Required. Options for the new transaction.
      * 
* - * - * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.spanner.v1.TransactionOptions.Builder getOptionsBuilder() { bitField0_ |= 0x00000002; @@ -914,48 +795,36 @@ public com.google.spanner.v1.TransactionOptions.Builder getOptionsBuilder() { return getOptionsFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Options for the new transaction.
      * 
* - * - * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.spanner.v1.TransactionOptionsOrBuilder getOptionsOrBuilder() { if (optionsBuilder_ != null) { return optionsBuilder_.getMessageOrBuilder(); } else { - return options_ == null - ? com.google.spanner.v1.TransactionOptions.getDefaultInstance() - : options_; + return options_ == null ? + com.google.spanner.v1.TransactionOptions.getDefaultInstance() : options_; } } /** - * - * *
      * Required. Options for the new transaction.
      * 
* - * - * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.TransactionOptions, - com.google.spanner.v1.TransactionOptions.Builder, - com.google.spanner.v1.TransactionOptionsOrBuilder> + com.google.spanner.v1.TransactionOptions, com.google.spanner.v1.TransactionOptions.Builder, com.google.spanner.v1.TransactionOptionsOrBuilder> getOptionsFieldBuilder() { if (optionsBuilder_ == null) { - optionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.TransactionOptions, - com.google.spanner.v1.TransactionOptions.Builder, - com.google.spanner.v1.TransactionOptionsOrBuilder>( - getOptions(), getParentForChildren(), isClean()); + optionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.v1.TransactionOptions, com.google.spanner.v1.TransactionOptions.Builder, com.google.spanner.v1.TransactionOptionsOrBuilder>( + getOptions(), + getParentForChildren(), + isClean()); options_ = null; } return optionsBuilder_; @@ -963,13 +832,8 @@ public com.google.spanner.v1.TransactionOptionsOrBuilder getOptionsOrBuilder() { private com.google.spanner.v1.RequestOptions requestOptions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.RequestOptions, - com.google.spanner.v1.RequestOptions.Builder, - com.google.spanner.v1.RequestOptionsOrBuilder> - requestOptionsBuilder_; + com.google.spanner.v1.RequestOptions, com.google.spanner.v1.RequestOptions.Builder, com.google.spanner.v1.RequestOptionsOrBuilder> requestOptionsBuilder_; /** - * - * *
      * Common options for this request.
      * Priority is ignored for this request. Setting the priority in this
@@ -979,15 +843,12 @@ public com.google.spanner.v1.TransactionOptionsOrBuilder getOptionsOrBuilder() {
      * 
* * .google.spanner.v1.RequestOptions request_options = 3; - * * @return Whether the requestOptions field is set. */ public boolean hasRequestOptions() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Common options for this request.
      * Priority is ignored for this request. Setting the priority in this
@@ -997,21 +858,16 @@ public boolean hasRequestOptions() {
      * 
* * .google.spanner.v1.RequestOptions request_options = 3; - * * @return The requestOptions. */ public com.google.spanner.v1.RequestOptions getRequestOptions() { if (requestOptionsBuilder_ == null) { - return requestOptions_ == null - ? com.google.spanner.v1.RequestOptions.getDefaultInstance() - : requestOptions_; + return requestOptions_ == null ? com.google.spanner.v1.RequestOptions.getDefaultInstance() : requestOptions_; } else { return requestOptionsBuilder_.getMessage(); } } /** - * - * *
      * Common options for this request.
      * Priority is ignored for this request. Setting the priority in this
@@ -1036,8 +892,6 @@ public Builder setRequestOptions(com.google.spanner.v1.RequestOptions value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Common options for this request.
      * Priority is ignored for this request. Setting the priority in this
@@ -1048,7 +902,8 @@ public Builder setRequestOptions(com.google.spanner.v1.RequestOptions value) {
      *
      * .google.spanner.v1.RequestOptions request_options = 3;
      */
-    public Builder setRequestOptions(com.google.spanner.v1.RequestOptions.Builder builderForValue) {
+    public Builder setRequestOptions(
+        com.google.spanner.v1.RequestOptions.Builder builderForValue) {
       if (requestOptionsBuilder_ == null) {
         requestOptions_ = builderForValue.build();
       } else {
@@ -1059,8 +914,6 @@ public Builder setRequestOptions(com.google.spanner.v1.RequestOptions.Builder bu
       return this;
     }
     /**
-     *
-     *
      * 
      * Common options for this request.
      * Priority is ignored for this request. Setting the priority in this
@@ -1073,9 +926,9 @@ public Builder setRequestOptions(com.google.spanner.v1.RequestOptions.Builder bu
      */
     public Builder mergeRequestOptions(com.google.spanner.v1.RequestOptions value) {
       if (requestOptionsBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0)
-            && requestOptions_ != null
-            && requestOptions_ != com.google.spanner.v1.RequestOptions.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0) &&
+          requestOptions_ != null &&
+          requestOptions_ != com.google.spanner.v1.RequestOptions.getDefaultInstance()) {
           getRequestOptionsBuilder().mergeFrom(value);
         } else {
           requestOptions_ = value;
@@ -1088,8 +941,6 @@ public Builder mergeRequestOptions(com.google.spanner.v1.RequestOptions value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Common options for this request.
      * Priority is ignored for this request. Setting the priority in this
@@ -1111,8 +962,6 @@ public Builder clearRequestOptions() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Common options for this request.
      * Priority is ignored for this request. Setting the priority in this
@@ -1129,8 +978,6 @@ public com.google.spanner.v1.RequestOptions.Builder getRequestOptionsBuilder() {
       return getRequestOptionsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Common options for this request.
      * Priority is ignored for this request. Setting the priority in this
@@ -1145,14 +992,11 @@ public com.google.spanner.v1.RequestOptionsOrBuilder getRequestOptionsOrBuilder(
       if (requestOptionsBuilder_ != null) {
         return requestOptionsBuilder_.getMessageOrBuilder();
       } else {
-        return requestOptions_ == null
-            ? com.google.spanner.v1.RequestOptions.getDefaultInstance()
-            : requestOptions_;
+        return requestOptions_ == null ?
+            com.google.spanner.v1.RequestOptions.getDefaultInstance() : requestOptions_;
       }
     }
     /**
-     *
-     *
      * 
      * Common options for this request.
      * Priority is ignored for this request. Setting the priority in this
@@ -1164,24 +1008,21 @@ public com.google.spanner.v1.RequestOptionsOrBuilder getRequestOptionsOrBuilder(
      * .google.spanner.v1.RequestOptions request_options = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.RequestOptions,
-            com.google.spanner.v1.RequestOptions.Builder,
-            com.google.spanner.v1.RequestOptionsOrBuilder>
+        com.google.spanner.v1.RequestOptions, com.google.spanner.v1.RequestOptions.Builder, com.google.spanner.v1.RequestOptionsOrBuilder> 
         getRequestOptionsFieldBuilder() {
       if (requestOptionsBuilder_ == null) {
-        requestOptionsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.v1.RequestOptions,
-                com.google.spanner.v1.RequestOptions.Builder,
-                com.google.spanner.v1.RequestOptionsOrBuilder>(
-                getRequestOptions(), getParentForChildren(), isClean());
+        requestOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.v1.RequestOptions, com.google.spanner.v1.RequestOptions.Builder, com.google.spanner.v1.RequestOptionsOrBuilder>(
+                getRequestOptions(),
+                getParentForChildren(),
+                isClean());
         requestOptions_ = null;
       }
       return requestOptionsBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1191,12 +1032,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.spanner.v1.BeginTransactionRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.spanner.v1.BeginTransactionRequest)
   private static final com.google.spanner.v1.BeginTransactionRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.spanner.v1.BeginTransactionRequest();
   }
@@ -1205,27 +1046,27 @@ public static com.google.spanner.v1.BeginTransactionRequest getDefaultInstance()
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public BeginTransactionRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public BeginTransactionRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1240,4 +1081,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.spanner.v1.BeginTransactionRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BeginTransactionRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BeginTransactionRequestOrBuilder.java
similarity index 63%
rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BeginTransactionRequestOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BeginTransactionRequestOrBuilder.java
index 61c73dbe378..6a610a9f22f 100644
--- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BeginTransactionRequestOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BeginTransactionRequestOrBuilder.java
@@ -1,101 +1,60 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/v1/spanner.proto
 
 package com.google.spanner.v1;
 
-public interface BeginTransactionRequestOrBuilder
-    extends
+public interface BeginTransactionRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.spanner.v1.BeginTransactionRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The session in which the transaction runs.
    * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The session. */ java.lang.String getSession(); /** - * - * *
    * Required. The session in which the transaction runs.
    * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for session. */ - com.google.protobuf.ByteString getSessionBytes(); + com.google.protobuf.ByteString + getSessionBytes(); /** - * - * *
    * Required. Options for the new transaction.
    * 
* - * - * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the options field is set. */ boolean hasOptions(); /** - * - * *
    * Required. Options for the new transaction.
    * 
* - * - * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The options. */ com.google.spanner.v1.TransactionOptions getOptions(); /** - * - * *
    * Required. Options for the new transaction.
    * 
* - * - * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.spanner.v1.TransactionOptionsOrBuilder getOptionsOrBuilder(); /** - * - * *
    * Common options for this request.
    * Priority is ignored for this request. Setting the priority in this
@@ -105,13 +64,10 @@ public interface BeginTransactionRequestOrBuilder
    * 
* * .google.spanner.v1.RequestOptions request_options = 3; - * * @return Whether the requestOptions field is set. */ boolean hasRequestOptions(); /** - * - * *
    * Common options for this request.
    * Priority is ignored for this request. Setting the priority in this
@@ -121,13 +77,10 @@ public interface BeginTransactionRequestOrBuilder
    * 
* * .google.spanner.v1.RequestOptions request_options = 3; - * * @return The requestOptions. */ com.google.spanner.v1.RequestOptions getRequestOptions(); /** - * - * *
    * Common options for this request.
    * Priority is ignored for this request. Setting the priority in this
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitRequest.java
similarity index 75%
rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitRequest.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitRequest.java
index 9d5d7d5891b..0e515bc79c7 100644
--- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitRequest.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitRequest.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/spanner/v1/spanner.proto
 
 package com.google.spanner.v1;
 
 /**
- *
- *
  * 
  * The request for [Commit][google.spanner.v1.Spanner.Commit].
  * 
* * Protobuf type {@code google.spanner.v1.CommitRequest} */ -public final class CommitRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CommitRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.v1.CommitRequest) CommitRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CommitRequest.newBuilder() to construct. private CommitRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CommitRequest() { session_ = ""; mutations_ = java.util.Collections.emptyList(); @@ -44,42 +26,38 @@ private CommitRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CommitRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_CommitRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_CommitRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_CommitRequest_fieldAccessorTable + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_CommitRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.CommitRequest.class, - com.google.spanner.v1.CommitRequest.Builder.class); + com.google.spanner.v1.CommitRequest.class, com.google.spanner.v1.CommitRequest.Builder.class); } private int transactionCase_ = 0; private java.lang.Object transaction_; - public enum TransactionCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { TRANSACTION_ID(2), SINGLE_USE_TRANSACTION(3), TRANSACTION_NOT_SET(0); private final int value; - private TransactionCase(int value) { this.value = value; } @@ -95,41 +73,32 @@ public static TransactionCase valueOf(int value) { public static TransactionCase forNumber(int value) { switch (value) { - case 2: - return TRANSACTION_ID; - case 3: - return SINGLE_USE_TRANSACTION; - case 0: - return TRANSACTION_NOT_SET; - default: - return null; + case 2: return TRANSACTION_ID; + case 3: return SINGLE_USE_TRANSACTION; + case 0: return TRANSACTION_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public TransactionCase getTransactionCase() { - return TransactionCase.forNumber(transactionCase_); + public TransactionCase + getTransactionCase() { + return TransactionCase.forNumber( + transactionCase_); } public static final int SESSION_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object session_ = ""; /** - * - * *
    * Required. The session in which the transaction to be committed is running.
    * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The session. */ @java.lang.Override @@ -138,31 +107,29 @@ public java.lang.String getSession() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); session_ = s; return s; } } /** - * - * *
    * Required. The session in which the transaction to be committed is running.
    * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for session. */ @java.lang.Override - public com.google.protobuf.ByteString getSessionBytes() { + public com.google.protobuf.ByteString + getSessionBytes() { java.lang.Object ref = session_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); session_ = b; return b; } else { @@ -172,14 +139,11 @@ public com.google.protobuf.ByteString getSessionBytes() { public static final int TRANSACTION_ID_FIELD_NUMBER = 2; /** - * - * *
    * Commit a previously-started transaction.
    * 
* * bytes transaction_id = 2; - * * @return Whether the transactionId field is set. */ @java.lang.Override @@ -187,14 +151,11 @@ public boolean hasTransactionId() { return transactionCase_ == 2; } /** - * - * *
    * Commit a previously-started transaction.
    * 
* * bytes transaction_id = 2; - * * @return The transactionId. */ @java.lang.Override @@ -207,8 +168,6 @@ public com.google.protobuf.ByteString getTransactionId() { public static final int SINGLE_USE_TRANSACTION_FIELD_NUMBER = 3; /** - * - * *
    * Execute mutations in a temporary transaction. Note that unlike
    * commit of a previously-started transaction, commit with a
@@ -222,7 +181,6 @@ public com.google.protobuf.ByteString getTransactionId() {
    * 
* * .google.spanner.v1.TransactionOptions single_use_transaction = 3; - * * @return Whether the singleUseTransaction field is set. */ @java.lang.Override @@ -230,8 +188,6 @@ public boolean hasSingleUseTransaction() { return transactionCase_ == 3; } /** - * - * *
    * Execute mutations in a temporary transaction. Note that unlike
    * commit of a previously-started transaction, commit with a
@@ -245,19 +201,16 @@ public boolean hasSingleUseTransaction() {
    * 
* * .google.spanner.v1.TransactionOptions single_use_transaction = 3; - * * @return The singleUseTransaction. */ @java.lang.Override public com.google.spanner.v1.TransactionOptions getSingleUseTransaction() { if (transactionCase_ == 3) { - return (com.google.spanner.v1.TransactionOptions) transaction_; + return (com.google.spanner.v1.TransactionOptions) transaction_; } return com.google.spanner.v1.TransactionOptions.getDefaultInstance(); } /** - * - * *
    * Execute mutations in a temporary transaction. Note that unlike
    * commit of a previously-started transaction, commit with a
@@ -275,18 +228,15 @@ public com.google.spanner.v1.TransactionOptions getSingleUseTransaction() {
   @java.lang.Override
   public com.google.spanner.v1.TransactionOptionsOrBuilder getSingleUseTransactionOrBuilder() {
     if (transactionCase_ == 3) {
-      return (com.google.spanner.v1.TransactionOptions) transaction_;
+       return (com.google.spanner.v1.TransactionOptions) transaction_;
     }
     return com.google.spanner.v1.TransactionOptions.getDefaultInstance();
   }
 
   public static final int MUTATIONS_FIELD_NUMBER = 4;
-
   @SuppressWarnings("serial")
   private java.util.List mutations_;
   /**
-   *
-   *
    * 
    * The mutations to be executed when this transaction commits. All
    * mutations are applied atomically, in the order they appear in
@@ -300,8 +250,6 @@ public java.util.List getMutationsList() {
     return mutations_;
   }
   /**
-   *
-   *
    * 
    * The mutations to be executed when this transaction commits. All
    * mutations are applied atomically, in the order they appear in
@@ -311,13 +259,11 @@ public java.util.List getMutationsList() {
    * repeated .google.spanner.v1.Mutation mutations = 4;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getMutationsOrBuilderList() {
     return mutations_;
   }
   /**
-   *
-   *
    * 
    * The mutations to be executed when this transaction commits. All
    * mutations are applied atomically, in the order they appear in
@@ -331,8 +277,6 @@ public int getMutationsCount() {
     return mutations_.size();
   }
   /**
-   *
-   *
    * 
    * The mutations to be executed when this transaction commits. All
    * mutations are applied atomically, in the order they appear in
@@ -346,8 +290,6 @@ public com.google.spanner.v1.Mutation getMutations(int index) {
     return mutations_.get(index);
   }
   /**
-   *
-   *
    * 
    * The mutations to be executed when this transaction commits. All
    * mutations are applied atomically, in the order they appear in
@@ -357,15 +299,14 @@ public com.google.spanner.v1.Mutation getMutations(int index) {
    * repeated .google.spanner.v1.Mutation mutations = 4;
    */
   @java.lang.Override
-  public com.google.spanner.v1.MutationOrBuilder getMutationsOrBuilder(int index) {
+  public com.google.spanner.v1.MutationOrBuilder getMutationsOrBuilder(
+      int index) {
     return mutations_.get(index);
   }
 
   public static final int RETURN_COMMIT_STATS_FIELD_NUMBER = 5;
   private boolean returnCommitStats_ = false;
   /**
-   *
-   *
    * 
    * If `true`, then statistics related to the transaction will be included in
    * the [CommitResponse][google.spanner.v1.CommitResponse.commit_stats]. Default value is
@@ -373,7 +314,6 @@ public com.google.spanner.v1.MutationOrBuilder getMutationsOrBuilder(int index)
    * 
* * bool return_commit_stats = 5; - * * @return The returnCommitStats. */ @java.lang.Override @@ -384,14 +324,11 @@ public boolean getReturnCommitStats() { public static final int REQUEST_OPTIONS_FIELD_NUMBER = 6; private com.google.spanner.v1.RequestOptions requestOptions_; /** - * - * *
    * Common options for this request.
    * 
* * .google.spanner.v1.RequestOptions request_options = 6; - * * @return Whether the requestOptions field is set. */ @java.lang.Override @@ -399,25 +336,18 @@ public boolean hasRequestOptions() { return requestOptions_ != null; } /** - * - * *
    * Common options for this request.
    * 
* * .google.spanner.v1.RequestOptions request_options = 6; - * * @return The requestOptions. */ @java.lang.Override public com.google.spanner.v1.RequestOptions getRequestOptions() { - return requestOptions_ == null - ? com.google.spanner.v1.RequestOptions.getDefaultInstance() - : requestOptions_; + return requestOptions_ == null ? com.google.spanner.v1.RequestOptions.getDefaultInstance() : requestOptions_; } /** - * - * *
    * Common options for this request.
    * 
@@ -426,13 +356,10 @@ public com.google.spanner.v1.RequestOptions getRequestOptions() { */ @java.lang.Override public com.google.spanner.v1.RequestOptionsOrBuilder getRequestOptionsOrBuilder() { - return requestOptions_ == null - ? com.google.spanner.v1.RequestOptions.getDefaultInstance() - : requestOptions_; + return requestOptions_ == null ? com.google.spanner.v1.RequestOptions.getDefaultInstance() : requestOptions_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -444,12 +371,14 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(session_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, session_); } if (transactionCase_ == 2) { - output.writeBytes(2, (com.google.protobuf.ByteString) transaction_); + output.writeBytes( + 2, (com.google.protobuf.ByteString) transaction_); } if (transactionCase_ == 3) { output.writeMessage(3, (com.google.spanner.v1.TransactionOptions) transaction_); @@ -476,23 +405,25 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, session_); } if (transactionCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeBytesSize( - 2, (com.google.protobuf.ByteString) transaction_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize( + 2, (com.google.protobuf.ByteString) transaction_); } if (transactionCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.spanner.v1.TransactionOptions) transaction_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.spanner.v1.TransactionOptions) transaction_); } for (int i = 0; i < mutations_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, mutations_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, mutations_.get(i)); } if (returnCommitStats_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, returnCommitStats_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, returnCommitStats_); } if (requestOptions_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getRequestOptions()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getRequestOptions()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -502,27 +433,33 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.v1.CommitRequest)) { return super.equals(obj); } com.google.spanner.v1.CommitRequest other = (com.google.spanner.v1.CommitRequest) obj; - if (!getSession().equals(other.getSession())) return false; - if (!getMutationsList().equals(other.getMutationsList())) return false; - if (getReturnCommitStats() != other.getReturnCommitStats()) return false; + if (!getSession() + .equals(other.getSession())) return false; + if (!getMutationsList() + .equals(other.getMutationsList())) return false; + if (getReturnCommitStats() + != other.getReturnCommitStats()) return false; if (hasRequestOptions() != other.hasRequestOptions()) return false; if (hasRequestOptions()) { - if (!getRequestOptions().equals(other.getRequestOptions())) return false; + if (!getRequestOptions() + .equals(other.getRequestOptions())) return false; } if (!getTransactionCase().equals(other.getTransactionCase())) return false; switch (transactionCase_) { case 2: - if (!getTransactionId().equals(other.getTransactionId())) return false; + if (!getTransactionId() + .equals(other.getTransactionId())) return false; break; case 3: - if (!getSingleUseTransaction().equals(other.getSingleUseTransaction())) return false; + if (!getSingleUseTransaction() + .equals(other.getSingleUseTransaction())) return false; break; case 0: default: @@ -545,7 +482,8 @@ public int hashCode() { hash = (53 * hash) + getMutationsList().hashCode(); } hash = (37 * hash) + RETURN_COMMIT_STATS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReturnCommitStats()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getReturnCommitStats()); if (hasRequestOptions()) { hash = (37 * hash) + REQUEST_OPTIONS_FIELD_NUMBER; hash = (53 * hash) + getRequestOptions().hashCode(); @@ -567,135 +505,130 @@ public int hashCode() { return hash; } - public static com.google.spanner.v1.CommitRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.v1.CommitRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.CommitRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.v1.CommitRequest parseFrom(com.google.protobuf.ByteString data) + public static com.google.spanner.v1.CommitRequest parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.CommitRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.CommitRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.CommitRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.CommitRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.CommitRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.CommitRequest 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.spanner.v1.CommitRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.CommitRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.CommitRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.v1.CommitRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [Commit][google.spanner.v1.Spanner.Commit].
    * 
* * Protobuf type {@code google.spanner.v1.CommitRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.CommitRequest) com.google.spanner.v1.CommitRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_CommitRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_CommitRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_CommitRequest_fieldAccessorTable + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_CommitRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.CommitRequest.class, - com.google.spanner.v1.CommitRequest.Builder.class); + com.google.spanner.v1.CommitRequest.class, com.google.spanner.v1.CommitRequest.Builder.class); } // Construct using com.google.spanner.v1.CommitRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -723,9 +656,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_CommitRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_CommitRequest_descriptor; } @java.lang.Override @@ -746,9 +679,7 @@ public com.google.spanner.v1.CommitRequest build() { public com.google.spanner.v1.CommitRequest buildPartial() { com.google.spanner.v1.CommitRequest result = new com.google.spanner.v1.CommitRequest(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -775,15 +706,17 @@ private void buildPartial0(com.google.spanner.v1.CommitRequest result) { result.returnCommitStats_ = returnCommitStats_; } if (((from_bitField0_ & 0x00000020) != 0)) { - result.requestOptions_ = - requestOptionsBuilder_ == null ? requestOptions_ : requestOptionsBuilder_.build(); + result.requestOptions_ = requestOptionsBuilder_ == null + ? requestOptions_ + : requestOptionsBuilder_.build(); } } private void buildPartialOneofs(com.google.spanner.v1.CommitRequest result) { result.transactionCase_ = transactionCase_; result.transaction_ = this.transaction_; - if (transactionCase_ == 3 && singleUseTransactionBuilder_ != null) { + if (transactionCase_ == 3 && + singleUseTransactionBuilder_ != null) { result.transaction_ = singleUseTransactionBuilder_.build(); } } @@ -792,39 +725,38 @@ private void buildPartialOneofs(com.google.spanner.v1.CommitRequest 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.spanner.v1.CommitRequest) { - return mergeFrom((com.google.spanner.v1.CommitRequest) other); + return mergeFrom((com.google.spanner.v1.CommitRequest)other); } else { super.mergeFrom(other); return this; @@ -856,10 +788,9 @@ public Builder mergeFrom(com.google.spanner.v1.CommitRequest 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_); } @@ -872,20 +803,17 @@ public Builder mergeFrom(com.google.spanner.v1.CommitRequest other) { mergeRequestOptions(other.getRequestOptions()); } switch (other.getTransactionCase()) { - case TRANSACTION_ID: - { - setTransactionId(other.getTransactionId()); - break; - } - case SINGLE_USE_TRANSACTION: - { - mergeSingleUseTransaction(other.getSingleUseTransaction()); - break; - } - case TRANSACTION_NOT_SET: - { - break; - } + case TRANSACTION_ID: { + setTransactionId(other.getTransactionId()); + break; + } + case SINGLE_USE_TRANSACTION: { + mergeSingleUseTransaction(other.getSingleUseTransaction()); + break; + } + case TRANSACTION_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -913,56 +841,54 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - session_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - transaction_ = input.readBytes(); - transactionCase_ = 2; - break; - } // case 18 - case 26: - { - input.readMessage( - getSingleUseTransactionFieldBuilder().getBuilder(), extensionRegistry); - transactionCase_ = 3; - break; - } // case 26 - case 34: - { - com.google.spanner.v1.Mutation m = - input.readMessage(com.google.spanner.v1.Mutation.parser(), extensionRegistry); - if (mutationsBuilder_ == null) { - ensureMutationsIsMutable(); - mutations_.add(m); - } else { - mutationsBuilder_.addMessage(m); - } - break; - } // case 34 - case 40: - { - returnCommitStats_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - case 50: - { - input.readMessage(getRequestOptionsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 50 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + session_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + transaction_ = input.readBytes(); + transactionCase_ = 2; + break; + } // case 18 + case 26: { + input.readMessage( + getSingleUseTransactionFieldBuilder().getBuilder(), + extensionRegistry); + transactionCase_ = 3; + break; + } // case 26 + case 34: { + com.google.spanner.v1.Mutation m = + input.readMessage( + com.google.spanner.v1.Mutation.parser(), + extensionRegistry); + if (mutationsBuilder_ == null) { + ensureMutationsIsMutable(); + mutations_.add(m); + } else { + mutationsBuilder_.addMessage(m); + } + break; + } // case 34 + case 40: { + returnCommitStats_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 50: { + input.readMessage( + getRequestOptionsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000020; + 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) { @@ -972,12 +898,12 @@ public Builder mergeFrom( } // finally return this; } - private int transactionCase_ = 0; private java.lang.Object transaction_; - - public TransactionCase getTransactionCase() { - return TransactionCase.forNumber(transactionCase_); + public TransactionCase + getTransactionCase() { + return TransactionCase.forNumber( + transactionCase_); } public Builder clearTransaction() { @@ -991,22 +917,18 @@ public Builder clearTransaction() { private java.lang.Object session_ = ""; /** - * - * *
      * Required. The session in which the transaction to be committed is running.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The session. */ public java.lang.String getSession() { java.lang.Object ref = session_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); session_ = s; return s; @@ -1015,23 +937,20 @@ public java.lang.String getSession() { } } /** - * - * *
      * Required. The session in which the transaction to be committed is running.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for session. */ - public com.google.protobuf.ByteString getSessionBytes() { + public com.google.protobuf.ByteString + getSessionBytes() { java.lang.Object ref = session_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); session_ = b; return b; } else { @@ -1039,39 +958,28 @@ public com.google.protobuf.ByteString getSessionBytes() { } } /** - * - * *
      * Required. The session in which the transaction to be committed is running.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The session to set. * @return This builder for chaining. */ - public Builder setSession(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSession( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } session_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The session in which the transaction to be committed is running.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearSession() { @@ -1081,23 +989,17 @@ public Builder clearSession() { return this; } /** - * - * *
      * Required. The session in which the transaction to be committed is running.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for session to set. * @return This builder for chaining. */ - public Builder setSessionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSessionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); session_ = value; bitField0_ |= 0x00000001; @@ -1106,28 +1008,22 @@ public Builder setSessionBytes(com.google.protobuf.ByteString value) { } /** - * - * *
      * Commit a previously-started transaction.
      * 
* * bytes transaction_id = 2; - * * @return Whether the transactionId field is set. */ public boolean hasTransactionId() { return transactionCase_ == 2; } /** - * - * *
      * Commit a previously-started transaction.
      * 
* * bytes transaction_id = 2; - * * @return The transactionId. */ public com.google.protobuf.ByteString getTransactionId() { @@ -1137,35 +1033,27 @@ public com.google.protobuf.ByteString getTransactionId() { return com.google.protobuf.ByteString.EMPTY; } /** - * - * *
      * Commit a previously-started transaction.
      * 
* * bytes transaction_id = 2; - * * @param value The transactionId to set. * @return This builder for chaining. */ public Builder setTransactionId(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } transactionCase_ = 2; transaction_ = value; onChanged(); return this; } /** - * - * *
      * Commit a previously-started transaction.
      * 
* * bytes transaction_id = 2; - * * @return This builder for chaining. */ public Builder clearTransactionId() { @@ -1178,13 +1066,8 @@ public Builder clearTransactionId() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.TransactionOptions, - com.google.spanner.v1.TransactionOptions.Builder, - com.google.spanner.v1.TransactionOptionsOrBuilder> - singleUseTransactionBuilder_; + com.google.spanner.v1.TransactionOptions, com.google.spanner.v1.TransactionOptions.Builder, com.google.spanner.v1.TransactionOptionsOrBuilder> singleUseTransactionBuilder_; /** - * - * *
      * Execute mutations in a temporary transaction. Note that unlike
      * commit of a previously-started transaction, commit with a
@@ -1198,7 +1081,6 @@ public Builder clearTransactionId() {
      * 
* * .google.spanner.v1.TransactionOptions single_use_transaction = 3; - * * @return Whether the singleUseTransaction field is set. */ @java.lang.Override @@ -1206,8 +1088,6 @@ public boolean hasSingleUseTransaction() { return transactionCase_ == 3; } /** - * - * *
      * Execute mutations in a temporary transaction. Note that unlike
      * commit of a previously-started transaction, commit with a
@@ -1221,7 +1101,6 @@ public boolean hasSingleUseTransaction() {
      * 
* * .google.spanner.v1.TransactionOptions single_use_transaction = 3; - * * @return The singleUseTransaction. */ @java.lang.Override @@ -1239,8 +1118,6 @@ public com.google.spanner.v1.TransactionOptions getSingleUseTransaction() { } } /** - * - * *
      * Execute mutations in a temporary transaction. Note that unlike
      * commit of a previously-started transaction, commit with a
@@ -1269,8 +1146,6 @@ public Builder setSingleUseTransaction(com.google.spanner.v1.TransactionOptions
       return this;
     }
     /**
-     *
-     *
      * 
      * Execute mutations in a temporary transaction. Note that unlike
      * commit of a previously-started transaction, commit with a
@@ -1297,8 +1172,6 @@ public Builder setSingleUseTransaction(
       return this;
     }
     /**
-     *
-     *
      * 
      * Execute mutations in a temporary transaction. Note that unlike
      * commit of a previously-started transaction, commit with a
@@ -1315,13 +1188,10 @@ public Builder setSingleUseTransaction(
      */
     public Builder mergeSingleUseTransaction(com.google.spanner.v1.TransactionOptions value) {
       if (singleUseTransactionBuilder_ == null) {
-        if (transactionCase_ == 3
-            && transaction_ != com.google.spanner.v1.TransactionOptions.getDefaultInstance()) {
-          transaction_ =
-              com.google.spanner.v1.TransactionOptions.newBuilder(
-                      (com.google.spanner.v1.TransactionOptions) transaction_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (transactionCase_ == 3 &&
+            transaction_ != com.google.spanner.v1.TransactionOptions.getDefaultInstance()) {
+          transaction_ = com.google.spanner.v1.TransactionOptions.newBuilder((com.google.spanner.v1.TransactionOptions) transaction_)
+              .mergeFrom(value).buildPartial();
         } else {
           transaction_ = value;
         }
@@ -1337,8 +1207,6 @@ public Builder mergeSingleUseTransaction(com.google.spanner.v1.TransactionOption
       return this;
     }
     /**
-     *
-     *
      * 
      * Execute mutations in a temporary transaction. Note that unlike
      * commit of a previously-started transaction, commit with a
@@ -1370,8 +1238,6 @@ public Builder clearSingleUseTransaction() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Execute mutations in a temporary transaction. Note that unlike
      * commit of a previously-started transaction, commit with a
@@ -1390,8 +1256,6 @@ public com.google.spanner.v1.TransactionOptions.Builder getSingleUseTransactionB
       return getSingleUseTransactionFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Execute mutations in a temporary transaction. Note that unlike
      * commit of a previously-started transaction, commit with a
@@ -1418,8 +1282,6 @@ public com.google.spanner.v1.TransactionOptionsOrBuilder getSingleUseTransaction
       }
     }
     /**
-     *
-     *
      * 
      * Execute mutations in a temporary transaction. Note that unlike
      * commit of a previously-started transaction, commit with a
@@ -1435,19 +1297,14 @@ public com.google.spanner.v1.TransactionOptionsOrBuilder getSingleUseTransaction
      * .google.spanner.v1.TransactionOptions single_use_transaction = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.TransactionOptions,
-            com.google.spanner.v1.TransactionOptions.Builder,
-            com.google.spanner.v1.TransactionOptionsOrBuilder>
+        com.google.spanner.v1.TransactionOptions, com.google.spanner.v1.TransactionOptions.Builder, com.google.spanner.v1.TransactionOptionsOrBuilder> 
         getSingleUseTransactionFieldBuilder() {
       if (singleUseTransactionBuilder_ == null) {
         if (!(transactionCase_ == 3)) {
           transaction_ = com.google.spanner.v1.TransactionOptions.getDefaultInstance();
         }
-        singleUseTransactionBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.v1.TransactionOptions,
-                com.google.spanner.v1.TransactionOptions.Builder,
-                com.google.spanner.v1.TransactionOptionsOrBuilder>(
+        singleUseTransactionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.v1.TransactionOptions, com.google.spanner.v1.TransactionOptions.Builder, com.google.spanner.v1.TransactionOptionsOrBuilder>(
                 (com.google.spanner.v1.TransactionOptions) transaction_,
                 getParentForChildren(),
                 isClean());
@@ -1459,24 +1316,18 @@ public com.google.spanner.v1.TransactionOptionsOrBuilder getSingleUseTransaction
     }
 
     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.spanner.v1.Mutation,
-            com.google.spanner.v1.Mutation.Builder,
-            com.google.spanner.v1.MutationOrBuilder>
-        mutationsBuilder_;
+        com.google.spanner.v1.Mutation, com.google.spanner.v1.Mutation.Builder, com.google.spanner.v1.MutationOrBuilder> mutationsBuilder_;
 
     /**
-     *
-     *
      * 
      * The mutations to be executed when this transaction commits. All
      * mutations are applied atomically, in the order they appear in
@@ -1493,8 +1344,6 @@ public java.util.List getMutationsList() {
       }
     }
     /**
-     *
-     *
      * 
      * The mutations to be executed when this transaction commits. All
      * mutations are applied atomically, in the order they appear in
@@ -1511,8 +1360,6 @@ public int getMutationsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The mutations to be executed when this transaction commits. All
      * mutations are applied atomically, in the order they appear in
@@ -1529,8 +1376,6 @@ public com.google.spanner.v1.Mutation getMutations(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The mutations to be executed when this transaction commits. All
      * mutations are applied atomically, in the order they appear in
@@ -1539,7 +1384,8 @@ public com.google.spanner.v1.Mutation getMutations(int index) {
      *
      * repeated .google.spanner.v1.Mutation mutations = 4;
      */
-    public Builder setMutations(int index, com.google.spanner.v1.Mutation value) {
+    public Builder setMutations(
+        int index, com.google.spanner.v1.Mutation value) {
       if (mutationsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1553,8 +1399,6 @@ public Builder setMutations(int index, com.google.spanner.v1.Mutation value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The mutations to be executed when this transaction commits. All
      * mutations are applied atomically, in the order they appear in
@@ -1563,7 +1407,8 @@ public Builder setMutations(int index, com.google.spanner.v1.Mutation value) {
      *
      * repeated .google.spanner.v1.Mutation mutations = 4;
      */
-    public Builder setMutations(int index, com.google.spanner.v1.Mutation.Builder builderForValue) {
+    public Builder setMutations(
+        int index, com.google.spanner.v1.Mutation.Builder builderForValue) {
       if (mutationsBuilder_ == null) {
         ensureMutationsIsMutable();
         mutations_.set(index, builderForValue.build());
@@ -1574,8 +1419,6 @@ public Builder setMutations(int index, com.google.spanner.v1.Mutation.Builder bu
       return this;
     }
     /**
-     *
-     *
      * 
      * The mutations to be executed when this transaction commits. All
      * mutations are applied atomically, in the order they appear in
@@ -1598,8 +1441,6 @@ public Builder addMutations(com.google.spanner.v1.Mutation value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The mutations to be executed when this transaction commits. All
      * mutations are applied atomically, in the order they appear in
@@ -1608,7 +1449,8 @@ public Builder addMutations(com.google.spanner.v1.Mutation value) {
      *
      * repeated .google.spanner.v1.Mutation mutations = 4;
      */
-    public Builder addMutations(int index, com.google.spanner.v1.Mutation value) {
+    public Builder addMutations(
+        int index, com.google.spanner.v1.Mutation value) {
       if (mutationsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1622,8 +1464,6 @@ public Builder addMutations(int index, com.google.spanner.v1.Mutation value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The mutations to be executed when this transaction commits. All
      * mutations are applied atomically, in the order they appear in
@@ -1632,7 +1472,8 @@ public Builder addMutations(int index, com.google.spanner.v1.Mutation value) {
      *
      * repeated .google.spanner.v1.Mutation mutations = 4;
      */
-    public Builder addMutations(com.google.spanner.v1.Mutation.Builder builderForValue) {
+    public Builder addMutations(
+        com.google.spanner.v1.Mutation.Builder builderForValue) {
       if (mutationsBuilder_ == null) {
         ensureMutationsIsMutable();
         mutations_.add(builderForValue.build());
@@ -1643,8 +1484,6 @@ public Builder addMutations(com.google.spanner.v1.Mutation.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The mutations to be executed when this transaction commits. All
      * mutations are applied atomically, in the order they appear in
@@ -1653,7 +1492,8 @@ public Builder addMutations(com.google.spanner.v1.Mutation.Builder builderForVal
      *
      * repeated .google.spanner.v1.Mutation mutations = 4;
      */
-    public Builder addMutations(int index, com.google.spanner.v1.Mutation.Builder builderForValue) {
+    public Builder addMutations(
+        int index, com.google.spanner.v1.Mutation.Builder builderForValue) {
       if (mutationsBuilder_ == null) {
         ensureMutationsIsMutable();
         mutations_.add(index, builderForValue.build());
@@ -1664,8 +1504,6 @@ public Builder addMutations(int index, com.google.spanner.v1.Mutation.Builder bu
       return this;
     }
     /**
-     *
-     *
      * 
      * The mutations to be executed when this transaction commits. All
      * mutations are applied atomically, in the order they appear in
@@ -1678,7 +1516,8 @@ 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);
@@ -1686,8 +1525,6 @@ public Builder addAllMutations(
       return this;
     }
     /**
-     *
-     *
      * 
      * The mutations to be executed when this transaction commits. All
      * mutations are applied atomically, in the order they appear in
@@ -1707,8 +1544,6 @@ public Builder clearMutations() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The mutations to be executed when this transaction commits. All
      * mutations are applied atomically, in the order they appear in
@@ -1728,8 +1563,6 @@ public Builder removeMutations(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The mutations to be executed when this transaction commits. All
      * mutations are applied atomically, in the order they appear in
@@ -1738,12 +1571,11 @@ public Builder removeMutations(int index) {
      *
      * repeated .google.spanner.v1.Mutation mutations = 4;
      */
-    public com.google.spanner.v1.Mutation.Builder getMutationsBuilder(int index) {
+    public com.google.spanner.v1.Mutation.Builder getMutationsBuilder(
+        int index) {
       return getMutationsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The mutations to be executed when this transaction commits. All
      * mutations are applied atomically, in the order they appear in
@@ -1752,16 +1584,14 @@ public com.google.spanner.v1.Mutation.Builder getMutationsBuilder(int index) {
      *
      * repeated .google.spanner.v1.Mutation mutations = 4;
      */
-    public com.google.spanner.v1.MutationOrBuilder getMutationsOrBuilder(int index) {
+    public com.google.spanner.v1.MutationOrBuilder getMutationsOrBuilder(
+        int index) {
       if (mutationsBuilder_ == null) {
-        return mutations_.get(index);
-      } else {
+        return mutations_.get(index);  } else {
         return mutationsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The mutations to be executed when this transaction commits. All
      * mutations are applied atomically, in the order they appear in
@@ -1770,8 +1600,8 @@ public com.google.spanner.v1.MutationOrBuilder getMutationsOrBuilder(int index)
      *
      * repeated .google.spanner.v1.Mutation mutations = 4;
      */
-    public java.util.List
-        getMutationsOrBuilderList() {
+    public java.util.List 
+         getMutationsOrBuilderList() {
       if (mutationsBuilder_ != null) {
         return mutationsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1779,8 +1609,6 @@ public com.google.spanner.v1.MutationOrBuilder getMutationsOrBuilder(int index)
       }
     }
     /**
-     *
-     *
      * 
      * The mutations to be executed when this transaction commits. All
      * mutations are applied atomically, in the order they appear in
@@ -1790,12 +1618,10 @@ public com.google.spanner.v1.MutationOrBuilder getMutationsOrBuilder(int index)
      * repeated .google.spanner.v1.Mutation mutations = 4;
      */
     public com.google.spanner.v1.Mutation.Builder addMutationsBuilder() {
-      return getMutationsFieldBuilder()
-          .addBuilder(com.google.spanner.v1.Mutation.getDefaultInstance());
+      return getMutationsFieldBuilder().addBuilder(
+          com.google.spanner.v1.Mutation.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The mutations to be executed when this transaction commits. All
      * mutations are applied atomically, in the order they appear in
@@ -1804,13 +1630,12 @@ public com.google.spanner.v1.Mutation.Builder addMutationsBuilder() {
      *
      * repeated .google.spanner.v1.Mutation mutations = 4;
      */
-    public com.google.spanner.v1.Mutation.Builder addMutationsBuilder(int index) {
-      return getMutationsFieldBuilder()
-          .addBuilder(index, com.google.spanner.v1.Mutation.getDefaultInstance());
+    public com.google.spanner.v1.Mutation.Builder addMutationsBuilder(
+        int index) {
+      return getMutationsFieldBuilder().addBuilder(
+          index, com.google.spanner.v1.Mutation.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The mutations to be executed when this transaction commits. All
      * mutations are applied atomically, in the order they appear in
@@ -1819,31 +1644,27 @@ public com.google.spanner.v1.Mutation.Builder addMutationsBuilder(int index) {
      *
      * repeated .google.spanner.v1.Mutation mutations = 4;
      */
-    public java.util.List getMutationsBuilderList() {
+    public java.util.List 
+         getMutationsBuilderList() {
       return getMutationsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.spanner.v1.Mutation,
-            com.google.spanner.v1.Mutation.Builder,
-            com.google.spanner.v1.MutationOrBuilder>
+        com.google.spanner.v1.Mutation, com.google.spanner.v1.Mutation.Builder, com.google.spanner.v1.MutationOrBuilder> 
         getMutationsFieldBuilder() {
       if (mutationsBuilder_ == null) {
-        mutationsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.spanner.v1.Mutation,
-                com.google.spanner.v1.Mutation.Builder,
-                com.google.spanner.v1.MutationOrBuilder>(
-                mutations_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean());
+        mutationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.spanner.v1.Mutation, com.google.spanner.v1.Mutation.Builder, com.google.spanner.v1.MutationOrBuilder>(
+                mutations_,
+                ((bitField0_ & 0x00000008) != 0),
+                getParentForChildren(),
+                isClean());
         mutations_ = null;
       }
       return mutationsBuilder_;
     }
 
-    private boolean returnCommitStats_;
+    private boolean returnCommitStats_ ;
     /**
-     *
-     *
      * 
      * If `true`, then statistics related to the transaction will be included in
      * the [CommitResponse][google.spanner.v1.CommitResponse.commit_stats]. Default value is
@@ -1851,7 +1672,6 @@ public java.util.List getMutationsBuilde
      * 
* * bool return_commit_stats = 5; - * * @return The returnCommitStats. */ @java.lang.Override @@ -1859,8 +1679,6 @@ public boolean getReturnCommitStats() { return returnCommitStats_; } /** - * - * *
      * If `true`, then statistics related to the transaction will be included in
      * the [CommitResponse][google.spanner.v1.CommitResponse.commit_stats]. Default value is
@@ -1868,20 +1686,17 @@ public boolean getReturnCommitStats() {
      * 
* * bool return_commit_stats = 5; - * * @param value The returnCommitStats to set. * @return This builder for chaining. */ public Builder setReturnCommitStats(boolean value) { - + returnCommitStats_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * If `true`, then statistics related to the transaction will be included in
      * the [CommitResponse][google.spanner.v1.CommitResponse.commit_stats]. Default value is
@@ -1889,7 +1704,6 @@ public Builder setReturnCommitStats(boolean value) {
      * 
* * bool return_commit_stats = 5; - * * @return This builder for chaining. */ public Builder clearReturnCommitStats() { @@ -1901,47 +1715,34 @@ public Builder clearReturnCommitStats() { private com.google.spanner.v1.RequestOptions requestOptions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.RequestOptions, - com.google.spanner.v1.RequestOptions.Builder, - com.google.spanner.v1.RequestOptionsOrBuilder> - requestOptionsBuilder_; + com.google.spanner.v1.RequestOptions, com.google.spanner.v1.RequestOptions.Builder, com.google.spanner.v1.RequestOptionsOrBuilder> requestOptionsBuilder_; /** - * - * *
      * Common options for this request.
      * 
* * .google.spanner.v1.RequestOptions request_options = 6; - * * @return Whether the requestOptions field is set. */ public boolean hasRequestOptions() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
      * Common options for this request.
      * 
* * .google.spanner.v1.RequestOptions request_options = 6; - * * @return The requestOptions. */ public com.google.spanner.v1.RequestOptions getRequestOptions() { if (requestOptionsBuilder_ == null) { - return requestOptions_ == null - ? com.google.spanner.v1.RequestOptions.getDefaultInstance() - : requestOptions_; + return requestOptions_ == null ? com.google.spanner.v1.RequestOptions.getDefaultInstance() : requestOptions_; } else { return requestOptionsBuilder_.getMessage(); } } /** - * - * *
      * Common options for this request.
      * 
@@ -1962,15 +1763,14 @@ public Builder setRequestOptions(com.google.spanner.v1.RequestOptions value) { return this; } /** - * - * *
      * Common options for this request.
      * 
* * .google.spanner.v1.RequestOptions request_options = 6; */ - public Builder setRequestOptions(com.google.spanner.v1.RequestOptions.Builder builderForValue) { + public Builder setRequestOptions( + com.google.spanner.v1.RequestOptions.Builder builderForValue) { if (requestOptionsBuilder_ == null) { requestOptions_ = builderForValue.build(); } else { @@ -1981,8 +1781,6 @@ public Builder setRequestOptions(com.google.spanner.v1.RequestOptions.Builder bu return this; } /** - * - * *
      * Common options for this request.
      * 
@@ -1991,9 +1789,9 @@ public Builder setRequestOptions(com.google.spanner.v1.RequestOptions.Builder bu */ public Builder mergeRequestOptions(com.google.spanner.v1.RequestOptions value) { if (requestOptionsBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) - && requestOptions_ != null - && requestOptions_ != com.google.spanner.v1.RequestOptions.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) && + requestOptions_ != null && + requestOptions_ != com.google.spanner.v1.RequestOptions.getDefaultInstance()) { getRequestOptionsBuilder().mergeFrom(value); } else { requestOptions_ = value; @@ -2006,8 +1804,6 @@ public Builder mergeRequestOptions(com.google.spanner.v1.RequestOptions value) { return this; } /** - * - * *
      * Common options for this request.
      * 
@@ -2025,8 +1821,6 @@ public Builder clearRequestOptions() { return this; } /** - * - * *
      * Common options for this request.
      * 
@@ -2039,8 +1833,6 @@ public com.google.spanner.v1.RequestOptions.Builder getRequestOptionsBuilder() { return getRequestOptionsFieldBuilder().getBuilder(); } /** - * - * *
      * Common options for this request.
      * 
@@ -2051,14 +1843,11 @@ public com.google.spanner.v1.RequestOptionsOrBuilder getRequestOptionsOrBuilder( if (requestOptionsBuilder_ != null) { return requestOptionsBuilder_.getMessageOrBuilder(); } else { - return requestOptions_ == null - ? com.google.spanner.v1.RequestOptions.getDefaultInstance() - : requestOptions_; + return requestOptions_ == null ? + com.google.spanner.v1.RequestOptions.getDefaultInstance() : requestOptions_; } } /** - * - * *
      * Common options for this request.
      * 
@@ -2066,24 +1855,21 @@ public com.google.spanner.v1.RequestOptionsOrBuilder getRequestOptionsOrBuilder( * .google.spanner.v1.RequestOptions request_options = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.RequestOptions, - com.google.spanner.v1.RequestOptions.Builder, - com.google.spanner.v1.RequestOptionsOrBuilder> + com.google.spanner.v1.RequestOptions, com.google.spanner.v1.RequestOptions.Builder, com.google.spanner.v1.RequestOptionsOrBuilder> getRequestOptionsFieldBuilder() { if (requestOptionsBuilder_ == null) { - requestOptionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.RequestOptions, - com.google.spanner.v1.RequestOptions.Builder, - com.google.spanner.v1.RequestOptionsOrBuilder>( - getRequestOptions(), getParentForChildren(), isClean()); + requestOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.v1.RequestOptions, com.google.spanner.v1.RequestOptions.Builder, com.google.spanner.v1.RequestOptionsOrBuilder>( + getRequestOptions(), + getParentForChildren(), + isClean()); requestOptions_ = null; } return requestOptionsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2093,12 +1879,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.v1.CommitRequest) } // @@protoc_insertion_point(class_scope:google.spanner.v1.CommitRequest) private static final com.google.spanner.v1.CommitRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.v1.CommitRequest(); } @@ -2107,27 +1893,27 @@ public static com.google.spanner.v1.CommitRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CommitRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CommitRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2142,4 +1928,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.CommitRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitRequestOrBuilder.java similarity index 82% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitRequestOrBuilder.java index 67704563b20..2866b1cbecb 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitRequestOrBuilder.java @@ -1,85 +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/spanner/v1/spanner.proto package com.google.spanner.v1; -public interface CommitRequestOrBuilder - extends +public interface CommitRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.CommitRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The session in which the transaction to be committed is running.
    * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The session. */ java.lang.String getSession(); /** - * - * *
    * Required. The session in which the transaction to be committed is running.
    * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for session. */ - com.google.protobuf.ByteString getSessionBytes(); + com.google.protobuf.ByteString + getSessionBytes(); /** - * - * *
    * Commit a previously-started transaction.
    * 
* * bytes transaction_id = 2; - * * @return Whether the transactionId field is set. */ boolean hasTransactionId(); /** - * - * *
    * Commit a previously-started transaction.
    * 
* * bytes transaction_id = 2; - * * @return The transactionId. */ com.google.protobuf.ByteString getTransactionId(); /** - * - * *
    * Execute mutations in a temporary transaction. Note that unlike
    * commit of a previously-started transaction, commit with a
@@ -93,13 +60,10 @@ public interface CommitRequestOrBuilder
    * 
* * .google.spanner.v1.TransactionOptions single_use_transaction = 3; - * * @return Whether the singleUseTransaction field is set. */ boolean hasSingleUseTransaction(); /** - * - * *
    * Execute mutations in a temporary transaction. Note that unlike
    * commit of a previously-started transaction, commit with a
@@ -113,13 +77,10 @@ public interface CommitRequestOrBuilder
    * 
* * .google.spanner.v1.TransactionOptions single_use_transaction = 3; - * * @return The singleUseTransaction. */ com.google.spanner.v1.TransactionOptions getSingleUseTransaction(); /** - * - * *
    * Execute mutations in a temporary transaction. Note that unlike
    * commit of a previously-started transaction, commit with a
@@ -137,8 +98,6 @@ public interface CommitRequestOrBuilder
   com.google.spanner.v1.TransactionOptionsOrBuilder getSingleUseTransactionOrBuilder();
 
   /**
-   *
-   *
    * 
    * The mutations to be executed when this transaction commits. All
    * mutations are applied atomically, in the order they appear in
@@ -147,10 +106,9 @@ public interface CommitRequestOrBuilder
    *
    * repeated .google.spanner.v1.Mutation mutations = 4;
    */
-  java.util.List getMutationsList();
+  java.util.List 
+      getMutationsList();
   /**
-   *
-   *
    * 
    * The mutations to be executed when this transaction commits. All
    * mutations are applied atomically, in the order they appear in
@@ -161,8 +119,6 @@ public interface CommitRequestOrBuilder
    */
   com.google.spanner.v1.Mutation getMutations(int index);
   /**
-   *
-   *
    * 
    * The mutations to be executed when this transaction commits. All
    * mutations are applied atomically, in the order they appear in
@@ -173,8 +129,6 @@ public interface CommitRequestOrBuilder
    */
   int getMutationsCount();
   /**
-   *
-   *
    * 
    * The mutations to be executed when this transaction commits. All
    * mutations are applied atomically, in the order they appear in
@@ -183,10 +137,9 @@ public interface CommitRequestOrBuilder
    *
    * repeated .google.spanner.v1.Mutation mutations = 4;
    */
-  java.util.List getMutationsOrBuilderList();
+  java.util.List 
+      getMutationsOrBuilderList();
   /**
-   *
-   *
    * 
    * The mutations to be executed when this transaction commits. All
    * mutations are applied atomically, in the order they appear in
@@ -195,11 +148,10 @@ public interface CommitRequestOrBuilder
    *
    * repeated .google.spanner.v1.Mutation mutations = 4;
    */
-  com.google.spanner.v1.MutationOrBuilder getMutationsOrBuilder(int index);
+  com.google.spanner.v1.MutationOrBuilder getMutationsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * If `true`, then statistics related to the transaction will be included in
    * the [CommitResponse][google.spanner.v1.CommitResponse.commit_stats]. Default value is
@@ -207,38 +159,29 @@ public interface CommitRequestOrBuilder
    * 
* * bool return_commit_stats = 5; - * * @return The returnCommitStats. */ boolean getReturnCommitStats(); /** - * - * *
    * Common options for this request.
    * 
* * .google.spanner.v1.RequestOptions request_options = 6; - * * @return Whether the requestOptions field is set. */ boolean hasRequestOptions(); /** - * - * *
    * Common options for this request.
    * 
* * .google.spanner.v1.RequestOptions request_options = 6; - * * @return The requestOptions. */ com.google.spanner.v1.RequestOptions getRequestOptions(); /** - * - * *
    * Common options for this request.
    * 
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitResponse.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitResponse.java similarity index 71% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitResponse.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitResponse.java index 89661b86be0..c5dd926d15e 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitResponse.java @@ -1,78 +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/spanner/v1/commit_response.proto package com.google.spanner.v1; /** - * - * *
  * The response for [Commit][google.spanner.v1.Spanner.Commit].
  * 
* * Protobuf type {@code google.spanner.v1.CommitResponse} */ -public final class CommitResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CommitResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.v1.CommitResponse) CommitResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CommitResponse.newBuilder() to construct. private CommitResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private CommitResponse() {} + private CommitResponse() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CommitResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.CommitResponseProto - .internal_static_google_spanner_v1_CommitResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.CommitResponseProto.internal_static_google_spanner_v1_CommitResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.CommitResponseProto - .internal_static_google_spanner_v1_CommitResponse_fieldAccessorTable + return com.google.spanner.v1.CommitResponseProto.internal_static_google_spanner_v1_CommitResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.CommitResponse.class, - com.google.spanner.v1.CommitResponse.Builder.class); + com.google.spanner.v1.CommitResponse.class, com.google.spanner.v1.CommitResponse.Builder.class); } - public interface CommitStatsOrBuilder - extends + public interface CommitStatsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.CommitResponse.CommitStats) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The total number of mutations for the transaction. Knowing the
      * `mutation_count` value can help you maximize the number of mutations
@@ -84,63 +63,57 @@ public interface CommitStatsOrBuilder
      * 
* * int64 mutation_count = 1; - * * @return The mutationCount. */ long getMutationCount(); } /** - * - * *
    * Additional statistics about a commit.
    * 
* * Protobuf type {@code google.spanner.v1.CommitResponse.CommitStats} */ - public static final class CommitStats extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class CommitStats extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.v1.CommitResponse.CommitStats) CommitStatsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CommitStats.newBuilder() to construct. private CommitStats(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private CommitStats() {} + private CommitStats() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CommitStats(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.CommitResponseProto - .internal_static_google_spanner_v1_CommitResponse_CommitStats_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.CommitResponseProto.internal_static_google_spanner_v1_CommitResponse_CommitStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.CommitResponseProto - .internal_static_google_spanner_v1_CommitResponse_CommitStats_fieldAccessorTable + return com.google.spanner.v1.CommitResponseProto.internal_static_google_spanner_v1_CommitResponse_CommitStats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.CommitResponse.CommitStats.class, - com.google.spanner.v1.CommitResponse.CommitStats.Builder.class); + com.google.spanner.v1.CommitResponse.CommitStats.class, com.google.spanner.v1.CommitResponse.CommitStats.Builder.class); } public static final int MUTATION_COUNT_FIELD_NUMBER = 1; private long mutationCount_ = 0L; /** - * - * *
      * The total number of mutations for the transaction. Knowing the
      * `mutation_count` value can help you maximize the number of mutations
@@ -152,7 +125,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * int64 mutation_count = 1; - * * @return The mutationCount. */ @java.lang.Override @@ -161,7 +133,6 @@ public long getMutationCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -173,7 +144,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (mutationCount_ != 0L) { output.writeInt64(1, mutationCount_); } @@ -187,7 +159,8 @@ public int getSerializedSize() { size = 0; if (mutationCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, mutationCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, mutationCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -197,15 +170,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.spanner.v1.CommitResponse.CommitStats)) { return super.equals(obj); } - com.google.spanner.v1.CommitResponse.CommitStats other = - (com.google.spanner.v1.CommitResponse.CommitStats) obj; + com.google.spanner.v1.CommitResponse.CommitStats other = (com.google.spanner.v1.CommitResponse.CommitStats) obj; - if (getMutationCount() != other.getMutationCount()) return false; + if (getMutationCount() + != other.getMutationCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -218,100 +191,95 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + MUTATION_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getMutationCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getMutationCount()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.spanner.v1.CommitResponse.CommitStats parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.CommitResponse.CommitStats parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.CommitResponse.CommitStats parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.CommitResponse.CommitStats parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.CommitResponse.CommitStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.CommitResponse.CommitStats parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.v1.CommitResponse.CommitStats parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.v1.CommitResponse.CommitStats parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.CommitResponse.CommitStats parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.spanner.v1.CommitResponse.CommitStats parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.v1.CommitResponse.CommitStats parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.v1.CommitResponse.CommitStats parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.CommitResponse.CommitStats parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.CommitResponse.CommitStats parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.v1.CommitResponse.CommitStats prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -321,41 +289,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Additional statistics about a commit.
      * 
* * Protobuf type {@code google.spanner.v1.CommitResponse.CommitStats} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.CommitResponse.CommitStats) com.google.spanner.v1.CommitResponse.CommitStatsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.CommitResponseProto - .internal_static_google_spanner_v1_CommitResponse_CommitStats_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.CommitResponseProto.internal_static_google_spanner_v1_CommitResponse_CommitStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.CommitResponseProto - .internal_static_google_spanner_v1_CommitResponse_CommitStats_fieldAccessorTable + return com.google.spanner.v1.CommitResponseProto.internal_static_google_spanner_v1_CommitResponse_CommitStats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.CommitResponse.CommitStats.class, - com.google.spanner.v1.CommitResponse.CommitStats.Builder.class); + com.google.spanner.v1.CommitResponse.CommitStats.class, com.google.spanner.v1.CommitResponse.CommitStats.Builder.class); } // Construct using com.google.spanner.v1.CommitResponse.CommitStats.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -365,9 +331,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.v1.CommitResponseProto - .internal_static_google_spanner_v1_CommitResponse_CommitStats_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.v1.CommitResponseProto.internal_static_google_spanner_v1_CommitResponse_CommitStats_descriptor; } @java.lang.Override @@ -386,11 +352,8 @@ public com.google.spanner.v1.CommitResponse.CommitStats build() { @java.lang.Override public com.google.spanner.v1.CommitResponse.CommitStats buildPartial() { - com.google.spanner.v1.CommitResponse.CommitStats result = - new com.google.spanner.v1.CommitResponse.CommitStats(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.v1.CommitResponse.CommitStats result = new com.google.spanner.v1.CommitResponse.CommitStats(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -406,41 +369,38 @@ private void buildPartial0(com.google.spanner.v1.CommitResponse.CommitStats 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.spanner.v1.CommitResponse.CommitStats) { - return mergeFrom((com.google.spanner.v1.CommitResponse.CommitStats) other); + return mergeFrom((com.google.spanner.v1.CommitResponse.CommitStats)other); } else { super.mergeFrom(other); return this; @@ -448,8 +408,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.v1.CommitResponse.CommitStats other) { - if (other == com.google.spanner.v1.CommitResponse.CommitStats.getDefaultInstance()) - return this; + if (other == com.google.spanner.v1.CommitResponse.CommitStats.getDefaultInstance()) return this; if (other.getMutationCount() != 0L) { setMutationCount(other.getMutationCount()); } @@ -479,19 +438,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - mutationCount_ = input.readInt64(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + mutationCount_ = input.readInt64(); + 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) { @@ -501,13 +458,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private long mutationCount_; + private long mutationCount_ ; /** - * - * *
        * The total number of mutations for the transaction. Knowing the
        * `mutation_count` value can help you maximize the number of mutations
@@ -519,7 +473,6 @@ public Builder mergeFrom(
        * 
* * int64 mutation_count = 1; - * * @return The mutationCount. */ @java.lang.Override @@ -527,8 +480,6 @@ public long getMutationCount() { return mutationCount_; } /** - * - * *
        * The total number of mutations for the transaction. Knowing the
        * `mutation_count` value can help you maximize the number of mutations
@@ -540,20 +491,17 @@ public long getMutationCount() {
        * 
* * int64 mutation_count = 1; - * * @param value The mutationCount to set. * @return This builder for chaining. */ public Builder setMutationCount(long value) { - + mutationCount_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * The total number of mutations for the transaction. Knowing the
        * `mutation_count` value can help you maximize the number of mutations
@@ -565,7 +513,6 @@ public Builder setMutationCount(long value) {
        * 
* * int64 mutation_count = 1; - * * @return This builder for chaining. */ public Builder clearMutationCount() { @@ -574,7 +521,6 @@ public Builder clearMutationCount() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -587,12 +533,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.v1.CommitResponse.CommitStats) } // @@protoc_insertion_point(class_scope:google.spanner.v1.CommitResponse.CommitStats) private static final com.google.spanner.v1.CommitResponse.CommitStats DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.v1.CommitResponse.CommitStats(); } @@ -601,28 +547,27 @@ public static com.google.spanner.v1.CommitResponse.CommitStats getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CommitStats parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CommitStats parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,19 +582,17 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.CommitResponse.CommitStats getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int COMMIT_TIMESTAMP_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp commitTimestamp_; /** - * - * *
    * The Cloud Spanner timestamp at which the transaction committed.
    * 
* * .google.protobuf.Timestamp commit_timestamp = 1; - * * @return Whether the commitTimestamp field is set. */ @java.lang.Override @@ -657,25 +600,18 @@ public boolean hasCommitTimestamp() { return commitTimestamp_ != null; } /** - * - * *
    * The Cloud Spanner timestamp at which the transaction committed.
    * 
* * .google.protobuf.Timestamp commit_timestamp = 1; - * * @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 Cloud Spanner timestamp at which the transaction committed.
    * 
@@ -684,16 +620,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 COMMIT_STATS_FIELD_NUMBER = 2; private com.google.spanner.v1.CommitResponse.CommitStats commitStats_; /** - * - * *
    * The statistics about this Commit. Not returned by default.
    * For more information, see
@@ -701,7 +633,6 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimestampOrBuilder() {
    * 
* * .google.spanner.v1.CommitResponse.CommitStats commit_stats = 2; - * * @return Whether the commitStats field is set. */ @java.lang.Override @@ -709,8 +640,6 @@ public boolean hasCommitStats() { return commitStats_ != null; } /** - * - * *
    * The statistics about this Commit. Not returned by default.
    * For more information, see
@@ -718,18 +647,13 @@ public boolean hasCommitStats() {
    * 
* * .google.spanner.v1.CommitResponse.CommitStats commit_stats = 2; - * * @return The commitStats. */ @java.lang.Override public com.google.spanner.v1.CommitResponse.CommitStats getCommitStats() { - return commitStats_ == null - ? com.google.spanner.v1.CommitResponse.CommitStats.getDefaultInstance() - : commitStats_; + return commitStats_ == null ? com.google.spanner.v1.CommitResponse.CommitStats.getDefaultInstance() : commitStats_; } /** - * - * *
    * The statistics about this Commit. Not returned by default.
    * For more information, see
@@ -740,13 +664,10 @@ public com.google.spanner.v1.CommitResponse.CommitStats getCommitStats() {
    */
   @java.lang.Override
   public com.google.spanner.v1.CommitResponse.CommitStatsOrBuilder getCommitStatsOrBuilder() {
-    return commitStats_ == null
-        ? com.google.spanner.v1.CommitResponse.CommitStats.getDefaultInstance()
-        : commitStats_;
+    return commitStats_ == null ? com.google.spanner.v1.CommitResponse.CommitStats.getDefaultInstance() : commitStats_;
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -758,7 +679,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (commitTimestamp_ != null) {
       output.writeMessage(1, getCommitTimestamp());
     }
@@ -775,10 +697,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (commitTimestamp_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCommitTimestamp());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getCommitTimestamp());
     }
     if (commitStats_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCommitStats());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getCommitStats());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -788,7 +712,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.spanner.v1.CommitResponse)) {
       return super.equals(obj);
@@ -797,11 +721,13 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasCommitTimestamp() != other.hasCommitTimestamp()) return false;
     if (hasCommitTimestamp()) {
-      if (!getCommitTimestamp().equals(other.getCommitTimestamp())) return false;
+      if (!getCommitTimestamp()
+          .equals(other.getCommitTimestamp())) return false;
     }
     if (hasCommitStats() != other.hasCommitStats()) return false;
     if (hasCommitStats()) {
-      if (!getCommitStats().equals(other.getCommitStats())) return false;
+      if (!getCommitStats()
+          .equals(other.getCommitStats())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -827,135 +753,130 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.spanner.v1.CommitResponse parseFrom(java.nio.ByteBuffer data)
+  public static com.google.spanner.v1.CommitResponse parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.CommitResponse parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.spanner.v1.CommitResponse parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.spanner.v1.CommitResponse parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.CommitResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.v1.CommitResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.CommitResponse parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.v1.CommitResponse parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.v1.CommitResponse parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.spanner.v1.CommitResponse 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.spanner.v1.CommitResponse parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.spanner.v1.CommitResponse parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.v1.CommitResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.spanner.v1.CommitResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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 [Commit][google.spanner.v1.Spanner.Commit].
    * 
* * Protobuf type {@code google.spanner.v1.CommitResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.CommitResponse) com.google.spanner.v1.CommitResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.CommitResponseProto - .internal_static_google_spanner_v1_CommitResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.CommitResponseProto.internal_static_google_spanner_v1_CommitResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.CommitResponseProto - .internal_static_google_spanner_v1_CommitResponse_fieldAccessorTable + return com.google.spanner.v1.CommitResponseProto.internal_static_google_spanner_v1_CommitResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.CommitResponse.class, - com.google.spanner.v1.CommitResponse.Builder.class); + com.google.spanner.v1.CommitResponse.class, com.google.spanner.v1.CommitResponse.Builder.class); } // Construct using com.google.spanner.v1.CommitResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -974,9 +895,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.v1.CommitResponseProto - .internal_static_google_spanner_v1_CommitResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.v1.CommitResponseProto.internal_static_google_spanner_v1_CommitResponse_descriptor; } @java.lang.Override @@ -996,9 +917,7 @@ public com.google.spanner.v1.CommitResponse build() { @java.lang.Override public com.google.spanner.v1.CommitResponse buildPartial() { com.google.spanner.v1.CommitResponse result = new com.google.spanner.v1.CommitResponse(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -1006,12 +925,14 @@ public com.google.spanner.v1.CommitResponse buildPartial() { private void buildPartial0(com.google.spanner.v1.CommitResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.commitTimestamp_ = - commitTimestampBuilder_ == null ? commitTimestamp_ : commitTimestampBuilder_.build(); + result.commitTimestamp_ = commitTimestampBuilder_ == null + ? commitTimestamp_ + : commitTimestampBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.commitStats_ = - commitStatsBuilder_ == null ? commitStats_ : commitStatsBuilder_.build(); + result.commitStats_ = commitStatsBuilder_ == null + ? commitStats_ + : commitStatsBuilder_.build(); } } @@ -1019,39 +940,38 @@ private void buildPartial0(com.google.spanner.v1.CommitResponse 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.spanner.v1.CommitResponse) { - return mergeFrom((com.google.spanner.v1.CommitResponse) other); + return mergeFrom((com.google.spanner.v1.CommitResponse)other); } else { super.mergeFrom(other); return this; @@ -1092,25 +1012,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getCommitTimestampFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getCommitStatsFieldBuilder().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( + getCommitTimestampFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getCommitStatsFieldBuilder().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) { @@ -1120,52 +1041,38 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; 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 Cloud Spanner timestamp at which the transaction committed.
      * 
* * .google.protobuf.Timestamp commit_timestamp = 1; - * * @return Whether the commitTimestamp field is set. */ public boolean hasCommitTimestamp() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The Cloud Spanner timestamp at which the transaction committed.
      * 
* * .google.protobuf.Timestamp commit_timestamp = 1; - * * @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 Cloud Spanner timestamp at which the transaction committed.
      * 
@@ -1186,15 +1093,14 @@ public Builder setCommitTimestamp(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The Cloud Spanner timestamp at which the transaction committed.
      * 
* * .google.protobuf.Timestamp commit_timestamp = 1; */ - 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 { @@ -1205,8 +1111,6 @@ public Builder setCommitTimestamp(com.google.protobuf.Timestamp.Builder builderF return this; } /** - * - * *
      * The Cloud Spanner timestamp at which the transaction committed.
      * 
@@ -1215,9 +1119,9 @@ public Builder setCommitTimestamp(com.google.protobuf.Timestamp.Builder builderF */ public Builder mergeCommitTimestamp(com.google.protobuf.Timestamp value) { if (commitTimestampBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && commitTimestamp_ != null - && commitTimestamp_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + commitTimestamp_ != null && + commitTimestamp_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCommitTimestampBuilder().mergeFrom(value); } else { commitTimestamp_ = value; @@ -1230,8 +1134,6 @@ public Builder mergeCommitTimestamp(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The Cloud Spanner timestamp at which the transaction committed.
      * 
@@ -1249,8 +1151,6 @@ public Builder clearCommitTimestamp() { return this; } /** - * - * *
      * The Cloud Spanner timestamp at which the transaction committed.
      * 
@@ -1263,8 +1163,6 @@ public com.google.protobuf.Timestamp.Builder getCommitTimestampBuilder() { return getCommitTimestampFieldBuilder().getBuilder(); } /** - * - * *
      * The Cloud Spanner timestamp at which the transaction committed.
      * 
@@ -1275,14 +1173,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 Cloud Spanner timestamp at which the transaction committed.
      * 
@@ -1290,17 +1185,14 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimestampOrBuilder() { * .google.protobuf.Timestamp commit_timestamp = 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> 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_; @@ -1308,13 +1200,8 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimestampOrBuilder() { private com.google.spanner.v1.CommitResponse.CommitStats commitStats_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.CommitResponse.CommitStats, - com.google.spanner.v1.CommitResponse.CommitStats.Builder, - com.google.spanner.v1.CommitResponse.CommitStatsOrBuilder> - commitStatsBuilder_; + com.google.spanner.v1.CommitResponse.CommitStats, com.google.spanner.v1.CommitResponse.CommitStats.Builder, com.google.spanner.v1.CommitResponse.CommitStatsOrBuilder> commitStatsBuilder_; /** - * - * *
      * The statistics about this Commit. Not returned by default.
      * For more information, see
@@ -1322,15 +1209,12 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimestampOrBuilder() {
      * 
* * .google.spanner.v1.CommitResponse.CommitStats commit_stats = 2; - * * @return Whether the commitStats field is set. */ public boolean hasCommitStats() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The statistics about this Commit. Not returned by default.
      * For more information, see
@@ -1338,21 +1222,16 @@ public boolean hasCommitStats() {
      * 
* * .google.spanner.v1.CommitResponse.CommitStats commit_stats = 2; - * * @return The commitStats. */ public com.google.spanner.v1.CommitResponse.CommitStats getCommitStats() { if (commitStatsBuilder_ == null) { - return commitStats_ == null - ? com.google.spanner.v1.CommitResponse.CommitStats.getDefaultInstance() - : commitStats_; + return commitStats_ == null ? com.google.spanner.v1.CommitResponse.CommitStats.getDefaultInstance() : commitStats_; } else { return commitStatsBuilder_.getMessage(); } } /** - * - * *
      * The statistics about this Commit. Not returned by default.
      * For more information, see
@@ -1375,8 +1254,6 @@ public Builder setCommitStats(com.google.spanner.v1.CommitResponse.CommitStats v
       return this;
     }
     /**
-     *
-     *
      * 
      * The statistics about this Commit. Not returned by default.
      * For more information, see
@@ -1397,8 +1274,6 @@ public Builder setCommitStats(
       return this;
     }
     /**
-     *
-     *
      * 
      * The statistics about this Commit. Not returned by default.
      * For more information, see
@@ -1409,10 +1284,9 @@ public Builder setCommitStats(
      */
     public Builder mergeCommitStats(com.google.spanner.v1.CommitResponse.CommitStats value) {
       if (commitStatsBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && commitStats_ != null
-            && commitStats_
-                != com.google.spanner.v1.CommitResponse.CommitStats.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          commitStats_ != null &&
+          commitStats_ != com.google.spanner.v1.CommitResponse.CommitStats.getDefaultInstance()) {
           getCommitStatsBuilder().mergeFrom(value);
         } else {
           commitStats_ = value;
@@ -1425,8 +1299,6 @@ public Builder mergeCommitStats(com.google.spanner.v1.CommitResponse.CommitStats
       return this;
     }
     /**
-     *
-     *
      * 
      * The statistics about this Commit. Not returned by default.
      * For more information, see
@@ -1446,8 +1318,6 @@ public Builder clearCommitStats() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The statistics about this Commit. Not returned by default.
      * For more information, see
@@ -1462,8 +1332,6 @@ public com.google.spanner.v1.CommitResponse.CommitStats.Builder getCommitStatsBu
       return getCommitStatsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The statistics about this Commit. Not returned by default.
      * For more information, see
@@ -1476,14 +1344,11 @@ public com.google.spanner.v1.CommitResponse.CommitStatsOrBuilder getCommitStatsO
       if (commitStatsBuilder_ != null) {
         return commitStatsBuilder_.getMessageOrBuilder();
       } else {
-        return commitStats_ == null
-            ? com.google.spanner.v1.CommitResponse.CommitStats.getDefaultInstance()
-            : commitStats_;
+        return commitStats_ == null ?
+            com.google.spanner.v1.CommitResponse.CommitStats.getDefaultInstance() : commitStats_;
       }
     }
     /**
-     *
-     *
      * 
      * The statistics about this Commit. Not returned by default.
      * For more information, see
@@ -1493,24 +1358,21 @@ public com.google.spanner.v1.CommitResponse.CommitStatsOrBuilder getCommitStatsO
      * .google.spanner.v1.CommitResponse.CommitStats commit_stats = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.CommitResponse.CommitStats,
-            com.google.spanner.v1.CommitResponse.CommitStats.Builder,
-            com.google.spanner.v1.CommitResponse.CommitStatsOrBuilder>
+        com.google.spanner.v1.CommitResponse.CommitStats, com.google.spanner.v1.CommitResponse.CommitStats.Builder, com.google.spanner.v1.CommitResponse.CommitStatsOrBuilder> 
         getCommitStatsFieldBuilder() {
       if (commitStatsBuilder_ == null) {
-        commitStatsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.v1.CommitResponse.CommitStats,
-                com.google.spanner.v1.CommitResponse.CommitStats.Builder,
-                com.google.spanner.v1.CommitResponse.CommitStatsOrBuilder>(
-                getCommitStats(), getParentForChildren(), isClean());
+        commitStatsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.v1.CommitResponse.CommitStats, com.google.spanner.v1.CommitResponse.CommitStats.Builder, com.google.spanner.v1.CommitResponse.CommitStatsOrBuilder>(
+                getCommitStats(),
+                getParentForChildren(),
+                isClean());
         commitStats_ = null;
       }
       return commitStatsBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1520,12 +1382,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.spanner.v1.CommitResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.spanner.v1.CommitResponse)
   private static final com.google.spanner.v1.CommitResponse DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.spanner.v1.CommitResponse();
   }
@@ -1534,27 +1396,27 @@ public static com.google.spanner.v1.CommitResponse getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public CommitResponse parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public CommitResponse parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1569,4 +1431,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.spanner.v1.CommitResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitResponseOrBuilder.java
similarity index 75%
rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitResponseOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitResponseOrBuilder.java
index 256983c2f71..7f36f8709b8 100644
--- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitResponseOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitResponseOrBuilder.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/spanner/v1/commit_response.proto
 
 package com.google.spanner.v1;
 
-public interface CommitResponseOrBuilder
-    extends
+public interface CommitResponseOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.spanner.v1.CommitResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The Cloud Spanner timestamp at which the transaction committed.
    * 
* * .google.protobuf.Timestamp commit_timestamp = 1; - * * @return Whether the commitTimestamp field is set. */ boolean hasCommitTimestamp(); /** - * - * *
    * The Cloud Spanner timestamp at which the transaction committed.
    * 
* * .google.protobuf.Timestamp commit_timestamp = 1; - * * @return The commitTimestamp. */ com.google.protobuf.Timestamp getCommitTimestamp(); /** - * - * *
    * The Cloud Spanner timestamp at which the transaction committed.
    * 
@@ -59,8 +35,6 @@ public interface CommitResponseOrBuilder com.google.protobuf.TimestampOrBuilder getCommitTimestampOrBuilder(); /** - * - * *
    * The statistics about this Commit. Not returned by default.
    * For more information, see
@@ -68,13 +42,10 @@ public interface CommitResponseOrBuilder
    * 
* * .google.spanner.v1.CommitResponse.CommitStats commit_stats = 2; - * * @return Whether the commitStats field is set. */ boolean hasCommitStats(); /** - * - * *
    * The statistics about this Commit. Not returned by default.
    * For more information, see
@@ -82,13 +53,10 @@ public interface CommitResponseOrBuilder
    * 
* * .google.spanner.v1.CommitResponse.CommitStats commit_stats = 2; - * * @return The commitStats. */ com.google.spanner.v1.CommitResponse.CommitStats getCommitStats(); /** - * - * *
    * The statistics about this Commit. Not returned by default.
    * For more information, see
diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitResponseProto.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitResponseProto.java
new file mode 100644
index 00000000000..aebcba5a155
--- /dev/null
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitResponseProto.java
@@ -0,0 +1,70 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/spanner/v1/commit_response.proto
+
+package com.google.spanner.v1;
+
+public final class CommitResponseProto {
+  private CommitResponseProto() {}
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistryLite registry) {
+  }
+
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions(
+        (com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_spanner_v1_CommitResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_spanner_v1_CommitResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_spanner_v1_CommitResponse_CommitStats_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_spanner_v1_CommitResponse_CommitStats_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor
+      getDescriptor() {
+    return descriptor;
+  }
+  private static  com.google.protobuf.Descriptors.FileDescriptor
+      descriptor;
+  static {
+    java.lang.String[] descriptorData = {
+      "\n\'google/spanner/v1/commit_response.prot" +
+      "o\022\021google.spanner.v1\032\037google/protobuf/ti" +
+      "mestamp.proto\"\262\001\n\016CommitResponse\0224\n\020comm" +
+      "it_timestamp\030\001 \001(\0132\032.google.protobuf.Tim" +
+      "estamp\022C\n\014commit_stats\030\002 \001(\0132-.google.sp" +
+      "anner.v1.CommitResponse.CommitStats\032%\n\013C" +
+      "ommitStats\022\026\n\016mutation_count\030\001 \001(\003B\266\001\n\025c" +
+      "om.google.spanner.v1B\023CommitResponseProt" +
+      "oP\001Z5cloud.google.com/go/spanner/apiv1/s" +
+      "pannerpb;spannerpb\252\002\027Google.Cloud.Spanne" +
+      "r.V1\312\002\027Google\\Cloud\\Spanner\\V1\352\002\032Google:" +
+      ":Cloud::Spanner::V1b\006proto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.protobuf.TimestampProto.getDescriptor(),
+        });
+    internal_static_google_spanner_v1_CommitResponse_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_spanner_v1_CommitResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_spanner_v1_CommitResponse_descriptor,
+        new java.lang.String[] { "CommitTimestamp", "CommitStats", });
+    internal_static_google_spanner_v1_CommitResponse_CommitStats_descriptor =
+      internal_static_google_spanner_v1_CommitResponse_descriptor.getNestedTypes().get(0);
+    internal_static_google_spanner_v1_CommitResponse_CommitStats_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_spanner_v1_CommitResponse_CommitStats_descriptor,
+        new java.lang.String[] { "MutationCount", });
+    com.google.protobuf.TimestampProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CreateSessionRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CreateSessionRequest.java
similarity index 64%
rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CreateSessionRequest.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CreateSessionRequest.java
index fe3fc6e7e6b..0e97c8744ac 100644
--- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CreateSessionRequest.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CreateSessionRequest.java
@@ -1,87 +1,62 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/v1/spanner.proto
 
 package com.google.spanner.v1;
 
 /**
- *
- *
  * 
  * The request for [CreateSession][google.spanner.v1.Spanner.CreateSession].
  * 
* * Protobuf type {@code google.spanner.v1.CreateSessionRequest} */ -public final class CreateSessionRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateSessionRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.v1.CreateSessionRequest) CreateSessionRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateSessionRequest.newBuilder() to construct. private CreateSessionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateSessionRequest() { database_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateSessionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_CreateSessionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_CreateSessionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_CreateSessionRequest_fieldAccessorTable + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_CreateSessionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.CreateSessionRequest.class, - com.google.spanner.v1.CreateSessionRequest.Builder.class); + com.google.spanner.v1.CreateSessionRequest.class, com.google.spanner.v1.CreateSessionRequest.Builder.class); } public static final int DATABASE_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object database_ = ""; /** - * - * *
    * Required. The database in which the new session is created.
    * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The database. */ @java.lang.Override @@ -90,31 +65,29 @@ public java.lang.String getDatabase() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; } } /** - * - * *
    * Required. The database in which the new session is created.
    * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for database. */ @java.lang.Override - public com.google.protobuf.ByteString getDatabaseBytes() { + public com.google.protobuf.ByteString + getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); database_ = b; return b; } else { @@ -125,14 +98,11 @@ public com.google.protobuf.ByteString getDatabaseBytes() { public static final int SESSION_FIELD_NUMBER = 2; private com.google.spanner.v1.Session session_; /** - * - * *
    * Required. The session to create.
    * 
* * .google.spanner.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the session field is set. */ @java.lang.Override @@ -140,14 +110,11 @@ public boolean hasSession() { return session_ != null; } /** - * - * *
    * Required. The session to create.
    * 
* * .google.spanner.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The session. */ @java.lang.Override @@ -155,8 +122,6 @@ public com.google.spanner.v1.Session getSession() { return session_ == null ? com.google.spanner.v1.Session.getDefaultInstance() : session_; } /** - * - * *
    * Required. The session to create.
    * 
@@ -169,7 +134,6 @@ public com.google.spanner.v1.SessionOrBuilder getSessionOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +145,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(database_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, database_); } @@ -201,7 +166,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, database_); } if (session_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getSession()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getSession()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -211,18 +177,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.spanner.v1.CreateSessionRequest)) { return super.equals(obj); } - com.google.spanner.v1.CreateSessionRequest other = - (com.google.spanner.v1.CreateSessionRequest) obj; + com.google.spanner.v1.CreateSessionRequest other = (com.google.spanner.v1.CreateSessionRequest) obj; - if (!getDatabase().equals(other.getDatabase())) return false; + if (!getDatabase() + .equals(other.getDatabase())) return false; if (hasSession() != other.hasSession()) return false; if (hasSession()) { - if (!getSession().equals(other.getSession())) return false; + if (!getSession() + .equals(other.getSession())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -246,136 +213,130 @@ public int hashCode() { return hash; } - public static com.google.spanner.v1.CreateSessionRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.v1.CreateSessionRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.CreateSessionRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.CreateSessionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.CreateSessionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.CreateSessionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.CreateSessionRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.CreateSessionRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.CreateSessionRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.spanner.v1.CreateSessionRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.v1.CreateSessionRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.v1.CreateSessionRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.CreateSessionRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.CreateSessionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.v1.CreateSessionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [CreateSession][google.spanner.v1.Spanner.CreateSession].
    * 
* * Protobuf type {@code google.spanner.v1.CreateSessionRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.CreateSessionRequest) com.google.spanner.v1.CreateSessionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_CreateSessionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_CreateSessionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_CreateSessionRequest_fieldAccessorTable + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_CreateSessionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.CreateSessionRequest.class, - com.google.spanner.v1.CreateSessionRequest.Builder.class); + com.google.spanner.v1.CreateSessionRequest.class, com.google.spanner.v1.CreateSessionRequest.Builder.class); } // Construct using com.google.spanner.v1.CreateSessionRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -390,9 +351,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_CreateSessionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_CreateSessionRequest_descriptor; } @java.lang.Override @@ -411,11 +372,8 @@ public com.google.spanner.v1.CreateSessionRequest build() { @java.lang.Override public com.google.spanner.v1.CreateSessionRequest buildPartial() { - com.google.spanner.v1.CreateSessionRequest result = - new com.google.spanner.v1.CreateSessionRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.v1.CreateSessionRequest result = new com.google.spanner.v1.CreateSessionRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -426,7 +384,9 @@ private void buildPartial0(com.google.spanner.v1.CreateSessionRequest result) { result.database_ = database_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.session_ = sessionBuilder_ == null ? session_ : sessionBuilder_.build(); + result.session_ = sessionBuilder_ == null + ? session_ + : sessionBuilder_.build(); } } @@ -434,39 +394,38 @@ private void buildPartial0(com.google.spanner.v1.CreateSessionRequest 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.spanner.v1.CreateSessionRequest) { - return mergeFrom((com.google.spanner.v1.CreateSessionRequest) other); + return mergeFrom((com.google.spanner.v1.CreateSessionRequest)other); } else { super.mergeFrom(other); return this; @@ -509,25 +468,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - database_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getSessionFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + database_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getSessionFieldBuilder().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) { @@ -537,27 +495,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object database_ = ""; /** - * - * *
      * Required. The database in which the new session is created.
      * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The database. */ public java.lang.String getDatabase() { java.lang.Object ref = database_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; @@ -566,23 +519,20 @@ public java.lang.String getDatabase() { } } /** - * - * *
      * Required. The database in which the new session is created.
      * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for database. */ - public com.google.protobuf.ByteString getDatabaseBytes() { + public com.google.protobuf.ByteString + getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); database_ = b; return b; } else { @@ -590,39 +540,28 @@ public com.google.protobuf.ByteString getDatabaseBytes() { } } /** - * - * *
      * Required. The database in which the new session is created.
      * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The database to set. * @return This builder for chaining. */ - public Builder setDatabase(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabase( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } database_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The database in which the new session is created.
      * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearDatabase() { @@ -632,23 +571,17 @@ public Builder clearDatabase() { return this; } /** - * - * *
      * Required. The database in which the new session is created.
      * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for database to set. * @return This builder for chaining. */ - public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabaseBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); database_ = value; bitField0_ |= 0x00000001; @@ -658,35 +591,24 @@ public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { private com.google.spanner.v1.Session session_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.Session, - com.google.spanner.v1.Session.Builder, - com.google.spanner.v1.SessionOrBuilder> - sessionBuilder_; + com.google.spanner.v1.Session, com.google.spanner.v1.Session.Builder, com.google.spanner.v1.SessionOrBuilder> sessionBuilder_; /** - * - * *
      * Required. The session to create.
      * 
* - * .google.spanner.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the session field is set. */ public boolean hasSession() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. The session to create.
      * 
* - * .google.spanner.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The session. */ public com.google.spanner.v1.Session getSession() { @@ -697,14 +619,11 @@ public com.google.spanner.v1.Session getSession() { } } /** - * - * *
      * Required. The session to create.
      * 
* - * .google.spanner.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setSession(com.google.spanner.v1.Session value) { if (sessionBuilder_ == null) { @@ -720,16 +639,14 @@ public Builder setSession(com.google.spanner.v1.Session value) { return this; } /** - * - * *
      * Required. The session to create.
      * 
* - * .google.spanner.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setSession(com.google.spanner.v1.Session.Builder builderForValue) { + public Builder setSession( + com.google.spanner.v1.Session.Builder builderForValue) { if (sessionBuilder_ == null) { session_ = builderForValue.build(); } else { @@ -740,20 +657,17 @@ public Builder setSession(com.google.spanner.v1.Session.Builder builderForValue) return this; } /** - * - * *
      * Required. The session to create.
      * 
* - * .google.spanner.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeSession(com.google.spanner.v1.Session value) { if (sessionBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && session_ != null - && session_ != com.google.spanner.v1.Session.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + session_ != null && + session_ != com.google.spanner.v1.Session.getDefaultInstance()) { getSessionBuilder().mergeFrom(value); } else { session_ = value; @@ -766,14 +680,11 @@ public Builder mergeSession(com.google.spanner.v1.Session value) { return this; } /** - * - * *
      * Required. The session to create.
      * 
* - * .google.spanner.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearSession() { bitField0_ = (bitField0_ & ~0x00000002); @@ -786,14 +697,11 @@ public Builder clearSession() { return this; } /** - * - * *
      * Required. The session to create.
      * 
* - * .google.spanner.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.spanner.v1.Session.Builder getSessionBuilder() { bitField0_ |= 0x00000002; @@ -801,51 +709,43 @@ public com.google.spanner.v1.Session.Builder getSessionBuilder() { return getSessionFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The session to create.
      * 
* - * .google.spanner.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.spanner.v1.SessionOrBuilder getSessionOrBuilder() { if (sessionBuilder_ != null) { return sessionBuilder_.getMessageOrBuilder(); } else { - return session_ == null ? com.google.spanner.v1.Session.getDefaultInstance() : session_; + return session_ == null ? + com.google.spanner.v1.Session.getDefaultInstance() : session_; } } /** - * - * *
      * Required. The session to create.
      * 
* - * .google.spanner.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.Session, - com.google.spanner.v1.Session.Builder, - com.google.spanner.v1.SessionOrBuilder> + com.google.spanner.v1.Session, com.google.spanner.v1.Session.Builder, com.google.spanner.v1.SessionOrBuilder> getSessionFieldBuilder() { if (sessionBuilder_ == null) { - sessionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.Session, - com.google.spanner.v1.Session.Builder, - com.google.spanner.v1.SessionOrBuilder>( - getSession(), getParentForChildren(), isClean()); + sessionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.v1.Session, com.google.spanner.v1.Session.Builder, com.google.spanner.v1.SessionOrBuilder>( + getSession(), + getParentForChildren(), + isClean()); session_ = null; } return sessionBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -855,12 +755,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.v1.CreateSessionRequest) } // @@protoc_insertion_point(class_scope:google.spanner.v1.CreateSessionRequest) private static final com.google.spanner.v1.CreateSessionRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.v1.CreateSessionRequest(); } @@ -869,27 +769,27 @@ public static com.google.spanner.v1.CreateSessionRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateSessionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateSessionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -904,4 +804,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.CreateSessionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CreateSessionRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CreateSessionRequestOrBuilder.java similarity index 55% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CreateSessionRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CreateSessionRequestOrBuilder.java index e6e69132e6f..87520589746 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CreateSessionRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CreateSessionRequestOrBuilder.java @@ -1,84 +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/spanner/v1/spanner.proto package com.google.spanner.v1; -public interface CreateSessionRequestOrBuilder - extends +public interface CreateSessionRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.CreateSessionRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The database in which the new session is created.
    * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The database. */ java.lang.String getDatabase(); /** - * - * *
    * Required. The database in which the new session is created.
    * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for database. */ - com.google.protobuf.ByteString getDatabaseBytes(); + com.google.protobuf.ByteString + getDatabaseBytes(); /** - * - * *
    * Required. The session to create.
    * 
* * .google.spanner.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the session field is set. */ boolean hasSession(); /** - * - * *
    * Required. The session to create.
    * 
* * .google.spanner.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The session. */ com.google.spanner.v1.Session getSession(); /** - * - * *
    * Required. The session to create.
    * 
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/DatabaseName.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/DatabaseName.java similarity index 100% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/DatabaseName.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/DatabaseName.java diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/DeleteSessionRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/DeleteSessionRequest.java similarity index 61% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/DeleteSessionRequest.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/DeleteSessionRequest.java index f285dd8124e..d3a62f98da5 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/DeleteSessionRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/DeleteSessionRequest.java @@ -1,87 +1,62 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/spanner.proto package com.google.spanner.v1; /** - * - * *
  * The request for [DeleteSession][google.spanner.v1.Spanner.DeleteSession].
  * 
* * Protobuf type {@code google.spanner.v1.DeleteSessionRequest} */ -public final class DeleteSessionRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteSessionRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.v1.DeleteSessionRequest) DeleteSessionRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteSessionRequest.newBuilder() to construct. private DeleteSessionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteSessionRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteSessionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_DeleteSessionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_DeleteSessionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_DeleteSessionRequest_fieldAccessorTable + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_DeleteSessionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.DeleteSessionRequest.class, - com.google.spanner.v1.DeleteSessionRequest.Builder.class); + com.google.spanner.v1.DeleteSessionRequest.class, com.google.spanner.v1.DeleteSessionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the session to delete.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -90,31 +65,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the session to delete.
    * 
* - * - * string name = 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.spanner.v1.DeleteSessionRequest)) { return super.equals(obj); } - com.google.spanner.v1.DeleteSessionRequest other = - (com.google.spanner.v1.DeleteSessionRequest) obj; + com.google.spanner.v1.DeleteSessionRequest other = (com.google.spanner.v1.DeleteSessionRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -186,136 +159,130 @@ public int hashCode() { return hash; } - public static com.google.spanner.v1.DeleteSessionRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.v1.DeleteSessionRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.DeleteSessionRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.DeleteSessionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.DeleteSessionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.DeleteSessionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.DeleteSessionRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.DeleteSessionRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.DeleteSessionRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.spanner.v1.DeleteSessionRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.v1.DeleteSessionRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.v1.DeleteSessionRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.DeleteSessionRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.DeleteSessionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.v1.DeleteSessionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [DeleteSession][google.spanner.v1.Spanner.DeleteSession].
    * 
* * Protobuf type {@code google.spanner.v1.DeleteSessionRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.DeleteSessionRequest) com.google.spanner.v1.DeleteSessionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_DeleteSessionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_DeleteSessionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_DeleteSessionRequest_fieldAccessorTable + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_DeleteSessionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.DeleteSessionRequest.class, - com.google.spanner.v1.DeleteSessionRequest.Builder.class); + com.google.spanner.v1.DeleteSessionRequest.class, com.google.spanner.v1.DeleteSessionRequest.Builder.class); } // Construct using com.google.spanner.v1.DeleteSessionRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -325,9 +292,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_DeleteSessionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_DeleteSessionRequest_descriptor; } @java.lang.Override @@ -346,11 +313,8 @@ public com.google.spanner.v1.DeleteSessionRequest build() { @java.lang.Override public com.google.spanner.v1.DeleteSessionRequest buildPartial() { - com.google.spanner.v1.DeleteSessionRequest result = - new com.google.spanner.v1.DeleteSessionRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.v1.DeleteSessionRequest result = new com.google.spanner.v1.DeleteSessionRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -366,39 +330,38 @@ private void buildPartial0(com.google.spanner.v1.DeleteSessionRequest 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.spanner.v1.DeleteSessionRequest) { - return mergeFrom((com.google.spanner.v1.DeleteSessionRequest) other); + return mergeFrom((com.google.spanner.v1.DeleteSessionRequest)other); } else { super.mergeFrom(other); return this; @@ -438,19 +401,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,27 +421,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the session to delete.
      * 
* - * - * string name = 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; @@ -489,23 +445,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the session to delete.
      * 
* - * - * string name = 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,39 +466,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the session to delete.
      * 
* - * - * 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 name of the session to delete.
      * 
* - * - * string 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() { @@ -555,32 +497,26 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the session to delete.
      * 
* - * - * 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); } @@ -590,12 +526,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.v1.DeleteSessionRequest) } // @@protoc_insertion_point(class_scope:google.spanner.v1.DeleteSessionRequest) private static final com.google.spanner.v1.DeleteSessionRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.v1.DeleteSessionRequest(); } @@ -604,27 +540,27 @@ public static com.google.spanner.v1.DeleteSessionRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteSessionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteSessionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -639,4 +575,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.DeleteSessionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/DeleteSessionRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/DeleteSessionRequestOrBuilder.java new file mode 100644 index 00000000000..d98689a34fd --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/DeleteSessionRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/spanner/v1/spanner.proto + +package com.google.spanner.v1; + +public interface DeleteSessionRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.spanner.v1.DeleteSessionRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the session to delete.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the session to delete.
+   * 
+ * + * 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-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlRequest.java similarity index 73% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlRequest.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlRequest.java index c4392561ad7..5ea7cba62da 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlRequest.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/spanner/v1/spanner.proto package com.google.spanner.v1; /** - * - * *
  * The request for [ExecuteBatchDml][google.spanner.v1.Spanner.ExecuteBatchDml].
  * 
* * Protobuf type {@code google.spanner.v1.ExecuteBatchDmlRequest} */ -public final class ExecuteBatchDmlRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ExecuteBatchDmlRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.v1.ExecuteBatchDmlRequest) ExecuteBatchDmlRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ExecuteBatchDmlRequest.newBuilder() to construct. private ExecuteBatchDmlRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ExecuteBatchDmlRequest() { session_ = ""; statements_ = java.util.Collections.emptyList(); @@ -44,63 +26,54 @@ private ExecuteBatchDmlRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ExecuteBatchDmlRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_ExecuteBatchDmlRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteBatchDmlRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_ExecuteBatchDmlRequest_fieldAccessorTable + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteBatchDmlRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.ExecuteBatchDmlRequest.class, - com.google.spanner.v1.ExecuteBatchDmlRequest.Builder.class); + com.google.spanner.v1.ExecuteBatchDmlRequest.class, com.google.spanner.v1.ExecuteBatchDmlRequest.Builder.class); } - public interface StatementOrBuilder - extends + public interface StatementOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.ExecuteBatchDmlRequest.Statement) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. The DML string.
      * 
* * string sql = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The sql. */ java.lang.String getSql(); /** - * - * *
      * Required. The DML string.
      * 
* * string sql = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for sql. */ - com.google.protobuf.ByteString getSqlBytes(); + com.google.protobuf.ByteString + getSqlBytes(); /** - * - * *
      * Parameter names and values that bind to placeholders in the DML string.
      * A parameter placeholder consists of the `@` character followed by the
@@ -113,13 +86,10 @@ public interface StatementOrBuilder
      * 
* * .google.protobuf.Struct params = 2; - * * @return Whether the params field is set. */ boolean hasParams(); /** - * - * *
      * Parameter names and values that bind to placeholders in the DML string.
      * A parameter placeholder consists of the `@` character followed by the
@@ -132,13 +102,10 @@ public interface StatementOrBuilder
      * 
* * .google.protobuf.Struct params = 2; - * * @return The params. */ com.google.protobuf.Struct getParams(); /** - * - * *
      * Parameter names and values that bind to placeholders in the DML string.
      * A parameter placeholder consists of the `@` character followed by the
@@ -155,8 +122,6 @@ public interface StatementOrBuilder
     com.google.protobuf.StructOrBuilder getParamsOrBuilder();
 
     /**
-     *
-     *
      * 
      * It is not always possible for Cloud Spanner to infer the right SQL type
      * from a JSON value.  For example, values of type `BYTES` and values
@@ -171,8 +136,6 @@ public interface StatementOrBuilder
      */
     int getParamTypesCount();
     /**
-     *
-     *
      * 
      * It is not always possible for Cloud Spanner to infer the right SQL type
      * from a JSON value.  For example, values of type `BYTES` and values
@@ -185,13 +148,15 @@ public interface StatementOrBuilder
      *
      * map<string, .google.spanner.v1.Type> param_types = 3;
      */
-    boolean containsParamTypes(java.lang.String key);
-    /** Use {@link #getParamTypesMap()} instead. */
+    boolean containsParamTypes(
+        java.lang.String key);
+    /**
+     * Use {@link #getParamTypesMap()} instead.
+     */
     @java.lang.Deprecated
-    java.util.Map getParamTypes();
+    java.util.Map
+    getParamTypes();
     /**
-     *
-     *
      * 
      * It is not always possible for Cloud Spanner to infer the right SQL type
      * from a JSON value.  For example, values of type `BYTES` and values
@@ -204,10 +169,9 @@ public interface StatementOrBuilder
      *
      * map<string, .google.spanner.v1.Type> param_types = 3;
      */
-    java.util.Map getParamTypesMap();
+    java.util.Map
+    getParamTypesMap();
     /**
-     *
-     *
      * 
      * It is not always possible for Cloud Spanner to infer the right SQL type
      * from a JSON value.  For example, values of type `BYTES` and values
@@ -221,13 +185,11 @@ public interface StatementOrBuilder
      * map<string, .google.spanner.v1.Type> param_types = 3;
      */
     /* nullable */
-    com.google.spanner.v1.Type getParamTypesOrDefault(
+com.google.spanner.v1.Type getParamTypesOrDefault(
         java.lang.String key,
         /* nullable */
-        com.google.spanner.v1.Type defaultValue);
+com.google.spanner.v1.Type defaultValue);
     /**
-     *
-     *
      * 
      * It is not always possible for Cloud Spanner to infer the right SQL type
      * from a JSON value.  For example, values of type `BYTES` and values
@@ -240,81 +202,75 @@ com.google.spanner.v1.Type getParamTypesOrDefault(
      *
      * map<string, .google.spanner.v1.Type> param_types = 3;
      */
-    com.google.spanner.v1.Type getParamTypesOrThrow(java.lang.String key);
+    com.google.spanner.v1.Type getParamTypesOrThrow(
+        java.lang.String key);
   }
   /**
-   *
-   *
    * 
    * A single DML statement.
    * 
* * Protobuf type {@code google.spanner.v1.ExecuteBatchDmlRequest.Statement} */ - public static final class Statement extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Statement extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.v1.ExecuteBatchDmlRequest.Statement) StatementOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Statement.newBuilder() to construct. private Statement(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Statement() { sql_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Statement(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_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 3: return internalGetParamTypes(); 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.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_fieldAccessorTable + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.class, - com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.Builder.class); + com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.class, com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.Builder.class); } public static final int SQL_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object sql_ = ""; /** - * - * *
      * Required. The DML string.
      * 
* * string sql = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The sql. */ @java.lang.Override @@ -323,29 +279,29 @@ public java.lang.String getSql() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sql_ = s; return s; } } /** - * - * *
      * Required. The DML string.
      * 
* * string sql = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for sql. */ @java.lang.Override - public com.google.protobuf.ByteString getSqlBytes() { + public com.google.protobuf.ByteString + getSqlBytes() { java.lang.Object ref = sql_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sql_ = b; return b; } else { @@ -356,8 +312,6 @@ public com.google.protobuf.ByteString getSqlBytes() { public static final int PARAMS_FIELD_NUMBER = 2; private com.google.protobuf.Struct params_; /** - * - * *
      * Parameter names and values that bind to placeholders in the DML string.
      * A parameter placeholder consists of the `@` character followed by the
@@ -370,7 +324,6 @@ public com.google.protobuf.ByteString getSqlBytes() {
      * 
* * .google.protobuf.Struct params = 2; - * * @return Whether the params field is set. */ @java.lang.Override @@ -378,8 +331,6 @@ public boolean hasParams() { return params_ != null; } /** - * - * *
      * Parameter names and values that bind to placeholders in the DML string.
      * A parameter placeholder consists of the `@` character followed by the
@@ -392,7 +343,6 @@ public boolean hasParams() {
      * 
* * .google.protobuf.Struct params = 2; - * * @return The params. */ @java.lang.Override @@ -400,8 +350,6 @@ public com.google.protobuf.Struct getParams() { return params_ == null ? com.google.protobuf.Struct.getDefaultInstance() : params_; } /** - * - * *
      * Parameter names and values that bind to placeholders in the DML string.
      * A parameter placeholder consists of the `@` character followed by the
@@ -421,38 +369,32 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
     }
 
     public static final int PARAM_TYPES_FIELD_NUMBER = 3;
-
     private static final class ParamTypesDefaultEntryHolder {
-      static final com.google.protobuf.MapEntry
-          defaultEntry =
+      static final com.google.protobuf.MapEntry<
+          java.lang.String, com.google.spanner.v1.Type> defaultEntry =
               com.google.protobuf.MapEntry
-                  .newDefaultInstance(
-                      com.google.spanner.v1.SpannerProto
-                          .internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_ParamTypesEntry_descriptor,
-                      com.google.protobuf.WireFormat.FieldType.STRING,
-                      "",
-                      com.google.protobuf.WireFormat.FieldType.MESSAGE,
-                      com.google.spanner.v1.Type.getDefaultInstance());
+              .newDefaultInstance(
+                  com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_ParamTypesEntry_descriptor, 
+                  com.google.protobuf.WireFormat.FieldType.STRING,
+                  "",
+                  com.google.protobuf.WireFormat.FieldType.MESSAGE,
+                  com.google.spanner.v1.Type.getDefaultInstance());
     }
-
     @SuppressWarnings("serial")
-    private com.google.protobuf.MapField paramTypes_;
-
+    private com.google.protobuf.MapField<
+        java.lang.String, com.google.spanner.v1.Type> paramTypes_;
     private com.google.protobuf.MapField
-        internalGetParamTypes() {
+    internalGetParamTypes() {
       if (paramTypes_ == null) {
         return com.google.protobuf.MapField.emptyMapField(
             ParamTypesDefaultEntryHolder.defaultEntry);
       }
       return paramTypes_;
     }
-
     public int getParamTypesCount() {
       return internalGetParamTypes().getMap().size();
     }
     /**
-     *
-     *
      * 
      * It is not always possible for Cloud Spanner to infer the right SQL type
      * from a JSON value.  For example, values of type `BYTES` and values
@@ -466,21 +408,20 @@ public int getParamTypesCount() {
      * map<string, .google.spanner.v1.Type> param_types = 3;
      */
     @java.lang.Override
-    public boolean containsParamTypes(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsParamTypes(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetParamTypes().getMap().containsKey(key);
     }
-    /** Use {@link #getParamTypesMap()} instead. */
+    /**
+     * Use {@link #getParamTypesMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getParamTypes() {
       return getParamTypesMap();
     }
     /**
-     *
-     *
      * 
      * It is not always possible for Cloud Spanner to infer the right SQL type
      * from a JSON value.  For example, values of type `BYTES` and values
@@ -498,8 +439,6 @@ public java.util.Map getParamTypes
       return internalGetParamTypes().getMap();
     }
     /**
-     *
-     *
      * 
      * It is not always possible for Cloud Spanner to infer the right SQL type
      * from a JSON value.  For example, values of type `BYTES` and values
@@ -513,20 +452,17 @@ public java.util.Map getParamTypes
      * map<string, .google.spanner.v1.Type> param_types = 3;
      */
     @java.lang.Override
-    public /* nullable */ com.google.spanner.v1.Type getParamTypesOrDefault(
+    public /* nullable */
+com.google.spanner.v1.Type getParamTypesOrDefault(
         java.lang.String key,
         /* nullable */
-        com.google.spanner.v1.Type defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+com.google.spanner.v1.Type defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
       java.util.Map map =
           internalGetParamTypes().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * It is not always possible for Cloud Spanner to infer the right SQL type
      * from a JSON value.  For example, values of type `BYTES` and values
@@ -540,10 +476,9 @@ public java.util.Map getParamTypes
      * map<string, .google.spanner.v1.Type> param_types = 3;
      */
     @java.lang.Override
-    public com.google.spanner.v1.Type getParamTypesOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public com.google.spanner.v1.Type getParamTypesOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       java.util.Map map =
           internalGetParamTypes().getMap();
       if (!map.containsKey(key)) {
@@ -553,7 +488,6 @@ public com.google.spanner.v1.Type getParamTypesOrThrow(java.lang.String key) {
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -565,15 +499,20 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sql_)) {
         com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sql_);
       }
       if (params_ != null) {
         output.writeMessage(2, getParams());
       }
-      com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
-          output, internalGetParamTypes(), ParamTypesDefaultEntryHolder.defaultEntry, 3);
+      com.google.protobuf.GeneratedMessageV3
+        .serializeStringMapTo(
+          output,
+          internalGetParamTypes(),
+          ParamTypesDefaultEntryHolder.defaultEntry,
+          3);
       getUnknownFields().writeTo(output);
     }
 
@@ -587,17 +526,18 @@ public int getSerializedSize() {
         size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, sql_);
       }
       if (params_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getParams());
-      }
-      for (java.util.Map.Entry entry :
-          internalGetParamTypes().getMap().entrySet()) {
-        com.google.protobuf.MapEntry paramTypes__ =
-            ParamTypesDefaultEntryHolder.defaultEntry
-                .newBuilderForType()
-                .setKey(entry.getKey())
-                .setValue(entry.getValue())
-                .build();
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, paramTypes__);
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(2, getParams());
+      }
+      for (java.util.Map.Entry entry
+           : internalGetParamTypes().getMap().entrySet()) {
+        com.google.protobuf.MapEntry
+        paramTypes__ = ParamTypesDefaultEntryHolder.defaultEntry.newBuilderForType()
+            .setKey(entry.getKey())
+            .setValue(entry.getValue())
+            .build();
+        size += com.google.protobuf.CodedOutputStream
+            .computeMessageSize(3, paramTypes__);
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -607,20 +547,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.spanner.v1.ExecuteBatchDmlRequest.Statement)) {
         return super.equals(obj);
       }
-      com.google.spanner.v1.ExecuteBatchDmlRequest.Statement other =
-          (com.google.spanner.v1.ExecuteBatchDmlRequest.Statement) obj;
+      com.google.spanner.v1.ExecuteBatchDmlRequest.Statement other = (com.google.spanner.v1.ExecuteBatchDmlRequest.Statement) obj;
 
-      if (!getSql().equals(other.getSql())) return false;
+      if (!getSql()
+          .equals(other.getSql())) return false;
       if (hasParams() != other.hasParams()) return false;
       if (hasParams()) {
-        if (!getParams().equals(other.getParams())) return false;
+        if (!getParams()
+            .equals(other.getParams())) return false;
       }
-      if (!internalGetParamTypes().equals(other.internalGetParamTypes())) return false;
+      if (!internalGetParamTypes().equals(
+          other.internalGetParamTypes())) return false;
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
     }
@@ -648,94 +590,87 @@ public int hashCode() {
     }
 
     public static com.google.spanner.v1.ExecuteBatchDmlRequest.Statement parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.spanner.v1.ExecuteBatchDmlRequest.Statement parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.spanner.v1.ExecuteBatchDmlRequest.Statement parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.spanner.v1.ExecuteBatchDmlRequest.Statement parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.spanner.v1.ExecuteBatchDmlRequest.Statement parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.spanner.v1.ExecuteBatchDmlRequest.Statement parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.spanner.v1.ExecuteBatchDmlRequest.Statement parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.spanner.v1.ExecuteBatchDmlRequest.Statement parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.spanner.v1.ExecuteBatchDmlRequest.Statement parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
-
-    public static com.google.spanner.v1.ExecuteBatchDmlRequest.Statement parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.spanner.v1.ExecuteBatchDmlRequest.Statement parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
     public static com.google.spanner.v1.ExecuteBatchDmlRequest.Statement parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.spanner.v1.ExecuteBatchDmlRequest.Statement parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.spanner.v1.ExecuteBatchDmlRequest.Statement parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.spanner.v1.ExecuteBatchDmlRequest.Statement prototype) {
+    public static Builder newBuilder(com.google.spanner.v1.ExecuteBatchDmlRequest.Statement prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -745,61 +680,61 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * A single DML statement.
      * 
* * Protobuf type {@code google.spanner.v1.ExecuteBatchDmlRequest.Statement} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.ExecuteBatchDmlRequest.Statement) com.google.spanner.v1.ExecuteBatchDmlRequest.StatementOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 3: return internalGetParamTypes(); 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 3: return internalGetMutableParamTypes(); 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.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_fieldAccessorTable + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.class, - com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.Builder.class); + com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.class, com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.Builder.class); } // Construct using com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -815,9 +750,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_descriptor; } @java.lang.Override @@ -836,11 +771,8 @@ public com.google.spanner.v1.ExecuteBatchDmlRequest.Statement build() { @java.lang.Override public com.google.spanner.v1.ExecuteBatchDmlRequest.Statement buildPartial() { - com.google.spanner.v1.ExecuteBatchDmlRequest.Statement result = - new com.google.spanner.v1.ExecuteBatchDmlRequest.Statement(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.v1.ExecuteBatchDmlRequest.Statement result = new com.google.spanner.v1.ExecuteBatchDmlRequest.Statement(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -851,7 +783,9 @@ private void buildPartial0(com.google.spanner.v1.ExecuteBatchDmlRequest.Statemen result.sql_ = sql_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.params_ = paramsBuilder_ == null ? params_ : paramsBuilder_.build(); + result.params_ = paramsBuilder_ == null + ? params_ + : paramsBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.paramTypes_ = internalGetParamTypes(); @@ -863,41 +797,38 @@ private void buildPartial0(com.google.spanner.v1.ExecuteBatchDmlRequest.Statemen public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.spanner.v1.ExecuteBatchDmlRequest.Statement) { - return mergeFrom((com.google.spanner.v1.ExecuteBatchDmlRequest.Statement) other); + return mergeFrom((com.google.spanner.v1.ExecuteBatchDmlRequest.Statement)other); } else { super.mergeFrom(other); return this; @@ -905,8 +836,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.v1.ExecuteBatchDmlRequest.Statement other) { - if (other == com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.getDefaultInstance()) - return this; + if (other == com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.getDefaultInstance()) return this; if (!other.getSql().isEmpty()) { sql_ = other.sql_; bitField0_ |= 0x00000001; @@ -915,7 +845,8 @@ public Builder mergeFrom(com.google.spanner.v1.ExecuteBatchDmlRequest.Statement if (other.hasParams()) { mergeParams(other.getParams()); } - internalGetMutableParamTypes().mergeFrom(other.internalGetParamTypes()); + internalGetMutableParamTypes().mergeFrom( + other.internalGetParamTypes()); bitField0_ |= 0x00000004; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -943,38 +874,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - sql_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getParamsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - com.google.protobuf.MapEntry - paramTypes__ = - input.readMessage( - ParamTypesDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableParamTypes() - .getMutableMap() - .put(paramTypes__.getKey(), paramTypes__.getValue()); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + sql_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getParamsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + com.google.protobuf.MapEntry + paramTypes__ = input.readMessage( + ParamTypesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableParamTypes().getMutableMap().put( + paramTypes__.getKey(), paramTypes__.getValue()); + 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) { @@ -984,25 +910,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object sql_ = ""; /** - * - * *
        * Required. The DML string.
        * 
* * string sql = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The sql. */ public java.lang.String getSql() { java.lang.Object ref = sql_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sql_ = s; return s; @@ -1011,21 +934,20 @@ public java.lang.String getSql() { } } /** - * - * *
        * Required. The DML string.
        * 
* * string sql = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for sql. */ - public com.google.protobuf.ByteString getSqlBytes() { + public com.google.protobuf.ByteString + getSqlBytes() { java.lang.Object ref = sql_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sql_ = b; return b; } else { @@ -1033,35 +955,28 @@ public com.google.protobuf.ByteString getSqlBytes() { } } /** - * - * *
        * Required. The DML string.
        * 
* * string sql = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The sql to set. * @return This builder for chaining. */ - public Builder setSql(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSql( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } sql_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Required. The DML string.
        * 
* * string sql = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearSql() { @@ -1071,21 +986,17 @@ public Builder clearSql() { return this; } /** - * - * *
        * Required. The DML string.
        * 
* * string sql = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for sql to set. * @return This builder for chaining. */ - public Builder setSqlBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSqlBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sql_ = value; bitField0_ |= 0x00000001; @@ -1095,13 +1006,8 @@ public Builder setSqlBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Struct params_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, - com.google.protobuf.Struct.Builder, - com.google.protobuf.StructOrBuilder> - paramsBuilder_; + com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> paramsBuilder_; /** - * - * *
        * Parameter names and values that bind to placeholders in the DML string.
        * A parameter placeholder consists of the `@` character followed by the
@@ -1114,15 +1020,12 @@ public Builder setSqlBytes(com.google.protobuf.ByteString value) {
        * 
* * .google.protobuf.Struct params = 2; - * * @return Whether the params field is set. */ public boolean hasParams() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
        * Parameter names and values that bind to placeholders in the DML string.
        * A parameter placeholder consists of the `@` character followed by the
@@ -1135,7 +1038,6 @@ public boolean hasParams() {
        * 
* * .google.protobuf.Struct params = 2; - * * @return The params. */ public com.google.protobuf.Struct getParams() { @@ -1146,8 +1048,6 @@ public com.google.protobuf.Struct getParams() { } } /** - * - * *
        * Parameter names and values that bind to placeholders in the DML string.
        * A parameter placeholder consists of the `@` character followed by the
@@ -1175,8 +1075,6 @@ public Builder setParams(com.google.protobuf.Struct value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Parameter names and values that bind to placeholders in the DML string.
        * A parameter placeholder consists of the `@` character followed by the
@@ -1190,7 +1088,8 @@ public Builder setParams(com.google.protobuf.Struct value) {
        *
        * .google.protobuf.Struct params = 2;
        */
-      public Builder setParams(com.google.protobuf.Struct.Builder builderForValue) {
+      public Builder setParams(
+          com.google.protobuf.Struct.Builder builderForValue) {
         if (paramsBuilder_ == null) {
           params_ = builderForValue.build();
         } else {
@@ -1201,8 +1100,6 @@ public Builder setParams(com.google.protobuf.Struct.Builder builderForValue) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Parameter names and values that bind to placeholders in the DML string.
        * A parameter placeholder consists of the `@` character followed by the
@@ -1218,9 +1115,9 @@ public Builder setParams(com.google.protobuf.Struct.Builder builderForValue) {
        */
       public Builder mergeParams(com.google.protobuf.Struct value) {
         if (paramsBuilder_ == null) {
-          if (((bitField0_ & 0x00000002) != 0)
-              && params_ != null
-              && params_ != com.google.protobuf.Struct.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000002) != 0) &&
+            params_ != null &&
+            params_ != com.google.protobuf.Struct.getDefaultInstance()) {
             getParamsBuilder().mergeFrom(value);
           } else {
             params_ = value;
@@ -1233,8 +1130,6 @@ public Builder mergeParams(com.google.protobuf.Struct value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Parameter names and values that bind to placeholders in the DML string.
        * A parameter placeholder consists of the `@` character followed by the
@@ -1259,8 +1154,6 @@ public Builder clearParams() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Parameter names and values that bind to placeholders in the DML string.
        * A parameter placeholder consists of the `@` character followed by the
@@ -1280,8 +1173,6 @@ public com.google.protobuf.Struct.Builder getParamsBuilder() {
         return getParamsFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Parameter names and values that bind to placeholders in the DML string.
        * A parameter placeholder consists of the `@` character followed by the
@@ -1299,12 +1190,11 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
         if (paramsBuilder_ != null) {
           return paramsBuilder_.getMessageOrBuilder();
         } else {
-          return params_ == null ? com.google.protobuf.Struct.getDefaultInstance() : params_;
+          return params_ == null ?
+              com.google.protobuf.Struct.getDefaultInstance() : params_;
         }
       }
       /**
-       *
-       *
        * 
        * Parameter names and values that bind to placeholders in the DML string.
        * A parameter placeholder consists of the `@` character followed by the
@@ -1319,25 +1209,21 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
        * .google.protobuf.Struct params = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Struct,
-              com.google.protobuf.Struct.Builder,
-              com.google.protobuf.StructOrBuilder>
+          com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> 
           getParamsFieldBuilder() {
         if (paramsBuilder_ == null) {
-          paramsBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.protobuf.Struct,
-                  com.google.protobuf.Struct.Builder,
-                  com.google.protobuf.StructOrBuilder>(
-                  getParams(), getParentForChildren(), isClean());
+          paramsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>(
+                  getParams(),
+                  getParentForChildren(),
+                  isClean());
           params_ = null;
         }
         return paramsBuilder_;
       }
 
-      private com.google.protobuf.MapField
-          paramTypes_;
-
+      private com.google.protobuf.MapField<
+          java.lang.String, com.google.spanner.v1.Type> paramTypes_;
       private com.google.protobuf.MapField
           internalGetParamTypes() {
         if (paramTypes_ == null) {
@@ -1346,12 +1232,11 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
         }
         return paramTypes_;
       }
-
       private com.google.protobuf.MapField
           internalGetMutableParamTypes() {
         if (paramTypes_ == null) {
-          paramTypes_ =
-              com.google.protobuf.MapField.newMapField(ParamTypesDefaultEntryHolder.defaultEntry);
+          paramTypes_ = com.google.protobuf.MapField.newMapField(
+              ParamTypesDefaultEntryHolder.defaultEntry);
         }
         if (!paramTypes_.isMutable()) {
           paramTypes_ = paramTypes_.copy();
@@ -1360,13 +1245,10 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
         onChanged();
         return paramTypes_;
       }
-
       public int getParamTypesCount() {
         return internalGetParamTypes().getMap().size();
       }
       /**
-       *
-       *
        * 
        * It is not always possible for Cloud Spanner to infer the right SQL type
        * from a JSON value.  For example, values of type `BYTES` and values
@@ -1380,21 +1262,20 @@ public int getParamTypesCount() {
        * map<string, .google.spanner.v1.Type> param_types = 3;
        */
       @java.lang.Override
-      public boolean containsParamTypes(java.lang.String key) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
+      public boolean containsParamTypes(
+          java.lang.String key) {
+        if (key == null) { throw new NullPointerException("map key"); }
         return internalGetParamTypes().getMap().containsKey(key);
       }
-      /** Use {@link #getParamTypesMap()} instead. */
+      /**
+       * Use {@link #getParamTypesMap()} instead.
+       */
       @java.lang.Override
       @java.lang.Deprecated
       public java.util.Map getParamTypes() {
         return getParamTypesMap();
       }
       /**
-       *
-       *
        * 
        * It is not always possible for Cloud Spanner to infer the right SQL type
        * from a JSON value.  For example, values of type `BYTES` and values
@@ -1412,8 +1293,6 @@ public java.util.Map getParamTypes
         return internalGetParamTypes().getMap();
       }
       /**
-       *
-       *
        * 
        * It is not always possible for Cloud Spanner to infer the right SQL type
        * from a JSON value.  For example, values of type `BYTES` and values
@@ -1427,20 +1306,17 @@ public java.util.Map getParamTypes
        * map<string, .google.spanner.v1.Type> param_types = 3;
        */
       @java.lang.Override
-      public /* nullable */ com.google.spanner.v1.Type getParamTypesOrDefault(
+      public /* nullable */
+com.google.spanner.v1.Type getParamTypesOrDefault(
           java.lang.String key,
           /* nullable */
-          com.google.spanner.v1.Type defaultValue) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
+com.google.spanner.v1.Type defaultValue) {
+        if (key == null) { throw new NullPointerException("map key"); }
         java.util.Map map =
             internalGetParamTypes().getMap();
         return map.containsKey(key) ? map.get(key) : defaultValue;
       }
       /**
-       *
-       *
        * 
        * It is not always possible for Cloud Spanner to infer the right SQL type
        * from a JSON value.  For example, values of type `BYTES` and values
@@ -1454,10 +1330,9 @@ public java.util.Map getParamTypes
        * map<string, .google.spanner.v1.Type> param_types = 3;
        */
       @java.lang.Override
-      public com.google.spanner.v1.Type getParamTypesOrThrow(java.lang.String key) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
+      public com.google.spanner.v1.Type getParamTypesOrThrow(
+          java.lang.String key) {
+        if (key == null) { throw new NullPointerException("map key"); }
         java.util.Map map =
             internalGetParamTypes().getMap();
         if (!map.containsKey(key)) {
@@ -1465,15 +1340,13 @@ public com.google.spanner.v1.Type getParamTypesOrThrow(java.lang.String key) {
         }
         return map.get(key);
       }
-
       public Builder clearParamTypes() {
         bitField0_ = (bitField0_ & ~0x00000004);
-        internalGetMutableParamTypes().getMutableMap().clear();
+        internalGetMutableParamTypes().getMutableMap()
+            .clear();
         return this;
       }
       /**
-       *
-       *
        * 
        * It is not always possible for Cloud Spanner to infer the right SQL type
        * from a JSON value.  For example, values of type `BYTES` and values
@@ -1486,22 +1359,23 @@ public Builder clearParamTypes() {
        *
        * map<string, .google.spanner.v1.Type> param_types = 3;
        */
-      public Builder removeParamTypes(java.lang.String key) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
-        internalGetMutableParamTypes().getMutableMap().remove(key);
+      public Builder removeParamTypes(
+          java.lang.String key) {
+        if (key == null) { throw new NullPointerException("map key"); }
+        internalGetMutableParamTypes().getMutableMap()
+            .remove(key);
         return this;
       }
-      /** Use alternate mutation accessors instead. */
+      /**
+       * Use alternate mutation accessors instead.
+       */
       @java.lang.Deprecated
-      public java.util.Map getMutableParamTypes() {
+      public java.util.Map
+          getMutableParamTypes() {
         bitField0_ |= 0x00000004;
         return internalGetMutableParamTypes().getMutableMap();
       }
       /**
-       *
-       *
        * 
        * It is not always possible for Cloud Spanner to infer the right SQL type
        * from a JSON value.  For example, values of type `BYTES` and values
@@ -1514,20 +1388,17 @@ public java.util.Map getMutablePar
        *
        * map<string, .google.spanner.v1.Type> param_types = 3;
        */
-      public Builder putParamTypes(java.lang.String key, com.google.spanner.v1.Type value) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
-        if (value == null) {
-          throw new NullPointerException("map value");
-        }
-        internalGetMutableParamTypes().getMutableMap().put(key, value);
+      public Builder putParamTypes(
+          java.lang.String key,
+          com.google.spanner.v1.Type value) {
+        if (key == null) { throw new NullPointerException("map key"); }
+        if (value == null) { throw new NullPointerException("map value"); }
+        internalGetMutableParamTypes().getMutableMap()
+            .put(key, value);
         bitField0_ |= 0x00000004;
         return this;
       }
       /**
-       *
-       *
        * 
        * It is not always possible for Cloud Spanner to infer the right SQL type
        * from a JSON value.  For example, values of type `BYTES` and values
@@ -1542,11 +1413,11 @@ public Builder putParamTypes(java.lang.String key, com.google.spanner.v1.Type va
        */
       public Builder putAllParamTypes(
           java.util.Map values) {
-        internalGetMutableParamTypes().getMutableMap().putAll(values);
+        internalGetMutableParamTypes().getMutableMap()
+            .putAll(values);
         bitField0_ |= 0x00000004;
         return this;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1559,12 +1430,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.spanner.v1.ExecuteBatchDmlRequest.Statement)
     }
 
     // @@protoc_insertion_point(class_scope:google.spanner.v1.ExecuteBatchDmlRequest.Statement)
     private static final com.google.spanner.v1.ExecuteBatchDmlRequest.Statement DEFAULT_INSTANCE;
-
     static {
       DEFAULT_INSTANCE = new com.google.spanner.v1.ExecuteBatchDmlRequest.Statement();
     }
@@ -1573,28 +1444,27 @@ public static com.google.spanner.v1.ExecuteBatchDmlRequest.Statement getDefaultI
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public Statement parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            Builder builder = newBuilder();
-            try {
-              builder.mergeFrom(input, extensionRegistry);
-            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              throw e.setUnfinishedMessage(builder.buildPartial());
-            } catch (com.google.protobuf.UninitializedMessageException e) {
-              throw e.asInvalidProtocolBufferException()
-                  .setUnfinishedMessage(builder.buildPartial());
-            } catch (java.io.IOException e) {
-              throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                  .setUnfinishedMessage(builder.buildPartial());
-            }
-            return builder.buildPartial();
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public Statement parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+        } catch (java.io.IOException e) {
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(builder.buildPartial());
+        }
+        return builder.buildPartial();
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -1609,23 +1479,18 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.spanner.v1.ExecuteBatchDmlRequest.Statement getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
   public static final int SESSION_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object session_ = "";
   /**
-   *
-   *
    * 
    * Required. The session in which the DML statements should be performed.
    * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The session. */ @java.lang.Override @@ -1634,31 +1499,29 @@ public java.lang.String getSession() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); session_ = s; return s; } } /** - * - * *
    * Required. The session in which the DML statements should be performed.
    * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for session. */ @java.lang.Override - public com.google.protobuf.ByteString getSessionBytes() { + public com.google.protobuf.ByteString + getSessionBytes() { java.lang.Object ref = session_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); session_ = b; return b; } else { @@ -1669,8 +1532,6 @@ public com.google.protobuf.ByteString getSessionBytes() { public static final int TRANSACTION_FIELD_NUMBER = 2; private com.google.spanner.v1.TransactionSelector transaction_; /** - * - * *
    * Required. The transaction to use. Must be a read-write transaction.
    * To protect against replays, single-use transactions are not supported. The
@@ -1678,10 +1539,7 @@ public com.google.protobuf.ByteString getSessionBytes() {
    * transaction.
    * 
* - * - * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the transaction field is set. */ @java.lang.Override @@ -1689,8 +1547,6 @@ public boolean hasTransaction() { return transaction_ != null; } /** - * - * *
    * Required. The transaction to use. Must be a read-write transaction.
    * To protect against replays, single-use transactions are not supported. The
@@ -1698,21 +1554,14 @@ public boolean hasTransaction() {
    * transaction.
    * 
* - * - * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The transaction. */ @java.lang.Override public com.google.spanner.v1.TransactionSelector getTransaction() { - return transaction_ == null - ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() - : transaction_; + return transaction_ == null ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() : transaction_; } /** - * - * *
    * Required. The transaction to use. Must be a read-write transaction.
    * To protect against replays, single-use transactions are not supported. The
@@ -1720,24 +1569,17 @@ public com.google.spanner.v1.TransactionSelector getTransaction() {
    * transaction.
    * 
* - * - * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilder() { - return transaction_ == null - ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() - : transaction_; + return transaction_ == null ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() : transaction_; } public static final int STATEMENTS_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private java.util.List statements_; /** - * - * *
    * Required. The list of statements to execute in this batch. Statements are executed
    * serially, such that the effects of statement `i` are visible to statement
@@ -1746,18 +1588,13 @@ public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilde
    * Callers must provide at least one statement.
    * 
* - * - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List - getStatementsList() { + public java.util.List getStatementsList() { return statements_; } /** - * - * *
    * Required. The list of statements to execute in this batch. Statements are executed
    * serially, such that the effects of statement `i` are visible to statement
@@ -1766,18 +1603,14 @@ public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilde
    * Callers must provide at least one statement.
    * 
* - * - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List + public java.util.List getStatementsOrBuilderList() { return statements_; } /** - * - * *
    * Required. The list of statements to execute in this batch. Statements are executed
    * serially, such that the effects of statement `i` are visible to statement
@@ -1786,17 +1619,13 @@ public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilde
    * Callers must provide at least one statement.
    * 
* - * - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public int getStatementsCount() { return statements_.size(); } /** - * - * *
    * Required. The list of statements to execute in this batch. Statements are executed
    * serially, such that the effects of statement `i` are visible to statement
@@ -1805,17 +1634,13 @@ public int getStatementsCount() {
    * Callers must provide at least one statement.
    * 
* - * - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.spanner.v1.ExecuteBatchDmlRequest.Statement getStatements(int index) { return statements_.get(index); } /** - * - * *
    * Required. The list of statements to execute in this batch. Statements are executed
    * serially, such that the effects of statement `i` are visible to statement
@@ -1824,9 +1649,7 @@ public com.google.spanner.v1.ExecuteBatchDmlRequest.Statement getStatements(int
    * Callers must provide at least one statement.
    * 
* - * - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.spanner.v1.ExecuteBatchDmlRequest.StatementOrBuilder getStatementsOrBuilder( @@ -1837,8 +1660,6 @@ public com.google.spanner.v1.ExecuteBatchDmlRequest.StatementOrBuilder getStatem public static final int SEQNO_FIELD_NUMBER = 4; private long seqno_ = 0L; /** - * - * *
    * Required. A per-transaction sequence number used to identify this request. This field
    * makes each request idempotent such that if the request is received multiple
@@ -1850,7 +1671,6 @@ public com.google.spanner.v1.ExecuteBatchDmlRequest.StatementOrBuilder getStatem
    * 
* * int64 seqno = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The seqno. */ @java.lang.Override @@ -1861,14 +1681,11 @@ public long getSeqno() { public static final int REQUEST_OPTIONS_FIELD_NUMBER = 5; private com.google.spanner.v1.RequestOptions requestOptions_; /** - * - * *
    * Common options for this request.
    * 
* * .google.spanner.v1.RequestOptions request_options = 5; - * * @return Whether the requestOptions field is set. */ @java.lang.Override @@ -1876,25 +1693,18 @@ public boolean hasRequestOptions() { return requestOptions_ != null; } /** - * - * *
    * Common options for this request.
    * 
* * .google.spanner.v1.RequestOptions request_options = 5; - * * @return The requestOptions. */ @java.lang.Override public com.google.spanner.v1.RequestOptions getRequestOptions() { - return requestOptions_ == null - ? com.google.spanner.v1.RequestOptions.getDefaultInstance() - : requestOptions_; + return requestOptions_ == null ? com.google.spanner.v1.RequestOptions.getDefaultInstance() : requestOptions_; } /** - * - * *
    * Common options for this request.
    * 
@@ -1903,13 +1713,10 @@ public com.google.spanner.v1.RequestOptions getRequestOptions() { */ @java.lang.Override public com.google.spanner.v1.RequestOptionsOrBuilder getRequestOptionsOrBuilder() { - return requestOptions_ == null - ? com.google.spanner.v1.RequestOptions.getDefaultInstance() - : requestOptions_; + return requestOptions_ == null ? com.google.spanner.v1.RequestOptions.getDefaultInstance() : requestOptions_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1921,7 +1728,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(session_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, session_); } @@ -1950,16 +1758,20 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, session_); } if (transaction_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTransaction()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTransaction()); } for (int i = 0; i < statements_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, statements_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, statements_.get(i)); } if (seqno_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, seqno_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(4, seqno_); } if (requestOptions_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getRequestOptions()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getRequestOptions()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1969,24 +1781,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.spanner.v1.ExecuteBatchDmlRequest)) { return super.equals(obj); } - com.google.spanner.v1.ExecuteBatchDmlRequest other = - (com.google.spanner.v1.ExecuteBatchDmlRequest) obj; + com.google.spanner.v1.ExecuteBatchDmlRequest other = (com.google.spanner.v1.ExecuteBatchDmlRequest) obj; - if (!getSession().equals(other.getSession())) return false; + if (!getSession() + .equals(other.getSession())) return false; if (hasTransaction() != other.hasTransaction()) return false; if (hasTransaction()) { - if (!getTransaction().equals(other.getTransaction())) return false; + if (!getTransaction() + .equals(other.getTransaction())) return false; } - if (!getStatementsList().equals(other.getStatementsList())) return false; - if (getSeqno() != other.getSeqno()) return false; + if (!getStatementsList() + .equals(other.getStatementsList())) return false; + if (getSeqno() + != other.getSeqno()) return false; if (hasRequestOptions() != other.hasRequestOptions()) return false; if (hasRequestOptions()) { - if (!getRequestOptions().equals(other.getRequestOptions())) return false; + if (!getRequestOptions() + .equals(other.getRequestOptions())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -2010,7 +1826,8 @@ public int hashCode() { hash = (53 * hash) + getStatementsList().hashCode(); } hash = (37 * hash) + SEQNO_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getSeqno()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getSeqno()); if (hasRequestOptions()) { hash = (37 * hash) + REQUEST_OPTIONS_FIELD_NUMBER; hash = (53 * hash) + getRequestOptions().hashCode(); @@ -2020,136 +1837,130 @@ public int hashCode() { return hash; } - public static com.google.spanner.v1.ExecuteBatchDmlRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.v1.ExecuteBatchDmlRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.ExecuteBatchDmlRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.ExecuteBatchDmlRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.ExecuteBatchDmlRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.ExecuteBatchDmlRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.ExecuteBatchDmlRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.ExecuteBatchDmlRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.ExecuteBatchDmlRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.spanner.v1.ExecuteBatchDmlRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.v1.ExecuteBatchDmlRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.v1.ExecuteBatchDmlRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.ExecuteBatchDmlRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.ExecuteBatchDmlRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.v1.ExecuteBatchDmlRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [ExecuteBatchDml][google.spanner.v1.Spanner.ExecuteBatchDml].
    * 
* * Protobuf type {@code google.spanner.v1.ExecuteBatchDmlRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.ExecuteBatchDmlRequest) com.google.spanner.v1.ExecuteBatchDmlRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_ExecuteBatchDmlRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteBatchDmlRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_ExecuteBatchDmlRequest_fieldAccessorTable + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteBatchDmlRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.ExecuteBatchDmlRequest.class, - com.google.spanner.v1.ExecuteBatchDmlRequest.Builder.class); + com.google.spanner.v1.ExecuteBatchDmlRequest.class, com.google.spanner.v1.ExecuteBatchDmlRequest.Builder.class); } // Construct using com.google.spanner.v1.ExecuteBatchDmlRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -2177,9 +1988,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_ExecuteBatchDmlRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteBatchDmlRequest_descriptor; } @java.lang.Override @@ -2198,12 +2009,9 @@ public com.google.spanner.v1.ExecuteBatchDmlRequest build() { @java.lang.Override public com.google.spanner.v1.ExecuteBatchDmlRequest buildPartial() { - com.google.spanner.v1.ExecuteBatchDmlRequest result = - new com.google.spanner.v1.ExecuteBatchDmlRequest(this); + com.google.spanner.v1.ExecuteBatchDmlRequest result = new com.google.spanner.v1.ExecuteBatchDmlRequest(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -2226,15 +2034,17 @@ private void buildPartial0(com.google.spanner.v1.ExecuteBatchDmlRequest result) result.session_ = session_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.transaction_ = - transactionBuilder_ == null ? transaction_ : transactionBuilder_.build(); + result.transaction_ = transactionBuilder_ == null + ? transaction_ + : transactionBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.seqno_ = seqno_; } if (((from_bitField0_ & 0x00000010) != 0)) { - result.requestOptions_ = - requestOptionsBuilder_ == null ? requestOptions_ : requestOptionsBuilder_.build(); + result.requestOptions_ = requestOptionsBuilder_ == null + ? requestOptions_ + : requestOptionsBuilder_.build(); } } @@ -2242,39 +2052,38 @@ private void buildPartial0(com.google.spanner.v1.ExecuteBatchDmlRequest 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.spanner.v1.ExecuteBatchDmlRequest) { - return mergeFrom((com.google.spanner.v1.ExecuteBatchDmlRequest) other); + return mergeFrom((com.google.spanner.v1.ExecuteBatchDmlRequest)other); } else { super.mergeFrom(other); return this; @@ -2309,10 +2118,9 @@ public Builder mergeFrom(com.google.spanner.v1.ExecuteBatchDmlRequest other) { statementsBuilder_ = null; statements_ = other.statements_; bitField0_ = (bitField0_ & ~0x00000004); - statementsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getStatementsFieldBuilder() - : null; + statementsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getStatementsFieldBuilder() : null; } else { statementsBuilder_.addAllMessages(other.statements_); } @@ -2350,51 +2158,49 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - session_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getTransactionFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - com.google.spanner.v1.ExecuteBatchDmlRequest.Statement m = - input.readMessage( - com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.parser(), - extensionRegistry); - if (statementsBuilder_ == null) { - ensureStatementsIsMutable(); - statements_.add(m); - } else { - statementsBuilder_.addMessage(m); - } - break; - } // case 26 - case 32: - { - seqno_ = input.readInt64(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 42: - { - input.readMessage(getRequestOptionsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + session_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getTransactionFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + com.google.spanner.v1.ExecuteBatchDmlRequest.Statement m = + input.readMessage( + com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.parser(), + extensionRegistry); + if (statementsBuilder_ == null) { + ensureStatementsIsMutable(); + statements_.add(m); + } else { + statementsBuilder_.addMessage(m); + } + break; + } // case 26 + case 32: { + seqno_ = input.readInt64(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 42: { + input.readMessage( + getRequestOptionsFieldBuilder().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) { @@ -2404,27 +2210,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object session_ = ""; /** - * - * *
      * Required. The session in which the DML statements should be performed.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The session. */ public java.lang.String getSession() { java.lang.Object ref = session_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); session_ = s; return s; @@ -2433,23 +2234,20 @@ public java.lang.String getSession() { } } /** - * - * *
      * Required. The session in which the DML statements should be performed.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for session. */ - public com.google.protobuf.ByteString getSessionBytes() { + public com.google.protobuf.ByteString + getSessionBytes() { java.lang.Object ref = session_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); session_ = b; return b; } else { @@ -2457,39 +2255,28 @@ public com.google.protobuf.ByteString getSessionBytes() { } } /** - * - * *
      * Required. The session in which the DML statements should be performed.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The session to set. * @return This builder for chaining. */ - public Builder setSession(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSession( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } session_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The session in which the DML statements should be performed.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearSession() { @@ -2499,23 +2286,17 @@ public Builder clearSession() { return this; } /** - * - * *
      * Required. The session in which the DML statements should be performed.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for session to set. * @return This builder for chaining. */ - public Builder setSessionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSessionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); session_ = value; bitField0_ |= 0x00000001; @@ -2525,13 +2306,8 @@ public Builder setSessionBytes(com.google.protobuf.ByteString value) { private com.google.spanner.v1.TransactionSelector transaction_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.TransactionSelector, - com.google.spanner.v1.TransactionSelector.Builder, - com.google.spanner.v1.TransactionSelectorOrBuilder> - transactionBuilder_; + com.google.spanner.v1.TransactionSelector, com.google.spanner.v1.TransactionSelector.Builder, com.google.spanner.v1.TransactionSelectorOrBuilder> transactionBuilder_; /** - * - * *
      * Required. The transaction to use. Must be a read-write transaction.
      * To protect against replays, single-use transactions are not supported. The
@@ -2539,18 +2315,13 @@ public Builder setSessionBytes(com.google.protobuf.ByteString value) {
      * transaction.
      * 
* - * - * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the transaction field is set. */ public boolean hasTransaction() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. The transaction to use. Must be a read-write transaction.
      * To protect against replays, single-use transactions are not supported. The
@@ -2558,24 +2329,17 @@ public boolean hasTransaction() {
      * transaction.
      * 
* - * - * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The transaction. */ public com.google.spanner.v1.TransactionSelector getTransaction() { if (transactionBuilder_ == null) { - return transaction_ == null - ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() - : transaction_; + return transaction_ == null ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() : transaction_; } else { return transactionBuilder_.getMessage(); } } /** - * - * *
      * Required. The transaction to use. Must be a read-write transaction.
      * To protect against replays, single-use transactions are not supported. The
@@ -2583,9 +2347,7 @@ public com.google.spanner.v1.TransactionSelector getTransaction() {
      * transaction.
      * 
* - * - * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTransaction(com.google.spanner.v1.TransactionSelector value) { if (transactionBuilder_ == null) { @@ -2601,8 +2363,6 @@ public Builder setTransaction(com.google.spanner.v1.TransactionSelector value) { return this; } /** - * - * *
      * Required. The transaction to use. Must be a read-write transaction.
      * To protect against replays, single-use transactions are not supported. The
@@ -2610,9 +2370,7 @@ public Builder setTransaction(com.google.spanner.v1.TransactionSelector value) {
      * transaction.
      * 
* - * - * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTransaction( com.google.spanner.v1.TransactionSelector.Builder builderForValue) { @@ -2626,8 +2384,6 @@ public Builder setTransaction( return this; } /** - * - * *
      * Required. The transaction to use. Must be a read-write transaction.
      * To protect against replays, single-use transactions are not supported. The
@@ -2635,15 +2391,13 @@ public Builder setTransaction(
      * transaction.
      * 
* - * - * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeTransaction(com.google.spanner.v1.TransactionSelector value) { if (transactionBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && transaction_ != null - && transaction_ != com.google.spanner.v1.TransactionSelector.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + transaction_ != null && + transaction_ != com.google.spanner.v1.TransactionSelector.getDefaultInstance()) { getTransactionBuilder().mergeFrom(value); } else { transaction_ = value; @@ -2656,8 +2410,6 @@ public Builder mergeTransaction(com.google.spanner.v1.TransactionSelector value) return this; } /** - * - * *
      * Required. The transaction to use. Must be a read-write transaction.
      * To protect against replays, single-use transactions are not supported. The
@@ -2665,9 +2417,7 @@ public Builder mergeTransaction(com.google.spanner.v1.TransactionSelector value)
      * transaction.
      * 
* - * - * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearTransaction() { bitField0_ = (bitField0_ & ~0x00000002); @@ -2680,8 +2430,6 @@ public Builder clearTransaction() { return this; } /** - * - * *
      * Required. The transaction to use. Must be a read-write transaction.
      * To protect against replays, single-use transactions are not supported. The
@@ -2689,9 +2437,7 @@ public Builder clearTransaction() {
      * transaction.
      * 
* - * - * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.spanner.v1.TransactionSelector.Builder getTransactionBuilder() { bitField0_ |= 0x00000002; @@ -2699,8 +2445,6 @@ public com.google.spanner.v1.TransactionSelector.Builder getTransactionBuilder() return getTransactionFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The transaction to use. Must be a read-write transaction.
      * To protect against replays, single-use transactions are not supported. The
@@ -2708,22 +2452,17 @@ public com.google.spanner.v1.TransactionSelector.Builder getTransactionBuilder()
      * transaction.
      * 
* - * - * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilder() { if (transactionBuilder_ != null) { return transactionBuilder_.getMessageOrBuilder(); } else { - return transaction_ == null - ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() - : transaction_; + return transaction_ == null ? + com.google.spanner.v1.TransactionSelector.getDefaultInstance() : transaction_; } } /** - * - * *
      * Required. The transaction to use. Must be a read-write transaction.
      * To protect against replays, single-use transactions are not supported. The
@@ -2731,48 +2470,35 @@ public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilde
      * transaction.
      * 
* - * - * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.TransactionSelector, - com.google.spanner.v1.TransactionSelector.Builder, - com.google.spanner.v1.TransactionSelectorOrBuilder> + com.google.spanner.v1.TransactionSelector, com.google.spanner.v1.TransactionSelector.Builder, com.google.spanner.v1.TransactionSelectorOrBuilder> getTransactionFieldBuilder() { if (transactionBuilder_ == null) { - transactionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.TransactionSelector, - com.google.spanner.v1.TransactionSelector.Builder, - com.google.spanner.v1.TransactionSelectorOrBuilder>( - getTransaction(), getParentForChildren(), isClean()); + transactionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.v1.TransactionSelector, com.google.spanner.v1.TransactionSelector.Builder, com.google.spanner.v1.TransactionSelectorOrBuilder>( + getTransaction(), + getParentForChildren(), + isClean()); transaction_ = null; } return transactionBuilder_; } private java.util.List statements_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureStatementsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - statements_ = - new java.util.ArrayList( - statements_); + statements_ = new java.util.ArrayList(statements_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.v1.ExecuteBatchDmlRequest.Statement, - com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.Builder, - com.google.spanner.v1.ExecuteBatchDmlRequest.StatementOrBuilder> - statementsBuilder_; + com.google.spanner.v1.ExecuteBatchDmlRequest.Statement, com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.Builder, com.google.spanner.v1.ExecuteBatchDmlRequest.StatementOrBuilder> statementsBuilder_; /** - * - * *
      * Required. The list of statements to execute in this batch. Statements are executed
      * serially, such that the effects of statement `i` are visible to statement
@@ -2781,12 +2507,9 @@ private void ensureStatementsIsMutable() {
      * Callers must provide at least one statement.
      * 
* - * - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getStatementsList() { + public java.util.List getStatementsList() { if (statementsBuilder_ == null) { return java.util.Collections.unmodifiableList(statements_); } else { @@ -2794,8 +2517,6 @@ private void ensureStatementsIsMutable() { } } /** - * - * *
      * Required. The list of statements to execute in this batch. Statements are executed
      * serially, such that the effects of statement `i` are visible to statement
@@ -2804,9 +2525,7 @@ private void ensureStatementsIsMutable() {
      * Callers must provide at least one statement.
      * 
* - * - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; */ public int getStatementsCount() { if (statementsBuilder_ == null) { @@ -2816,8 +2535,6 @@ public int getStatementsCount() { } } /** - * - * *
      * Required. The list of statements to execute in this batch. Statements are executed
      * serially, such that the effects of statement `i` are visible to statement
@@ -2826,9 +2543,7 @@ public int getStatementsCount() {
      * Callers must provide at least one statement.
      * 
* - * - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.spanner.v1.ExecuteBatchDmlRequest.Statement getStatements(int index) { if (statementsBuilder_ == null) { @@ -2838,8 +2553,6 @@ public com.google.spanner.v1.ExecuteBatchDmlRequest.Statement getStatements(int } } /** - * - * *
      * Required. The list of statements to execute in this batch. Statements are executed
      * serially, such that the effects of statement `i` are visible to statement
@@ -2848,9 +2561,7 @@ public com.google.spanner.v1.ExecuteBatchDmlRequest.Statement getStatements(int
      * Callers must provide at least one statement.
      * 
* - * - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setStatements( int index, com.google.spanner.v1.ExecuteBatchDmlRequest.Statement value) { @@ -2867,8 +2578,6 @@ public Builder setStatements( return this; } /** - * - * *
      * Required. The list of statements to execute in this batch. Statements are executed
      * serially, such that the effects of statement `i` are visible to statement
@@ -2877,9 +2586,7 @@ public Builder setStatements(
      * Callers must provide at least one statement.
      * 
* - * - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setStatements( int index, com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.Builder builderForValue) { @@ -2893,8 +2600,6 @@ public Builder setStatements( return this; } /** - * - * *
      * Required. The list of statements to execute in this batch. Statements are executed
      * serially, such that the effects of statement `i` are visible to statement
@@ -2903,9 +2608,7 @@ public Builder setStatements(
      * Callers must provide at least one statement.
      * 
* - * - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addStatements(com.google.spanner.v1.ExecuteBatchDmlRequest.Statement value) { if (statementsBuilder_ == null) { @@ -2921,8 +2624,6 @@ public Builder addStatements(com.google.spanner.v1.ExecuteBatchDmlRequest.Statem return this; } /** - * - * *
      * Required. The list of statements to execute in this batch. Statements are executed
      * serially, such that the effects of statement `i` are visible to statement
@@ -2931,9 +2632,7 @@ public Builder addStatements(com.google.spanner.v1.ExecuteBatchDmlRequest.Statem
      * Callers must provide at least one statement.
      * 
* - * - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addStatements( int index, com.google.spanner.v1.ExecuteBatchDmlRequest.Statement value) { @@ -2950,8 +2649,6 @@ public Builder addStatements( return this; } /** - * - * *
      * Required. The list of statements to execute in this batch. Statements are executed
      * serially, such that the effects of statement `i` are visible to statement
@@ -2960,9 +2657,7 @@ public Builder addStatements(
      * Callers must provide at least one statement.
      * 
* - * - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addStatements( com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.Builder builderForValue) { @@ -2976,8 +2671,6 @@ public Builder addStatements( return this; } /** - * - * *
      * Required. The list of statements to execute in this batch. Statements are executed
      * serially, such that the effects of statement `i` are visible to statement
@@ -2986,9 +2679,7 @@ public Builder addStatements(
      * Callers must provide at least one statement.
      * 
* - * - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addStatements( int index, com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.Builder builderForValue) { @@ -3002,8 +2693,6 @@ public Builder addStatements( return this; } /** - * - * *
      * Required. The list of statements to execute in this batch. Statements are executed
      * serially, such that the effects of statement `i` are visible to statement
@@ -3012,16 +2701,14 @@ public Builder addStatements(
      * Callers must provide at least one statement.
      * 
* - * - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addAllStatements( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (statementsBuilder_ == null) { ensureStatementsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, statements_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, statements_); onChanged(); } else { statementsBuilder_.addAllMessages(values); @@ -3029,8 +2716,6 @@ public Builder addAllStatements( return this; } /** - * - * *
      * Required. The list of statements to execute in this batch. Statements are executed
      * serially, such that the effects of statement `i` are visible to statement
@@ -3039,9 +2724,7 @@ public Builder addAllStatements(
      * Callers must provide at least one statement.
      * 
* - * - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearStatements() { if (statementsBuilder_ == null) { @@ -3054,8 +2737,6 @@ public Builder clearStatements() { return this; } /** - * - * *
      * Required. The list of statements to execute in this batch. Statements are executed
      * serially, such that the effects of statement `i` are visible to statement
@@ -3064,9 +2745,7 @@ public Builder clearStatements() {
      * Callers must provide at least one statement.
      * 
* - * - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removeStatements(int index) { if (statementsBuilder_ == null) { @@ -3079,8 +2758,6 @@ public Builder removeStatements(int index) { return this; } /** - * - * *
      * Required. The list of statements to execute in this batch. Statements are executed
      * serially, such that the effects of statement `i` are visible to statement
@@ -3089,17 +2766,13 @@ public Builder removeStatements(int index) {
      * Callers must provide at least one statement.
      * 
* - * - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.Builder getStatementsBuilder( int index) { return getStatementsFieldBuilder().getBuilder(index); } /** - * - * *
      * Required. The list of statements to execute in this batch. Statements are executed
      * serially, such that the effects of statement `i` are visible to statement
@@ -3108,21 +2781,16 @@ public com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.Builder getStateme
      * Callers must provide at least one statement.
      * 
* - * - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.spanner.v1.ExecuteBatchDmlRequest.StatementOrBuilder getStatementsOrBuilder( int index) { if (statementsBuilder_ == null) { - return statements_.get(index); - } else { + return statements_.get(index); } else { return statementsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Required. The list of statements to execute in this batch. Statements are executed
      * serially, such that the effects of statement `i` are visible to statement
@@ -3131,12 +2799,10 @@ public com.google.spanner.v1.ExecuteBatchDmlRequest.StatementOrBuilder getStatem
      * Callers must provide at least one statement.
      * 
* - * - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getStatementsOrBuilderList() { + public java.util.List + getStatementsOrBuilderList() { if (statementsBuilder_ != null) { return statementsBuilder_.getMessageOrBuilderList(); } else { @@ -3144,8 +2810,6 @@ public com.google.spanner.v1.ExecuteBatchDmlRequest.StatementOrBuilder getStatem } } /** - * - * *
      * Required. The list of statements to execute in this batch. Statements are executed
      * serially, such that the effects of statement `i` are visible to statement
@@ -3154,17 +2818,13 @@ public com.google.spanner.v1.ExecuteBatchDmlRequest.StatementOrBuilder getStatem
      * Callers must provide at least one statement.
      * 
* - * - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.Builder addStatementsBuilder() { - return getStatementsFieldBuilder() - .addBuilder(com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.getDefaultInstance()); + return getStatementsFieldBuilder().addBuilder( + com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.getDefaultInstance()); } /** - * - * *
      * Required. The list of statements to execute in this batch. Statements are executed
      * serially, such that the effects of statement `i` are visible to statement
@@ -3173,19 +2833,14 @@ public com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.Builder addStateme
      * Callers must provide at least one statement.
      * 
* - * - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.Builder addStatementsBuilder( int index) { - return getStatementsFieldBuilder() - .addBuilder( - index, com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.getDefaultInstance()); + return getStatementsFieldBuilder().addBuilder( + index, com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.getDefaultInstance()); } /** - * - * *
      * Required. The list of statements to execute in this batch. Statements are executed
      * serially, such that the effects of statement `i` are visible to statement
@@ -3194,36 +2849,29 @@ public com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.Builder addStateme
      * Callers must provide at least one statement.
      * 
* - * - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getStatementsBuilderList() { + public java.util.List + getStatementsBuilderList() { return getStatementsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.v1.ExecuteBatchDmlRequest.Statement, - com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.Builder, - com.google.spanner.v1.ExecuteBatchDmlRequest.StatementOrBuilder> + com.google.spanner.v1.ExecuteBatchDmlRequest.Statement, com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.Builder, com.google.spanner.v1.ExecuteBatchDmlRequest.StatementOrBuilder> getStatementsFieldBuilder() { if (statementsBuilder_ == null) { - statementsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.v1.ExecuteBatchDmlRequest.Statement, - com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.Builder, - com.google.spanner.v1.ExecuteBatchDmlRequest.StatementOrBuilder>( - statements_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); + statementsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.spanner.v1.ExecuteBatchDmlRequest.Statement, com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.Builder, com.google.spanner.v1.ExecuteBatchDmlRequest.StatementOrBuilder>( + statements_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); statements_ = null; } return statementsBuilder_; } - private long seqno_; + private long seqno_ ; /** - * - * *
      * Required. A per-transaction sequence number used to identify this request. This field
      * makes each request idempotent such that if the request is received multiple
@@ -3235,7 +2883,6 @@ public com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.Builder addStateme
      * 
* * int64 seqno = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The seqno. */ @java.lang.Override @@ -3243,8 +2890,6 @@ public long getSeqno() { return seqno_; } /** - * - * *
      * Required. A per-transaction sequence number used to identify this request. This field
      * makes each request idempotent such that if the request is received multiple
@@ -3256,20 +2901,17 @@ public long getSeqno() {
      * 
* * int64 seqno = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The seqno to set. * @return This builder for chaining. */ public Builder setSeqno(long value) { - + seqno_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Required. A per-transaction sequence number used to identify this request. This field
      * makes each request idempotent such that if the request is received multiple
@@ -3281,7 +2923,6 @@ public Builder setSeqno(long value) {
      * 
* * int64 seqno = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearSeqno() { @@ -3293,47 +2934,34 @@ public Builder clearSeqno() { private com.google.spanner.v1.RequestOptions requestOptions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.RequestOptions, - com.google.spanner.v1.RequestOptions.Builder, - com.google.spanner.v1.RequestOptionsOrBuilder> - requestOptionsBuilder_; + com.google.spanner.v1.RequestOptions, com.google.spanner.v1.RequestOptions.Builder, com.google.spanner.v1.RequestOptionsOrBuilder> requestOptionsBuilder_; /** - * - * *
      * Common options for this request.
      * 
* * .google.spanner.v1.RequestOptions request_options = 5; - * * @return Whether the requestOptions field is set. */ public boolean hasRequestOptions() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * Common options for this request.
      * 
* * .google.spanner.v1.RequestOptions request_options = 5; - * * @return The requestOptions. */ public com.google.spanner.v1.RequestOptions getRequestOptions() { if (requestOptionsBuilder_ == null) { - return requestOptions_ == null - ? com.google.spanner.v1.RequestOptions.getDefaultInstance() - : requestOptions_; + return requestOptions_ == null ? com.google.spanner.v1.RequestOptions.getDefaultInstance() : requestOptions_; } else { return requestOptionsBuilder_.getMessage(); } } /** - * - * *
      * Common options for this request.
      * 
@@ -3354,15 +2982,14 @@ public Builder setRequestOptions(com.google.spanner.v1.RequestOptions value) { return this; } /** - * - * *
      * Common options for this request.
      * 
* * .google.spanner.v1.RequestOptions request_options = 5; */ - public Builder setRequestOptions(com.google.spanner.v1.RequestOptions.Builder builderForValue) { + public Builder setRequestOptions( + com.google.spanner.v1.RequestOptions.Builder builderForValue) { if (requestOptionsBuilder_ == null) { requestOptions_ = builderForValue.build(); } else { @@ -3373,8 +3000,6 @@ public Builder setRequestOptions(com.google.spanner.v1.RequestOptions.Builder bu return this; } /** - * - * *
      * Common options for this request.
      * 
@@ -3383,9 +3008,9 @@ public Builder setRequestOptions(com.google.spanner.v1.RequestOptions.Builder bu */ public Builder mergeRequestOptions(com.google.spanner.v1.RequestOptions value) { if (requestOptionsBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) - && requestOptions_ != null - && requestOptions_ != com.google.spanner.v1.RequestOptions.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) && + requestOptions_ != null && + requestOptions_ != com.google.spanner.v1.RequestOptions.getDefaultInstance()) { getRequestOptionsBuilder().mergeFrom(value); } else { requestOptions_ = value; @@ -3398,8 +3023,6 @@ public Builder mergeRequestOptions(com.google.spanner.v1.RequestOptions value) { return this; } /** - * - * *
      * Common options for this request.
      * 
@@ -3417,8 +3040,6 @@ public Builder clearRequestOptions() { return this; } /** - * - * *
      * Common options for this request.
      * 
@@ -3431,8 +3052,6 @@ public com.google.spanner.v1.RequestOptions.Builder getRequestOptionsBuilder() { return getRequestOptionsFieldBuilder().getBuilder(); } /** - * - * *
      * Common options for this request.
      * 
@@ -3443,14 +3062,11 @@ public com.google.spanner.v1.RequestOptionsOrBuilder getRequestOptionsOrBuilder( if (requestOptionsBuilder_ != null) { return requestOptionsBuilder_.getMessageOrBuilder(); } else { - return requestOptions_ == null - ? com.google.spanner.v1.RequestOptions.getDefaultInstance() - : requestOptions_; + return requestOptions_ == null ? + com.google.spanner.v1.RequestOptions.getDefaultInstance() : requestOptions_; } } /** - * - * *
      * Common options for this request.
      * 
@@ -3458,24 +3074,21 @@ public com.google.spanner.v1.RequestOptionsOrBuilder getRequestOptionsOrBuilder( * .google.spanner.v1.RequestOptions request_options = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.RequestOptions, - com.google.spanner.v1.RequestOptions.Builder, - com.google.spanner.v1.RequestOptionsOrBuilder> + com.google.spanner.v1.RequestOptions, com.google.spanner.v1.RequestOptions.Builder, com.google.spanner.v1.RequestOptionsOrBuilder> getRequestOptionsFieldBuilder() { if (requestOptionsBuilder_ == null) { - requestOptionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.RequestOptions, - com.google.spanner.v1.RequestOptions.Builder, - com.google.spanner.v1.RequestOptionsOrBuilder>( - getRequestOptions(), getParentForChildren(), isClean()); + requestOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.v1.RequestOptions, com.google.spanner.v1.RequestOptions.Builder, com.google.spanner.v1.RequestOptionsOrBuilder>( + getRequestOptions(), + getParentForChildren(), + isClean()); requestOptions_ = null; } return requestOptionsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3485,12 +3098,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.v1.ExecuteBatchDmlRequest) } // @@protoc_insertion_point(class_scope:google.spanner.v1.ExecuteBatchDmlRequest) private static final com.google.spanner.v1.ExecuteBatchDmlRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.v1.ExecuteBatchDmlRequest(); } @@ -3499,27 +3112,27 @@ public static com.google.spanner.v1.ExecuteBatchDmlRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExecuteBatchDmlRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExecuteBatchDmlRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3534,4 +3147,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.ExecuteBatchDmlRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlRequestOrBuilder.java similarity index 69% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlRequestOrBuilder.java index 87364106697..84cdfdf1e7f 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlRequestOrBuilder.java @@ -1,60 +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/spanner/v1/spanner.proto package com.google.spanner.v1; -public interface ExecuteBatchDmlRequestOrBuilder - extends +public interface ExecuteBatchDmlRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.ExecuteBatchDmlRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The session in which the DML statements should be performed.
    * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The session. */ java.lang.String getSession(); /** - * - * *
    * Required. The session in which the DML statements should be performed.
    * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for session. */ - com.google.protobuf.ByteString getSessionBytes(); + com.google.protobuf.ByteString + getSessionBytes(); /** - * - * *
    * Required. The transaction to use. Must be a read-write transaction.
    * To protect against replays, single-use transactions are not supported. The
@@ -62,16 +35,11 @@ public interface ExecuteBatchDmlRequestOrBuilder
    * transaction.
    * 
* - * - * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the transaction field is set. */ boolean hasTransaction(); /** - * - * *
    * Required. The transaction to use. Must be a read-write transaction.
    * To protect against replays, single-use transactions are not supported. The
@@ -79,16 +47,11 @@ public interface ExecuteBatchDmlRequestOrBuilder
    * transaction.
    * 
* - * - * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The transaction. */ com.google.spanner.v1.TransactionSelector getTransaction(); /** - * - * *
    * Required. The transaction to use. Must be a read-write transaction.
    * To protect against replays, single-use transactions are not supported. The
@@ -96,15 +59,11 @@ public interface ExecuteBatchDmlRequestOrBuilder
    * transaction.
    * 
* - * - * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilder(); /** - * - * *
    * Required. The list of statements to execute in this batch. Statements are executed
    * serially, such that the effects of statement `i` are visible to statement
@@ -113,14 +72,11 @@ public interface ExecuteBatchDmlRequestOrBuilder
    * Callers must provide at least one statement.
    * 
* - * - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List getStatementsList(); + java.util.List + getStatementsList(); /** - * - * *
    * Required. The list of statements to execute in this batch. Statements are executed
    * serially, such that the effects of statement `i` are visible to statement
@@ -129,14 +85,10 @@ public interface ExecuteBatchDmlRequestOrBuilder
    * Callers must provide at least one statement.
    * 
* - * - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.spanner.v1.ExecuteBatchDmlRequest.Statement getStatements(int index); /** - * - * *
    * Required. The list of statements to execute in this batch. Statements are executed
    * serially, such that the effects of statement `i` are visible to statement
@@ -145,14 +97,10 @@ public interface ExecuteBatchDmlRequestOrBuilder
    * Callers must provide at least one statement.
    * 
* - * - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; */ int getStatementsCount(); /** - * - * *
    * Required. The list of statements to execute in this batch. Statements are executed
    * serially, such that the effects of statement `i` are visible to statement
@@ -161,15 +109,11 @@ public interface ExecuteBatchDmlRequestOrBuilder
    * Callers must provide at least one statement.
    * 
* - * - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List + java.util.List getStatementsOrBuilderList(); /** - * - * *
    * Required. The list of statements to execute in this batch. Statements are executed
    * serially, such that the effects of statement `i` are visible to statement
@@ -178,15 +122,12 @@ public interface ExecuteBatchDmlRequestOrBuilder
    * Callers must provide at least one statement.
    * 
* - * - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.spanner.v1.ExecuteBatchDmlRequest.StatementOrBuilder getStatementsOrBuilder(int index); + com.google.spanner.v1.ExecuteBatchDmlRequest.StatementOrBuilder getStatementsOrBuilder( + int index); /** - * - * *
    * Required. A per-transaction sequence number used to identify this request. This field
    * makes each request idempotent such that if the request is received multiple
@@ -198,38 +139,29 @@ public interface ExecuteBatchDmlRequestOrBuilder
    * 
* * int64 seqno = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The seqno. */ long getSeqno(); /** - * - * *
    * Common options for this request.
    * 
* * .google.spanner.v1.RequestOptions request_options = 5; - * * @return Whether the requestOptions field is set. */ boolean hasRequestOptions(); /** - * - * *
    * Common options for this request.
    * 
* * .google.spanner.v1.RequestOptions request_options = 5; - * * @return The requestOptions. */ com.google.spanner.v1.RequestOptions getRequestOptions(); /** - * - * *
    * Common options for this request.
    * 
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlResponse.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlResponse.java similarity index 81% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlResponse.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlResponse.java index 3e7163fe1be..a09e7fbfd81 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlResponse.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/spanner/v1/spanner.proto package com.google.spanner.v1; /** - * - * *
  * The response for [ExecuteBatchDml][google.spanner.v1.Spanner.ExecuteBatchDml]. Contains a list
  * of [ResultSet][google.spanner.v1.ResultSet] messages, one for each DML statement that has successfully
@@ -44,53 +27,48 @@
  *
  * Protobuf type {@code google.spanner.v1.ExecuteBatchDmlResponse}
  */
-public final class ExecuteBatchDmlResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ExecuteBatchDmlResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.v1.ExecuteBatchDmlResponse)
     ExecuteBatchDmlResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ExecuteBatchDmlResponse.newBuilder() to construct.
   private ExecuteBatchDmlResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ExecuteBatchDmlResponse() {
     resultSets_ = 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 ExecuteBatchDmlResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.v1.SpannerProto
-        .internal_static_google_spanner_v1_ExecuteBatchDmlResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteBatchDmlResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.v1.SpannerProto
-        .internal_static_google_spanner_v1_ExecuteBatchDmlResponse_fieldAccessorTable
+    return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteBatchDmlResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.v1.ExecuteBatchDmlResponse.class,
-            com.google.spanner.v1.ExecuteBatchDmlResponse.Builder.class);
+            com.google.spanner.v1.ExecuteBatchDmlResponse.class, com.google.spanner.v1.ExecuteBatchDmlResponse.Builder.class);
   }
 
   public static final int RESULT_SETS_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private java.util.List resultSets_;
   /**
-   *
-   *
    * 
    * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
    * in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does
@@ -107,8 +85,6 @@ public java.util.List getResultSetsList() {
     return resultSets_;
   }
   /**
-   *
-   *
    * 
    * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
    * in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does
@@ -121,13 +97,11 @@ public java.util.List getResultSetsList() {
    * repeated .google.spanner.v1.ResultSet result_sets = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getResultSetsOrBuilderList() {
     return resultSets_;
   }
   /**
-   *
-   *
    * 
    * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
    * in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does
@@ -144,8 +118,6 @@ public int getResultSetsCount() {
     return resultSets_.size();
   }
   /**
-   *
-   *
    * 
    * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
    * in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does
@@ -162,8 +134,6 @@ public com.google.spanner.v1.ResultSet getResultSets(int index) {
     return resultSets_.get(index);
   }
   /**
-   *
-   *
    * 
    * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
    * in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does
@@ -176,22 +146,20 @@ public com.google.spanner.v1.ResultSet getResultSets(int index) {
    * repeated .google.spanner.v1.ResultSet result_sets = 1;
    */
   @java.lang.Override
-  public com.google.spanner.v1.ResultSetOrBuilder getResultSetsOrBuilder(int index) {
+  public com.google.spanner.v1.ResultSetOrBuilder getResultSetsOrBuilder(
+      int index) {
     return resultSets_.get(index);
   }
 
   public static final int STATUS_FIELD_NUMBER = 2;
   private com.google.rpc.Status status_;
   /**
-   *
-   *
    * 
    * If all DML statements are executed successfully, the status is `OK`.
    * Otherwise, the error status of the first failed statement.
    * 
* * .google.rpc.Status status = 2; - * * @return Whether the status field is set. */ @java.lang.Override @@ -199,15 +167,12 @@ public boolean hasStatus() { return status_ != null; } /** - * - * *
    * If all DML statements are executed successfully, the status is `OK`.
    * Otherwise, the error status of the first failed statement.
    * 
* * .google.rpc.Status status = 2; - * * @return The status. */ @java.lang.Override @@ -215,8 +180,6 @@ public com.google.rpc.Status getStatus() { return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; } /** - * - * *
    * If all DML statements are executed successfully, the status is `OK`.
    * Otherwise, the error status of the first failed statement.
@@ -230,7 +193,6 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -242,7 +204,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  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 < resultSets_.size(); i++) {
       output.writeMessage(1, resultSets_.get(i));
     }
@@ -259,10 +222,12 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < resultSets_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, resultSets_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, resultSets_.get(i));
     }
     if (status_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStatus());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getStatus());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -272,18 +237,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.spanner.v1.ExecuteBatchDmlResponse)) {
       return super.equals(obj);
     }
-    com.google.spanner.v1.ExecuteBatchDmlResponse other =
-        (com.google.spanner.v1.ExecuteBatchDmlResponse) obj;
+    com.google.spanner.v1.ExecuteBatchDmlResponse other = (com.google.spanner.v1.ExecuteBatchDmlResponse) obj;
 
-    if (!getResultSetsList().equals(other.getResultSetsList())) return false;
+    if (!getResultSetsList()
+        .equals(other.getResultSetsList())) 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,104 +275,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.spanner.v1.ExecuteBatchDmlResponse parseFrom(java.nio.ByteBuffer data)
+  public static com.google.spanner.v1.ExecuteBatchDmlResponse parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.ExecuteBatchDmlResponse parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.v1.ExecuteBatchDmlResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.ExecuteBatchDmlResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.v1.ExecuteBatchDmlResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.ExecuteBatchDmlResponse parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.v1.ExecuteBatchDmlResponse parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.v1.ExecuteBatchDmlResponse parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.spanner.v1.ExecuteBatchDmlResponse parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.spanner.v1.ExecuteBatchDmlResponse parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.v1.ExecuteBatchDmlResponse parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.spanner.v1.ExecuteBatchDmlResponse parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.v1.ExecuteBatchDmlResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.spanner.v1.ExecuteBatchDmlResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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 [ExecuteBatchDml][google.spanner.v1.Spanner.ExecuteBatchDml]. Contains a list
    * of [ResultSet][google.spanner.v1.ResultSet] messages, one for each DML statement that has successfully
@@ -430,32 +389,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.v1.ExecuteBatchDmlResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.v1.ExecuteBatchDmlResponse)
       com.google.spanner.v1.ExecuteBatchDmlResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.v1.SpannerProto
-          .internal_static_google_spanner_v1_ExecuteBatchDmlResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteBatchDmlResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.v1.SpannerProto
-          .internal_static_google_spanner_v1_ExecuteBatchDmlResponse_fieldAccessorTable
+      return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteBatchDmlResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.v1.ExecuteBatchDmlResponse.class,
-              com.google.spanner.v1.ExecuteBatchDmlResponse.Builder.class);
+              com.google.spanner.v1.ExecuteBatchDmlResponse.class, com.google.spanner.v1.ExecuteBatchDmlResponse.Builder.class);
     }
 
     // Construct using com.google.spanner.v1.ExecuteBatchDmlResponse.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -476,9 +436,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.v1.SpannerProto
-          .internal_static_google_spanner_v1_ExecuteBatchDmlResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteBatchDmlResponse_descriptor;
     }
 
     @java.lang.Override
@@ -497,12 +457,9 @@ public com.google.spanner.v1.ExecuteBatchDmlResponse build() {
 
     @java.lang.Override
     public com.google.spanner.v1.ExecuteBatchDmlResponse buildPartial() {
-      com.google.spanner.v1.ExecuteBatchDmlResponse result =
-          new com.google.spanner.v1.ExecuteBatchDmlResponse(this);
+      com.google.spanner.v1.ExecuteBatchDmlResponse result = new com.google.spanner.v1.ExecuteBatchDmlResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -522,7 +479,9 @@ private void buildPartialRepeatedFields(com.google.spanner.v1.ExecuteBatchDmlRes
     private void buildPartial0(com.google.spanner.v1.ExecuteBatchDmlResponse result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.status_ = statusBuilder_ == null ? status_ : statusBuilder_.build();
+        result.status_ = statusBuilder_ == null
+            ? status_
+            : statusBuilder_.build();
       }
     }
 
@@ -530,39 +489,38 @@ private void buildPartial0(com.google.spanner.v1.ExecuteBatchDmlResponse 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.spanner.v1.ExecuteBatchDmlResponse) {
-        return mergeFrom((com.google.spanner.v1.ExecuteBatchDmlResponse) other);
+        return mergeFrom((com.google.spanner.v1.ExecuteBatchDmlResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -589,10 +547,9 @@ public Builder mergeFrom(com.google.spanner.v1.ExecuteBatchDmlResponse other) {
             resultSetsBuilder_ = null;
             resultSets_ = other.resultSets_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            resultSetsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getResultSetsFieldBuilder()
-                    : null;
+            resultSetsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getResultSetsFieldBuilder() : null;
           } else {
             resultSetsBuilder_.addAllMessages(other.resultSets_);
           }
@@ -627,31 +584,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.spanner.v1.ResultSet m =
-                    input.readMessage(com.google.spanner.v1.ResultSet.parser(), extensionRegistry);
-                if (resultSetsBuilder_ == null) {
-                  ensureResultSetsIsMutable();
-                  resultSets_.add(m);
-                } else {
-                  resultSetsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-            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 10: {
+              com.google.spanner.v1.ResultSet m =
+                  input.readMessage(
+                      com.google.spanner.v1.ResultSet.parser(),
+                      extensionRegistry);
+              if (resultSetsBuilder_ == null) {
+                ensureResultSetsIsMutable();
+                resultSets_.add(m);
+              } else {
+                resultSetsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 10
+            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) {
@@ -661,28 +619,21 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List resultSets_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureResultSetsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         resultSets_ = new java.util.ArrayList(resultSets_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.spanner.v1.ResultSet,
-            com.google.spanner.v1.ResultSet.Builder,
-            com.google.spanner.v1.ResultSetOrBuilder>
-        resultSetsBuilder_;
+        com.google.spanner.v1.ResultSet, com.google.spanner.v1.ResultSet.Builder, com.google.spanner.v1.ResultSetOrBuilder> resultSetsBuilder_;
 
     /**
-     *
-     *
      * 
      * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
      * in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does
@@ -702,8 +653,6 @@ public java.util.List getResultSetsList() {
       }
     }
     /**
-     *
-     *
      * 
      * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
      * in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does
@@ -723,8 +672,6 @@ public int getResultSetsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
      * in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does
@@ -744,8 +691,6 @@ public com.google.spanner.v1.ResultSet getResultSets(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
      * in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does
@@ -757,7 +702,8 @@ public com.google.spanner.v1.ResultSet getResultSets(int index) {
      *
      * repeated .google.spanner.v1.ResultSet result_sets = 1;
      */
-    public Builder setResultSets(int index, com.google.spanner.v1.ResultSet value) {
+    public Builder setResultSets(
+        int index, com.google.spanner.v1.ResultSet value) {
       if (resultSetsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -771,8 +717,6 @@ public Builder setResultSets(int index, com.google.spanner.v1.ResultSet value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
      * in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does
@@ -796,8 +740,6 @@ public Builder setResultSets(
       return this;
     }
     /**
-     *
-     *
      * 
      * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
      * in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does
@@ -823,8 +765,6 @@ public Builder addResultSets(com.google.spanner.v1.ResultSet value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
      * in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does
@@ -836,7 +776,8 @@ public Builder addResultSets(com.google.spanner.v1.ResultSet value) {
      *
      * repeated .google.spanner.v1.ResultSet result_sets = 1;
      */
-    public Builder addResultSets(int index, com.google.spanner.v1.ResultSet value) {
+    public Builder addResultSets(
+        int index, com.google.spanner.v1.ResultSet value) {
       if (resultSetsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -850,8 +791,6 @@ public Builder addResultSets(int index, com.google.spanner.v1.ResultSet value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
      * in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does
@@ -863,7 +802,8 @@ public Builder addResultSets(int index, com.google.spanner.v1.ResultSet value) {
      *
      * repeated .google.spanner.v1.ResultSet result_sets = 1;
      */
-    public Builder addResultSets(com.google.spanner.v1.ResultSet.Builder builderForValue) {
+    public Builder addResultSets(
+        com.google.spanner.v1.ResultSet.Builder builderForValue) {
       if (resultSetsBuilder_ == null) {
         ensureResultSetsIsMutable();
         resultSets_.add(builderForValue.build());
@@ -874,8 +814,6 @@ public Builder addResultSets(com.google.spanner.v1.ResultSet.Builder builderForV
       return this;
     }
     /**
-     *
-     *
      * 
      * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
      * in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does
@@ -899,8 +837,6 @@ public Builder addResultSets(
       return this;
     }
     /**
-     *
-     *
      * 
      * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
      * in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does
@@ -916,7 +852,8 @@ public Builder addAllResultSets(
         java.lang.Iterable values) {
       if (resultSetsBuilder_ == null) {
         ensureResultSetsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, resultSets_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, resultSets_);
         onChanged();
       } else {
         resultSetsBuilder_.addAllMessages(values);
@@ -924,8 +861,6 @@ public Builder addAllResultSets(
       return this;
     }
     /**
-     *
-     *
      * 
      * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
      * in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does
@@ -948,8 +883,6 @@ public Builder clearResultSets() {
       return this;
     }
     /**
-     *
-     *
      * 
      * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
      * in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does
@@ -972,8 +905,6 @@ public Builder removeResultSets(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
      * in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does
@@ -985,12 +916,11 @@ public Builder removeResultSets(int index) {
      *
      * repeated .google.spanner.v1.ResultSet result_sets = 1;
      */
-    public com.google.spanner.v1.ResultSet.Builder getResultSetsBuilder(int index) {
+    public com.google.spanner.v1.ResultSet.Builder getResultSetsBuilder(
+        int index) {
       return getResultSetsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
      * in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does
@@ -1002,16 +932,14 @@ public com.google.spanner.v1.ResultSet.Builder getResultSetsBuilder(int index) {
      *
      * repeated .google.spanner.v1.ResultSet result_sets = 1;
      */
-    public com.google.spanner.v1.ResultSetOrBuilder getResultSetsOrBuilder(int index) {
+    public com.google.spanner.v1.ResultSetOrBuilder getResultSetsOrBuilder(
+        int index) {
       if (resultSetsBuilder_ == null) {
-        return resultSets_.get(index);
-      } else {
+        return resultSets_.get(index);  } else {
         return resultSetsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
      * in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does
@@ -1023,8 +951,8 @@ public com.google.spanner.v1.ResultSetOrBuilder getResultSetsOrBuilder(int index
      *
      * repeated .google.spanner.v1.ResultSet result_sets = 1;
      */
-    public java.util.List
-        getResultSetsOrBuilderList() {
+    public java.util.List 
+         getResultSetsOrBuilderList() {
       if (resultSetsBuilder_ != null) {
         return resultSetsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1032,8 +960,6 @@ public com.google.spanner.v1.ResultSetOrBuilder getResultSetsOrBuilder(int index
       }
     }
     /**
-     *
-     *
      * 
      * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
      * in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does
@@ -1046,12 +972,10 @@ public com.google.spanner.v1.ResultSetOrBuilder getResultSetsOrBuilder(int index
      * repeated .google.spanner.v1.ResultSet result_sets = 1;
      */
     public com.google.spanner.v1.ResultSet.Builder addResultSetsBuilder() {
-      return getResultSetsFieldBuilder()
-          .addBuilder(com.google.spanner.v1.ResultSet.getDefaultInstance());
+      return getResultSetsFieldBuilder().addBuilder(
+          com.google.spanner.v1.ResultSet.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
      * in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does
@@ -1063,13 +987,12 @@ public com.google.spanner.v1.ResultSet.Builder addResultSetsBuilder() {
      *
      * repeated .google.spanner.v1.ResultSet result_sets = 1;
      */
-    public com.google.spanner.v1.ResultSet.Builder addResultSetsBuilder(int index) {
-      return getResultSetsFieldBuilder()
-          .addBuilder(index, com.google.spanner.v1.ResultSet.getDefaultInstance());
+    public com.google.spanner.v1.ResultSet.Builder addResultSetsBuilder(
+        int index) {
+      return getResultSetsFieldBuilder().addBuilder(
+          index, com.google.spanner.v1.ResultSet.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
      * in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does
@@ -1081,22 +1004,20 @@ public com.google.spanner.v1.ResultSet.Builder addResultSetsBuilder(int index) {
      *
      * repeated .google.spanner.v1.ResultSet result_sets = 1;
      */
-    public java.util.List getResultSetsBuilderList() {
+    public java.util.List 
+         getResultSetsBuilderList() {
       return getResultSetsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.spanner.v1.ResultSet,
-            com.google.spanner.v1.ResultSet.Builder,
-            com.google.spanner.v1.ResultSetOrBuilder>
+        com.google.spanner.v1.ResultSet, com.google.spanner.v1.ResultSet.Builder, com.google.spanner.v1.ResultSetOrBuilder> 
         getResultSetsFieldBuilder() {
       if (resultSetsBuilder_ == null) {
-        resultSetsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.spanner.v1.ResultSet,
-                com.google.spanner.v1.ResultSet.Builder,
-                com.google.spanner.v1.ResultSetOrBuilder>(
-                resultSets_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        resultSetsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.spanner.v1.ResultSet, com.google.spanner.v1.ResultSet.Builder, com.google.spanner.v1.ResultSetOrBuilder>(
+                resultSets_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         resultSets_ = null;
       }
       return resultSetsBuilder_;
@@ -1104,33 +1025,26 @@ public java.util.List getResultSetsBuil
 
     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_;
     /**
-     *
-     *
      * 
      * If all DML statements are executed successfully, the status is `OK`.
      * Otherwise, the error status of the first failed statement.
      * 
* * .google.rpc.Status status = 2; - * * @return Whether the status field is set. */ public boolean hasStatus() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * If all DML statements are executed successfully, the status is `OK`.
      * Otherwise, the error status of the first failed statement.
      * 
* * .google.rpc.Status status = 2; - * * @return The status. */ public com.google.rpc.Status getStatus() { @@ -1141,8 +1055,6 @@ public com.google.rpc.Status getStatus() { } } /** - * - * *
      * If all DML statements are executed successfully, the status is `OK`.
      * Otherwise, the error status of the first failed statement.
@@ -1164,8 +1076,6 @@ public Builder setStatus(com.google.rpc.Status value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If all DML statements are executed successfully, the status is `OK`.
      * Otherwise, the error status of the first failed statement.
@@ -1173,7 +1083,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 {
@@ -1184,8 +1095,6 @@ public Builder setStatus(com.google.rpc.Status.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If all DML statements are executed successfully, the status is `OK`.
      * Otherwise, the error status of the first failed statement.
@@ -1195,9 +1104,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;
@@ -1210,8 +1119,6 @@ public Builder mergeStatus(com.google.rpc.Status value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If all DML statements are executed successfully, the status is `OK`.
      * Otherwise, the error status of the first failed statement.
@@ -1230,8 +1137,6 @@ public Builder clearStatus() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If all DML statements are executed successfully, the status is `OK`.
      * Otherwise, the error status of the first failed statement.
@@ -1245,8 +1150,6 @@ public com.google.rpc.Status.Builder getStatusBuilder() {
       return getStatusFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If all DML statements are executed successfully, the status is `OK`.
      * Otherwise, the error status of the first failed statement.
@@ -1258,12 +1161,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_;
       }
     }
     /**
-     *
-     *
      * 
      * If all DML statements are executed successfully, the status is `OK`.
      * Otherwise, the error status of the first failed statement.
@@ -1272,21 +1174,21 @@ 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) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1296,12 +1198,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.spanner.v1.ExecuteBatchDmlResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.spanner.v1.ExecuteBatchDmlResponse)
   private static final com.google.spanner.v1.ExecuteBatchDmlResponse DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.spanner.v1.ExecuteBatchDmlResponse();
   }
@@ -1310,27 +1212,27 @@ public static com.google.spanner.v1.ExecuteBatchDmlResponse getDefaultInstance()
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ExecuteBatchDmlResponse parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public ExecuteBatchDmlResponse parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1345,4 +1247,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.spanner.v1.ExecuteBatchDmlResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlResponseOrBuilder.java
similarity index 84%
rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlResponseOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlResponseOrBuilder.java
index b2891c067a8..878573b86d9 100644
--- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlResponseOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlResponseOrBuilder.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/spanner/v1/spanner.proto
 
 package com.google.spanner.v1;
 
-public interface ExecuteBatchDmlResponseOrBuilder
-    extends
+public interface ExecuteBatchDmlResponseOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.spanner.v1.ExecuteBatchDmlResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
    * in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does
@@ -37,10 +19,9 @@ public interface ExecuteBatchDmlResponseOrBuilder
    *
    * repeated .google.spanner.v1.ResultSet result_sets = 1;
    */
-  java.util.List getResultSetsList();
+  java.util.List 
+      getResultSetsList();
   /**
-   *
-   *
    * 
    * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
    * in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does
@@ -54,8 +35,6 @@ public interface ExecuteBatchDmlResponseOrBuilder
    */
   com.google.spanner.v1.ResultSet getResultSets(int index);
   /**
-   *
-   *
    * 
    * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
    * in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does
@@ -69,8 +48,6 @@ public interface ExecuteBatchDmlResponseOrBuilder
    */
   int getResultSetsCount();
   /**
-   *
-   *
    * 
    * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
    * in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does
@@ -82,10 +59,9 @@ public interface ExecuteBatchDmlResponseOrBuilder
    *
    * repeated .google.spanner.v1.ResultSet result_sets = 1;
    */
-  java.util.List getResultSetsOrBuilderList();
+  java.util.List 
+      getResultSetsOrBuilderList();
   /**
-   *
-   *
    * 
    * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
    * in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does
@@ -97,37 +73,30 @@ public interface ExecuteBatchDmlResponseOrBuilder
    *
    * repeated .google.spanner.v1.ResultSet result_sets = 1;
    */
-  com.google.spanner.v1.ResultSetOrBuilder getResultSetsOrBuilder(int index);
+  com.google.spanner.v1.ResultSetOrBuilder getResultSetsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * If all DML statements are executed successfully, the status is `OK`.
    * Otherwise, the error status of the first failed statement.
    * 
* * .google.rpc.Status status = 2; - * * @return Whether the status field is set. */ boolean hasStatus(); /** - * - * *
    * If all DML statements are executed successfully, the status is `OK`.
    * Otherwise, the error status of the first failed statement.
    * 
* * .google.rpc.Status status = 2; - * * @return The status. */ com.google.rpc.Status getStatus(); /** - * - * *
    * If all DML statements are executed successfully, the status is `OK`.
    * Otherwise, the error status of the first failed statement.
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteSqlRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteSqlRequest.java
similarity index 78%
rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteSqlRequest.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteSqlRequest.java
index 70f4c8219c2..8a26bd48d70 100644
--- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteSqlRequest.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteSqlRequest.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/spanner/v1/spanner.proto
 
 package com.google.spanner.v1;
 
 /**
- *
- *
  * 
  * The request for [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql] and
  * [ExecuteStreamingSql][google.spanner.v1.Spanner.ExecuteStreamingSql].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.spanner.v1.ExecuteSqlRequest}
  */
-public final class ExecuteSqlRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ExecuteSqlRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.v1.ExecuteSqlRequest)
     ExecuteSqlRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ExecuteSqlRequest.newBuilder() to construct.
   private ExecuteSqlRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ExecuteSqlRequest() {
     session_ = "";
     sql_ = "";
@@ -48,54 +30,51 @@ private ExecuteSqlRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ExecuteSqlRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.v1.SpannerProto
-        .internal_static_google_spanner_v1_ExecuteSqlRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteSqlRequest_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 internalGetParamTypes();
       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.spanner.v1.SpannerProto
-        .internal_static_google_spanner_v1_ExecuteSqlRequest_fieldAccessorTable
+    return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteSqlRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.v1.ExecuteSqlRequest.class,
-            com.google.spanner.v1.ExecuteSqlRequest.Builder.class);
+            com.google.spanner.v1.ExecuteSqlRequest.class, com.google.spanner.v1.ExecuteSqlRequest.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Mode in which the statement must be processed.
    * 
* * Protobuf enum {@code google.spanner.v1.ExecuteSqlRequest.QueryMode} */ - public enum QueryMode implements com.google.protobuf.ProtocolMessageEnum { + public enum QueryMode + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The default mode. Only the statement results are returned.
      * 
@@ -104,8 +83,6 @@ public enum QueryMode implements com.google.protobuf.ProtocolMessageEnum { */ NORMAL(0), /** - * - * *
      * This mode returns only the query plan, without any results or
      * execution statistics information.
@@ -115,8 +92,6 @@ public enum QueryMode implements com.google.protobuf.ProtocolMessageEnum {
      */
     PLAN(1),
     /**
-     *
-     *
      * 
      * This mode returns both the query plan and the execution statistics along
      * with the results.
@@ -129,8 +104,6 @@ public enum QueryMode implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * The default mode. Only the statement results are returned.
      * 
@@ -139,8 +112,6 @@ public enum QueryMode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NORMAL_VALUE = 0; /** - * - * *
      * This mode returns only the query plan, without any results or
      * execution statistics information.
@@ -150,8 +121,6 @@ public enum QueryMode implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int PLAN_VALUE = 1;
     /**
-     *
-     *
      * 
      * This mode returns both the query plan and the execution statistics along
      * with the results.
@@ -161,6 +130,7 @@ public enum QueryMode implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int PROFILE_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -185,49 +155,49 @@ public static QueryMode valueOf(int value) {
      */
     public static QueryMode forNumber(int value) {
       switch (value) {
-        case 0:
-          return NORMAL;
-        case 1:
-          return PLAN;
-        case 2:
-          return PROFILE;
-        default:
-          return null;
+        case 0: return NORMAL;
+        case 1: return PLAN;
+        case 2: return PROFILE;
+        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<
+        QueryMode> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public QueryMode findValueByNumber(int number) {
+              return QueryMode.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public QueryMode findValueByNumber(int number) {
-            return QueryMode.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.spanner.v1.ExecuteSqlRequest.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final QueryMode[] VALUES = values();
 
-    public static QueryMode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static QueryMode 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;
@@ -244,14 +214,11 @@ private QueryMode(int value) {
     // @@protoc_insertion_point(enum_scope:google.spanner.v1.ExecuteSqlRequest.QueryMode)
   }
 
-  public interface QueryOptionsOrBuilder
-      extends
+  public interface QueryOptionsOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.spanner.v1.ExecuteSqlRequest.QueryOptions)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * An option to control the selection of optimizer version.
      * This parameter allows individual queries to pick different query
@@ -272,13 +239,10 @@ public interface QueryOptionsOrBuilder
      * 
* * string optimizer_version = 1; - * * @return The optimizerVersion. */ java.lang.String getOptimizerVersion(); /** - * - * *
      * An option to control the selection of optimizer version.
      * This parameter allows individual queries to pick different query
@@ -299,14 +263,12 @@ public interface QueryOptionsOrBuilder
      * 
* * string optimizer_version = 1; - * * @return The bytes for optimizerVersion. */ - com.google.protobuf.ByteString getOptimizerVersionBytes(); + com.google.protobuf.ByteString + getOptimizerVersionBytes(); /** - * - * *
      * An option to control the selection of optimizer statistics package.
      * This parameter allows individual queries to use a different query
@@ -329,13 +291,10 @@ public interface QueryOptionsOrBuilder
      * 
* * string optimizer_statistics_package = 2; - * * @return The optimizerStatisticsPackage. */ java.lang.String getOptimizerStatisticsPackage(); /** - * - * *
      * An option to control the selection of optimizer statistics package.
      * This parameter allows individual queries to use a different query
@@ -358,30 +317,27 @@ public interface QueryOptionsOrBuilder
      * 
* * string optimizer_statistics_package = 2; - * * @return The bytes for optimizerStatisticsPackage. */ - com.google.protobuf.ByteString getOptimizerStatisticsPackageBytes(); + com.google.protobuf.ByteString + getOptimizerStatisticsPackageBytes(); } /** - * - * *
    * Query optimizer configuration.
    * 
* * Protobuf type {@code google.spanner.v1.ExecuteSqlRequest.QueryOptions} */ - public static final class QueryOptions extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class QueryOptions extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.v1.ExecuteSqlRequest.QueryOptions) QueryOptionsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use QueryOptions.newBuilder() to construct. private QueryOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private QueryOptions() { optimizerVersion_ = ""; optimizerStatisticsPackage_ = ""; @@ -389,37 +345,33 @@ private QueryOptions() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new QueryOptions(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_ExecuteSqlRequest_QueryOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteSqlRequest_QueryOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_ExecuteSqlRequest_QueryOptions_fieldAccessorTable + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteSqlRequest_QueryOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.class, - com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.Builder.class); + com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.class, com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.Builder.class); } public static final int OPTIMIZER_VERSION_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object optimizerVersion_ = ""; /** - * - * *
      * An option to control the selection of optimizer version.
      * This parameter allows individual queries to pick different query
@@ -440,7 +392,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * string optimizer_version = 1; - * * @return The optimizerVersion. */ @java.lang.Override @@ -449,15 +400,14 @@ public java.lang.String getOptimizerVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); optimizerVersion_ = s; return s; } } /** - * - * *
      * An option to control the selection of optimizer version.
      * This parameter allows individual queries to pick different query
@@ -478,15 +428,16 @@ public java.lang.String getOptimizerVersion() {
      * 
* * string optimizer_version = 1; - * * @return The bytes for optimizerVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getOptimizerVersionBytes() { + public com.google.protobuf.ByteString + getOptimizerVersionBytes() { java.lang.Object ref = optimizerVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); optimizerVersion_ = b; return b; } else { @@ -495,12 +446,9 @@ public com.google.protobuf.ByteString getOptimizerVersionBytes() { } public static final int OPTIMIZER_STATISTICS_PACKAGE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object optimizerStatisticsPackage_ = ""; /** - * - * *
      * An option to control the selection of optimizer statistics package.
      * This parameter allows individual queries to use a different query
@@ -523,7 +471,6 @@ public com.google.protobuf.ByteString getOptimizerVersionBytes() {
      * 
* * string optimizer_statistics_package = 2; - * * @return The optimizerStatisticsPackage. */ @java.lang.Override @@ -532,15 +479,14 @@ public java.lang.String getOptimizerStatisticsPackage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); optimizerStatisticsPackage_ = s; return s; } } /** - * - * *
      * An option to control the selection of optimizer statistics package.
      * This parameter allows individual queries to use a different query
@@ -563,15 +509,16 @@ public java.lang.String getOptimizerStatisticsPackage() {
      * 
* * string optimizer_statistics_package = 2; - * * @return The bytes for optimizerStatisticsPackage. */ @java.lang.Override - public com.google.protobuf.ByteString getOptimizerStatisticsPackageBytes() { + public com.google.protobuf.ByteString + getOptimizerStatisticsPackageBytes() { java.lang.Object ref = optimizerStatisticsPackage_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); optimizerStatisticsPackage_ = b; return b; } else { @@ -580,7 +527,6 @@ public com.google.protobuf.ByteString getOptimizerStatisticsPackageBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -592,7 +538,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(optimizerVersion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, optimizerVersion_); } @@ -612,9 +559,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, optimizerVersion_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(optimizerStatisticsPackage_)) { - size += - com.google.protobuf.GeneratedMessageV3.computeStringSize( - 2, optimizerStatisticsPackage_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, optimizerStatisticsPackage_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -624,17 +569,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.spanner.v1.ExecuteSqlRequest.QueryOptions)) { return super.equals(obj); } - com.google.spanner.v1.ExecuteSqlRequest.QueryOptions other = - (com.google.spanner.v1.ExecuteSqlRequest.QueryOptions) obj; + com.google.spanner.v1.ExecuteSqlRequest.QueryOptions other = (com.google.spanner.v1.ExecuteSqlRequest.QueryOptions) obj; - if (!getOptimizerVersion().equals(other.getOptimizerVersion())) return false; - if (!getOptimizerStatisticsPackage().equals(other.getOptimizerStatisticsPackage())) - return false; + if (!getOptimizerVersion() + .equals(other.getOptimizerVersion())) return false; + if (!getOptimizerStatisticsPackage() + .equals(other.getOptimizerStatisticsPackage())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -656,94 +601,87 @@ public int hashCode() { } public static com.google.spanner.v1.ExecuteSqlRequest.QueryOptions parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.ExecuteSqlRequest.QueryOptions parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.ExecuteSqlRequest.QueryOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.ExecuteSqlRequest.QueryOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.ExecuteSqlRequest.QueryOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.ExecuteSqlRequest.QueryOptions parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.v1.ExecuteSqlRequest.QueryOptions parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.v1.ExecuteSqlRequest.QueryOptions parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.ExecuteSqlRequest.QueryOptions parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.spanner.v1.ExecuteSqlRequest.QueryOptions parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.v1.ExecuteSqlRequest.QueryOptions parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.v1.ExecuteSqlRequest.QueryOptions parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.ExecuteSqlRequest.QueryOptions parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.ExecuteSqlRequest.QueryOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.v1.ExecuteSqlRequest.QueryOptions prototype) { + public static Builder newBuilder(com.google.spanner.v1.ExecuteSqlRequest.QueryOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -753,41 +691,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Query optimizer configuration.
      * 
* * Protobuf type {@code google.spanner.v1.ExecuteSqlRequest.QueryOptions} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.ExecuteSqlRequest.QueryOptions) com.google.spanner.v1.ExecuteSqlRequest.QueryOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_ExecuteSqlRequest_QueryOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteSqlRequest_QueryOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_ExecuteSqlRequest_QueryOptions_fieldAccessorTable + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteSqlRequest_QueryOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.class, - com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.Builder.class); + com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.class, com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.Builder.class); } // Construct using com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -798,9 +734,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_ExecuteSqlRequest_QueryOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteSqlRequest_QueryOptions_descriptor; } @java.lang.Override @@ -819,11 +755,8 @@ public com.google.spanner.v1.ExecuteSqlRequest.QueryOptions build() { @java.lang.Override public com.google.spanner.v1.ExecuteSqlRequest.QueryOptions buildPartial() { - com.google.spanner.v1.ExecuteSqlRequest.QueryOptions result = - new com.google.spanner.v1.ExecuteSqlRequest.QueryOptions(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.v1.ExecuteSqlRequest.QueryOptions result = new com.google.spanner.v1.ExecuteSqlRequest.QueryOptions(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -842,41 +775,38 @@ private void buildPartial0(com.google.spanner.v1.ExecuteSqlRequest.QueryOptions public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.spanner.v1.ExecuteSqlRequest.QueryOptions) { - return mergeFrom((com.google.spanner.v1.ExecuteSqlRequest.QueryOptions) other); + return mergeFrom((com.google.spanner.v1.ExecuteSqlRequest.QueryOptions)other); } else { super.mergeFrom(other); return this; @@ -884,8 +814,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.v1.ExecuteSqlRequest.QueryOptions other) { - if (other == com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.getDefaultInstance()) - return this; + if (other == com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.getDefaultInstance()) return this; if (!other.getOptimizerVersion().isEmpty()) { optimizerVersion_ = other.optimizerVersion_; bitField0_ |= 0x00000001; @@ -922,25 +851,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - optimizerVersion_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - optimizerStatisticsPackage_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + optimizerVersion_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + optimizerStatisticsPackage_ = 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) { @@ -950,13 +876,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object optimizerVersion_ = ""; /** - * - * *
        * An option to control the selection of optimizer version.
        * This parameter allows individual queries to pick different query
@@ -977,13 +900,13 @@ public Builder mergeFrom(
        * 
* * string optimizer_version = 1; - * * @return The optimizerVersion. */ public java.lang.String getOptimizerVersion() { java.lang.Object ref = optimizerVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); optimizerVersion_ = s; return s; @@ -992,8 +915,6 @@ public java.lang.String getOptimizerVersion() { } } /** - * - * *
        * An option to control the selection of optimizer version.
        * This parameter allows individual queries to pick different query
@@ -1014,14 +935,15 @@ public java.lang.String getOptimizerVersion() {
        * 
* * string optimizer_version = 1; - * * @return The bytes for optimizerVersion. */ - public com.google.protobuf.ByteString getOptimizerVersionBytes() { + public com.google.protobuf.ByteString + getOptimizerVersionBytes() { java.lang.Object ref = optimizerVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); optimizerVersion_ = b; return b; } else { @@ -1029,8 +951,6 @@ public com.google.protobuf.ByteString getOptimizerVersionBytes() { } } /** - * - * *
        * An option to control the selection of optimizer version.
        * This parameter allows individual queries to pick different query
@@ -1051,22 +971,18 @@ public com.google.protobuf.ByteString getOptimizerVersionBytes() {
        * 
* * string optimizer_version = 1; - * * @param value The optimizerVersion to set. * @return This builder for chaining. */ - public Builder setOptimizerVersion(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOptimizerVersion( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } optimizerVersion_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * An option to control the selection of optimizer version.
        * This parameter allows individual queries to pick different query
@@ -1087,7 +1003,6 @@ public Builder setOptimizerVersion(java.lang.String value) {
        * 
* * string optimizer_version = 1; - * * @return This builder for chaining. */ public Builder clearOptimizerVersion() { @@ -1097,8 +1012,6 @@ public Builder clearOptimizerVersion() { return this; } /** - * - * *
        * An option to control the selection of optimizer version.
        * This parameter allows individual queries to pick different query
@@ -1119,14 +1032,12 @@ public Builder clearOptimizerVersion() {
        * 
* * string optimizer_version = 1; - * * @param value The bytes for optimizerVersion to set. * @return This builder for chaining. */ - public Builder setOptimizerVersionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOptimizerVersionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); optimizerVersion_ = value; bitField0_ |= 0x00000001; @@ -1136,8 +1047,6 @@ public Builder setOptimizerVersionBytes(com.google.protobuf.ByteString value) { private java.lang.Object optimizerStatisticsPackage_ = ""; /** - * - * *
        * An option to control the selection of optimizer statistics package.
        * This parameter allows individual queries to use a different query
@@ -1160,13 +1069,13 @@ public Builder setOptimizerVersionBytes(com.google.protobuf.ByteString value) {
        * 
* * string optimizer_statistics_package = 2; - * * @return The optimizerStatisticsPackage. */ public java.lang.String getOptimizerStatisticsPackage() { java.lang.Object ref = optimizerStatisticsPackage_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); optimizerStatisticsPackage_ = s; return s; @@ -1175,8 +1084,6 @@ public java.lang.String getOptimizerStatisticsPackage() { } } /** - * - * *
        * An option to control the selection of optimizer statistics package.
        * This parameter allows individual queries to use a different query
@@ -1199,14 +1106,15 @@ public java.lang.String getOptimizerStatisticsPackage() {
        * 
* * string optimizer_statistics_package = 2; - * * @return The bytes for optimizerStatisticsPackage. */ - public com.google.protobuf.ByteString getOptimizerStatisticsPackageBytes() { + public com.google.protobuf.ByteString + getOptimizerStatisticsPackageBytes() { java.lang.Object ref = optimizerStatisticsPackage_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); optimizerStatisticsPackage_ = b; return b; } else { @@ -1214,8 +1122,6 @@ public com.google.protobuf.ByteString getOptimizerStatisticsPackageBytes() { } } /** - * - * *
        * An option to control the selection of optimizer statistics package.
        * This parameter allows individual queries to use a different query
@@ -1238,22 +1144,18 @@ public com.google.protobuf.ByteString getOptimizerStatisticsPackageBytes() {
        * 
* * string optimizer_statistics_package = 2; - * * @param value The optimizerStatisticsPackage to set. * @return This builder for chaining. */ - public Builder setOptimizerStatisticsPackage(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOptimizerStatisticsPackage( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } optimizerStatisticsPackage_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * An option to control the selection of optimizer statistics package.
        * This parameter allows individual queries to use a different query
@@ -1276,7 +1178,6 @@ public Builder setOptimizerStatisticsPackage(java.lang.String value) {
        * 
* * string optimizer_statistics_package = 2; - * * @return This builder for chaining. */ public Builder clearOptimizerStatisticsPackage() { @@ -1286,8 +1187,6 @@ public Builder clearOptimizerStatisticsPackage() { return this; } /** - * - * *
        * An option to control the selection of optimizer statistics package.
        * This parameter allows individual queries to use a different query
@@ -1310,21 +1209,18 @@ public Builder clearOptimizerStatisticsPackage() {
        * 
* * string optimizer_statistics_package = 2; - * * @param value The bytes for optimizerStatisticsPackage to set. * @return This builder for chaining. */ - public Builder setOptimizerStatisticsPackageBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOptimizerStatisticsPackageBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); optimizerStatisticsPackage_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1337,12 +1233,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.v1.ExecuteSqlRequest.QueryOptions) } // @@protoc_insertion_point(class_scope:google.spanner.v1.ExecuteSqlRequest.QueryOptions) private static final com.google.spanner.v1.ExecuteSqlRequest.QueryOptions DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.v1.ExecuteSqlRequest.QueryOptions(); } @@ -1351,28 +1247,27 @@ public static com.google.spanner.v1.ExecuteSqlRequest.QueryOptions getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QueryOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QueryOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1387,23 +1282,18 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.ExecuteSqlRequest.QueryOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int SESSION_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object session_ = ""; /** - * - * *
    * Required. The session in which the SQL query should be performed.
    * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The session. */ @java.lang.Override @@ -1412,31 +1302,29 @@ public java.lang.String getSession() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); session_ = s; return s; } } /** - * - * *
    * Required. The session in which the SQL query should be performed.
    * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for session. */ @java.lang.Override - public com.google.protobuf.ByteString getSessionBytes() { + public com.google.protobuf.ByteString + getSessionBytes() { java.lang.Object ref = session_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); session_ = b; return b; } else { @@ -1447,8 +1335,6 @@ public com.google.protobuf.ByteString getSessionBytes() { public static final int TRANSACTION_FIELD_NUMBER = 2; private com.google.spanner.v1.TransactionSelector transaction_; /** - * - * *
    * The transaction to use.
    * For queries, if none is provided, the default is a temporary read-only
@@ -1460,7 +1346,6 @@ public com.google.protobuf.ByteString getSessionBytes() {
    * 
* * .google.spanner.v1.TransactionSelector transaction = 2; - * * @return Whether the transaction field is set. */ @java.lang.Override @@ -1468,8 +1353,6 @@ public boolean hasTransaction() { return transaction_ != null; } /** - * - * *
    * The transaction to use.
    * For queries, if none is provided, the default is a temporary read-only
@@ -1481,18 +1364,13 @@ public boolean hasTransaction() {
    * 
* * .google.spanner.v1.TransactionSelector transaction = 2; - * * @return The transaction. */ @java.lang.Override public com.google.spanner.v1.TransactionSelector getTransaction() { - return transaction_ == null - ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() - : transaction_; + return transaction_ == null ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() : transaction_; } /** - * - * *
    * The transaction to use.
    * For queries, if none is provided, the default is a temporary read-only
@@ -1507,24 +1385,18 @@ public com.google.spanner.v1.TransactionSelector getTransaction() {
    */
   @java.lang.Override
   public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilder() {
-    return transaction_ == null
-        ? com.google.spanner.v1.TransactionSelector.getDefaultInstance()
-        : transaction_;
+    return transaction_ == null ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() : transaction_;
   }
 
   public static final int SQL_FIELD_NUMBER = 3;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object sql_ = "";
   /**
-   *
-   *
    * 
    * Required. The SQL string.
    * 
* * string sql = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The sql. */ @java.lang.Override @@ -1533,29 +1405,29 @@ public java.lang.String getSql() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sql_ = s; return s; } } /** - * - * *
    * Required. The SQL string.
    * 
* * string sql = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for sql. */ @java.lang.Override - public com.google.protobuf.ByteString getSqlBytes() { + public com.google.protobuf.ByteString + getSqlBytes() { java.lang.Object ref = sql_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sql_ = b; return b; } else { @@ -1566,8 +1438,6 @@ public com.google.protobuf.ByteString getSqlBytes() { public static final int PARAMS_FIELD_NUMBER = 4; private com.google.protobuf.Struct params_; /** - * - * *
    * Parameter names and values that bind to placeholders in the SQL string.
    * A parameter placeholder consists of the `@` character followed by the
@@ -1581,7 +1451,6 @@ public com.google.protobuf.ByteString getSqlBytes() {
    * 
* * .google.protobuf.Struct params = 4; - * * @return Whether the params field is set. */ @java.lang.Override @@ -1589,8 +1458,6 @@ public boolean hasParams() { return params_ != null; } /** - * - * *
    * Parameter names and values that bind to placeholders in the SQL string.
    * A parameter placeholder consists of the `@` character followed by the
@@ -1604,7 +1471,6 @@ public boolean hasParams() {
    * 
* * .google.protobuf.Struct params = 4; - * * @return The params. */ @java.lang.Override @@ -1612,8 +1478,6 @@ public com.google.protobuf.Struct getParams() { return params_ == null ? com.google.protobuf.Struct.getDefaultInstance() : params_; } /** - * - * *
    * Parameter names and values that bind to placeholders in the SQL string.
    * A parameter placeholder consists of the `@` character followed by the
@@ -1634,37 +1498,32 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
   }
 
   public static final int PARAM_TYPES_FIELD_NUMBER = 5;
-
   private static final class ParamTypesDefaultEntryHolder {
-    static final com.google.protobuf.MapEntry
-        defaultEntry =
+    static final com.google.protobuf.MapEntry<
+        java.lang.String, com.google.spanner.v1.Type> defaultEntry =
             com.google.protobuf.MapEntry
-                .newDefaultInstance(
-                    com.google.spanner.v1.SpannerProto
-                        .internal_static_google_spanner_v1_ExecuteSqlRequest_ParamTypesEntry_descriptor,
-                    com.google.protobuf.WireFormat.FieldType.STRING,
-                    "",
-                    com.google.protobuf.WireFormat.FieldType.MESSAGE,
-                    com.google.spanner.v1.Type.getDefaultInstance());
+            .newDefaultInstance(
+                com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteSqlRequest_ParamTypesEntry_descriptor, 
+                com.google.protobuf.WireFormat.FieldType.STRING,
+                "",
+                com.google.protobuf.WireFormat.FieldType.MESSAGE,
+                com.google.spanner.v1.Type.getDefaultInstance());
   }
-
   @SuppressWarnings("serial")
-  private com.google.protobuf.MapField paramTypes_;
-
+  private com.google.protobuf.MapField<
+      java.lang.String, com.google.spanner.v1.Type> paramTypes_;
   private com.google.protobuf.MapField
-      internalGetParamTypes() {
+  internalGetParamTypes() {
     if (paramTypes_ == null) {
-      return com.google.protobuf.MapField.emptyMapField(ParamTypesDefaultEntryHolder.defaultEntry);
+      return com.google.protobuf.MapField.emptyMapField(
+          ParamTypesDefaultEntryHolder.defaultEntry);
     }
     return paramTypes_;
   }
-
   public int getParamTypesCount() {
     return internalGetParamTypes().getMap().size();
   }
   /**
-   *
-   *
    * 
    * It is not always possible for Cloud Spanner to infer the right SQL type
    * from a JSON value.  For example, values of type `BYTES` and values
@@ -1678,21 +1537,20 @@ public int getParamTypesCount() {
    * map<string, .google.spanner.v1.Type> param_types = 5;
    */
   @java.lang.Override
-  public boolean containsParamTypes(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsParamTypes(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetParamTypes().getMap().containsKey(key);
   }
-  /** Use {@link #getParamTypesMap()} instead. */
+  /**
+   * Use {@link #getParamTypesMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getParamTypes() {
     return getParamTypesMap();
   }
   /**
-   *
-   *
    * 
    * It is not always possible for Cloud Spanner to infer the right SQL type
    * from a JSON value.  For example, values of type `BYTES` and values
@@ -1710,8 +1568,6 @@ public java.util.Map getParamTypes
     return internalGetParamTypes().getMap();
   }
   /**
-   *
-   *
    * 
    * It is not always possible for Cloud Spanner to infer the right SQL type
    * from a JSON value.  For example, values of type `BYTES` and values
@@ -1725,20 +1581,17 @@ public java.util.Map getParamTypes
    * map<string, .google.spanner.v1.Type> param_types = 5;
    */
   @java.lang.Override
-  public /* nullable */ com.google.spanner.v1.Type getParamTypesOrDefault(
+  public /* nullable */
+com.google.spanner.v1.Type getParamTypesOrDefault(
       java.lang.String key,
       /* nullable */
-      com.google.spanner.v1.Type defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+com.google.spanner.v1.Type defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
     java.util.Map map =
         internalGetParamTypes().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * It is not always possible for Cloud Spanner to infer the right SQL type
    * from a JSON value.  For example, values of type `BYTES` and values
@@ -1752,10 +1605,9 @@ public java.util.Map getParamTypes
    * map<string, .google.spanner.v1.Type> param_types = 5;
    */
   @java.lang.Override
-  public com.google.spanner.v1.Type getParamTypesOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public com.google.spanner.v1.Type getParamTypesOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     java.util.Map map =
         internalGetParamTypes().getMap();
     if (!map.containsKey(key)) {
@@ -1767,8 +1619,6 @@ public com.google.spanner.v1.Type getParamTypesOrThrow(java.lang.String key) {
   public static final int RESUME_TOKEN_FIELD_NUMBER = 6;
   private com.google.protobuf.ByteString resumeToken_ = com.google.protobuf.ByteString.EMPTY;
   /**
-   *
-   *
    * 
    * If this request is resuming a previously interrupted SQL statement
    * execution, `resume_token` should be copied from the last
@@ -1779,7 +1629,6 @@ public com.google.spanner.v1.Type getParamTypesOrThrow(java.lang.String key) {
    * 
* * bytes resume_token = 6; - * * @return The resumeToken. */ @java.lang.Override @@ -1790,8 +1639,6 @@ public com.google.protobuf.ByteString getResumeToken() { public static final int QUERY_MODE_FIELD_NUMBER = 7; private int queryMode_ = 0; /** - * - * *
    * Used to control the amount of debugging information returned in
    * [ResultSetStats][google.spanner.v1.ResultSetStats]. If [partition_token][google.spanner.v1.ExecuteSqlRequest.partition_token] is set, [query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode] can only
@@ -1799,16 +1646,12 @@ public com.google.protobuf.ByteString getResumeToken() {
    * 
* * .google.spanner.v1.ExecuteSqlRequest.QueryMode query_mode = 7; - * * @return The enum numeric value on the wire for queryMode. */ - @java.lang.Override - public int getQueryModeValue() { + @java.lang.Override public int getQueryModeValue() { return queryMode_; } /** - * - * *
    * Used to control the amount of debugging information returned in
    * [ResultSetStats][google.spanner.v1.ResultSetStats]. If [partition_token][google.spanner.v1.ExecuteSqlRequest.partition_token] is set, [query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode] can only
@@ -1816,21 +1659,16 @@ public int getQueryModeValue() {
    * 
* * .google.spanner.v1.ExecuteSqlRequest.QueryMode query_mode = 7; - * * @return The queryMode. */ - @java.lang.Override - public com.google.spanner.v1.ExecuteSqlRequest.QueryMode getQueryMode() { - com.google.spanner.v1.ExecuteSqlRequest.QueryMode result = - com.google.spanner.v1.ExecuteSqlRequest.QueryMode.forNumber(queryMode_); + @java.lang.Override public com.google.spanner.v1.ExecuteSqlRequest.QueryMode getQueryMode() { + com.google.spanner.v1.ExecuteSqlRequest.QueryMode result = com.google.spanner.v1.ExecuteSqlRequest.QueryMode.forNumber(queryMode_); return result == null ? com.google.spanner.v1.ExecuteSqlRequest.QueryMode.UNRECOGNIZED : result; } public static final int PARTITION_TOKEN_FIELD_NUMBER = 8; private com.google.protobuf.ByteString partitionToken_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
    * If present, results will be restricted to the specified partition
    * previously created using PartitionQuery().  There must be an exact
@@ -1839,7 +1677,6 @@ public com.google.spanner.v1.ExecuteSqlRequest.QueryMode getQueryMode() {
    * 
* * bytes partition_token = 8; - * * @return The partitionToken. */ @java.lang.Override @@ -1850,8 +1687,6 @@ public com.google.protobuf.ByteString getPartitionToken() { public static final int SEQNO_FIELD_NUMBER = 9; private long seqno_ = 0L; /** - * - * *
    * A per-transaction sequence number used to identify this request. This field
    * makes each request idempotent such that if the request is received multiple
@@ -1864,7 +1699,6 @@ public com.google.protobuf.ByteString getPartitionToken() {
    * 
* * int64 seqno = 9; - * * @return The seqno. */ @java.lang.Override @@ -1875,14 +1709,11 @@ public long getSeqno() { public static final int QUERY_OPTIONS_FIELD_NUMBER = 10; private com.google.spanner.v1.ExecuteSqlRequest.QueryOptions queryOptions_; /** - * - * *
    * Query optimizer configuration to use for the given query.
    * 
* * .google.spanner.v1.ExecuteSqlRequest.QueryOptions query_options = 10; - * * @return Whether the queryOptions field is set. */ @java.lang.Override @@ -1890,25 +1721,18 @@ public boolean hasQueryOptions() { return queryOptions_ != null; } /** - * - * *
    * Query optimizer configuration to use for the given query.
    * 
* * .google.spanner.v1.ExecuteSqlRequest.QueryOptions query_options = 10; - * * @return The queryOptions. */ @java.lang.Override public com.google.spanner.v1.ExecuteSqlRequest.QueryOptions getQueryOptions() { - return queryOptions_ == null - ? com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.getDefaultInstance() - : queryOptions_; + return queryOptions_ == null ? com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.getDefaultInstance() : queryOptions_; } /** - * - * *
    * Query optimizer configuration to use for the given query.
    * 
@@ -1917,22 +1741,17 @@ public com.google.spanner.v1.ExecuteSqlRequest.QueryOptions getQueryOptions() { */ @java.lang.Override public com.google.spanner.v1.ExecuteSqlRequest.QueryOptionsOrBuilder getQueryOptionsOrBuilder() { - return queryOptions_ == null - ? com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.getDefaultInstance() - : queryOptions_; + return queryOptions_ == null ? com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.getDefaultInstance() : queryOptions_; } public static final int REQUEST_OPTIONS_FIELD_NUMBER = 11; private com.google.spanner.v1.RequestOptions requestOptions_; /** - * - * *
    * Common options for this request.
    * 
* * .google.spanner.v1.RequestOptions request_options = 11; - * * @return Whether the requestOptions field is set. */ @java.lang.Override @@ -1940,25 +1759,18 @@ public boolean hasRequestOptions() { return requestOptions_ != null; } /** - * - * *
    * Common options for this request.
    * 
* * .google.spanner.v1.RequestOptions request_options = 11; - * * @return The requestOptions. */ @java.lang.Override public com.google.spanner.v1.RequestOptions getRequestOptions() { - return requestOptions_ == null - ? com.google.spanner.v1.RequestOptions.getDefaultInstance() - : requestOptions_; + return requestOptions_ == null ? com.google.spanner.v1.RequestOptions.getDefaultInstance() : requestOptions_; } /** - * - * *
    * Common options for this request.
    * 
@@ -1967,16 +1779,12 @@ public com.google.spanner.v1.RequestOptions getRequestOptions() { */ @java.lang.Override public com.google.spanner.v1.RequestOptionsOrBuilder getRequestOptionsOrBuilder() { - return requestOptions_ == null - ? com.google.spanner.v1.RequestOptions.getDefaultInstance() - : requestOptions_; + return requestOptions_ == null ? com.google.spanner.v1.RequestOptions.getDefaultInstance() : requestOptions_; } public static final int DATA_BOOST_ENABLED_FIELD_NUMBER = 16; private boolean dataBoostEnabled_ = false; /** - * - * *
    * If this is for a partitioned query and this field is set to `true`, the
    * request will be executed via Spanner independent compute resources.
@@ -1985,7 +1793,6 @@ public com.google.spanner.v1.RequestOptionsOrBuilder getRequestOptionsOrBuilder(
    * 
* * bool data_boost_enabled = 16; - * * @return The dataBoostEnabled. */ @java.lang.Override @@ -1994,7 +1801,6 @@ public boolean getDataBoostEnabled() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2006,7 +1812,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(session_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, session_); } @@ -2019,8 +1826,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (params_ != null) { output.writeMessage(4, getParams()); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetParamTypes(), ParamTypesDefaultEntryHolder.defaultEntry, 5); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetParamTypes(), + ParamTypesDefaultEntryHolder.defaultEntry, + 5); if (!resumeToken_.isEmpty()) { output.writeBytes(6, resumeToken_); } @@ -2055,44 +1866,53 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, session_); } if (transaction_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTransaction()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTransaction()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sql_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, sql_); } if (params_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getParams()); - } - for (java.util.Map.Entry entry : - internalGetParamTypes().getMap().entrySet()) { - com.google.protobuf.MapEntry paramTypes__ = - ParamTypesDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, paramTypes__); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getParams()); + } + for (java.util.Map.Entry entry + : internalGetParamTypes().getMap().entrySet()) { + com.google.protobuf.MapEntry + paramTypes__ = ParamTypesDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, paramTypes__); } if (!resumeToken_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(6, resumeToken_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(6, resumeToken_); } if (queryMode_ != com.google.spanner.v1.ExecuteSqlRequest.QueryMode.NORMAL.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, queryMode_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(7, queryMode_); } if (!partitionToken_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(8, partitionToken_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(8, partitionToken_); } if (seqno_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(9, seqno_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(9, seqno_); } if (queryOptions_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getQueryOptions()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, getQueryOptions()); } if (requestOptions_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getRequestOptions()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, getRequestOptions()); } if (dataBoostEnabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(16, dataBoostEnabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(16, dataBoostEnabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2102,37 +1922,48 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.v1.ExecuteSqlRequest)) { return super.equals(obj); } com.google.spanner.v1.ExecuteSqlRequest other = (com.google.spanner.v1.ExecuteSqlRequest) obj; - if (!getSession().equals(other.getSession())) return false; + if (!getSession() + .equals(other.getSession())) return false; if (hasTransaction() != other.hasTransaction()) return false; if (hasTransaction()) { - if (!getTransaction().equals(other.getTransaction())) return false; + if (!getTransaction() + .equals(other.getTransaction())) return false; } - if (!getSql().equals(other.getSql())) return false; + if (!getSql() + .equals(other.getSql())) return false; if (hasParams() != other.hasParams()) return false; if (hasParams()) { - if (!getParams().equals(other.getParams())) return false; + if (!getParams() + .equals(other.getParams())) return false; } - if (!internalGetParamTypes().equals(other.internalGetParamTypes())) return false; - if (!getResumeToken().equals(other.getResumeToken())) return false; + if (!internalGetParamTypes().equals( + other.internalGetParamTypes())) return false; + if (!getResumeToken() + .equals(other.getResumeToken())) return false; if (queryMode_ != other.queryMode_) return false; - if (!getPartitionToken().equals(other.getPartitionToken())) return false; - if (getSeqno() != other.getSeqno()) return false; + if (!getPartitionToken() + .equals(other.getPartitionToken())) return false; + if (getSeqno() + != other.getSeqno()) return false; if (hasQueryOptions() != other.hasQueryOptions()) return false; if (hasQueryOptions()) { - if (!getQueryOptions().equals(other.getQueryOptions())) return false; + if (!getQueryOptions() + .equals(other.getQueryOptions())) return false; } if (hasRequestOptions() != other.hasRequestOptions()) return false; if (hasRequestOptions()) { - if (!getRequestOptions().equals(other.getRequestOptions())) return false; + if (!getRequestOptions() + .equals(other.getRequestOptions())) return false; } - if (getDataBoostEnabled() != other.getDataBoostEnabled()) return false; + if (getDataBoostEnabled() + != other.getDataBoostEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2167,7 +1998,8 @@ public int hashCode() { hash = (37 * hash) + PARTITION_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getPartitionToken().hashCode(); hash = (37 * hash) + SEQNO_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getSeqno()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getSeqno()); if (hasQueryOptions()) { hash = (37 * hash) + QUERY_OPTIONS_FIELD_NUMBER; hash = (53 * hash) + getQueryOptions().hashCode(); @@ -2177,110 +2009,104 @@ public int hashCode() { hash = (53 * hash) + getRequestOptions().hashCode(); } hash = (37 * hash) + DATA_BOOST_ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDataBoostEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDataBoostEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.spanner.v1.ExecuteSqlRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.v1.ExecuteSqlRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.ExecuteSqlRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.ExecuteSqlRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.ExecuteSqlRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.ExecuteSqlRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.ExecuteSqlRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.ExecuteSqlRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.ExecuteSqlRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.spanner.v1.ExecuteSqlRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.v1.ExecuteSqlRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.v1.ExecuteSqlRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.ExecuteSqlRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.ExecuteSqlRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.v1.ExecuteSqlRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql] and
    * [ExecuteStreamingSql][google.spanner.v1.Spanner.ExecuteStreamingSql].
@@ -2288,52 +2114,55 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.v1.ExecuteSqlRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.v1.ExecuteSqlRequest)
       com.google.spanner.v1.ExecuteSqlRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.v1.SpannerProto
-          .internal_static_google_spanner_v1_ExecuteSqlRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteSqlRequest_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 5:
           return internalGetParamTypes();
         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 internalGetMutableParamTypes();
         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.spanner.v1.SpannerProto
-          .internal_static_google_spanner_v1_ExecuteSqlRequest_fieldAccessorTable
+      return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteSqlRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.v1.ExecuteSqlRequest.class,
-              com.google.spanner.v1.ExecuteSqlRequest.Builder.class);
+              com.google.spanner.v1.ExecuteSqlRequest.class, com.google.spanner.v1.ExecuteSqlRequest.Builder.class);
     }
 
     // Construct using com.google.spanner.v1.ExecuteSqlRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2370,9 +2199,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.v1.SpannerProto
-          .internal_static_google_spanner_v1_ExecuteSqlRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteSqlRequest_descriptor;
     }
 
     @java.lang.Override
@@ -2391,11 +2220,8 @@ public com.google.spanner.v1.ExecuteSqlRequest build() {
 
     @java.lang.Override
     public com.google.spanner.v1.ExecuteSqlRequest buildPartial() {
-      com.google.spanner.v1.ExecuteSqlRequest result =
-          new com.google.spanner.v1.ExecuteSqlRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.v1.ExecuteSqlRequest result = new com.google.spanner.v1.ExecuteSqlRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -2406,14 +2232,17 @@ private void buildPartial0(com.google.spanner.v1.ExecuteSqlRequest result) {
         result.session_ = session_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.transaction_ =
-            transactionBuilder_ == null ? transaction_ : transactionBuilder_.build();
+        result.transaction_ = transactionBuilder_ == null
+            ? transaction_
+            : transactionBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
         result.sql_ = sql_;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.params_ = paramsBuilder_ == null ? params_ : paramsBuilder_.build();
+        result.params_ = paramsBuilder_ == null
+            ? params_
+            : paramsBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
         result.paramTypes_ = internalGetParamTypes();
@@ -2432,12 +2261,14 @@ private void buildPartial0(com.google.spanner.v1.ExecuteSqlRequest result) {
         result.seqno_ = seqno_;
       }
       if (((from_bitField0_ & 0x00000200) != 0)) {
-        result.queryOptions_ =
-            queryOptionsBuilder_ == null ? queryOptions_ : queryOptionsBuilder_.build();
+        result.queryOptions_ = queryOptionsBuilder_ == null
+            ? queryOptions_
+            : queryOptionsBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000400) != 0)) {
-        result.requestOptions_ =
-            requestOptionsBuilder_ == null ? requestOptions_ : requestOptionsBuilder_.build();
+        result.requestOptions_ = requestOptionsBuilder_ == null
+            ? requestOptions_
+            : requestOptionsBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000800) != 0)) {
         result.dataBoostEnabled_ = dataBoostEnabled_;
@@ -2448,39 +2279,38 @@ private void buildPartial0(com.google.spanner.v1.ExecuteSqlRequest 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.spanner.v1.ExecuteSqlRequest) {
-        return mergeFrom((com.google.spanner.v1.ExecuteSqlRequest) other);
+        return mergeFrom((com.google.spanner.v1.ExecuteSqlRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2505,7 +2335,8 @@ public Builder mergeFrom(com.google.spanner.v1.ExecuteSqlRequest other) {
       if (other.hasParams()) {
         mergeParams(other.getParams());
       }
-      internalGetMutableParamTypes().mergeFrom(other.internalGetParamTypes());
+      internalGetMutableParamTypes().mergeFrom(
+          other.internalGetParamTypes());
       bitField0_ |= 0x00000010;
       if (other.getResumeToken() != com.google.protobuf.ByteString.EMPTY) {
         setResumeToken(other.getResumeToken());
@@ -2554,92 +2385,84 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                session_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getTransactionFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                sql_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getParamsFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            case 42:
-              {
-                com.google.protobuf.MapEntry
-                    paramTypes__ =
-                        input.readMessage(
-                            ParamTypesDefaultEntryHolder.defaultEntry.getParserForType(),
-                            extensionRegistry);
-                internalGetMutableParamTypes()
-                    .getMutableMap()
-                    .put(paramTypes__.getKey(), paramTypes__.getValue());
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 42
-            case 50:
-              {
-                resumeToken_ = input.readBytes();
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 50
-            case 56:
-              {
-                queryMode_ = input.readEnum();
-                bitField0_ |= 0x00000040;
-                break;
-              } // case 56
-            case 66:
-              {
-                partitionToken_ = input.readBytes();
-                bitField0_ |= 0x00000080;
-                break;
-              } // case 66
-            case 72:
-              {
-                seqno_ = input.readInt64();
-                bitField0_ |= 0x00000100;
-                break;
-              } // case 72
-            case 82:
-              {
-                input.readMessage(getQueryOptionsFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000200;
-                break;
-              } // case 82
-            case 90:
-              {
-                input.readMessage(getRequestOptionsFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000400;
-                break;
-              } // case 90
-            case 128:
-              {
-                dataBoostEnabled_ = input.readBool();
-                bitField0_ |= 0x00000800;
-                break;
-              } // case 128
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              session_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getTransactionFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              sql_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getParamsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            case 42: {
+              com.google.protobuf.MapEntry
+              paramTypes__ = input.readMessage(
+                  ParamTypesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableParamTypes().getMutableMap().put(
+                  paramTypes__.getKey(), paramTypes__.getValue());
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 42
+            case 50: {
+              resumeToken_ = input.readBytes();
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 50
+            case 56: {
+              queryMode_ = input.readEnum();
+              bitField0_ |= 0x00000040;
+              break;
+            } // case 56
+            case 66: {
+              partitionToken_ = input.readBytes();
+              bitField0_ |= 0x00000080;
+              break;
+            } // case 66
+            case 72: {
+              seqno_ = input.readInt64();
+              bitField0_ |= 0x00000100;
+              break;
+            } // case 72
+            case 82: {
+              input.readMessage(
+                  getQueryOptionsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000200;
+              break;
+            } // case 82
+            case 90: {
+              input.readMessage(
+                  getRequestOptionsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000400;
+              break;
+            } // case 90
+            case 128: {
+              dataBoostEnabled_ = input.readBool();
+              bitField0_ |= 0x00000800;
+              break;
+            } // case 128
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2649,27 +2472,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object session_ = "";
     /**
-     *
-     *
      * 
      * Required. The session in which the SQL query should be performed.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The session. */ public java.lang.String getSession() { java.lang.Object ref = session_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); session_ = s; return s; @@ -2678,23 +2496,20 @@ public java.lang.String getSession() { } } /** - * - * *
      * Required. The session in which the SQL query should be performed.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for session. */ - public com.google.protobuf.ByteString getSessionBytes() { + public com.google.protobuf.ByteString + getSessionBytes() { java.lang.Object ref = session_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); session_ = b; return b; } else { @@ -2702,39 +2517,28 @@ public com.google.protobuf.ByteString getSessionBytes() { } } /** - * - * *
      * Required. The session in which the SQL query should be performed.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The session to set. * @return This builder for chaining. */ - public Builder setSession(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSession( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } session_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The session in which the SQL query should be performed.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearSession() { @@ -2744,23 +2548,17 @@ public Builder clearSession() { return this; } /** - * - * *
      * Required. The session in which the SQL query should be performed.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for session to set. * @return This builder for chaining. */ - public Builder setSessionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSessionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); session_ = value; bitField0_ |= 0x00000001; @@ -2770,13 +2568,8 @@ public Builder setSessionBytes(com.google.protobuf.ByteString value) { private com.google.spanner.v1.TransactionSelector transaction_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.TransactionSelector, - com.google.spanner.v1.TransactionSelector.Builder, - com.google.spanner.v1.TransactionSelectorOrBuilder> - transactionBuilder_; + com.google.spanner.v1.TransactionSelector, com.google.spanner.v1.TransactionSelector.Builder, com.google.spanner.v1.TransactionSelectorOrBuilder> transactionBuilder_; /** - * - * *
      * The transaction to use.
      * For queries, if none is provided, the default is a temporary read-only
@@ -2788,15 +2581,12 @@ public Builder setSessionBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.spanner.v1.TransactionSelector transaction = 2; - * * @return Whether the transaction field is set. */ public boolean hasTransaction() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The transaction to use.
      * For queries, if none is provided, the default is a temporary read-only
@@ -2808,21 +2598,16 @@ public boolean hasTransaction() {
      * 
* * .google.spanner.v1.TransactionSelector transaction = 2; - * * @return The transaction. */ public com.google.spanner.v1.TransactionSelector getTransaction() { if (transactionBuilder_ == null) { - return transaction_ == null - ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() - : transaction_; + return transaction_ == null ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() : transaction_; } else { return transactionBuilder_.getMessage(); } } /** - * - * *
      * The transaction to use.
      * For queries, if none is provided, the default is a temporary read-only
@@ -2849,8 +2634,6 @@ public Builder setTransaction(com.google.spanner.v1.TransactionSelector value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The transaction to use.
      * For queries, if none is provided, the default is a temporary read-only
@@ -2875,8 +2658,6 @@ public Builder setTransaction(
       return this;
     }
     /**
-     *
-     *
      * 
      * The transaction to use.
      * For queries, if none is provided, the default is a temporary read-only
@@ -2891,9 +2672,9 @@ public Builder setTransaction(
      */
     public Builder mergeTransaction(com.google.spanner.v1.TransactionSelector value) {
       if (transactionBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && transaction_ != null
-            && transaction_ != com.google.spanner.v1.TransactionSelector.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          transaction_ != null &&
+          transaction_ != com.google.spanner.v1.TransactionSelector.getDefaultInstance()) {
           getTransactionBuilder().mergeFrom(value);
         } else {
           transaction_ = value;
@@ -2906,8 +2687,6 @@ public Builder mergeTransaction(com.google.spanner.v1.TransactionSelector value)
       return this;
     }
     /**
-     *
-     *
      * 
      * The transaction to use.
      * For queries, if none is provided, the default is a temporary read-only
@@ -2931,8 +2710,6 @@ public Builder clearTransaction() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The transaction to use.
      * For queries, if none is provided, the default is a temporary read-only
@@ -2951,8 +2728,6 @@ public com.google.spanner.v1.TransactionSelector.Builder getTransactionBuilder()
       return getTransactionFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The transaction to use.
      * For queries, if none is provided, the default is a temporary read-only
@@ -2969,14 +2744,11 @@ public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilde
       if (transactionBuilder_ != null) {
         return transactionBuilder_.getMessageOrBuilder();
       } else {
-        return transaction_ == null
-            ? com.google.spanner.v1.TransactionSelector.getDefaultInstance()
-            : transaction_;
+        return transaction_ == null ?
+            com.google.spanner.v1.TransactionSelector.getDefaultInstance() : transaction_;
       }
     }
     /**
-     *
-     *
      * 
      * The transaction to use.
      * For queries, if none is provided, the default is a temporary read-only
@@ -2990,17 +2762,14 @@ public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilde
      * .google.spanner.v1.TransactionSelector transaction = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.TransactionSelector,
-            com.google.spanner.v1.TransactionSelector.Builder,
-            com.google.spanner.v1.TransactionSelectorOrBuilder>
+        com.google.spanner.v1.TransactionSelector, com.google.spanner.v1.TransactionSelector.Builder, com.google.spanner.v1.TransactionSelectorOrBuilder> 
         getTransactionFieldBuilder() {
       if (transactionBuilder_ == null) {
-        transactionBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.v1.TransactionSelector,
-                com.google.spanner.v1.TransactionSelector.Builder,
-                com.google.spanner.v1.TransactionSelectorOrBuilder>(
-                getTransaction(), getParentForChildren(), isClean());
+        transactionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.v1.TransactionSelector, com.google.spanner.v1.TransactionSelector.Builder, com.google.spanner.v1.TransactionSelectorOrBuilder>(
+                getTransaction(),
+                getParentForChildren(),
+                isClean());
         transaction_ = null;
       }
       return transactionBuilder_;
@@ -3008,20 +2777,18 @@ public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilde
 
     private java.lang.Object sql_ = "";
     /**
-     *
-     *
      * 
      * Required. The SQL string.
      * 
* * string sql = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The sql. */ public java.lang.String getSql() { java.lang.Object ref = sql_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sql_ = s; return s; @@ -3030,21 +2797,20 @@ public java.lang.String getSql() { } } /** - * - * *
      * Required. The SQL string.
      * 
* * string sql = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for sql. */ - public com.google.protobuf.ByteString getSqlBytes() { + public com.google.protobuf.ByteString + getSqlBytes() { java.lang.Object ref = sql_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sql_ = b; return b; } else { @@ -3052,35 +2818,28 @@ public com.google.protobuf.ByteString getSqlBytes() { } } /** - * - * *
      * Required. The SQL string.
      * 
* * string sql = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The sql to set. * @return This builder for chaining. */ - public Builder setSql(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSql( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } sql_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Required. The SQL string.
      * 
* * string sql = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearSql() { @@ -3090,21 +2849,17 @@ public Builder clearSql() { return this; } /** - * - * *
      * Required. The SQL string.
      * 
* * string sql = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for sql to set. * @return This builder for chaining. */ - public Builder setSqlBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSqlBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sql_ = value; bitField0_ |= 0x00000004; @@ -3114,13 +2869,8 @@ public Builder setSqlBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Struct params_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, - com.google.protobuf.Struct.Builder, - com.google.protobuf.StructOrBuilder> - paramsBuilder_; + com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> paramsBuilder_; /** - * - * *
      * Parameter names and values that bind to placeholders in the SQL string.
      * A parameter placeholder consists of the `@` character followed by the
@@ -3134,15 +2884,12 @@ public Builder setSqlBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.protobuf.Struct params = 4; - * * @return Whether the params field is set. */ public boolean hasParams() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Parameter names and values that bind to placeholders in the SQL string.
      * A parameter placeholder consists of the `@` character followed by the
@@ -3156,7 +2903,6 @@ public boolean hasParams() {
      * 
* * .google.protobuf.Struct params = 4; - * * @return The params. */ public com.google.protobuf.Struct getParams() { @@ -3167,8 +2913,6 @@ public com.google.protobuf.Struct getParams() { } } /** - * - * *
      * Parameter names and values that bind to placeholders in the SQL string.
      * A parameter placeholder consists of the `@` character followed by the
@@ -3197,8 +2941,6 @@ public Builder setParams(com.google.protobuf.Struct value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Parameter names and values that bind to placeholders in the SQL string.
      * A parameter placeholder consists of the `@` character followed by the
@@ -3213,7 +2955,8 @@ public Builder setParams(com.google.protobuf.Struct value) {
      *
      * .google.protobuf.Struct params = 4;
      */
-    public Builder setParams(com.google.protobuf.Struct.Builder builderForValue) {
+    public Builder setParams(
+        com.google.protobuf.Struct.Builder builderForValue) {
       if (paramsBuilder_ == null) {
         params_ = builderForValue.build();
       } else {
@@ -3224,8 +2967,6 @@ public Builder setParams(com.google.protobuf.Struct.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Parameter names and values that bind to placeholders in the SQL string.
      * A parameter placeholder consists of the `@` character followed by the
@@ -3242,9 +2983,9 @@ public Builder setParams(com.google.protobuf.Struct.Builder builderForValue) {
      */
     public Builder mergeParams(com.google.protobuf.Struct value) {
       if (paramsBuilder_ == null) {
-        if (((bitField0_ & 0x00000008) != 0)
-            && params_ != null
-            && params_ != com.google.protobuf.Struct.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0) &&
+          params_ != null &&
+          params_ != com.google.protobuf.Struct.getDefaultInstance()) {
           getParamsBuilder().mergeFrom(value);
         } else {
           params_ = value;
@@ -3257,8 +2998,6 @@ public Builder mergeParams(com.google.protobuf.Struct value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Parameter names and values that bind to placeholders in the SQL string.
      * A parameter placeholder consists of the `@` character followed by the
@@ -3284,8 +3023,6 @@ public Builder clearParams() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Parameter names and values that bind to placeholders in the SQL string.
      * A parameter placeholder consists of the `@` character followed by the
@@ -3306,8 +3043,6 @@ public com.google.protobuf.Struct.Builder getParamsBuilder() {
       return getParamsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Parameter names and values that bind to placeholders in the SQL string.
      * A parameter placeholder consists of the `@` character followed by the
@@ -3326,12 +3061,11 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
       if (paramsBuilder_ != null) {
         return paramsBuilder_.getMessageOrBuilder();
       } else {
-        return params_ == null ? com.google.protobuf.Struct.getDefaultInstance() : params_;
+        return params_ == null ?
+            com.google.protobuf.Struct.getDefaultInstance() : params_;
       }
     }
     /**
-     *
-     *
      * 
      * Parameter names and values that bind to placeholders in the SQL string.
      * A parameter placeholder consists of the `@` character followed by the
@@ -3347,24 +3081,21 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
      * .google.protobuf.Struct params = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Struct,
-            com.google.protobuf.Struct.Builder,
-            com.google.protobuf.StructOrBuilder>
+        com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> 
         getParamsFieldBuilder() {
       if (paramsBuilder_ == null) {
-        paramsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Struct,
-                com.google.protobuf.Struct.Builder,
-                com.google.protobuf.StructOrBuilder>(
-                getParams(), getParentForChildren(), isClean());
+        paramsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>(
+                getParams(),
+                getParentForChildren(),
+                isClean());
         params_ = null;
       }
       return paramsBuilder_;
     }
 
-    private com.google.protobuf.MapField paramTypes_;
-
+    private com.google.protobuf.MapField<
+        java.lang.String, com.google.spanner.v1.Type> paramTypes_;
     private com.google.protobuf.MapField
         internalGetParamTypes() {
       if (paramTypes_ == null) {
@@ -3373,12 +3104,11 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
       }
       return paramTypes_;
     }
-
     private com.google.protobuf.MapField
         internalGetMutableParamTypes() {
       if (paramTypes_ == null) {
-        paramTypes_ =
-            com.google.protobuf.MapField.newMapField(ParamTypesDefaultEntryHolder.defaultEntry);
+        paramTypes_ = com.google.protobuf.MapField.newMapField(
+            ParamTypesDefaultEntryHolder.defaultEntry);
       }
       if (!paramTypes_.isMutable()) {
         paramTypes_ = paramTypes_.copy();
@@ -3387,13 +3117,10 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
       onChanged();
       return paramTypes_;
     }
-
     public int getParamTypesCount() {
       return internalGetParamTypes().getMap().size();
     }
     /**
-     *
-     *
      * 
      * It is not always possible for Cloud Spanner to infer the right SQL type
      * from a JSON value.  For example, values of type `BYTES` and values
@@ -3407,21 +3134,20 @@ public int getParamTypesCount() {
      * map<string, .google.spanner.v1.Type> param_types = 5;
      */
     @java.lang.Override
-    public boolean containsParamTypes(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsParamTypes(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetParamTypes().getMap().containsKey(key);
     }
-    /** Use {@link #getParamTypesMap()} instead. */
+    /**
+     * Use {@link #getParamTypesMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getParamTypes() {
       return getParamTypesMap();
     }
     /**
-     *
-     *
      * 
      * It is not always possible for Cloud Spanner to infer the right SQL type
      * from a JSON value.  For example, values of type `BYTES` and values
@@ -3439,8 +3165,6 @@ public java.util.Map getParamTypes
       return internalGetParamTypes().getMap();
     }
     /**
-     *
-     *
      * 
      * It is not always possible for Cloud Spanner to infer the right SQL type
      * from a JSON value.  For example, values of type `BYTES` and values
@@ -3454,20 +3178,17 @@ public java.util.Map getParamTypes
      * map<string, .google.spanner.v1.Type> param_types = 5;
      */
     @java.lang.Override
-    public /* nullable */ com.google.spanner.v1.Type getParamTypesOrDefault(
+    public /* nullable */
+com.google.spanner.v1.Type getParamTypesOrDefault(
         java.lang.String key,
         /* nullable */
-        com.google.spanner.v1.Type defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+com.google.spanner.v1.Type defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
       java.util.Map map =
           internalGetParamTypes().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * It is not always possible for Cloud Spanner to infer the right SQL type
      * from a JSON value.  For example, values of type `BYTES` and values
@@ -3481,10 +3202,9 @@ public java.util.Map getParamTypes
      * map<string, .google.spanner.v1.Type> param_types = 5;
      */
     @java.lang.Override
-    public com.google.spanner.v1.Type getParamTypesOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public com.google.spanner.v1.Type getParamTypesOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       java.util.Map map =
           internalGetParamTypes().getMap();
       if (!map.containsKey(key)) {
@@ -3492,15 +3212,13 @@ public com.google.spanner.v1.Type getParamTypesOrThrow(java.lang.String key) {
       }
       return map.get(key);
     }
-
     public Builder clearParamTypes() {
       bitField0_ = (bitField0_ & ~0x00000010);
-      internalGetMutableParamTypes().getMutableMap().clear();
+      internalGetMutableParamTypes().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * It is not always possible for Cloud Spanner to infer the right SQL type
      * from a JSON value.  For example, values of type `BYTES` and values
@@ -3513,22 +3231,23 @@ public Builder clearParamTypes() {
      *
      * map<string, .google.spanner.v1.Type> param_types = 5;
      */
-    public Builder removeParamTypes(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableParamTypes().getMutableMap().remove(key);
+    public Builder removeParamTypes(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableParamTypes().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableParamTypes() {
+    public java.util.Map
+        getMutableParamTypes() {
       bitField0_ |= 0x00000010;
       return internalGetMutableParamTypes().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * It is not always possible for Cloud Spanner to infer the right SQL type
      * from a JSON value.  For example, values of type `BYTES` and values
@@ -3541,20 +3260,17 @@ public java.util.Map getMutablePar
      *
      * map<string, .google.spanner.v1.Type> param_types = 5;
      */
-    public Builder putParamTypes(java.lang.String key, com.google.spanner.v1.Type value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      if (value == null) {
-        throw new NullPointerException("map value");
-      }
-      internalGetMutableParamTypes().getMutableMap().put(key, value);
+    public Builder putParamTypes(
+        java.lang.String key,
+        com.google.spanner.v1.Type value) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      if (value == null) { throw new NullPointerException("map value"); }
+      internalGetMutableParamTypes().getMutableMap()
+          .put(key, value);
       bitField0_ |= 0x00000010;
       return this;
     }
     /**
-     *
-     *
      * 
      * It is not always possible for Cloud Spanner to infer the right SQL type
      * from a JSON value.  For example, values of type `BYTES` and values
@@ -3569,15 +3285,14 @@ public Builder putParamTypes(java.lang.String key, com.google.spanner.v1.Type va
      */
     public Builder putAllParamTypes(
         java.util.Map values) {
-      internalGetMutableParamTypes().getMutableMap().putAll(values);
+      internalGetMutableParamTypes().getMutableMap()
+          .putAll(values);
       bitField0_ |= 0x00000010;
       return this;
     }
 
     private com.google.protobuf.ByteString resumeToken_ = com.google.protobuf.ByteString.EMPTY;
     /**
-     *
-     *
      * 
      * If this request is resuming a previously interrupted SQL statement
      * execution, `resume_token` should be copied from the last
@@ -3588,7 +3303,6 @@ public Builder putAllParamTypes(
      * 
* * bytes resume_token = 6; - * * @return The resumeToken. */ @java.lang.Override @@ -3596,8 +3310,6 @@ public com.google.protobuf.ByteString getResumeToken() { return resumeToken_; } /** - * - * *
      * If this request is resuming a previously interrupted SQL statement
      * execution, `resume_token` should be copied from the last
@@ -3608,22 +3320,17 @@ public com.google.protobuf.ByteString getResumeToken() {
      * 
* * bytes resume_token = 6; - * * @param value The resumeToken to set. * @return This builder for chaining. */ public Builder setResumeToken(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } resumeToken_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * If this request is resuming a previously interrupted SQL statement
      * execution, `resume_token` should be copied from the last
@@ -3634,7 +3341,6 @@ public Builder setResumeToken(com.google.protobuf.ByteString value) {
      * 
* * bytes resume_token = 6; - * * @return This builder for chaining. */ public Builder clearResumeToken() { @@ -3646,8 +3352,6 @@ public Builder clearResumeToken() { private int queryMode_ = 0; /** - * - * *
      * Used to control the amount of debugging information returned in
      * [ResultSetStats][google.spanner.v1.ResultSetStats]. If [partition_token][google.spanner.v1.ExecuteSqlRequest.partition_token] is set, [query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode] can only
@@ -3655,16 +3359,12 @@ public Builder clearResumeToken() {
      * 
* * .google.spanner.v1.ExecuteSqlRequest.QueryMode query_mode = 7; - * * @return The enum numeric value on the wire for queryMode. */ - @java.lang.Override - public int getQueryModeValue() { + @java.lang.Override public int getQueryModeValue() { return queryMode_; } /** - * - * *
      * Used to control the amount of debugging information returned in
      * [ResultSetStats][google.spanner.v1.ResultSetStats]. If [partition_token][google.spanner.v1.ExecuteSqlRequest.partition_token] is set, [query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode] can only
@@ -3672,7 +3372,6 @@ public int getQueryModeValue() {
      * 
* * .google.spanner.v1.ExecuteSqlRequest.QueryMode query_mode = 7; - * * @param value The enum numeric value on the wire for queryMode to set. * @return This builder for chaining. */ @@ -3683,8 +3382,6 @@ public Builder setQueryModeValue(int value) { return this; } /** - * - * *
      * Used to control the amount of debugging information returned in
      * [ResultSetStats][google.spanner.v1.ResultSetStats]. If [partition_token][google.spanner.v1.ExecuteSqlRequest.partition_token] is set, [query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode] can only
@@ -3692,20 +3389,14 @@ public Builder setQueryModeValue(int value) {
      * 
* * .google.spanner.v1.ExecuteSqlRequest.QueryMode query_mode = 7; - * * @return The queryMode. */ @java.lang.Override public com.google.spanner.v1.ExecuteSqlRequest.QueryMode getQueryMode() { - com.google.spanner.v1.ExecuteSqlRequest.QueryMode result = - com.google.spanner.v1.ExecuteSqlRequest.QueryMode.forNumber(queryMode_); - return result == null - ? com.google.spanner.v1.ExecuteSqlRequest.QueryMode.UNRECOGNIZED - : result; + com.google.spanner.v1.ExecuteSqlRequest.QueryMode result = com.google.spanner.v1.ExecuteSqlRequest.QueryMode.forNumber(queryMode_); + return result == null ? com.google.spanner.v1.ExecuteSqlRequest.QueryMode.UNRECOGNIZED : result; } /** - * - * *
      * Used to control the amount of debugging information returned in
      * [ResultSetStats][google.spanner.v1.ResultSetStats]. If [partition_token][google.spanner.v1.ExecuteSqlRequest.partition_token] is set, [query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode] can only
@@ -3713,7 +3404,6 @@ public com.google.spanner.v1.ExecuteSqlRequest.QueryMode getQueryMode() {
      * 
* * .google.spanner.v1.ExecuteSqlRequest.QueryMode query_mode = 7; - * * @param value The queryMode to set. * @return This builder for chaining. */ @@ -3727,8 +3417,6 @@ public Builder setQueryMode(com.google.spanner.v1.ExecuteSqlRequest.QueryMode va return this; } /** - * - * *
      * Used to control the amount of debugging information returned in
      * [ResultSetStats][google.spanner.v1.ResultSetStats]. If [partition_token][google.spanner.v1.ExecuteSqlRequest.partition_token] is set, [query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode] can only
@@ -3736,7 +3424,6 @@ public Builder setQueryMode(com.google.spanner.v1.ExecuteSqlRequest.QueryMode va
      * 
* * .google.spanner.v1.ExecuteSqlRequest.QueryMode query_mode = 7; - * * @return This builder for chaining. */ public Builder clearQueryMode() { @@ -3748,8 +3435,6 @@ public Builder clearQueryMode() { private com.google.protobuf.ByteString partitionToken_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * If present, results will be restricted to the specified partition
      * previously created using PartitionQuery().  There must be an exact
@@ -3758,7 +3443,6 @@ public Builder clearQueryMode() {
      * 
* * bytes partition_token = 8; - * * @return The partitionToken. */ @java.lang.Override @@ -3766,8 +3450,6 @@ public com.google.protobuf.ByteString getPartitionToken() { return partitionToken_; } /** - * - * *
      * If present, results will be restricted to the specified partition
      * previously created using PartitionQuery().  There must be an exact
@@ -3776,22 +3458,17 @@ public com.google.protobuf.ByteString getPartitionToken() {
      * 
* * bytes partition_token = 8; - * * @param value The partitionToken to set. * @return This builder for chaining. */ public Builder setPartitionToken(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } partitionToken_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** - * - * *
      * If present, results will be restricted to the specified partition
      * previously created using PartitionQuery().  There must be an exact
@@ -3800,7 +3477,6 @@ public Builder setPartitionToken(com.google.protobuf.ByteString value) {
      * 
* * bytes partition_token = 8; - * * @return This builder for chaining. */ public Builder clearPartitionToken() { @@ -3810,10 +3486,8 @@ public Builder clearPartitionToken() { return this; } - private long seqno_; + private long seqno_ ; /** - * - * *
      * A per-transaction sequence number used to identify this request. This field
      * makes each request idempotent such that if the request is received multiple
@@ -3826,7 +3500,6 @@ public Builder clearPartitionToken() {
      * 
* * int64 seqno = 9; - * * @return The seqno. */ @java.lang.Override @@ -3834,8 +3507,6 @@ public long getSeqno() { return seqno_; } /** - * - * *
      * A per-transaction sequence number used to identify this request. This field
      * makes each request idempotent such that if the request is received multiple
@@ -3848,20 +3519,17 @@ public long getSeqno() {
      * 
* * int64 seqno = 9; - * * @param value The seqno to set. * @return This builder for chaining. */ public Builder setSeqno(long value) { - + seqno_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** - * - * *
      * A per-transaction sequence number used to identify this request. This field
      * makes each request idempotent such that if the request is received multiple
@@ -3874,7 +3542,6 @@ public Builder setSeqno(long value) {
      * 
* * int64 seqno = 9; - * * @return This builder for chaining. */ public Builder clearSeqno() { @@ -3886,47 +3553,34 @@ public Builder clearSeqno() { private com.google.spanner.v1.ExecuteSqlRequest.QueryOptions queryOptions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.ExecuteSqlRequest.QueryOptions, - com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.Builder, - com.google.spanner.v1.ExecuteSqlRequest.QueryOptionsOrBuilder> - queryOptionsBuilder_; + com.google.spanner.v1.ExecuteSqlRequest.QueryOptions, com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.Builder, com.google.spanner.v1.ExecuteSqlRequest.QueryOptionsOrBuilder> queryOptionsBuilder_; /** - * - * *
      * Query optimizer configuration to use for the given query.
      * 
* * .google.spanner.v1.ExecuteSqlRequest.QueryOptions query_options = 10; - * * @return Whether the queryOptions field is set. */ public boolean hasQueryOptions() { return ((bitField0_ & 0x00000200) != 0); } /** - * - * *
      * Query optimizer configuration to use for the given query.
      * 
* * .google.spanner.v1.ExecuteSqlRequest.QueryOptions query_options = 10; - * * @return The queryOptions. */ public com.google.spanner.v1.ExecuteSqlRequest.QueryOptions getQueryOptions() { if (queryOptionsBuilder_ == null) { - return queryOptions_ == null - ? com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.getDefaultInstance() - : queryOptions_; + return queryOptions_ == null ? com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.getDefaultInstance() : queryOptions_; } else { return queryOptionsBuilder_.getMessage(); } } /** - * - * *
      * Query optimizer configuration to use for the given query.
      * 
@@ -3947,8 +3601,6 @@ public Builder setQueryOptions(com.google.spanner.v1.ExecuteSqlRequest.QueryOpti return this; } /** - * - * *
      * Query optimizer configuration to use for the given query.
      * 
@@ -3967,8 +3619,6 @@ public Builder setQueryOptions( return this; } /** - * - * *
      * Query optimizer configuration to use for the given query.
      * 
@@ -3977,10 +3627,9 @@ public Builder setQueryOptions( */ public Builder mergeQueryOptions(com.google.spanner.v1.ExecuteSqlRequest.QueryOptions value) { if (queryOptionsBuilder_ == null) { - if (((bitField0_ & 0x00000200) != 0) - && queryOptions_ != null - && queryOptions_ - != com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.getDefaultInstance()) { + if (((bitField0_ & 0x00000200) != 0) && + queryOptions_ != null && + queryOptions_ != com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.getDefaultInstance()) { getQueryOptionsBuilder().mergeFrom(value); } else { queryOptions_ = value; @@ -3993,8 +3642,6 @@ public Builder mergeQueryOptions(com.google.spanner.v1.ExecuteSqlRequest.QueryOp return this; } /** - * - * *
      * Query optimizer configuration to use for the given query.
      * 
@@ -4012,8 +3659,6 @@ public Builder clearQueryOptions() { return this; } /** - * - * *
      * Query optimizer configuration to use for the given query.
      * 
@@ -4026,27 +3671,21 @@ public com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.Builder getQueryOpti return getQueryOptionsFieldBuilder().getBuilder(); } /** - * - * *
      * Query optimizer configuration to use for the given query.
      * 
* * .google.spanner.v1.ExecuteSqlRequest.QueryOptions query_options = 10; */ - public com.google.spanner.v1.ExecuteSqlRequest.QueryOptionsOrBuilder - getQueryOptionsOrBuilder() { + public com.google.spanner.v1.ExecuteSqlRequest.QueryOptionsOrBuilder getQueryOptionsOrBuilder() { if (queryOptionsBuilder_ != null) { return queryOptionsBuilder_.getMessageOrBuilder(); } else { - return queryOptions_ == null - ? com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.getDefaultInstance() - : queryOptions_; + return queryOptions_ == null ? + com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.getDefaultInstance() : queryOptions_; } } /** - * - * *
      * Query optimizer configuration to use for the given query.
      * 
@@ -4054,17 +3693,14 @@ public com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.Builder getQueryOpti * .google.spanner.v1.ExecuteSqlRequest.QueryOptions query_options = 10; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.ExecuteSqlRequest.QueryOptions, - com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.Builder, - com.google.spanner.v1.ExecuteSqlRequest.QueryOptionsOrBuilder> + com.google.spanner.v1.ExecuteSqlRequest.QueryOptions, com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.Builder, com.google.spanner.v1.ExecuteSqlRequest.QueryOptionsOrBuilder> getQueryOptionsFieldBuilder() { if (queryOptionsBuilder_ == null) { - queryOptionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.ExecuteSqlRequest.QueryOptions, - com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.Builder, - com.google.spanner.v1.ExecuteSqlRequest.QueryOptionsOrBuilder>( - getQueryOptions(), getParentForChildren(), isClean()); + queryOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.v1.ExecuteSqlRequest.QueryOptions, com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.Builder, com.google.spanner.v1.ExecuteSqlRequest.QueryOptionsOrBuilder>( + getQueryOptions(), + getParentForChildren(), + isClean()); queryOptions_ = null; } return queryOptionsBuilder_; @@ -4072,47 +3708,34 @@ public com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.Builder getQueryOpti private com.google.spanner.v1.RequestOptions requestOptions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.RequestOptions, - com.google.spanner.v1.RequestOptions.Builder, - com.google.spanner.v1.RequestOptionsOrBuilder> - requestOptionsBuilder_; + com.google.spanner.v1.RequestOptions, com.google.spanner.v1.RequestOptions.Builder, com.google.spanner.v1.RequestOptionsOrBuilder> requestOptionsBuilder_; /** - * - * *
      * Common options for this request.
      * 
* * .google.spanner.v1.RequestOptions request_options = 11; - * * @return Whether the requestOptions field is set. */ public boolean hasRequestOptions() { return ((bitField0_ & 0x00000400) != 0); } /** - * - * *
      * Common options for this request.
      * 
* * .google.spanner.v1.RequestOptions request_options = 11; - * * @return The requestOptions. */ public com.google.spanner.v1.RequestOptions getRequestOptions() { if (requestOptionsBuilder_ == null) { - return requestOptions_ == null - ? com.google.spanner.v1.RequestOptions.getDefaultInstance() - : requestOptions_; + return requestOptions_ == null ? com.google.spanner.v1.RequestOptions.getDefaultInstance() : requestOptions_; } else { return requestOptionsBuilder_.getMessage(); } } /** - * - * *
      * Common options for this request.
      * 
@@ -4133,15 +3756,14 @@ public Builder setRequestOptions(com.google.spanner.v1.RequestOptions value) { return this; } /** - * - * *
      * Common options for this request.
      * 
* * .google.spanner.v1.RequestOptions request_options = 11; */ - public Builder setRequestOptions(com.google.spanner.v1.RequestOptions.Builder builderForValue) { + public Builder setRequestOptions( + com.google.spanner.v1.RequestOptions.Builder builderForValue) { if (requestOptionsBuilder_ == null) { requestOptions_ = builderForValue.build(); } else { @@ -4152,8 +3774,6 @@ public Builder setRequestOptions(com.google.spanner.v1.RequestOptions.Builder bu return this; } /** - * - * *
      * Common options for this request.
      * 
@@ -4162,9 +3782,9 @@ public Builder setRequestOptions(com.google.spanner.v1.RequestOptions.Builder bu */ public Builder mergeRequestOptions(com.google.spanner.v1.RequestOptions value) { if (requestOptionsBuilder_ == null) { - if (((bitField0_ & 0x00000400) != 0) - && requestOptions_ != null - && requestOptions_ != com.google.spanner.v1.RequestOptions.getDefaultInstance()) { + if (((bitField0_ & 0x00000400) != 0) && + requestOptions_ != null && + requestOptions_ != com.google.spanner.v1.RequestOptions.getDefaultInstance()) { getRequestOptionsBuilder().mergeFrom(value); } else { requestOptions_ = value; @@ -4177,8 +3797,6 @@ public Builder mergeRequestOptions(com.google.spanner.v1.RequestOptions value) { return this; } /** - * - * *
      * Common options for this request.
      * 
@@ -4196,8 +3814,6 @@ public Builder clearRequestOptions() { return this; } /** - * - * *
      * Common options for this request.
      * 
@@ -4210,8 +3826,6 @@ public com.google.spanner.v1.RequestOptions.Builder getRequestOptionsBuilder() { return getRequestOptionsFieldBuilder().getBuilder(); } /** - * - * *
      * Common options for this request.
      * 
@@ -4222,14 +3836,11 @@ public com.google.spanner.v1.RequestOptionsOrBuilder getRequestOptionsOrBuilder( if (requestOptionsBuilder_ != null) { return requestOptionsBuilder_.getMessageOrBuilder(); } else { - return requestOptions_ == null - ? com.google.spanner.v1.RequestOptions.getDefaultInstance() - : requestOptions_; + return requestOptions_ == null ? + com.google.spanner.v1.RequestOptions.getDefaultInstance() : requestOptions_; } } /** - * - * *
      * Common options for this request.
      * 
@@ -4237,26 +3848,21 @@ public com.google.spanner.v1.RequestOptionsOrBuilder getRequestOptionsOrBuilder( * .google.spanner.v1.RequestOptions request_options = 11; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.RequestOptions, - com.google.spanner.v1.RequestOptions.Builder, - com.google.spanner.v1.RequestOptionsOrBuilder> + com.google.spanner.v1.RequestOptions, com.google.spanner.v1.RequestOptions.Builder, com.google.spanner.v1.RequestOptionsOrBuilder> getRequestOptionsFieldBuilder() { if (requestOptionsBuilder_ == null) { - requestOptionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.RequestOptions, - com.google.spanner.v1.RequestOptions.Builder, - com.google.spanner.v1.RequestOptionsOrBuilder>( - getRequestOptions(), getParentForChildren(), isClean()); + requestOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.v1.RequestOptions, com.google.spanner.v1.RequestOptions.Builder, com.google.spanner.v1.RequestOptionsOrBuilder>( + getRequestOptions(), + getParentForChildren(), + isClean()); requestOptions_ = null; } return requestOptionsBuilder_; } - private boolean dataBoostEnabled_; + private boolean dataBoostEnabled_ ; /** - * - * *
      * If this is for a partitioned query and this field is set to `true`, the
      * request will be executed via Spanner independent compute resources.
@@ -4265,7 +3871,6 @@ public com.google.spanner.v1.RequestOptionsOrBuilder getRequestOptionsOrBuilder(
      * 
* * bool data_boost_enabled = 16; - * * @return The dataBoostEnabled. */ @java.lang.Override @@ -4273,8 +3878,6 @@ public boolean getDataBoostEnabled() { return dataBoostEnabled_; } /** - * - * *
      * If this is for a partitioned query and this field is set to `true`, the
      * request will be executed via Spanner independent compute resources.
@@ -4283,20 +3886,17 @@ public boolean getDataBoostEnabled() {
      * 
* * bool data_boost_enabled = 16; - * * @param value The dataBoostEnabled to set. * @return This builder for chaining. */ public Builder setDataBoostEnabled(boolean value) { - + dataBoostEnabled_ = value; bitField0_ |= 0x00000800; onChanged(); return this; } /** - * - * *
      * If this is for a partitioned query and this field is set to `true`, the
      * request will be executed via Spanner independent compute resources.
@@ -4305,7 +3905,6 @@ public Builder setDataBoostEnabled(boolean value) {
      * 
* * bool data_boost_enabled = 16; - * * @return This builder for chaining. */ public Builder clearDataBoostEnabled() { @@ -4314,9 +3913,9 @@ public Builder clearDataBoostEnabled() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4326,12 +3925,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.v1.ExecuteSqlRequest) } // @@protoc_insertion_point(class_scope:google.spanner.v1.ExecuteSqlRequest) private static final com.google.spanner.v1.ExecuteSqlRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.v1.ExecuteSqlRequest(); } @@ -4340,27 +3939,27 @@ public static com.google.spanner.v1.ExecuteSqlRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExecuteSqlRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExecuteSqlRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4375,4 +3974,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.ExecuteSqlRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteSqlRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteSqlRequestOrBuilder.java similarity index 88% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteSqlRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteSqlRequestOrBuilder.java index 832c2f3c503..9d92a30a3d1 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteSqlRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteSqlRequestOrBuilder.java @@ -1,60 +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/spanner/v1/spanner.proto package com.google.spanner.v1; -public interface ExecuteSqlRequestOrBuilder - extends +public interface ExecuteSqlRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.ExecuteSqlRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The session in which the SQL query should be performed.
    * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The session. */ java.lang.String getSession(); /** - * - * *
    * Required. The session in which the SQL query should be performed.
    * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for session. */ - com.google.protobuf.ByteString getSessionBytes(); + com.google.protobuf.ByteString + getSessionBytes(); /** - * - * *
    * The transaction to use.
    * For queries, if none is provided, the default is a temporary read-only
@@ -66,13 +39,10 @@ public interface ExecuteSqlRequestOrBuilder
    * 
* * .google.spanner.v1.TransactionSelector transaction = 2; - * * @return Whether the transaction field is set. */ boolean hasTransaction(); /** - * - * *
    * The transaction to use.
    * For queries, if none is provided, the default is a temporary read-only
@@ -84,13 +54,10 @@ public interface ExecuteSqlRequestOrBuilder
    * 
* * .google.spanner.v1.TransactionSelector transaction = 2; - * * @return The transaction. */ com.google.spanner.v1.TransactionSelector getTransaction(); /** - * - * *
    * The transaction to use.
    * For queries, if none is provided, the default is a temporary read-only
@@ -106,33 +73,26 @@ public interface ExecuteSqlRequestOrBuilder
   com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilder();
 
   /**
-   *
-   *
    * 
    * Required. The SQL string.
    * 
* * string sql = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The sql. */ java.lang.String getSql(); /** - * - * *
    * Required. The SQL string.
    * 
* * string sql = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for sql. */ - com.google.protobuf.ByteString getSqlBytes(); + com.google.protobuf.ByteString + getSqlBytes(); /** - * - * *
    * Parameter names and values that bind to placeholders in the SQL string.
    * A parameter placeholder consists of the `@` character followed by the
@@ -146,13 +106,10 @@ public interface ExecuteSqlRequestOrBuilder
    * 
* * .google.protobuf.Struct params = 4; - * * @return Whether the params field is set. */ boolean hasParams(); /** - * - * *
    * Parameter names and values that bind to placeholders in the SQL string.
    * A parameter placeholder consists of the `@` character followed by the
@@ -166,13 +123,10 @@ public interface ExecuteSqlRequestOrBuilder
    * 
* * .google.protobuf.Struct params = 4; - * * @return The params. */ com.google.protobuf.Struct getParams(); /** - * - * *
    * Parameter names and values that bind to placeholders in the SQL string.
    * A parameter placeholder consists of the `@` character followed by the
@@ -190,8 +144,6 @@ public interface ExecuteSqlRequestOrBuilder
   com.google.protobuf.StructOrBuilder getParamsOrBuilder();
 
   /**
-   *
-   *
    * 
    * It is not always possible for Cloud Spanner to infer the right SQL type
    * from a JSON value.  For example, values of type `BYTES` and values
@@ -206,8 +158,6 @@ public interface ExecuteSqlRequestOrBuilder
    */
   int getParamTypesCount();
   /**
-   *
-   *
    * 
    * It is not always possible for Cloud Spanner to infer the right SQL type
    * from a JSON value.  For example, values of type `BYTES` and values
@@ -220,13 +170,15 @@ public interface ExecuteSqlRequestOrBuilder
    *
    * map<string, .google.spanner.v1.Type> param_types = 5;
    */
-  boolean containsParamTypes(java.lang.String key);
-  /** Use {@link #getParamTypesMap()} instead. */
+  boolean containsParamTypes(
+      java.lang.String key);
+  /**
+   * Use {@link #getParamTypesMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getParamTypes();
+  java.util.Map
+  getParamTypes();
   /**
-   *
-   *
    * 
    * It is not always possible for Cloud Spanner to infer the right SQL type
    * from a JSON value.  For example, values of type `BYTES` and values
@@ -239,10 +191,9 @@ public interface ExecuteSqlRequestOrBuilder
    *
    * map<string, .google.spanner.v1.Type> param_types = 5;
    */
-  java.util.Map getParamTypesMap();
+  java.util.Map
+  getParamTypesMap();
   /**
-   *
-   *
    * 
    * It is not always possible for Cloud Spanner to infer the right SQL type
    * from a JSON value.  For example, values of type `BYTES` and values
@@ -256,13 +207,11 @@ public interface ExecuteSqlRequestOrBuilder
    * map<string, .google.spanner.v1.Type> param_types = 5;
    */
   /* nullable */
-  com.google.spanner.v1.Type getParamTypesOrDefault(
+com.google.spanner.v1.Type getParamTypesOrDefault(
       java.lang.String key,
       /* nullable */
-      com.google.spanner.v1.Type defaultValue);
+com.google.spanner.v1.Type defaultValue);
   /**
-   *
-   *
    * 
    * It is not always possible for Cloud Spanner to infer the right SQL type
    * from a JSON value.  For example, values of type `BYTES` and values
@@ -275,11 +224,10 @@ com.google.spanner.v1.Type getParamTypesOrDefault(
    *
    * map<string, .google.spanner.v1.Type> param_types = 5;
    */
-  com.google.spanner.v1.Type getParamTypesOrThrow(java.lang.String key);
+  com.google.spanner.v1.Type getParamTypesOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * If this request is resuming a previously interrupted SQL statement
    * execution, `resume_token` should be copied from the last
@@ -290,14 +238,11 @@ com.google.spanner.v1.Type getParamTypesOrDefault(
    * 
* * bytes resume_token = 6; - * * @return The resumeToken. */ com.google.protobuf.ByteString getResumeToken(); /** - * - * *
    * Used to control the amount of debugging information returned in
    * [ResultSetStats][google.spanner.v1.ResultSetStats]. If [partition_token][google.spanner.v1.ExecuteSqlRequest.partition_token] is set, [query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode] can only
@@ -305,13 +250,10 @@ com.google.spanner.v1.Type getParamTypesOrDefault(
    * 
* * .google.spanner.v1.ExecuteSqlRequest.QueryMode query_mode = 7; - * * @return The enum numeric value on the wire for queryMode. */ int getQueryModeValue(); /** - * - * *
    * Used to control the amount of debugging information returned in
    * [ResultSetStats][google.spanner.v1.ResultSetStats]. If [partition_token][google.spanner.v1.ExecuteSqlRequest.partition_token] is set, [query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode] can only
@@ -319,14 +261,11 @@ com.google.spanner.v1.Type getParamTypesOrDefault(
    * 
* * .google.spanner.v1.ExecuteSqlRequest.QueryMode query_mode = 7; - * * @return The queryMode. */ com.google.spanner.v1.ExecuteSqlRequest.QueryMode getQueryMode(); /** - * - * *
    * If present, results will be restricted to the specified partition
    * previously created using PartitionQuery().  There must be an exact
@@ -335,14 +274,11 @@ com.google.spanner.v1.Type getParamTypesOrDefault(
    * 
* * bytes partition_token = 8; - * * @return The partitionToken. */ com.google.protobuf.ByteString getPartitionToken(); /** - * - * *
    * A per-transaction sequence number used to identify this request. This field
    * makes each request idempotent such that if the request is received multiple
@@ -355,38 +291,29 @@ com.google.spanner.v1.Type getParamTypesOrDefault(
    * 
* * int64 seqno = 9; - * * @return The seqno. */ long getSeqno(); /** - * - * *
    * Query optimizer configuration to use for the given query.
    * 
* * .google.spanner.v1.ExecuteSqlRequest.QueryOptions query_options = 10; - * * @return Whether the queryOptions field is set. */ boolean hasQueryOptions(); /** - * - * *
    * Query optimizer configuration to use for the given query.
    * 
* * .google.spanner.v1.ExecuteSqlRequest.QueryOptions query_options = 10; - * * @return The queryOptions. */ com.google.spanner.v1.ExecuteSqlRequest.QueryOptions getQueryOptions(); /** - * - * *
    * Query optimizer configuration to use for the given query.
    * 
@@ -396,32 +323,24 @@ com.google.spanner.v1.Type getParamTypesOrDefault( com.google.spanner.v1.ExecuteSqlRequest.QueryOptionsOrBuilder getQueryOptionsOrBuilder(); /** - * - * *
    * Common options for this request.
    * 
* * .google.spanner.v1.RequestOptions request_options = 11; - * * @return Whether the requestOptions field is set. */ boolean hasRequestOptions(); /** - * - * *
    * Common options for this request.
    * 
* * .google.spanner.v1.RequestOptions request_options = 11; - * * @return The requestOptions. */ com.google.spanner.v1.RequestOptions getRequestOptions(); /** - * - * *
    * Common options for this request.
    * 
@@ -431,8 +350,6 @@ com.google.spanner.v1.Type getParamTypesOrDefault( com.google.spanner.v1.RequestOptionsOrBuilder getRequestOptionsOrBuilder(); /** - * - * *
    * If this is for a partitioned query and this field is set to `true`, the
    * request will be executed via Spanner independent compute resources.
@@ -441,7 +358,6 @@ com.google.spanner.v1.Type getParamTypesOrDefault(
    * 
* * bool data_boost_enabled = 16; - * * @return The dataBoostEnabled. */ boolean getDataBoostEnabled(); diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/GetSessionRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/GetSessionRequest.java similarity index 62% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/GetSessionRequest.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/GetSessionRequest.java index cef307ed07e..4d86ee9b3f7 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/GetSessionRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/GetSessionRequest.java @@ -1,87 +1,62 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/spanner.proto package com.google.spanner.v1; /** - * - * *
  * The request for [GetSession][google.spanner.v1.Spanner.GetSession].
  * 
* * Protobuf type {@code google.spanner.v1.GetSessionRequest} */ -public final class GetSessionRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetSessionRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.v1.GetSessionRequest) GetSessionRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetSessionRequest.newBuilder() to construct. private GetSessionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetSessionRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetSessionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_GetSessionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_GetSessionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_GetSessionRequest_fieldAccessorTable + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_GetSessionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.GetSessionRequest.class, - com.google.spanner.v1.GetSessionRequest.Builder.class); + com.google.spanner.v1.GetSessionRequest.class, com.google.spanner.v1.GetSessionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the session to retrieve.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -90,31 +65,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the session to retrieve.
    * 
* - * - * string name = 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,14 +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.spanner.v1.GetSessionRequest)) { return super.equals(obj); } com.google.spanner.v1.GetSessionRequest other = (com.google.spanner.v1.GetSessionRequest) 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 +159,130 @@ public int hashCode() { return hash; } - public static com.google.spanner.v1.GetSessionRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.v1.GetSessionRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.GetSessionRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.GetSessionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.GetSessionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.GetSessionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.GetSessionRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.GetSessionRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.GetSessionRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.spanner.v1.GetSessionRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.v1.GetSessionRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.v1.GetSessionRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.GetSessionRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.GetSessionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.v1.GetSessionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [GetSession][google.spanner.v1.Spanner.GetSession].
    * 
* * Protobuf type {@code google.spanner.v1.GetSessionRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.GetSessionRequest) com.google.spanner.v1.GetSessionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_GetSessionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_GetSessionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_GetSessionRequest_fieldAccessorTable + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_GetSessionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.GetSessionRequest.class, - com.google.spanner.v1.GetSessionRequest.Builder.class); + com.google.spanner.v1.GetSessionRequest.class, com.google.spanner.v1.GetSessionRequest.Builder.class); } // Construct using com.google.spanner.v1.GetSessionRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.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 +292,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_GetSessionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_GetSessionRequest_descriptor; } @java.lang.Override @@ -345,11 +313,8 @@ public com.google.spanner.v1.GetSessionRequest build() { @java.lang.Override public com.google.spanner.v1.GetSessionRequest buildPartial() { - com.google.spanner.v1.GetSessionRequest result = - new com.google.spanner.v1.GetSessionRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.v1.GetSessionRequest result = new com.google.spanner.v1.GetSessionRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -365,39 +330,38 @@ private void buildPartial0(com.google.spanner.v1.GetSessionRequest 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.spanner.v1.GetSessionRequest) { - return mergeFrom((com.google.spanner.v1.GetSessionRequest) other); + return mergeFrom((com.google.spanner.v1.GetSessionRequest)other); } else { super.mergeFrom(other); return this; @@ -437,19 +401,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,27 +421,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the session to retrieve.
      * 
* - * - * string name = 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,23 +445,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the session to retrieve.
      * 
* - * - * string name = 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,39 +466,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the session to retrieve.
      * 
* - * - * 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 name of the session to retrieve.
      * 
* - * - * string 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() { @@ -554,32 +497,26 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the session to retrieve.
      * 
* - * - * 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); } @@ -589,12 +526,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.v1.GetSessionRequest) } // @@protoc_insertion_point(class_scope:google.spanner.v1.GetSessionRequest) private static final com.google.spanner.v1.GetSessionRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.v1.GetSessionRequest(); } @@ -603,27 +540,27 @@ public static com.google.spanner.v1.GetSessionRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetSessionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetSessionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -638,4 +575,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.GetSessionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/GetSessionRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/GetSessionRequestOrBuilder.java new file mode 100644 index 00000000000..ff270d4eded --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/GetSessionRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/spanner/v1/spanner.proto + +package com.google.spanner.v1; + +public interface GetSessionRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.spanner.v1.GetSessionRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the session to retrieve.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the session to retrieve.
+   * 
+ * + * 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-spanner-v1/src/main/java/com/google/spanner/v1/KeyRange.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeyRange.java similarity index 76% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeyRange.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeyRange.java index 2848ab4bdd3..552d67532be 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeyRange.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeyRange.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/spanner/v1/keys.proto package com.google.spanner.v1; /** - * - * *
  * KeyRange represents a range of rows in a table or index.
  * A range has a start key and an end key. These keys can be open or
@@ -87,54 +70,52 @@
  *
  * Protobuf type {@code google.spanner.v1.KeyRange}
  */
-public final class KeyRange extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class KeyRange extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.v1.KeyRange)
     KeyRangeOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use KeyRange.newBuilder() to construct.
   private KeyRange(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private KeyRange() {}
+  private KeyRange() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new KeyRange();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
     return com.google.spanner.v1.KeysProto.internal_static_google_spanner_v1_KeyRange_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.v1.KeysProto
-        .internal_static_google_spanner_v1_KeyRange_fieldAccessorTable
+    return com.google.spanner.v1.KeysProto.internal_static_google_spanner_v1_KeyRange_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.spanner.v1.KeyRange.class, com.google.spanner.v1.KeyRange.Builder.class);
   }
 
   private int startKeyTypeCase_ = 0;
   private java.lang.Object startKeyType_;
-
   public enum StartKeyTypeCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     START_CLOSED(1),
     START_OPEN(2),
     STARTKEYTYPE_NOT_SET(0);
     private final int value;
-
     private StartKeyTypeCase(int value) {
       this.value = value;
     }
@@ -150,38 +131,32 @@ public static StartKeyTypeCase valueOf(int value) {
 
     public static StartKeyTypeCase forNumber(int value) {
       switch (value) {
-        case 1:
-          return START_CLOSED;
-        case 2:
-          return START_OPEN;
-        case 0:
-          return STARTKEYTYPE_NOT_SET;
-        default:
-          return null;
+        case 1: return START_CLOSED;
+        case 2: return START_OPEN;
+        case 0: return STARTKEYTYPE_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public StartKeyTypeCase getStartKeyTypeCase() {
-    return StartKeyTypeCase.forNumber(startKeyTypeCase_);
+  public StartKeyTypeCase
+  getStartKeyTypeCase() {
+    return StartKeyTypeCase.forNumber(
+        startKeyTypeCase_);
   }
 
   private int endKeyTypeCase_ = 0;
   private java.lang.Object endKeyType_;
-
   public enum EndKeyTypeCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     END_CLOSED(3),
     END_OPEN(4),
     ENDKEYTYPE_NOT_SET(0);
     private final int value;
-
     private EndKeyTypeCase(int value) {
       this.value = value;
     }
@@ -197,37 +172,31 @@ public static EndKeyTypeCase valueOf(int value) {
 
     public static EndKeyTypeCase forNumber(int value) {
       switch (value) {
-        case 3:
-          return END_CLOSED;
-        case 4:
-          return END_OPEN;
-        case 0:
-          return ENDKEYTYPE_NOT_SET;
-        default:
-          return null;
+        case 3: return END_CLOSED;
+        case 4: return END_OPEN;
+        case 0: return ENDKEYTYPE_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public EndKeyTypeCase getEndKeyTypeCase() {
-    return EndKeyTypeCase.forNumber(endKeyTypeCase_);
+  public EndKeyTypeCase
+  getEndKeyTypeCase() {
+    return EndKeyTypeCase.forNumber(
+        endKeyTypeCase_);
   }
 
   public static final int START_CLOSED_FIELD_NUMBER = 1;
   /**
-   *
-   *
    * 
    * If the start is closed, then the range includes all rows whose
    * first `len(start_closed)` key columns exactly match `start_closed`.
    * 
* * .google.protobuf.ListValue start_closed = 1; - * * @return Whether the startClosed field is set. */ @java.lang.Override @@ -235,27 +204,22 @@ public boolean hasStartClosed() { return startKeyTypeCase_ == 1; } /** - * - * *
    * If the start is closed, then the range includes all rows whose
    * first `len(start_closed)` key columns exactly match `start_closed`.
    * 
* * .google.protobuf.ListValue start_closed = 1; - * * @return The startClosed. */ @java.lang.Override public com.google.protobuf.ListValue getStartClosed() { if (startKeyTypeCase_ == 1) { - return (com.google.protobuf.ListValue) startKeyType_; + return (com.google.protobuf.ListValue) startKeyType_; } return com.google.protobuf.ListValue.getDefaultInstance(); } /** - * - * *
    * If the start is closed, then the range includes all rows whose
    * first `len(start_closed)` key columns exactly match `start_closed`.
@@ -266,22 +230,19 @@ public com.google.protobuf.ListValue getStartClosed() {
   @java.lang.Override
   public com.google.protobuf.ListValueOrBuilder getStartClosedOrBuilder() {
     if (startKeyTypeCase_ == 1) {
-      return (com.google.protobuf.ListValue) startKeyType_;
+       return (com.google.protobuf.ListValue) startKeyType_;
     }
     return com.google.protobuf.ListValue.getDefaultInstance();
   }
 
   public static final int START_OPEN_FIELD_NUMBER = 2;
   /**
-   *
-   *
    * 
    * If the start is open, then the range excludes rows whose first
    * `len(start_open)` key columns exactly match `start_open`.
    * 
* * .google.protobuf.ListValue start_open = 2; - * * @return Whether the startOpen field is set. */ @java.lang.Override @@ -289,27 +250,22 @@ public boolean hasStartOpen() { return startKeyTypeCase_ == 2; } /** - * - * *
    * If the start is open, then the range excludes rows whose first
    * `len(start_open)` key columns exactly match `start_open`.
    * 
* * .google.protobuf.ListValue start_open = 2; - * * @return The startOpen. */ @java.lang.Override public com.google.protobuf.ListValue getStartOpen() { if (startKeyTypeCase_ == 2) { - return (com.google.protobuf.ListValue) startKeyType_; + return (com.google.protobuf.ListValue) startKeyType_; } return com.google.protobuf.ListValue.getDefaultInstance(); } /** - * - * *
    * If the start is open, then the range excludes rows whose first
    * `len(start_open)` key columns exactly match `start_open`.
@@ -320,22 +276,19 @@ public com.google.protobuf.ListValue getStartOpen() {
   @java.lang.Override
   public com.google.protobuf.ListValueOrBuilder getStartOpenOrBuilder() {
     if (startKeyTypeCase_ == 2) {
-      return (com.google.protobuf.ListValue) startKeyType_;
+       return (com.google.protobuf.ListValue) startKeyType_;
     }
     return com.google.protobuf.ListValue.getDefaultInstance();
   }
 
   public static final int END_CLOSED_FIELD_NUMBER = 3;
   /**
-   *
-   *
    * 
    * If the end is closed, then the range includes all rows whose
    * first `len(end_closed)` key columns exactly match `end_closed`.
    * 
* * .google.protobuf.ListValue end_closed = 3; - * * @return Whether the endClosed field is set. */ @java.lang.Override @@ -343,27 +296,22 @@ public boolean hasEndClosed() { return endKeyTypeCase_ == 3; } /** - * - * *
    * If the end is closed, then the range includes all rows whose
    * first `len(end_closed)` key columns exactly match `end_closed`.
    * 
* * .google.protobuf.ListValue end_closed = 3; - * * @return The endClosed. */ @java.lang.Override public com.google.protobuf.ListValue getEndClosed() { if (endKeyTypeCase_ == 3) { - return (com.google.protobuf.ListValue) endKeyType_; + return (com.google.protobuf.ListValue) endKeyType_; } return com.google.protobuf.ListValue.getDefaultInstance(); } /** - * - * *
    * If the end is closed, then the range includes all rows whose
    * first `len(end_closed)` key columns exactly match `end_closed`.
@@ -374,22 +322,19 @@ public com.google.protobuf.ListValue getEndClosed() {
   @java.lang.Override
   public com.google.protobuf.ListValueOrBuilder getEndClosedOrBuilder() {
     if (endKeyTypeCase_ == 3) {
-      return (com.google.protobuf.ListValue) endKeyType_;
+       return (com.google.protobuf.ListValue) endKeyType_;
     }
     return com.google.protobuf.ListValue.getDefaultInstance();
   }
 
   public static final int END_OPEN_FIELD_NUMBER = 4;
   /**
-   *
-   *
    * 
    * If the end is open, then the range excludes rows whose first
    * `len(end_open)` key columns exactly match `end_open`.
    * 
* * .google.protobuf.ListValue end_open = 4; - * * @return Whether the endOpen field is set. */ @java.lang.Override @@ -397,27 +342,22 @@ public boolean hasEndOpen() { return endKeyTypeCase_ == 4; } /** - * - * *
    * If the end is open, then the range excludes rows whose first
    * `len(end_open)` key columns exactly match `end_open`.
    * 
* * .google.protobuf.ListValue end_open = 4; - * * @return The endOpen. */ @java.lang.Override public com.google.protobuf.ListValue getEndOpen() { if (endKeyTypeCase_ == 4) { - return (com.google.protobuf.ListValue) endKeyType_; + return (com.google.protobuf.ListValue) endKeyType_; } return com.google.protobuf.ListValue.getDefaultInstance(); } /** - * - * *
    * If the end is open, then the range excludes rows whose first
    * `len(end_open)` key columns exactly match `end_open`.
@@ -428,13 +368,12 @@ public com.google.protobuf.ListValue getEndOpen() {
   @java.lang.Override
   public com.google.protobuf.ListValueOrBuilder getEndOpenOrBuilder() {
     if (endKeyTypeCase_ == 4) {
-      return (com.google.protobuf.ListValue) endKeyType_;
+       return (com.google.protobuf.ListValue) endKeyType_;
     }
     return com.google.protobuf.ListValue.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -446,7 +385,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (startKeyTypeCase_ == 1) {
       output.writeMessage(1, (com.google.protobuf.ListValue) startKeyType_);
     }
@@ -469,24 +409,20 @@ public int getSerializedSize() {
 
     size = 0;
     if (startKeyTypeCase_ == 1) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              1, (com.google.protobuf.ListValue) startKeyType_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, (com.google.protobuf.ListValue) startKeyType_);
     }
     if (startKeyTypeCase_ == 2) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              2, (com.google.protobuf.ListValue) startKeyType_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, (com.google.protobuf.ListValue) startKeyType_);
     }
     if (endKeyTypeCase_ == 3) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              3, (com.google.protobuf.ListValue) endKeyType_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, (com.google.protobuf.ListValue) endKeyType_);
     }
     if (endKeyTypeCase_ == 4) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              4, (com.google.protobuf.ListValue) endKeyType_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, (com.google.protobuf.ListValue) endKeyType_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -496,7 +432,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.spanner.v1.KeyRange)) {
       return super.equals(obj);
@@ -506,10 +442,12 @@ public boolean equals(final java.lang.Object obj) {
     if (!getStartKeyTypeCase().equals(other.getStartKeyTypeCase())) return false;
     switch (startKeyTypeCase_) {
       case 1:
-        if (!getStartClosed().equals(other.getStartClosed())) return false;
+        if (!getStartClosed()
+            .equals(other.getStartClosed())) return false;
         break;
       case 2:
-        if (!getStartOpen().equals(other.getStartOpen())) return false;
+        if (!getStartOpen()
+            .equals(other.getStartOpen())) return false;
         break;
       case 0:
       default:
@@ -517,10 +455,12 @@ public boolean equals(final java.lang.Object obj) {
     if (!getEndKeyTypeCase().equals(other.getEndKeyTypeCase())) return false;
     switch (endKeyTypeCase_) {
       case 3:
-        if (!getEndClosed().equals(other.getEndClosed())) return false;
+        if (!getEndClosed()
+            .equals(other.getEndClosed())) return false;
         break;
       case 4:
-        if (!getEndOpen().equals(other.getEndOpen())) return false;
+        if (!getEndOpen()
+            .equals(other.getEndOpen())) return false;
         break;
       case 0:
       default:
@@ -565,103 +505,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.spanner.v1.KeyRange parseFrom(java.nio.ByteBuffer data)
+  public static com.google.spanner.v1.KeyRange parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.KeyRange parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.spanner.v1.KeyRange parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.spanner.v1.KeyRange parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.KeyRange parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.v1.KeyRange parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.KeyRange parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.v1.KeyRange parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.v1.KeyRange parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.spanner.v1.KeyRange 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.spanner.v1.KeyRange parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.spanner.v1.KeyRange parseFrom(com.google.protobuf.CodedInputStream input)
+  public static com.google.spanner.v1.KeyRange 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.spanner.v1.KeyRange parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.spanner.v1.KeyRange prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * KeyRange represents a range of rows in a table or index.
    * A range has a start key and an end key. These keys can be open or
@@ -728,30 +662,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.v1.KeyRange}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.v1.KeyRange)
       com.google.spanner.v1.KeyRangeOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
       return com.google.spanner.v1.KeysProto.internal_static_google_spanner_v1_KeyRange_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.v1.KeysProto
-          .internal_static_google_spanner_v1_KeyRange_fieldAccessorTable
+      return com.google.spanner.v1.KeysProto.internal_static_google_spanner_v1_KeyRange_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
               com.google.spanner.v1.KeyRange.class, com.google.spanner.v1.KeyRange.Builder.class);
     }
 
     // Construct using com.google.spanner.v1.KeyRange.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -776,7 +713,8 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
       return com.google.spanner.v1.KeysProto.internal_static_google_spanner_v1_KeyRange_descriptor;
     }
 
@@ -797,9 +735,7 @@ public com.google.spanner.v1.KeyRange build() {
     @java.lang.Override
     public com.google.spanner.v1.KeyRange buildPartial() {
       com.google.spanner.v1.KeyRange result = new com.google.spanner.v1.KeyRange(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -812,18 +748,22 @@ private void buildPartial0(com.google.spanner.v1.KeyRange result) {
     private void buildPartialOneofs(com.google.spanner.v1.KeyRange result) {
       result.startKeyTypeCase_ = startKeyTypeCase_;
       result.startKeyType_ = this.startKeyType_;
-      if (startKeyTypeCase_ == 1 && startClosedBuilder_ != null) {
+      if (startKeyTypeCase_ == 1 &&
+          startClosedBuilder_ != null) {
         result.startKeyType_ = startClosedBuilder_.build();
       }
-      if (startKeyTypeCase_ == 2 && startOpenBuilder_ != null) {
+      if (startKeyTypeCase_ == 2 &&
+          startOpenBuilder_ != null) {
         result.startKeyType_ = startOpenBuilder_.build();
       }
       result.endKeyTypeCase_ = endKeyTypeCase_;
       result.endKeyType_ = this.endKeyType_;
-      if (endKeyTypeCase_ == 3 && endClosedBuilder_ != null) {
+      if (endKeyTypeCase_ == 3 &&
+          endClosedBuilder_ != null) {
         result.endKeyType_ = endClosedBuilder_.build();
       }
-      if (endKeyTypeCase_ == 4 && endOpenBuilder_ != null) {
+      if (endKeyTypeCase_ == 4 &&
+          endOpenBuilder_ != null) {
         result.endKeyType_ = endOpenBuilder_.build();
       }
     }
@@ -832,39 +772,38 @@ private void buildPartialOneofs(com.google.spanner.v1.KeyRange 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.spanner.v1.KeyRange) {
-        return mergeFrom((com.google.spanner.v1.KeyRange) other);
+        return mergeFrom((com.google.spanner.v1.KeyRange)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -874,36 +813,30 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     public Builder mergeFrom(com.google.spanner.v1.KeyRange other) {
       if (other == com.google.spanner.v1.KeyRange.getDefaultInstance()) return this;
       switch (other.getStartKeyTypeCase()) {
-        case START_CLOSED:
-          {
-            mergeStartClosed(other.getStartClosed());
-            break;
-          }
-        case START_OPEN:
-          {
-            mergeStartOpen(other.getStartOpen());
-            break;
-          }
-        case STARTKEYTYPE_NOT_SET:
-          {
-            break;
-          }
+        case START_CLOSED: {
+          mergeStartClosed(other.getStartClosed());
+          break;
+        }
+        case START_OPEN: {
+          mergeStartOpen(other.getStartOpen());
+          break;
+        }
+        case STARTKEYTYPE_NOT_SET: {
+          break;
+        }
       }
       switch (other.getEndKeyTypeCase()) {
-        case END_CLOSED:
-          {
-            mergeEndClosed(other.getEndClosed());
-            break;
-          }
-        case END_OPEN:
-          {
-            mergeEndOpen(other.getEndOpen());
-            break;
-          }
-        case ENDKEYTYPE_NOT_SET:
-          {
-            break;
-          }
+        case END_CLOSED: {
+          mergeEndClosed(other.getEndClosed());
+          break;
+        }
+        case END_OPEN: {
+          mergeEndOpen(other.getEndOpen());
+          break;
+        }
+        case ENDKEYTYPE_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -931,37 +864,40 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getStartClosedFieldBuilder().getBuilder(), extensionRegistry);
-                startKeyTypeCase_ = 1;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getStartOpenFieldBuilder().getBuilder(), extensionRegistry);
-                startKeyTypeCase_ = 2;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getEndClosedFieldBuilder().getBuilder(), extensionRegistry);
-                endKeyTypeCase_ = 3;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getEndOpenFieldBuilder().getBuilder(), extensionRegistry);
-                endKeyTypeCase_ = 4;
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getStartClosedFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              startKeyTypeCase_ = 1;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getStartOpenFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              startKeyTypeCase_ = 2;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getEndClosedFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              endKeyTypeCase_ = 3;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getEndOpenFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              endKeyTypeCase_ = 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) {
@@ -971,12 +907,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int startKeyTypeCase_ = 0;
     private java.lang.Object startKeyType_;
-
-    public StartKeyTypeCase getStartKeyTypeCase() {
-      return StartKeyTypeCase.forNumber(startKeyTypeCase_);
+    public StartKeyTypeCase
+        getStartKeyTypeCase() {
+      return StartKeyTypeCase.forNumber(
+          startKeyTypeCase_);
     }
 
     public Builder clearStartKeyType() {
@@ -988,9 +924,10 @@ public Builder clearStartKeyType() {
 
     private int endKeyTypeCase_ = 0;
     private java.lang.Object endKeyType_;
-
-    public EndKeyTypeCase getEndKeyTypeCase() {
-      return EndKeyTypeCase.forNumber(endKeyTypeCase_);
+    public EndKeyTypeCase
+        getEndKeyTypeCase() {
+      return EndKeyTypeCase.forNumber(
+          endKeyTypeCase_);
     }
 
     public Builder clearEndKeyType() {
@@ -1003,20 +940,14 @@ public Builder clearEndKeyType() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.ListValue,
-            com.google.protobuf.ListValue.Builder,
-            com.google.protobuf.ListValueOrBuilder>
-        startClosedBuilder_;
+        com.google.protobuf.ListValue, com.google.protobuf.ListValue.Builder, com.google.protobuf.ListValueOrBuilder> startClosedBuilder_;
     /**
-     *
-     *
      * 
      * If the start is closed, then the range includes all rows whose
      * first `len(start_closed)` key columns exactly match `start_closed`.
      * 
* * .google.protobuf.ListValue start_closed = 1; - * * @return Whether the startClosed field is set. */ @java.lang.Override @@ -1024,15 +955,12 @@ public boolean hasStartClosed() { return startKeyTypeCase_ == 1; } /** - * - * *
      * If the start is closed, then the range includes all rows whose
      * first `len(start_closed)` key columns exactly match `start_closed`.
      * 
* * .google.protobuf.ListValue start_closed = 1; - * * @return The startClosed. */ @java.lang.Override @@ -1050,8 +978,6 @@ public com.google.protobuf.ListValue getStartClosed() { } } /** - * - * *
      * If the start is closed, then the range includes all rows whose
      * first `len(start_closed)` key columns exactly match `start_closed`.
@@ -1073,8 +999,6 @@ public Builder setStartClosed(com.google.protobuf.ListValue value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If the start is closed, then the range includes all rows whose
      * first `len(start_closed)` key columns exactly match `start_closed`.
@@ -1082,7 +1006,8 @@ public Builder setStartClosed(com.google.protobuf.ListValue value) {
      *
      * .google.protobuf.ListValue start_closed = 1;
      */
-    public Builder setStartClosed(com.google.protobuf.ListValue.Builder builderForValue) {
+    public Builder setStartClosed(
+        com.google.protobuf.ListValue.Builder builderForValue) {
       if (startClosedBuilder_ == null) {
         startKeyType_ = builderForValue.build();
         onChanged();
@@ -1093,8 +1018,6 @@ public Builder setStartClosed(com.google.protobuf.ListValue.Builder builderForVa
       return this;
     }
     /**
-     *
-     *
      * 
      * If the start is closed, then the range includes all rows whose
      * first `len(start_closed)` key columns exactly match `start_closed`.
@@ -1104,13 +1027,10 @@ public Builder setStartClosed(com.google.protobuf.ListValue.Builder builderForVa
      */
     public Builder mergeStartClosed(com.google.protobuf.ListValue value) {
       if (startClosedBuilder_ == null) {
-        if (startKeyTypeCase_ == 1
-            && startKeyType_ != com.google.protobuf.ListValue.getDefaultInstance()) {
-          startKeyType_ =
-              com.google.protobuf.ListValue.newBuilder(
-                      (com.google.protobuf.ListValue) startKeyType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (startKeyTypeCase_ == 1 &&
+            startKeyType_ != com.google.protobuf.ListValue.getDefaultInstance()) {
+          startKeyType_ = com.google.protobuf.ListValue.newBuilder((com.google.protobuf.ListValue) startKeyType_)
+              .mergeFrom(value).buildPartial();
         } else {
           startKeyType_ = value;
         }
@@ -1126,8 +1046,6 @@ public Builder mergeStartClosed(com.google.protobuf.ListValue value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If the start is closed, then the range includes all rows whose
      * first `len(start_closed)` key columns exactly match `start_closed`.
@@ -1152,8 +1070,6 @@ public Builder clearStartClosed() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If the start is closed, then the range includes all rows whose
      * first `len(start_closed)` key columns exactly match `start_closed`.
@@ -1165,8 +1081,6 @@ public com.google.protobuf.ListValue.Builder getStartClosedBuilder() {
       return getStartClosedFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If the start is closed, then the range includes all rows whose
      * first `len(start_closed)` key columns exactly match `start_closed`.
@@ -1186,8 +1100,6 @@ public com.google.protobuf.ListValueOrBuilder getStartClosedOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * If the start is closed, then the range includes all rows whose
      * first `len(start_closed)` key columns exactly match `start_closed`.
@@ -1196,20 +1108,17 @@ public com.google.protobuf.ListValueOrBuilder getStartClosedOrBuilder() {
      * .google.protobuf.ListValue start_closed = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.ListValue,
-            com.google.protobuf.ListValue.Builder,
-            com.google.protobuf.ListValueOrBuilder>
+        com.google.protobuf.ListValue, com.google.protobuf.ListValue.Builder, com.google.protobuf.ListValueOrBuilder> 
         getStartClosedFieldBuilder() {
       if (startClosedBuilder_ == null) {
         if (!(startKeyTypeCase_ == 1)) {
           startKeyType_ = com.google.protobuf.ListValue.getDefaultInstance();
         }
-        startClosedBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.ListValue,
-                com.google.protobuf.ListValue.Builder,
-                com.google.protobuf.ListValueOrBuilder>(
-                (com.google.protobuf.ListValue) startKeyType_, getParentForChildren(), isClean());
+        startClosedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.ListValue, com.google.protobuf.ListValue.Builder, com.google.protobuf.ListValueOrBuilder>(
+                (com.google.protobuf.ListValue) startKeyType_,
+                getParentForChildren(),
+                isClean());
         startKeyType_ = null;
       }
       startKeyTypeCase_ = 1;
@@ -1218,20 +1127,14 @@ public com.google.protobuf.ListValueOrBuilder getStartClosedOrBuilder() {
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.ListValue,
-            com.google.protobuf.ListValue.Builder,
-            com.google.protobuf.ListValueOrBuilder>
-        startOpenBuilder_;
+        com.google.protobuf.ListValue, com.google.protobuf.ListValue.Builder, com.google.protobuf.ListValueOrBuilder> startOpenBuilder_;
     /**
-     *
-     *
      * 
      * If the start is open, then the range excludes rows whose first
      * `len(start_open)` key columns exactly match `start_open`.
      * 
* * .google.protobuf.ListValue start_open = 2; - * * @return Whether the startOpen field is set. */ @java.lang.Override @@ -1239,15 +1142,12 @@ public boolean hasStartOpen() { return startKeyTypeCase_ == 2; } /** - * - * *
      * If the start is open, then the range excludes rows whose first
      * `len(start_open)` key columns exactly match `start_open`.
      * 
* * .google.protobuf.ListValue start_open = 2; - * * @return The startOpen. */ @java.lang.Override @@ -1265,8 +1165,6 @@ public com.google.protobuf.ListValue getStartOpen() { } } /** - * - * *
      * If the start is open, then the range excludes rows whose first
      * `len(start_open)` key columns exactly match `start_open`.
@@ -1288,8 +1186,6 @@ public Builder setStartOpen(com.google.protobuf.ListValue value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If the start is open, then the range excludes rows whose first
      * `len(start_open)` key columns exactly match `start_open`.
@@ -1297,7 +1193,8 @@ public Builder setStartOpen(com.google.protobuf.ListValue value) {
      *
      * .google.protobuf.ListValue start_open = 2;
      */
-    public Builder setStartOpen(com.google.protobuf.ListValue.Builder builderForValue) {
+    public Builder setStartOpen(
+        com.google.protobuf.ListValue.Builder builderForValue) {
       if (startOpenBuilder_ == null) {
         startKeyType_ = builderForValue.build();
         onChanged();
@@ -1308,8 +1205,6 @@ public Builder setStartOpen(com.google.protobuf.ListValue.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * If the start is open, then the range excludes rows whose first
      * `len(start_open)` key columns exactly match `start_open`.
@@ -1319,13 +1214,10 @@ public Builder setStartOpen(com.google.protobuf.ListValue.Builder builderForValu
      */
     public Builder mergeStartOpen(com.google.protobuf.ListValue value) {
       if (startOpenBuilder_ == null) {
-        if (startKeyTypeCase_ == 2
-            && startKeyType_ != com.google.protobuf.ListValue.getDefaultInstance()) {
-          startKeyType_ =
-              com.google.protobuf.ListValue.newBuilder(
-                      (com.google.protobuf.ListValue) startKeyType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (startKeyTypeCase_ == 2 &&
+            startKeyType_ != com.google.protobuf.ListValue.getDefaultInstance()) {
+          startKeyType_ = com.google.protobuf.ListValue.newBuilder((com.google.protobuf.ListValue) startKeyType_)
+              .mergeFrom(value).buildPartial();
         } else {
           startKeyType_ = value;
         }
@@ -1341,8 +1233,6 @@ public Builder mergeStartOpen(com.google.protobuf.ListValue value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If the start is open, then the range excludes rows whose first
      * `len(start_open)` key columns exactly match `start_open`.
@@ -1367,8 +1257,6 @@ public Builder clearStartOpen() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If the start is open, then the range excludes rows whose first
      * `len(start_open)` key columns exactly match `start_open`.
@@ -1380,8 +1268,6 @@ public com.google.protobuf.ListValue.Builder getStartOpenBuilder() {
       return getStartOpenFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If the start is open, then the range excludes rows whose first
      * `len(start_open)` key columns exactly match `start_open`.
@@ -1401,8 +1287,6 @@ public com.google.protobuf.ListValueOrBuilder getStartOpenOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * If the start is open, then the range excludes rows whose first
      * `len(start_open)` key columns exactly match `start_open`.
@@ -1411,20 +1295,17 @@ public com.google.protobuf.ListValueOrBuilder getStartOpenOrBuilder() {
      * .google.protobuf.ListValue start_open = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.ListValue,
-            com.google.protobuf.ListValue.Builder,
-            com.google.protobuf.ListValueOrBuilder>
+        com.google.protobuf.ListValue, com.google.protobuf.ListValue.Builder, com.google.protobuf.ListValueOrBuilder> 
         getStartOpenFieldBuilder() {
       if (startOpenBuilder_ == null) {
         if (!(startKeyTypeCase_ == 2)) {
           startKeyType_ = com.google.protobuf.ListValue.getDefaultInstance();
         }
-        startOpenBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.ListValue,
-                com.google.protobuf.ListValue.Builder,
-                com.google.protobuf.ListValueOrBuilder>(
-                (com.google.protobuf.ListValue) startKeyType_, getParentForChildren(), isClean());
+        startOpenBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.ListValue, com.google.protobuf.ListValue.Builder, com.google.protobuf.ListValueOrBuilder>(
+                (com.google.protobuf.ListValue) startKeyType_,
+                getParentForChildren(),
+                isClean());
         startKeyType_ = null;
       }
       startKeyTypeCase_ = 2;
@@ -1433,20 +1314,14 @@ public com.google.protobuf.ListValueOrBuilder getStartOpenOrBuilder() {
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.ListValue,
-            com.google.protobuf.ListValue.Builder,
-            com.google.protobuf.ListValueOrBuilder>
-        endClosedBuilder_;
+        com.google.protobuf.ListValue, com.google.protobuf.ListValue.Builder, com.google.protobuf.ListValueOrBuilder> endClosedBuilder_;
     /**
-     *
-     *
      * 
      * If the end is closed, then the range includes all rows whose
      * first `len(end_closed)` key columns exactly match `end_closed`.
      * 
* * .google.protobuf.ListValue end_closed = 3; - * * @return Whether the endClosed field is set. */ @java.lang.Override @@ -1454,15 +1329,12 @@ public boolean hasEndClosed() { return endKeyTypeCase_ == 3; } /** - * - * *
      * If the end is closed, then the range includes all rows whose
      * first `len(end_closed)` key columns exactly match `end_closed`.
      * 
* * .google.protobuf.ListValue end_closed = 3; - * * @return The endClosed. */ @java.lang.Override @@ -1480,8 +1352,6 @@ public com.google.protobuf.ListValue getEndClosed() { } } /** - * - * *
      * If the end is closed, then the range includes all rows whose
      * first `len(end_closed)` key columns exactly match `end_closed`.
@@ -1503,8 +1373,6 @@ public Builder setEndClosed(com.google.protobuf.ListValue value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If the end is closed, then the range includes all rows whose
      * first `len(end_closed)` key columns exactly match `end_closed`.
@@ -1512,7 +1380,8 @@ public Builder setEndClosed(com.google.protobuf.ListValue value) {
      *
      * .google.protobuf.ListValue end_closed = 3;
      */
-    public Builder setEndClosed(com.google.protobuf.ListValue.Builder builderForValue) {
+    public Builder setEndClosed(
+        com.google.protobuf.ListValue.Builder builderForValue) {
       if (endClosedBuilder_ == null) {
         endKeyType_ = builderForValue.build();
         onChanged();
@@ -1523,8 +1392,6 @@ public Builder setEndClosed(com.google.protobuf.ListValue.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * If the end is closed, then the range includes all rows whose
      * first `len(end_closed)` key columns exactly match `end_closed`.
@@ -1534,12 +1401,10 @@ public Builder setEndClosed(com.google.protobuf.ListValue.Builder builderForValu
      */
     public Builder mergeEndClosed(com.google.protobuf.ListValue value) {
       if (endClosedBuilder_ == null) {
-        if (endKeyTypeCase_ == 3
-            && endKeyType_ != com.google.protobuf.ListValue.getDefaultInstance()) {
-          endKeyType_ =
-              com.google.protobuf.ListValue.newBuilder((com.google.protobuf.ListValue) endKeyType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (endKeyTypeCase_ == 3 &&
+            endKeyType_ != com.google.protobuf.ListValue.getDefaultInstance()) {
+          endKeyType_ = com.google.protobuf.ListValue.newBuilder((com.google.protobuf.ListValue) endKeyType_)
+              .mergeFrom(value).buildPartial();
         } else {
           endKeyType_ = value;
         }
@@ -1555,8 +1420,6 @@ public Builder mergeEndClosed(com.google.protobuf.ListValue value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If the end is closed, then the range includes all rows whose
      * first `len(end_closed)` key columns exactly match `end_closed`.
@@ -1581,8 +1444,6 @@ public Builder clearEndClosed() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If the end is closed, then the range includes all rows whose
      * first `len(end_closed)` key columns exactly match `end_closed`.
@@ -1594,8 +1455,6 @@ public com.google.protobuf.ListValue.Builder getEndClosedBuilder() {
       return getEndClosedFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If the end is closed, then the range includes all rows whose
      * first `len(end_closed)` key columns exactly match `end_closed`.
@@ -1615,8 +1474,6 @@ public com.google.protobuf.ListValueOrBuilder getEndClosedOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * If the end is closed, then the range includes all rows whose
      * first `len(end_closed)` key columns exactly match `end_closed`.
@@ -1625,20 +1482,17 @@ public com.google.protobuf.ListValueOrBuilder getEndClosedOrBuilder() {
      * .google.protobuf.ListValue end_closed = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.ListValue,
-            com.google.protobuf.ListValue.Builder,
-            com.google.protobuf.ListValueOrBuilder>
+        com.google.protobuf.ListValue, com.google.protobuf.ListValue.Builder, com.google.protobuf.ListValueOrBuilder> 
         getEndClosedFieldBuilder() {
       if (endClosedBuilder_ == null) {
         if (!(endKeyTypeCase_ == 3)) {
           endKeyType_ = com.google.protobuf.ListValue.getDefaultInstance();
         }
-        endClosedBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.ListValue,
-                com.google.protobuf.ListValue.Builder,
-                com.google.protobuf.ListValueOrBuilder>(
-                (com.google.protobuf.ListValue) endKeyType_, getParentForChildren(), isClean());
+        endClosedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.ListValue, com.google.protobuf.ListValue.Builder, com.google.protobuf.ListValueOrBuilder>(
+                (com.google.protobuf.ListValue) endKeyType_,
+                getParentForChildren(),
+                isClean());
         endKeyType_ = null;
       }
       endKeyTypeCase_ = 3;
@@ -1647,20 +1501,14 @@ public com.google.protobuf.ListValueOrBuilder getEndClosedOrBuilder() {
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.ListValue,
-            com.google.protobuf.ListValue.Builder,
-            com.google.protobuf.ListValueOrBuilder>
-        endOpenBuilder_;
+        com.google.protobuf.ListValue, com.google.protobuf.ListValue.Builder, com.google.protobuf.ListValueOrBuilder> endOpenBuilder_;
     /**
-     *
-     *
      * 
      * If the end is open, then the range excludes rows whose first
      * `len(end_open)` key columns exactly match `end_open`.
      * 
* * .google.protobuf.ListValue end_open = 4; - * * @return Whether the endOpen field is set. */ @java.lang.Override @@ -1668,15 +1516,12 @@ public boolean hasEndOpen() { return endKeyTypeCase_ == 4; } /** - * - * *
      * If the end is open, then the range excludes rows whose first
      * `len(end_open)` key columns exactly match `end_open`.
      * 
* * .google.protobuf.ListValue end_open = 4; - * * @return The endOpen. */ @java.lang.Override @@ -1694,8 +1539,6 @@ public com.google.protobuf.ListValue getEndOpen() { } } /** - * - * *
      * If the end is open, then the range excludes rows whose first
      * `len(end_open)` key columns exactly match `end_open`.
@@ -1717,8 +1560,6 @@ public Builder setEndOpen(com.google.protobuf.ListValue value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If the end is open, then the range excludes rows whose first
      * `len(end_open)` key columns exactly match `end_open`.
@@ -1726,7 +1567,8 @@ public Builder setEndOpen(com.google.protobuf.ListValue value) {
      *
      * .google.protobuf.ListValue end_open = 4;
      */
-    public Builder setEndOpen(com.google.protobuf.ListValue.Builder builderForValue) {
+    public Builder setEndOpen(
+        com.google.protobuf.ListValue.Builder builderForValue) {
       if (endOpenBuilder_ == null) {
         endKeyType_ = builderForValue.build();
         onChanged();
@@ -1737,8 +1579,6 @@ public Builder setEndOpen(com.google.protobuf.ListValue.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * If the end is open, then the range excludes rows whose first
      * `len(end_open)` key columns exactly match `end_open`.
@@ -1748,12 +1588,10 @@ public Builder setEndOpen(com.google.protobuf.ListValue.Builder builderForValue)
      */
     public Builder mergeEndOpen(com.google.protobuf.ListValue value) {
       if (endOpenBuilder_ == null) {
-        if (endKeyTypeCase_ == 4
-            && endKeyType_ != com.google.protobuf.ListValue.getDefaultInstance()) {
-          endKeyType_ =
-              com.google.protobuf.ListValue.newBuilder((com.google.protobuf.ListValue) endKeyType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (endKeyTypeCase_ == 4 &&
+            endKeyType_ != com.google.protobuf.ListValue.getDefaultInstance()) {
+          endKeyType_ = com.google.protobuf.ListValue.newBuilder((com.google.protobuf.ListValue) endKeyType_)
+              .mergeFrom(value).buildPartial();
         } else {
           endKeyType_ = value;
         }
@@ -1769,8 +1607,6 @@ public Builder mergeEndOpen(com.google.protobuf.ListValue value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If the end is open, then the range excludes rows whose first
      * `len(end_open)` key columns exactly match `end_open`.
@@ -1795,8 +1631,6 @@ public Builder clearEndOpen() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If the end is open, then the range excludes rows whose first
      * `len(end_open)` key columns exactly match `end_open`.
@@ -1808,8 +1642,6 @@ public com.google.protobuf.ListValue.Builder getEndOpenBuilder() {
       return getEndOpenFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If the end is open, then the range excludes rows whose first
      * `len(end_open)` key columns exactly match `end_open`.
@@ -1829,8 +1661,6 @@ public com.google.protobuf.ListValueOrBuilder getEndOpenOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * If the end is open, then the range excludes rows whose first
      * `len(end_open)` key columns exactly match `end_open`.
@@ -1839,29 +1669,26 @@ public com.google.protobuf.ListValueOrBuilder getEndOpenOrBuilder() {
      * .google.protobuf.ListValue end_open = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.ListValue,
-            com.google.protobuf.ListValue.Builder,
-            com.google.protobuf.ListValueOrBuilder>
+        com.google.protobuf.ListValue, com.google.protobuf.ListValue.Builder, com.google.protobuf.ListValueOrBuilder> 
         getEndOpenFieldBuilder() {
       if (endOpenBuilder_ == null) {
         if (!(endKeyTypeCase_ == 4)) {
           endKeyType_ = com.google.protobuf.ListValue.getDefaultInstance();
         }
-        endOpenBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.ListValue,
-                com.google.protobuf.ListValue.Builder,
-                com.google.protobuf.ListValueOrBuilder>(
-                (com.google.protobuf.ListValue) endKeyType_, getParentForChildren(), isClean());
+        endOpenBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.ListValue, com.google.protobuf.ListValue.Builder, com.google.protobuf.ListValueOrBuilder>(
+                (com.google.protobuf.ListValue) endKeyType_,
+                getParentForChildren(),
+                isClean());
         endKeyType_ = null;
       }
       endKeyTypeCase_ = 4;
       onChanged();
       return endOpenBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1871,12 +1698,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.spanner.v1.KeyRange)
   }
 
   // @@protoc_insertion_point(class_scope:google.spanner.v1.KeyRange)
   private static final com.google.spanner.v1.KeyRange DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.spanner.v1.KeyRange();
   }
@@ -1885,27 +1712,27 @@ public static com.google.spanner.v1.KeyRange getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public KeyRange parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public KeyRange parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1920,4 +1747,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.spanner.v1.KeyRange getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeyRangeOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeyRangeOrBuilder.java
similarity index 83%
rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeyRangeOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeyRangeOrBuilder.java
index c6a5e89496f..7d60ad33ddb 100644
--- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeyRangeOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeyRangeOrBuilder.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/spanner/v1/keys.proto
 
 package com.google.spanner.v1;
 
-public interface KeyRangeOrBuilder
-    extends
+public interface KeyRangeOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.spanner.v1.KeyRange)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * If the start is closed, then the range includes all rows whose
    * first `len(start_closed)` key columns exactly match `start_closed`.
    * 
* * .google.protobuf.ListValue start_closed = 1; - * * @return Whether the startClosed field is set. */ boolean hasStartClosed(); /** - * - * *
    * If the start is closed, then the range includes all rows whose
    * first `len(start_closed)` key columns exactly match `start_closed`.
    * 
* * .google.protobuf.ListValue start_closed = 1; - * * @return The startClosed. */ com.google.protobuf.ListValue getStartClosed(); /** - * - * *
    * If the start is closed, then the range includes all rows whose
    * first `len(start_closed)` key columns exactly match `start_closed`.
@@ -62,34 +38,26 @@ public interface KeyRangeOrBuilder
   com.google.protobuf.ListValueOrBuilder getStartClosedOrBuilder();
 
   /**
-   *
-   *
    * 
    * If the start is open, then the range excludes rows whose first
    * `len(start_open)` key columns exactly match `start_open`.
    * 
* * .google.protobuf.ListValue start_open = 2; - * * @return Whether the startOpen field is set. */ boolean hasStartOpen(); /** - * - * *
    * If the start is open, then the range excludes rows whose first
    * `len(start_open)` key columns exactly match `start_open`.
    * 
* * .google.protobuf.ListValue start_open = 2; - * * @return The startOpen. */ com.google.protobuf.ListValue getStartOpen(); /** - * - * *
    * If the start is open, then the range excludes rows whose first
    * `len(start_open)` key columns exactly match `start_open`.
@@ -100,34 +68,26 @@ public interface KeyRangeOrBuilder
   com.google.protobuf.ListValueOrBuilder getStartOpenOrBuilder();
 
   /**
-   *
-   *
    * 
    * If the end is closed, then the range includes all rows whose
    * first `len(end_closed)` key columns exactly match `end_closed`.
    * 
* * .google.protobuf.ListValue end_closed = 3; - * * @return Whether the endClosed field is set. */ boolean hasEndClosed(); /** - * - * *
    * If the end is closed, then the range includes all rows whose
    * first `len(end_closed)` key columns exactly match `end_closed`.
    * 
* * .google.protobuf.ListValue end_closed = 3; - * * @return The endClosed. */ com.google.protobuf.ListValue getEndClosed(); /** - * - * *
    * If the end is closed, then the range includes all rows whose
    * first `len(end_closed)` key columns exactly match `end_closed`.
@@ -138,34 +98,26 @@ public interface KeyRangeOrBuilder
   com.google.protobuf.ListValueOrBuilder getEndClosedOrBuilder();
 
   /**
-   *
-   *
    * 
    * If the end is open, then the range excludes rows whose first
    * `len(end_open)` key columns exactly match `end_open`.
    * 
* * .google.protobuf.ListValue end_open = 4; - * * @return Whether the endOpen field is set. */ boolean hasEndOpen(); /** - * - * *
    * If the end is open, then the range excludes rows whose first
    * `len(end_open)` key columns exactly match `end_open`.
    * 
* * .google.protobuf.ListValue end_open = 4; - * * @return The endOpen. */ com.google.protobuf.ListValue getEndOpen(); /** - * - * *
    * If the end is open, then the range excludes rows whose first
    * `len(end_open)` key columns exactly match `end_open`.
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeySet.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeySet.java
similarity index 78%
rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeySet.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeySet.java
index fca1f9f6fbb..9ea264e51af 100644
--- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeySet.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeySet.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/spanner/v1/keys.proto
 
 package com.google.spanner.v1;
 
 /**
- *
- *
  * 
  * `KeySet` defines a collection of Cloud Spanner keys and/or key ranges. All
  * the keys are expected to be in the same table or index. The keys need
@@ -32,16 +15,15 @@
  *
  * Protobuf type {@code google.spanner.v1.KeySet}
  */
-public final class KeySet extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class KeySet extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.v1.KeySet)
     KeySetOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use KeySet.newBuilder() to construct.
   private KeySet(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private KeySet() {
     keys_ = java.util.Collections.emptyList();
     ranges_ = java.util.Collections.emptyList();
@@ -49,35 +31,33 @@ private KeySet() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new KeySet();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
     return com.google.spanner.v1.KeysProto.internal_static_google_spanner_v1_KeySet_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.v1.KeysProto
-        .internal_static_google_spanner_v1_KeySet_fieldAccessorTable
+    return com.google.spanner.v1.KeysProto.internal_static_google_spanner_v1_KeySet_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.spanner.v1.KeySet.class, com.google.spanner.v1.KeySet.Builder.class);
   }
 
   public static final int KEYS_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private java.util.List keys_;
   /**
-   *
-   *
    * 
    * A list of specific keys. Entries in `keys` should have exactly as
    * many elements as there are columns in the primary or index key
@@ -92,8 +72,6 @@ public java.util.List getKeysList() {
     return keys_;
   }
   /**
-   *
-   *
    * 
    * A list of specific keys. Entries in `keys` should have exactly as
    * many elements as there are columns in the primary or index key
@@ -104,12 +82,11 @@ public java.util.List getKeysList() {
    * repeated .google.protobuf.ListValue keys = 1;
    */
   @java.lang.Override
-  public java.util.List getKeysOrBuilderList() {
+  public java.util.List 
+      getKeysOrBuilderList() {
     return keys_;
   }
   /**
-   *
-   *
    * 
    * A list of specific keys. Entries in `keys` should have exactly as
    * many elements as there are columns in the primary or index key
@@ -124,8 +101,6 @@ public int getKeysCount() {
     return keys_.size();
   }
   /**
-   *
-   *
    * 
    * A list of specific keys. Entries in `keys` should have exactly as
    * many elements as there are columns in the primary or index key
@@ -140,8 +115,6 @@ public com.google.protobuf.ListValue getKeys(int index) {
     return keys_.get(index);
   }
   /**
-   *
-   *
    * 
    * A list of specific keys. Entries in `keys` should have exactly as
    * many elements as there are columns in the primary or index key
@@ -152,17 +125,15 @@ public com.google.protobuf.ListValue getKeys(int index) {
    * repeated .google.protobuf.ListValue keys = 1;
    */
   @java.lang.Override
-  public com.google.protobuf.ListValueOrBuilder getKeysOrBuilder(int index) {
+  public com.google.protobuf.ListValueOrBuilder getKeysOrBuilder(
+      int index) {
     return keys_.get(index);
   }
 
   public static final int RANGES_FIELD_NUMBER = 2;
-
   @SuppressWarnings("serial")
   private java.util.List ranges_;
   /**
-   *
-   *
    * 
    * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
    * key range specifications.
@@ -175,8 +146,6 @@ public java.util.List getRangesList() {
     return ranges_;
   }
   /**
-   *
-   *
    * 
    * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
    * key range specifications.
@@ -185,13 +154,11 @@ public java.util.List getRangesList() {
    * repeated .google.spanner.v1.KeyRange ranges = 2;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getRangesOrBuilderList() {
     return ranges_;
   }
   /**
-   *
-   *
    * 
    * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
    * key range specifications.
@@ -204,8 +171,6 @@ public int getRangesCount() {
     return ranges_.size();
   }
   /**
-   *
-   *
    * 
    * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
    * key range specifications.
@@ -218,8 +183,6 @@ public com.google.spanner.v1.KeyRange getRanges(int index) {
     return ranges_.get(index);
   }
   /**
-   *
-   *
    * 
    * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
    * key range specifications.
@@ -228,15 +191,14 @@ public com.google.spanner.v1.KeyRange getRanges(int index) {
    * repeated .google.spanner.v1.KeyRange ranges = 2;
    */
   @java.lang.Override
-  public com.google.spanner.v1.KeyRangeOrBuilder getRangesOrBuilder(int index) {
+  public com.google.spanner.v1.KeyRangeOrBuilder getRangesOrBuilder(
+      int index) {
     return ranges_.get(index);
   }
 
   public static final int ALL_FIELD_NUMBER = 3;
   private boolean all_ = false;
   /**
-   *
-   *
    * 
    * For convenience `all` can be set to `true` to indicate that this
    * `KeySet` matches all keys in the table or index. Note that any keys
@@ -244,7 +206,6 @@ public com.google.spanner.v1.KeyRangeOrBuilder getRangesOrBuilder(int index) {
    * 
* * bool all = 3; - * * @return The all. */ @java.lang.Override @@ -253,7 +214,6 @@ public boolean getAll() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -265,7 +225,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < keys_.size(); i++) { output.writeMessage(1, keys_.get(i)); } @@ -285,13 +246,16 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < keys_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, keys_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, keys_.get(i)); } for (int i = 0; i < ranges_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, ranges_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, ranges_.get(i)); } if (all_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, all_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, all_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -301,16 +265,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.spanner.v1.KeySet)) { return super.equals(obj); } com.google.spanner.v1.KeySet other = (com.google.spanner.v1.KeySet) obj; - if (!getKeysList().equals(other.getKeysList())) return false; - if (!getRangesList().equals(other.getRangesList())) return false; - if (getAll() != other.getAll()) return false; + if (!getKeysList() + .equals(other.getKeysList())) return false; + if (!getRangesList() + .equals(other.getRangesList())) return false; + if (getAll() + != other.getAll()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -331,109 +298,104 @@ public int hashCode() { hash = (53 * hash) + getRangesList().hashCode(); } hash = (37 * hash) + ALL_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAll()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAll()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.spanner.v1.KeySet parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.v1.KeySet parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.KeySet parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.v1.KeySet parseFrom(com.google.protobuf.ByteString data) + public static com.google.spanner.v1.KeySet parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.KeySet parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.KeySet parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.KeySet parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.KeySet parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.KeySet parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.KeySet 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.spanner.v1.KeySet parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.spanner.v1.KeySet parseFrom(com.google.protobuf.CodedInputStream input) + public static com.google.spanner.v1.KeySet 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.spanner.v1.KeySet parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.v1.KeySet prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * `KeySet` defines a collection of Cloud Spanner keys and/or key ranges. All
    * the keys are expected to be in the same table or index. The keys need
@@ -445,30 +407,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.v1.KeySet}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.v1.KeySet)
       com.google.spanner.v1.KeySetOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
       return com.google.spanner.v1.KeysProto.internal_static_google_spanner_v1_KeySet_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.v1.KeysProto
-          .internal_static_google_spanner_v1_KeySet_fieldAccessorTable
+      return com.google.spanner.v1.KeysProto.internal_static_google_spanner_v1_KeySet_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
               com.google.spanner.v1.KeySet.class, com.google.spanner.v1.KeySet.Builder.class);
     }
 
     // Construct using com.google.spanner.v1.KeySet.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -492,7 +457,8 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
       return com.google.spanner.v1.KeysProto.internal_static_google_spanner_v1_KeySet_descriptor;
     }
 
@@ -514,9 +480,7 @@ public com.google.spanner.v1.KeySet build() {
     public com.google.spanner.v1.KeySet buildPartial() {
       com.google.spanner.v1.KeySet result = new com.google.spanner.v1.KeySet(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -553,39 +517,38 @@ private void buildPartial0(com.google.spanner.v1.KeySet 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.spanner.v1.KeySet) {
-        return mergeFrom((com.google.spanner.v1.KeySet) other);
+        return mergeFrom((com.google.spanner.v1.KeySet)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -612,10 +575,9 @@ public Builder mergeFrom(com.google.spanner.v1.KeySet other) {
             keysBuilder_ = null;
             keys_ = other.keys_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            keysBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getKeysFieldBuilder()
-                    : null;
+            keysBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getKeysFieldBuilder() : null;
           } else {
             keysBuilder_.addAllMessages(other.keys_);
           }
@@ -639,10 +601,9 @@ public Builder mergeFrom(com.google.spanner.v1.KeySet other) {
             rangesBuilder_ = null;
             ranges_ = other.ranges_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            rangesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getRangesFieldBuilder()
-                    : null;
+            rangesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getRangesFieldBuilder() : null;
           } else {
             rangesBuilder_.addAllMessages(other.ranges_);
           }
@@ -677,43 +638,43 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.protobuf.ListValue m =
-                    input.readMessage(com.google.protobuf.ListValue.parser(), extensionRegistry);
-                if (keysBuilder_ == null) {
-                  ensureKeysIsMutable();
-                  keys_.add(m);
-                } else {
-                  keysBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-            case 18:
-              {
-                com.google.spanner.v1.KeyRange m =
-                    input.readMessage(com.google.spanner.v1.KeyRange.parser(), extensionRegistry);
-                if (rangesBuilder_ == null) {
-                  ensureRangesIsMutable();
-                  ranges_.add(m);
-                } else {
-                  rangesBuilder_.addMessage(m);
-                }
-                break;
-              } // case 18
-            case 24:
-              {
-                all_ = input.readBool();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 24
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              com.google.protobuf.ListValue m =
+                  input.readMessage(
+                      com.google.protobuf.ListValue.parser(),
+                      extensionRegistry);
+              if (keysBuilder_ == null) {
+                ensureKeysIsMutable();
+                keys_.add(m);
+              } else {
+                keysBuilder_.addMessage(m);
+              }
+              break;
+            } // case 10
+            case 18: {
+              com.google.spanner.v1.KeyRange m =
+                  input.readMessage(
+                      com.google.spanner.v1.KeyRange.parser(),
+                      extensionRegistry);
+              if (rangesBuilder_ == null) {
+                ensureRangesIsMutable();
+                ranges_.add(m);
+              } else {
+                rangesBuilder_.addMessage(m);
+              }
+              break;
+            } // case 18
+            case 24: {
+              all_ = 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) {
@@ -723,27 +684,21 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
-    private java.util.List keys_ = java.util.Collections.emptyList();
-
+    private java.util.List keys_ =
+      java.util.Collections.emptyList();
     private void ensureKeysIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         keys_ = new java.util.ArrayList(keys_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.protobuf.ListValue,
-            com.google.protobuf.ListValue.Builder,
-            com.google.protobuf.ListValueOrBuilder>
-        keysBuilder_;
+        com.google.protobuf.ListValue, com.google.protobuf.ListValue.Builder, com.google.protobuf.ListValueOrBuilder> keysBuilder_;
 
     /**
-     *
-     *
      * 
      * A list of specific keys. Entries in `keys` should have exactly as
      * many elements as there are columns in the primary or index key
@@ -761,8 +716,6 @@ public java.util.List getKeysList() {
       }
     }
     /**
-     *
-     *
      * 
      * A list of specific keys. Entries in `keys` should have exactly as
      * many elements as there are columns in the primary or index key
@@ -780,8 +733,6 @@ public int getKeysCount() {
       }
     }
     /**
-     *
-     *
      * 
      * A list of specific keys. Entries in `keys` should have exactly as
      * many elements as there are columns in the primary or index key
@@ -799,8 +750,6 @@ public com.google.protobuf.ListValue getKeys(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * A list of specific keys. Entries in `keys` should have exactly as
      * many elements as there are columns in the primary or index key
@@ -810,7 +759,8 @@ public com.google.protobuf.ListValue getKeys(int index) {
      *
      * repeated .google.protobuf.ListValue keys = 1;
      */
-    public Builder setKeys(int index, com.google.protobuf.ListValue value) {
+    public Builder setKeys(
+        int index, com.google.protobuf.ListValue value) {
       if (keysBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -824,8 +774,6 @@ public Builder setKeys(int index, com.google.protobuf.ListValue value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of specific keys. Entries in `keys` should have exactly as
      * many elements as there are columns in the primary or index key
@@ -835,7 +783,8 @@ public Builder setKeys(int index, com.google.protobuf.ListValue value) {
      *
      * repeated .google.protobuf.ListValue keys = 1;
      */
-    public Builder setKeys(int index, com.google.protobuf.ListValue.Builder builderForValue) {
+    public Builder setKeys(
+        int index, com.google.protobuf.ListValue.Builder builderForValue) {
       if (keysBuilder_ == null) {
         ensureKeysIsMutable();
         keys_.set(index, builderForValue.build());
@@ -846,8 +795,6 @@ public Builder setKeys(int index, com.google.protobuf.ListValue.Builder builderF
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of specific keys. Entries in `keys` should have exactly as
      * many elements as there are columns in the primary or index key
@@ -871,8 +818,6 @@ public Builder addKeys(com.google.protobuf.ListValue value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of specific keys. Entries in `keys` should have exactly as
      * many elements as there are columns in the primary or index key
@@ -882,7 +827,8 @@ public Builder addKeys(com.google.protobuf.ListValue value) {
      *
      * repeated .google.protobuf.ListValue keys = 1;
      */
-    public Builder addKeys(int index, com.google.protobuf.ListValue value) {
+    public Builder addKeys(
+        int index, com.google.protobuf.ListValue value) {
       if (keysBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -896,8 +842,6 @@ public Builder addKeys(int index, com.google.protobuf.ListValue value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of specific keys. Entries in `keys` should have exactly as
      * many elements as there are columns in the primary or index key
@@ -907,7 +851,8 @@ public Builder addKeys(int index, com.google.protobuf.ListValue value) {
      *
      * repeated .google.protobuf.ListValue keys = 1;
      */
-    public Builder addKeys(com.google.protobuf.ListValue.Builder builderForValue) {
+    public Builder addKeys(
+        com.google.protobuf.ListValue.Builder builderForValue) {
       if (keysBuilder_ == null) {
         ensureKeysIsMutable();
         keys_.add(builderForValue.build());
@@ -918,8 +863,6 @@ public Builder addKeys(com.google.protobuf.ListValue.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of specific keys. Entries in `keys` should have exactly as
      * many elements as there are columns in the primary or index key
@@ -929,7 +872,8 @@ public Builder addKeys(com.google.protobuf.ListValue.Builder builderForValue) {
      *
      * repeated .google.protobuf.ListValue keys = 1;
      */
-    public Builder addKeys(int index, com.google.protobuf.ListValue.Builder builderForValue) {
+    public Builder addKeys(
+        int index, com.google.protobuf.ListValue.Builder builderForValue) {
       if (keysBuilder_ == null) {
         ensureKeysIsMutable();
         keys_.add(index, builderForValue.build());
@@ -940,8 +884,6 @@ public Builder addKeys(int index, com.google.protobuf.ListValue.Builder builderF
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of specific keys. Entries in `keys` should have exactly as
      * many elements as there are columns in the primary or index key
@@ -951,10 +893,12 @@ public Builder addKeys(int index, com.google.protobuf.ListValue.Builder builderF
      *
      * repeated .google.protobuf.ListValue keys = 1;
      */
-    public Builder addAllKeys(java.lang.Iterable values) {
+    public Builder addAllKeys(
+        java.lang.Iterable values) {
       if (keysBuilder_ == null) {
         ensureKeysIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, keys_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, keys_);
         onChanged();
       } else {
         keysBuilder_.addAllMessages(values);
@@ -962,8 +906,6 @@ public Builder addAllKeys(java.lang.Iterable
      * A list of specific keys. Entries in `keys` should have exactly as
      * many elements as there are columns in the primary or index key
@@ -984,8 +926,6 @@ public Builder clearKeys() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of specific keys. Entries in `keys` should have exactly as
      * many elements as there are columns in the primary or index key
@@ -1006,8 +946,6 @@ public Builder removeKeys(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of specific keys. Entries in `keys` should have exactly as
      * many elements as there are columns in the primary or index key
@@ -1017,12 +955,11 @@ public Builder removeKeys(int index) {
      *
      * repeated .google.protobuf.ListValue keys = 1;
      */
-    public com.google.protobuf.ListValue.Builder getKeysBuilder(int index) {
+    public com.google.protobuf.ListValue.Builder getKeysBuilder(
+        int index) {
       return getKeysFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * A list of specific keys. Entries in `keys` should have exactly as
      * many elements as there are columns in the primary or index key
@@ -1032,16 +969,14 @@ public com.google.protobuf.ListValue.Builder getKeysBuilder(int index) {
      *
      * repeated .google.protobuf.ListValue keys = 1;
      */
-    public com.google.protobuf.ListValueOrBuilder getKeysOrBuilder(int index) {
+    public com.google.protobuf.ListValueOrBuilder getKeysOrBuilder(
+        int index) {
       if (keysBuilder_ == null) {
-        return keys_.get(index);
-      } else {
+        return keys_.get(index);  } else {
         return keysBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * A list of specific keys. Entries in `keys` should have exactly as
      * many elements as there are columns in the primary or index key
@@ -1051,7 +986,8 @@ public com.google.protobuf.ListValueOrBuilder getKeysOrBuilder(int index) {
      *
      * repeated .google.protobuf.ListValue keys = 1;
      */
-    public java.util.List getKeysOrBuilderList() {
+    public java.util.List 
+         getKeysOrBuilderList() {
       if (keysBuilder_ != null) {
         return keysBuilder_.getMessageOrBuilderList();
       } else {
@@ -1059,8 +995,6 @@ public java.util.List getKeysO
       }
     }
     /**
-     *
-     *
      * 
      * A list of specific keys. Entries in `keys` should have exactly as
      * many elements as there are columns in the primary or index key
@@ -1071,11 +1005,10 @@ public java.util.List getKeysO
      * repeated .google.protobuf.ListValue keys = 1;
      */
     public com.google.protobuf.ListValue.Builder addKeysBuilder() {
-      return getKeysFieldBuilder().addBuilder(com.google.protobuf.ListValue.getDefaultInstance());
+      return getKeysFieldBuilder().addBuilder(
+          com.google.protobuf.ListValue.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A list of specific keys. Entries in `keys` should have exactly as
      * many elements as there are columns in the primary or index key
@@ -1085,13 +1018,12 @@ public com.google.protobuf.ListValue.Builder addKeysBuilder() {
      *
      * repeated .google.protobuf.ListValue keys = 1;
      */
-    public com.google.protobuf.ListValue.Builder addKeysBuilder(int index) {
-      return getKeysFieldBuilder()
-          .addBuilder(index, com.google.protobuf.ListValue.getDefaultInstance());
+    public com.google.protobuf.ListValue.Builder addKeysBuilder(
+        int index) {
+      return getKeysFieldBuilder().addBuilder(
+          index, com.google.protobuf.ListValue.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A list of specific keys. Entries in `keys` should have exactly as
      * many elements as there are columns in the primary or index key
@@ -1101,46 +1033,38 @@ public com.google.protobuf.ListValue.Builder addKeysBuilder(int index) {
      *
      * repeated .google.protobuf.ListValue keys = 1;
      */
-    public java.util.List getKeysBuilderList() {
+    public java.util.List 
+         getKeysBuilderList() {
       return getKeysFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.protobuf.ListValue,
-            com.google.protobuf.ListValue.Builder,
-            com.google.protobuf.ListValueOrBuilder>
+        com.google.protobuf.ListValue, com.google.protobuf.ListValue.Builder, com.google.protobuf.ListValueOrBuilder> 
         getKeysFieldBuilder() {
       if (keysBuilder_ == null) {
-        keysBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.protobuf.ListValue,
-                com.google.protobuf.ListValue.Builder,
-                com.google.protobuf.ListValueOrBuilder>(
-                keys_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        keysBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.protobuf.ListValue, com.google.protobuf.ListValue.Builder, com.google.protobuf.ListValueOrBuilder>(
+                keys_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         keys_ = null;
       }
       return keysBuilder_;
     }
 
     private java.util.List ranges_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureRangesIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
         ranges_ = new java.util.ArrayList(ranges_);
         bitField0_ |= 0x00000002;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.spanner.v1.KeyRange,
-            com.google.spanner.v1.KeyRange.Builder,
-            com.google.spanner.v1.KeyRangeOrBuilder>
-        rangesBuilder_;
+        com.google.spanner.v1.KeyRange, com.google.spanner.v1.KeyRange.Builder, com.google.spanner.v1.KeyRangeOrBuilder> rangesBuilder_;
 
     /**
-     *
-     *
      * 
      * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
      * key range specifications.
@@ -1156,8 +1080,6 @@ public java.util.List getRangesList() {
       }
     }
     /**
-     *
-     *
      * 
      * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
      * key range specifications.
@@ -1173,8 +1095,6 @@ public int getRangesCount() {
       }
     }
     /**
-     *
-     *
      * 
      * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
      * key range specifications.
@@ -1190,8 +1110,6 @@ public com.google.spanner.v1.KeyRange getRanges(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
      * key range specifications.
@@ -1199,7 +1117,8 @@ public com.google.spanner.v1.KeyRange getRanges(int index) {
      *
      * repeated .google.spanner.v1.KeyRange ranges = 2;
      */
-    public Builder setRanges(int index, com.google.spanner.v1.KeyRange value) {
+    public Builder setRanges(
+        int index, com.google.spanner.v1.KeyRange value) {
       if (rangesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1213,8 +1132,6 @@ public Builder setRanges(int index, com.google.spanner.v1.KeyRange value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
      * key range specifications.
@@ -1222,7 +1139,8 @@ public Builder setRanges(int index, com.google.spanner.v1.KeyRange value) {
      *
      * repeated .google.spanner.v1.KeyRange ranges = 2;
      */
-    public Builder setRanges(int index, com.google.spanner.v1.KeyRange.Builder builderForValue) {
+    public Builder setRanges(
+        int index, com.google.spanner.v1.KeyRange.Builder builderForValue) {
       if (rangesBuilder_ == null) {
         ensureRangesIsMutable();
         ranges_.set(index, builderForValue.build());
@@ -1233,8 +1151,6 @@ public Builder setRanges(int index, com.google.spanner.v1.KeyRange.Builder build
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
      * key range specifications.
@@ -1256,8 +1172,6 @@ public Builder addRanges(com.google.spanner.v1.KeyRange value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
      * key range specifications.
@@ -1265,7 +1179,8 @@ public Builder addRanges(com.google.spanner.v1.KeyRange value) {
      *
      * repeated .google.spanner.v1.KeyRange ranges = 2;
      */
-    public Builder addRanges(int index, com.google.spanner.v1.KeyRange value) {
+    public Builder addRanges(
+        int index, com.google.spanner.v1.KeyRange value) {
       if (rangesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1279,8 +1194,6 @@ public Builder addRanges(int index, com.google.spanner.v1.KeyRange value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
      * key range specifications.
@@ -1288,7 +1201,8 @@ public Builder addRanges(int index, com.google.spanner.v1.KeyRange value) {
      *
      * repeated .google.spanner.v1.KeyRange ranges = 2;
      */
-    public Builder addRanges(com.google.spanner.v1.KeyRange.Builder builderForValue) {
+    public Builder addRanges(
+        com.google.spanner.v1.KeyRange.Builder builderForValue) {
       if (rangesBuilder_ == null) {
         ensureRangesIsMutable();
         ranges_.add(builderForValue.build());
@@ -1299,8 +1213,6 @@ public Builder addRanges(com.google.spanner.v1.KeyRange.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
      * key range specifications.
@@ -1308,7 +1220,8 @@ public Builder addRanges(com.google.spanner.v1.KeyRange.Builder builderForValue)
      *
      * repeated .google.spanner.v1.KeyRange ranges = 2;
      */
-    public Builder addRanges(int index, com.google.spanner.v1.KeyRange.Builder builderForValue) {
+    public Builder addRanges(
+        int index, com.google.spanner.v1.KeyRange.Builder builderForValue) {
       if (rangesBuilder_ == null) {
         ensureRangesIsMutable();
         ranges_.add(index, builderForValue.build());
@@ -1319,8 +1232,6 @@ public Builder addRanges(int index, com.google.spanner.v1.KeyRange.Builder build
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
      * key range specifications.
@@ -1332,7 +1243,8 @@ public Builder addAllRanges(
         java.lang.Iterable values) {
       if (rangesBuilder_ == null) {
         ensureRangesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, ranges_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, ranges_);
         onChanged();
       } else {
         rangesBuilder_.addAllMessages(values);
@@ -1340,8 +1252,6 @@ public Builder addAllRanges(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
      * key range specifications.
@@ -1360,8 +1270,6 @@ public Builder clearRanges() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
      * key range specifications.
@@ -1380,8 +1288,6 @@ public Builder removeRanges(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
      * key range specifications.
@@ -1389,12 +1295,11 @@ public Builder removeRanges(int index) {
      *
      * repeated .google.spanner.v1.KeyRange ranges = 2;
      */
-    public com.google.spanner.v1.KeyRange.Builder getRangesBuilder(int index) {
+    public com.google.spanner.v1.KeyRange.Builder getRangesBuilder(
+        int index) {
       return getRangesFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
      * key range specifications.
@@ -1402,16 +1307,14 @@ public com.google.spanner.v1.KeyRange.Builder getRangesBuilder(int index) {
      *
      * repeated .google.spanner.v1.KeyRange ranges = 2;
      */
-    public com.google.spanner.v1.KeyRangeOrBuilder getRangesOrBuilder(int index) {
+    public com.google.spanner.v1.KeyRangeOrBuilder getRangesOrBuilder(
+        int index) {
       if (rangesBuilder_ == null) {
-        return ranges_.get(index);
-      } else {
+        return ranges_.get(index);  } else {
         return rangesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
      * key range specifications.
@@ -1419,8 +1322,8 @@ public com.google.spanner.v1.KeyRangeOrBuilder getRangesOrBuilder(int index) {
      *
      * repeated .google.spanner.v1.KeyRange ranges = 2;
      */
-    public java.util.List
-        getRangesOrBuilderList() {
+    public java.util.List 
+         getRangesOrBuilderList() {
       if (rangesBuilder_ != null) {
         return rangesBuilder_.getMessageOrBuilderList();
       } else {
@@ -1428,8 +1331,6 @@ public com.google.spanner.v1.KeyRangeOrBuilder getRangesOrBuilder(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
      * key range specifications.
@@ -1438,12 +1339,10 @@ public com.google.spanner.v1.KeyRangeOrBuilder getRangesOrBuilder(int index) {
      * repeated .google.spanner.v1.KeyRange ranges = 2;
      */
     public com.google.spanner.v1.KeyRange.Builder addRangesBuilder() {
-      return getRangesFieldBuilder()
-          .addBuilder(com.google.spanner.v1.KeyRange.getDefaultInstance());
+      return getRangesFieldBuilder().addBuilder(
+          com.google.spanner.v1.KeyRange.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
      * key range specifications.
@@ -1451,13 +1350,12 @@ public com.google.spanner.v1.KeyRange.Builder addRangesBuilder() {
      *
      * repeated .google.spanner.v1.KeyRange ranges = 2;
      */
-    public com.google.spanner.v1.KeyRange.Builder addRangesBuilder(int index) {
-      return getRangesFieldBuilder()
-          .addBuilder(index, com.google.spanner.v1.KeyRange.getDefaultInstance());
+    public com.google.spanner.v1.KeyRange.Builder addRangesBuilder(
+        int index) {
+      return getRangesFieldBuilder().addBuilder(
+          index, com.google.spanner.v1.KeyRange.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
      * key range specifications.
@@ -1465,31 +1363,27 @@ public com.google.spanner.v1.KeyRange.Builder addRangesBuilder(int index) {
      *
      * repeated .google.spanner.v1.KeyRange ranges = 2;
      */
-    public java.util.List getRangesBuilderList() {
+    public java.util.List 
+         getRangesBuilderList() {
       return getRangesFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.spanner.v1.KeyRange,
-            com.google.spanner.v1.KeyRange.Builder,
-            com.google.spanner.v1.KeyRangeOrBuilder>
+        com.google.spanner.v1.KeyRange, com.google.spanner.v1.KeyRange.Builder, com.google.spanner.v1.KeyRangeOrBuilder> 
         getRangesFieldBuilder() {
       if (rangesBuilder_ == null) {
-        rangesBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.spanner.v1.KeyRange,
-                com.google.spanner.v1.KeyRange.Builder,
-                com.google.spanner.v1.KeyRangeOrBuilder>(
-                ranges_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
+        rangesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.spanner.v1.KeyRange, com.google.spanner.v1.KeyRange.Builder, com.google.spanner.v1.KeyRangeOrBuilder>(
+                ranges_,
+                ((bitField0_ & 0x00000002) != 0),
+                getParentForChildren(),
+                isClean());
         ranges_ = null;
       }
       return rangesBuilder_;
     }
 
-    private boolean all_;
+    private boolean all_ ;
     /**
-     *
-     *
      * 
      * For convenience `all` can be set to `true` to indicate that this
      * `KeySet` matches all keys in the table or index. Note that any keys
@@ -1497,7 +1391,6 @@ public java.util.List getRangesBuilderLi
      * 
* * bool all = 3; - * * @return The all. */ @java.lang.Override @@ -1505,8 +1398,6 @@ public boolean getAll() { return all_; } /** - * - * *
      * For convenience `all` can be set to `true` to indicate that this
      * `KeySet` matches all keys in the table or index. Note that any keys
@@ -1514,20 +1405,17 @@ public boolean getAll() {
      * 
* * bool all = 3; - * * @param value The all to set. * @return This builder for chaining. */ public Builder setAll(boolean value) { - + all_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * For convenience `all` can be set to `true` to indicate that this
      * `KeySet` matches all keys in the table or index. Note that any keys
@@ -1535,7 +1423,6 @@ public Builder setAll(boolean value) {
      * 
* * bool all = 3; - * * @return This builder for chaining. */ public Builder clearAll() { @@ -1544,9 +1431,9 @@ public Builder clearAll() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1556,12 +1443,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.v1.KeySet) } // @@protoc_insertion_point(class_scope:google.spanner.v1.KeySet) private static final com.google.spanner.v1.KeySet DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.v1.KeySet(); } @@ -1570,27 +1457,27 @@ public static com.google.spanner.v1.KeySet getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public KeySet parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public KeySet parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1605,4 +1492,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.KeySet getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeySetOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeySetOrBuilder.java similarity index 78% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeySetOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeySetOrBuilder.java index 7ff32d68436..c30facaf93f 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeySetOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeySetOrBuilder.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/spanner/v1/keys.proto package com.google.spanner.v1; -public interface KeySetOrBuilder - extends +public interface KeySetOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.KeySet) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A list of specific keys. Entries in `keys` should have exactly as
    * many elements as there are columns in the primary or index key
@@ -35,10 +17,9 @@ public interface KeySetOrBuilder
    *
    * repeated .google.protobuf.ListValue keys = 1;
    */
-  java.util.List getKeysList();
+  java.util.List 
+      getKeysList();
   /**
-   *
-   *
    * 
    * A list of specific keys. Entries in `keys` should have exactly as
    * many elements as there are columns in the primary or index key
@@ -50,8 +31,6 @@ public interface KeySetOrBuilder
    */
   com.google.protobuf.ListValue getKeys(int index);
   /**
-   *
-   *
    * 
    * A list of specific keys. Entries in `keys` should have exactly as
    * many elements as there are columns in the primary or index key
@@ -63,8 +42,6 @@ public interface KeySetOrBuilder
    */
   int getKeysCount();
   /**
-   *
-   *
    * 
    * A list of specific keys. Entries in `keys` should have exactly as
    * many elements as there are columns in the primary or index key
@@ -74,10 +51,9 @@ public interface KeySetOrBuilder
    *
    * repeated .google.protobuf.ListValue keys = 1;
    */
-  java.util.List getKeysOrBuilderList();
+  java.util.List 
+      getKeysOrBuilderList();
   /**
-   *
-   *
    * 
    * A list of specific keys. Entries in `keys` should have exactly as
    * many elements as there are columns in the primary or index key
@@ -87,11 +63,10 @@ public interface KeySetOrBuilder
    *
    * repeated .google.protobuf.ListValue keys = 1;
    */
-  com.google.protobuf.ListValueOrBuilder getKeysOrBuilder(int index);
+  com.google.protobuf.ListValueOrBuilder getKeysOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
    * key range specifications.
@@ -99,10 +74,9 @@ public interface KeySetOrBuilder
    *
    * repeated .google.spanner.v1.KeyRange ranges = 2;
    */
-  java.util.List getRangesList();
+  java.util.List 
+      getRangesList();
   /**
-   *
-   *
    * 
    * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
    * key range specifications.
@@ -112,8 +86,6 @@ public interface KeySetOrBuilder
    */
   com.google.spanner.v1.KeyRange getRanges(int index);
   /**
-   *
-   *
    * 
    * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
    * key range specifications.
@@ -123,8 +95,6 @@ public interface KeySetOrBuilder
    */
   int getRangesCount();
   /**
-   *
-   *
    * 
    * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
    * key range specifications.
@@ -132,10 +102,9 @@ public interface KeySetOrBuilder
    *
    * repeated .google.spanner.v1.KeyRange ranges = 2;
    */
-  java.util.List getRangesOrBuilderList();
+  java.util.List 
+      getRangesOrBuilderList();
   /**
-   *
-   *
    * 
    * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
    * key range specifications.
@@ -143,11 +112,10 @@ public interface KeySetOrBuilder
    *
    * repeated .google.spanner.v1.KeyRange ranges = 2;
    */
-  com.google.spanner.v1.KeyRangeOrBuilder getRangesOrBuilder(int index);
+  com.google.spanner.v1.KeyRangeOrBuilder getRangesOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * For convenience `all` can be set to `true` to indicate that this
    * `KeySet` matches all keys in the table or index. Note that any keys
@@ -155,7 +123,6 @@ public interface KeySetOrBuilder
    * 
* * bool all = 3; - * * @return The all. */ boolean getAll(); diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeysProto.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeysProto.java new file mode 100644 index 00000000000..011458f9454 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeysProto.java @@ -0,0 +1,74 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/spanner/v1/keys.proto + +package com.google.spanner.v1; + +public final class KeysProto { + private KeysProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_KeyRange_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_KeyRange_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_KeySet_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_KeySet_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\034google/spanner/v1/keys.proto\022\021google.s" + + "panner.v1\032\034google/protobuf/struct.proto\"" + + "\364\001\n\010KeyRange\0222\n\014start_closed\030\001 \001(\0132\032.goo" + + "gle.protobuf.ListValueH\000\0220\n\nstart_open\030\002" + + " \001(\0132\032.google.protobuf.ListValueH\000\0220\n\nen" + + "d_closed\030\003 \001(\0132\032.google.protobuf.ListVal" + + "ueH\001\022.\n\010end_open\030\004 \001(\0132\032.google.protobuf" + + ".ListValueH\001B\020\n\016start_key_typeB\016\n\014end_ke" + + "y_type\"l\n\006KeySet\022(\n\004keys\030\001 \003(\0132\032.google." + + "protobuf.ListValue\022+\n\006ranges\030\002 \003(\0132\033.goo" + + "gle.spanner.v1.KeyRange\022\013\n\003all\030\003 \001(\010B\254\001\n" + + "\025com.google.spanner.v1B\tKeysProtoP\001Z5clo" + + "ud.google.com/go/spanner/apiv1/spannerpb" + + ";spannerpb\252\002\027Google.Cloud.Spanner.V1\312\002\027G" + + "oogle\\Cloud\\Spanner\\V1\352\002\032Google::Cloud::" + + "Spanner::V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.protobuf.StructProto.getDescriptor(), + }); + internal_static_google_spanner_v1_KeyRange_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_spanner_v1_KeyRange_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_v1_KeyRange_descriptor, + new java.lang.String[] { "StartClosed", "StartOpen", "EndClosed", "EndOpen", "StartKeyType", "EndKeyType", }); + internal_static_google_spanner_v1_KeySet_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_spanner_v1_KeySet_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_v1_KeySet_descriptor, + new java.lang.String[] { "Keys", "Ranges", "All", }); + com.google.protobuf.StructProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsRequest.java similarity index 70% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsRequest.java index fb6f3e29725..e06de914b37 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsRequest.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/spanner/v1/spanner.proto package com.google.spanner.v1; /** - * - * *
  * The request for [ListSessions][google.spanner.v1.Spanner.ListSessions].
  * 
* * Protobuf type {@code google.spanner.v1.ListSessionsRequest} */ -public final class ListSessionsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListSessionsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.v1.ListSessionsRequest) ListSessionsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListSessionsRequest.newBuilder() to construct. private ListSessionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListSessionsRequest() { database_ = ""; pageToken_ = ""; @@ -45,45 +27,38 @@ private ListSessionsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListSessionsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_ListSessionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ListSessionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_ListSessionsRequest_fieldAccessorTable + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ListSessionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.ListSessionsRequest.class, - com.google.spanner.v1.ListSessionsRequest.Builder.class); + com.google.spanner.v1.ListSessionsRequest.class, com.google.spanner.v1.ListSessionsRequest.Builder.class); } public static final int DATABASE_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object database_ = ""; /** - * - * *
    * Required. The database in which to list sessions.
    * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The database. */ @java.lang.Override @@ -92,31 +67,29 @@ public java.lang.String getDatabase() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; } } /** - * - * *
    * Required. The database in which to list sessions.
    * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for database. */ @java.lang.Override - public com.google.protobuf.ByteString getDatabaseBytes() { + public com.google.protobuf.ByteString + getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); database_ = b; return b; } else { @@ -127,15 +100,12 @@ public com.google.protobuf.ByteString getDatabaseBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * Number of sessions to be returned in the response. If 0 or less, defaults
    * to the server's maximum allowed page size.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -144,12 +114,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.v1.ListSessionsResponse.next_page_token] from a previous
@@ -157,7 +124,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -166,15 +132,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.spanner.v1.ListSessionsResponse.next_page_token] from a previous
@@ -182,15 +147,16 @@ public java.lang.String getPageToken() {
    * 
* * 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 { @@ -199,12 +165,9 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } public static final int FILTER_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -216,7 +179,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * 
* * string filter = 4; - * * @return The filter. */ @java.lang.Override @@ -225,15 +187,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; } } /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -245,15 +206,16 @@ public java.lang.String getFilter() {
    * 
* * string filter = 4; - * * @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 { @@ -262,7 +224,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -274,7 +235,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(database_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, database_); } @@ -300,7 +262,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, database_); } 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_); @@ -316,18 +279,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.spanner.v1.ListSessionsRequest)) { return super.equals(obj); } - com.google.spanner.v1.ListSessionsRequest other = - (com.google.spanner.v1.ListSessionsRequest) obj; - - if (!getDatabase().equals(other.getDatabase())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getFilter().equals(other.getFilter())) return false; + com.google.spanner.v1.ListSessionsRequest other = (com.google.spanner.v1.ListSessionsRequest) obj; + + if (!getDatabase() + .equals(other.getDatabase())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -352,136 +318,130 @@ public int hashCode() { return hash; } - public static com.google.spanner.v1.ListSessionsRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.v1.ListSessionsRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.ListSessionsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.ListSessionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.ListSessionsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.ListSessionsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.ListSessionsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.ListSessionsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.ListSessionsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.spanner.v1.ListSessionsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.v1.ListSessionsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.v1.ListSessionsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.ListSessionsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.ListSessionsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.v1.ListSessionsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [ListSessions][google.spanner.v1.Spanner.ListSessions].
    * 
* * Protobuf type {@code google.spanner.v1.ListSessionsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.ListSessionsRequest) com.google.spanner.v1.ListSessionsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_ListSessionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ListSessionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_ListSessionsRequest_fieldAccessorTable + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ListSessionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.ListSessionsRequest.class, - com.google.spanner.v1.ListSessionsRequest.Builder.class); + com.google.spanner.v1.ListSessionsRequest.class, com.google.spanner.v1.ListSessionsRequest.Builder.class); } // Construct using com.google.spanner.v1.ListSessionsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -494,9 +454,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_ListSessionsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ListSessionsRequest_descriptor; } @java.lang.Override @@ -515,11 +475,8 @@ public com.google.spanner.v1.ListSessionsRequest build() { @java.lang.Override public com.google.spanner.v1.ListSessionsRequest buildPartial() { - com.google.spanner.v1.ListSessionsRequest result = - new com.google.spanner.v1.ListSessionsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.v1.ListSessionsRequest result = new com.google.spanner.v1.ListSessionsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -544,39 +501,38 @@ private void buildPartial0(com.google.spanner.v1.ListSessionsRequest 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.spanner.v1.ListSessionsRequest) { - return mergeFrom((com.google.spanner.v1.ListSessionsRequest) other); + return mergeFrom((com.google.spanner.v1.ListSessionsRequest)other); } else { super.mergeFrom(other); return this; @@ -629,37 +585,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - database_ = 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 - case 34: - { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + database_ = 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 + case 34: { + filter_ = 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) { @@ -669,27 +620,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object database_ = ""; /** - * - * *
      * Required. The database in which to list sessions.
      * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The database. */ public java.lang.String getDatabase() { java.lang.Object ref = database_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; @@ -698,23 +644,20 @@ public java.lang.String getDatabase() { } } /** - * - * *
      * Required. The database in which to list sessions.
      * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for database. */ - public com.google.protobuf.ByteString getDatabaseBytes() { + public com.google.protobuf.ByteString + getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); database_ = b; return b; } else { @@ -722,39 +665,28 @@ public com.google.protobuf.ByteString getDatabaseBytes() { } } /** - * - * *
      * Required. The database in which to list sessions.
      * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The database to set. * @return This builder for chaining. */ - public Builder setDatabase(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabase( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } database_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The database in which to list sessions.
      * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearDatabase() { @@ -764,23 +696,17 @@ public Builder clearDatabase() { return this; } /** - * - * *
      * Required. The database in which to list sessions.
      * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for database to set. * @return This builder for chaining. */ - public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabaseBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); database_ = value; bitField0_ |= 0x00000001; @@ -788,17 +714,14 @@ public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Number of sessions to be returned in the response. If 0 or less, defaults
      * to the server's maximum allowed page size.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -806,35 +729,29 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Number of sessions to be returned in the response. If 0 or less, defaults
      * to the server's maximum allowed page size.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Number of sessions to be returned in the response. If 0 or less, defaults
      * to the server's maximum allowed page size.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -846,8 +763,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.v1.ListSessionsResponse.next_page_token] from a previous
@@ -855,13 +770,13 @@ public Builder clearPageSize() {
      * 
* * 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; @@ -870,8 +785,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.v1.ListSessionsResponse.next_page_token] from a previous
@@ -879,14 +792,15 @@ public java.lang.String getPageToken() {
      * 
* * 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 { @@ -894,8 +808,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.v1.ListSessionsResponse.next_page_token] from a previous
@@ -903,22 +815,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * 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; } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.v1.ListSessionsResponse.next_page_token] from a previous
@@ -926,7 +834,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -936,8 +843,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.v1.ListSessionsResponse.next_page_token] from a previous
@@ -945,14 +850,12 @@ public Builder clearPageToken() {
      * 
* * 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; @@ -962,8 +865,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -975,13 +876,13 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
      * 
* * string filter = 4; - * * @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; @@ -990,8 +891,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -1003,14 +902,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 4; - * * @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 { @@ -1018,8 +918,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -1031,22 +929,18 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 4; - * * @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_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -1058,7 +952,6 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 4; - * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1068,8 +961,6 @@ public Builder clearFilter() { return this; } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -1081,23 +972,21 @@ public Builder clearFilter() {
      * 
* * string filter = 4; - * * @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_ |= 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); } @@ -1107,12 +996,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.v1.ListSessionsRequest) } // @@protoc_insertion_point(class_scope:google.spanner.v1.ListSessionsRequest) private static final com.google.spanner.v1.ListSessionsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.v1.ListSessionsRequest(); } @@ -1121,27 +1010,27 @@ public static com.google.spanner.v1.ListSessionsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListSessionsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListSessionsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1156,4 +1045,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.ListSessionsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsRequestOrBuilder.java similarity index 69% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsRequestOrBuilder.java index 98c63809bbc..6c95049d981 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsRequestOrBuilder.java @@ -1,74 +1,44 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/spanner.proto package com.google.spanner.v1; -public interface ListSessionsRequestOrBuilder - extends +public interface ListSessionsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.ListSessionsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The database in which to list sessions.
    * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The database. */ java.lang.String getDatabase(); /** - * - * *
    * Required. The database in which to list sessions.
    * 
* - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for database. */ - com.google.protobuf.ByteString getDatabaseBytes(); + com.google.protobuf.ByteString + getDatabaseBytes(); /** - * - * *
    * Number of sessions to be returned in the response. If 0 or less, defaults
    * to the server's maximum allowed page size.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.v1.ListSessionsResponse.next_page_token] from a previous
@@ -76,13 +46,10 @@ public interface ListSessionsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.v1.ListSessionsResponse.next_page_token] from a previous
@@ -90,14 +57,12 @@ public interface ListSessionsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -109,13 +74,10 @@ public interface ListSessionsRequestOrBuilder
    * 
* * string filter = 4; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -127,8 +89,8 @@ public interface ListSessionsRequestOrBuilder
    * 
* * string filter = 4; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); } diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsResponse.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsResponse.java similarity index 71% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsResponse.java index 204cd5a790f..2e3abc706ed 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsResponse.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/spanner/v1/spanner.proto package com.google.spanner.v1; /** - * - * *
  * The response for [ListSessions][google.spanner.v1.Spanner.ListSessions].
  * 
* * Protobuf type {@code google.spanner.v1.ListSessionsResponse} */ -public final class ListSessionsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListSessionsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.v1.ListSessionsResponse) ListSessionsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListSessionsResponse.newBuilder() to construct. private ListSessionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListSessionsResponse() { sessions_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,37 +26,33 @@ private ListSessionsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListSessionsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_ListSessionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ListSessionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_ListSessionsResponse_fieldAccessorTable + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ListSessionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.ListSessionsResponse.class, - com.google.spanner.v1.ListSessionsResponse.Builder.class); + com.google.spanner.v1.ListSessionsResponse.class, com.google.spanner.v1.ListSessionsResponse.Builder.class); } public static final int SESSIONS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List sessions_; /** - * - * *
    * The list of requested sessions.
    * 
@@ -86,8 +64,6 @@ public java.util.List getSessionsList() { return sessions_; } /** - * - * *
    * The list of requested sessions.
    * 
@@ -95,13 +71,11 @@ public java.util.List getSessionsList() { * repeated .google.spanner.v1.Session sessions = 1; */ @java.lang.Override - public java.util.List + public java.util.List getSessionsOrBuilderList() { return sessions_; } /** - * - * *
    * The list of requested sessions.
    * 
@@ -113,8 +87,6 @@ public int getSessionsCount() { return sessions_.size(); } /** - * - * *
    * The list of requested sessions.
    * 
@@ -126,8 +98,6 @@ public com.google.spanner.v1.Session getSessions(int index) { return sessions_.get(index); } /** - * - * *
    * The list of requested sessions.
    * 
@@ -135,17 +105,15 @@ public com.google.spanner.v1.Session getSessions(int index) { * repeated .google.spanner.v1.Session sessions = 1; */ @java.lang.Override - public com.google.spanner.v1.SessionOrBuilder getSessionsOrBuilder(int index) { + public com.google.spanner.v1.SessionOrBuilder getSessionsOrBuilder( + int index) { return sessions_.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
    * [ListSessions][google.spanner.v1.Spanner.ListSessions] call to fetch more of the matching
@@ -153,7 +121,6 @@ public com.google.spanner.v1.SessionOrBuilder getSessionsOrBuilder(int index) {
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -162,15 +129,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
    * [ListSessions][google.spanner.v1.Spanner.ListSessions] call to fetch more of the matching
@@ -178,15 +144,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 { @@ -195,7 +162,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -207,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 { for (int i = 0; i < sessions_.size(); i++) { output.writeMessage(1, sessions_.get(i)); } @@ -224,7 +191,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < sessions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, sessions_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, sessions_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -237,16 +205,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.spanner.v1.ListSessionsResponse)) { return super.equals(obj); } - com.google.spanner.v1.ListSessionsResponse other = - (com.google.spanner.v1.ListSessionsResponse) obj; + com.google.spanner.v1.ListSessionsResponse other = (com.google.spanner.v1.ListSessionsResponse) obj; - if (!getSessionsList().equals(other.getSessionsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getSessionsList() + .equals(other.getSessionsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -269,136 +238,130 @@ public int hashCode() { return hash; } - public static com.google.spanner.v1.ListSessionsResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.v1.ListSessionsResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.ListSessionsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.ListSessionsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.ListSessionsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.ListSessionsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.ListSessionsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.ListSessionsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.ListSessionsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.spanner.v1.ListSessionsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.v1.ListSessionsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.v1.ListSessionsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.ListSessionsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.ListSessionsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.v1.ListSessionsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [ListSessions][google.spanner.v1.Spanner.ListSessions].
    * 
* * Protobuf type {@code google.spanner.v1.ListSessionsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.ListSessionsResponse) com.google.spanner.v1.ListSessionsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_ListSessionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ListSessionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_ListSessionsResponse_fieldAccessorTable + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ListSessionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.ListSessionsResponse.class, - com.google.spanner.v1.ListSessionsResponse.Builder.class); + com.google.spanner.v1.ListSessionsResponse.class, com.google.spanner.v1.ListSessionsResponse.Builder.class); } // Construct using com.google.spanner.v1.ListSessionsResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -415,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_ListSessionsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ListSessionsResponse_descriptor; } @java.lang.Override @@ -436,12 +399,9 @@ public com.google.spanner.v1.ListSessionsResponse build() { @java.lang.Override public com.google.spanner.v1.ListSessionsResponse buildPartial() { - com.google.spanner.v1.ListSessionsResponse result = - new com.google.spanner.v1.ListSessionsResponse(this); + com.google.spanner.v1.ListSessionsResponse result = new com.google.spanner.v1.ListSessionsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -469,39 +429,38 @@ private void buildPartial0(com.google.spanner.v1.ListSessionsResponse 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.spanner.v1.ListSessionsResponse) { - return mergeFrom((com.google.spanner.v1.ListSessionsResponse) other); + return mergeFrom((com.google.spanner.v1.ListSessionsResponse)other); } else { super.mergeFrom(other); return this; @@ -528,10 +487,9 @@ public Builder mergeFrom(com.google.spanner.v1.ListSessionsResponse other) { sessionsBuilder_ = null; sessions_ = other.sessions_; bitField0_ = (bitField0_ & ~0x00000001); - sessionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getSessionsFieldBuilder() - : null; + sessionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getSessionsFieldBuilder() : null; } else { sessionsBuilder_.addAllMessages(other.sessions_); } @@ -568,31 +526,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.spanner.v1.Session m = - input.readMessage(com.google.spanner.v1.Session.parser(), extensionRegistry); - if (sessionsBuilder_ == null) { - ensureSessionsIsMutable(); - sessions_.add(m); - } else { - sessionsBuilder_.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.spanner.v1.Session m = + input.readMessage( + com.google.spanner.v1.Session.parser(), + extensionRegistry); + if (sessionsBuilder_ == null) { + ensureSessionsIsMutable(); + sessions_.add(m); + } else { + sessionsBuilder_.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 +559,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List sessions_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureSessionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { sessions_ = new java.util.ArrayList(sessions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.v1.Session, - com.google.spanner.v1.Session.Builder, - com.google.spanner.v1.SessionOrBuilder> - sessionsBuilder_; + com.google.spanner.v1.Session, com.google.spanner.v1.Session.Builder, com.google.spanner.v1.SessionOrBuilder> sessionsBuilder_; /** - * - * *
      * The list of requested sessions.
      * 
@@ -638,8 +588,6 @@ public java.util.List getSessionsList() { } } /** - * - * *
      * The list of requested sessions.
      * 
@@ -654,8 +602,6 @@ public int getSessionsCount() { } } /** - * - * *
      * The list of requested sessions.
      * 
@@ -670,15 +616,14 @@ public com.google.spanner.v1.Session getSessions(int index) { } } /** - * - * *
      * The list of requested sessions.
      * 
* * repeated .google.spanner.v1.Session sessions = 1; */ - public Builder setSessions(int index, com.google.spanner.v1.Session value) { + public Builder setSessions( + int index, com.google.spanner.v1.Session value) { if (sessionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -692,15 +637,14 @@ public Builder setSessions(int index, com.google.spanner.v1.Session value) { return this; } /** - * - * *
      * The list of requested sessions.
      * 
* * repeated .google.spanner.v1.Session sessions = 1; */ - public Builder setSessions(int index, com.google.spanner.v1.Session.Builder builderForValue) { + public Builder setSessions( + int index, com.google.spanner.v1.Session.Builder builderForValue) { if (sessionsBuilder_ == null) { ensureSessionsIsMutable(); sessions_.set(index, builderForValue.build()); @@ -711,8 +655,6 @@ public Builder setSessions(int index, com.google.spanner.v1.Session.Builder buil return this; } /** - * - * *
      * The list of requested sessions.
      * 
@@ -733,15 +675,14 @@ public Builder addSessions(com.google.spanner.v1.Session value) { return this; } /** - * - * *
      * The list of requested sessions.
      * 
* * repeated .google.spanner.v1.Session sessions = 1; */ - public Builder addSessions(int index, com.google.spanner.v1.Session value) { + public Builder addSessions( + int index, com.google.spanner.v1.Session value) { if (sessionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -755,15 +696,14 @@ public Builder addSessions(int index, com.google.spanner.v1.Session value) { return this; } /** - * - * *
      * The list of requested sessions.
      * 
* * repeated .google.spanner.v1.Session sessions = 1; */ - public Builder addSessions(com.google.spanner.v1.Session.Builder builderForValue) { + public Builder addSessions( + com.google.spanner.v1.Session.Builder builderForValue) { if (sessionsBuilder_ == null) { ensureSessionsIsMutable(); sessions_.add(builderForValue.build()); @@ -774,15 +714,14 @@ public Builder addSessions(com.google.spanner.v1.Session.Builder builderForValue return this; } /** - * - * *
      * The list of requested sessions.
      * 
* * repeated .google.spanner.v1.Session sessions = 1; */ - public Builder addSessions(int index, com.google.spanner.v1.Session.Builder builderForValue) { + public Builder addSessions( + int index, com.google.spanner.v1.Session.Builder builderForValue) { if (sessionsBuilder_ == null) { ensureSessionsIsMutable(); sessions_.add(index, builderForValue.build()); @@ -793,8 +732,6 @@ public Builder addSessions(int index, com.google.spanner.v1.Session.Builder buil return this; } /** - * - * *
      * The list of requested sessions.
      * 
@@ -805,7 +742,8 @@ public Builder addAllSessions( java.lang.Iterable values) { if (sessionsBuilder_ == null) { ensureSessionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, sessions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, sessions_); onChanged(); } else { sessionsBuilder_.addAllMessages(values); @@ -813,8 +751,6 @@ public Builder addAllSessions( return this; } /** - * - * *
      * The list of requested sessions.
      * 
@@ -832,8 +768,6 @@ public Builder clearSessions() { return this; } /** - * - * *
      * The list of requested sessions.
      * 
@@ -851,44 +785,39 @@ public Builder removeSessions(int index) { return this; } /** - * - * *
      * The list of requested sessions.
      * 
* * repeated .google.spanner.v1.Session sessions = 1; */ - public com.google.spanner.v1.Session.Builder getSessionsBuilder(int index) { + public com.google.spanner.v1.Session.Builder getSessionsBuilder( + int index) { return getSessionsFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of requested sessions.
      * 
* * repeated .google.spanner.v1.Session sessions = 1; */ - public com.google.spanner.v1.SessionOrBuilder getSessionsOrBuilder(int index) { + public com.google.spanner.v1.SessionOrBuilder getSessionsOrBuilder( + int index) { if (sessionsBuilder_ == null) { - return sessions_.get(index); - } else { + return sessions_.get(index); } else { return sessionsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The list of requested sessions.
      * 
* * repeated .google.spanner.v1.Session sessions = 1; */ - public java.util.List - getSessionsOrBuilderList() { + public java.util.List + getSessionsOrBuilderList() { if (sessionsBuilder_ != null) { return sessionsBuilder_.getMessageOrBuilderList(); } else { @@ -896,8 +825,6 @@ public com.google.spanner.v1.SessionOrBuilder getSessionsOrBuilder(int index) { } } /** - * - * *
      * The list of requested sessions.
      * 
@@ -905,47 +832,42 @@ public com.google.spanner.v1.SessionOrBuilder getSessionsOrBuilder(int index) { * repeated .google.spanner.v1.Session sessions = 1; */ public com.google.spanner.v1.Session.Builder addSessionsBuilder() { - return getSessionsFieldBuilder() - .addBuilder(com.google.spanner.v1.Session.getDefaultInstance()); + return getSessionsFieldBuilder().addBuilder( + com.google.spanner.v1.Session.getDefaultInstance()); } /** - * - * *
      * The list of requested sessions.
      * 
* * repeated .google.spanner.v1.Session sessions = 1; */ - public com.google.spanner.v1.Session.Builder addSessionsBuilder(int index) { - return getSessionsFieldBuilder() - .addBuilder(index, com.google.spanner.v1.Session.getDefaultInstance()); + public com.google.spanner.v1.Session.Builder addSessionsBuilder( + int index) { + return getSessionsFieldBuilder().addBuilder( + index, com.google.spanner.v1.Session.getDefaultInstance()); } /** - * - * *
      * The list of requested sessions.
      * 
* * repeated .google.spanner.v1.Session sessions = 1; */ - public java.util.List getSessionsBuilderList() { + public java.util.List + getSessionsBuilderList() { return getSessionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.v1.Session, - com.google.spanner.v1.Session.Builder, - com.google.spanner.v1.SessionOrBuilder> + com.google.spanner.v1.Session, com.google.spanner.v1.Session.Builder, com.google.spanner.v1.SessionOrBuilder> getSessionsFieldBuilder() { if (sessionsBuilder_ == null) { - sessionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.v1.Session, - com.google.spanner.v1.Session.Builder, - com.google.spanner.v1.SessionOrBuilder>( - sessions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + sessionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.spanner.v1.Session, com.google.spanner.v1.Session.Builder, com.google.spanner.v1.SessionOrBuilder>( + sessions_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); sessions_ = null; } return sessionsBuilder_; @@ -953,8 +875,6 @@ public java.util.List getSessionsBuilderL private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListSessions][google.spanner.v1.Spanner.ListSessions] call to fetch more of the matching
@@ -962,13 +882,13 @@ public java.util.List getSessionsBuilderL
      * 
* * 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 +897,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListSessions][google.spanner.v1.Spanner.ListSessions] call to fetch more of the matching
@@ -986,14 +904,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 +920,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListSessions][google.spanner.v1.Spanner.ListSessions] call to fetch more of the matching
@@ -1010,22 +927,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
      * [ListSessions][google.spanner.v1.Spanner.ListSessions] call to fetch more of the matching
@@ -1033,7 +946,6 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1043,8 +955,6 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListSessions][google.spanner.v1.Spanner.ListSessions] call to fetch more of the matching
@@ -1052,23 +962,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 +986,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.v1.ListSessionsResponse) } // @@protoc_insertion_point(class_scope:google.spanner.v1.ListSessionsResponse) private static final com.google.spanner.v1.ListSessionsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.v1.ListSessionsResponse(); } @@ -1092,27 +1000,27 @@ public static com.google.spanner.v1.ListSessionsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListSessionsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListSessionsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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 +1035,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.ListSessionsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsResponseOrBuilder.java similarity index 64% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsResponseOrBuilder.java index 3f42309cc36..b9786ba19cb 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsResponseOrBuilder.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/spanner/v1/spanner.proto package com.google.spanner.v1; -public interface ListSessionsResponseOrBuilder - extends +public interface ListSessionsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.ListSessionsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of requested sessions.
    * 
* * repeated .google.spanner.v1.Session sessions = 1; */ - java.util.List getSessionsList(); + java.util.List + getSessionsList(); /** - * - * *
    * The list of requested sessions.
    * 
@@ -44,8 +25,6 @@ public interface ListSessionsResponseOrBuilder */ com.google.spanner.v1.Session getSessions(int index); /** - * - * *
    * The list of requested sessions.
    * 
@@ -54,29 +33,25 @@ public interface ListSessionsResponseOrBuilder */ int getSessionsCount(); /** - * - * *
    * The list of requested sessions.
    * 
* * repeated .google.spanner.v1.Session sessions = 1; */ - java.util.List getSessionsOrBuilderList(); + java.util.List + getSessionsOrBuilderList(); /** - * - * *
    * The list of requested sessions.
    * 
* * repeated .google.spanner.v1.Session sessions = 1; */ - com.google.spanner.v1.SessionOrBuilder getSessionsOrBuilder(int index); + com.google.spanner.v1.SessionOrBuilder getSessionsOrBuilder( + int index); /** - * - * *
    * `next_page_token` can be sent in a subsequent
    * [ListSessions][google.spanner.v1.Spanner.ListSessions] call to fetch more of the matching
@@ -84,13 +59,10 @@ public interface ListSessionsResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * `next_page_token` can be sent in a subsequent
    * [ListSessions][google.spanner.v1.Spanner.ListSessions] call to fetch more of the matching
@@ -98,8 +70,8 @@ public interface ListSessionsResponseOrBuilder
    * 
* * 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-spanner-v1/src/main/java/com/google/spanner/v1/Mutation.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Mutation.java similarity index 80% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Mutation.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Mutation.java index 9c06e66de8f..f1d9079edad 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Mutation.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Mutation.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/spanner/v1/mutation.proto package com.google.spanner.v1; /** - * - * *
  * A modification to one or more Cloud Spanner rows.  Mutations can be
  * applied to a Cloud Spanner database by sending them in a
@@ -29,76 +12,68 @@
  *
  * Protobuf type {@code google.spanner.v1.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.spanner.v1.Mutation)
     MutationOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Mutation.newBuilder() to construct.
   private Mutation(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private Mutation() {}
+  private Mutation() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Mutation();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.v1.MutationProto
-        .internal_static_google_spanner_v1_Mutation_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.v1.MutationProto.internal_static_google_spanner_v1_Mutation_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.v1.MutationProto
-        .internal_static_google_spanner_v1_Mutation_fieldAccessorTable
+    return com.google.spanner.v1.MutationProto.internal_static_google_spanner_v1_Mutation_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.spanner.v1.Mutation.class, com.google.spanner.v1.Mutation.Builder.class);
   }
 
-  public interface WriteOrBuilder
-      extends
+  public interface WriteOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.spanner.v1.Mutation.Write)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Required. The table whose rows will be written.
      * 
* * string table = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The table. */ java.lang.String getTable(); /** - * - * *
      * Required. The table whose rows will be written.
      * 
* * string table = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for table. */ - com.google.protobuf.ByteString getTableBytes(); + com.google.protobuf.ByteString + getTableBytes(); /** - * - * *
      * The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written.
      * The list of columns must contain enough columns to allow
@@ -107,13 +82,11 @@ public interface WriteOrBuilder
      * 
* * repeated string columns = 2; - * * @return A list containing the columns. */ - java.util.List getColumnsList(); + java.util.List + getColumnsList(); /** - * - * *
      * The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written.
      * The list of columns must contain enough columns to allow
@@ -122,13 +95,10 @@ public interface WriteOrBuilder
      * 
* * repeated string columns = 2; - * * @return The count of columns. */ int getColumnsCount(); /** - * - * *
      * The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written.
      * The list of columns must contain enough columns to allow
@@ -137,14 +107,11 @@ public interface WriteOrBuilder
      * 
* * repeated string columns = 2; - * * @param index The index of the element to return. * @return The columns at the given index. */ java.lang.String getColumns(int index); /** - * - * *
      * The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written.
      * The list of columns must contain enough columns to allow
@@ -153,15 +120,13 @@ public interface WriteOrBuilder
      * 
* * repeated string columns = 2; - * * @param index The index of the value to return. * @return The bytes of the columns at the given index. */ - com.google.protobuf.ByteString getColumnsBytes(int index); + com.google.protobuf.ByteString + getColumnsBytes(int index); /** - * - * *
      * The values to be written. `values` can contain more than one
      * list of values. If it does, then multiple rows are written, one
@@ -175,10 +140,9 @@ public interface WriteOrBuilder
      *
      * repeated .google.protobuf.ListValue values = 3;
      */
-    java.util.List getValuesList();
+    java.util.List 
+        getValuesList();
     /**
-     *
-     *
      * 
      * The values to be written. `values` can contain more than one
      * list of values. If it does, then multiple rows are written, one
@@ -194,8 +158,6 @@ public interface WriteOrBuilder
      */
     com.google.protobuf.ListValue getValues(int index);
     /**
-     *
-     *
      * 
      * The values to be written. `values` can contain more than one
      * list of values. If it does, then multiple rows are written, one
@@ -211,8 +173,6 @@ public interface WriteOrBuilder
      */
     int getValuesCount();
     /**
-     *
-     *
      * 
      * The values to be written. `values` can contain more than one
      * list of values. If it does, then multiple rows are written, one
@@ -226,10 +186,9 @@ public interface WriteOrBuilder
      *
      * repeated .google.protobuf.ListValue values = 3;
      */
-    java.util.List getValuesOrBuilderList();
+    java.util.List 
+        getValuesOrBuilderList();
     /**
-     *
-     *
      * 
      * The values to be written. `values` can contain more than one
      * list of values. If it does, then multiple rows are written, one
@@ -243,11 +202,10 @@ public interface WriteOrBuilder
      *
      * repeated .google.protobuf.ListValue values = 3;
      */
-    com.google.protobuf.ListValueOrBuilder getValuesOrBuilder(int index);
+    com.google.protobuf.ListValueOrBuilder getValuesOrBuilder(
+        int index);
   }
   /**
-   *
-   *
    * 
    * Arguments to [insert][google.spanner.v1.Mutation.insert], [update][google.spanner.v1.Mutation.update], [insert_or_update][google.spanner.v1.Mutation.insert_or_update], and
    * [replace][google.spanner.v1.Mutation.replace] operations.
@@ -255,16 +213,15 @@ public interface WriteOrBuilder
    *
    * Protobuf type {@code google.spanner.v1.Mutation.Write}
    */
-  public static final class Write extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class Write extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.spanner.v1.Mutation.Write)
       WriteOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use Write.newBuilder() to construct.
     private Write(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private Write() {
       table_ = "";
       columns_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -273,43 +230,38 @@ private Write() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new Write();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.v1.MutationProto
-          .internal_static_google_spanner_v1_Mutation_Write_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.v1.MutationProto.internal_static_google_spanner_v1_Mutation_Write_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.v1.MutationProto
-          .internal_static_google_spanner_v1_Mutation_Write_fieldAccessorTable
+      return com.google.spanner.v1.MutationProto.internal_static_google_spanner_v1_Mutation_Write_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.v1.Mutation.Write.class,
-              com.google.spanner.v1.Mutation.Write.Builder.class);
+              com.google.spanner.v1.Mutation.Write.class, com.google.spanner.v1.Mutation.Write.Builder.class);
     }
 
     public static final int TABLE_FIELD_NUMBER = 1;
-
     @SuppressWarnings("serial")
     private volatile java.lang.Object table_ = "";
     /**
-     *
-     *
      * 
      * Required. The table whose rows will be written.
      * 
* * string table = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The table. */ @java.lang.Override @@ -318,29 +270,29 @@ public java.lang.String getTable() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); table_ = s; return s; } } /** - * - * *
      * Required. The table whose rows will be written.
      * 
* * string table = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for table. */ @java.lang.Override - public com.google.protobuf.ByteString getTableBytes() { + public com.google.protobuf.ByteString + getTableBytes() { java.lang.Object ref = table_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); table_ = b; return b; } else { @@ -349,12 +301,9 @@ public com.google.protobuf.ByteString getTableBytes() { } public static final int COLUMNS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringList columns_; /** - * - * *
      * The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written.
      * The list of columns must contain enough columns to allow
@@ -363,15 +312,13 @@ public com.google.protobuf.ByteString getTableBytes() {
      * 
* * repeated string columns = 2; - * * @return A list containing the columns. */ - public com.google.protobuf.ProtocolStringList getColumnsList() { + public com.google.protobuf.ProtocolStringList + getColumnsList() { return columns_; } /** - * - * *
      * The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written.
      * The list of columns must contain enough columns to allow
@@ -380,15 +327,12 @@ public com.google.protobuf.ProtocolStringList getColumnsList() {
      * 
* * repeated string columns = 2; - * * @return The count of columns. */ public int getColumnsCount() { return columns_.size(); } /** - * - * *
      * The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written.
      * The list of columns must contain enough columns to allow
@@ -397,7 +341,6 @@ public int getColumnsCount() {
      * 
* * repeated string columns = 2; - * * @param index The index of the element to return. * @return The columns at the given index. */ @@ -405,8 +348,6 @@ public java.lang.String getColumns(int index) { return columns_.get(index); } /** - * - * *
      * The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written.
      * The list of columns must contain enough columns to allow
@@ -415,21 +356,18 @@ public java.lang.String getColumns(int index) {
      * 
* * repeated string columns = 2; - * * @param index The index of the value to return. * @return The bytes of the columns at the given index. */ - public com.google.protobuf.ByteString getColumnsBytes(int index) { + public com.google.protobuf.ByteString + getColumnsBytes(int index) { return columns_.getByteString(index); } public static final int VALUES_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private java.util.List values_; /** - * - * *
      * The values to be written. `values` can contain more than one
      * list of values. If it does, then multiple rows are written, one
@@ -448,8 +386,6 @@ public java.util.List getValuesList() {
       return values_;
     }
     /**
-     *
-     *
      * 
      * The values to be written. `values` can contain more than one
      * list of values. If it does, then multiple rows are written, one
@@ -464,13 +400,11 @@ public java.util.List getValuesList() {
      * repeated .google.protobuf.ListValue values = 3;
      */
     @java.lang.Override
-    public java.util.List
+    public java.util.List 
         getValuesOrBuilderList() {
       return values_;
     }
     /**
-     *
-     *
      * 
      * The values to be written. `values` can contain more than one
      * list of values. If it does, then multiple rows are written, one
@@ -489,8 +423,6 @@ public int getValuesCount() {
       return values_.size();
     }
     /**
-     *
-     *
      * 
      * The values to be written. `values` can contain more than one
      * list of values. If it does, then multiple rows are written, one
@@ -509,8 +441,6 @@ public com.google.protobuf.ListValue getValues(int index) {
       return values_.get(index);
     }
     /**
-     *
-     *
      * 
      * The values to be written. `values` can contain more than one
      * list of values. If it does, then multiple rows are written, one
@@ -525,12 +455,12 @@ public com.google.protobuf.ListValue getValues(int index) {
      * repeated .google.protobuf.ListValue values = 3;
      */
     @java.lang.Override
-    public com.google.protobuf.ListValueOrBuilder getValuesOrBuilder(int index) {
+    public com.google.protobuf.ListValueOrBuilder getValuesOrBuilder(
+        int index) {
       return values_.get(index);
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -542,7 +472,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(table_)) {
         com.google.protobuf.GeneratedMessageV3.writeString(output, 1, table_);
       }
@@ -573,7 +504,8 @@ public int getSerializedSize() {
         size += 1 * getColumnsList().size();
       }
       for (int i = 0; i < values_.size(); i++) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, values_.get(i));
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(3, values_.get(i));
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -583,16 +515,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.spanner.v1.Mutation.Write)) {
         return super.equals(obj);
       }
       com.google.spanner.v1.Mutation.Write other = (com.google.spanner.v1.Mutation.Write) obj;
 
-      if (!getTable().equals(other.getTable())) return false;
-      if (!getColumnsList().equals(other.getColumnsList())) return false;
-      if (!getValuesList().equals(other.getValuesList())) return false;
+      if (!getTable()
+          .equals(other.getTable())) return false;
+      if (!getColumnsList()
+          .equals(other.getColumnsList())) return false;
+      if (!getValuesList()
+          .equals(other.getValuesList())) return false;
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
     }
@@ -619,94 +554,88 @@ public int hashCode() {
       return hash;
     }
 
-    public static com.google.spanner.v1.Mutation.Write parseFrom(java.nio.ByteBuffer data)
+    public static com.google.spanner.v1.Mutation.Write parseFrom(
+        java.nio.ByteBuffer data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.spanner.v1.Mutation.Write parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.spanner.v1.Mutation.Write parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.spanner.v1.Mutation.Write parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.spanner.v1.Mutation.Write parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.spanner.v1.Mutation.Write parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.spanner.v1.Mutation.Write parseFrom(java.io.InputStream input)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.spanner.v1.Mutation.Write parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.spanner.v1.Mutation.Write 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.spanner.v1.Mutation.Write parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.spanner.v1.Mutation.Write parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.spanner.v1.Mutation.Write parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
     public static Builder newBuilder(com.google.spanner.v1.Mutation.Write prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -716,8 +645,6 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * Arguments to [insert][google.spanner.v1.Mutation.insert], [update][google.spanner.v1.Mutation.update], [insert_or_update][google.spanner.v1.Mutation.insert_or_update], and
      * [replace][google.spanner.v1.Mutation.replace] operations.
@@ -725,33 +652,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.spanner.v1.Mutation.Write}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.spanner.v1.Mutation.Write)
         com.google.spanner.v1.Mutation.WriteOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.spanner.v1.MutationProto
-            .internal_static_google_spanner_v1_Mutation_Write_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.spanner.v1.MutationProto.internal_static_google_spanner_v1_Mutation_Write_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.spanner.v1.MutationProto
-            .internal_static_google_spanner_v1_Mutation_Write_fieldAccessorTable
+        return com.google.spanner.v1.MutationProto.internal_static_google_spanner_v1_Mutation_Write_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.spanner.v1.Mutation.Write.class,
-                com.google.spanner.v1.Mutation.Write.Builder.class);
+                com.google.spanner.v1.Mutation.Write.class, com.google.spanner.v1.Mutation.Write.Builder.class);
       }
 
       // Construct using com.google.spanner.v1.Mutation.Write.newBuilder()
-      private Builder() {}
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -770,9 +697,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.spanner.v1.MutationProto
-            .internal_static_google_spanner_v1_Mutation_Write_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.spanner.v1.MutationProto.internal_static_google_spanner_v1_Mutation_Write_descriptor;
       }
 
       @java.lang.Override
@@ -791,12 +718,9 @@ public com.google.spanner.v1.Mutation.Write build() {
 
       @java.lang.Override
       public com.google.spanner.v1.Mutation.Write buildPartial() {
-        com.google.spanner.v1.Mutation.Write result =
-            new com.google.spanner.v1.Mutation.Write(this);
+        com.google.spanner.v1.Mutation.Write result = new com.google.spanner.v1.Mutation.Write(this);
         buildPartialRepeatedFields(result);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
@@ -829,41 +753,38 @@ private void buildPartial0(com.google.spanner.v1.Mutation.Write 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.spanner.v1.Mutation.Write) {
-          return mergeFrom((com.google.spanner.v1.Mutation.Write) other);
+          return mergeFrom((com.google.spanner.v1.Mutation.Write)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -905,10 +826,9 @@ public Builder mergeFrom(com.google.spanner.v1.Mutation.Write other) {
               valuesBuilder_ = null;
               values_ = other.values_;
               bitField0_ = (bitField0_ & ~0x00000004);
-              valuesBuilder_ =
-                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                      ? getValuesFieldBuilder()
-                      : null;
+              valuesBuilder_ = 
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                   getValuesFieldBuilder() : null;
             } else {
               valuesBuilder_.addAllMessages(other.values_);
             }
@@ -940,38 +860,36 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  table_ = input.readStringRequireUtf8();
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 10
-              case 18:
-                {
-                  java.lang.String s = input.readStringRequireUtf8();
-                  ensureColumnsIsMutable();
-                  columns_.add(s);
-                  break;
-                } // case 18
-              case 26:
-                {
-                  com.google.protobuf.ListValue m =
-                      input.readMessage(com.google.protobuf.ListValue.parser(), extensionRegistry);
-                  if (valuesBuilder_ == null) {
-                    ensureValuesIsMutable();
-                    values_.add(m);
-                  } else {
-                    valuesBuilder_.addMessage(m);
-                  }
-                  break;
-                } // case 26
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 10: {
+                table_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+              case 18: {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureColumnsIsMutable();
+                columns_.add(s);
+                break;
+              } // case 18
+              case 26: {
+                com.google.protobuf.ListValue m =
+                    input.readMessage(
+                        com.google.protobuf.ListValue.parser(),
+                        extensionRegistry);
+                if (valuesBuilder_ == null) {
+                  ensureValuesIsMutable();
+                  values_.add(m);
+                } else {
+                  valuesBuilder_.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) {
@@ -981,25 +899,22 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
       private java.lang.Object table_ = "";
       /**
-       *
-       *
        * 
        * Required. The table whose rows will be written.
        * 
* * string table = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The table. */ public java.lang.String getTable() { java.lang.Object ref = table_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); table_ = s; return s; @@ -1008,21 +923,20 @@ public java.lang.String getTable() { } } /** - * - * *
        * Required. The table whose rows will be written.
        * 
* * string table = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for table. */ - public com.google.protobuf.ByteString getTableBytes() { + public com.google.protobuf.ByteString + getTableBytes() { java.lang.Object ref = table_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); table_ = b; return b; } else { @@ -1030,35 +944,28 @@ public com.google.protobuf.ByteString getTableBytes() { } } /** - * - * *
        * Required. The table whose rows will be written.
        * 
* * string table = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The table to set. * @return This builder for chaining. */ - public Builder setTable(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTable( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } table_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Required. The table whose rows will be written.
        * 
* * string table = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearTable() { @@ -1068,21 +975,17 @@ public Builder clearTable() { return this; } /** - * - * *
        * Required. The table whose rows will be written.
        * 
* * string table = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for table to set. * @return This builder for chaining. */ - public Builder setTableBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); table_ = value; bitField0_ |= 0x00000001; @@ -1090,18 +993,14 @@ public Builder setTableBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.LazyStringList columns_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList columns_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureColumnsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { columns_ = new com.google.protobuf.LazyStringArrayList(columns_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
        * The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written.
        * The list of columns must contain enough columns to allow
@@ -1110,15 +1009,13 @@ private void ensureColumnsIsMutable() {
        * 
* * repeated string columns = 2; - * * @return A list containing the columns. */ - public com.google.protobuf.ProtocolStringList getColumnsList() { + public com.google.protobuf.ProtocolStringList + getColumnsList() { return columns_.getUnmodifiableView(); } /** - * - * *
        * The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written.
        * The list of columns must contain enough columns to allow
@@ -1127,15 +1024,12 @@ public com.google.protobuf.ProtocolStringList getColumnsList() {
        * 
* * repeated string columns = 2; - * * @return The count of columns. */ public int getColumnsCount() { return columns_.size(); } /** - * - * *
        * The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written.
        * The list of columns must contain enough columns to allow
@@ -1144,7 +1038,6 @@ public int getColumnsCount() {
        * 
* * repeated string columns = 2; - * * @param index The index of the element to return. * @return The columns at the given index. */ @@ -1152,8 +1045,6 @@ public java.lang.String getColumns(int index) { return columns_.get(index); } /** - * - * *
        * The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written.
        * The list of columns must contain enough columns to allow
@@ -1162,16 +1053,14 @@ public java.lang.String getColumns(int index) {
        * 
* * repeated string columns = 2; - * * @param index The index of the value to return. * @return The bytes of the columns at the given index. */ - public com.google.protobuf.ByteString getColumnsBytes(int index) { + public com.google.protobuf.ByteString + getColumnsBytes(int index) { return columns_.getByteString(index); } /** - * - * *
        * The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written.
        * The list of columns must contain enough columns to allow
@@ -1180,23 +1069,19 @@ public com.google.protobuf.ByteString getColumnsBytes(int index) {
        * 
* * repeated string columns = 2; - * * @param index The index to set the value at. * @param value The columns to set. * @return This builder for chaining. */ - public Builder setColumns(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setColumns( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureColumnsIsMutable(); columns_.set(index, value); onChanged(); return this; } /** - * - * *
        * The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written.
        * The list of columns must contain enough columns to allow
@@ -1205,22 +1090,18 @@ public Builder setColumns(int index, java.lang.String value) {
        * 
* * repeated string columns = 2; - * * @param value The columns to add. * @return This builder for chaining. */ - public Builder addColumns(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addColumns( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureColumnsIsMutable(); columns_.add(value); onChanged(); return this; } /** - * - * *
        * The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written.
        * The list of columns must contain enough columns to allow
@@ -1229,19 +1110,18 @@ public Builder addColumns(java.lang.String value) {
        * 
* * repeated string columns = 2; - * * @param values The columns to add. * @return This builder for chaining. */ - public Builder addAllColumns(java.lang.Iterable values) { + public Builder addAllColumns( + java.lang.Iterable values) { ensureColumnsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, columns_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, columns_); onChanged(); return this; } /** - * - * *
        * The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written.
        * The list of columns must contain enough columns to allow
@@ -1250,7 +1130,6 @@ public Builder addAllColumns(java.lang.Iterable values) {
        * 
* * repeated string columns = 2; - * * @return This builder for chaining. */ public Builder clearColumns() { @@ -1260,8 +1139,6 @@ public Builder clearColumns() { return this; } /** - * - * *
        * The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written.
        * The list of columns must contain enough columns to allow
@@ -1270,14 +1147,12 @@ public Builder clearColumns() {
        * 
* * repeated string columns = 2; - * * @param value The bytes of the columns to add. * @return This builder for chaining. */ - public Builder addColumnsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addColumnsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureColumnsIsMutable(); columns_.add(value); @@ -1286,24 +1161,18 @@ public Builder addColumnsBytes(com.google.protobuf.ByteString value) { } private java.util.List values_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureValuesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { values_ = new java.util.ArrayList(values_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.protobuf.ListValue, - com.google.protobuf.ListValue.Builder, - com.google.protobuf.ListValueOrBuilder> - valuesBuilder_; + com.google.protobuf.ListValue, com.google.protobuf.ListValue.Builder, com.google.protobuf.ListValueOrBuilder> valuesBuilder_; /** - * - * *
        * The values to be written. `values` can contain more than one
        * list of values. If it does, then multiple rows are written, one
@@ -1325,8 +1194,6 @@ public java.util.List getValuesList() {
         }
       }
       /**
-       *
-       *
        * 
        * The values to be written. `values` can contain more than one
        * list of values. If it does, then multiple rows are written, one
@@ -1348,8 +1215,6 @@ public int getValuesCount() {
         }
       }
       /**
-       *
-       *
        * 
        * The values to be written. `values` can contain more than one
        * list of values. If it does, then multiple rows are written, one
@@ -1371,8 +1236,6 @@ public com.google.protobuf.ListValue getValues(int index) {
         }
       }
       /**
-       *
-       *
        * 
        * The values to be written. `values` can contain more than one
        * list of values. If it does, then multiple rows are written, one
@@ -1386,7 +1249,8 @@ public com.google.protobuf.ListValue getValues(int index) {
        *
        * repeated .google.protobuf.ListValue values = 3;
        */
-      public Builder setValues(int index, com.google.protobuf.ListValue value) {
+      public Builder setValues(
+          int index, com.google.protobuf.ListValue value) {
         if (valuesBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -1400,8 +1264,6 @@ public Builder setValues(int index, com.google.protobuf.ListValue value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The values to be written. `values` can contain more than one
        * list of values. If it does, then multiple rows are written, one
@@ -1415,7 +1277,8 @@ public Builder setValues(int index, com.google.protobuf.ListValue value) {
        *
        * repeated .google.protobuf.ListValue values = 3;
        */
-      public Builder setValues(int index, com.google.protobuf.ListValue.Builder builderForValue) {
+      public Builder setValues(
+          int index, com.google.protobuf.ListValue.Builder builderForValue) {
         if (valuesBuilder_ == null) {
           ensureValuesIsMutable();
           values_.set(index, builderForValue.build());
@@ -1426,8 +1289,6 @@ public Builder setValues(int index, com.google.protobuf.ListValue.Builder builde
         return this;
       }
       /**
-       *
-       *
        * 
        * The values to be written. `values` can contain more than one
        * list of values. If it does, then multiple rows are written, one
@@ -1455,8 +1316,6 @@ public Builder addValues(com.google.protobuf.ListValue value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The values to be written. `values` can contain more than one
        * list of values. If it does, then multiple rows are written, one
@@ -1470,7 +1329,8 @@ public Builder addValues(com.google.protobuf.ListValue value) {
        *
        * repeated .google.protobuf.ListValue values = 3;
        */
-      public Builder addValues(int index, com.google.protobuf.ListValue value) {
+      public Builder addValues(
+          int index, com.google.protobuf.ListValue value) {
         if (valuesBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -1484,8 +1344,6 @@ public Builder addValues(int index, com.google.protobuf.ListValue value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The values to be written. `values` can contain more than one
        * list of values. If it does, then multiple rows are written, one
@@ -1499,7 +1357,8 @@ public Builder addValues(int index, com.google.protobuf.ListValue value) {
        *
        * repeated .google.protobuf.ListValue values = 3;
        */
-      public Builder addValues(com.google.protobuf.ListValue.Builder builderForValue) {
+      public Builder addValues(
+          com.google.protobuf.ListValue.Builder builderForValue) {
         if (valuesBuilder_ == null) {
           ensureValuesIsMutable();
           values_.add(builderForValue.build());
@@ -1510,8 +1369,6 @@ public Builder addValues(com.google.protobuf.ListValue.Builder builderForValue)
         return this;
       }
       /**
-       *
-       *
        * 
        * The values to be written. `values` can contain more than one
        * list of values. If it does, then multiple rows are written, one
@@ -1525,7 +1382,8 @@ public Builder addValues(com.google.protobuf.ListValue.Builder builderForValue)
        *
        * repeated .google.protobuf.ListValue values = 3;
        */
-      public Builder addValues(int index, com.google.protobuf.ListValue.Builder builderForValue) {
+      public Builder addValues(
+          int index, com.google.protobuf.ListValue.Builder builderForValue) {
         if (valuesBuilder_ == null) {
           ensureValuesIsMutable();
           values_.add(index, builderForValue.build());
@@ -1536,8 +1394,6 @@ public Builder addValues(int index, com.google.protobuf.ListValue.Builder builde
         return this;
       }
       /**
-       *
-       *
        * 
        * The values to be written. `values` can contain more than one
        * list of values. If it does, then multiple rows are written, one
@@ -1555,7 +1411,8 @@ public Builder addAllValues(
           java.lang.Iterable values) {
         if (valuesBuilder_ == null) {
           ensureValuesIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, values_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(
+              values, values_);
           onChanged();
         } else {
           valuesBuilder_.addAllMessages(values);
@@ -1563,8 +1420,6 @@ public Builder addAllValues(
         return this;
       }
       /**
-       *
-       *
        * 
        * The values to be written. `values` can contain more than one
        * list of values. If it does, then multiple rows are written, one
@@ -1589,8 +1444,6 @@ public Builder clearValues() {
         return this;
       }
       /**
-       *
-       *
        * 
        * The values to be written. `values` can contain more than one
        * list of values. If it does, then multiple rows are written, one
@@ -1615,8 +1468,6 @@ public Builder removeValues(int index) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The values to be written. `values` can contain more than one
        * list of values. If it does, then multiple rows are written, one
@@ -1630,12 +1481,11 @@ public Builder removeValues(int index) {
        *
        * repeated .google.protobuf.ListValue values = 3;
        */
-      public com.google.protobuf.ListValue.Builder getValuesBuilder(int index) {
+      public com.google.protobuf.ListValue.Builder getValuesBuilder(
+          int index) {
         return getValuesFieldBuilder().getBuilder(index);
       }
       /**
-       *
-       *
        * 
        * The values to be written. `values` can contain more than one
        * list of values. If it does, then multiple rows are written, one
@@ -1649,16 +1499,14 @@ public com.google.protobuf.ListValue.Builder getValuesBuilder(int index) {
        *
        * repeated .google.protobuf.ListValue values = 3;
        */
-      public com.google.protobuf.ListValueOrBuilder getValuesOrBuilder(int index) {
+      public com.google.protobuf.ListValueOrBuilder getValuesOrBuilder(
+          int index) {
         if (valuesBuilder_ == null) {
-          return values_.get(index);
-        } else {
+          return values_.get(index);  } else {
           return valuesBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
-       *
-       *
        * 
        * The values to be written. `values` can contain more than one
        * list of values. If it does, then multiple rows are written, one
@@ -1672,8 +1520,8 @@ public com.google.protobuf.ListValueOrBuilder getValuesOrBuilder(int index) {
        *
        * repeated .google.protobuf.ListValue values = 3;
        */
-      public java.util.List
-          getValuesOrBuilderList() {
+      public java.util.List 
+           getValuesOrBuilderList() {
         if (valuesBuilder_ != null) {
           return valuesBuilder_.getMessageOrBuilderList();
         } else {
@@ -1681,8 +1529,6 @@ public com.google.protobuf.ListValueOrBuilder getValuesOrBuilder(int index) {
         }
       }
       /**
-       *
-       *
        * 
        * The values to be written. `values` can contain more than one
        * list of values. If it does, then multiple rows are written, one
@@ -1697,12 +1543,10 @@ public com.google.protobuf.ListValueOrBuilder getValuesOrBuilder(int index) {
        * repeated .google.protobuf.ListValue values = 3;
        */
       public com.google.protobuf.ListValue.Builder addValuesBuilder() {
-        return getValuesFieldBuilder()
-            .addBuilder(com.google.protobuf.ListValue.getDefaultInstance());
+        return getValuesFieldBuilder().addBuilder(
+            com.google.protobuf.ListValue.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * The values to be written. `values` can contain more than one
        * list of values. If it does, then multiple rows are written, one
@@ -1716,13 +1560,12 @@ public com.google.protobuf.ListValue.Builder addValuesBuilder() {
        *
        * repeated .google.protobuf.ListValue values = 3;
        */
-      public com.google.protobuf.ListValue.Builder addValuesBuilder(int index) {
-        return getValuesFieldBuilder()
-            .addBuilder(index, com.google.protobuf.ListValue.getDefaultInstance());
+      public com.google.protobuf.ListValue.Builder addValuesBuilder(
+          int index) {
+        return getValuesFieldBuilder().addBuilder(
+            index, com.google.protobuf.ListValue.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * The values to be written. `values` can contain more than one
        * list of values. If it does, then multiple rows are written, one
@@ -1736,27 +1579,24 @@ public com.google.protobuf.ListValue.Builder addValuesBuilder(int index) {
        *
        * repeated .google.protobuf.ListValue values = 3;
        */
-      public java.util.List getValuesBuilderList() {
+      public java.util.List 
+           getValuesBuilderList() {
         return getValuesFieldBuilder().getBuilderList();
       }
-
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.protobuf.ListValue,
-              com.google.protobuf.ListValue.Builder,
-              com.google.protobuf.ListValueOrBuilder>
+          com.google.protobuf.ListValue, com.google.protobuf.ListValue.Builder, com.google.protobuf.ListValueOrBuilder> 
           getValuesFieldBuilder() {
         if (valuesBuilder_ == null) {
-          valuesBuilder_ =
-              new com.google.protobuf.RepeatedFieldBuilderV3<
-                  com.google.protobuf.ListValue,
-                  com.google.protobuf.ListValue.Builder,
-                  com.google.protobuf.ListValueOrBuilder>(
-                  values_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean());
+          valuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+              com.google.protobuf.ListValue, com.google.protobuf.ListValue.Builder, com.google.protobuf.ListValueOrBuilder>(
+                  values_,
+                  ((bitField0_ & 0x00000004) != 0),
+                  getParentForChildren(),
+                  isClean());
           values_ = null;
         }
         return valuesBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1769,12 +1609,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.spanner.v1.Mutation.Write)
     }
 
     // @@protoc_insertion_point(class_scope:google.spanner.v1.Mutation.Write)
     private static final com.google.spanner.v1.Mutation.Write DEFAULT_INSTANCE;
-
     static {
       DEFAULT_INSTANCE = new com.google.spanner.v1.Mutation.Write();
     }
@@ -1783,28 +1623,27 @@ public static com.google.spanner.v1.Mutation.Write getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public Write parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            Builder builder = newBuilder();
-            try {
-              builder.mergeFrom(input, extensionRegistry);
-            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              throw e.setUnfinishedMessage(builder.buildPartial());
-            } catch (com.google.protobuf.UninitializedMessageException e) {
-              throw e.asInvalidProtocolBufferException()
-                  .setUnfinishedMessage(builder.buildPartial());
-            } catch (java.io.IOException e) {
-              throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                  .setUnfinishedMessage(builder.buildPartial());
-            }
-            return builder.buildPartial();
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public Write parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+        } catch (java.io.IOException e) {
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(builder.buildPartial());
+        }
+        return builder.buildPartial();
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -1819,41 +1658,34 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.spanner.v1.Mutation.Write getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
-  public interface DeleteOrBuilder
-      extends
+  public interface DeleteOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.spanner.v1.Mutation.Delete)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Required. The table whose rows will be deleted.
      * 
* * string table = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The table. */ java.lang.String getTable(); /** - * - * *
      * Required. The table whose rows will be deleted.
      * 
* * string table = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for table. */ - com.google.protobuf.ByteString getTableBytes(); + com.google.protobuf.ByteString + getTableBytes(); /** - * - * *
      * Required. The primary keys of the rows within [table][google.spanner.v1.Mutation.Delete.table] to delete.  The
      * primary keys must be specified in the order in which they appear in the
@@ -1864,13 +1696,10 @@ public interface DeleteOrBuilder
      * 
* * .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the keySet field is set. */ boolean hasKeySet(); /** - * - * *
      * Required. The primary keys of the rows within [table][google.spanner.v1.Mutation.Delete.table] to delete.  The
      * primary keys must be specified in the order in which they appear in the
@@ -1881,13 +1710,10 @@ public interface DeleteOrBuilder
      * 
* * .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The keySet. */ com.google.spanner.v1.KeySet getKeySet(); /** - * - * *
      * Required. The primary keys of the rows within [table][google.spanner.v1.Mutation.Delete.table] to delete.  The
      * primary keys must be specified in the order in which they appear in the
@@ -1902,67 +1728,59 @@ public interface DeleteOrBuilder
     com.google.spanner.v1.KeySetOrBuilder getKeySetOrBuilder();
   }
   /**
-   *
-   *
    * 
    * Arguments to [delete][google.spanner.v1.Mutation.delete] operations.
    * 
* * Protobuf type {@code google.spanner.v1.Mutation.Delete} */ - public static final class Delete extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Delete extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.v1.Mutation.Delete) DeleteOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Delete.newBuilder() to construct. private Delete(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Delete() { table_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Delete(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.MutationProto - .internal_static_google_spanner_v1_Mutation_Delete_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.MutationProto.internal_static_google_spanner_v1_Mutation_Delete_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.MutationProto - .internal_static_google_spanner_v1_Mutation_Delete_fieldAccessorTable + return com.google.spanner.v1.MutationProto.internal_static_google_spanner_v1_Mutation_Delete_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.Mutation.Delete.class, - com.google.spanner.v1.Mutation.Delete.Builder.class); + com.google.spanner.v1.Mutation.Delete.class, com.google.spanner.v1.Mutation.Delete.Builder.class); } public static final int TABLE_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object table_ = ""; /** - * - * *
      * Required. The table whose rows will be deleted.
      * 
* * string table = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The table. */ @java.lang.Override @@ -1971,29 +1789,29 @@ public java.lang.String getTable() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); table_ = s; return s; } } /** - * - * *
      * Required. The table whose rows will be deleted.
      * 
* * string table = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for table. */ @java.lang.Override - public com.google.protobuf.ByteString getTableBytes() { + public com.google.protobuf.ByteString + getTableBytes() { java.lang.Object ref = table_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); table_ = b; return b; } else { @@ -2004,8 +1822,6 @@ public com.google.protobuf.ByteString getTableBytes() { public static final int KEY_SET_FIELD_NUMBER = 2; private com.google.spanner.v1.KeySet keySet_; /** - * - * *
      * Required. The primary keys of the rows within [table][google.spanner.v1.Mutation.Delete.table] to delete.  The
      * primary keys must be specified in the order in which they appear in the
@@ -2016,7 +1832,6 @@ public com.google.protobuf.ByteString getTableBytes() {
      * 
* * .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the keySet field is set. */ @java.lang.Override @@ -2024,8 +1839,6 @@ public boolean hasKeySet() { return keySet_ != null; } /** - * - * *
      * Required. The primary keys of the rows within [table][google.spanner.v1.Mutation.Delete.table] to delete.  The
      * primary keys must be specified in the order in which they appear in the
@@ -2036,7 +1849,6 @@ public boolean hasKeySet() {
      * 
* * .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The keySet. */ @java.lang.Override @@ -2044,8 +1856,6 @@ public com.google.spanner.v1.KeySet getKeySet() { return keySet_ == null ? com.google.spanner.v1.KeySet.getDefaultInstance() : keySet_; } /** - * - * *
      * Required. The primary keys of the rows within [table][google.spanner.v1.Mutation.Delete.table] to delete.  The
      * primary keys must be specified in the order in which they appear in the
@@ -2063,7 +1873,6 @@ public com.google.spanner.v1.KeySetOrBuilder getKeySetOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -2075,7 +1884,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(table_)) {
         com.google.protobuf.GeneratedMessageV3.writeString(output, 1, table_);
       }
@@ -2095,7 +1905,8 @@ public int getSerializedSize() {
         size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, table_);
       }
       if (keySet_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getKeySet());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(2, getKeySet());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -2105,17 +1916,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.spanner.v1.Mutation.Delete)) {
         return super.equals(obj);
       }
       com.google.spanner.v1.Mutation.Delete other = (com.google.spanner.v1.Mutation.Delete) obj;
 
-      if (!getTable().equals(other.getTable())) return false;
+      if (!getTable()
+          .equals(other.getTable())) return false;
       if (hasKeySet() != other.hasKeySet()) return false;
       if (hasKeySet()) {
-        if (!getKeySet().equals(other.getKeySet())) return false;
+        if (!getKeySet()
+            .equals(other.getKeySet())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -2139,94 +1952,88 @@ public int hashCode() {
       return hash;
     }
 
-    public static com.google.spanner.v1.Mutation.Delete parseFrom(java.nio.ByteBuffer data)
+    public static com.google.spanner.v1.Mutation.Delete parseFrom(
+        java.nio.ByteBuffer data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.spanner.v1.Mutation.Delete parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.spanner.v1.Mutation.Delete parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.spanner.v1.Mutation.Delete parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.spanner.v1.Mutation.Delete parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.spanner.v1.Mutation.Delete parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.spanner.v1.Mutation.Delete parseFrom(java.io.InputStream input)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.spanner.v1.Mutation.Delete parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
-
-    public static com.google.spanner.v1.Mutation.Delete parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.spanner.v1.Mutation.Delete parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
     public static com.google.spanner.v1.Mutation.Delete parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.spanner.v1.Mutation.Delete parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.spanner.v1.Mutation.Delete parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
     public static Builder newBuilder(com.google.spanner.v1.Mutation.Delete prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -2236,41 +2043,39 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * Arguments to [delete][google.spanner.v1.Mutation.delete] operations.
      * 
* * Protobuf type {@code google.spanner.v1.Mutation.Delete} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.Mutation.Delete) com.google.spanner.v1.Mutation.DeleteOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.MutationProto - .internal_static_google_spanner_v1_Mutation_Delete_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.MutationProto.internal_static_google_spanner_v1_Mutation_Delete_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.MutationProto - .internal_static_google_spanner_v1_Mutation_Delete_fieldAccessorTable + return com.google.spanner.v1.MutationProto.internal_static_google_spanner_v1_Mutation_Delete_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.Mutation.Delete.class, - com.google.spanner.v1.Mutation.Delete.Builder.class); + com.google.spanner.v1.Mutation.Delete.class, com.google.spanner.v1.Mutation.Delete.Builder.class); } // Construct using com.google.spanner.v1.Mutation.Delete.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -2285,9 +2090,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.v1.MutationProto - .internal_static_google_spanner_v1_Mutation_Delete_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.v1.MutationProto.internal_static_google_spanner_v1_Mutation_Delete_descriptor; } @java.lang.Override @@ -2306,11 +2111,8 @@ public com.google.spanner.v1.Mutation.Delete build() { @java.lang.Override public com.google.spanner.v1.Mutation.Delete buildPartial() { - com.google.spanner.v1.Mutation.Delete result = - new com.google.spanner.v1.Mutation.Delete(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.v1.Mutation.Delete result = new com.google.spanner.v1.Mutation.Delete(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -2321,7 +2123,9 @@ private void buildPartial0(com.google.spanner.v1.Mutation.Delete result) { result.table_ = table_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.keySet_ = keySetBuilder_ == null ? keySet_ : keySetBuilder_.build(); + result.keySet_ = keySetBuilder_ == null + ? keySet_ + : keySetBuilder_.build(); } } @@ -2329,41 +2133,38 @@ private void buildPartial0(com.google.spanner.v1.Mutation.Delete 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.spanner.v1.Mutation.Delete) { - return mergeFrom((com.google.spanner.v1.Mutation.Delete) other); + return mergeFrom((com.google.spanner.v1.Mutation.Delete)other); } else { super.mergeFrom(other); return this; @@ -2406,25 +2207,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - table_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getKeySetFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + table_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getKeySetFieldBuilder().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) { @@ -2434,25 +2234,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object table_ = ""; /** - * - * *
        * Required. The table whose rows will be deleted.
        * 
* * string table = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The table. */ public java.lang.String getTable() { java.lang.Object ref = table_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); table_ = s; return s; @@ -2461,21 +2258,20 @@ public java.lang.String getTable() { } } /** - * - * *
        * Required. The table whose rows will be deleted.
        * 
* * string table = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for table. */ - public com.google.protobuf.ByteString getTableBytes() { + public com.google.protobuf.ByteString + getTableBytes() { java.lang.Object ref = table_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); table_ = b; return b; } else { @@ -2483,35 +2279,28 @@ public com.google.protobuf.ByteString getTableBytes() { } } /** - * - * *
        * Required. The table whose rows will be deleted.
        * 
* * string table = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The table to set. * @return This builder for chaining. */ - public Builder setTable(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTable( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } table_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Required. The table whose rows will be deleted.
        * 
* * string table = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearTable() { @@ -2521,21 +2310,17 @@ public Builder clearTable() { return this; } /** - * - * *
        * Required. The table whose rows will be deleted.
        * 
* * string table = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for table to set. * @return This builder for chaining. */ - public Builder setTableBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); table_ = value; bitField0_ |= 0x00000001; @@ -2545,13 +2330,8 @@ public Builder setTableBytes(com.google.protobuf.ByteString value) { private com.google.spanner.v1.KeySet keySet_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.KeySet, - com.google.spanner.v1.KeySet.Builder, - com.google.spanner.v1.KeySetOrBuilder> - keySetBuilder_; + com.google.spanner.v1.KeySet, com.google.spanner.v1.KeySet.Builder, com.google.spanner.v1.KeySetOrBuilder> keySetBuilder_; /** - * - * *
        * Required. The primary keys of the rows within [table][google.spanner.v1.Mutation.Delete.table] to delete.  The
        * primary keys must be specified in the order in which they appear in the
@@ -2561,17 +2341,13 @@ public Builder setTableBytes(com.google.protobuf.ByteString value) {
        * rows do not exist.
        * 
* - * .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the keySet field is set. */ public boolean hasKeySet() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
        * Required. The primary keys of the rows within [table][google.spanner.v1.Mutation.Delete.table] to delete.  The
        * primary keys must be specified in the order in which they appear in the
@@ -2581,9 +2357,7 @@ public boolean hasKeySet() {
        * rows do not exist.
        * 
* - * .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The keySet. */ public com.google.spanner.v1.KeySet getKeySet() { @@ -2594,8 +2368,6 @@ public com.google.spanner.v1.KeySet getKeySet() { } } /** - * - * *
        * Required. The primary keys of the rows within [table][google.spanner.v1.Mutation.Delete.table] to delete.  The
        * primary keys must be specified in the order in which they appear in the
@@ -2605,8 +2377,7 @@ public com.google.spanner.v1.KeySet getKeySet() {
        * rows do not exist.
        * 
* - * .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setKeySet(com.google.spanner.v1.KeySet value) { if (keySetBuilder_ == null) { @@ -2621,9 +2392,7 @@ public Builder setKeySet(com.google.spanner.v1.KeySet value) { onChanged(); return this; } - /** - * - * + /** *
        * Required. The primary keys of the rows within [table][google.spanner.v1.Mutation.Delete.table] to delete.  The
        * primary keys must be specified in the order in which they appear in the
@@ -2633,10 +2402,10 @@ public Builder setKeySet(com.google.spanner.v1.KeySet value) {
        * rows do not exist.
        * 
* - * .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setKeySet(com.google.spanner.v1.KeySet.Builder builderForValue) { + public Builder setKeySet( + com.google.spanner.v1.KeySet.Builder builderForValue) { if (keySetBuilder_ == null) { keySet_ = builderForValue.build(); } else { @@ -2647,8 +2416,6 @@ public Builder setKeySet(com.google.spanner.v1.KeySet.Builder builderForValue) { return this; } /** - * - * *
        * Required. The primary keys of the rows within [table][google.spanner.v1.Mutation.Delete.table] to delete.  The
        * primary keys must be specified in the order in which they appear in the
@@ -2658,14 +2425,13 @@ public Builder setKeySet(com.google.spanner.v1.KeySet.Builder builderForValue) {
        * rows do not exist.
        * 
* - * .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeKeySet(com.google.spanner.v1.KeySet value) { if (keySetBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && keySet_ != null - && keySet_ != com.google.spanner.v1.KeySet.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + keySet_ != null && + keySet_ != com.google.spanner.v1.KeySet.getDefaultInstance()) { getKeySetBuilder().mergeFrom(value); } else { keySet_ = value; @@ -2678,8 +2444,6 @@ public Builder mergeKeySet(com.google.spanner.v1.KeySet value) { return this; } /** - * - * *
        * Required. The primary keys of the rows within [table][google.spanner.v1.Mutation.Delete.table] to delete.  The
        * primary keys must be specified in the order in which they appear in the
@@ -2689,8 +2453,7 @@ public Builder mergeKeySet(com.google.spanner.v1.KeySet value) {
        * rows do not exist.
        * 
* - * .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearKeySet() { bitField0_ = (bitField0_ & ~0x00000002); @@ -2703,8 +2466,6 @@ public Builder clearKeySet() { return this; } /** - * - * *
        * Required. The primary keys of the rows within [table][google.spanner.v1.Mutation.Delete.table] to delete.  The
        * primary keys must be specified in the order in which they appear in the
@@ -2714,8 +2475,7 @@ public Builder clearKeySet() {
        * rows do not exist.
        * 
* - * .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.spanner.v1.KeySet.Builder getKeySetBuilder() { bitField0_ |= 0x00000002; @@ -2723,8 +2483,6 @@ public com.google.spanner.v1.KeySet.Builder getKeySetBuilder() { return getKeySetFieldBuilder().getBuilder(); } /** - * - * *
        * Required. The primary keys of the rows within [table][google.spanner.v1.Mutation.Delete.table] to delete.  The
        * primary keys must be specified in the order in which they appear in the
@@ -2734,19 +2492,17 @@ public com.google.spanner.v1.KeySet.Builder getKeySetBuilder() {
        * rows do not exist.
        * 
* - * .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.spanner.v1.KeySetOrBuilder getKeySetOrBuilder() { if (keySetBuilder_ != null) { return keySetBuilder_.getMessageOrBuilder(); } else { - return keySet_ == null ? com.google.spanner.v1.KeySet.getDefaultInstance() : keySet_; + return keySet_ == null ? + com.google.spanner.v1.KeySet.getDefaultInstance() : keySet_; } } /** - * - * *
        * Required. The primary keys of the rows within [table][google.spanner.v1.Mutation.Delete.table] to delete.  The
        * primary keys must be specified in the order in which they appear in the
@@ -2756,26 +2512,21 @@ public com.google.spanner.v1.KeySetOrBuilder getKeySetOrBuilder() {
        * rows do not exist.
        * 
* - * .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.KeySet, - com.google.spanner.v1.KeySet.Builder, - com.google.spanner.v1.KeySetOrBuilder> + com.google.spanner.v1.KeySet, com.google.spanner.v1.KeySet.Builder, com.google.spanner.v1.KeySetOrBuilder> getKeySetFieldBuilder() { if (keySetBuilder_ == null) { - keySetBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.KeySet, - com.google.spanner.v1.KeySet.Builder, - com.google.spanner.v1.KeySetOrBuilder>( - getKeySet(), getParentForChildren(), isClean()); + keySetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.v1.KeySet, com.google.spanner.v1.KeySet.Builder, com.google.spanner.v1.KeySetOrBuilder>( + getKeySet(), + getParentForChildren(), + isClean()); keySet_ = null; } return keySetBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2788,12 +2539,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.v1.Mutation.Delete) } // @@protoc_insertion_point(class_scope:google.spanner.v1.Mutation.Delete) private static final com.google.spanner.v1.Mutation.Delete DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.v1.Mutation.Delete(); } @@ -2802,28 +2553,27 @@ public static com.google.spanner.v1.Mutation.Delete getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Delete parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Delete parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2838,14 +2588,13 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.Mutation.Delete getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int operationCase_ = 0; private java.lang.Object operation_; - public enum OperationCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { INSERT(1), UPDATE(2), @@ -2854,7 +2603,6 @@ public enum OperationCase DELETE(5), OPERATION_NOT_SET(0); private final int value; - private OperationCase(int value) { this.value = value; } @@ -2870,43 +2618,34 @@ public static OperationCase valueOf(int value) { public static OperationCase forNumber(int value) { switch (value) { - case 1: - return INSERT; - case 2: - return UPDATE; - case 3: - return INSERT_OR_UPDATE; - case 4: - return REPLACE; - case 5: - return DELETE; - case 0: - return OPERATION_NOT_SET; - default: - return null; + case 1: return INSERT; + case 2: return UPDATE; + case 3: return INSERT_OR_UPDATE; + case 4: return REPLACE; + case 5: return DELETE; + case 0: return OPERATION_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public OperationCase getOperationCase() { - return OperationCase.forNumber(operationCase_); + public OperationCase + getOperationCase() { + return OperationCase.forNumber( + operationCase_); } public static final int INSERT_FIELD_NUMBER = 1; /** - * - * *
    * Insert new rows in a table. If any of the rows already exist,
    * the write or transaction fails with error `ALREADY_EXISTS`.
    * 
* * .google.spanner.v1.Mutation.Write insert = 1; - * * @return Whether the insert field is set. */ @java.lang.Override @@ -2914,27 +2653,22 @@ public boolean hasInsert() { return operationCase_ == 1; } /** - * - * *
    * Insert new rows in a table. If any of the rows already exist,
    * the write or transaction fails with error `ALREADY_EXISTS`.
    * 
* * .google.spanner.v1.Mutation.Write insert = 1; - * * @return The insert. */ @java.lang.Override public com.google.spanner.v1.Mutation.Write getInsert() { if (operationCase_ == 1) { - return (com.google.spanner.v1.Mutation.Write) operation_; + return (com.google.spanner.v1.Mutation.Write) operation_; } return com.google.spanner.v1.Mutation.Write.getDefaultInstance(); } /** - * - * *
    * Insert new rows in a table. If any of the rows already exist,
    * the write or transaction fails with error `ALREADY_EXISTS`.
@@ -2945,22 +2679,19 @@ public com.google.spanner.v1.Mutation.Write getInsert() {
   @java.lang.Override
   public com.google.spanner.v1.Mutation.WriteOrBuilder getInsertOrBuilder() {
     if (operationCase_ == 1) {
-      return (com.google.spanner.v1.Mutation.Write) operation_;
+       return (com.google.spanner.v1.Mutation.Write) operation_;
     }
     return com.google.spanner.v1.Mutation.Write.getDefaultInstance();
   }
 
   public static final int UPDATE_FIELD_NUMBER = 2;
   /**
-   *
-   *
    * 
    * Update existing rows in a table. If any of the rows does not
    * already exist, the transaction fails with error `NOT_FOUND`.
    * 
* * .google.spanner.v1.Mutation.Write update = 2; - * * @return Whether the update field is set. */ @java.lang.Override @@ -2968,27 +2699,22 @@ public boolean hasUpdate() { return operationCase_ == 2; } /** - * - * *
    * Update existing rows in a table. If any of the rows does not
    * already exist, the transaction fails with error `NOT_FOUND`.
    * 
* * .google.spanner.v1.Mutation.Write update = 2; - * * @return The update. */ @java.lang.Override public com.google.spanner.v1.Mutation.Write getUpdate() { if (operationCase_ == 2) { - return (com.google.spanner.v1.Mutation.Write) operation_; + return (com.google.spanner.v1.Mutation.Write) operation_; } return com.google.spanner.v1.Mutation.Write.getDefaultInstance(); } /** - * - * *
    * Update existing rows in a table. If any of the rows does not
    * already exist, the transaction fails with error `NOT_FOUND`.
@@ -2999,15 +2725,13 @@ public com.google.spanner.v1.Mutation.Write getUpdate() {
   @java.lang.Override
   public com.google.spanner.v1.Mutation.WriteOrBuilder getUpdateOrBuilder() {
     if (operationCase_ == 2) {
-      return (com.google.spanner.v1.Mutation.Write) operation_;
+       return (com.google.spanner.v1.Mutation.Write) operation_;
     }
     return com.google.spanner.v1.Mutation.Write.getDefaultInstance();
   }
 
   public static final int INSERT_OR_UPDATE_FIELD_NUMBER = 3;
   /**
-   *
-   *
    * 
    * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, then
    * its column values are overwritten with the ones provided. Any
@@ -3018,7 +2742,6 @@ public com.google.spanner.v1.Mutation.WriteOrBuilder getUpdateOrBuilder() {
    * 
* * .google.spanner.v1.Mutation.Write insert_or_update = 3; - * * @return Whether the insertOrUpdate field is set. */ @java.lang.Override @@ -3026,8 +2749,6 @@ public boolean hasInsertOrUpdate() { return operationCase_ == 3; } /** - * - * *
    * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, then
    * its column values are overwritten with the ones provided. Any
@@ -3038,19 +2759,16 @@ public boolean hasInsertOrUpdate() {
    * 
* * .google.spanner.v1.Mutation.Write insert_or_update = 3; - * * @return The insertOrUpdate. */ @java.lang.Override public com.google.spanner.v1.Mutation.Write getInsertOrUpdate() { if (operationCase_ == 3) { - return (com.google.spanner.v1.Mutation.Write) operation_; + return (com.google.spanner.v1.Mutation.Write) operation_; } return com.google.spanner.v1.Mutation.Write.getDefaultInstance(); } /** - * - * *
    * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, then
    * its column values are overwritten with the ones provided. Any
@@ -3065,15 +2783,13 @@ public com.google.spanner.v1.Mutation.Write getInsertOrUpdate() {
   @java.lang.Override
   public com.google.spanner.v1.Mutation.WriteOrBuilder getInsertOrUpdateOrBuilder() {
     if (operationCase_ == 3) {
-      return (com.google.spanner.v1.Mutation.Write) operation_;
+       return (com.google.spanner.v1.Mutation.Write) operation_;
     }
     return com.google.spanner.v1.Mutation.Write.getDefaultInstance();
   }
 
   public static final int REPLACE_FIELD_NUMBER = 4;
   /**
-   *
-   *
    * 
    * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, it is
    * deleted, and the column values provided are inserted
@@ -3086,7 +2802,6 @@ public com.google.spanner.v1.Mutation.WriteOrBuilder getInsertOrUpdateOrBuilder(
    * 
* * .google.spanner.v1.Mutation.Write replace = 4; - * * @return Whether the replace field is set. */ @java.lang.Override @@ -3094,8 +2809,6 @@ public boolean hasReplace() { return operationCase_ == 4; } /** - * - * *
    * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, it is
    * deleted, and the column values provided are inserted
@@ -3108,19 +2821,16 @@ public boolean hasReplace() {
    * 
* * .google.spanner.v1.Mutation.Write replace = 4; - * * @return The replace. */ @java.lang.Override public com.google.spanner.v1.Mutation.Write getReplace() { if (operationCase_ == 4) { - return (com.google.spanner.v1.Mutation.Write) operation_; + return (com.google.spanner.v1.Mutation.Write) operation_; } return com.google.spanner.v1.Mutation.Write.getDefaultInstance(); } /** - * - * *
    * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, it is
    * deleted, and the column values provided are inserted
@@ -3137,22 +2847,19 @@ public com.google.spanner.v1.Mutation.Write getReplace() {
   @java.lang.Override
   public com.google.spanner.v1.Mutation.WriteOrBuilder getReplaceOrBuilder() {
     if (operationCase_ == 4) {
-      return (com.google.spanner.v1.Mutation.Write) operation_;
+       return (com.google.spanner.v1.Mutation.Write) operation_;
     }
     return com.google.spanner.v1.Mutation.Write.getDefaultInstance();
   }
 
   public static final int DELETE_FIELD_NUMBER = 5;
   /**
-   *
-   *
    * 
    * Delete rows from a table. Succeeds whether or not the named
    * rows were present.
    * 
* * .google.spanner.v1.Mutation.Delete delete = 5; - * * @return Whether the delete field is set. */ @java.lang.Override @@ -3160,27 +2867,22 @@ public boolean hasDelete() { return operationCase_ == 5; } /** - * - * *
    * Delete rows from a table. Succeeds whether or not the named
    * rows were present.
    * 
* * .google.spanner.v1.Mutation.Delete delete = 5; - * * @return The delete. */ @java.lang.Override public com.google.spanner.v1.Mutation.Delete getDelete() { if (operationCase_ == 5) { - return (com.google.spanner.v1.Mutation.Delete) operation_; + return (com.google.spanner.v1.Mutation.Delete) operation_; } return com.google.spanner.v1.Mutation.Delete.getDefaultInstance(); } /** - * - * *
    * Delete rows from a table. Succeeds whether or not the named
    * rows were present.
@@ -3191,13 +2893,12 @@ public com.google.spanner.v1.Mutation.Delete getDelete() {
   @java.lang.Override
   public com.google.spanner.v1.Mutation.DeleteOrBuilder getDeleteOrBuilder() {
     if (operationCase_ == 5) {
-      return (com.google.spanner.v1.Mutation.Delete) operation_;
+       return (com.google.spanner.v1.Mutation.Delete) operation_;
     }
     return com.google.spanner.v1.Mutation.Delete.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -3209,7 +2910,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (operationCase_ == 1) {
       output.writeMessage(1, (com.google.spanner.v1.Mutation.Write) operation_);
     }
@@ -3235,29 +2937,24 @@ public int getSerializedSize() {
 
     size = 0;
     if (operationCase_ == 1) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              1, (com.google.spanner.v1.Mutation.Write) operation_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, (com.google.spanner.v1.Mutation.Write) operation_);
     }
     if (operationCase_ == 2) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              2, (com.google.spanner.v1.Mutation.Write) operation_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, (com.google.spanner.v1.Mutation.Write) operation_);
     }
     if (operationCase_ == 3) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              3, (com.google.spanner.v1.Mutation.Write) operation_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, (com.google.spanner.v1.Mutation.Write) operation_);
     }
     if (operationCase_ == 4) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              4, (com.google.spanner.v1.Mutation.Write) operation_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, (com.google.spanner.v1.Mutation.Write) operation_);
     }
     if (operationCase_ == 5) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              5, (com.google.spanner.v1.Mutation.Delete) operation_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, (com.google.spanner.v1.Mutation.Delete) operation_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -3267,7 +2964,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.spanner.v1.Mutation)) {
       return super.equals(obj);
@@ -3277,19 +2974,24 @@ public boolean equals(final java.lang.Object obj) {
     if (!getOperationCase().equals(other.getOperationCase())) return false;
     switch (operationCase_) {
       case 1:
-        if (!getInsert().equals(other.getInsert())) return false;
+        if (!getInsert()
+            .equals(other.getInsert())) return false;
         break;
       case 2:
-        if (!getUpdate().equals(other.getUpdate())) return false;
+        if (!getUpdate()
+            .equals(other.getUpdate())) return false;
         break;
       case 3:
-        if (!getInsertOrUpdate().equals(other.getInsertOrUpdate())) return false;
+        if (!getInsertOrUpdate()
+            .equals(other.getInsertOrUpdate())) return false;
         break;
       case 4:
-        if (!getReplace().equals(other.getReplace())) return false;
+        if (!getReplace()
+            .equals(other.getReplace())) return false;
         break;
       case 5:
-        if (!getDelete().equals(other.getDelete())) return false;
+        if (!getDelete()
+            .equals(other.getDelete())) return false;
         break;
       case 0:
       default:
@@ -3334,103 +3036,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.spanner.v1.Mutation parseFrom(java.nio.ByteBuffer data)
+  public static com.google.spanner.v1.Mutation parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.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.spanner.v1.Mutation parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.spanner.v1.Mutation parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.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.spanner.v1.Mutation parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.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.spanner.v1.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.spanner.v1.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.spanner.v1.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.spanner.v1.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.spanner.v1.Mutation parseFrom(com.google.protobuf.CodedInputStream input)
+  public static com.google.spanner.v1.Mutation 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.spanner.v1.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.spanner.v1.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;
   }
   /**
-   *
-   *
    * 
    * A modification to one or more Cloud Spanner rows.  Mutations can be
    * applied to a Cloud Spanner database by sending them in a
@@ -3439,31 +3135,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.v1.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.spanner.v1.Mutation)
       com.google.spanner.v1.MutationOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.v1.MutationProto
-          .internal_static_google_spanner_v1_Mutation_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.v1.MutationProto.internal_static_google_spanner_v1_Mutation_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.v1.MutationProto
-          .internal_static_google_spanner_v1_Mutation_fieldAccessorTable
+      return com.google.spanner.v1.MutationProto.internal_static_google_spanner_v1_Mutation_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
               com.google.spanner.v1.Mutation.class, com.google.spanner.v1.Mutation.Builder.class);
     }
 
     // Construct using com.google.spanner.v1.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();
@@ -3489,9 +3187,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.v1.MutationProto
-          .internal_static_google_spanner_v1_Mutation_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.v1.MutationProto.internal_static_google_spanner_v1_Mutation_descriptor;
     }
 
     @java.lang.Override
@@ -3511,9 +3209,7 @@ public com.google.spanner.v1.Mutation build() {
     @java.lang.Override
     public com.google.spanner.v1.Mutation buildPartial() {
       com.google.spanner.v1.Mutation result = new com.google.spanner.v1.Mutation(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -3526,19 +3222,24 @@ private void buildPartial0(com.google.spanner.v1.Mutation result) {
     private void buildPartialOneofs(com.google.spanner.v1.Mutation result) {
       result.operationCase_ = operationCase_;
       result.operation_ = this.operation_;
-      if (operationCase_ == 1 && insertBuilder_ != null) {
+      if (operationCase_ == 1 &&
+          insertBuilder_ != null) {
         result.operation_ = insertBuilder_.build();
       }
-      if (operationCase_ == 2 && updateBuilder_ != null) {
+      if (operationCase_ == 2 &&
+          updateBuilder_ != null) {
         result.operation_ = updateBuilder_.build();
       }
-      if (operationCase_ == 3 && insertOrUpdateBuilder_ != null) {
+      if (operationCase_ == 3 &&
+          insertOrUpdateBuilder_ != null) {
         result.operation_ = insertOrUpdateBuilder_.build();
       }
-      if (operationCase_ == 4 && replaceBuilder_ != null) {
+      if (operationCase_ == 4 &&
+          replaceBuilder_ != null) {
         result.operation_ = replaceBuilder_.build();
       }
-      if (operationCase_ == 5 && deleteBuilder_ != null) {
+      if (operationCase_ == 5 &&
+          deleteBuilder_ != null) {
         result.operation_ = deleteBuilder_.build();
       }
     }
@@ -3547,39 +3248,38 @@ private void buildPartialOneofs(com.google.spanner.v1.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.spanner.v1.Mutation) {
-        return mergeFrom((com.google.spanner.v1.Mutation) other);
+        return mergeFrom((com.google.spanner.v1.Mutation)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -3589,35 +3289,29 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     public Builder mergeFrom(com.google.spanner.v1.Mutation other) {
       if (other == com.google.spanner.v1.Mutation.getDefaultInstance()) return this;
       switch (other.getOperationCase()) {
-        case INSERT:
-          {
-            mergeInsert(other.getInsert());
-            break;
-          }
-        case UPDATE:
-          {
-            mergeUpdate(other.getUpdate());
-            break;
-          }
-        case INSERT_OR_UPDATE:
-          {
-            mergeInsertOrUpdate(other.getInsertOrUpdate());
-            break;
-          }
-        case REPLACE:
-          {
-            mergeReplace(other.getReplace());
-            break;
-          }
-        case DELETE:
-          {
-            mergeDelete(other.getDelete());
-            break;
-          }
-        case OPERATION_NOT_SET:
-          {
-            break;
-          }
+        case INSERT: {
+          mergeInsert(other.getInsert());
+          break;
+        }
+        case UPDATE: {
+          mergeUpdate(other.getUpdate());
+          break;
+        }
+        case INSERT_OR_UPDATE: {
+          mergeInsertOrUpdate(other.getInsertOrUpdate());
+          break;
+        }
+        case REPLACE: {
+          mergeReplace(other.getReplace());
+          break;
+        }
+        case DELETE: {
+          mergeDelete(other.getDelete());
+          break;
+        }
+        case OPERATION_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -3645,43 +3339,47 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getInsertFieldBuilder().getBuilder(), extensionRegistry);
-                operationCase_ = 1;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getUpdateFieldBuilder().getBuilder(), extensionRegistry);
-                operationCase_ = 2;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getInsertOrUpdateFieldBuilder().getBuilder(), extensionRegistry);
-                operationCase_ = 3;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getReplaceFieldBuilder().getBuilder(), extensionRegistry);
-                operationCase_ = 4;
-                break;
-              } // case 34
-            case 42:
-              {
-                input.readMessage(getDeleteFieldBuilder().getBuilder(), extensionRegistry);
-                operationCase_ = 5;
-                break;
-              } // case 42
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getInsertFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              operationCase_ = 1;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getUpdateFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              operationCase_ = 2;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getInsertOrUpdateFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              operationCase_ = 3;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getReplaceFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              operationCase_ = 4;
+              break;
+            } // case 34
+            case 42: {
+              input.readMessage(
+                  getDeleteFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              operationCase_ = 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) {
@@ -3691,12 +3389,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int operationCase_ = 0;
     private java.lang.Object operation_;
-
-    public OperationCase getOperationCase() {
-      return OperationCase.forNumber(operationCase_);
+    public OperationCase
+        getOperationCase() {
+      return OperationCase.forNumber(
+          operationCase_);
     }
 
     public Builder clearOperation() {
@@ -3709,20 +3407,14 @@ public Builder clearOperation() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.Mutation.Write,
-            com.google.spanner.v1.Mutation.Write.Builder,
-            com.google.spanner.v1.Mutation.WriteOrBuilder>
-        insertBuilder_;
+        com.google.spanner.v1.Mutation.Write, com.google.spanner.v1.Mutation.Write.Builder, com.google.spanner.v1.Mutation.WriteOrBuilder> insertBuilder_;
     /**
-     *
-     *
      * 
      * Insert new rows in a table. If any of the rows already exist,
      * the write or transaction fails with error `ALREADY_EXISTS`.
      * 
* * .google.spanner.v1.Mutation.Write insert = 1; - * * @return Whether the insert field is set. */ @java.lang.Override @@ -3730,15 +3422,12 @@ public boolean hasInsert() { return operationCase_ == 1; } /** - * - * *
      * Insert new rows in a table. If any of the rows already exist,
      * the write or transaction fails with error `ALREADY_EXISTS`.
      * 
* * .google.spanner.v1.Mutation.Write insert = 1; - * * @return The insert. */ @java.lang.Override @@ -3756,8 +3445,6 @@ public com.google.spanner.v1.Mutation.Write getInsert() { } } /** - * - * *
      * Insert new rows in a table. If any of the rows already exist,
      * the write or transaction fails with error `ALREADY_EXISTS`.
@@ -3779,8 +3466,6 @@ public Builder setInsert(com.google.spanner.v1.Mutation.Write value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Insert new rows in a table. If any of the rows already exist,
      * the write or transaction fails with error `ALREADY_EXISTS`.
@@ -3788,7 +3473,8 @@ public Builder setInsert(com.google.spanner.v1.Mutation.Write value) {
      *
      * .google.spanner.v1.Mutation.Write insert = 1;
      */
-    public Builder setInsert(com.google.spanner.v1.Mutation.Write.Builder builderForValue) {
+    public Builder setInsert(
+        com.google.spanner.v1.Mutation.Write.Builder builderForValue) {
       if (insertBuilder_ == null) {
         operation_ = builderForValue.build();
         onChanged();
@@ -3799,8 +3485,6 @@ public Builder setInsert(com.google.spanner.v1.Mutation.Write.Builder builderFor
       return this;
     }
     /**
-     *
-     *
      * 
      * Insert new rows in a table. If any of the rows already exist,
      * the write or transaction fails with error `ALREADY_EXISTS`.
@@ -3810,13 +3494,10 @@ public Builder setInsert(com.google.spanner.v1.Mutation.Write.Builder builderFor
      */
     public Builder mergeInsert(com.google.spanner.v1.Mutation.Write value) {
       if (insertBuilder_ == null) {
-        if (operationCase_ == 1
-            && operation_ != com.google.spanner.v1.Mutation.Write.getDefaultInstance()) {
-          operation_ =
-              com.google.spanner.v1.Mutation.Write.newBuilder(
-                      (com.google.spanner.v1.Mutation.Write) operation_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (operationCase_ == 1 &&
+            operation_ != com.google.spanner.v1.Mutation.Write.getDefaultInstance()) {
+          operation_ = com.google.spanner.v1.Mutation.Write.newBuilder((com.google.spanner.v1.Mutation.Write) operation_)
+              .mergeFrom(value).buildPartial();
         } else {
           operation_ = value;
         }
@@ -3832,8 +3513,6 @@ public Builder mergeInsert(com.google.spanner.v1.Mutation.Write value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Insert new rows in a table. If any of the rows already exist,
      * the write or transaction fails with error `ALREADY_EXISTS`.
@@ -3858,8 +3537,6 @@ public Builder clearInsert() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Insert new rows in a table. If any of the rows already exist,
      * the write or transaction fails with error `ALREADY_EXISTS`.
@@ -3871,8 +3548,6 @@ public com.google.spanner.v1.Mutation.Write.Builder getInsertBuilder() {
       return getInsertFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Insert new rows in a table. If any of the rows already exist,
      * the write or transaction fails with error `ALREADY_EXISTS`.
@@ -3892,8 +3567,6 @@ public com.google.spanner.v1.Mutation.WriteOrBuilder getInsertOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * Insert new rows in a table. If any of the rows already exist,
      * the write or transaction fails with error `ALREADY_EXISTS`.
@@ -3902,19 +3575,14 @@ public com.google.spanner.v1.Mutation.WriteOrBuilder getInsertOrBuilder() {
      * .google.spanner.v1.Mutation.Write insert = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.Mutation.Write,
-            com.google.spanner.v1.Mutation.Write.Builder,
-            com.google.spanner.v1.Mutation.WriteOrBuilder>
+        com.google.spanner.v1.Mutation.Write, com.google.spanner.v1.Mutation.Write.Builder, com.google.spanner.v1.Mutation.WriteOrBuilder> 
         getInsertFieldBuilder() {
       if (insertBuilder_ == null) {
         if (!(operationCase_ == 1)) {
           operation_ = com.google.spanner.v1.Mutation.Write.getDefaultInstance();
         }
-        insertBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.v1.Mutation.Write,
-                com.google.spanner.v1.Mutation.Write.Builder,
-                com.google.spanner.v1.Mutation.WriteOrBuilder>(
+        insertBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.v1.Mutation.Write, com.google.spanner.v1.Mutation.Write.Builder, com.google.spanner.v1.Mutation.WriteOrBuilder>(
                 (com.google.spanner.v1.Mutation.Write) operation_,
                 getParentForChildren(),
                 isClean());
@@ -3926,20 +3594,14 @@ public com.google.spanner.v1.Mutation.WriteOrBuilder getInsertOrBuilder() {
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.Mutation.Write,
-            com.google.spanner.v1.Mutation.Write.Builder,
-            com.google.spanner.v1.Mutation.WriteOrBuilder>
-        updateBuilder_;
+        com.google.spanner.v1.Mutation.Write, com.google.spanner.v1.Mutation.Write.Builder, com.google.spanner.v1.Mutation.WriteOrBuilder> updateBuilder_;
     /**
-     *
-     *
      * 
      * Update existing rows in a table. If any of the rows does not
      * already exist, the transaction fails with error `NOT_FOUND`.
      * 
* * .google.spanner.v1.Mutation.Write update = 2; - * * @return Whether the update field is set. */ @java.lang.Override @@ -3947,15 +3609,12 @@ public boolean hasUpdate() { return operationCase_ == 2; } /** - * - * *
      * Update existing rows in a table. If any of the rows does not
      * already exist, the transaction fails with error `NOT_FOUND`.
      * 
* * .google.spanner.v1.Mutation.Write update = 2; - * * @return The update. */ @java.lang.Override @@ -3973,8 +3632,6 @@ public com.google.spanner.v1.Mutation.Write getUpdate() { } } /** - * - * *
      * Update existing rows in a table. If any of the rows does not
      * already exist, the transaction fails with error `NOT_FOUND`.
@@ -3996,8 +3653,6 @@ public Builder setUpdate(com.google.spanner.v1.Mutation.Write value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Update existing rows in a table. If any of the rows does not
      * already exist, the transaction fails with error `NOT_FOUND`.
@@ -4005,7 +3660,8 @@ public Builder setUpdate(com.google.spanner.v1.Mutation.Write value) {
      *
      * .google.spanner.v1.Mutation.Write update = 2;
      */
-    public Builder setUpdate(com.google.spanner.v1.Mutation.Write.Builder builderForValue) {
+    public Builder setUpdate(
+        com.google.spanner.v1.Mutation.Write.Builder builderForValue) {
       if (updateBuilder_ == null) {
         operation_ = builderForValue.build();
         onChanged();
@@ -4016,8 +3672,6 @@ public Builder setUpdate(com.google.spanner.v1.Mutation.Write.Builder builderFor
       return this;
     }
     /**
-     *
-     *
      * 
      * Update existing rows in a table. If any of the rows does not
      * already exist, the transaction fails with error `NOT_FOUND`.
@@ -4027,13 +3681,10 @@ public Builder setUpdate(com.google.spanner.v1.Mutation.Write.Builder builderFor
      */
     public Builder mergeUpdate(com.google.spanner.v1.Mutation.Write value) {
       if (updateBuilder_ == null) {
-        if (operationCase_ == 2
-            && operation_ != com.google.spanner.v1.Mutation.Write.getDefaultInstance()) {
-          operation_ =
-              com.google.spanner.v1.Mutation.Write.newBuilder(
-                      (com.google.spanner.v1.Mutation.Write) operation_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (operationCase_ == 2 &&
+            operation_ != com.google.spanner.v1.Mutation.Write.getDefaultInstance()) {
+          operation_ = com.google.spanner.v1.Mutation.Write.newBuilder((com.google.spanner.v1.Mutation.Write) operation_)
+              .mergeFrom(value).buildPartial();
         } else {
           operation_ = value;
         }
@@ -4049,8 +3700,6 @@ public Builder mergeUpdate(com.google.spanner.v1.Mutation.Write value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Update existing rows in a table. If any of the rows does not
      * already exist, the transaction fails with error `NOT_FOUND`.
@@ -4075,8 +3724,6 @@ public Builder clearUpdate() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Update existing rows in a table. If any of the rows does not
      * already exist, the transaction fails with error `NOT_FOUND`.
@@ -4088,8 +3735,6 @@ public com.google.spanner.v1.Mutation.Write.Builder getUpdateBuilder() {
       return getUpdateFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Update existing rows in a table. If any of the rows does not
      * already exist, the transaction fails with error `NOT_FOUND`.
@@ -4109,8 +3754,6 @@ public com.google.spanner.v1.Mutation.WriteOrBuilder getUpdateOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * Update existing rows in a table. If any of the rows does not
      * already exist, the transaction fails with error `NOT_FOUND`.
@@ -4119,19 +3762,14 @@ public com.google.spanner.v1.Mutation.WriteOrBuilder getUpdateOrBuilder() {
      * .google.spanner.v1.Mutation.Write update = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.Mutation.Write,
-            com.google.spanner.v1.Mutation.Write.Builder,
-            com.google.spanner.v1.Mutation.WriteOrBuilder>
+        com.google.spanner.v1.Mutation.Write, com.google.spanner.v1.Mutation.Write.Builder, com.google.spanner.v1.Mutation.WriteOrBuilder> 
         getUpdateFieldBuilder() {
       if (updateBuilder_ == null) {
         if (!(operationCase_ == 2)) {
           operation_ = com.google.spanner.v1.Mutation.Write.getDefaultInstance();
         }
-        updateBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.v1.Mutation.Write,
-                com.google.spanner.v1.Mutation.Write.Builder,
-                com.google.spanner.v1.Mutation.WriteOrBuilder>(
+        updateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.v1.Mutation.Write, com.google.spanner.v1.Mutation.Write.Builder, com.google.spanner.v1.Mutation.WriteOrBuilder>(
                 (com.google.spanner.v1.Mutation.Write) operation_,
                 getParentForChildren(),
                 isClean());
@@ -4143,13 +3781,8 @@ public com.google.spanner.v1.Mutation.WriteOrBuilder getUpdateOrBuilder() {
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.Mutation.Write,
-            com.google.spanner.v1.Mutation.Write.Builder,
-            com.google.spanner.v1.Mutation.WriteOrBuilder>
-        insertOrUpdateBuilder_;
+        com.google.spanner.v1.Mutation.Write, com.google.spanner.v1.Mutation.Write.Builder, com.google.spanner.v1.Mutation.WriteOrBuilder> insertOrUpdateBuilder_;
     /**
-     *
-     *
      * 
      * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, then
      * its column values are overwritten with the ones provided. Any
@@ -4160,7 +3793,6 @@ public com.google.spanner.v1.Mutation.WriteOrBuilder getUpdateOrBuilder() {
      * 
* * .google.spanner.v1.Mutation.Write insert_or_update = 3; - * * @return Whether the insertOrUpdate field is set. */ @java.lang.Override @@ -4168,8 +3800,6 @@ public boolean hasInsertOrUpdate() { return operationCase_ == 3; } /** - * - * *
      * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, then
      * its column values are overwritten with the ones provided. Any
@@ -4180,7 +3810,6 @@ public boolean hasInsertOrUpdate() {
      * 
* * .google.spanner.v1.Mutation.Write insert_or_update = 3; - * * @return The insertOrUpdate. */ @java.lang.Override @@ -4198,8 +3827,6 @@ public com.google.spanner.v1.Mutation.Write getInsertOrUpdate() { } } /** - * - * *
      * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, then
      * its column values are overwritten with the ones provided. Any
@@ -4225,8 +3852,6 @@ public Builder setInsertOrUpdate(com.google.spanner.v1.Mutation.Write value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, then
      * its column values are overwritten with the ones provided. Any
@@ -4238,7 +3863,8 @@ public Builder setInsertOrUpdate(com.google.spanner.v1.Mutation.Write value) {
      *
      * .google.spanner.v1.Mutation.Write insert_or_update = 3;
      */
-    public Builder setInsertOrUpdate(com.google.spanner.v1.Mutation.Write.Builder builderForValue) {
+    public Builder setInsertOrUpdate(
+        com.google.spanner.v1.Mutation.Write.Builder builderForValue) {
       if (insertOrUpdateBuilder_ == null) {
         operation_ = builderForValue.build();
         onChanged();
@@ -4249,8 +3875,6 @@ public Builder setInsertOrUpdate(com.google.spanner.v1.Mutation.Write.Builder bu
       return this;
     }
     /**
-     *
-     *
      * 
      * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, then
      * its column values are overwritten with the ones provided. Any
@@ -4264,13 +3888,10 @@ public Builder setInsertOrUpdate(com.google.spanner.v1.Mutation.Write.Builder bu
      */
     public Builder mergeInsertOrUpdate(com.google.spanner.v1.Mutation.Write value) {
       if (insertOrUpdateBuilder_ == null) {
-        if (operationCase_ == 3
-            && operation_ != com.google.spanner.v1.Mutation.Write.getDefaultInstance()) {
-          operation_ =
-              com.google.spanner.v1.Mutation.Write.newBuilder(
-                      (com.google.spanner.v1.Mutation.Write) operation_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (operationCase_ == 3 &&
+            operation_ != com.google.spanner.v1.Mutation.Write.getDefaultInstance()) {
+          operation_ = com.google.spanner.v1.Mutation.Write.newBuilder((com.google.spanner.v1.Mutation.Write) operation_)
+              .mergeFrom(value).buildPartial();
         } else {
           operation_ = value;
         }
@@ -4286,8 +3907,6 @@ public Builder mergeInsertOrUpdate(com.google.spanner.v1.Mutation.Write value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, then
      * its column values are overwritten with the ones provided. Any
@@ -4316,8 +3935,6 @@ public Builder clearInsertOrUpdate() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, then
      * its column values are overwritten with the ones provided. Any
@@ -4333,8 +3950,6 @@ public com.google.spanner.v1.Mutation.Write.Builder getInsertOrUpdateBuilder() {
       return getInsertOrUpdateFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, then
      * its column values are overwritten with the ones provided. Any
@@ -4358,8 +3973,6 @@ public com.google.spanner.v1.Mutation.WriteOrBuilder getInsertOrUpdateOrBuilder(
       }
     }
     /**
-     *
-     *
      * 
      * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, then
      * its column values are overwritten with the ones provided. Any
@@ -4372,19 +3985,14 @@ public com.google.spanner.v1.Mutation.WriteOrBuilder getInsertOrUpdateOrBuilder(
      * .google.spanner.v1.Mutation.Write insert_or_update = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.Mutation.Write,
-            com.google.spanner.v1.Mutation.Write.Builder,
-            com.google.spanner.v1.Mutation.WriteOrBuilder>
+        com.google.spanner.v1.Mutation.Write, com.google.spanner.v1.Mutation.Write.Builder, com.google.spanner.v1.Mutation.WriteOrBuilder> 
         getInsertOrUpdateFieldBuilder() {
       if (insertOrUpdateBuilder_ == null) {
         if (!(operationCase_ == 3)) {
           operation_ = com.google.spanner.v1.Mutation.Write.getDefaultInstance();
         }
-        insertOrUpdateBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.v1.Mutation.Write,
-                com.google.spanner.v1.Mutation.Write.Builder,
-                com.google.spanner.v1.Mutation.WriteOrBuilder>(
+        insertOrUpdateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.v1.Mutation.Write, com.google.spanner.v1.Mutation.Write.Builder, com.google.spanner.v1.Mutation.WriteOrBuilder>(
                 (com.google.spanner.v1.Mutation.Write) operation_,
                 getParentForChildren(),
                 isClean());
@@ -4396,13 +4004,8 @@ public com.google.spanner.v1.Mutation.WriteOrBuilder getInsertOrUpdateOrBuilder(
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.Mutation.Write,
-            com.google.spanner.v1.Mutation.Write.Builder,
-            com.google.spanner.v1.Mutation.WriteOrBuilder>
-        replaceBuilder_;
+        com.google.spanner.v1.Mutation.Write, com.google.spanner.v1.Mutation.Write.Builder, com.google.spanner.v1.Mutation.WriteOrBuilder> replaceBuilder_;
     /**
-     *
-     *
      * 
      * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, it is
      * deleted, and the column values provided are inserted
@@ -4415,7 +4018,6 @@ public com.google.spanner.v1.Mutation.WriteOrBuilder getInsertOrUpdateOrBuilder(
      * 
* * .google.spanner.v1.Mutation.Write replace = 4; - * * @return Whether the replace field is set. */ @java.lang.Override @@ -4423,8 +4025,6 @@ public boolean hasReplace() { return operationCase_ == 4; } /** - * - * *
      * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, it is
      * deleted, and the column values provided are inserted
@@ -4437,7 +4037,6 @@ public boolean hasReplace() {
      * 
* * .google.spanner.v1.Mutation.Write replace = 4; - * * @return The replace. */ @java.lang.Override @@ -4455,8 +4054,6 @@ public com.google.spanner.v1.Mutation.Write getReplace() { } } /** - * - * *
      * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, it is
      * deleted, and the column values provided are inserted
@@ -4484,8 +4081,6 @@ public Builder setReplace(com.google.spanner.v1.Mutation.Write value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, it is
      * deleted, and the column values provided are inserted
@@ -4499,7 +4094,8 @@ public Builder setReplace(com.google.spanner.v1.Mutation.Write value) {
      *
      * .google.spanner.v1.Mutation.Write replace = 4;
      */
-    public Builder setReplace(com.google.spanner.v1.Mutation.Write.Builder builderForValue) {
+    public Builder setReplace(
+        com.google.spanner.v1.Mutation.Write.Builder builderForValue) {
       if (replaceBuilder_ == null) {
         operation_ = builderForValue.build();
         onChanged();
@@ -4510,8 +4106,6 @@ public Builder setReplace(com.google.spanner.v1.Mutation.Write.Builder builderFo
       return this;
     }
     /**
-     *
-     *
      * 
      * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, it is
      * deleted, and the column values provided are inserted
@@ -4527,13 +4121,10 @@ public Builder setReplace(com.google.spanner.v1.Mutation.Write.Builder builderFo
      */
     public Builder mergeReplace(com.google.spanner.v1.Mutation.Write value) {
       if (replaceBuilder_ == null) {
-        if (operationCase_ == 4
-            && operation_ != com.google.spanner.v1.Mutation.Write.getDefaultInstance()) {
-          operation_ =
-              com.google.spanner.v1.Mutation.Write.newBuilder(
-                      (com.google.spanner.v1.Mutation.Write) operation_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (operationCase_ == 4 &&
+            operation_ != com.google.spanner.v1.Mutation.Write.getDefaultInstance()) {
+          operation_ = com.google.spanner.v1.Mutation.Write.newBuilder((com.google.spanner.v1.Mutation.Write) operation_)
+              .mergeFrom(value).buildPartial();
         } else {
           operation_ = value;
         }
@@ -4549,8 +4140,6 @@ public Builder mergeReplace(com.google.spanner.v1.Mutation.Write value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, it is
      * deleted, and the column values provided are inserted
@@ -4581,8 +4170,6 @@ public Builder clearReplace() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, it is
      * deleted, and the column values provided are inserted
@@ -4600,8 +4187,6 @@ public com.google.spanner.v1.Mutation.Write.Builder getReplaceBuilder() {
       return getReplaceFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, it is
      * deleted, and the column values provided are inserted
@@ -4627,8 +4212,6 @@ public com.google.spanner.v1.Mutation.WriteOrBuilder getReplaceOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, it is
      * deleted, and the column values provided are inserted
@@ -4643,19 +4226,14 @@ public com.google.spanner.v1.Mutation.WriteOrBuilder getReplaceOrBuilder() {
      * .google.spanner.v1.Mutation.Write replace = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.Mutation.Write,
-            com.google.spanner.v1.Mutation.Write.Builder,
-            com.google.spanner.v1.Mutation.WriteOrBuilder>
+        com.google.spanner.v1.Mutation.Write, com.google.spanner.v1.Mutation.Write.Builder, com.google.spanner.v1.Mutation.WriteOrBuilder> 
         getReplaceFieldBuilder() {
       if (replaceBuilder_ == null) {
         if (!(operationCase_ == 4)) {
           operation_ = com.google.spanner.v1.Mutation.Write.getDefaultInstance();
         }
-        replaceBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.v1.Mutation.Write,
-                com.google.spanner.v1.Mutation.Write.Builder,
-                com.google.spanner.v1.Mutation.WriteOrBuilder>(
+        replaceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.v1.Mutation.Write, com.google.spanner.v1.Mutation.Write.Builder, com.google.spanner.v1.Mutation.WriteOrBuilder>(
                 (com.google.spanner.v1.Mutation.Write) operation_,
                 getParentForChildren(),
                 isClean());
@@ -4667,20 +4245,14 @@ public com.google.spanner.v1.Mutation.WriteOrBuilder getReplaceOrBuilder() {
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.Mutation.Delete,
-            com.google.spanner.v1.Mutation.Delete.Builder,
-            com.google.spanner.v1.Mutation.DeleteOrBuilder>
-        deleteBuilder_;
+        com.google.spanner.v1.Mutation.Delete, com.google.spanner.v1.Mutation.Delete.Builder, com.google.spanner.v1.Mutation.DeleteOrBuilder> deleteBuilder_;
     /**
-     *
-     *
      * 
      * Delete rows from a table. Succeeds whether or not the named
      * rows were present.
      * 
* * .google.spanner.v1.Mutation.Delete delete = 5; - * * @return Whether the delete field is set. */ @java.lang.Override @@ -4688,15 +4260,12 @@ public boolean hasDelete() { return operationCase_ == 5; } /** - * - * *
      * Delete rows from a table. Succeeds whether or not the named
      * rows were present.
      * 
* * .google.spanner.v1.Mutation.Delete delete = 5; - * * @return The delete. */ @java.lang.Override @@ -4714,8 +4283,6 @@ public com.google.spanner.v1.Mutation.Delete getDelete() { } } /** - * - * *
      * Delete rows from a table. Succeeds whether or not the named
      * rows were present.
@@ -4737,8 +4304,6 @@ public Builder setDelete(com.google.spanner.v1.Mutation.Delete value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Delete rows from a table. Succeeds whether or not the named
      * rows were present.
@@ -4746,7 +4311,8 @@ public Builder setDelete(com.google.spanner.v1.Mutation.Delete value) {
      *
      * .google.spanner.v1.Mutation.Delete delete = 5;
      */
-    public Builder setDelete(com.google.spanner.v1.Mutation.Delete.Builder builderForValue) {
+    public Builder setDelete(
+        com.google.spanner.v1.Mutation.Delete.Builder builderForValue) {
       if (deleteBuilder_ == null) {
         operation_ = builderForValue.build();
         onChanged();
@@ -4757,8 +4323,6 @@ public Builder setDelete(com.google.spanner.v1.Mutation.Delete.Builder builderFo
       return this;
     }
     /**
-     *
-     *
      * 
      * Delete rows from a table. Succeeds whether or not the named
      * rows were present.
@@ -4768,13 +4332,10 @@ public Builder setDelete(com.google.spanner.v1.Mutation.Delete.Builder builderFo
      */
     public Builder mergeDelete(com.google.spanner.v1.Mutation.Delete value) {
       if (deleteBuilder_ == null) {
-        if (operationCase_ == 5
-            && operation_ != com.google.spanner.v1.Mutation.Delete.getDefaultInstance()) {
-          operation_ =
-              com.google.spanner.v1.Mutation.Delete.newBuilder(
-                      (com.google.spanner.v1.Mutation.Delete) operation_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (operationCase_ == 5 &&
+            operation_ != com.google.spanner.v1.Mutation.Delete.getDefaultInstance()) {
+          operation_ = com.google.spanner.v1.Mutation.Delete.newBuilder((com.google.spanner.v1.Mutation.Delete) operation_)
+              .mergeFrom(value).buildPartial();
         } else {
           operation_ = value;
         }
@@ -4790,8 +4351,6 @@ public Builder mergeDelete(com.google.spanner.v1.Mutation.Delete value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Delete rows from a table. Succeeds whether or not the named
      * rows were present.
@@ -4816,8 +4375,6 @@ public Builder clearDelete() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Delete rows from a table. Succeeds whether or not the named
      * rows were present.
@@ -4829,8 +4386,6 @@ public com.google.spanner.v1.Mutation.Delete.Builder getDeleteBuilder() {
       return getDeleteFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Delete rows from a table. Succeeds whether or not the named
      * rows were present.
@@ -4850,8 +4405,6 @@ public com.google.spanner.v1.Mutation.DeleteOrBuilder getDeleteOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * Delete rows from a table. Succeeds whether or not the named
      * rows were present.
@@ -4860,19 +4413,14 @@ public com.google.spanner.v1.Mutation.DeleteOrBuilder getDeleteOrBuilder() {
      * .google.spanner.v1.Mutation.Delete delete = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.Mutation.Delete,
-            com.google.spanner.v1.Mutation.Delete.Builder,
-            com.google.spanner.v1.Mutation.DeleteOrBuilder>
+        com.google.spanner.v1.Mutation.Delete, com.google.spanner.v1.Mutation.Delete.Builder, com.google.spanner.v1.Mutation.DeleteOrBuilder> 
         getDeleteFieldBuilder() {
       if (deleteBuilder_ == null) {
         if (!(operationCase_ == 5)) {
           operation_ = com.google.spanner.v1.Mutation.Delete.getDefaultInstance();
         }
-        deleteBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.v1.Mutation.Delete,
-                com.google.spanner.v1.Mutation.Delete.Builder,
-                com.google.spanner.v1.Mutation.DeleteOrBuilder>(
+        deleteBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.v1.Mutation.Delete, com.google.spanner.v1.Mutation.Delete.Builder, com.google.spanner.v1.Mutation.DeleteOrBuilder>(
                 (com.google.spanner.v1.Mutation.Delete) operation_,
                 getParentForChildren(),
                 isClean());
@@ -4882,9 +4430,9 @@ public com.google.spanner.v1.Mutation.DeleteOrBuilder getDeleteOrBuilder() {
       onChanged();
       return deleteBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -4894,12 +4442,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.spanner.v1.Mutation)
   }
 
   // @@protoc_insertion_point(class_scope:google.spanner.v1.Mutation)
   private static final com.google.spanner.v1.Mutation DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.spanner.v1.Mutation();
   }
@@ -4908,27 +4456,27 @@ public static com.google.spanner.v1.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;
@@ -4943,4 +4491,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.spanner.v1.Mutation getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/MutationOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/MutationOrBuilder.java
similarity index 89%
rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/MutationOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/MutationOrBuilder.java
index c91b2bbb83f..bd1535d1663 100644
--- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/MutationOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/MutationOrBuilder.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/spanner/v1/mutation.proto
 
 package com.google.spanner.v1;
 
-public interface MutationOrBuilder
-    extends
+public interface MutationOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.spanner.v1.Mutation)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Insert new rows in a table. If any of the rows already exist,
    * the write or transaction fails with error `ALREADY_EXISTS`.
    * 
* * .google.spanner.v1.Mutation.Write insert = 1; - * * @return Whether the insert field is set. */ boolean hasInsert(); /** - * - * *
    * Insert new rows in a table. If any of the rows already exist,
    * the write or transaction fails with error `ALREADY_EXISTS`.
    * 
* * .google.spanner.v1.Mutation.Write insert = 1; - * * @return The insert. */ com.google.spanner.v1.Mutation.Write getInsert(); /** - * - * *
    * Insert new rows in a table. If any of the rows already exist,
    * the write or transaction fails with error `ALREADY_EXISTS`.
@@ -62,34 +38,26 @@ public interface MutationOrBuilder
   com.google.spanner.v1.Mutation.WriteOrBuilder getInsertOrBuilder();
 
   /**
-   *
-   *
    * 
    * Update existing rows in a table. If any of the rows does not
    * already exist, the transaction fails with error `NOT_FOUND`.
    * 
* * .google.spanner.v1.Mutation.Write update = 2; - * * @return Whether the update field is set. */ boolean hasUpdate(); /** - * - * *
    * Update existing rows in a table. If any of the rows does not
    * already exist, the transaction fails with error `NOT_FOUND`.
    * 
* * .google.spanner.v1.Mutation.Write update = 2; - * * @return The update. */ com.google.spanner.v1.Mutation.Write getUpdate(); /** - * - * *
    * Update existing rows in a table. If any of the rows does not
    * already exist, the transaction fails with error `NOT_FOUND`.
@@ -100,8 +68,6 @@ public interface MutationOrBuilder
   com.google.spanner.v1.Mutation.WriteOrBuilder getUpdateOrBuilder();
 
   /**
-   *
-   *
    * 
    * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, then
    * its column values are overwritten with the ones provided. Any
@@ -112,13 +78,10 @@ public interface MutationOrBuilder
    * 
* * .google.spanner.v1.Mutation.Write insert_or_update = 3; - * * @return Whether the insertOrUpdate field is set. */ boolean hasInsertOrUpdate(); /** - * - * *
    * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, then
    * its column values are overwritten with the ones provided. Any
@@ -129,13 +92,10 @@ public interface MutationOrBuilder
    * 
* * .google.spanner.v1.Mutation.Write insert_or_update = 3; - * * @return The insertOrUpdate. */ com.google.spanner.v1.Mutation.Write getInsertOrUpdate(); /** - * - * *
    * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, then
    * its column values are overwritten with the ones provided. Any
@@ -150,8 +110,6 @@ public interface MutationOrBuilder
   com.google.spanner.v1.Mutation.WriteOrBuilder getInsertOrUpdateOrBuilder();
 
   /**
-   *
-   *
    * 
    * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, it is
    * deleted, and the column values provided are inserted
@@ -164,13 +122,10 @@ public interface MutationOrBuilder
    * 
* * .google.spanner.v1.Mutation.Write replace = 4; - * * @return Whether the replace field is set. */ boolean hasReplace(); /** - * - * *
    * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, it is
    * deleted, and the column values provided are inserted
@@ -183,13 +138,10 @@ public interface MutationOrBuilder
    * 
* * .google.spanner.v1.Mutation.Write replace = 4; - * * @return The replace. */ com.google.spanner.v1.Mutation.Write getReplace(); /** - * - * *
    * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, it is
    * deleted, and the column values provided are inserted
@@ -206,34 +158,26 @@ public interface MutationOrBuilder
   com.google.spanner.v1.Mutation.WriteOrBuilder getReplaceOrBuilder();
 
   /**
-   *
-   *
    * 
    * Delete rows from a table. Succeeds whether or not the named
    * rows were present.
    * 
* * .google.spanner.v1.Mutation.Delete delete = 5; - * * @return Whether the delete field is set. */ boolean hasDelete(); /** - * - * *
    * Delete rows from a table. Succeeds whether or not the named
    * rows were present.
    * 
* * .google.spanner.v1.Mutation.Delete delete = 5; - * * @return The delete. */ com.google.spanner.v1.Mutation.Delete getDelete(); /** - * - * *
    * Delete rows from a table. Succeeds whether or not the named
    * rows were present.
diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/MutationProto.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/MutationProto.java
new file mode 100644
index 00000000000..5c4409f3d0c
--- /dev/null
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/MutationProto.java
@@ -0,0 +1,99 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/spanner/v1/mutation.proto
+
+package com.google.spanner.v1;
+
+public final class MutationProto {
+  private MutationProto() {}
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistryLite registry) {
+  }
+
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions(
+        (com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_spanner_v1_Mutation_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_spanner_v1_Mutation_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_spanner_v1_Mutation_Write_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_spanner_v1_Mutation_Write_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_spanner_v1_Mutation_Delete_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_spanner_v1_Mutation_Delete_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor
+      getDescriptor() {
+    return descriptor;
+  }
+  private static  com.google.protobuf.Descriptors.FileDescriptor
+      descriptor;
+  static {
+    java.lang.String[] descriptorData = {
+      "\n google/spanner/v1/mutation.proto\022\021goog" +
+      "le.spanner.v1\032\037google/api/field_behavior" +
+      ".proto\032\034google/protobuf/struct.proto\032\034go" +
+      "ogle/spanner/v1/keys.proto\"\325\003\n\010Mutation\022" +
+      "3\n\006insert\030\001 \001(\0132!.google.spanner.v1.Muta" +
+      "tion.WriteH\000\0223\n\006update\030\002 \001(\0132!.google.sp" +
+      "anner.v1.Mutation.WriteH\000\022=\n\020insert_or_u" +
+      "pdate\030\003 \001(\0132!.google.spanner.v1.Mutation" +
+      ".WriteH\000\0224\n\007replace\030\004 \001(\0132!.google.spann" +
+      "er.v1.Mutation.WriteH\000\0224\n\006delete\030\005 \001(\0132\"" +
+      ".google.spanner.v1.Mutation.DeleteH\000\032X\n\005" +
+      "Write\022\022\n\005table\030\001 \001(\tB\003\340A\002\022\017\n\007columns\030\002 \003" +
+      "(\t\022*\n\006values\030\003 \003(\0132\032.google.protobuf.Lis" +
+      "tValue\032M\n\006Delete\022\022\n\005table\030\001 \001(\tB\003\340A\002\022/\n\007" +
+      "key_set\030\002 \001(\0132\031.google.spanner.v1.KeySet" +
+      "B\003\340A\002B\013\n\toperationB\260\001\n\025com.google.spanne" +
+      "r.v1B\rMutationProtoP\001Z5cloud.google.com/" +
+      "go/spanner/apiv1/spannerpb;spannerpb\252\002\027G" +
+      "oogle.Cloud.Spanner.V1\312\002\027Google\\Cloud\\Sp" +
+      "anner\\V1\352\002\032Google::Cloud::Spanner::V1b\006p" +
+      "roto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.api.FieldBehaviorProto.getDescriptor(),
+          com.google.protobuf.StructProto.getDescriptor(),
+          com.google.spanner.v1.KeysProto.getDescriptor(),
+        });
+    internal_static_google_spanner_v1_Mutation_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_spanner_v1_Mutation_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_spanner_v1_Mutation_descriptor,
+        new java.lang.String[] { "Insert", "Update", "InsertOrUpdate", "Replace", "Delete", "Operation", });
+    internal_static_google_spanner_v1_Mutation_Write_descriptor =
+      internal_static_google_spanner_v1_Mutation_descriptor.getNestedTypes().get(0);
+    internal_static_google_spanner_v1_Mutation_Write_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_spanner_v1_Mutation_Write_descriptor,
+        new java.lang.String[] { "Table", "Columns", "Values", });
+    internal_static_google_spanner_v1_Mutation_Delete_descriptor =
+      internal_static_google_spanner_v1_Mutation_descriptor.getNestedTypes().get(1);
+    internal_static_google_spanner_v1_Mutation_Delete_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_spanner_v1_Mutation_Delete_descriptor,
+        new java.lang.String[] { "Table", "KeySet", });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+    com.google.protobuf.Descriptors.FileDescriptor
+        .internalUpdateFileDescriptor(descriptor, registry);
+    com.google.api.FieldBehaviorProto.getDescriptor();
+    com.google.protobuf.StructProto.getDescriptor();
+    com.google.spanner.v1.KeysProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartialResultSet.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartialResultSet.java
similarity index 89%
rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartialResultSet.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartialResultSet.java
index 4453ef0c119..77f5364d29d 100644
--- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartialResultSet.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartialResultSet.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/spanner/v1/result_set.proto
 
 package com.google.spanner.v1;
 
 /**
- *
- *
  * 
  * Partial results from a streaming read or SQL query. Streaming reads and
  * SQL queries better tolerate large result sets, large rows, and large
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.spanner.v1.PartialResultSet}
  */
-public final class PartialResultSet extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class PartialResultSet extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.v1.PartialResultSet)
     PartialResultSetOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use PartialResultSet.newBuilder() to construct.
   private PartialResultSet(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private PartialResultSet() {
     values_ = java.util.Collections.emptyList();
     resumeToken_ = com.google.protobuf.ByteString.EMPTY;
@@ -46,42 +28,38 @@ private PartialResultSet() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new PartialResultSet();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.v1.ResultSetProto
-        .internal_static_google_spanner_v1_PartialResultSet_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.v1.ResultSetProto.internal_static_google_spanner_v1_PartialResultSet_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.v1.ResultSetProto
-        .internal_static_google_spanner_v1_PartialResultSet_fieldAccessorTable
+    return com.google.spanner.v1.ResultSetProto.internal_static_google_spanner_v1_PartialResultSet_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.v1.PartialResultSet.class,
-            com.google.spanner.v1.PartialResultSet.Builder.class);
+            com.google.spanner.v1.PartialResultSet.class, com.google.spanner.v1.PartialResultSet.Builder.class);
   }
 
   public static final int METADATA_FIELD_NUMBER = 1;
   private com.google.spanner.v1.ResultSetMetadata metadata_;
   /**
-   *
-   *
    * 
    * Metadata about the result set, such as row type information.
    * Only present in the first response.
    * 
* * .google.spanner.v1.ResultSetMetadata metadata = 1; - * * @return Whether the metadata field is set. */ @java.lang.Override @@ -89,26 +67,19 @@ public boolean hasMetadata() { return metadata_ != null; } /** - * - * *
    * Metadata about the result set, such as row type information.
    * Only present in the first response.
    * 
* * .google.spanner.v1.ResultSetMetadata metadata = 1; - * * @return The metadata. */ @java.lang.Override public com.google.spanner.v1.ResultSetMetadata getMetadata() { - return metadata_ == null - ? com.google.spanner.v1.ResultSetMetadata.getDefaultInstance() - : metadata_; + return metadata_ == null ? com.google.spanner.v1.ResultSetMetadata.getDefaultInstance() : metadata_; } /** - * - * *
    * Metadata about the result set, such as row type information.
    * Only present in the first response.
@@ -118,18 +89,13 @@ public com.google.spanner.v1.ResultSetMetadata getMetadata() {
    */
   @java.lang.Override
   public com.google.spanner.v1.ResultSetMetadataOrBuilder getMetadataOrBuilder() {
-    return metadata_ == null
-        ? com.google.spanner.v1.ResultSetMetadata.getDefaultInstance()
-        : metadata_;
+    return metadata_ == null ? com.google.spanner.v1.ResultSetMetadata.getDefaultInstance() : metadata_;
   }
 
   public static final int VALUES_FIELD_NUMBER = 2;
-
   @SuppressWarnings("serial")
   private java.util.List values_;
   /**
-   *
-   *
    * 
    * A streamed result set consists of a stream of values, which might
    * be split into many `PartialResultSet` messages to accommodate
@@ -199,8 +165,6 @@ public java.util.List getValuesList() {
     return values_;
   }
   /**
-   *
-   *
    * 
    * A streamed result set consists of a stream of values, which might
    * be split into many `PartialResultSet` messages to accommodate
@@ -266,12 +230,11 @@ public java.util.List getValuesList() {
    * repeated .google.protobuf.Value values = 2;
    */
   @java.lang.Override
-  public java.util.List getValuesOrBuilderList() {
+  public java.util.List 
+      getValuesOrBuilderList() {
     return values_;
   }
   /**
-   *
-   *
    * 
    * A streamed result set consists of a stream of values, which might
    * be split into many `PartialResultSet` messages to accommodate
@@ -341,8 +304,6 @@ public int getValuesCount() {
     return values_.size();
   }
   /**
-   *
-   *
    * 
    * A streamed result set consists of a stream of values, which might
    * be split into many `PartialResultSet` messages to accommodate
@@ -412,8 +373,6 @@ public com.google.protobuf.Value getValues(int index) {
     return values_.get(index);
   }
   /**
-   *
-   *
    * 
    * A streamed result set consists of a stream of values, which might
    * be split into many `PartialResultSet` messages to accommodate
@@ -479,15 +438,14 @@ public com.google.protobuf.Value getValues(int index) {
    * repeated .google.protobuf.Value values = 2;
    */
   @java.lang.Override
-  public com.google.protobuf.ValueOrBuilder getValuesOrBuilder(int index) {
+  public com.google.protobuf.ValueOrBuilder getValuesOrBuilder(
+      int index) {
     return values_.get(index);
   }
 
   public static final int CHUNKED_VALUE_FIELD_NUMBER = 3;
   private boolean chunkedValue_ = false;
   /**
-   *
-   *
    * 
    * If true, then the final value in [values][google.spanner.v1.PartialResultSet.values] is chunked, and must
    * be combined with more values from subsequent `PartialResultSet`s
@@ -495,7 +453,6 @@ public com.google.protobuf.ValueOrBuilder getValuesOrBuilder(int index) {
    * 
* * bool chunked_value = 3; - * * @return The chunkedValue. */ @java.lang.Override @@ -506,8 +463,6 @@ public boolean getChunkedValue() { public static final int RESUME_TOKEN_FIELD_NUMBER = 4; private com.google.protobuf.ByteString resumeToken_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
    * Streaming calls might be interrupted for a variety of reasons, such
    * as TCP connection loss. If this occurs, the stream of results can
@@ -517,7 +472,6 @@ public boolean getChunkedValue() {
    * 
* * bytes resume_token = 4; - * * @return The resumeToken. */ @java.lang.Override @@ -528,8 +482,6 @@ public com.google.protobuf.ByteString getResumeToken() { public static final int STATS_FIELD_NUMBER = 5; private com.google.spanner.v1.ResultSetStats stats_; /** - * - * *
    * Query plan and execution statistics for the statement that produced this
    * streaming result set. These can be requested by setting
@@ -540,7 +492,6 @@ public com.google.protobuf.ByteString getResumeToken() {
    * 
* * .google.spanner.v1.ResultSetStats stats = 5; - * * @return Whether the stats field is set. */ @java.lang.Override @@ -548,8 +499,6 @@ public boolean hasStats() { return stats_ != null; } /** - * - * *
    * Query plan and execution statistics for the statement that produced this
    * streaming result set. These can be requested by setting
@@ -560,7 +509,6 @@ public boolean hasStats() {
    * 
* * .google.spanner.v1.ResultSetStats stats = 5; - * * @return The stats. */ @java.lang.Override @@ -568,8 +516,6 @@ public com.google.spanner.v1.ResultSetStats getStats() { return stats_ == null ? com.google.spanner.v1.ResultSetStats.getDefaultInstance() : stats_; } /** - * - * *
    * Query plan and execution statistics for the statement that produced this
    * streaming result set. These can be requested by setting
@@ -587,7 +533,6 @@ public com.google.spanner.v1.ResultSetStatsOrBuilder getStatsOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -599,7 +544,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (metadata_ != null) {
       output.writeMessage(1, getMetadata());
     }
@@ -625,19 +571,24 @@ public int getSerializedSize() {
 
     size = 0;
     if (metadata_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getMetadata());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getMetadata());
     }
     for (int i = 0; i < values_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, values_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, values_.get(i));
     }
     if (chunkedValue_ != false) {
-      size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, chunkedValue_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBoolSize(3, chunkedValue_);
     }
     if (!resumeToken_.isEmpty()) {
-      size += com.google.protobuf.CodedOutputStream.computeBytesSize(4, resumeToken_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBytesSize(4, resumeToken_);
     }
     if (stats_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getStats());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, getStats());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -647,7 +598,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.spanner.v1.PartialResultSet)) {
       return super.equals(obj);
@@ -656,14 +607,19 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasMetadata() != other.hasMetadata()) return false;
     if (hasMetadata()) {
-      if (!getMetadata().equals(other.getMetadata())) return false;
-    }
-    if (!getValuesList().equals(other.getValuesList())) return false;
-    if (getChunkedValue() != other.getChunkedValue()) return false;
-    if (!getResumeToken().equals(other.getResumeToken())) return false;
+      if (!getMetadata()
+          .equals(other.getMetadata())) return false;
+    }
+    if (!getValuesList()
+        .equals(other.getValuesList())) return false;
+    if (getChunkedValue()
+        != other.getChunkedValue()) return false;
+    if (!getResumeToken()
+        .equals(other.getResumeToken())) return false;
     if (hasStats() != other.hasStats()) return false;
     if (hasStats()) {
-      if (!getStats().equals(other.getStats())) return false;
+      if (!getStats()
+          .equals(other.getStats())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -685,7 +641,8 @@ public int hashCode() {
       hash = (53 * hash) + getValuesList().hashCode();
     }
     hash = (37 * hash) + CHUNKED_VALUE_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getChunkedValue());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+        getChunkedValue());
     hash = (37 * hash) + RESUME_TOKEN_FIELD_NUMBER;
     hash = (53 * hash) + getResumeToken().hashCode();
     if (hasStats()) {
@@ -697,104 +654,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.spanner.v1.PartialResultSet parseFrom(java.nio.ByteBuffer data)
+  public static com.google.spanner.v1.PartialResultSet parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.PartialResultSet parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.v1.PartialResultSet parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.PartialResultSet parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.v1.PartialResultSet parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.PartialResultSet parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.v1.PartialResultSet parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.v1.PartialResultSet parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.spanner.v1.PartialResultSet 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.spanner.v1.PartialResultSet parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.spanner.v1.PartialResultSet parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.v1.PartialResultSet parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.spanner.v1.PartialResultSet prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Partial results from a streaming read or SQL query. Streaming reads and
    * SQL queries better tolerate large result sets, large rows, and large
@@ -803,32 +753,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.v1.PartialResultSet}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.v1.PartialResultSet)
       com.google.spanner.v1.PartialResultSetOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.v1.ResultSetProto
-          .internal_static_google_spanner_v1_PartialResultSet_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.v1.ResultSetProto.internal_static_google_spanner_v1_PartialResultSet_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.v1.ResultSetProto
-          .internal_static_google_spanner_v1_PartialResultSet_fieldAccessorTable
+      return com.google.spanner.v1.ResultSetProto.internal_static_google_spanner_v1_PartialResultSet_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.v1.PartialResultSet.class,
-              com.google.spanner.v1.PartialResultSet.Builder.class);
+              com.google.spanner.v1.PartialResultSet.class, com.google.spanner.v1.PartialResultSet.Builder.class);
     }
 
     // Construct using com.google.spanner.v1.PartialResultSet.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -856,9 +807,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.v1.ResultSetProto
-          .internal_static_google_spanner_v1_PartialResultSet_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.v1.ResultSetProto.internal_static_google_spanner_v1_PartialResultSet_descriptor;
     }
 
     @java.lang.Override
@@ -877,12 +828,9 @@ public com.google.spanner.v1.PartialResultSet build() {
 
     @java.lang.Override
     public com.google.spanner.v1.PartialResultSet buildPartial() {
-      com.google.spanner.v1.PartialResultSet result =
-          new com.google.spanner.v1.PartialResultSet(this);
+      com.google.spanner.v1.PartialResultSet result = new com.google.spanner.v1.PartialResultSet(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -902,7 +850,9 @@ private void buildPartialRepeatedFields(com.google.spanner.v1.PartialResultSet r
     private void buildPartial0(com.google.spanner.v1.PartialResultSet result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.metadata_ = metadataBuilder_ == null ? metadata_ : metadataBuilder_.build();
+        result.metadata_ = metadataBuilder_ == null
+            ? metadata_
+            : metadataBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
         result.chunkedValue_ = chunkedValue_;
@@ -911,7 +861,9 @@ private void buildPartial0(com.google.spanner.v1.PartialResultSet result) {
         result.resumeToken_ = resumeToken_;
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.stats_ = statsBuilder_ == null ? stats_ : statsBuilder_.build();
+        result.stats_ = statsBuilder_ == null
+            ? stats_
+            : statsBuilder_.build();
       }
     }
 
@@ -919,39 +871,38 @@ private void buildPartial0(com.google.spanner.v1.PartialResultSet 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.spanner.v1.PartialResultSet) {
-        return mergeFrom((com.google.spanner.v1.PartialResultSet) other);
+        return mergeFrom((com.google.spanner.v1.PartialResultSet)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -981,10 +932,9 @@ public Builder mergeFrom(com.google.spanner.v1.PartialResultSet other) {
             valuesBuilder_ = null;
             values_ = other.values_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            valuesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getValuesFieldBuilder()
-                    : null;
+            valuesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getValuesFieldBuilder() : null;
           } else {
             valuesBuilder_.addAllMessages(other.values_);
           }
@@ -1025,49 +975,49 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getMetadataFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                com.google.protobuf.Value m =
-                    input.readMessage(com.google.protobuf.Value.parser(), extensionRegistry);
-                if (valuesBuilder_ == null) {
-                  ensureValuesIsMutable();
-                  values_.add(m);
-                } else {
-                  valuesBuilder_.addMessage(m);
-                }
-                break;
-              } // case 18
-            case 24:
-              {
-                chunkedValue_ = input.readBool();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 24
-            case 34:
-              {
-                resumeToken_ = input.readBytes();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            case 42:
-              {
-                input.readMessage(getStatsFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 42
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getMetadataFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              com.google.protobuf.Value m =
+                  input.readMessage(
+                      com.google.protobuf.Value.parser(),
+                      extensionRegistry);
+              if (valuesBuilder_ == null) {
+                ensureValuesIsMutable();
+                values_.add(m);
+              } else {
+                valuesBuilder_.addMessage(m);
+              }
+              break;
+            } // case 18
+            case 24: {
+              chunkedValue_ = input.readBool();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 24
+            case 34: {
+              resumeToken_ = input.readBytes();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            case 42: {
+              input.readMessage(
+                  getStatsFieldBuilder().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) {
@@ -1077,54 +1027,40 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.spanner.v1.ResultSetMetadata metadata_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.ResultSetMetadata,
-            com.google.spanner.v1.ResultSetMetadata.Builder,
-            com.google.spanner.v1.ResultSetMetadataOrBuilder>
-        metadataBuilder_;
+        com.google.spanner.v1.ResultSetMetadata, com.google.spanner.v1.ResultSetMetadata.Builder, com.google.spanner.v1.ResultSetMetadataOrBuilder> metadataBuilder_;
     /**
-     *
-     *
      * 
      * Metadata about the result set, such as row type information.
      * Only present in the first response.
      * 
* * .google.spanner.v1.ResultSetMetadata metadata = 1; - * * @return Whether the metadata field is set. */ public boolean hasMetadata() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Metadata about the result set, such as row type information.
      * Only present in the first response.
      * 
* * .google.spanner.v1.ResultSetMetadata metadata = 1; - * * @return The metadata. */ public com.google.spanner.v1.ResultSetMetadata getMetadata() { if (metadataBuilder_ == null) { - return metadata_ == null - ? com.google.spanner.v1.ResultSetMetadata.getDefaultInstance() - : metadata_; + return metadata_ == null ? com.google.spanner.v1.ResultSetMetadata.getDefaultInstance() : metadata_; } else { return metadataBuilder_.getMessage(); } } /** - * - * *
      * Metadata about the result set, such as row type information.
      * Only present in the first response.
@@ -1146,8 +1082,6 @@ public Builder setMetadata(com.google.spanner.v1.ResultSetMetadata value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Metadata about the result set, such as row type information.
      * Only present in the first response.
@@ -1155,7 +1089,8 @@ public Builder setMetadata(com.google.spanner.v1.ResultSetMetadata value) {
      *
      * .google.spanner.v1.ResultSetMetadata metadata = 1;
      */
-    public Builder setMetadata(com.google.spanner.v1.ResultSetMetadata.Builder builderForValue) {
+    public Builder setMetadata(
+        com.google.spanner.v1.ResultSetMetadata.Builder builderForValue) {
       if (metadataBuilder_ == null) {
         metadata_ = builderForValue.build();
       } else {
@@ -1166,8 +1101,6 @@ public Builder setMetadata(com.google.spanner.v1.ResultSetMetadata.Builder build
       return this;
     }
     /**
-     *
-     *
      * 
      * Metadata about the result set, such as row type information.
      * Only present in the first response.
@@ -1177,9 +1110,9 @@ public Builder setMetadata(com.google.spanner.v1.ResultSetMetadata.Builder build
      */
     public Builder mergeMetadata(com.google.spanner.v1.ResultSetMetadata value) {
       if (metadataBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0)
-            && metadata_ != null
-            && metadata_ != com.google.spanner.v1.ResultSetMetadata.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0) &&
+          metadata_ != null &&
+          metadata_ != com.google.spanner.v1.ResultSetMetadata.getDefaultInstance()) {
           getMetadataBuilder().mergeFrom(value);
         } else {
           metadata_ = value;
@@ -1192,8 +1125,6 @@ public Builder mergeMetadata(com.google.spanner.v1.ResultSetMetadata value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Metadata about the result set, such as row type information.
      * Only present in the first response.
@@ -1212,8 +1143,6 @@ public Builder clearMetadata() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Metadata about the result set, such as row type information.
      * Only present in the first response.
@@ -1227,8 +1156,6 @@ public com.google.spanner.v1.ResultSetMetadata.Builder getMetadataBuilder() {
       return getMetadataFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Metadata about the result set, such as row type information.
      * Only present in the first response.
@@ -1240,14 +1167,11 @@ public com.google.spanner.v1.ResultSetMetadataOrBuilder getMetadataOrBuilder() {
       if (metadataBuilder_ != null) {
         return metadataBuilder_.getMessageOrBuilder();
       } else {
-        return metadata_ == null
-            ? com.google.spanner.v1.ResultSetMetadata.getDefaultInstance()
-            : metadata_;
+        return metadata_ == null ?
+            com.google.spanner.v1.ResultSetMetadata.getDefaultInstance() : metadata_;
       }
     }
     /**
-     *
-     *
      * 
      * Metadata about the result set, such as row type information.
      * Only present in the first response.
@@ -1256,40 +1180,32 @@ public com.google.spanner.v1.ResultSetMetadataOrBuilder getMetadataOrBuilder() {
      * .google.spanner.v1.ResultSetMetadata metadata = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.ResultSetMetadata,
-            com.google.spanner.v1.ResultSetMetadata.Builder,
-            com.google.spanner.v1.ResultSetMetadataOrBuilder>
+        com.google.spanner.v1.ResultSetMetadata, com.google.spanner.v1.ResultSetMetadata.Builder, com.google.spanner.v1.ResultSetMetadataOrBuilder> 
         getMetadataFieldBuilder() {
       if (metadataBuilder_ == null) {
-        metadataBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.v1.ResultSetMetadata,
-                com.google.spanner.v1.ResultSetMetadata.Builder,
-                com.google.spanner.v1.ResultSetMetadataOrBuilder>(
-                getMetadata(), getParentForChildren(), isClean());
+        metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.v1.ResultSetMetadata, com.google.spanner.v1.ResultSetMetadata.Builder, com.google.spanner.v1.ResultSetMetadataOrBuilder>(
+                getMetadata(),
+                getParentForChildren(),
+                isClean());
         metadata_ = null;
       }
       return metadataBuilder_;
     }
 
-    private java.util.List values_ = java.util.Collections.emptyList();
-
+    private java.util.List values_ =
+      java.util.Collections.emptyList();
     private void ensureValuesIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
         values_ = new java.util.ArrayList(values_);
         bitField0_ |= 0x00000002;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.protobuf.Value,
-            com.google.protobuf.Value.Builder,
-            com.google.protobuf.ValueOrBuilder>
-        valuesBuilder_;
+        com.google.protobuf.Value, com.google.protobuf.Value.Builder, com.google.protobuf.ValueOrBuilder> valuesBuilder_;
 
     /**
-     *
-     *
      * 
      * A streamed result set consists of a stream of values, which might
      * be split into many `PartialResultSet` messages to accommodate
@@ -1362,8 +1278,6 @@ public java.util.List getValuesList() {
       }
     }
     /**
-     *
-     *
      * 
      * A streamed result set consists of a stream of values, which might
      * be split into many `PartialResultSet` messages to accommodate
@@ -1436,8 +1350,6 @@ public int getValuesCount() {
       }
     }
     /**
-     *
-     *
      * 
      * A streamed result set consists of a stream of values, which might
      * be split into many `PartialResultSet` messages to accommodate
@@ -1510,8 +1422,6 @@ public com.google.protobuf.Value getValues(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * A streamed result set consists of a stream of values, which might
      * be split into many `PartialResultSet` messages to accommodate
@@ -1576,7 +1486,8 @@ public com.google.protobuf.Value getValues(int index) {
      *
      * repeated .google.protobuf.Value values = 2;
      */
-    public Builder setValues(int index, com.google.protobuf.Value value) {
+    public Builder setValues(
+        int index, com.google.protobuf.Value value) {
       if (valuesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1590,8 +1501,6 @@ public Builder setValues(int index, com.google.protobuf.Value value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A streamed result set consists of a stream of values, which might
      * be split into many `PartialResultSet` messages to accommodate
@@ -1656,7 +1565,8 @@ public Builder setValues(int index, com.google.protobuf.Value value) {
      *
      * repeated .google.protobuf.Value values = 2;
      */
-    public Builder setValues(int index, com.google.protobuf.Value.Builder builderForValue) {
+    public Builder setValues(
+        int index, com.google.protobuf.Value.Builder builderForValue) {
       if (valuesBuilder_ == null) {
         ensureValuesIsMutable();
         values_.set(index, builderForValue.build());
@@ -1667,8 +1577,6 @@ public Builder setValues(int index, com.google.protobuf.Value.Builder builderFor
       return this;
     }
     /**
-     *
-     *
      * 
      * A streamed result set consists of a stream of values, which might
      * be split into many `PartialResultSet` messages to accommodate
@@ -1747,8 +1655,6 @@ public Builder addValues(com.google.protobuf.Value value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A streamed result set consists of a stream of values, which might
      * be split into many `PartialResultSet` messages to accommodate
@@ -1813,7 +1719,8 @@ public Builder addValues(com.google.protobuf.Value value) {
      *
      * repeated .google.protobuf.Value values = 2;
      */
-    public Builder addValues(int index, com.google.protobuf.Value value) {
+    public Builder addValues(
+        int index, com.google.protobuf.Value value) {
       if (valuesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1827,8 +1734,6 @@ public Builder addValues(int index, com.google.protobuf.Value value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A streamed result set consists of a stream of values, which might
      * be split into many `PartialResultSet` messages to accommodate
@@ -1893,7 +1798,8 @@ public Builder addValues(int index, com.google.protobuf.Value value) {
      *
      * repeated .google.protobuf.Value values = 2;
      */
-    public Builder addValues(com.google.protobuf.Value.Builder builderForValue) {
+    public Builder addValues(
+        com.google.protobuf.Value.Builder builderForValue) {
       if (valuesBuilder_ == null) {
         ensureValuesIsMutable();
         values_.add(builderForValue.build());
@@ -1904,8 +1810,6 @@ public Builder addValues(com.google.protobuf.Value.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A streamed result set consists of a stream of values, which might
      * be split into many `PartialResultSet` messages to accommodate
@@ -1970,7 +1874,8 @@ public Builder addValues(com.google.protobuf.Value.Builder builderForValue) {
      *
      * repeated .google.protobuf.Value values = 2;
      */
-    public Builder addValues(int index, com.google.protobuf.Value.Builder builderForValue) {
+    public Builder addValues(
+        int index, com.google.protobuf.Value.Builder builderForValue) {
       if (valuesBuilder_ == null) {
         ensureValuesIsMutable();
         values_.add(index, builderForValue.build());
@@ -1981,8 +1886,6 @@ public Builder addValues(int index, com.google.protobuf.Value.Builder builderFor
       return this;
     }
     /**
-     *
-     *
      * 
      * A streamed result set consists of a stream of values, which might
      * be split into many `PartialResultSet` messages to accommodate
@@ -2047,10 +1950,12 @@ public Builder addValues(int index, com.google.protobuf.Value.Builder builderFor
      *
      * repeated .google.protobuf.Value values = 2;
      */
-    public Builder addAllValues(java.lang.Iterable values) {
+    public Builder addAllValues(
+        java.lang.Iterable values) {
       if (valuesBuilder_ == null) {
         ensureValuesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, values_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, values_);
         onChanged();
       } else {
         valuesBuilder_.addAllMessages(values);
@@ -2058,8 +1963,6 @@ public Builder addAllValues(java.lang.Iterable
      * A streamed result set consists of a stream of values, which might
      * be split into many `PartialResultSet` messages to accommodate
@@ -2135,8 +2038,6 @@ public Builder clearValues() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A streamed result set consists of a stream of values, which might
      * be split into many `PartialResultSet` messages to accommodate
@@ -2212,8 +2113,6 @@ public Builder removeValues(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A streamed result set consists of a stream of values, which might
      * be split into many `PartialResultSet` messages to accommodate
@@ -2278,12 +2177,11 @@ public Builder removeValues(int index) {
      *
      * repeated .google.protobuf.Value values = 2;
      */
-    public com.google.protobuf.Value.Builder getValuesBuilder(int index) {
+    public com.google.protobuf.Value.Builder getValuesBuilder(
+        int index) {
       return getValuesFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * A streamed result set consists of a stream of values, which might
      * be split into many `PartialResultSet` messages to accommodate
@@ -2348,16 +2246,14 @@ public com.google.protobuf.Value.Builder getValuesBuilder(int index) {
      *
      * repeated .google.protobuf.Value values = 2;
      */
-    public com.google.protobuf.ValueOrBuilder getValuesOrBuilder(int index) {
+    public com.google.protobuf.ValueOrBuilder getValuesOrBuilder(
+        int index) {
       if (valuesBuilder_ == null) {
-        return values_.get(index);
-      } else {
+        return values_.get(index);  } else {
         return valuesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * A streamed result set consists of a stream of values, which might
      * be split into many `PartialResultSet` messages to accommodate
@@ -2422,7 +2318,8 @@ public com.google.protobuf.ValueOrBuilder getValuesOrBuilder(int index) {
      *
      * repeated .google.protobuf.Value values = 2;
      */
-    public java.util.List getValuesOrBuilderList() {
+    public java.util.List 
+         getValuesOrBuilderList() {
       if (valuesBuilder_ != null) {
         return valuesBuilder_.getMessageOrBuilderList();
       } else {
@@ -2430,8 +2327,6 @@ public java.util.List getValuesOrB
       }
     }
     /**
-     *
-     *
      * 
      * A streamed result set consists of a stream of values, which might
      * be split into many `PartialResultSet` messages to accommodate
@@ -2497,11 +2392,10 @@ public java.util.List getValuesOrB
      * repeated .google.protobuf.Value values = 2;
      */
     public com.google.protobuf.Value.Builder addValuesBuilder() {
-      return getValuesFieldBuilder().addBuilder(com.google.protobuf.Value.getDefaultInstance());
+      return getValuesFieldBuilder().addBuilder(
+          com.google.protobuf.Value.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A streamed result set consists of a stream of values, which might
      * be split into many `PartialResultSet` messages to accommodate
@@ -2566,13 +2460,12 @@ public com.google.protobuf.Value.Builder addValuesBuilder() {
      *
      * repeated .google.protobuf.Value values = 2;
      */
-    public com.google.protobuf.Value.Builder addValuesBuilder(int index) {
-      return getValuesFieldBuilder()
-          .addBuilder(index, com.google.protobuf.Value.getDefaultInstance());
+    public com.google.protobuf.Value.Builder addValuesBuilder(
+        int index) {
+      return getValuesFieldBuilder().addBuilder(
+          index, com.google.protobuf.Value.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A streamed result set consists of a stream of values, which might
      * be split into many `PartialResultSet` messages to accommodate
@@ -2637,31 +2530,27 @@ public com.google.protobuf.Value.Builder addValuesBuilder(int index) {
      *
      * repeated .google.protobuf.Value values = 2;
      */
-    public java.util.List getValuesBuilderList() {
+    public java.util.List 
+         getValuesBuilderList() {
       return getValuesFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.protobuf.Value,
-            com.google.protobuf.Value.Builder,
-            com.google.protobuf.ValueOrBuilder>
+        com.google.protobuf.Value, com.google.protobuf.Value.Builder, com.google.protobuf.ValueOrBuilder> 
         getValuesFieldBuilder() {
       if (valuesBuilder_ == null) {
-        valuesBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.protobuf.Value,
-                com.google.protobuf.Value.Builder,
-                com.google.protobuf.ValueOrBuilder>(
-                values_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
+        valuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.protobuf.Value, com.google.protobuf.Value.Builder, com.google.protobuf.ValueOrBuilder>(
+                values_,
+                ((bitField0_ & 0x00000002) != 0),
+                getParentForChildren(),
+                isClean());
         values_ = null;
       }
       return valuesBuilder_;
     }
 
-    private boolean chunkedValue_;
+    private boolean chunkedValue_ ;
     /**
-     *
-     *
      * 
      * If true, then the final value in [values][google.spanner.v1.PartialResultSet.values] is chunked, and must
      * be combined with more values from subsequent `PartialResultSet`s
@@ -2669,7 +2558,6 @@ public java.util.List getValuesBuilderList()
      * 
* * bool chunked_value = 3; - * * @return The chunkedValue. */ @java.lang.Override @@ -2677,8 +2565,6 @@ public boolean getChunkedValue() { return chunkedValue_; } /** - * - * *
      * If true, then the final value in [values][google.spanner.v1.PartialResultSet.values] is chunked, and must
      * be combined with more values from subsequent `PartialResultSet`s
@@ -2686,20 +2572,17 @@ public boolean getChunkedValue() {
      * 
* * bool chunked_value = 3; - * * @param value The chunkedValue to set. * @return This builder for chaining. */ public Builder setChunkedValue(boolean value) { - + chunkedValue_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * If true, then the final value in [values][google.spanner.v1.PartialResultSet.values] is chunked, and must
      * be combined with more values from subsequent `PartialResultSet`s
@@ -2707,7 +2590,6 @@ public Builder setChunkedValue(boolean value) {
      * 
* * bool chunked_value = 3; - * * @return This builder for chaining. */ public Builder clearChunkedValue() { @@ -2719,8 +2601,6 @@ public Builder clearChunkedValue() { private com.google.protobuf.ByteString resumeToken_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * Streaming calls might be interrupted for a variety of reasons, such
      * as TCP connection loss. If this occurs, the stream of results can
@@ -2730,7 +2610,6 @@ public Builder clearChunkedValue() {
      * 
* * bytes resume_token = 4; - * * @return The resumeToken. */ @java.lang.Override @@ -2738,8 +2617,6 @@ public com.google.protobuf.ByteString getResumeToken() { return resumeToken_; } /** - * - * *
      * Streaming calls might be interrupted for a variety of reasons, such
      * as TCP connection loss. If this occurs, the stream of results can
@@ -2749,22 +2626,17 @@ public com.google.protobuf.ByteString getResumeToken() {
      * 
* * bytes resume_token = 4; - * * @param value The resumeToken to set. * @return This builder for chaining. */ public Builder setResumeToken(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } resumeToken_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Streaming calls might be interrupted for a variety of reasons, such
      * as TCP connection loss. If this occurs, the stream of results can
@@ -2774,7 +2646,6 @@ public Builder setResumeToken(com.google.protobuf.ByteString value) {
      * 
* * bytes resume_token = 4; - * * @return This builder for chaining. */ public Builder clearResumeToken() { @@ -2786,13 +2657,8 @@ public Builder clearResumeToken() { private com.google.spanner.v1.ResultSetStats stats_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.ResultSetStats, - com.google.spanner.v1.ResultSetStats.Builder, - com.google.spanner.v1.ResultSetStatsOrBuilder> - statsBuilder_; + com.google.spanner.v1.ResultSetStats, com.google.spanner.v1.ResultSetStats.Builder, com.google.spanner.v1.ResultSetStatsOrBuilder> statsBuilder_; /** - * - * *
      * Query plan and execution statistics for the statement that produced this
      * streaming result set. These can be requested by setting
@@ -2803,15 +2669,12 @@ public Builder clearResumeToken() {
      * 
* * .google.spanner.v1.ResultSetStats stats = 5; - * * @return Whether the stats field is set. */ public boolean hasStats() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * Query plan and execution statistics for the statement that produced this
      * streaming result set. These can be requested by setting
@@ -2822,7 +2685,6 @@ public boolean hasStats() {
      * 
* * .google.spanner.v1.ResultSetStats stats = 5; - * * @return The stats. */ public com.google.spanner.v1.ResultSetStats getStats() { @@ -2833,8 +2695,6 @@ public com.google.spanner.v1.ResultSetStats getStats() { } } /** - * - * *
      * Query plan and execution statistics for the statement that produced this
      * streaming result set. These can be requested by setting
@@ -2860,8 +2720,6 @@ public Builder setStats(com.google.spanner.v1.ResultSetStats value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Query plan and execution statistics for the statement that produced this
      * streaming result set. These can be requested by setting
@@ -2873,7 +2731,8 @@ public Builder setStats(com.google.spanner.v1.ResultSetStats value) {
      *
      * .google.spanner.v1.ResultSetStats stats = 5;
      */
-    public Builder setStats(com.google.spanner.v1.ResultSetStats.Builder builderForValue) {
+    public Builder setStats(
+        com.google.spanner.v1.ResultSetStats.Builder builderForValue) {
       if (statsBuilder_ == null) {
         stats_ = builderForValue.build();
       } else {
@@ -2884,8 +2743,6 @@ public Builder setStats(com.google.spanner.v1.ResultSetStats.Builder builderForV
       return this;
     }
     /**
-     *
-     *
      * 
      * Query plan and execution statistics for the statement that produced this
      * streaming result set. These can be requested by setting
@@ -2899,9 +2756,9 @@ public Builder setStats(com.google.spanner.v1.ResultSetStats.Builder builderForV
      */
     public Builder mergeStats(com.google.spanner.v1.ResultSetStats value) {
       if (statsBuilder_ == null) {
-        if (((bitField0_ & 0x00000010) != 0)
-            && stats_ != null
-            && stats_ != com.google.spanner.v1.ResultSetStats.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000010) != 0) &&
+          stats_ != null &&
+          stats_ != com.google.spanner.v1.ResultSetStats.getDefaultInstance()) {
           getStatsBuilder().mergeFrom(value);
         } else {
           stats_ = value;
@@ -2914,8 +2771,6 @@ public Builder mergeStats(com.google.spanner.v1.ResultSetStats value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Query plan and execution statistics for the statement that produced this
      * streaming result set. These can be requested by setting
@@ -2938,8 +2793,6 @@ public Builder clearStats() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Query plan and execution statistics for the statement that produced this
      * streaming result set. These can be requested by setting
@@ -2957,8 +2810,6 @@ public com.google.spanner.v1.ResultSetStats.Builder getStatsBuilder() {
       return getStatsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Query plan and execution statistics for the statement that produced this
      * streaming result set. These can be requested by setting
@@ -2974,12 +2825,11 @@ public com.google.spanner.v1.ResultSetStatsOrBuilder getStatsOrBuilder() {
       if (statsBuilder_ != null) {
         return statsBuilder_.getMessageOrBuilder();
       } else {
-        return stats_ == null ? com.google.spanner.v1.ResultSetStats.getDefaultInstance() : stats_;
+        return stats_ == null ?
+            com.google.spanner.v1.ResultSetStats.getDefaultInstance() : stats_;
       }
     }
     /**
-     *
-     *
      * 
      * Query plan and execution statistics for the statement that produced this
      * streaming result set. These can be requested by setting
@@ -2992,24 +2842,21 @@ public com.google.spanner.v1.ResultSetStatsOrBuilder getStatsOrBuilder() {
      * .google.spanner.v1.ResultSetStats stats = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.ResultSetStats,
-            com.google.spanner.v1.ResultSetStats.Builder,
-            com.google.spanner.v1.ResultSetStatsOrBuilder>
+        com.google.spanner.v1.ResultSetStats, com.google.spanner.v1.ResultSetStats.Builder, com.google.spanner.v1.ResultSetStatsOrBuilder> 
         getStatsFieldBuilder() {
       if (statsBuilder_ == null) {
-        statsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.v1.ResultSetStats,
-                com.google.spanner.v1.ResultSetStats.Builder,
-                com.google.spanner.v1.ResultSetStatsOrBuilder>(
-                getStats(), getParentForChildren(), isClean());
+        statsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.v1.ResultSetStats, com.google.spanner.v1.ResultSetStats.Builder, com.google.spanner.v1.ResultSetStatsOrBuilder>(
+                getStats(),
+                getParentForChildren(),
+                isClean());
         stats_ = null;
       }
       return statsBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -3019,12 +2866,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.spanner.v1.PartialResultSet)
   }
 
   // @@protoc_insertion_point(class_scope:google.spanner.v1.PartialResultSet)
   private static final com.google.spanner.v1.PartialResultSet DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.spanner.v1.PartialResultSet();
   }
@@ -3033,27 +2880,27 @@ public static com.google.spanner.v1.PartialResultSet getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public PartialResultSet parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public PartialResultSet parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -3068,4 +2915,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.spanner.v1.PartialResultSet getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartialResultSetOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartialResultSetOrBuilder.java
similarity index 94%
rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartialResultSetOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartialResultSetOrBuilder.java
index 60b851170fa..e342c3d2ae0 100644
--- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartialResultSetOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartialResultSetOrBuilder.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/spanner/v1/result_set.proto
 
 package com.google.spanner.v1;
 
-public interface PartialResultSetOrBuilder
-    extends
+public interface PartialResultSetOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.spanner.v1.PartialResultSet)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Metadata about the result set, such as row type information.
    * Only present in the first response.
    * 
* * .google.spanner.v1.ResultSetMetadata metadata = 1; - * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** - * - * *
    * Metadata about the result set, such as row type information.
    * Only present in the first response.
    * 
* * .google.spanner.v1.ResultSetMetadata metadata = 1; - * * @return The metadata. */ com.google.spanner.v1.ResultSetMetadata getMetadata(); /** - * - * *
    * Metadata about the result set, such as row type information.
    * Only present in the first response.
@@ -62,8 +38,6 @@ public interface PartialResultSetOrBuilder
   com.google.spanner.v1.ResultSetMetadataOrBuilder getMetadataOrBuilder();
 
   /**
-   *
-   *
    * 
    * A streamed result set consists of a stream of values, which might
    * be split into many `PartialResultSet` messages to accommodate
@@ -128,10 +102,9 @@ public interface PartialResultSetOrBuilder
    *
    * repeated .google.protobuf.Value values = 2;
    */
-  java.util.List getValuesList();
+  java.util.List 
+      getValuesList();
   /**
-   *
-   *
    * 
    * A streamed result set consists of a stream of values, which might
    * be split into many `PartialResultSet` messages to accommodate
@@ -198,8 +171,6 @@ public interface PartialResultSetOrBuilder
    */
   com.google.protobuf.Value getValues(int index);
   /**
-   *
-   *
    * 
    * A streamed result set consists of a stream of values, which might
    * be split into many `PartialResultSet` messages to accommodate
@@ -266,8 +237,6 @@ public interface PartialResultSetOrBuilder
    */
   int getValuesCount();
   /**
-   *
-   *
    * 
    * A streamed result set consists of a stream of values, which might
    * be split into many `PartialResultSet` messages to accommodate
@@ -332,10 +301,9 @@ public interface PartialResultSetOrBuilder
    *
    * repeated .google.protobuf.Value values = 2;
    */
-  java.util.List getValuesOrBuilderList();
+  java.util.List 
+      getValuesOrBuilderList();
   /**
-   *
-   *
    * 
    * A streamed result set consists of a stream of values, which might
    * be split into many `PartialResultSet` messages to accommodate
@@ -400,11 +368,10 @@ public interface PartialResultSetOrBuilder
    *
    * repeated .google.protobuf.Value values = 2;
    */
-  com.google.protobuf.ValueOrBuilder getValuesOrBuilder(int index);
+  com.google.protobuf.ValueOrBuilder getValuesOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * If true, then the final value in [values][google.spanner.v1.PartialResultSet.values] is chunked, and must
    * be combined with more values from subsequent `PartialResultSet`s
@@ -412,14 +379,11 @@ public interface PartialResultSetOrBuilder
    * 
* * bool chunked_value = 3; - * * @return The chunkedValue. */ boolean getChunkedValue(); /** - * - * *
    * Streaming calls might be interrupted for a variety of reasons, such
    * as TCP connection loss. If this occurs, the stream of results can
@@ -429,14 +393,11 @@ public interface PartialResultSetOrBuilder
    * 
* * bytes resume_token = 4; - * * @return The resumeToken. */ com.google.protobuf.ByteString getResumeToken(); /** - * - * *
    * Query plan and execution statistics for the statement that produced this
    * streaming result set. These can be requested by setting
@@ -447,13 +408,10 @@ public interface PartialResultSetOrBuilder
    * 
* * .google.spanner.v1.ResultSetStats stats = 5; - * * @return Whether the stats field is set. */ boolean hasStats(); /** - * - * *
    * Query plan and execution statistics for the statement that produced this
    * streaming result set. These can be requested by setting
@@ -464,13 +422,10 @@ public interface PartialResultSetOrBuilder
    * 
* * .google.spanner.v1.ResultSetStats stats = 5; - * * @return The stats. */ com.google.spanner.v1.ResultSetStats getStats(); /** - * - * *
    * Query plan and execution statistics for the statement that produced this
    * streaming result set. These can be requested by setting
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Partition.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Partition.java
similarity index 67%
rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Partition.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Partition.java
index c052325fad6..fae5c6ddac5 100644
--- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Partition.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Partition.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/spanner/v1/spanner.proto
 
 package com.google.spanner.v1;
 
 /**
- *
- *
  * 
  * Information returned for each partition returned in a
  * PartitionResponse.
@@ -28,41 +11,40 @@
  *
  * Protobuf type {@code google.spanner.v1.Partition}
  */
-public final class Partition extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Partition extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.v1.Partition)
     PartitionOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Partition.newBuilder() to construct.
   private Partition(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Partition() {
     partitionToken_ = 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 Partition();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.v1.SpannerProto
-        .internal_static_google_spanner_v1_Partition_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_Partition_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.v1.SpannerProto
-        .internal_static_google_spanner_v1_Partition_fieldAccessorTable
+    return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_Partition_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.spanner.v1.Partition.class, com.google.spanner.v1.Partition.Builder.class);
   }
@@ -70,8 +52,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
   public static final int PARTITION_TOKEN_FIELD_NUMBER = 1;
   private com.google.protobuf.ByteString partitionToken_ = com.google.protobuf.ByteString.EMPTY;
   /**
-   *
-   *
    * 
    * This token can be passed to Read, StreamingRead, ExecuteSql, or
    * ExecuteStreamingSql requests to restrict the results to those identified by
@@ -79,7 +59,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * bytes partition_token = 1; - * * @return The partitionToken. */ @java.lang.Override @@ -88,7 +67,6 @@ public com.google.protobuf.ByteString getPartitionToken() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -100,7 +78,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!partitionToken_.isEmpty()) { output.writeBytes(1, partitionToken_); } @@ -114,7 +93,8 @@ public int getSerializedSize() { size = 0; if (!partitionToken_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, partitionToken_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(1, partitionToken_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -124,14 +104,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.spanner.v1.Partition)) { return super.equals(obj); } com.google.spanner.v1.Partition other = (com.google.spanner.v1.Partition) obj; - if (!getPartitionToken().equals(other.getPartitionToken())) return false; + if (!getPartitionToken() + .equals(other.getPartitionToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -150,103 +131,97 @@ public int hashCode() { return hash; } - public static com.google.spanner.v1.Partition parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.v1.Partition parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.Partition parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.v1.Partition parseFrom(com.google.protobuf.ByteString data) + public static com.google.spanner.v1.Partition parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.Partition parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.Partition parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.Partition parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.Partition parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.Partition parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.Partition 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.spanner.v1.Partition parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.Partition parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.Partition parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.v1.Partition prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 returned for each partition returned in a
    * PartitionResponse.
@@ -254,31 +229,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.v1.Partition}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.v1.Partition)
       com.google.spanner.v1.PartitionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.v1.SpannerProto
-          .internal_static_google_spanner_v1_Partition_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_Partition_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.v1.SpannerProto
-          .internal_static_google_spanner_v1_Partition_fieldAccessorTable
+      return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_Partition_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
               com.google.spanner.v1.Partition.class, com.google.spanner.v1.Partition.Builder.class);
     }
 
     // Construct using com.google.spanner.v1.Partition.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -288,9 +265,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.v1.SpannerProto
-          .internal_static_google_spanner_v1_Partition_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_Partition_descriptor;
     }
 
     @java.lang.Override
@@ -310,9 +287,7 @@ public com.google.spanner.v1.Partition build() {
     @java.lang.Override
     public com.google.spanner.v1.Partition buildPartial() {
       com.google.spanner.v1.Partition result = new com.google.spanner.v1.Partition(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -328,39 +303,38 @@ private void buildPartial0(com.google.spanner.v1.Partition 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.spanner.v1.Partition) {
-        return mergeFrom((com.google.spanner.v1.Partition) other);
+        return mergeFrom((com.google.spanner.v1.Partition)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -398,19 +372,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                partitionToken_ = input.readBytes();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              partitionToken_ = 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) {
@@ -420,13 +392,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.protobuf.ByteString partitionToken_ = com.google.protobuf.ByteString.EMPTY;
     /**
-     *
-     *
      * 
      * This token can be passed to Read, StreamingRead, ExecuteSql, or
      * ExecuteStreamingSql requests to restrict the results to those identified by
@@ -434,7 +403,6 @@ public Builder mergeFrom(
      * 
* * bytes partition_token = 1; - * * @return The partitionToken. */ @java.lang.Override @@ -442,8 +410,6 @@ public com.google.protobuf.ByteString getPartitionToken() { return partitionToken_; } /** - * - * *
      * This token can be passed to Read, StreamingRead, ExecuteSql, or
      * ExecuteStreamingSql requests to restrict the results to those identified by
@@ -451,22 +417,17 @@ public com.google.protobuf.ByteString getPartitionToken() {
      * 
* * bytes partition_token = 1; - * * @param value The partitionToken to set. * @return This builder for chaining. */ public Builder setPartitionToken(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } partitionToken_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * This token can be passed to Read, StreamingRead, ExecuteSql, or
      * ExecuteStreamingSql requests to restrict the results to those identified by
@@ -474,7 +435,6 @@ public Builder setPartitionToken(com.google.protobuf.ByteString value) {
      * 
* * bytes partition_token = 1; - * * @return This builder for chaining. */ public Builder clearPartitionToken() { @@ -483,9 +443,9 @@ public Builder clearPartitionToken() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -495,12 +455,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.v1.Partition) } // @@protoc_insertion_point(class_scope:google.spanner.v1.Partition) private static final com.google.spanner.v1.Partition DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.v1.Partition(); } @@ -509,27 +469,27 @@ public static com.google.spanner.v1.Partition getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Partition parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Partition parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -544,4 +504,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.Partition getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionOptions.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionOptions.java similarity index 70% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionOptions.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionOptions.java index fb704ea89af..67d1883bc51 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionOptions.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionOptions.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/spanner/v1/spanner.proto package com.google.spanner.v1; /** - * - * *
  * Options for a PartitionQueryRequest and
  * PartitionReadRequest.
@@ -28,49 +11,46 @@
  *
  * Protobuf type {@code google.spanner.v1.PartitionOptions}
  */
-public final class PartitionOptions extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class PartitionOptions extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.v1.PartitionOptions)
     PartitionOptionsOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use PartitionOptions.newBuilder() to construct.
   private PartitionOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private PartitionOptions() {}
+  private PartitionOptions() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new PartitionOptions();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.v1.SpannerProto
-        .internal_static_google_spanner_v1_PartitionOptions_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_PartitionOptions_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.v1.SpannerProto
-        .internal_static_google_spanner_v1_PartitionOptions_fieldAccessorTable
+    return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_PartitionOptions_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.v1.PartitionOptions.class,
-            com.google.spanner.v1.PartitionOptions.Builder.class);
+            com.google.spanner.v1.PartitionOptions.class, com.google.spanner.v1.PartitionOptions.Builder.class);
   }
 
   public static final int PARTITION_SIZE_BYTES_FIELD_NUMBER = 1;
   private long partitionSizeBytes_ = 0L;
   /**
-   *
-   *
    * 
    * **Note:** This hint is currently ignored by PartitionQuery and
    * PartitionRead requests.
@@ -80,7 +60,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * int64 partition_size_bytes = 1; - * * @return The partitionSizeBytes. */ @java.lang.Override @@ -91,8 +70,6 @@ public long getPartitionSizeBytes() { public static final int MAX_PARTITIONS_FIELD_NUMBER = 2; private long maxPartitions_ = 0L; /** - * - * *
    * **Note:** This hint is currently ignored by PartitionQuery and
    * PartitionRead requests.
@@ -104,7 +81,6 @@ public long getPartitionSizeBytes() {
    * 
* * int64 max_partitions = 2; - * * @return The maxPartitions. */ @java.lang.Override @@ -113,7 +89,6 @@ public long getMaxPartitions() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -125,7 +100,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (partitionSizeBytes_ != 0L) { output.writeInt64(1, partitionSizeBytes_); } @@ -142,10 +118,12 @@ public int getSerializedSize() { size = 0; if (partitionSizeBytes_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, partitionSizeBytes_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, partitionSizeBytes_); } if (maxPartitions_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, maxPartitions_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(2, maxPartitions_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -155,15 +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.spanner.v1.PartitionOptions)) { return super.equals(obj); } com.google.spanner.v1.PartitionOptions other = (com.google.spanner.v1.PartitionOptions) obj; - if (getPartitionSizeBytes() != other.getPartitionSizeBytes()) return false; - if (getMaxPartitions() != other.getMaxPartitions()) return false; + if (getPartitionSizeBytes() + != other.getPartitionSizeBytes()) return false; + if (getMaxPartitions() + != other.getMaxPartitions()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -176,112 +156,107 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + PARTITION_SIZE_BYTES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getPartitionSizeBytes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getPartitionSizeBytes()); hash = (37 * hash) + MAX_PARTITIONS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getMaxPartitions()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getMaxPartitions()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.spanner.v1.PartitionOptions parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.v1.PartitionOptions parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.PartitionOptions parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.PartitionOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.PartitionOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.PartitionOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.PartitionOptions parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.PartitionOptions parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.PartitionOptions parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.PartitionOptions 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.spanner.v1.PartitionOptions parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.PartitionOptions parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.PartitionOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.v1.PartitionOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Options for a PartitionQueryRequest and
    * PartitionReadRequest.
@@ -289,32 +264,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.v1.PartitionOptions}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.v1.PartitionOptions)
       com.google.spanner.v1.PartitionOptionsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.v1.SpannerProto
-          .internal_static_google_spanner_v1_PartitionOptions_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_PartitionOptions_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.v1.SpannerProto
-          .internal_static_google_spanner_v1_PartitionOptions_fieldAccessorTable
+      return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_PartitionOptions_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.v1.PartitionOptions.class,
-              com.google.spanner.v1.PartitionOptions.Builder.class);
+              com.google.spanner.v1.PartitionOptions.class, com.google.spanner.v1.PartitionOptions.Builder.class);
     }
 
     // Construct using com.google.spanner.v1.PartitionOptions.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -325,9 +301,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.v1.SpannerProto
-          .internal_static_google_spanner_v1_PartitionOptions_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_PartitionOptions_descriptor;
     }
 
     @java.lang.Override
@@ -346,11 +322,8 @@ public com.google.spanner.v1.PartitionOptions build() {
 
     @java.lang.Override
     public com.google.spanner.v1.PartitionOptions buildPartial() {
-      com.google.spanner.v1.PartitionOptions result =
-          new com.google.spanner.v1.PartitionOptions(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.v1.PartitionOptions result = new com.google.spanner.v1.PartitionOptions(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -369,39 +342,38 @@ private void buildPartial0(com.google.spanner.v1.PartitionOptions 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.spanner.v1.PartitionOptions) {
-        return mergeFrom((com.google.spanner.v1.PartitionOptions) other);
+        return mergeFrom((com.google.spanner.v1.PartitionOptions)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -442,25 +414,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                partitionSizeBytes_ = input.readInt64();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 8
-            case 16:
-              {
-                maxPartitions_ = input.readInt64();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 16
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              partitionSizeBytes_ = input.readInt64();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 8
+            case 16: {
+              maxPartitions_ = 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) {
@@ -470,13 +439,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
-    private long partitionSizeBytes_;
+    private long partitionSizeBytes_ ;
     /**
-     *
-     *
      * 
      * **Note:** This hint is currently ignored by PartitionQuery and
      * PartitionRead requests.
@@ -486,7 +452,6 @@ public Builder mergeFrom(
      * 
* * int64 partition_size_bytes = 1; - * * @return The partitionSizeBytes. */ @java.lang.Override @@ -494,8 +459,6 @@ public long getPartitionSizeBytes() { return partitionSizeBytes_; } /** - * - * *
      * **Note:** This hint is currently ignored by PartitionQuery and
      * PartitionRead requests.
@@ -505,20 +468,17 @@ public long getPartitionSizeBytes() {
      * 
* * int64 partition_size_bytes = 1; - * * @param value The partitionSizeBytes to set. * @return This builder for chaining. */ public Builder setPartitionSizeBytes(long value) { - + partitionSizeBytes_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * **Note:** This hint is currently ignored by PartitionQuery and
      * PartitionRead requests.
@@ -528,7 +488,6 @@ public Builder setPartitionSizeBytes(long value) {
      * 
* * int64 partition_size_bytes = 1; - * * @return This builder for chaining. */ public Builder clearPartitionSizeBytes() { @@ -538,10 +497,8 @@ public Builder clearPartitionSizeBytes() { return this; } - private long maxPartitions_; + private long maxPartitions_ ; /** - * - * *
      * **Note:** This hint is currently ignored by PartitionQuery and
      * PartitionRead requests.
@@ -553,7 +510,6 @@ public Builder clearPartitionSizeBytes() {
      * 
* * int64 max_partitions = 2; - * * @return The maxPartitions. */ @java.lang.Override @@ -561,8 +517,6 @@ public long getMaxPartitions() { return maxPartitions_; } /** - * - * *
      * **Note:** This hint is currently ignored by PartitionQuery and
      * PartitionRead requests.
@@ -574,20 +528,17 @@ public long getMaxPartitions() {
      * 
* * int64 max_partitions = 2; - * * @param value The maxPartitions to set. * @return This builder for chaining. */ public Builder setMaxPartitions(long value) { - + maxPartitions_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * **Note:** This hint is currently ignored by PartitionQuery and
      * PartitionRead requests.
@@ -599,7 +550,6 @@ public Builder setMaxPartitions(long value) {
      * 
* * int64 max_partitions = 2; - * * @return This builder for chaining. */ public Builder clearMaxPartitions() { @@ -608,9 +558,9 @@ public Builder clearMaxPartitions() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -620,12 +570,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.v1.PartitionOptions) } // @@protoc_insertion_point(class_scope:google.spanner.v1.PartitionOptions) private static final com.google.spanner.v1.PartitionOptions DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.v1.PartitionOptions(); } @@ -634,27 +584,27 @@ public static com.google.spanner.v1.PartitionOptions getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PartitionOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PartitionOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -669,4 +619,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.PartitionOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionOptionsOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionOptionsOrBuilder.java similarity index 66% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionOptionsOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionOptionsOrBuilder.java index e1461014cb9..b6bf81dfc49 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionOptionsOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionOptionsOrBuilder.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/spanner/v1/spanner.proto package com.google.spanner.v1; -public interface PartitionOptionsOrBuilder - extends +public interface PartitionOptionsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.PartitionOptions) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * **Note:** This hint is currently ignored by PartitionQuery and
    * PartitionRead requests.
@@ -35,14 +17,11 @@ public interface PartitionOptionsOrBuilder
    * 
* * int64 partition_size_bytes = 1; - * * @return The partitionSizeBytes. */ long getPartitionSizeBytes(); /** - * - * *
    * **Note:** This hint is currently ignored by PartitionQuery and
    * PartitionRead requests.
@@ -54,7 +33,6 @@ public interface PartitionOptionsOrBuilder
    * 
* * int64 max_partitions = 2; - * * @return The maxPartitions. */ long getMaxPartitions(); diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionOrBuilder.java new file mode 100644 index 00000000000..ed664f4b1a9 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionOrBuilder.java @@ -0,0 +1,21 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/spanner/v1/spanner.proto + +package com.google.spanner.v1; + +public interface PartitionOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.spanner.v1.Partition) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * This token can be passed to Read, StreamingRead, ExecuteSql, or
+   * ExecuteStreamingSql requests to restrict the results to those identified by
+   * this partition token.
+   * 
+ * + * bytes partition_token = 1; + * @return The partitionToken. + */ + com.google.protobuf.ByteString getPartitionToken(); +} diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionQueryRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionQueryRequest.java similarity index 74% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionQueryRequest.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionQueryRequest.java index bb5809c2692..829f05d0ede 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionQueryRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionQueryRequest.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/spanner/v1/spanner.proto package com.google.spanner.v1; /** - * - * *
  * The request for [PartitionQuery][google.spanner.v1.Spanner.PartitionQuery]
  * 
* * Protobuf type {@code google.spanner.v1.PartitionQueryRequest} */ -public final class PartitionQueryRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PartitionQueryRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.v1.PartitionQueryRequest) PartitionQueryRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PartitionQueryRequest.newBuilder() to construct. private PartitionQueryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PartitionQueryRequest() { session_ = ""; sql_ = ""; @@ -44,56 +26,50 @@ private PartitionQueryRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PartitionQueryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_PartitionQueryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_PartitionQueryRequest_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 internalGetParamTypes(); 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.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_PartitionQueryRequest_fieldAccessorTable + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_PartitionQueryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.PartitionQueryRequest.class, - com.google.spanner.v1.PartitionQueryRequest.Builder.class); + com.google.spanner.v1.PartitionQueryRequest.class, com.google.spanner.v1.PartitionQueryRequest.Builder.class); } public static final int SESSION_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object session_ = ""; /** - * - * *
    * Required. The session used to create the partitions.
    * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The session. */ @java.lang.Override @@ -102,31 +78,29 @@ public java.lang.String getSession() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); session_ = s; return s; } } /** - * - * *
    * Required. The session used to create the partitions.
    * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for session. */ @java.lang.Override - public com.google.protobuf.ByteString getSessionBytes() { + public com.google.protobuf.ByteString + getSessionBytes() { java.lang.Object ref = session_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); session_ = b; return b; } else { @@ -137,15 +111,12 @@ public com.google.protobuf.ByteString getSessionBytes() { public static final int TRANSACTION_FIELD_NUMBER = 2; private com.google.spanner.v1.TransactionSelector transaction_; /** - * - * *
    * Read only snapshot transactions are supported, read/write and single use
    * transactions are not.
    * 
* * .google.spanner.v1.TransactionSelector transaction = 2; - * * @return Whether the transaction field is set. */ @java.lang.Override @@ -153,26 +124,19 @@ public boolean hasTransaction() { return transaction_ != null; } /** - * - * *
    * Read only snapshot transactions are supported, read/write and single use
    * transactions are not.
    * 
* * .google.spanner.v1.TransactionSelector transaction = 2; - * * @return The transaction. */ @java.lang.Override public com.google.spanner.v1.TransactionSelector getTransaction() { - return transaction_ == null - ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() - : transaction_; + return transaction_ == null ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() : transaction_; } /** - * - * *
    * Read only snapshot transactions are supported, read/write and single use
    * transactions are not.
@@ -182,18 +146,13 @@ public com.google.spanner.v1.TransactionSelector getTransaction() {
    */
   @java.lang.Override
   public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilder() {
-    return transaction_ == null
-        ? com.google.spanner.v1.TransactionSelector.getDefaultInstance()
-        : transaction_;
+    return transaction_ == null ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() : transaction_;
   }
 
   public static final int SQL_FIELD_NUMBER = 3;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object sql_ = "";
   /**
-   *
-   *
    * 
    * Required. The query request to generate partitions for. The request will fail if
    * the query is not root partitionable. The query plan of a root
@@ -207,7 +166,6 @@ public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilde
    * 
* * string sql = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The sql. */ @java.lang.Override @@ -216,15 +174,14 @@ public java.lang.String getSql() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sql_ = s; return s; } } /** - * - * *
    * Required. The query request to generate partitions for. The request will fail if
    * the query is not root partitionable. The query plan of a root
@@ -238,15 +195,16 @@ public java.lang.String getSql() {
    * 
* * string sql = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for sql. */ @java.lang.Override - public com.google.protobuf.ByteString getSqlBytes() { + public com.google.protobuf.ByteString + getSqlBytes() { java.lang.Object ref = sql_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sql_ = b; return b; } else { @@ -257,8 +215,6 @@ public com.google.protobuf.ByteString getSqlBytes() { public static final int PARAMS_FIELD_NUMBER = 4; private com.google.protobuf.Struct params_; /** - * - * *
    * Parameter names and values that bind to placeholders in the SQL string.
    * A parameter placeholder consists of the `@` character followed by the
@@ -271,7 +227,6 @@ public com.google.protobuf.ByteString getSqlBytes() {
    * 
* * .google.protobuf.Struct params = 4; - * * @return Whether the params field is set. */ @java.lang.Override @@ -279,8 +234,6 @@ public boolean hasParams() { return params_ != null; } /** - * - * *
    * Parameter names and values that bind to placeholders in the SQL string.
    * A parameter placeholder consists of the `@` character followed by the
@@ -293,7 +246,6 @@ public boolean hasParams() {
    * 
* * .google.protobuf.Struct params = 4; - * * @return The params. */ @java.lang.Override @@ -301,8 +253,6 @@ public com.google.protobuf.Struct getParams() { return params_ == null ? com.google.protobuf.Struct.getDefaultInstance() : params_; } /** - * - * *
    * Parameter names and values that bind to placeholders in the SQL string.
    * A parameter placeholder consists of the `@` character followed by the
@@ -322,37 +272,32 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
   }
 
   public static final int PARAM_TYPES_FIELD_NUMBER = 5;
-
   private static final class ParamTypesDefaultEntryHolder {
-    static final com.google.protobuf.MapEntry
-        defaultEntry =
+    static final com.google.protobuf.MapEntry<
+        java.lang.String, com.google.spanner.v1.Type> defaultEntry =
             com.google.protobuf.MapEntry
-                .newDefaultInstance(
-                    com.google.spanner.v1.SpannerProto
-                        .internal_static_google_spanner_v1_PartitionQueryRequest_ParamTypesEntry_descriptor,
-                    com.google.protobuf.WireFormat.FieldType.STRING,
-                    "",
-                    com.google.protobuf.WireFormat.FieldType.MESSAGE,
-                    com.google.spanner.v1.Type.getDefaultInstance());
+            .newDefaultInstance(
+                com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_PartitionQueryRequest_ParamTypesEntry_descriptor, 
+                com.google.protobuf.WireFormat.FieldType.STRING,
+                "",
+                com.google.protobuf.WireFormat.FieldType.MESSAGE,
+                com.google.spanner.v1.Type.getDefaultInstance());
   }
-
   @SuppressWarnings("serial")
-  private com.google.protobuf.MapField paramTypes_;
-
+  private com.google.protobuf.MapField<
+      java.lang.String, com.google.spanner.v1.Type> paramTypes_;
   private com.google.protobuf.MapField
-      internalGetParamTypes() {
+  internalGetParamTypes() {
     if (paramTypes_ == null) {
-      return com.google.protobuf.MapField.emptyMapField(ParamTypesDefaultEntryHolder.defaultEntry);
+      return com.google.protobuf.MapField.emptyMapField(
+          ParamTypesDefaultEntryHolder.defaultEntry);
     }
     return paramTypes_;
   }
-
   public int getParamTypesCount() {
     return internalGetParamTypes().getMap().size();
   }
   /**
-   *
-   *
    * 
    * It is not always possible for Cloud Spanner to infer the right SQL type
    * from a JSON value.  For example, values of type `BYTES` and values
@@ -366,21 +311,20 @@ public int getParamTypesCount() {
    * map<string, .google.spanner.v1.Type> param_types = 5;
    */
   @java.lang.Override
-  public boolean containsParamTypes(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsParamTypes(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetParamTypes().getMap().containsKey(key);
   }
-  /** Use {@link #getParamTypesMap()} instead. */
+  /**
+   * Use {@link #getParamTypesMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getParamTypes() {
     return getParamTypesMap();
   }
   /**
-   *
-   *
    * 
    * It is not always possible for Cloud Spanner to infer the right SQL type
    * from a JSON value.  For example, values of type `BYTES` and values
@@ -398,8 +342,6 @@ public java.util.Map getParamTypes
     return internalGetParamTypes().getMap();
   }
   /**
-   *
-   *
    * 
    * It is not always possible for Cloud Spanner to infer the right SQL type
    * from a JSON value.  For example, values of type `BYTES` and values
@@ -413,20 +355,17 @@ public java.util.Map getParamTypes
    * map<string, .google.spanner.v1.Type> param_types = 5;
    */
   @java.lang.Override
-  public /* nullable */ com.google.spanner.v1.Type getParamTypesOrDefault(
+  public /* nullable */
+com.google.spanner.v1.Type getParamTypesOrDefault(
       java.lang.String key,
       /* nullable */
-      com.google.spanner.v1.Type defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+com.google.spanner.v1.Type defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
     java.util.Map map =
         internalGetParamTypes().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * It is not always possible for Cloud Spanner to infer the right SQL type
    * from a JSON value.  For example, values of type `BYTES` and values
@@ -440,10 +379,9 @@ public java.util.Map getParamTypes
    * map<string, .google.spanner.v1.Type> param_types = 5;
    */
   @java.lang.Override
-  public com.google.spanner.v1.Type getParamTypesOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public com.google.spanner.v1.Type getParamTypesOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     java.util.Map map =
         internalGetParamTypes().getMap();
     if (!map.containsKey(key)) {
@@ -455,14 +393,11 @@ public com.google.spanner.v1.Type getParamTypesOrThrow(java.lang.String key) {
   public static final int PARTITION_OPTIONS_FIELD_NUMBER = 6;
   private com.google.spanner.v1.PartitionOptions partitionOptions_;
   /**
-   *
-   *
    * 
    * Additional options that affect how many partitions are created.
    * 
* * .google.spanner.v1.PartitionOptions partition_options = 6; - * * @return Whether the partitionOptions field is set. */ @java.lang.Override @@ -470,25 +405,18 @@ public boolean hasPartitionOptions() { return partitionOptions_ != null; } /** - * - * *
    * Additional options that affect how many partitions are created.
    * 
* * .google.spanner.v1.PartitionOptions partition_options = 6; - * * @return The partitionOptions. */ @java.lang.Override public com.google.spanner.v1.PartitionOptions getPartitionOptions() { - return partitionOptions_ == null - ? com.google.spanner.v1.PartitionOptions.getDefaultInstance() - : partitionOptions_; + return partitionOptions_ == null ? com.google.spanner.v1.PartitionOptions.getDefaultInstance() : partitionOptions_; } /** - * - * *
    * Additional options that affect how many partitions are created.
    * 
@@ -497,13 +425,10 @@ public com.google.spanner.v1.PartitionOptions getPartitionOptions() { */ @java.lang.Override public com.google.spanner.v1.PartitionOptionsOrBuilder getPartitionOptionsOrBuilder() { - return partitionOptions_ == null - ? com.google.spanner.v1.PartitionOptions.getDefaultInstance() - : partitionOptions_; + return partitionOptions_ == null ? com.google.spanner.v1.PartitionOptions.getDefaultInstance() : partitionOptions_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -515,7 +440,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(session_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, session_); } @@ -528,8 +454,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (params_ != null) { output.writeMessage(4, getParams()); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetParamTypes(), ParamTypesDefaultEntryHolder.defaultEntry, 5); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetParamTypes(), + ParamTypesDefaultEntryHolder.defaultEntry, + 5); if (partitionOptions_ != null) { output.writeMessage(6, getPartitionOptions()); } @@ -546,26 +476,29 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, session_); } if (transaction_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTransaction()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTransaction()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sql_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, sql_); } if (params_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getParams()); - } - for (java.util.Map.Entry entry : - internalGetParamTypes().getMap().entrySet()) { - com.google.protobuf.MapEntry paramTypes__ = - ParamTypesDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, paramTypes__); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getParams()); + } + for (java.util.Map.Entry entry + : internalGetParamTypes().getMap().entrySet()) { + com.google.protobuf.MapEntry + paramTypes__ = ParamTypesDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, paramTypes__); } if (partitionOptions_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getPartitionOptions()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getPartitionOptions()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -575,28 +508,33 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.v1.PartitionQueryRequest)) { return super.equals(obj); } - com.google.spanner.v1.PartitionQueryRequest other = - (com.google.spanner.v1.PartitionQueryRequest) obj; + com.google.spanner.v1.PartitionQueryRequest other = (com.google.spanner.v1.PartitionQueryRequest) obj; - if (!getSession().equals(other.getSession())) return false; + if (!getSession() + .equals(other.getSession())) return false; if (hasTransaction() != other.hasTransaction()) return false; if (hasTransaction()) { - if (!getTransaction().equals(other.getTransaction())) return false; + if (!getTransaction() + .equals(other.getTransaction())) return false; } - if (!getSql().equals(other.getSql())) return false; + if (!getSql() + .equals(other.getSql())) return false; if (hasParams() != other.hasParams()) return false; if (hasParams()) { - if (!getParams().equals(other.getParams())) return false; + if (!getParams() + .equals(other.getParams())) return false; } - if (!internalGetParamTypes().equals(other.internalGetParamTypes())) return false; + if (!internalGetParamTypes().equals( + other.internalGetParamTypes())) return false; if (hasPartitionOptions() != other.hasPartitionOptions()) return false; if (hasPartitionOptions()) { - if (!getPartitionOptions().equals(other.getPartitionOptions())) return false; + if (!getPartitionOptions() + .equals(other.getPartitionOptions())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -634,156 +572,152 @@ public int hashCode() { return hash; } - public static com.google.spanner.v1.PartitionQueryRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.v1.PartitionQueryRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.PartitionQueryRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.PartitionQueryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.PartitionQueryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.PartitionQueryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.PartitionQueryRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.PartitionQueryRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.PartitionQueryRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.spanner.v1.PartitionQueryRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.v1.PartitionQueryRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.v1.PartitionQueryRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.PartitionQueryRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.PartitionQueryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.v1.PartitionQueryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [PartitionQuery][google.spanner.v1.Spanner.PartitionQuery]
    * 
* * Protobuf type {@code google.spanner.v1.PartitionQueryRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.PartitionQueryRequest) com.google.spanner.v1.PartitionQueryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_PartitionQueryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_PartitionQueryRequest_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 5: return internalGetParamTypes(); 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 internalGetMutableParamTypes(); 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.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_PartitionQueryRequest_fieldAccessorTable + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_PartitionQueryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.PartitionQueryRequest.class, - com.google.spanner.v1.PartitionQueryRequest.Builder.class); + com.google.spanner.v1.PartitionQueryRequest.class, com.google.spanner.v1.PartitionQueryRequest.Builder.class); } // Construct using com.google.spanner.v1.PartitionQueryRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -810,9 +744,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_PartitionQueryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_PartitionQueryRequest_descriptor; } @java.lang.Override @@ -831,11 +765,8 @@ public com.google.spanner.v1.PartitionQueryRequest build() { @java.lang.Override public com.google.spanner.v1.PartitionQueryRequest buildPartial() { - com.google.spanner.v1.PartitionQueryRequest result = - new com.google.spanner.v1.PartitionQueryRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.v1.PartitionQueryRequest result = new com.google.spanner.v1.PartitionQueryRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -846,22 +777,26 @@ private void buildPartial0(com.google.spanner.v1.PartitionQueryRequest result) { result.session_ = session_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.transaction_ = - transactionBuilder_ == null ? transaction_ : transactionBuilder_.build(); + result.transaction_ = transactionBuilder_ == null + ? transaction_ + : transactionBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.sql_ = sql_; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.params_ = paramsBuilder_ == null ? params_ : paramsBuilder_.build(); + result.params_ = paramsBuilder_ == null + ? params_ + : paramsBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { result.paramTypes_ = internalGetParamTypes(); result.paramTypes_.makeImmutable(); } if (((from_bitField0_ & 0x00000020) != 0)) { - result.partitionOptions_ = - partitionOptionsBuilder_ == null ? partitionOptions_ : partitionOptionsBuilder_.build(); + result.partitionOptions_ = partitionOptionsBuilder_ == null + ? partitionOptions_ + : partitionOptionsBuilder_.build(); } } @@ -869,39 +804,38 @@ private void buildPartial0(com.google.spanner.v1.PartitionQueryRequest 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.spanner.v1.PartitionQueryRequest) { - return mergeFrom((com.google.spanner.v1.PartitionQueryRequest) other); + return mergeFrom((com.google.spanner.v1.PartitionQueryRequest)other); } else { super.mergeFrom(other); return this; @@ -926,7 +860,8 @@ public Builder mergeFrom(com.google.spanner.v1.PartitionQueryRequest other) { if (other.hasParams()) { mergeParams(other.getParams()); } - internalGetMutableParamTypes().mergeFrom(other.internalGetParamTypes()); + internalGetMutableParamTypes().mergeFrom( + other.internalGetParamTypes()); bitField0_ |= 0x00000010; if (other.hasPartitionOptions()) { mergePartitionOptions(other.getPartitionOptions()); @@ -957,57 +892,52 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - session_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getTransactionFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - sql_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - input.readMessage(getParamsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - com.google.protobuf.MapEntry - paramTypes__ = - input.readMessage( - ParamTypesDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableParamTypes() - .getMutableMap() - .put(paramTypes__.getKey(), paramTypes__.getValue()); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: - { - input.readMessage( - getPartitionOptionsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 50 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + session_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getTransactionFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + sql_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + input.readMessage( + getParamsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + com.google.protobuf.MapEntry + paramTypes__ = input.readMessage( + ParamTypesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableParamTypes().getMutableMap().put( + paramTypes__.getKey(), paramTypes__.getValue()); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + input.readMessage( + getPartitionOptionsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000020; + 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) { @@ -1017,27 +947,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object session_ = ""; /** - * - * *
      * Required. The session used to create the partitions.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The session. */ public java.lang.String getSession() { java.lang.Object ref = session_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); session_ = s; return s; @@ -1046,23 +971,20 @@ public java.lang.String getSession() { } } /** - * - * *
      * Required. The session used to create the partitions.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for session. */ - public com.google.protobuf.ByteString getSessionBytes() { + public com.google.protobuf.ByteString + getSessionBytes() { java.lang.Object ref = session_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); session_ = b; return b; } else { @@ -1070,39 +992,28 @@ public com.google.protobuf.ByteString getSessionBytes() { } } /** - * - * *
      * Required. The session used to create the partitions.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The session to set. * @return This builder for chaining. */ - public Builder setSession(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSession( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } session_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The session used to create the partitions.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearSession() { @@ -1112,23 +1023,17 @@ public Builder clearSession() { return this; } /** - * - * *
      * Required. The session used to create the partitions.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for session to set. * @return This builder for chaining. */ - public Builder setSessionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSessionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); session_ = value; bitField0_ |= 0x00000001; @@ -1138,49 +1043,36 @@ public Builder setSessionBytes(com.google.protobuf.ByteString value) { private com.google.spanner.v1.TransactionSelector transaction_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.TransactionSelector, - com.google.spanner.v1.TransactionSelector.Builder, - com.google.spanner.v1.TransactionSelectorOrBuilder> - transactionBuilder_; + com.google.spanner.v1.TransactionSelector, com.google.spanner.v1.TransactionSelector.Builder, com.google.spanner.v1.TransactionSelectorOrBuilder> transactionBuilder_; /** - * - * *
      * Read only snapshot transactions are supported, read/write and single use
      * transactions are not.
      * 
* * .google.spanner.v1.TransactionSelector transaction = 2; - * * @return Whether the transaction field is set. */ public boolean hasTransaction() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Read only snapshot transactions are supported, read/write and single use
      * transactions are not.
      * 
* * .google.spanner.v1.TransactionSelector transaction = 2; - * * @return The transaction. */ public com.google.spanner.v1.TransactionSelector getTransaction() { if (transactionBuilder_ == null) { - return transaction_ == null - ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() - : transaction_; + return transaction_ == null ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() : transaction_; } else { return transactionBuilder_.getMessage(); } } /** - * - * *
      * Read only snapshot transactions are supported, read/write and single use
      * transactions are not.
@@ -1202,8 +1094,6 @@ public Builder setTransaction(com.google.spanner.v1.TransactionSelector value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Read only snapshot transactions are supported, read/write and single use
      * transactions are not.
@@ -1223,8 +1113,6 @@ public Builder setTransaction(
       return this;
     }
     /**
-     *
-     *
      * 
      * Read only snapshot transactions are supported, read/write and single use
      * transactions are not.
@@ -1234,9 +1122,9 @@ public Builder setTransaction(
      */
     public Builder mergeTransaction(com.google.spanner.v1.TransactionSelector value) {
       if (transactionBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && transaction_ != null
-            && transaction_ != com.google.spanner.v1.TransactionSelector.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          transaction_ != null &&
+          transaction_ != com.google.spanner.v1.TransactionSelector.getDefaultInstance()) {
           getTransactionBuilder().mergeFrom(value);
         } else {
           transaction_ = value;
@@ -1249,8 +1137,6 @@ public Builder mergeTransaction(com.google.spanner.v1.TransactionSelector value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Read only snapshot transactions are supported, read/write and single use
      * transactions are not.
@@ -1269,8 +1155,6 @@ public Builder clearTransaction() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Read only snapshot transactions are supported, read/write and single use
      * transactions are not.
@@ -1284,8 +1168,6 @@ public com.google.spanner.v1.TransactionSelector.Builder getTransactionBuilder()
       return getTransactionFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Read only snapshot transactions are supported, read/write and single use
      * transactions are not.
@@ -1297,14 +1179,11 @@ public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilde
       if (transactionBuilder_ != null) {
         return transactionBuilder_.getMessageOrBuilder();
       } else {
-        return transaction_ == null
-            ? com.google.spanner.v1.TransactionSelector.getDefaultInstance()
-            : transaction_;
+        return transaction_ == null ?
+            com.google.spanner.v1.TransactionSelector.getDefaultInstance() : transaction_;
       }
     }
     /**
-     *
-     *
      * 
      * Read only snapshot transactions are supported, read/write and single use
      * transactions are not.
@@ -1313,17 +1192,14 @@ public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilde
      * .google.spanner.v1.TransactionSelector transaction = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.TransactionSelector,
-            com.google.spanner.v1.TransactionSelector.Builder,
-            com.google.spanner.v1.TransactionSelectorOrBuilder>
+        com.google.spanner.v1.TransactionSelector, com.google.spanner.v1.TransactionSelector.Builder, com.google.spanner.v1.TransactionSelectorOrBuilder> 
         getTransactionFieldBuilder() {
       if (transactionBuilder_ == null) {
-        transactionBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.v1.TransactionSelector,
-                com.google.spanner.v1.TransactionSelector.Builder,
-                com.google.spanner.v1.TransactionSelectorOrBuilder>(
-                getTransaction(), getParentForChildren(), isClean());
+        transactionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.v1.TransactionSelector, com.google.spanner.v1.TransactionSelector.Builder, com.google.spanner.v1.TransactionSelectorOrBuilder>(
+                getTransaction(),
+                getParentForChildren(),
+                isClean());
         transaction_ = null;
       }
       return transactionBuilder_;
@@ -1331,8 +1207,6 @@ public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilde
 
     private java.lang.Object sql_ = "";
     /**
-     *
-     *
      * 
      * Required. The query request to generate partitions for. The request will fail if
      * the query is not root partitionable. The query plan of a root
@@ -1346,13 +1220,13 @@ public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilde
      * 
* * string sql = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The sql. */ public java.lang.String getSql() { java.lang.Object ref = sql_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sql_ = s; return s; @@ -1361,8 +1235,6 @@ public java.lang.String getSql() { } } /** - * - * *
      * Required. The query request to generate partitions for. The request will fail if
      * the query is not root partitionable. The query plan of a root
@@ -1376,14 +1248,15 @@ public java.lang.String getSql() {
      * 
* * string sql = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for sql. */ - public com.google.protobuf.ByteString getSqlBytes() { + public com.google.protobuf.ByteString + getSqlBytes() { java.lang.Object ref = sql_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sql_ = b; return b; } else { @@ -1391,8 +1264,6 @@ public com.google.protobuf.ByteString getSqlBytes() { } } /** - * - * *
      * Required. The query request to generate partitions for. The request will fail if
      * the query is not root partitionable. The query plan of a root
@@ -1406,22 +1277,18 @@ public com.google.protobuf.ByteString getSqlBytes() {
      * 
* * string sql = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The sql to set. * @return This builder for chaining. */ - public Builder setSql(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSql( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } sql_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Required. The query request to generate partitions for. The request will fail if
      * the query is not root partitionable. The query plan of a root
@@ -1435,7 +1302,6 @@ public Builder setSql(java.lang.String value) {
      * 
* * string sql = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearSql() { @@ -1445,8 +1311,6 @@ public Builder clearSql() { return this; } /** - * - * *
      * Required. The query request to generate partitions for. The request will fail if
      * the query is not root partitionable. The query plan of a root
@@ -1460,14 +1324,12 @@ public Builder clearSql() {
      * 
* * string sql = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for sql to set. * @return This builder for chaining. */ - public Builder setSqlBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSqlBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sql_ = value; bitField0_ |= 0x00000004; @@ -1477,13 +1339,8 @@ public Builder setSqlBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Struct params_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, - com.google.protobuf.Struct.Builder, - com.google.protobuf.StructOrBuilder> - paramsBuilder_; + com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> paramsBuilder_; /** - * - * *
      * Parameter names and values that bind to placeholders in the SQL string.
      * A parameter placeholder consists of the `@` character followed by the
@@ -1496,15 +1353,12 @@ public Builder setSqlBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.protobuf.Struct params = 4; - * * @return Whether the params field is set. */ public boolean hasParams() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Parameter names and values that bind to placeholders in the SQL string.
      * A parameter placeholder consists of the `@` character followed by the
@@ -1517,7 +1371,6 @@ public boolean hasParams() {
      * 
* * .google.protobuf.Struct params = 4; - * * @return The params. */ public com.google.protobuf.Struct getParams() { @@ -1528,8 +1381,6 @@ public com.google.protobuf.Struct getParams() { } } /** - * - * *
      * Parameter names and values that bind to placeholders in the SQL string.
      * A parameter placeholder consists of the `@` character followed by the
@@ -1557,8 +1408,6 @@ public Builder setParams(com.google.protobuf.Struct value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Parameter names and values that bind to placeholders in the SQL string.
      * A parameter placeholder consists of the `@` character followed by the
@@ -1572,7 +1421,8 @@ public Builder setParams(com.google.protobuf.Struct value) {
      *
      * .google.protobuf.Struct params = 4;
      */
-    public Builder setParams(com.google.protobuf.Struct.Builder builderForValue) {
+    public Builder setParams(
+        com.google.protobuf.Struct.Builder builderForValue) {
       if (paramsBuilder_ == null) {
         params_ = builderForValue.build();
       } else {
@@ -1583,8 +1433,6 @@ public Builder setParams(com.google.protobuf.Struct.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Parameter names and values that bind to placeholders in the SQL string.
      * A parameter placeholder consists of the `@` character followed by the
@@ -1600,9 +1448,9 @@ public Builder setParams(com.google.protobuf.Struct.Builder builderForValue) {
      */
     public Builder mergeParams(com.google.protobuf.Struct value) {
       if (paramsBuilder_ == null) {
-        if (((bitField0_ & 0x00000008) != 0)
-            && params_ != null
-            && params_ != com.google.protobuf.Struct.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0) &&
+          params_ != null &&
+          params_ != com.google.protobuf.Struct.getDefaultInstance()) {
           getParamsBuilder().mergeFrom(value);
         } else {
           params_ = value;
@@ -1615,8 +1463,6 @@ public Builder mergeParams(com.google.protobuf.Struct value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Parameter names and values that bind to placeholders in the SQL string.
      * A parameter placeholder consists of the `@` character followed by the
@@ -1641,8 +1487,6 @@ public Builder clearParams() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Parameter names and values that bind to placeholders in the SQL string.
      * A parameter placeholder consists of the `@` character followed by the
@@ -1662,8 +1506,6 @@ public com.google.protobuf.Struct.Builder getParamsBuilder() {
       return getParamsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Parameter names and values that bind to placeholders in the SQL string.
      * A parameter placeholder consists of the `@` character followed by the
@@ -1681,12 +1523,11 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
       if (paramsBuilder_ != null) {
         return paramsBuilder_.getMessageOrBuilder();
       } else {
-        return params_ == null ? com.google.protobuf.Struct.getDefaultInstance() : params_;
+        return params_ == null ?
+            com.google.protobuf.Struct.getDefaultInstance() : params_;
       }
     }
     /**
-     *
-     *
      * 
      * Parameter names and values that bind to placeholders in the SQL string.
      * A parameter placeholder consists of the `@` character followed by the
@@ -1701,24 +1542,21 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
      * .google.protobuf.Struct params = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Struct,
-            com.google.protobuf.Struct.Builder,
-            com.google.protobuf.StructOrBuilder>
+        com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> 
         getParamsFieldBuilder() {
       if (paramsBuilder_ == null) {
-        paramsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Struct,
-                com.google.protobuf.Struct.Builder,
-                com.google.protobuf.StructOrBuilder>(
-                getParams(), getParentForChildren(), isClean());
+        paramsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>(
+                getParams(),
+                getParentForChildren(),
+                isClean());
         params_ = null;
       }
       return paramsBuilder_;
     }
 
-    private com.google.protobuf.MapField paramTypes_;
-
+    private com.google.protobuf.MapField<
+        java.lang.String, com.google.spanner.v1.Type> paramTypes_;
     private com.google.protobuf.MapField
         internalGetParamTypes() {
       if (paramTypes_ == null) {
@@ -1727,12 +1565,11 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
       }
       return paramTypes_;
     }
-
     private com.google.protobuf.MapField
         internalGetMutableParamTypes() {
       if (paramTypes_ == null) {
-        paramTypes_ =
-            com.google.protobuf.MapField.newMapField(ParamTypesDefaultEntryHolder.defaultEntry);
+        paramTypes_ = com.google.protobuf.MapField.newMapField(
+            ParamTypesDefaultEntryHolder.defaultEntry);
       }
       if (!paramTypes_.isMutable()) {
         paramTypes_ = paramTypes_.copy();
@@ -1741,13 +1578,10 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
       onChanged();
       return paramTypes_;
     }
-
     public int getParamTypesCount() {
       return internalGetParamTypes().getMap().size();
     }
     /**
-     *
-     *
      * 
      * It is not always possible for Cloud Spanner to infer the right SQL type
      * from a JSON value.  For example, values of type `BYTES` and values
@@ -1761,21 +1595,20 @@ public int getParamTypesCount() {
      * map<string, .google.spanner.v1.Type> param_types = 5;
      */
     @java.lang.Override
-    public boolean containsParamTypes(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsParamTypes(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetParamTypes().getMap().containsKey(key);
     }
-    /** Use {@link #getParamTypesMap()} instead. */
+    /**
+     * Use {@link #getParamTypesMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getParamTypes() {
       return getParamTypesMap();
     }
     /**
-     *
-     *
      * 
      * It is not always possible for Cloud Spanner to infer the right SQL type
      * from a JSON value.  For example, values of type `BYTES` and values
@@ -1793,8 +1626,6 @@ public java.util.Map getParamTypes
       return internalGetParamTypes().getMap();
     }
     /**
-     *
-     *
      * 
      * It is not always possible for Cloud Spanner to infer the right SQL type
      * from a JSON value.  For example, values of type `BYTES` and values
@@ -1808,20 +1639,17 @@ public java.util.Map getParamTypes
      * map<string, .google.spanner.v1.Type> param_types = 5;
      */
     @java.lang.Override
-    public /* nullable */ com.google.spanner.v1.Type getParamTypesOrDefault(
+    public /* nullable */
+com.google.spanner.v1.Type getParamTypesOrDefault(
         java.lang.String key,
         /* nullable */
-        com.google.spanner.v1.Type defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+com.google.spanner.v1.Type defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
       java.util.Map map =
           internalGetParamTypes().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * It is not always possible for Cloud Spanner to infer the right SQL type
      * from a JSON value.  For example, values of type `BYTES` and values
@@ -1835,10 +1663,9 @@ public java.util.Map getParamTypes
      * map<string, .google.spanner.v1.Type> param_types = 5;
      */
     @java.lang.Override
-    public com.google.spanner.v1.Type getParamTypesOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public com.google.spanner.v1.Type getParamTypesOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       java.util.Map map =
           internalGetParamTypes().getMap();
       if (!map.containsKey(key)) {
@@ -1846,15 +1673,13 @@ public com.google.spanner.v1.Type getParamTypesOrThrow(java.lang.String key) {
       }
       return map.get(key);
     }
-
     public Builder clearParamTypes() {
       bitField0_ = (bitField0_ & ~0x00000010);
-      internalGetMutableParamTypes().getMutableMap().clear();
+      internalGetMutableParamTypes().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * It is not always possible for Cloud Spanner to infer the right SQL type
      * from a JSON value.  For example, values of type `BYTES` and values
@@ -1867,22 +1692,23 @@ public Builder clearParamTypes() {
      *
      * map<string, .google.spanner.v1.Type> param_types = 5;
      */
-    public Builder removeParamTypes(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableParamTypes().getMutableMap().remove(key);
+    public Builder removeParamTypes(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableParamTypes().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableParamTypes() {
+    public java.util.Map
+        getMutableParamTypes() {
       bitField0_ |= 0x00000010;
       return internalGetMutableParamTypes().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * It is not always possible for Cloud Spanner to infer the right SQL type
      * from a JSON value.  For example, values of type `BYTES` and values
@@ -1895,20 +1721,17 @@ public java.util.Map getMutablePar
      *
      * map<string, .google.spanner.v1.Type> param_types = 5;
      */
-    public Builder putParamTypes(java.lang.String key, com.google.spanner.v1.Type value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      if (value == null) {
-        throw new NullPointerException("map value");
-      }
-      internalGetMutableParamTypes().getMutableMap().put(key, value);
+    public Builder putParamTypes(
+        java.lang.String key,
+        com.google.spanner.v1.Type value) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      if (value == null) { throw new NullPointerException("map value"); }
+      internalGetMutableParamTypes().getMutableMap()
+          .put(key, value);
       bitField0_ |= 0x00000010;
       return this;
     }
     /**
-     *
-     *
      * 
      * It is not always possible for Cloud Spanner to infer the right SQL type
      * from a JSON value.  For example, values of type `BYTES` and values
@@ -1923,54 +1746,42 @@ public Builder putParamTypes(java.lang.String key, com.google.spanner.v1.Type va
      */
     public Builder putAllParamTypes(
         java.util.Map values) {
-      internalGetMutableParamTypes().getMutableMap().putAll(values);
+      internalGetMutableParamTypes().getMutableMap()
+          .putAll(values);
       bitField0_ |= 0x00000010;
       return this;
     }
 
     private com.google.spanner.v1.PartitionOptions partitionOptions_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.PartitionOptions,
-            com.google.spanner.v1.PartitionOptions.Builder,
-            com.google.spanner.v1.PartitionOptionsOrBuilder>
-        partitionOptionsBuilder_;
+        com.google.spanner.v1.PartitionOptions, com.google.spanner.v1.PartitionOptions.Builder, com.google.spanner.v1.PartitionOptionsOrBuilder> partitionOptionsBuilder_;
     /**
-     *
-     *
      * 
      * Additional options that affect how many partitions are created.
      * 
* * .google.spanner.v1.PartitionOptions partition_options = 6; - * * @return Whether the partitionOptions field is set. */ public boolean hasPartitionOptions() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
      * Additional options that affect how many partitions are created.
      * 
* * .google.spanner.v1.PartitionOptions partition_options = 6; - * * @return The partitionOptions. */ public com.google.spanner.v1.PartitionOptions getPartitionOptions() { if (partitionOptionsBuilder_ == null) { - return partitionOptions_ == null - ? com.google.spanner.v1.PartitionOptions.getDefaultInstance() - : partitionOptions_; + return partitionOptions_ == null ? com.google.spanner.v1.PartitionOptions.getDefaultInstance() : partitionOptions_; } else { return partitionOptionsBuilder_.getMessage(); } } /** - * - * *
      * Additional options that affect how many partitions are created.
      * 
@@ -1991,8 +1802,6 @@ public Builder setPartitionOptions(com.google.spanner.v1.PartitionOptions value) return this; } /** - * - * *
      * Additional options that affect how many partitions are created.
      * 
@@ -2011,8 +1820,6 @@ public Builder setPartitionOptions( return this; } /** - * - * *
      * Additional options that affect how many partitions are created.
      * 
@@ -2021,9 +1828,9 @@ public Builder setPartitionOptions( */ public Builder mergePartitionOptions(com.google.spanner.v1.PartitionOptions value) { if (partitionOptionsBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) - && partitionOptions_ != null - && partitionOptions_ != com.google.spanner.v1.PartitionOptions.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) && + partitionOptions_ != null && + partitionOptions_ != com.google.spanner.v1.PartitionOptions.getDefaultInstance()) { getPartitionOptionsBuilder().mergeFrom(value); } else { partitionOptions_ = value; @@ -2036,8 +1843,6 @@ public Builder mergePartitionOptions(com.google.spanner.v1.PartitionOptions valu return this; } /** - * - * *
      * Additional options that affect how many partitions are created.
      * 
@@ -2055,8 +1860,6 @@ public Builder clearPartitionOptions() { return this; } /** - * - * *
      * Additional options that affect how many partitions are created.
      * 
@@ -2069,8 +1872,6 @@ public com.google.spanner.v1.PartitionOptions.Builder getPartitionOptionsBuilder return getPartitionOptionsFieldBuilder().getBuilder(); } /** - * - * *
      * Additional options that affect how many partitions are created.
      * 
@@ -2081,14 +1882,11 @@ public com.google.spanner.v1.PartitionOptionsOrBuilder getPartitionOptionsOrBuil if (partitionOptionsBuilder_ != null) { return partitionOptionsBuilder_.getMessageOrBuilder(); } else { - return partitionOptions_ == null - ? com.google.spanner.v1.PartitionOptions.getDefaultInstance() - : partitionOptions_; + return partitionOptions_ == null ? + com.google.spanner.v1.PartitionOptions.getDefaultInstance() : partitionOptions_; } } /** - * - * *
      * Additional options that affect how many partitions are created.
      * 
@@ -2096,24 +1894,21 @@ public com.google.spanner.v1.PartitionOptionsOrBuilder getPartitionOptionsOrBuil * .google.spanner.v1.PartitionOptions partition_options = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.PartitionOptions, - com.google.spanner.v1.PartitionOptions.Builder, - com.google.spanner.v1.PartitionOptionsOrBuilder> + com.google.spanner.v1.PartitionOptions, com.google.spanner.v1.PartitionOptions.Builder, com.google.spanner.v1.PartitionOptionsOrBuilder> getPartitionOptionsFieldBuilder() { if (partitionOptionsBuilder_ == null) { - partitionOptionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.PartitionOptions, - com.google.spanner.v1.PartitionOptions.Builder, - com.google.spanner.v1.PartitionOptionsOrBuilder>( - getPartitionOptions(), getParentForChildren(), isClean()); + partitionOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.v1.PartitionOptions, com.google.spanner.v1.PartitionOptions.Builder, com.google.spanner.v1.PartitionOptionsOrBuilder>( + getPartitionOptions(), + getParentForChildren(), + isClean()); partitionOptions_ = null; } return partitionOptionsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2123,12 +1918,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.v1.PartitionQueryRequest) } // @@protoc_insertion_point(class_scope:google.spanner.v1.PartitionQueryRequest) private static final com.google.spanner.v1.PartitionQueryRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.v1.PartitionQueryRequest(); } @@ -2137,27 +1932,27 @@ public static com.google.spanner.v1.PartitionQueryRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PartitionQueryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PartitionQueryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2172,4 +1967,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.PartitionQueryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionQueryRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionQueryRequestOrBuilder.java similarity index 84% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionQueryRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionQueryRequestOrBuilder.java index 7c71cf32d5e..b057ff6b795 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionQueryRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionQueryRequestOrBuilder.java @@ -1,86 +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/spanner/v1/spanner.proto package com.google.spanner.v1; -public interface PartitionQueryRequestOrBuilder - extends +public interface PartitionQueryRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.PartitionQueryRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The session used to create the partitions.
    * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The session. */ java.lang.String getSession(); /** - * - * *
    * Required. The session used to create the partitions.
    * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for session. */ - com.google.protobuf.ByteString getSessionBytes(); + com.google.protobuf.ByteString + getSessionBytes(); /** - * - * *
    * Read only snapshot transactions are supported, read/write and single use
    * transactions are not.
    * 
* * .google.spanner.v1.TransactionSelector transaction = 2; - * * @return Whether the transaction field is set. */ boolean hasTransaction(); /** - * - * *
    * Read only snapshot transactions are supported, read/write and single use
    * transactions are not.
    * 
* * .google.spanner.v1.TransactionSelector transaction = 2; - * * @return The transaction. */ com.google.spanner.v1.TransactionSelector getTransaction(); /** - * - * *
    * Read only snapshot transactions are supported, read/write and single use
    * transactions are not.
@@ -91,8 +58,6 @@ public interface PartitionQueryRequestOrBuilder
   com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilder();
 
   /**
-   *
-   *
    * 
    * Required. The query request to generate partitions for. The request will fail if
    * the query is not root partitionable. The query plan of a root
@@ -106,13 +71,10 @@ public interface PartitionQueryRequestOrBuilder
    * 
* * string sql = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The sql. */ java.lang.String getSql(); /** - * - * *
    * Required. The query request to generate partitions for. The request will fail if
    * the query is not root partitionable. The query plan of a root
@@ -126,14 +88,12 @@ public interface PartitionQueryRequestOrBuilder
    * 
* * string sql = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for sql. */ - com.google.protobuf.ByteString getSqlBytes(); + com.google.protobuf.ByteString + getSqlBytes(); /** - * - * *
    * Parameter names and values that bind to placeholders in the SQL string.
    * A parameter placeholder consists of the `@` character followed by the
@@ -146,13 +106,10 @@ public interface PartitionQueryRequestOrBuilder
    * 
* * .google.protobuf.Struct params = 4; - * * @return Whether the params field is set. */ boolean hasParams(); /** - * - * *
    * Parameter names and values that bind to placeholders in the SQL string.
    * A parameter placeholder consists of the `@` character followed by the
@@ -165,13 +122,10 @@ public interface PartitionQueryRequestOrBuilder
    * 
* * .google.protobuf.Struct params = 4; - * * @return The params. */ com.google.protobuf.Struct getParams(); /** - * - * *
    * Parameter names and values that bind to placeholders in the SQL string.
    * A parameter placeholder consists of the `@` character followed by the
@@ -188,8 +142,6 @@ public interface PartitionQueryRequestOrBuilder
   com.google.protobuf.StructOrBuilder getParamsOrBuilder();
 
   /**
-   *
-   *
    * 
    * It is not always possible for Cloud Spanner to infer the right SQL type
    * from a JSON value.  For example, values of type `BYTES` and values
@@ -204,8 +156,6 @@ public interface PartitionQueryRequestOrBuilder
    */
   int getParamTypesCount();
   /**
-   *
-   *
    * 
    * It is not always possible for Cloud Spanner to infer the right SQL type
    * from a JSON value.  For example, values of type `BYTES` and values
@@ -218,13 +168,15 @@ public interface PartitionQueryRequestOrBuilder
    *
    * map<string, .google.spanner.v1.Type> param_types = 5;
    */
-  boolean containsParamTypes(java.lang.String key);
-  /** Use {@link #getParamTypesMap()} instead. */
+  boolean containsParamTypes(
+      java.lang.String key);
+  /**
+   * Use {@link #getParamTypesMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getParamTypes();
+  java.util.Map
+  getParamTypes();
   /**
-   *
-   *
    * 
    * It is not always possible for Cloud Spanner to infer the right SQL type
    * from a JSON value.  For example, values of type `BYTES` and values
@@ -237,10 +189,9 @@ public interface PartitionQueryRequestOrBuilder
    *
    * map<string, .google.spanner.v1.Type> param_types = 5;
    */
-  java.util.Map getParamTypesMap();
+  java.util.Map
+  getParamTypesMap();
   /**
-   *
-   *
    * 
    * It is not always possible for Cloud Spanner to infer the right SQL type
    * from a JSON value.  For example, values of type `BYTES` and values
@@ -254,13 +205,11 @@ public interface PartitionQueryRequestOrBuilder
    * map<string, .google.spanner.v1.Type> param_types = 5;
    */
   /* nullable */
-  com.google.spanner.v1.Type getParamTypesOrDefault(
+com.google.spanner.v1.Type getParamTypesOrDefault(
       java.lang.String key,
       /* nullable */
-      com.google.spanner.v1.Type defaultValue);
+com.google.spanner.v1.Type defaultValue);
   /**
-   *
-   *
    * 
    * It is not always possible for Cloud Spanner to infer the right SQL type
    * from a JSON value.  For example, values of type `BYTES` and values
@@ -273,35 +222,28 @@ com.google.spanner.v1.Type getParamTypesOrDefault(
    *
    * map<string, .google.spanner.v1.Type> param_types = 5;
    */
-  com.google.spanner.v1.Type getParamTypesOrThrow(java.lang.String key);
+  com.google.spanner.v1.Type getParamTypesOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * Additional options that affect how many partitions are created.
    * 
* * .google.spanner.v1.PartitionOptions partition_options = 6; - * * @return Whether the partitionOptions field is set. */ boolean hasPartitionOptions(); /** - * - * *
    * Additional options that affect how many partitions are created.
    * 
* * .google.spanner.v1.PartitionOptions partition_options = 6; - * * @return The partitionOptions. */ com.google.spanner.v1.PartitionOptions getPartitionOptions(); /** - * - * *
    * Additional options that affect how many partitions are created.
    * 
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionReadRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionReadRequest.java similarity index 75% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionReadRequest.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionReadRequest.java index 46155e66a27..8cd8bfa0851 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionReadRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionReadRequest.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/spanner/v1/spanner.proto package com.google.spanner.v1; /** - * - * *
  * The request for [PartitionRead][google.spanner.v1.Spanner.PartitionRead]
  * 
* * Protobuf type {@code google.spanner.v1.PartitionReadRequest} */ -public final class PartitionReadRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PartitionReadRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.v1.PartitionReadRequest) PartitionReadRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PartitionReadRequest.newBuilder() to construct. private PartitionReadRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PartitionReadRequest() { session_ = ""; table_ = ""; @@ -46,45 +28,38 @@ private PartitionReadRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PartitionReadRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_PartitionReadRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_PartitionReadRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_PartitionReadRequest_fieldAccessorTable + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_PartitionReadRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.PartitionReadRequest.class, - com.google.spanner.v1.PartitionReadRequest.Builder.class); + com.google.spanner.v1.PartitionReadRequest.class, com.google.spanner.v1.PartitionReadRequest.Builder.class); } public static final int SESSION_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object session_ = ""; /** - * - * *
    * Required. The session used to create the partitions.
    * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The session. */ @java.lang.Override @@ -93,31 +68,29 @@ public java.lang.String getSession() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); session_ = s; return s; } } /** - * - * *
    * Required. The session used to create the partitions.
    * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for session. */ @java.lang.Override - public com.google.protobuf.ByteString getSessionBytes() { + public com.google.protobuf.ByteString + getSessionBytes() { java.lang.Object ref = session_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); session_ = b; return b; } else { @@ -128,15 +101,12 @@ public com.google.protobuf.ByteString getSessionBytes() { public static final int TRANSACTION_FIELD_NUMBER = 2; private com.google.spanner.v1.TransactionSelector transaction_; /** - * - * *
    * Read only snapshot transactions are supported, read/write and single use
    * transactions are not.
    * 
* * .google.spanner.v1.TransactionSelector transaction = 2; - * * @return Whether the transaction field is set. */ @java.lang.Override @@ -144,26 +114,19 @@ public boolean hasTransaction() { return transaction_ != null; } /** - * - * *
    * Read only snapshot transactions are supported, read/write and single use
    * transactions are not.
    * 
* * .google.spanner.v1.TransactionSelector transaction = 2; - * * @return The transaction. */ @java.lang.Override public com.google.spanner.v1.TransactionSelector getTransaction() { - return transaction_ == null - ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() - : transaction_; + return transaction_ == null ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() : transaction_; } /** - * - * *
    * Read only snapshot transactions are supported, read/write and single use
    * transactions are not.
@@ -173,24 +136,18 @@ public com.google.spanner.v1.TransactionSelector getTransaction() {
    */
   @java.lang.Override
   public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilder() {
-    return transaction_ == null
-        ? com.google.spanner.v1.TransactionSelector.getDefaultInstance()
-        : transaction_;
+    return transaction_ == null ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() : transaction_;
   }
 
   public static final int TABLE_FIELD_NUMBER = 3;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object table_ = "";
   /**
-   *
-   *
    * 
    * Required. The name of the table in the database to be read.
    * 
* * string table = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The table. */ @java.lang.Override @@ -199,29 +156,29 @@ public java.lang.String getTable() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); table_ = s; return s; } } /** - * - * *
    * Required. The name of the table in the database to be read.
    * 
* * string table = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for table. */ @java.lang.Override - public com.google.protobuf.ByteString getTableBytes() { + public com.google.protobuf.ByteString + getTableBytes() { java.lang.Object ref = table_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); table_ = b; return b; } else { @@ -230,12 +187,9 @@ public com.google.protobuf.ByteString getTableBytes() { } public static final int INDEX_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object index_ = ""; /** - * - * *
    * If non-empty, the name of an index on [table][google.spanner.v1.PartitionReadRequest.table]. This index is
    * used instead of the table primary key when interpreting [key_set][google.spanner.v1.PartitionReadRequest.key_set]
@@ -243,7 +197,6 @@ public com.google.protobuf.ByteString getTableBytes() {
    * 
* * string index = 4; - * * @return The index. */ @java.lang.Override @@ -252,15 +205,14 @@ public java.lang.String getIndex() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); index_ = s; return s; } } /** - * - * *
    * If non-empty, the name of an index on [table][google.spanner.v1.PartitionReadRequest.table]. This index is
    * used instead of the table primary key when interpreting [key_set][google.spanner.v1.PartitionReadRequest.key_set]
@@ -268,15 +220,16 @@ public java.lang.String getIndex() {
    * 
* * string index = 4; - * * @return The bytes for index. */ @java.lang.Override - public com.google.protobuf.ByteString getIndexBytes() { + public com.google.protobuf.ByteString + getIndexBytes() { java.lang.Object ref = index_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); index_ = b; return b; } else { @@ -285,49 +238,40 @@ public com.google.protobuf.ByteString getIndexBytes() { } public static final int COLUMNS_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringList columns_; /** - * - * *
    * The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be returned for each row matching
    * this request.
    * 
* * repeated string columns = 5; - * * @return A list containing the columns. */ - public com.google.protobuf.ProtocolStringList getColumnsList() { + public com.google.protobuf.ProtocolStringList + getColumnsList() { return columns_; } /** - * - * *
    * The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be returned for each row matching
    * this request.
    * 
* * repeated string columns = 5; - * * @return The count of columns. */ public int getColumnsCount() { return columns_.size(); } /** - * - * *
    * The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be returned for each row matching
    * this request.
    * 
* * repeated string columns = 5; - * * @param index The index of the element to return. * @return The columns at the given index. */ @@ -335,27 +279,23 @@ public java.lang.String getColumns(int index) { return columns_.get(index); } /** - * - * *
    * The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be returned for each row matching
    * this request.
    * 
* * repeated string columns = 5; - * * @param index The index of the value to return. * @return The bytes of the columns at the given index. */ - public com.google.protobuf.ByteString getColumnsBytes(int index) { + public com.google.protobuf.ByteString + getColumnsBytes(int index) { return columns_.getByteString(index); } public static final int KEY_SET_FIELD_NUMBER = 6; private com.google.spanner.v1.KeySet keySet_; /** - * - * *
    * Required. `key_set` identifies the rows to be yielded. `key_set` names the
    * primary keys of the rows in [table][google.spanner.v1.PartitionReadRequest.table] to be yielded, unless [index][google.spanner.v1.PartitionReadRequest.index]
@@ -366,7 +306,6 @@ public com.google.protobuf.ByteString getColumnsBytes(int index) {
    * 
* * .google.spanner.v1.KeySet key_set = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the keySet field is set. */ @java.lang.Override @@ -374,8 +313,6 @@ public boolean hasKeySet() { return keySet_ != null; } /** - * - * *
    * Required. `key_set` identifies the rows to be yielded. `key_set` names the
    * primary keys of the rows in [table][google.spanner.v1.PartitionReadRequest.table] to be yielded, unless [index][google.spanner.v1.PartitionReadRequest.index]
@@ -386,7 +323,6 @@ public boolean hasKeySet() {
    * 
* * .google.spanner.v1.KeySet key_set = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The keySet. */ @java.lang.Override @@ -394,8 +330,6 @@ public com.google.spanner.v1.KeySet getKeySet() { return keySet_ == null ? com.google.spanner.v1.KeySet.getDefaultInstance() : keySet_; } /** - * - * *
    * Required. `key_set` identifies the rows to be yielded. `key_set` names the
    * primary keys of the rows in [table][google.spanner.v1.PartitionReadRequest.table] to be yielded, unless [index][google.spanner.v1.PartitionReadRequest.index]
@@ -415,14 +349,11 @@ public com.google.spanner.v1.KeySetOrBuilder getKeySetOrBuilder() {
   public static final int PARTITION_OPTIONS_FIELD_NUMBER = 9;
   private com.google.spanner.v1.PartitionOptions partitionOptions_;
   /**
-   *
-   *
    * 
    * Additional options that affect how many partitions are created.
    * 
* * .google.spanner.v1.PartitionOptions partition_options = 9; - * * @return Whether the partitionOptions field is set. */ @java.lang.Override @@ -430,25 +361,18 @@ public boolean hasPartitionOptions() { return partitionOptions_ != null; } /** - * - * *
    * Additional options that affect how many partitions are created.
    * 
* * .google.spanner.v1.PartitionOptions partition_options = 9; - * * @return The partitionOptions. */ @java.lang.Override public com.google.spanner.v1.PartitionOptions getPartitionOptions() { - return partitionOptions_ == null - ? com.google.spanner.v1.PartitionOptions.getDefaultInstance() - : partitionOptions_; + return partitionOptions_ == null ? com.google.spanner.v1.PartitionOptions.getDefaultInstance() : partitionOptions_; } /** - * - * *
    * Additional options that affect how many partitions are created.
    * 
@@ -457,13 +381,10 @@ public com.google.spanner.v1.PartitionOptions getPartitionOptions() { */ @java.lang.Override public com.google.spanner.v1.PartitionOptionsOrBuilder getPartitionOptionsOrBuilder() { - return partitionOptions_ == null - ? com.google.spanner.v1.PartitionOptions.getDefaultInstance() - : partitionOptions_; + return partitionOptions_ == null ? com.google.spanner.v1.PartitionOptions.getDefaultInstance() : partitionOptions_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -475,7 +396,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(session_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, session_); } @@ -510,7 +432,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, session_); } if (transaction_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTransaction()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTransaction()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(table_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, table_); @@ -527,10 +450,12 @@ public int getSerializedSize() { size += 1 * getColumnsList().size(); } if (keySet_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getKeySet()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getKeySet()); } if (partitionOptions_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getPartitionOptions()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getPartitionOptions()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -540,29 +465,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.spanner.v1.PartitionReadRequest)) { return super.equals(obj); } - com.google.spanner.v1.PartitionReadRequest other = - (com.google.spanner.v1.PartitionReadRequest) obj; + com.google.spanner.v1.PartitionReadRequest other = (com.google.spanner.v1.PartitionReadRequest) obj; - if (!getSession().equals(other.getSession())) return false; + if (!getSession() + .equals(other.getSession())) return false; if (hasTransaction() != other.hasTransaction()) return false; if (hasTransaction()) { - if (!getTransaction().equals(other.getTransaction())) return false; - } - if (!getTable().equals(other.getTable())) return false; - if (!getIndex().equals(other.getIndex())) return false; - if (!getColumnsList().equals(other.getColumnsList())) return false; + if (!getTransaction() + .equals(other.getTransaction())) return false; + } + if (!getTable() + .equals(other.getTable())) return false; + if (!getIndex() + .equals(other.getIndex())) return false; + if (!getColumnsList() + .equals(other.getColumnsList())) return false; if (hasKeySet() != other.hasKeySet()) return false; if (hasKeySet()) { - if (!getKeySet().equals(other.getKeySet())) return false; + if (!getKeySet() + .equals(other.getKeySet())) return false; } if (hasPartitionOptions() != other.hasPartitionOptions()) return false; if (hasPartitionOptions()) { - if (!getPartitionOptions().equals(other.getPartitionOptions())) return false; + if (!getPartitionOptions() + .equals(other.getPartitionOptions())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -602,136 +533,130 @@ public int hashCode() { return hash; } - public static com.google.spanner.v1.PartitionReadRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.v1.PartitionReadRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.PartitionReadRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.PartitionReadRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.PartitionReadRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.PartitionReadRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.PartitionReadRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.PartitionReadRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.PartitionReadRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.spanner.v1.PartitionReadRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.v1.PartitionReadRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.v1.PartitionReadRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.PartitionReadRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.PartitionReadRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.v1.PartitionReadRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [PartitionRead][google.spanner.v1.Spanner.PartitionRead]
    * 
* * Protobuf type {@code google.spanner.v1.PartitionReadRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.PartitionReadRequest) com.google.spanner.v1.PartitionReadRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_PartitionReadRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_PartitionReadRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_PartitionReadRequest_fieldAccessorTable + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_PartitionReadRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.PartitionReadRequest.class, - com.google.spanner.v1.PartitionReadRequest.Builder.class); + com.google.spanner.v1.PartitionReadRequest.class, com.google.spanner.v1.PartitionReadRequest.Builder.class); } // Construct using com.google.spanner.v1.PartitionReadRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -760,9 +685,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_PartitionReadRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_PartitionReadRequest_descriptor; } @java.lang.Override @@ -781,12 +706,9 @@ public com.google.spanner.v1.PartitionReadRequest build() { @java.lang.Override public com.google.spanner.v1.PartitionReadRequest buildPartial() { - com.google.spanner.v1.PartitionReadRequest result = - new com.google.spanner.v1.PartitionReadRequest(this); + com.google.spanner.v1.PartitionReadRequest result = new com.google.spanner.v1.PartitionReadRequest(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -805,8 +727,9 @@ private void buildPartial0(com.google.spanner.v1.PartitionReadRequest result) { result.session_ = session_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.transaction_ = - transactionBuilder_ == null ? transaction_ : transactionBuilder_.build(); + result.transaction_ = transactionBuilder_ == null + ? transaction_ + : transactionBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.table_ = table_; @@ -815,11 +738,14 @@ private void buildPartial0(com.google.spanner.v1.PartitionReadRequest result) { result.index_ = index_; } if (((from_bitField0_ & 0x00000020) != 0)) { - result.keySet_ = keySetBuilder_ == null ? keySet_ : keySetBuilder_.build(); + result.keySet_ = keySetBuilder_ == null + ? keySet_ + : keySetBuilder_.build(); } if (((from_bitField0_ & 0x00000040) != 0)) { - result.partitionOptions_ = - partitionOptionsBuilder_ == null ? partitionOptions_ : partitionOptionsBuilder_.build(); + result.partitionOptions_ = partitionOptionsBuilder_ == null + ? partitionOptions_ + : partitionOptionsBuilder_.build(); } } @@ -827,39 +753,38 @@ private void buildPartial0(com.google.spanner.v1.PartitionReadRequest 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.spanner.v1.PartitionReadRequest) { - return mergeFrom((com.google.spanner.v1.PartitionReadRequest) other); + return mergeFrom((com.google.spanner.v1.PartitionReadRequest)other); } else { super.mergeFrom(other); return this; @@ -928,57 +853,54 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - session_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getTransactionFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - table_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - index_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureColumnsIsMutable(); - columns_.add(s); - break; - } // case 42 - case 50: - { - input.readMessage(getKeySetFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 74: - { - input.readMessage( - getPartitionOptionsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000040; - break; - } // case 74 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + session_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getTransactionFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + table_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + index_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + ensureColumnsIsMutable(); + columns_.add(s); + break; + } // case 42 + case 50: { + input.readMessage( + getKeySetFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 74: { + input.readMessage( + getPartitionOptionsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000040; + 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) { @@ -988,27 +910,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object session_ = ""; /** - * - * *
      * Required. The session used to create the partitions.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The session. */ public java.lang.String getSession() { java.lang.Object ref = session_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); session_ = s; return s; @@ -1017,23 +934,20 @@ public java.lang.String getSession() { } } /** - * - * *
      * Required. The session used to create the partitions.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for session. */ - public com.google.protobuf.ByteString getSessionBytes() { + public com.google.protobuf.ByteString + getSessionBytes() { java.lang.Object ref = session_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); session_ = b; return b; } else { @@ -1041,39 +955,28 @@ public com.google.protobuf.ByteString getSessionBytes() { } } /** - * - * *
      * Required. The session used to create the partitions.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The session to set. * @return This builder for chaining. */ - public Builder setSession(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSession( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } session_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The session used to create the partitions.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearSession() { @@ -1083,23 +986,17 @@ public Builder clearSession() { return this; } /** - * - * *
      * Required. The session used to create the partitions.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for session to set. * @return This builder for chaining. */ - public Builder setSessionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSessionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); session_ = value; bitField0_ |= 0x00000001; @@ -1109,49 +1006,36 @@ public Builder setSessionBytes(com.google.protobuf.ByteString value) { private com.google.spanner.v1.TransactionSelector transaction_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.TransactionSelector, - com.google.spanner.v1.TransactionSelector.Builder, - com.google.spanner.v1.TransactionSelectorOrBuilder> - transactionBuilder_; + com.google.spanner.v1.TransactionSelector, com.google.spanner.v1.TransactionSelector.Builder, com.google.spanner.v1.TransactionSelectorOrBuilder> transactionBuilder_; /** - * - * *
      * Read only snapshot transactions are supported, read/write and single use
      * transactions are not.
      * 
* * .google.spanner.v1.TransactionSelector transaction = 2; - * * @return Whether the transaction field is set. */ public boolean hasTransaction() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Read only snapshot transactions are supported, read/write and single use
      * transactions are not.
      * 
* * .google.spanner.v1.TransactionSelector transaction = 2; - * * @return The transaction. */ public com.google.spanner.v1.TransactionSelector getTransaction() { if (transactionBuilder_ == null) { - return transaction_ == null - ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() - : transaction_; + return transaction_ == null ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() : transaction_; } else { return transactionBuilder_.getMessage(); } } /** - * - * *
      * Read only snapshot transactions are supported, read/write and single use
      * transactions are not.
@@ -1173,8 +1057,6 @@ public Builder setTransaction(com.google.spanner.v1.TransactionSelector value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Read only snapshot transactions are supported, read/write and single use
      * transactions are not.
@@ -1194,8 +1076,6 @@ public Builder setTransaction(
       return this;
     }
     /**
-     *
-     *
      * 
      * Read only snapshot transactions are supported, read/write and single use
      * transactions are not.
@@ -1205,9 +1085,9 @@ public Builder setTransaction(
      */
     public Builder mergeTransaction(com.google.spanner.v1.TransactionSelector value) {
       if (transactionBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && transaction_ != null
-            && transaction_ != com.google.spanner.v1.TransactionSelector.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          transaction_ != null &&
+          transaction_ != com.google.spanner.v1.TransactionSelector.getDefaultInstance()) {
           getTransactionBuilder().mergeFrom(value);
         } else {
           transaction_ = value;
@@ -1220,8 +1100,6 @@ public Builder mergeTransaction(com.google.spanner.v1.TransactionSelector value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Read only snapshot transactions are supported, read/write and single use
      * transactions are not.
@@ -1240,8 +1118,6 @@ public Builder clearTransaction() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Read only snapshot transactions are supported, read/write and single use
      * transactions are not.
@@ -1255,8 +1131,6 @@ public com.google.spanner.v1.TransactionSelector.Builder getTransactionBuilder()
       return getTransactionFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Read only snapshot transactions are supported, read/write and single use
      * transactions are not.
@@ -1268,14 +1142,11 @@ public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilde
       if (transactionBuilder_ != null) {
         return transactionBuilder_.getMessageOrBuilder();
       } else {
-        return transaction_ == null
-            ? com.google.spanner.v1.TransactionSelector.getDefaultInstance()
-            : transaction_;
+        return transaction_ == null ?
+            com.google.spanner.v1.TransactionSelector.getDefaultInstance() : transaction_;
       }
     }
     /**
-     *
-     *
      * 
      * Read only snapshot transactions are supported, read/write and single use
      * transactions are not.
@@ -1284,17 +1155,14 @@ public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilde
      * .google.spanner.v1.TransactionSelector transaction = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.TransactionSelector,
-            com.google.spanner.v1.TransactionSelector.Builder,
-            com.google.spanner.v1.TransactionSelectorOrBuilder>
+        com.google.spanner.v1.TransactionSelector, com.google.spanner.v1.TransactionSelector.Builder, com.google.spanner.v1.TransactionSelectorOrBuilder> 
         getTransactionFieldBuilder() {
       if (transactionBuilder_ == null) {
-        transactionBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.v1.TransactionSelector,
-                com.google.spanner.v1.TransactionSelector.Builder,
-                com.google.spanner.v1.TransactionSelectorOrBuilder>(
-                getTransaction(), getParentForChildren(), isClean());
+        transactionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.v1.TransactionSelector, com.google.spanner.v1.TransactionSelector.Builder, com.google.spanner.v1.TransactionSelectorOrBuilder>(
+                getTransaction(),
+                getParentForChildren(),
+                isClean());
         transaction_ = null;
       }
       return transactionBuilder_;
@@ -1302,20 +1170,18 @@ public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilde
 
     private java.lang.Object table_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the table in the database to be read.
      * 
* * string table = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The table. */ public java.lang.String getTable() { java.lang.Object ref = table_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); table_ = s; return s; @@ -1324,21 +1190,20 @@ public java.lang.String getTable() { } } /** - * - * *
      * Required. The name of the table in the database to be read.
      * 
* * string table = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for table. */ - public com.google.protobuf.ByteString getTableBytes() { + public com.google.protobuf.ByteString + getTableBytes() { java.lang.Object ref = table_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); table_ = b; return b; } else { @@ -1346,35 +1211,28 @@ public com.google.protobuf.ByteString getTableBytes() { } } /** - * - * *
      * Required. The name of the table in the database to be read.
      * 
* * string table = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The table to set. * @return This builder for chaining. */ - public Builder setTable(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTable( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } table_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Required. The name of the table in the database to be read.
      * 
* * string table = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearTable() { @@ -1384,21 +1242,17 @@ public Builder clearTable() { return this; } /** - * - * *
      * Required. The name of the table in the database to be read.
      * 
* * string table = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for table to set. * @return This builder for chaining. */ - public Builder setTableBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); table_ = value; bitField0_ |= 0x00000004; @@ -1408,8 +1262,6 @@ public Builder setTableBytes(com.google.protobuf.ByteString value) { private java.lang.Object index_ = ""; /** - * - * *
      * If non-empty, the name of an index on [table][google.spanner.v1.PartitionReadRequest.table]. This index is
      * used instead of the table primary key when interpreting [key_set][google.spanner.v1.PartitionReadRequest.key_set]
@@ -1417,13 +1269,13 @@ public Builder setTableBytes(com.google.protobuf.ByteString value) {
      * 
* * string index = 4; - * * @return The index. */ public java.lang.String getIndex() { java.lang.Object ref = index_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); index_ = s; return s; @@ -1432,8 +1284,6 @@ public java.lang.String getIndex() { } } /** - * - * *
      * If non-empty, the name of an index on [table][google.spanner.v1.PartitionReadRequest.table]. This index is
      * used instead of the table primary key when interpreting [key_set][google.spanner.v1.PartitionReadRequest.key_set]
@@ -1441,14 +1291,15 @@ public java.lang.String getIndex() {
      * 
* * string index = 4; - * * @return The bytes for index. */ - public com.google.protobuf.ByteString getIndexBytes() { + public com.google.protobuf.ByteString + getIndexBytes() { java.lang.Object ref = index_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); index_ = b; return b; } else { @@ -1456,8 +1307,6 @@ public com.google.protobuf.ByteString getIndexBytes() { } } /** - * - * *
      * If non-empty, the name of an index on [table][google.spanner.v1.PartitionReadRequest.table]. This index is
      * used instead of the table primary key when interpreting [key_set][google.spanner.v1.PartitionReadRequest.key_set]
@@ -1465,22 +1314,18 @@ public com.google.protobuf.ByteString getIndexBytes() {
      * 
* * string index = 4; - * * @param value The index to set. * @return This builder for chaining. */ - public Builder setIndex(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIndex( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } index_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * If non-empty, the name of an index on [table][google.spanner.v1.PartitionReadRequest.table]. This index is
      * used instead of the table primary key when interpreting [key_set][google.spanner.v1.PartitionReadRequest.key_set]
@@ -1488,7 +1333,6 @@ public Builder setIndex(java.lang.String value) {
      * 
* * string index = 4; - * * @return This builder for chaining. */ public Builder clearIndex() { @@ -1498,8 +1342,6 @@ public Builder clearIndex() { return this; } /** - * - * *
      * If non-empty, the name of an index on [table][google.spanner.v1.PartitionReadRequest.table]. This index is
      * used instead of the table primary key when interpreting [key_set][google.spanner.v1.PartitionReadRequest.key_set]
@@ -1507,14 +1349,12 @@ public Builder clearIndex() {
      * 
* * string index = 4; - * * @param value The bytes for index to set. * @return This builder for chaining. */ - public Builder setIndexBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIndexBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); index_ = value; bitField0_ |= 0x00000008; @@ -1522,55 +1362,45 @@ public Builder setIndexBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.LazyStringList columns_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList columns_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureColumnsIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { columns_ = new com.google.protobuf.LazyStringArrayList(columns_); bitField0_ |= 0x00000010; - } + } } /** - * - * *
      * The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be returned for each row matching
      * this request.
      * 
* * repeated string columns = 5; - * * @return A list containing the columns. */ - public com.google.protobuf.ProtocolStringList getColumnsList() { + public com.google.protobuf.ProtocolStringList + getColumnsList() { return columns_.getUnmodifiableView(); } /** - * - * *
      * The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be returned for each row matching
      * this request.
      * 
* * repeated string columns = 5; - * * @return The count of columns. */ public int getColumnsCount() { return columns_.size(); } /** - * - * *
      * The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be returned for each row matching
      * this request.
      * 
* * repeated string columns = 5; - * * @param index The index of the element to return. * @return The columns at the given index. */ @@ -1578,95 +1408,81 @@ public java.lang.String getColumns(int index) { return columns_.get(index); } /** - * - * *
      * The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be returned for each row matching
      * this request.
      * 
* * repeated string columns = 5; - * * @param index The index of the value to return. * @return The bytes of the columns at the given index. */ - public com.google.protobuf.ByteString getColumnsBytes(int index) { + public com.google.protobuf.ByteString + getColumnsBytes(int index) { return columns_.getByteString(index); } /** - * - * *
      * The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be returned for each row matching
      * this request.
      * 
* * repeated string columns = 5; - * * @param index The index to set the value at. * @param value The columns to set. * @return This builder for chaining. */ - public Builder setColumns(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setColumns( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureColumnsIsMutable(); columns_.set(index, value); onChanged(); return this; } /** - * - * *
      * The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be returned for each row matching
      * this request.
      * 
* * repeated string columns = 5; - * * @param value The columns to add. * @return This builder for chaining. */ - public Builder addColumns(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addColumns( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureColumnsIsMutable(); columns_.add(value); onChanged(); return this; } /** - * - * *
      * The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be returned for each row matching
      * this request.
      * 
* * repeated string columns = 5; - * * @param values The columns to add. * @return This builder for chaining. */ - public Builder addAllColumns(java.lang.Iterable values) { + public Builder addAllColumns( + java.lang.Iterable values) { ensureColumnsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, columns_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, columns_); onChanged(); return this; } /** - * - * *
      * The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be returned for each row matching
      * this request.
      * 
* * repeated string columns = 5; - * * @return This builder for chaining. */ public Builder clearColumns() { @@ -1676,22 +1492,18 @@ public Builder clearColumns() { return this; } /** - * - * *
      * The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be returned for each row matching
      * this request.
      * 
* * repeated string columns = 5; - * * @param value The bytes of the columns to add. * @return This builder for chaining. */ - public Builder addColumnsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addColumnsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureColumnsIsMutable(); columns_.add(value); @@ -1701,13 +1513,8 @@ public Builder addColumnsBytes(com.google.protobuf.ByteString value) { private com.google.spanner.v1.KeySet keySet_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.KeySet, - com.google.spanner.v1.KeySet.Builder, - com.google.spanner.v1.KeySetOrBuilder> - keySetBuilder_; + com.google.spanner.v1.KeySet, com.google.spanner.v1.KeySet.Builder, com.google.spanner.v1.KeySetOrBuilder> keySetBuilder_; /** - * - * *
      * Required. `key_set` identifies the rows to be yielded. `key_set` names the
      * primary keys of the rows in [table][google.spanner.v1.PartitionReadRequest.table] to be yielded, unless [index][google.spanner.v1.PartitionReadRequest.index]
@@ -1718,15 +1525,12 @@ public Builder addColumnsBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.spanner.v1.KeySet key_set = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the keySet field is set. */ public boolean hasKeySet() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
      * Required. `key_set` identifies the rows to be yielded. `key_set` names the
      * primary keys of the rows in [table][google.spanner.v1.PartitionReadRequest.table] to be yielded, unless [index][google.spanner.v1.PartitionReadRequest.index]
@@ -1737,7 +1541,6 @@ public boolean hasKeySet() {
      * 
* * .google.spanner.v1.KeySet key_set = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The keySet. */ public com.google.spanner.v1.KeySet getKeySet() { @@ -1748,8 +1551,6 @@ public com.google.spanner.v1.KeySet getKeySet() { } } /** - * - * *
      * Required. `key_set` identifies the rows to be yielded. `key_set` names the
      * primary keys of the rows in [table][google.spanner.v1.PartitionReadRequest.table] to be yielded, unless [index][google.spanner.v1.PartitionReadRequest.index]
@@ -1775,8 +1576,6 @@ public Builder setKeySet(com.google.spanner.v1.KeySet value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required. `key_set` identifies the rows to be yielded. `key_set` names the
      * primary keys of the rows in [table][google.spanner.v1.PartitionReadRequest.table] to be yielded, unless [index][google.spanner.v1.PartitionReadRequest.index]
@@ -1788,7 +1587,8 @@ public Builder setKeySet(com.google.spanner.v1.KeySet value) {
      *
      * .google.spanner.v1.KeySet key_set = 6 [(.google.api.field_behavior) = REQUIRED];
      */
-    public Builder setKeySet(com.google.spanner.v1.KeySet.Builder builderForValue) {
+    public Builder setKeySet(
+        com.google.spanner.v1.KeySet.Builder builderForValue) {
       if (keySetBuilder_ == null) {
         keySet_ = builderForValue.build();
       } else {
@@ -1799,8 +1599,6 @@ public Builder setKeySet(com.google.spanner.v1.KeySet.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required. `key_set` identifies the rows to be yielded. `key_set` names the
      * primary keys of the rows in [table][google.spanner.v1.PartitionReadRequest.table] to be yielded, unless [index][google.spanner.v1.PartitionReadRequest.index]
@@ -1814,9 +1612,9 @@ public Builder setKeySet(com.google.spanner.v1.KeySet.Builder builderForValue) {
      */
     public Builder mergeKeySet(com.google.spanner.v1.KeySet value) {
       if (keySetBuilder_ == null) {
-        if (((bitField0_ & 0x00000020) != 0)
-            && keySet_ != null
-            && keySet_ != com.google.spanner.v1.KeySet.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000020) != 0) &&
+          keySet_ != null &&
+          keySet_ != com.google.spanner.v1.KeySet.getDefaultInstance()) {
           getKeySetBuilder().mergeFrom(value);
         } else {
           keySet_ = value;
@@ -1829,8 +1627,6 @@ public Builder mergeKeySet(com.google.spanner.v1.KeySet value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required. `key_set` identifies the rows to be yielded. `key_set` names the
      * primary keys of the rows in [table][google.spanner.v1.PartitionReadRequest.table] to be yielded, unless [index][google.spanner.v1.PartitionReadRequest.index]
@@ -1853,8 +1649,6 @@ public Builder clearKeySet() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required. `key_set` identifies the rows to be yielded. `key_set` names the
      * primary keys of the rows in [table][google.spanner.v1.PartitionReadRequest.table] to be yielded, unless [index][google.spanner.v1.PartitionReadRequest.index]
@@ -1872,8 +1666,6 @@ public com.google.spanner.v1.KeySet.Builder getKeySetBuilder() {
       return getKeySetFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Required. `key_set` identifies the rows to be yielded. `key_set` names the
      * primary keys of the rows in [table][google.spanner.v1.PartitionReadRequest.table] to be yielded, unless [index][google.spanner.v1.PartitionReadRequest.index]
@@ -1889,12 +1681,11 @@ public com.google.spanner.v1.KeySetOrBuilder getKeySetOrBuilder() {
       if (keySetBuilder_ != null) {
         return keySetBuilder_.getMessageOrBuilder();
       } else {
-        return keySet_ == null ? com.google.spanner.v1.KeySet.getDefaultInstance() : keySet_;
+        return keySet_ == null ?
+            com.google.spanner.v1.KeySet.getDefaultInstance() : keySet_;
       }
     }
     /**
-     *
-     *
      * 
      * Required. `key_set` identifies the rows to be yielded. `key_set` names the
      * primary keys of the rows in [table][google.spanner.v1.PartitionReadRequest.table] to be yielded, unless [index][google.spanner.v1.PartitionReadRequest.index]
@@ -1907,17 +1698,14 @@ public com.google.spanner.v1.KeySetOrBuilder getKeySetOrBuilder() {
      * .google.spanner.v1.KeySet key_set = 6 [(.google.api.field_behavior) = REQUIRED];
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.KeySet,
-            com.google.spanner.v1.KeySet.Builder,
-            com.google.spanner.v1.KeySetOrBuilder>
+        com.google.spanner.v1.KeySet, com.google.spanner.v1.KeySet.Builder, com.google.spanner.v1.KeySetOrBuilder> 
         getKeySetFieldBuilder() {
       if (keySetBuilder_ == null) {
-        keySetBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.v1.KeySet,
-                com.google.spanner.v1.KeySet.Builder,
-                com.google.spanner.v1.KeySetOrBuilder>(
-                getKeySet(), getParentForChildren(), isClean());
+        keySetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.v1.KeySet, com.google.spanner.v1.KeySet.Builder, com.google.spanner.v1.KeySetOrBuilder>(
+                getKeySet(),
+                getParentForChildren(),
+                isClean());
         keySet_ = null;
       }
       return keySetBuilder_;
@@ -1925,47 +1713,34 @@ public com.google.spanner.v1.KeySetOrBuilder getKeySetOrBuilder() {
 
     private com.google.spanner.v1.PartitionOptions partitionOptions_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.PartitionOptions,
-            com.google.spanner.v1.PartitionOptions.Builder,
-            com.google.spanner.v1.PartitionOptionsOrBuilder>
-        partitionOptionsBuilder_;
+        com.google.spanner.v1.PartitionOptions, com.google.spanner.v1.PartitionOptions.Builder, com.google.spanner.v1.PartitionOptionsOrBuilder> partitionOptionsBuilder_;
     /**
-     *
-     *
      * 
      * Additional options that affect how many partitions are created.
      * 
* * .google.spanner.v1.PartitionOptions partition_options = 9; - * * @return Whether the partitionOptions field is set. */ public boolean hasPartitionOptions() { return ((bitField0_ & 0x00000040) != 0); } /** - * - * *
      * Additional options that affect how many partitions are created.
      * 
* * .google.spanner.v1.PartitionOptions partition_options = 9; - * * @return The partitionOptions. */ public com.google.spanner.v1.PartitionOptions getPartitionOptions() { if (partitionOptionsBuilder_ == null) { - return partitionOptions_ == null - ? com.google.spanner.v1.PartitionOptions.getDefaultInstance() - : partitionOptions_; + return partitionOptions_ == null ? com.google.spanner.v1.PartitionOptions.getDefaultInstance() : partitionOptions_; } else { return partitionOptionsBuilder_.getMessage(); } } /** - * - * *
      * Additional options that affect how many partitions are created.
      * 
@@ -1986,8 +1761,6 @@ public Builder setPartitionOptions(com.google.spanner.v1.PartitionOptions value) return this; } /** - * - * *
      * Additional options that affect how many partitions are created.
      * 
@@ -2006,8 +1779,6 @@ public Builder setPartitionOptions( return this; } /** - * - * *
      * Additional options that affect how many partitions are created.
      * 
@@ -2016,9 +1787,9 @@ public Builder setPartitionOptions( */ public Builder mergePartitionOptions(com.google.spanner.v1.PartitionOptions value) { if (partitionOptionsBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) - && partitionOptions_ != null - && partitionOptions_ != com.google.spanner.v1.PartitionOptions.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) && + partitionOptions_ != null && + partitionOptions_ != com.google.spanner.v1.PartitionOptions.getDefaultInstance()) { getPartitionOptionsBuilder().mergeFrom(value); } else { partitionOptions_ = value; @@ -2031,8 +1802,6 @@ public Builder mergePartitionOptions(com.google.spanner.v1.PartitionOptions valu return this; } /** - * - * *
      * Additional options that affect how many partitions are created.
      * 
@@ -2050,8 +1819,6 @@ public Builder clearPartitionOptions() { return this; } /** - * - * *
      * Additional options that affect how many partitions are created.
      * 
@@ -2064,8 +1831,6 @@ public com.google.spanner.v1.PartitionOptions.Builder getPartitionOptionsBuilder return getPartitionOptionsFieldBuilder().getBuilder(); } /** - * - * *
      * Additional options that affect how many partitions are created.
      * 
@@ -2076,14 +1841,11 @@ public com.google.spanner.v1.PartitionOptionsOrBuilder getPartitionOptionsOrBuil if (partitionOptionsBuilder_ != null) { return partitionOptionsBuilder_.getMessageOrBuilder(); } else { - return partitionOptions_ == null - ? com.google.spanner.v1.PartitionOptions.getDefaultInstance() - : partitionOptions_; + return partitionOptions_ == null ? + com.google.spanner.v1.PartitionOptions.getDefaultInstance() : partitionOptions_; } } /** - * - * *
      * Additional options that affect how many partitions are created.
      * 
@@ -2091,24 +1853,21 @@ public com.google.spanner.v1.PartitionOptionsOrBuilder getPartitionOptionsOrBuil * .google.spanner.v1.PartitionOptions partition_options = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.PartitionOptions, - com.google.spanner.v1.PartitionOptions.Builder, - com.google.spanner.v1.PartitionOptionsOrBuilder> + com.google.spanner.v1.PartitionOptions, com.google.spanner.v1.PartitionOptions.Builder, com.google.spanner.v1.PartitionOptionsOrBuilder> getPartitionOptionsFieldBuilder() { if (partitionOptionsBuilder_ == null) { - partitionOptionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.PartitionOptions, - com.google.spanner.v1.PartitionOptions.Builder, - com.google.spanner.v1.PartitionOptionsOrBuilder>( - getPartitionOptions(), getParentForChildren(), isClean()); + partitionOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.v1.PartitionOptions, com.google.spanner.v1.PartitionOptions.Builder, com.google.spanner.v1.PartitionOptionsOrBuilder>( + getPartitionOptions(), + getParentForChildren(), + isClean()); partitionOptions_ = null; } return partitionOptionsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2118,12 +1877,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.v1.PartitionReadRequest) } // @@protoc_insertion_point(class_scope:google.spanner.v1.PartitionReadRequest) private static final com.google.spanner.v1.PartitionReadRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.v1.PartitionReadRequest(); } @@ -2132,27 +1891,27 @@ public static com.google.spanner.v1.PartitionReadRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PartitionReadRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PartitionReadRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2167,4 +1926,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.PartitionReadRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionReadRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionReadRequestOrBuilder.java similarity index 83% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionReadRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionReadRequestOrBuilder.java index 3b178f71836..dc3bb3d0b8f 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionReadRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionReadRequestOrBuilder.java @@ -1,86 +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/spanner/v1/spanner.proto package com.google.spanner.v1; -public interface PartitionReadRequestOrBuilder - extends +public interface PartitionReadRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.PartitionReadRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The session used to create the partitions.
    * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The session. */ java.lang.String getSession(); /** - * - * *
    * Required. The session used to create the partitions.
    * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for session. */ - com.google.protobuf.ByteString getSessionBytes(); + com.google.protobuf.ByteString + getSessionBytes(); /** - * - * *
    * Read only snapshot transactions are supported, read/write and single use
    * transactions are not.
    * 
* * .google.spanner.v1.TransactionSelector transaction = 2; - * * @return Whether the transaction field is set. */ boolean hasTransaction(); /** - * - * *
    * Read only snapshot transactions are supported, read/write and single use
    * transactions are not.
    * 
* * .google.spanner.v1.TransactionSelector transaction = 2; - * * @return The transaction. */ com.google.spanner.v1.TransactionSelector getTransaction(); /** - * - * *
    * Read only snapshot transactions are supported, read/write and single use
    * transactions are not.
@@ -91,33 +58,26 @@ public interface PartitionReadRequestOrBuilder
   com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilder();
 
   /**
-   *
-   *
    * 
    * Required. The name of the table in the database to be read.
    * 
* * string table = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The table. */ java.lang.String getTable(); /** - * - * *
    * Required. The name of the table in the database to be read.
    * 
* * string table = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for table. */ - com.google.protobuf.ByteString getTableBytes(); + com.google.protobuf.ByteString + getTableBytes(); /** - * - * *
    * If non-empty, the name of an index on [table][google.spanner.v1.PartitionReadRequest.table]. This index is
    * used instead of the table primary key when interpreting [key_set][google.spanner.v1.PartitionReadRequest.key_set]
@@ -125,13 +85,10 @@ public interface PartitionReadRequestOrBuilder
    * 
* * string index = 4; - * * @return The index. */ java.lang.String getIndex(); /** - * - * *
    * If non-empty, the name of an index on [table][google.spanner.v1.PartitionReadRequest.table]. This index is
    * used instead of the table primary key when interpreting [key_set][google.spanner.v1.PartitionReadRequest.key_set]
@@ -139,69 +96,57 @@ public interface PartitionReadRequestOrBuilder
    * 
* * string index = 4; - * * @return The bytes for index. */ - com.google.protobuf.ByteString getIndexBytes(); + com.google.protobuf.ByteString + getIndexBytes(); /** - * - * *
    * The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be returned for each row matching
    * this request.
    * 
* * repeated string columns = 5; - * * @return A list containing the columns. */ - java.util.List getColumnsList(); + java.util.List + getColumnsList(); /** - * - * *
    * The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be returned for each row matching
    * this request.
    * 
* * repeated string columns = 5; - * * @return The count of columns. */ int getColumnsCount(); /** - * - * *
    * The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be returned for each row matching
    * this request.
    * 
* * repeated string columns = 5; - * * @param index The index of the element to return. * @return The columns at the given index. */ java.lang.String getColumns(int index); /** - * - * *
    * The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be returned for each row matching
    * this request.
    * 
* * repeated string columns = 5; - * * @param index The index of the value to return. * @return The bytes of the columns at the given index. */ - com.google.protobuf.ByteString getColumnsBytes(int index); + com.google.protobuf.ByteString + getColumnsBytes(int index); /** - * - * *
    * Required. `key_set` identifies the rows to be yielded. `key_set` names the
    * primary keys of the rows in [table][google.spanner.v1.PartitionReadRequest.table] to be yielded, unless [index][google.spanner.v1.PartitionReadRequest.index]
@@ -212,13 +157,10 @@ public interface PartitionReadRequestOrBuilder
    * 
* * .google.spanner.v1.KeySet key_set = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the keySet field is set. */ boolean hasKeySet(); /** - * - * *
    * Required. `key_set` identifies the rows to be yielded. `key_set` names the
    * primary keys of the rows in [table][google.spanner.v1.PartitionReadRequest.table] to be yielded, unless [index][google.spanner.v1.PartitionReadRequest.index]
@@ -229,13 +171,10 @@ public interface PartitionReadRequestOrBuilder
    * 
* * .google.spanner.v1.KeySet key_set = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The keySet. */ com.google.spanner.v1.KeySet getKeySet(); /** - * - * *
    * Required. `key_set` identifies the rows to be yielded. `key_set` names the
    * primary keys of the rows in [table][google.spanner.v1.PartitionReadRequest.table] to be yielded, unless [index][google.spanner.v1.PartitionReadRequest.index]
@@ -250,32 +189,24 @@ public interface PartitionReadRequestOrBuilder
   com.google.spanner.v1.KeySetOrBuilder getKeySetOrBuilder();
 
   /**
-   *
-   *
    * 
    * Additional options that affect how many partitions are created.
    * 
* * .google.spanner.v1.PartitionOptions partition_options = 9; - * * @return Whether the partitionOptions field is set. */ boolean hasPartitionOptions(); /** - * - * *
    * Additional options that affect how many partitions are created.
    * 
* * .google.spanner.v1.PartitionOptions partition_options = 9; - * * @return The partitionOptions. */ com.google.spanner.v1.PartitionOptions getPartitionOptions(); /** - * - * *
    * Additional options that affect how many partitions are created.
    * 
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionResponse.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionResponse.java similarity index 71% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionResponse.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionResponse.java index 5216448c858..058e144d3a4 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionResponse.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/spanner/v1/spanner.proto package com.google.spanner.v1; /** - * - * *
  * The response for [PartitionQuery][google.spanner.v1.Spanner.PartitionQuery]
  * or [PartitionRead][google.spanner.v1.Spanner.PartitionRead]
@@ -28,53 +11,48 @@
  *
  * Protobuf type {@code google.spanner.v1.PartitionResponse}
  */
-public final class PartitionResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class PartitionResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.v1.PartitionResponse)
     PartitionResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use PartitionResponse.newBuilder() to construct.
   private PartitionResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private PartitionResponse() {
     partitions_ = 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 PartitionResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.v1.SpannerProto
-        .internal_static_google_spanner_v1_PartitionResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_PartitionResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.v1.SpannerProto
-        .internal_static_google_spanner_v1_PartitionResponse_fieldAccessorTable
+    return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_PartitionResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.v1.PartitionResponse.class,
-            com.google.spanner.v1.PartitionResponse.Builder.class);
+            com.google.spanner.v1.PartitionResponse.class, com.google.spanner.v1.PartitionResponse.Builder.class);
   }
 
   public static final int PARTITIONS_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private java.util.List partitions_;
   /**
-   *
-   *
    * 
    * Partitions created by this request.
    * 
@@ -86,8 +64,6 @@ public java.util.List getPartitionsList() { return partitions_; } /** - * - * *
    * Partitions created by this request.
    * 
@@ -95,13 +71,11 @@ public java.util.List getPartitionsList() { * repeated .google.spanner.v1.Partition partitions = 1; */ @java.lang.Override - public java.util.List + public java.util.List getPartitionsOrBuilderList() { return partitions_; } /** - * - * *
    * Partitions created by this request.
    * 
@@ -113,8 +87,6 @@ public int getPartitionsCount() { return partitions_.size(); } /** - * - * *
    * Partitions created by this request.
    * 
@@ -126,8 +98,6 @@ public com.google.spanner.v1.Partition getPartitions(int index) { return partitions_.get(index); } /** - * - * *
    * Partitions created by this request.
    * 
@@ -135,21 +105,19 @@ public com.google.spanner.v1.Partition getPartitions(int index) { * repeated .google.spanner.v1.Partition partitions = 1; */ @java.lang.Override - public com.google.spanner.v1.PartitionOrBuilder getPartitionsOrBuilder(int index) { + public com.google.spanner.v1.PartitionOrBuilder getPartitionsOrBuilder( + int index) { return partitions_.get(index); } public static final int TRANSACTION_FIELD_NUMBER = 2; private com.google.spanner.v1.Transaction transaction_; /** - * - * *
    * Transaction created by this request.
    * 
* * .google.spanner.v1.Transaction transaction = 2; - * * @return Whether the transaction field is set. */ @java.lang.Override @@ -157,25 +125,18 @@ public boolean hasTransaction() { return transaction_ != null; } /** - * - * *
    * Transaction created by this request.
    * 
* * .google.spanner.v1.Transaction transaction = 2; - * * @return The transaction. */ @java.lang.Override public com.google.spanner.v1.Transaction getTransaction() { - return transaction_ == null - ? com.google.spanner.v1.Transaction.getDefaultInstance() - : transaction_; + return transaction_ == null ? com.google.spanner.v1.Transaction.getDefaultInstance() : transaction_; } /** - * - * *
    * Transaction created by this request.
    * 
@@ -184,13 +145,10 @@ public com.google.spanner.v1.Transaction getTransaction() { */ @java.lang.Override public com.google.spanner.v1.TransactionOrBuilder getTransactionOrBuilder() { - return transaction_ == null - ? com.google.spanner.v1.Transaction.getDefaultInstance() - : transaction_; + return transaction_ == null ? com.google.spanner.v1.Transaction.getDefaultInstance() : transaction_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -202,7 +160,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < partitions_.size(); i++) { output.writeMessage(1, partitions_.get(i)); } @@ -219,10 +178,12 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < partitions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, partitions_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, partitions_.get(i)); } if (transaction_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTransaction()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTransaction()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -232,17 +193,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.v1.PartitionResponse)) { return super.equals(obj); } com.google.spanner.v1.PartitionResponse other = (com.google.spanner.v1.PartitionResponse) obj; - if (!getPartitionsList().equals(other.getPartitionsList())) return false; + if (!getPartitionsList() + .equals(other.getPartitionsList())) return false; if (hasTransaction() != other.hasTransaction()) return false; if (hasTransaction()) { - if (!getTransaction().equals(other.getTransaction())) return false; + if (!getTransaction() + .equals(other.getTransaction())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -268,104 +231,97 @@ public int hashCode() { return hash; } - public static com.google.spanner.v1.PartitionResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.v1.PartitionResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.PartitionResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.PartitionResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.PartitionResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.PartitionResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.PartitionResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.PartitionResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.PartitionResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.spanner.v1.PartitionResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.v1.PartitionResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.v1.PartitionResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.PartitionResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.PartitionResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.v1.PartitionResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [PartitionQuery][google.spanner.v1.Spanner.PartitionQuery]
    * or [PartitionRead][google.spanner.v1.Spanner.PartitionRead]
@@ -373,32 +329,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.v1.PartitionResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.v1.PartitionResponse)
       com.google.spanner.v1.PartitionResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.v1.SpannerProto
-          .internal_static_google_spanner_v1_PartitionResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_PartitionResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.v1.SpannerProto
-          .internal_static_google_spanner_v1_PartitionResponse_fieldAccessorTable
+      return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_PartitionResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.v1.PartitionResponse.class,
-              com.google.spanner.v1.PartitionResponse.Builder.class);
+              com.google.spanner.v1.PartitionResponse.class, com.google.spanner.v1.PartitionResponse.Builder.class);
     }
 
     // Construct using com.google.spanner.v1.PartitionResponse.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -419,9 +376,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.v1.SpannerProto
-          .internal_static_google_spanner_v1_PartitionResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_PartitionResponse_descriptor;
     }
 
     @java.lang.Override
@@ -440,12 +397,9 @@ public com.google.spanner.v1.PartitionResponse build() {
 
     @java.lang.Override
     public com.google.spanner.v1.PartitionResponse buildPartial() {
-      com.google.spanner.v1.PartitionResponse result =
-          new com.google.spanner.v1.PartitionResponse(this);
+      com.google.spanner.v1.PartitionResponse result = new com.google.spanner.v1.PartitionResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -465,8 +419,9 @@ private void buildPartialRepeatedFields(com.google.spanner.v1.PartitionResponse
     private void buildPartial0(com.google.spanner.v1.PartitionResponse result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.transaction_ =
-            transactionBuilder_ == null ? transaction_ : transactionBuilder_.build();
+        result.transaction_ = transactionBuilder_ == null
+            ? transaction_
+            : transactionBuilder_.build();
       }
     }
 
@@ -474,39 +429,38 @@ private void buildPartial0(com.google.spanner.v1.PartitionResponse 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.spanner.v1.PartitionResponse) {
-        return mergeFrom((com.google.spanner.v1.PartitionResponse) other);
+        return mergeFrom((com.google.spanner.v1.PartitionResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -533,10 +487,9 @@ public Builder mergeFrom(com.google.spanner.v1.PartitionResponse other) {
             partitionsBuilder_ = null;
             partitions_ = other.partitions_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            partitionsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getPartitionsFieldBuilder()
-                    : null;
+            partitionsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getPartitionsFieldBuilder() : null;
           } else {
             partitionsBuilder_.addAllMessages(other.partitions_);
           }
@@ -571,31 +524,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.spanner.v1.Partition m =
-                    input.readMessage(com.google.spanner.v1.Partition.parser(), extensionRegistry);
-                if (partitionsBuilder_ == null) {
-                  ensurePartitionsIsMutable();
-                  partitions_.add(m);
-                } else {
-                  partitionsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getTransactionFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              com.google.spanner.v1.Partition m =
+                  input.readMessage(
+                      com.google.spanner.v1.Partition.parser(),
+                      extensionRegistry);
+              if (partitionsBuilder_ == null) {
+                ensurePartitionsIsMutable();
+                partitions_.add(m);
+              } else {
+                partitionsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getTransactionFieldBuilder().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) {
@@ -605,28 +559,21 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List partitions_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensurePartitionsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         partitions_ = new java.util.ArrayList(partitions_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.spanner.v1.Partition,
-            com.google.spanner.v1.Partition.Builder,
-            com.google.spanner.v1.PartitionOrBuilder>
-        partitionsBuilder_;
+        com.google.spanner.v1.Partition, com.google.spanner.v1.Partition.Builder, com.google.spanner.v1.PartitionOrBuilder> partitionsBuilder_;
 
     /**
-     *
-     *
      * 
      * Partitions created by this request.
      * 
@@ -641,8 +588,6 @@ public java.util.List getPartitionsList() { } } /** - * - * *
      * Partitions created by this request.
      * 
@@ -657,8 +602,6 @@ public int getPartitionsCount() { } } /** - * - * *
      * Partitions created by this request.
      * 
@@ -673,15 +616,14 @@ public com.google.spanner.v1.Partition getPartitions(int index) { } } /** - * - * *
      * Partitions created by this request.
      * 
* * repeated .google.spanner.v1.Partition partitions = 1; */ - public Builder setPartitions(int index, com.google.spanner.v1.Partition value) { + public Builder setPartitions( + int index, com.google.spanner.v1.Partition value) { if (partitionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -695,8 +637,6 @@ public Builder setPartitions(int index, com.google.spanner.v1.Partition value) { return this; } /** - * - * *
      * Partitions created by this request.
      * 
@@ -715,8 +655,6 @@ public Builder setPartitions( return this; } /** - * - * *
      * Partitions created by this request.
      * 
@@ -737,15 +675,14 @@ public Builder addPartitions(com.google.spanner.v1.Partition value) { return this; } /** - * - * *
      * Partitions created by this request.
      * 
* * repeated .google.spanner.v1.Partition partitions = 1; */ - public Builder addPartitions(int index, com.google.spanner.v1.Partition value) { + public Builder addPartitions( + int index, com.google.spanner.v1.Partition value) { if (partitionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -759,15 +696,14 @@ public Builder addPartitions(int index, com.google.spanner.v1.Partition value) { return this; } /** - * - * *
      * Partitions created by this request.
      * 
* * repeated .google.spanner.v1.Partition partitions = 1; */ - public Builder addPartitions(com.google.spanner.v1.Partition.Builder builderForValue) { + public Builder addPartitions( + com.google.spanner.v1.Partition.Builder builderForValue) { if (partitionsBuilder_ == null) { ensurePartitionsIsMutable(); partitions_.add(builderForValue.build()); @@ -778,8 +714,6 @@ public Builder addPartitions(com.google.spanner.v1.Partition.Builder builderForV return this; } /** - * - * *
      * Partitions created by this request.
      * 
@@ -798,8 +732,6 @@ public Builder addPartitions( return this; } /** - * - * *
      * Partitions created by this request.
      * 
@@ -810,7 +742,8 @@ public Builder addAllPartitions( java.lang.Iterable values) { if (partitionsBuilder_ == null) { ensurePartitionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, partitions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, partitions_); onChanged(); } else { partitionsBuilder_.addAllMessages(values); @@ -818,8 +751,6 @@ public Builder addAllPartitions( return this; } /** - * - * *
      * Partitions created by this request.
      * 
@@ -837,8 +768,6 @@ public Builder clearPartitions() { return this; } /** - * - * *
      * Partitions created by this request.
      * 
@@ -856,44 +785,39 @@ public Builder removePartitions(int index) { return this; } /** - * - * *
      * Partitions created by this request.
      * 
* * repeated .google.spanner.v1.Partition partitions = 1; */ - public com.google.spanner.v1.Partition.Builder getPartitionsBuilder(int index) { + public com.google.spanner.v1.Partition.Builder getPartitionsBuilder( + int index) { return getPartitionsFieldBuilder().getBuilder(index); } /** - * - * *
      * Partitions created by this request.
      * 
* * repeated .google.spanner.v1.Partition partitions = 1; */ - public com.google.spanner.v1.PartitionOrBuilder getPartitionsOrBuilder(int index) { + public com.google.spanner.v1.PartitionOrBuilder getPartitionsOrBuilder( + int index) { if (partitionsBuilder_ == null) { - return partitions_.get(index); - } else { + return partitions_.get(index); } else { return partitionsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Partitions created by this request.
      * 
* * repeated .google.spanner.v1.Partition partitions = 1; */ - public java.util.List - getPartitionsOrBuilderList() { + public java.util.List + getPartitionsOrBuilderList() { if (partitionsBuilder_ != null) { return partitionsBuilder_.getMessageOrBuilderList(); } else { @@ -901,8 +825,6 @@ public com.google.spanner.v1.PartitionOrBuilder getPartitionsOrBuilder(int index } } /** - * - * *
      * Partitions created by this request.
      * 
@@ -910,47 +832,42 @@ public com.google.spanner.v1.PartitionOrBuilder getPartitionsOrBuilder(int index * repeated .google.spanner.v1.Partition partitions = 1; */ public com.google.spanner.v1.Partition.Builder addPartitionsBuilder() { - return getPartitionsFieldBuilder() - .addBuilder(com.google.spanner.v1.Partition.getDefaultInstance()); + return getPartitionsFieldBuilder().addBuilder( + com.google.spanner.v1.Partition.getDefaultInstance()); } /** - * - * *
      * Partitions created by this request.
      * 
* * repeated .google.spanner.v1.Partition partitions = 1; */ - public com.google.spanner.v1.Partition.Builder addPartitionsBuilder(int index) { - return getPartitionsFieldBuilder() - .addBuilder(index, com.google.spanner.v1.Partition.getDefaultInstance()); + public com.google.spanner.v1.Partition.Builder addPartitionsBuilder( + int index) { + return getPartitionsFieldBuilder().addBuilder( + index, com.google.spanner.v1.Partition.getDefaultInstance()); } /** - * - * *
      * Partitions created by this request.
      * 
* * repeated .google.spanner.v1.Partition partitions = 1; */ - public java.util.List getPartitionsBuilderList() { + public java.util.List + getPartitionsBuilderList() { return getPartitionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.v1.Partition, - com.google.spanner.v1.Partition.Builder, - com.google.spanner.v1.PartitionOrBuilder> + com.google.spanner.v1.Partition, com.google.spanner.v1.Partition.Builder, com.google.spanner.v1.PartitionOrBuilder> getPartitionsFieldBuilder() { if (partitionsBuilder_ == null) { - partitionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.v1.Partition, - com.google.spanner.v1.Partition.Builder, - com.google.spanner.v1.PartitionOrBuilder>( - partitions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + partitionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.spanner.v1.Partition, com.google.spanner.v1.Partition.Builder, com.google.spanner.v1.PartitionOrBuilder>( + partitions_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); partitions_ = null; } return partitionsBuilder_; @@ -958,47 +875,34 @@ public java.util.List getPartitionsBuil private com.google.spanner.v1.Transaction transaction_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.Transaction, - com.google.spanner.v1.Transaction.Builder, - com.google.spanner.v1.TransactionOrBuilder> - transactionBuilder_; + com.google.spanner.v1.Transaction, com.google.spanner.v1.Transaction.Builder, com.google.spanner.v1.TransactionOrBuilder> transactionBuilder_; /** - * - * *
      * Transaction created by this request.
      * 
* * .google.spanner.v1.Transaction transaction = 2; - * * @return Whether the transaction field is set. */ public boolean hasTransaction() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Transaction created by this request.
      * 
* * .google.spanner.v1.Transaction transaction = 2; - * * @return The transaction. */ public com.google.spanner.v1.Transaction getTransaction() { if (transactionBuilder_ == null) { - return transaction_ == null - ? com.google.spanner.v1.Transaction.getDefaultInstance() - : transaction_; + return transaction_ == null ? com.google.spanner.v1.Transaction.getDefaultInstance() : transaction_; } else { return transactionBuilder_.getMessage(); } } /** - * - * *
      * Transaction created by this request.
      * 
@@ -1019,15 +923,14 @@ public Builder setTransaction(com.google.spanner.v1.Transaction value) { return this; } /** - * - * *
      * Transaction created by this request.
      * 
* * .google.spanner.v1.Transaction transaction = 2; */ - public Builder setTransaction(com.google.spanner.v1.Transaction.Builder builderForValue) { + public Builder setTransaction( + com.google.spanner.v1.Transaction.Builder builderForValue) { if (transactionBuilder_ == null) { transaction_ = builderForValue.build(); } else { @@ -1038,8 +941,6 @@ public Builder setTransaction(com.google.spanner.v1.Transaction.Builder builderF return this; } /** - * - * *
      * Transaction created by this request.
      * 
@@ -1048,9 +949,9 @@ public Builder setTransaction(com.google.spanner.v1.Transaction.Builder builderF */ public Builder mergeTransaction(com.google.spanner.v1.Transaction value) { if (transactionBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && transaction_ != null - && transaction_ != com.google.spanner.v1.Transaction.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + transaction_ != null && + transaction_ != com.google.spanner.v1.Transaction.getDefaultInstance()) { getTransactionBuilder().mergeFrom(value); } else { transaction_ = value; @@ -1063,8 +964,6 @@ public Builder mergeTransaction(com.google.spanner.v1.Transaction value) { return this; } /** - * - * *
      * Transaction created by this request.
      * 
@@ -1082,8 +981,6 @@ public Builder clearTransaction() { return this; } /** - * - * *
      * Transaction created by this request.
      * 
@@ -1096,8 +993,6 @@ public com.google.spanner.v1.Transaction.Builder getTransactionBuilder() { return getTransactionFieldBuilder().getBuilder(); } /** - * - * *
      * Transaction created by this request.
      * 
@@ -1108,14 +1003,11 @@ public com.google.spanner.v1.TransactionOrBuilder getTransactionOrBuilder() { if (transactionBuilder_ != null) { return transactionBuilder_.getMessageOrBuilder(); } else { - return transaction_ == null - ? com.google.spanner.v1.Transaction.getDefaultInstance() - : transaction_; + return transaction_ == null ? + com.google.spanner.v1.Transaction.getDefaultInstance() : transaction_; } } /** - * - * *
      * Transaction created by this request.
      * 
@@ -1123,24 +1015,21 @@ public com.google.spanner.v1.TransactionOrBuilder getTransactionOrBuilder() { * .google.spanner.v1.Transaction transaction = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.Transaction, - com.google.spanner.v1.Transaction.Builder, - com.google.spanner.v1.TransactionOrBuilder> + com.google.spanner.v1.Transaction, com.google.spanner.v1.Transaction.Builder, com.google.spanner.v1.TransactionOrBuilder> getTransactionFieldBuilder() { if (transactionBuilder_ == null) { - transactionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.Transaction, - com.google.spanner.v1.Transaction.Builder, - com.google.spanner.v1.TransactionOrBuilder>( - getTransaction(), getParentForChildren(), isClean()); + transactionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.v1.Transaction, com.google.spanner.v1.Transaction.Builder, com.google.spanner.v1.TransactionOrBuilder>( + getTransaction(), + getParentForChildren(), + isClean()); transaction_ = null; } return transactionBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1150,12 +1039,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.v1.PartitionResponse) } // @@protoc_insertion_point(class_scope:google.spanner.v1.PartitionResponse) private static final com.google.spanner.v1.PartitionResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.v1.PartitionResponse(); } @@ -1164,27 +1053,27 @@ public static com.google.spanner.v1.PartitionResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PartitionResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PartitionResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1199,4 +1088,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.PartitionResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionResponseOrBuilder.java similarity index 69% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionResponseOrBuilder.java index 0015b84f03f..3ab60d3a4b3 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionResponseOrBuilder.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/spanner/v1/spanner.proto package com.google.spanner.v1; -public interface PartitionResponseOrBuilder - extends +public interface PartitionResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.PartitionResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Partitions created by this request.
    * 
* * repeated .google.spanner.v1.Partition partitions = 1; */ - java.util.List getPartitionsList(); + java.util.List + getPartitionsList(); /** - * - * *
    * Partitions created by this request.
    * 
@@ -44,8 +25,6 @@ public interface PartitionResponseOrBuilder */ com.google.spanner.v1.Partition getPartitions(int index); /** - * - * *
    * Partitions created by this request.
    * 
@@ -54,53 +33,43 @@ public interface PartitionResponseOrBuilder */ int getPartitionsCount(); /** - * - * *
    * Partitions created by this request.
    * 
* * repeated .google.spanner.v1.Partition partitions = 1; */ - java.util.List getPartitionsOrBuilderList(); + java.util.List + getPartitionsOrBuilderList(); /** - * - * *
    * Partitions created by this request.
    * 
* * repeated .google.spanner.v1.Partition partitions = 1; */ - com.google.spanner.v1.PartitionOrBuilder getPartitionsOrBuilder(int index); + com.google.spanner.v1.PartitionOrBuilder getPartitionsOrBuilder( + int index); /** - * - * *
    * Transaction created by this request.
    * 
* * .google.spanner.v1.Transaction transaction = 2; - * * @return Whether the transaction field is set. */ boolean hasTransaction(); /** - * - * *
    * Transaction created by this request.
    * 
* * .google.spanner.v1.Transaction transaction = 2; - * * @return The transaction. */ com.google.spanner.v1.Transaction getTransaction(); /** - * - * *
    * Transaction created by this request.
    * 
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PlanNode.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PlanNode.java similarity index 75% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PlanNode.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PlanNode.java index 21fc82e6924..ea9c4c2f67f 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PlanNode.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PlanNode.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/spanner/v1/query_plan.proto package com.google.spanner.v1; /** - * - * *
  * Node information for nodes appearing in a [QueryPlan.plan_nodes][google.spanner.v1.QueryPlan.plan_nodes].
  * 
* * Protobuf type {@code google.spanner.v1.PlanNode} */ -public final class PlanNode extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PlanNode extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.v1.PlanNode) PlanNodeOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PlanNode.newBuilder() to construct. private PlanNode(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PlanNode() { kind_ = 0; displayName_ = ""; @@ -45,32 +27,30 @@ private PlanNode() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PlanNode(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.QueryPlanProto - .internal_static_google_spanner_v1_PlanNode_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.QueryPlanProto.internal_static_google_spanner_v1_PlanNode_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.QueryPlanProto - .internal_static_google_spanner_v1_PlanNode_fieldAccessorTable + return com.google.spanner.v1.QueryPlanProto.internal_static_google_spanner_v1_PlanNode_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.spanner.v1.PlanNode.class, com.google.spanner.v1.PlanNode.Builder.class); } /** - * - * *
    * The kind of [PlanNode][google.spanner.v1.PlanNode]. Distinguishes between the two different kinds of
    * nodes that can appear in a query plan.
@@ -78,10 +58,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.spanner.v1.PlanNode.Kind}
    */
-  public enum Kind implements com.google.protobuf.ProtocolMessageEnum {
+  public enum Kind
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Not specified.
      * 
@@ -90,8 +69,6 @@ public enum Kind implements com.google.protobuf.ProtocolMessageEnum { */ KIND_UNSPECIFIED(0), /** - * - * *
      * Denotes a Relational operator node in the expression tree. Relational
      * operators represent iterative processing of rows during query execution.
@@ -102,8 +79,6 @@ public enum Kind implements com.google.protobuf.ProtocolMessageEnum {
      */
     RELATIONAL(1),
     /**
-     *
-     *
      * 
      * Denotes a Scalar node in the expression tree. Scalar nodes represent
      * non-iterable entities in the query plan. For example, constants or
@@ -118,8 +93,6 @@ public enum Kind implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Not specified.
      * 
@@ -128,8 +101,6 @@ public enum Kind implements com.google.protobuf.ProtocolMessageEnum { */ public static final int KIND_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Denotes a Relational operator node in the expression tree. Relational
      * operators represent iterative processing of rows during query execution.
@@ -140,8 +111,6 @@ public enum Kind implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int RELATIONAL_VALUE = 1;
     /**
-     *
-     *
      * 
      * Denotes a Scalar node in the expression tree. Scalar nodes represent
      * non-iterable entities in the query plan. For example, constants or
@@ -153,6 +122,7 @@ public enum Kind implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int SCALAR_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -177,49 +147,49 @@ public static Kind valueOf(int value) {
      */
     public static Kind forNumber(int value) {
       switch (value) {
-        case 0:
-          return KIND_UNSPECIFIED;
-        case 1:
-          return RELATIONAL;
-        case 2:
-          return SCALAR;
-        default:
-          return null;
+        case 0: return KIND_UNSPECIFIED;
+        case 1: return RELATIONAL;
+        case 2: return SCALAR;
+        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<
+        Kind> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public Kind findValueByNumber(int number) {
+              return Kind.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public Kind findValueByNumber(int number) {
-            return Kind.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.spanner.v1.PlanNode.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final Kind[] VALUES = values();
 
-    public static Kind valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Kind 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;
@@ -236,27 +206,21 @@ private Kind(int value) {
     // @@protoc_insertion_point(enum_scope:google.spanner.v1.PlanNode.Kind)
   }
 
-  public interface ChildLinkOrBuilder
-      extends
+  public interface ChildLinkOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.spanner.v1.PlanNode.ChildLink)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * The node to which the link points.
      * 
* * int32 child_index = 1; - * * @return The childIndex. */ int getChildIndex(); /** - * - * *
      * The type of the link. For example, in Hash Joins this could be used to
      * distinguish between the build child and the probe child, or in the case
@@ -265,13 +229,10 @@ public interface ChildLinkOrBuilder
      * 
* * string type = 2; - * * @return The type. */ java.lang.String getType(); /** - * - * *
      * The type of the link. For example, in Hash Joins this could be used to
      * distinguish between the build child and the probe child, or in the case
@@ -280,14 +241,12 @@ public interface ChildLinkOrBuilder
      * 
* * string type = 2; - * * @return The bytes for type. */ - com.google.protobuf.ByteString getTypeBytes(); + com.google.protobuf.ByteString + getTypeBytes(); /** - * - * *
      * Only present if the child node is [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] and corresponds
      * to an output variable of the parent node. The field carries the name of
@@ -300,13 +259,10 @@ public interface ChildLinkOrBuilder
      * 
* * string variable = 3; - * * @return The variable. */ java.lang.String getVariable(); /** - * - * *
      * Only present if the child node is [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] and corresponds
      * to an output variable of the parent node. The field carries the name of
@@ -319,14 +275,12 @@ public interface ChildLinkOrBuilder
      * 
* * string variable = 3; - * * @return The bytes for variable. */ - com.google.protobuf.ByteString getVariableBytes(); + com.google.protobuf.ByteString + getVariableBytes(); } /** - * - * *
    * Metadata associated with a parent-child relationship appearing in a
    * [PlanNode][google.spanner.v1.PlanNode].
@@ -334,16 +288,15 @@ public interface ChildLinkOrBuilder
    *
    * Protobuf type {@code google.spanner.v1.PlanNode.ChildLink}
    */
-  public static final class ChildLink extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class ChildLink extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.spanner.v1.PlanNode.ChildLink)
       ChildLinkOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use ChildLink.newBuilder() to construct.
     private ChildLink(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private ChildLink() {
       type_ = "";
       variable_ = "";
@@ -351,41 +304,37 @@ private ChildLink() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new ChildLink();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.v1.QueryPlanProto
-          .internal_static_google_spanner_v1_PlanNode_ChildLink_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.v1.QueryPlanProto.internal_static_google_spanner_v1_PlanNode_ChildLink_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.v1.QueryPlanProto
-          .internal_static_google_spanner_v1_PlanNode_ChildLink_fieldAccessorTable
+      return com.google.spanner.v1.QueryPlanProto.internal_static_google_spanner_v1_PlanNode_ChildLink_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.v1.PlanNode.ChildLink.class,
-              com.google.spanner.v1.PlanNode.ChildLink.Builder.class);
+              com.google.spanner.v1.PlanNode.ChildLink.class, com.google.spanner.v1.PlanNode.ChildLink.Builder.class);
     }
 
     public static final int CHILD_INDEX_FIELD_NUMBER = 1;
     private int childIndex_ = 0;
     /**
-     *
-     *
      * 
      * The node to which the link points.
      * 
* * int32 child_index = 1; - * * @return The childIndex. */ @java.lang.Override @@ -394,12 +343,9 @@ public int getChildIndex() { } public static final int TYPE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object type_ = ""; /** - * - * *
      * The type of the link. For example, in Hash Joins this could be used to
      * distinguish between the build child and the probe child, or in the case
@@ -408,7 +354,6 @@ public int getChildIndex() {
      * 
* * string type = 2; - * * @return The type. */ @java.lang.Override @@ -417,15 +362,14 @@ public java.lang.String getType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); type_ = s; return s; } } /** - * - * *
      * The type of the link. For example, in Hash Joins this could be used to
      * distinguish between the build child and the probe child, or in the case
@@ -434,15 +378,16 @@ public java.lang.String getType() {
      * 
* * string type = 2; - * * @return The bytes for type. */ @java.lang.Override - public com.google.protobuf.ByteString getTypeBytes() { + public com.google.protobuf.ByteString + getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); type_ = b; return b; } else { @@ -451,12 +396,9 @@ public com.google.protobuf.ByteString getTypeBytes() { } public static final int VARIABLE_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object variable_ = ""; /** - * - * *
      * Only present if the child node is [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] and corresponds
      * to an output variable of the parent node. The field carries the name of
@@ -469,7 +411,6 @@ public com.google.protobuf.ByteString getTypeBytes() {
      * 
* * string variable = 3; - * * @return The variable. */ @java.lang.Override @@ -478,15 +419,14 @@ public java.lang.String getVariable() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); variable_ = s; return s; } } /** - * - * *
      * Only present if the child node is [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] and corresponds
      * to an output variable of the parent node. The field carries the name of
@@ -499,15 +439,16 @@ public java.lang.String getVariable() {
      * 
* * string variable = 3; - * * @return The bytes for variable. */ @java.lang.Override - public com.google.protobuf.ByteString getVariableBytes() { + public com.google.protobuf.ByteString + getVariableBytes() { java.lang.Object ref = variable_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); variable_ = b; return b; } else { @@ -516,7 +457,6 @@ public com.google.protobuf.ByteString getVariableBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -528,7 +468,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (childIndex_ != 0) { output.writeInt32(1, childIndex_); } @@ -548,7 +489,8 @@ public int getSerializedSize() { size = 0; if (childIndex_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, childIndex_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, childIndex_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, type_); @@ -564,17 +506,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.spanner.v1.PlanNode.ChildLink)) { return super.equals(obj); } - com.google.spanner.v1.PlanNode.ChildLink other = - (com.google.spanner.v1.PlanNode.ChildLink) obj; + com.google.spanner.v1.PlanNode.ChildLink other = (com.google.spanner.v1.PlanNode.ChildLink) obj; - if (getChildIndex() != other.getChildIndex()) return false; - if (!getType().equals(other.getType())) return false; - if (!getVariable().equals(other.getVariable())) return false; + if (getChildIndex() + != other.getChildIndex()) return false; + if (!getType() + .equals(other.getType())) return false; + if (!getVariable() + .equals(other.getVariable())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -597,94 +541,88 @@ public int hashCode() { return hash; } - public static com.google.spanner.v1.PlanNode.ChildLink parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.v1.PlanNode.ChildLink parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.PlanNode.ChildLink parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.PlanNode.ChildLink parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.PlanNode.ChildLink parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.PlanNode.ChildLink parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.PlanNode.ChildLink parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.PlanNode.ChildLink parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.PlanNode.ChildLink parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.spanner.v1.PlanNode.ChildLink parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.v1.PlanNode.ChildLink parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.v1.PlanNode.ChildLink parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.PlanNode.ChildLink parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.PlanNode.ChildLink parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.v1.PlanNode.ChildLink prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -694,8 +632,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Metadata associated with a parent-child relationship appearing in a
      * [PlanNode][google.spanner.v1.PlanNode].
@@ -703,33 +639,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.spanner.v1.PlanNode.ChildLink}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.spanner.v1.PlanNode.ChildLink)
         com.google.spanner.v1.PlanNode.ChildLinkOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.spanner.v1.QueryPlanProto
-            .internal_static_google_spanner_v1_PlanNode_ChildLink_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.spanner.v1.QueryPlanProto.internal_static_google_spanner_v1_PlanNode_ChildLink_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.spanner.v1.QueryPlanProto
-            .internal_static_google_spanner_v1_PlanNode_ChildLink_fieldAccessorTable
+        return com.google.spanner.v1.QueryPlanProto.internal_static_google_spanner_v1_PlanNode_ChildLink_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.spanner.v1.PlanNode.ChildLink.class,
-                com.google.spanner.v1.PlanNode.ChildLink.Builder.class);
+                com.google.spanner.v1.PlanNode.ChildLink.class, com.google.spanner.v1.PlanNode.ChildLink.Builder.class);
       }
 
       // Construct using com.google.spanner.v1.PlanNode.ChildLink.newBuilder()
-      private Builder() {}
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -741,9 +677,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.spanner.v1.QueryPlanProto
-            .internal_static_google_spanner_v1_PlanNode_ChildLink_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.spanner.v1.QueryPlanProto.internal_static_google_spanner_v1_PlanNode_ChildLink_descriptor;
       }
 
       @java.lang.Override
@@ -762,11 +698,8 @@ public com.google.spanner.v1.PlanNode.ChildLink build() {
 
       @java.lang.Override
       public com.google.spanner.v1.PlanNode.ChildLink buildPartial() {
-        com.google.spanner.v1.PlanNode.ChildLink result =
-            new com.google.spanner.v1.PlanNode.ChildLink(this);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        com.google.spanner.v1.PlanNode.ChildLink result = new com.google.spanner.v1.PlanNode.ChildLink(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
@@ -788,41 +721,38 @@ private void buildPartial0(com.google.spanner.v1.PlanNode.ChildLink 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.spanner.v1.PlanNode.ChildLink) {
-          return mergeFrom((com.google.spanner.v1.PlanNode.ChildLink) other);
+          return mergeFrom((com.google.spanner.v1.PlanNode.ChildLink)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -870,31 +800,27 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 8:
-                {
-                  childIndex_ = input.readInt32();
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 8
-              case 18:
-                {
-                  type_ = input.readStringRequireUtf8();
-                  bitField0_ |= 0x00000002;
-                  break;
-                } // case 18
-              case 26:
-                {
-                  variable_ = input.readStringRequireUtf8();
-                  bitField0_ |= 0x00000004;
-                  break;
-                } // case 26
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 8: {
+                childIndex_ = input.readInt32();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 8
+              case 18: {
+                type_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+              case 26: {
+                variable_ = 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) {
@@ -904,19 +830,15 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
-      private int childIndex_;
+      private int childIndex_ ;
       /**
-       *
-       *
        * 
        * The node to which the link points.
        * 
* * int32 child_index = 1; - * * @return The childIndex. */ @java.lang.Override @@ -924,33 +846,27 @@ public int getChildIndex() { return childIndex_; } /** - * - * *
        * The node to which the link points.
        * 
* * int32 child_index = 1; - * * @param value The childIndex to set. * @return This builder for chaining. */ public Builder setChildIndex(int value) { - + childIndex_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * The node to which the link points.
        * 
* * int32 child_index = 1; - * * @return This builder for chaining. */ public Builder clearChildIndex() { @@ -962,8 +878,6 @@ public Builder clearChildIndex() { private java.lang.Object type_ = ""; /** - * - * *
        * The type of the link. For example, in Hash Joins this could be used to
        * distinguish between the build child and the probe child, or in the case
@@ -972,13 +886,13 @@ public Builder clearChildIndex() {
        * 
* * string type = 2; - * * @return The type. */ public java.lang.String getType() { java.lang.Object ref = type_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); type_ = s; return s; @@ -987,8 +901,6 @@ public java.lang.String getType() { } } /** - * - * *
        * The type of the link. For example, in Hash Joins this could be used to
        * distinguish between the build child and the probe child, or in the case
@@ -997,14 +909,15 @@ public java.lang.String getType() {
        * 
* * string type = 2; - * * @return The bytes for type. */ - public com.google.protobuf.ByteString getTypeBytes() { + public com.google.protobuf.ByteString + getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); type_ = b; return b; } else { @@ -1012,8 +925,6 @@ public com.google.protobuf.ByteString getTypeBytes() { } } /** - * - * *
        * The type of the link. For example, in Hash Joins this could be used to
        * distinguish between the build child and the probe child, or in the case
@@ -1022,22 +933,18 @@ public com.google.protobuf.ByteString getTypeBytes() {
        * 
* * string type = 2; - * * @param value The type to set. * @return This builder for chaining. */ - public Builder setType(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setType( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } type_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * The type of the link. For example, in Hash Joins this could be used to
        * distinguish between the build child and the probe child, or in the case
@@ -1046,7 +953,6 @@ public Builder setType(java.lang.String value) {
        * 
* * string type = 2; - * * @return This builder for chaining. */ public Builder clearType() { @@ -1056,8 +962,6 @@ public Builder clearType() { return this; } /** - * - * *
        * The type of the link. For example, in Hash Joins this could be used to
        * distinguish between the build child and the probe child, or in the case
@@ -1066,14 +970,12 @@ public Builder clearType() {
        * 
* * string type = 2; - * * @param value The bytes for type to set. * @return This builder for chaining. */ - public Builder setTypeBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); type_ = value; bitField0_ |= 0x00000002; @@ -1083,8 +985,6 @@ public Builder setTypeBytes(com.google.protobuf.ByteString value) { private java.lang.Object variable_ = ""; /** - * - * *
        * Only present if the child node is [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] and corresponds
        * to an output variable of the parent node. The field carries the name of
@@ -1097,13 +997,13 @@ public Builder setTypeBytes(com.google.protobuf.ByteString value) {
        * 
* * string variable = 3; - * * @return The variable. */ public java.lang.String getVariable() { java.lang.Object ref = variable_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); variable_ = s; return s; @@ -1112,8 +1012,6 @@ public java.lang.String getVariable() { } } /** - * - * *
        * Only present if the child node is [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] and corresponds
        * to an output variable of the parent node. The field carries the name of
@@ -1126,14 +1024,15 @@ public java.lang.String getVariable() {
        * 
* * string variable = 3; - * * @return The bytes for variable. */ - public com.google.protobuf.ByteString getVariableBytes() { + public com.google.protobuf.ByteString + getVariableBytes() { java.lang.Object ref = variable_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); variable_ = b; return b; } else { @@ -1141,8 +1040,6 @@ public com.google.protobuf.ByteString getVariableBytes() { } } /** - * - * *
        * Only present if the child node is [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] and corresponds
        * to an output variable of the parent node. The field carries the name of
@@ -1155,22 +1052,18 @@ public com.google.protobuf.ByteString getVariableBytes() {
        * 
* * string variable = 3; - * * @param value The variable to set. * @return This builder for chaining. */ - public Builder setVariable(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setVariable( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } variable_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
        * Only present if the child node is [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] and corresponds
        * to an output variable of the parent node. The field carries the name of
@@ -1183,7 +1076,6 @@ public Builder setVariable(java.lang.String value) {
        * 
* * string variable = 3; - * * @return This builder for chaining. */ public Builder clearVariable() { @@ -1193,8 +1085,6 @@ public Builder clearVariable() { return this; } /** - * - * *
        * Only present if the child node is [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] and corresponds
        * to an output variable of the parent node. The field carries the name of
@@ -1207,21 +1097,18 @@ public Builder clearVariable() {
        * 
* * string variable = 3; - * * @param value The bytes for variable to set. * @return This builder for chaining. */ - public Builder setVariableBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setVariableBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); variable_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1234,12 +1121,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.v1.PlanNode.ChildLink) } // @@protoc_insertion_point(class_scope:google.spanner.v1.PlanNode.ChildLink) private static final com.google.spanner.v1.PlanNode.ChildLink DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.v1.PlanNode.ChildLink(); } @@ -1248,28 +1135,27 @@ public static com.google.spanner.v1.PlanNode.ChildLink getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ChildLink parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ChildLink parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1284,41 +1170,34 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.PlanNode.ChildLink getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ShortRepresentationOrBuilder - extends + public interface ShortRepresentationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.PlanNode.ShortRepresentation) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * A string representation of the expression subtree rooted at this node.
      * 
* * string description = 1; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
      * A string representation of the expression subtree rooted at this node.
      * 
* * string description = 1; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
      * A mapping of (subquery variable name) -> (subquery node id) for cases
      * where the `description` string of this node references a `SCALAR`
@@ -1331,8 +1210,6 @@ public interface ShortRepresentationOrBuilder
      */
     int getSubqueriesCount();
     /**
-     *
-     *
      * 
      * A mapping of (subquery variable name) -> (subquery node id) for cases
      * where the `description` string of this node references a `SCALAR`
@@ -1343,13 +1220,15 @@ public interface ShortRepresentationOrBuilder
      *
      * map<string, int32> subqueries = 2;
      */
-    boolean containsSubqueries(java.lang.String key);
-    /** Use {@link #getSubqueriesMap()} instead. */
+    boolean containsSubqueries(
+        java.lang.String key);
+    /**
+     * Use {@link #getSubqueriesMap()} instead.
+     */
     @java.lang.Deprecated
-    java.util.Map getSubqueries();
+    java.util.Map
+    getSubqueries();
     /**
-     *
-     *
      * 
      * A mapping of (subquery variable name) -> (subquery node id) for cases
      * where the `description` string of this node references a `SCALAR`
@@ -1360,10 +1239,9 @@ public interface ShortRepresentationOrBuilder
      *
      * map<string, int32> subqueries = 2;
      */
-    java.util.Map getSubqueriesMap();
+    java.util.Map
+    getSubqueriesMap();
     /**
-     *
-     *
      * 
      * A mapping of (subquery variable name) -> (subquery node id) for cases
      * where the `description` string of this node references a `SCALAR`
@@ -1374,10 +1252,10 @@ public interface ShortRepresentationOrBuilder
      *
      * map<string, int32> subqueries = 2;
      */
-    int getSubqueriesOrDefault(java.lang.String key, int defaultValue);
+    int getSubqueriesOrDefault(
+        java.lang.String key,
+        int defaultValue);
     /**
-     *
-     *
      * 
      * A mapping of (subquery variable name) -> (subquery node id) for cases
      * where the `description` string of this node references a `SCALAR`
@@ -1388,11 +1266,10 @@ public interface ShortRepresentationOrBuilder
      *
      * map<string, int32> subqueries = 2;
      */
-    int getSubqueriesOrThrow(java.lang.String key);
+    int getSubqueriesOrThrow(
+        java.lang.String key);
   }
   /**
-   *
-   *
    * 
    * Condensed representation of a node and its subtree. Only present for
    * `SCALAR` [PlanNode(s)][google.spanner.v1.PlanNode].
@@ -1400,70 +1277,65 @@ public interface ShortRepresentationOrBuilder
    *
    * Protobuf type {@code google.spanner.v1.PlanNode.ShortRepresentation}
    */
-  public static final class ShortRepresentation extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class ShortRepresentation extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.spanner.v1.PlanNode.ShortRepresentation)
       ShortRepresentationOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use ShortRepresentation.newBuilder() to construct.
     private ShortRepresentation(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private ShortRepresentation() {
       description_ = "";
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new ShortRepresentation();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.v1.QueryPlanProto
-          .internal_static_google_spanner_v1_PlanNode_ShortRepresentation_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.v1.QueryPlanProto.internal_static_google_spanner_v1_PlanNode_ShortRepresentation_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 internalGetSubqueries();
         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.spanner.v1.QueryPlanProto
-          .internal_static_google_spanner_v1_PlanNode_ShortRepresentation_fieldAccessorTable
+      return com.google.spanner.v1.QueryPlanProto.internal_static_google_spanner_v1_PlanNode_ShortRepresentation_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.v1.PlanNode.ShortRepresentation.class,
-              com.google.spanner.v1.PlanNode.ShortRepresentation.Builder.class);
+              com.google.spanner.v1.PlanNode.ShortRepresentation.class, com.google.spanner.v1.PlanNode.ShortRepresentation.Builder.class);
     }
 
     public static final int DESCRIPTION_FIELD_NUMBER = 1;
-
     @SuppressWarnings("serial")
     private volatile java.lang.Object description_ = "";
     /**
-     *
-     *
      * 
      * A string representation of the expression subtree rooted at this node.
      * 
* * string description = 1; - * * @return The description. */ @java.lang.Override @@ -1472,29 +1344,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; } } /** - * - * *
      * A string representation of the expression subtree rooted at this node.
      * 
* * string description = 1; - * * @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 { @@ -1503,36 +1375,32 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } public static final int SUBQUERIES_FIELD_NUMBER = 2; - private static final class SubqueriesDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.spanner.v1.QueryPlanProto - .internal_static_google_spanner_v1_PlanNode_ShortRepresentation_SubqueriesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.INT32, - 0); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.Integer> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.spanner.v1.QueryPlanProto.internal_static_google_spanner_v1_PlanNode_ShortRepresentation_SubqueriesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.INT32, + 0); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField subqueries_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.Integer> subqueries_; private com.google.protobuf.MapField - internalGetSubqueries() { + internalGetSubqueries() { if (subqueries_ == null) { return com.google.protobuf.MapField.emptyMapField( SubqueriesDefaultEntryHolder.defaultEntry); } return subqueries_; } - public int getSubqueriesCount() { return internalGetSubqueries().getMap().size(); } /** - * - * *
      * A mapping of (subquery variable name) -> (subquery node id) for cases
      * where the `description` string of this node references a `SCALAR`
@@ -1544,21 +1412,20 @@ public int getSubqueriesCount() {
      * map<string, int32> subqueries = 2;
      */
     @java.lang.Override
-    public boolean containsSubqueries(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsSubqueries(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetSubqueries().getMap().containsKey(key);
     }
-    /** Use {@link #getSubqueriesMap()} instead. */
+    /**
+     * Use {@link #getSubqueriesMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getSubqueries() {
       return getSubqueriesMap();
     }
     /**
-     *
-     *
      * 
      * A mapping of (subquery variable name) -> (subquery node id) for cases
      * where the `description` string of this node references a `SCALAR`
@@ -1574,8 +1441,6 @@ public java.util.Map getSubqueriesMap() {
       return internalGetSubqueries().getMap();
     }
     /**
-     *
-     *
      * 
      * A mapping of (subquery variable name) -> (subquery node id) for cases
      * where the `description` string of this node references a `SCALAR`
@@ -1587,16 +1452,15 @@ public java.util.Map getSubqueriesMap() {
      * map<string, int32> subqueries = 2;
      */
     @java.lang.Override
-    public int getSubqueriesOrDefault(java.lang.String key, int defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetSubqueries().getMap();
+    public int getSubqueriesOrDefault(
+        java.lang.String key,
+        int defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetSubqueries().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * A mapping of (subquery variable name) -> (subquery node id) for cases
      * where the `description` string of this node references a `SCALAR`
@@ -1608,11 +1472,11 @@ public int getSubqueriesOrDefault(java.lang.String key, int defaultValue) {
      * map<string, int32> subqueries = 2;
      */
     @java.lang.Override
-    public int getSubqueriesOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetSubqueries().getMap();
+    public int getSubqueriesOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetSubqueries().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -1620,7 +1484,6 @@ public int getSubqueriesOrThrow(java.lang.String key) {
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -1632,12 +1495,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(description_)) {
         com.google.protobuf.GeneratedMessageV3.writeString(output, 1, description_);
       }
-      com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
-          output, internalGetSubqueries(), SubqueriesDefaultEntryHolder.defaultEntry, 2);
+      com.google.protobuf.GeneratedMessageV3
+        .serializeStringMapTo(
+          output,
+          internalGetSubqueries(),
+          SubqueriesDefaultEntryHolder.defaultEntry,
+          2);
       getUnknownFields().writeTo(output);
     }
 
@@ -1650,15 +1518,15 @@ public int getSerializedSize() {
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
         size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, description_);
       }
-      for (java.util.Map.Entry entry :
-          internalGetSubqueries().getMap().entrySet()) {
-        com.google.protobuf.MapEntry subqueries__ =
-            SubqueriesDefaultEntryHolder.defaultEntry
-                .newBuilderForType()
-                .setKey(entry.getKey())
-                .setValue(entry.getValue())
-                .build();
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, subqueries__);
+      for (java.util.Map.Entry entry
+           : internalGetSubqueries().getMap().entrySet()) {
+        com.google.protobuf.MapEntry
+        subqueries__ = SubqueriesDefaultEntryHolder.defaultEntry.newBuilderForType()
+            .setKey(entry.getKey())
+            .setValue(entry.getValue())
+            .build();
+        size += com.google.protobuf.CodedOutputStream
+            .computeMessageSize(2, subqueries__);
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -1668,16 +1536,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.spanner.v1.PlanNode.ShortRepresentation)) {
         return super.equals(obj);
       }
-      com.google.spanner.v1.PlanNode.ShortRepresentation other =
-          (com.google.spanner.v1.PlanNode.ShortRepresentation) obj;
+      com.google.spanner.v1.PlanNode.ShortRepresentation other = (com.google.spanner.v1.PlanNode.ShortRepresentation) obj;
 
-      if (!getDescription().equals(other.getDescription())) return false;
-      if (!internalGetSubqueries().equals(other.internalGetSubqueries())) return false;
+      if (!getDescription()
+          .equals(other.getDescription())) return false;
+      if (!internalGetSubqueries().equals(
+          other.internalGetSubqueries())) return false;
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
     }
@@ -1701,93 +1570,87 @@ public int hashCode() {
     }
 
     public static com.google.spanner.v1.PlanNode.ShortRepresentation parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.spanner.v1.PlanNode.ShortRepresentation parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.spanner.v1.PlanNode.ShortRepresentation parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.spanner.v1.PlanNode.ShortRepresentation parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.spanner.v1.PlanNode.ShortRepresentation parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.spanner.v1.PlanNode.ShortRepresentation parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.spanner.v1.PlanNode.ShortRepresentation parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.spanner.v1.PlanNode.ShortRepresentation parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.spanner.v1.PlanNode.ShortRepresentation parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
-
-    public static com.google.spanner.v1.PlanNode.ShortRepresentation parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.spanner.v1.PlanNode.ShortRepresentation parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
     public static com.google.spanner.v1.PlanNode.ShortRepresentation parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.spanner.v1.PlanNode.ShortRepresentation parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.spanner.v1.PlanNode.ShortRepresentation parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
     public static Builder newBuilder(com.google.spanner.v1.PlanNode.ShortRepresentation prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -1797,8 +1660,6 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * Condensed representation of a node and its subtree. Only present for
      * `SCALAR` [PlanNode(s)][google.spanner.v1.PlanNode].
@@ -1806,53 +1667,55 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.spanner.v1.PlanNode.ShortRepresentation}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.spanner.v1.PlanNode.ShortRepresentation)
         com.google.spanner.v1.PlanNode.ShortRepresentationOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.spanner.v1.QueryPlanProto
-            .internal_static_google_spanner_v1_PlanNode_ShortRepresentation_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.spanner.v1.QueryPlanProto.internal_static_google_spanner_v1_PlanNode_ShortRepresentation_descriptor;
       }
 
       @SuppressWarnings({"rawtypes"})
-      protected com.google.protobuf.MapField internalGetMapField(int number) {
+      protected com.google.protobuf.MapField internalGetMapField(
+          int number) {
         switch (number) {
           case 2:
             return internalGetSubqueries();
           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 internalGetMutableSubqueries();
           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.spanner.v1.QueryPlanProto
-            .internal_static_google_spanner_v1_PlanNode_ShortRepresentation_fieldAccessorTable
+        return com.google.spanner.v1.QueryPlanProto.internal_static_google_spanner_v1_PlanNode_ShortRepresentation_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.spanner.v1.PlanNode.ShortRepresentation.class,
-                com.google.spanner.v1.PlanNode.ShortRepresentation.Builder.class);
+                com.google.spanner.v1.PlanNode.ShortRepresentation.class, com.google.spanner.v1.PlanNode.ShortRepresentation.Builder.class);
       }
 
       // Construct using com.google.spanner.v1.PlanNode.ShortRepresentation.newBuilder()
-      private Builder() {}
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1863,9 +1726,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.spanner.v1.QueryPlanProto
-            .internal_static_google_spanner_v1_PlanNode_ShortRepresentation_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.spanner.v1.QueryPlanProto.internal_static_google_spanner_v1_PlanNode_ShortRepresentation_descriptor;
       }
 
       @java.lang.Override
@@ -1884,11 +1747,8 @@ public com.google.spanner.v1.PlanNode.ShortRepresentation build() {
 
       @java.lang.Override
       public com.google.spanner.v1.PlanNode.ShortRepresentation buildPartial() {
-        com.google.spanner.v1.PlanNode.ShortRepresentation result =
-            new com.google.spanner.v1.PlanNode.ShortRepresentation(this);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        com.google.spanner.v1.PlanNode.ShortRepresentation result = new com.google.spanner.v1.PlanNode.ShortRepresentation(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
@@ -1908,41 +1768,38 @@ private void buildPartial0(com.google.spanner.v1.PlanNode.ShortRepresentation 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.spanner.v1.PlanNode.ShortRepresentation) {
-          return mergeFrom((com.google.spanner.v1.PlanNode.ShortRepresentation) other);
+          return mergeFrom((com.google.spanner.v1.PlanNode.ShortRepresentation)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -1950,14 +1807,14 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.spanner.v1.PlanNode.ShortRepresentation other) {
-        if (other == com.google.spanner.v1.PlanNode.ShortRepresentation.getDefaultInstance())
-          return this;
+        if (other == com.google.spanner.v1.PlanNode.ShortRepresentation.getDefaultInstance()) return this;
         if (!other.getDescription().isEmpty()) {
           description_ = other.description_;
           bitField0_ |= 0x00000001;
           onChanged();
         }
-        internalGetMutableSubqueries().mergeFrom(other.internalGetSubqueries());
+        internalGetMutableSubqueries().mergeFrom(
+            other.internalGetSubqueries());
         bitField0_ |= 0x00000002;
         this.mergeUnknownFields(other.getUnknownFields());
         onChanged();
@@ -1985,31 +1842,26 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  description_ = input.readStringRequireUtf8();
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 10
-              case 18:
-                {
-                  com.google.protobuf.MapEntry subqueries__ =
-                      input.readMessage(
-                          SubqueriesDefaultEntryHolder.defaultEntry.getParserForType(),
-                          extensionRegistry);
-                  internalGetMutableSubqueries()
-                      .getMutableMap()
-                      .put(subqueries__.getKey(), subqueries__.getValue());
-                  bitField0_ |= 0x00000002;
-                  break;
-                } // case 18
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 10: {
+                description_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+              case 18: {
+                com.google.protobuf.MapEntry
+                subqueries__ = input.readMessage(
+                    SubqueriesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+                internalGetMutableSubqueries().getMutableMap().put(
+                    subqueries__.getKey(), subqueries__.getValue());
+                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) {
@@ -2019,25 +1871,22 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
       private java.lang.Object description_ = "";
       /**
-       *
-       *
        * 
        * A string representation of the expression subtree rooted at this node.
        * 
* * string description = 1; - * * @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; @@ -2046,21 +1895,20 @@ public java.lang.String getDescription() { } } /** - * - * *
        * A string representation of the expression subtree rooted at this node.
        * 
* * string description = 1; - * * @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 { @@ -2068,35 +1916,28 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
        * A string representation of the expression subtree rooted at this node.
        * 
* * string description = 1; - * * @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_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * A string representation of the expression subtree rooted at this node.
        * 
* * string description = 1; - * * @return This builder for chaining. */ public Builder clearDescription() { @@ -2106,21 +1947,17 @@ public Builder clearDescription() { return this; } /** - * - * *
        * A string representation of the expression subtree rooted at this node.
        * 
* * string description = 1; - * * @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_ |= 0x00000001; @@ -2128,8 +1965,8 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.MapField subqueries_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.Integer> subqueries_; private com.google.protobuf.MapField internalGetSubqueries() { if (subqueries_ == null) { @@ -2138,12 +1975,11 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { } return subqueries_; } - private com.google.protobuf.MapField internalGetMutableSubqueries() { if (subqueries_ == null) { - subqueries_ = - com.google.protobuf.MapField.newMapField(SubqueriesDefaultEntryHolder.defaultEntry); + subqueries_ = com.google.protobuf.MapField.newMapField( + SubqueriesDefaultEntryHolder.defaultEntry); } if (!subqueries_.isMutable()) { subqueries_ = subqueries_.copy(); @@ -2152,13 +1988,10 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { onChanged(); return subqueries_; } - public int getSubqueriesCount() { return internalGetSubqueries().getMap().size(); } /** - * - * *
        * A mapping of (subquery variable name) -> (subquery node id) for cases
        * where the `description` string of this node references a `SCALAR`
@@ -2170,21 +2003,20 @@ public int getSubqueriesCount() {
        * map<string, int32> subqueries = 2;
        */
       @java.lang.Override
-      public boolean containsSubqueries(java.lang.String key) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
+      public boolean containsSubqueries(
+          java.lang.String key) {
+        if (key == null) { throw new NullPointerException("map key"); }
         return internalGetSubqueries().getMap().containsKey(key);
       }
-      /** Use {@link #getSubqueriesMap()} instead. */
+      /**
+       * Use {@link #getSubqueriesMap()} instead.
+       */
       @java.lang.Override
       @java.lang.Deprecated
       public java.util.Map getSubqueries() {
         return getSubqueriesMap();
       }
       /**
-       *
-       *
        * 
        * A mapping of (subquery variable name) -> (subquery node id) for cases
        * where the `description` string of this node references a `SCALAR`
@@ -2200,8 +2032,6 @@ public java.util.Map getSubqueriesMap() {
         return internalGetSubqueries().getMap();
       }
       /**
-       *
-       *
        * 
        * A mapping of (subquery variable name) -> (subquery node id) for cases
        * where the `description` string of this node references a `SCALAR`
@@ -2213,16 +2043,15 @@ public java.util.Map getSubqueriesMap() {
        * map<string, int32> subqueries = 2;
        */
       @java.lang.Override
-      public int getSubqueriesOrDefault(java.lang.String key, int defaultValue) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
-        java.util.Map map = internalGetSubqueries().getMap();
+      public int getSubqueriesOrDefault(
+          java.lang.String key,
+          int defaultValue) {
+        if (key == null) { throw new NullPointerException("map key"); }
+        java.util.Map map =
+            internalGetSubqueries().getMap();
         return map.containsKey(key) ? map.get(key) : defaultValue;
       }
       /**
-       *
-       *
        * 
        * A mapping of (subquery variable name) -> (subquery node id) for cases
        * where the `description` string of this node references a `SCALAR`
@@ -2234,25 +2063,23 @@ public int getSubqueriesOrDefault(java.lang.String key, int defaultValue) {
        * map<string, int32> subqueries = 2;
        */
       @java.lang.Override
-      public int getSubqueriesOrThrow(java.lang.String key) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
-        java.util.Map map = internalGetSubqueries().getMap();
+      public int getSubqueriesOrThrow(
+          java.lang.String key) {
+        if (key == null) { throw new NullPointerException("map key"); }
+        java.util.Map map =
+            internalGetSubqueries().getMap();
         if (!map.containsKey(key)) {
           throw new java.lang.IllegalArgumentException();
         }
         return map.get(key);
       }
-
       public Builder clearSubqueries() {
         bitField0_ = (bitField0_ & ~0x00000002);
-        internalGetMutableSubqueries().getMutableMap().clear();
+        internalGetMutableSubqueries().getMutableMap()
+            .clear();
         return this;
       }
       /**
-       *
-       *
        * 
        * A mapping of (subquery variable name) -> (subquery node id) for cases
        * where the `description` string of this node references a `SCALAR`
@@ -2263,22 +2090,23 @@ public Builder clearSubqueries() {
        *
        * map<string, int32> subqueries = 2;
        */
-      public Builder removeSubqueries(java.lang.String key) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
-        internalGetMutableSubqueries().getMutableMap().remove(key);
+      public Builder removeSubqueries(
+          java.lang.String key) {
+        if (key == null) { throw new NullPointerException("map key"); }
+        internalGetMutableSubqueries().getMutableMap()
+            .remove(key);
         return this;
       }
-      /** Use alternate mutation accessors instead. */
+      /**
+       * Use alternate mutation accessors instead.
+       */
       @java.lang.Deprecated
-      public java.util.Map getMutableSubqueries() {
+      public java.util.Map
+          getMutableSubqueries() {
         bitField0_ |= 0x00000002;
         return internalGetMutableSubqueries().getMutableMap();
       }
       /**
-       *
-       *
        * 
        * A mapping of (subquery variable name) -> (subquery node id) for cases
        * where the `description` string of this node references a `SCALAR`
@@ -2289,18 +2117,17 @@ public java.util.Map getMutableSubqueries()
        *
        * map<string, int32> subqueries = 2;
        */
-      public Builder putSubqueries(java.lang.String key, int value) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
-
-        internalGetMutableSubqueries().getMutableMap().put(key, value);
+      public Builder putSubqueries(
+          java.lang.String key,
+          int value) {
+        if (key == null) { throw new NullPointerException("map key"); }
+        
+        internalGetMutableSubqueries().getMutableMap()
+            .put(key, value);
         bitField0_ |= 0x00000002;
         return this;
       }
       /**
-       *
-       *
        * 
        * A mapping of (subquery variable name) -> (subquery node id) for cases
        * where the `description` string of this node references a `SCALAR`
@@ -2311,12 +2138,13 @@ public Builder putSubqueries(java.lang.String key, int value) {
        *
        * map<string, int32> subqueries = 2;
        */
-      public Builder putAllSubqueries(java.util.Map values) {
-        internalGetMutableSubqueries().getMutableMap().putAll(values);
+      public Builder putAllSubqueries(
+          java.util.Map values) {
+        internalGetMutableSubqueries().getMutableMap()
+            .putAll(values);
         bitField0_ |= 0x00000002;
         return this;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -2329,12 +2157,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.spanner.v1.PlanNode.ShortRepresentation)
     }
 
     // @@protoc_insertion_point(class_scope:google.spanner.v1.PlanNode.ShortRepresentation)
     private static final com.google.spanner.v1.PlanNode.ShortRepresentation DEFAULT_INSTANCE;
-
     static {
       DEFAULT_INSTANCE = new com.google.spanner.v1.PlanNode.ShortRepresentation();
     }
@@ -2343,28 +2171,27 @@ public static com.google.spanner.v1.PlanNode.ShortRepresentation getDefaultInsta
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public ShortRepresentation parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            Builder builder = newBuilder();
-            try {
-              builder.mergeFrom(input, extensionRegistry);
-            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              throw e.setUnfinishedMessage(builder.buildPartial());
-            } catch (com.google.protobuf.UninitializedMessageException e) {
-              throw e.asInvalidProtocolBufferException()
-                  .setUnfinishedMessage(builder.buildPartial());
-            } catch (java.io.IOException e) {
-              throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                  .setUnfinishedMessage(builder.buildPartial());
-            }
-            return builder.buildPartial();
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public ShortRepresentation parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+        } catch (java.io.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,19 +2206,17 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.spanner.v1.PlanNode.ShortRepresentation getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
   public static final int INDEX_FIELD_NUMBER = 1;
   private int index_ = 0;
   /**
-   *
-   *
    * 
    * The `PlanNode`'s index in [node list][google.spanner.v1.QueryPlan.plan_nodes].
    * 
* * int32 index = 1; - * * @return The index. */ @java.lang.Override @@ -2402,8 +2227,6 @@ public int getIndex() { public static final int KIND_FIELD_NUMBER = 2; private int kind_ = 0; /** - * - * *
    * Used to determine the type of node. May be needed for visualizing
    * different kinds of nodes differently. For example, If the node is a
@@ -2413,16 +2236,12 @@ public int getIndex() {
    * 
* * .google.spanner.v1.PlanNode.Kind kind = 2; - * * @return The enum numeric value on the wire for kind. */ - @java.lang.Override - public int getKindValue() { + @java.lang.Override public int getKindValue() { return kind_; } /** - * - * *
    * Used to determine the type of node. May be needed for visualizing
    * different kinds of nodes differently. For example, If the node is a
@@ -2432,29 +2251,22 @@ public int getKindValue() {
    * 
* * .google.spanner.v1.PlanNode.Kind kind = 2; - * * @return The kind. */ - @java.lang.Override - public com.google.spanner.v1.PlanNode.Kind getKind() { - com.google.spanner.v1.PlanNode.Kind result = - com.google.spanner.v1.PlanNode.Kind.forNumber(kind_); + @java.lang.Override public com.google.spanner.v1.PlanNode.Kind getKind() { + com.google.spanner.v1.PlanNode.Kind result = com.google.spanner.v1.PlanNode.Kind.forNumber(kind_); return result == null ? com.google.spanner.v1.PlanNode.Kind.UNRECOGNIZED : result; } public static final int DISPLAY_NAME_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * The display name for the node.
    * 
* * string display_name = 3; - * * @return The displayName. */ @java.lang.Override @@ -2463,29 +2275,29 @@ 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; } } /** - * - * *
    * The display name for the node.
    * 
* * string display_name = 3; - * * @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 { @@ -2494,12 +2306,9 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int CHILD_LINKS_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private java.util.List childLinks_; /** - * - * *
    * List of child node `index`es and their relationship to this parent.
    * 
@@ -2511,8 +2320,6 @@ public java.util.List getChildLinksLis return childLinks_; } /** - * - * *
    * List of child node `index`es and their relationship to this parent.
    * 
@@ -2520,13 +2327,11 @@ public java.util.List getChildLinksLis * repeated .google.spanner.v1.PlanNode.ChildLink child_links = 4; */ @java.lang.Override - public java.util.List + public java.util.List getChildLinksOrBuilderList() { return childLinks_; } /** - * - * *
    * List of child node `index`es and their relationship to this parent.
    * 
@@ -2538,8 +2343,6 @@ public int getChildLinksCount() { return childLinks_.size(); } /** - * - * *
    * List of child node `index`es and their relationship to this parent.
    * 
@@ -2551,8 +2354,6 @@ public com.google.spanner.v1.PlanNode.ChildLink getChildLinks(int index) { return childLinks_.get(index); } /** - * - * *
    * List of child node `index`es and their relationship to this parent.
    * 
@@ -2560,21 +2361,19 @@ public com.google.spanner.v1.PlanNode.ChildLink getChildLinks(int index) { * repeated .google.spanner.v1.PlanNode.ChildLink child_links = 4; */ @java.lang.Override - public com.google.spanner.v1.PlanNode.ChildLinkOrBuilder getChildLinksOrBuilder(int index) { + public com.google.spanner.v1.PlanNode.ChildLinkOrBuilder getChildLinksOrBuilder( + int index) { return childLinks_.get(index); } public static final int SHORT_REPRESENTATION_FIELD_NUMBER = 5; private com.google.spanner.v1.PlanNode.ShortRepresentation shortRepresentation_; /** - * - * *
    * Condensed representation for [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] nodes.
    * 
* * .google.spanner.v1.PlanNode.ShortRepresentation short_representation = 5; - * * @return Whether the shortRepresentation field is set. */ @java.lang.Override @@ -2582,25 +2381,18 @@ public boolean hasShortRepresentation() { return shortRepresentation_ != null; } /** - * - * *
    * Condensed representation for [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] nodes.
    * 
* * .google.spanner.v1.PlanNode.ShortRepresentation short_representation = 5; - * * @return The shortRepresentation. */ @java.lang.Override public com.google.spanner.v1.PlanNode.ShortRepresentation getShortRepresentation() { - return shortRepresentation_ == null - ? com.google.spanner.v1.PlanNode.ShortRepresentation.getDefaultInstance() - : shortRepresentation_; + return shortRepresentation_ == null ? com.google.spanner.v1.PlanNode.ShortRepresentation.getDefaultInstance() : shortRepresentation_; } /** - * - * *
    * Condensed representation for [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] nodes.
    * 
@@ -2608,18 +2400,13 @@ public com.google.spanner.v1.PlanNode.ShortRepresentation getShortRepresentation * .google.spanner.v1.PlanNode.ShortRepresentation short_representation = 5; */ @java.lang.Override - public com.google.spanner.v1.PlanNode.ShortRepresentationOrBuilder - getShortRepresentationOrBuilder() { - return shortRepresentation_ == null - ? com.google.spanner.v1.PlanNode.ShortRepresentation.getDefaultInstance() - : shortRepresentation_; + public com.google.spanner.v1.PlanNode.ShortRepresentationOrBuilder getShortRepresentationOrBuilder() { + return shortRepresentation_ == null ? com.google.spanner.v1.PlanNode.ShortRepresentation.getDefaultInstance() : shortRepresentation_; } public static final int METADATA_FIELD_NUMBER = 6; private com.google.protobuf.Struct metadata_; /** - * - * *
    * Attributes relevant to the node contained in a group of key-value pairs.
    * For example, a Parameter Reference node could have the following
@@ -2631,7 +2418,6 @@ public com.google.spanner.v1.PlanNode.ShortRepresentation getShortRepresentation
    * 
* * .google.protobuf.Struct metadata = 6; - * * @return Whether the metadata field is set. */ @java.lang.Override @@ -2639,8 +2425,6 @@ public boolean hasMetadata() { return metadata_ != null; } /** - * - * *
    * Attributes relevant to the node contained in a group of key-value pairs.
    * For example, a Parameter Reference node could have the following
@@ -2652,7 +2436,6 @@ public boolean hasMetadata() {
    * 
* * .google.protobuf.Struct metadata = 6; - * * @return The metadata. */ @java.lang.Override @@ -2660,8 +2443,6 @@ public com.google.protobuf.Struct getMetadata() { return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_; } /** - * - * *
    * Attributes relevant to the node contained in a group of key-value pairs.
    * For example, a Parameter Reference node could have the following
@@ -2682,8 +2463,6 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {
   public static final int EXECUTION_STATS_FIELD_NUMBER = 7;
   private com.google.protobuf.Struct executionStats_;
   /**
-   *
-   *
    * 
    * The execution statistics associated with the node, contained in a group of
    * key-value pairs. Only present if the plan was returned as a result of a
@@ -2692,7 +2471,6 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {
    * 
* * .google.protobuf.Struct execution_stats = 7; - * * @return Whether the executionStats field is set. */ @java.lang.Override @@ -2700,8 +2478,6 @@ public boolean hasExecutionStats() { return executionStats_ != null; } /** - * - * *
    * The execution statistics associated with the node, contained in a group of
    * key-value pairs. Only present if the plan was returned as a result of a
@@ -2710,18 +2486,13 @@ public boolean hasExecutionStats() {
    * 
* * .google.protobuf.Struct execution_stats = 7; - * * @return The executionStats. */ @java.lang.Override public com.google.protobuf.Struct getExecutionStats() { - return executionStats_ == null - ? com.google.protobuf.Struct.getDefaultInstance() - : executionStats_; + return executionStats_ == null ? com.google.protobuf.Struct.getDefaultInstance() : executionStats_; } /** - * - * *
    * The execution statistics associated with the node, contained in a group of
    * key-value pairs. Only present if the plan was returned as a result of a
@@ -2733,13 +2504,10 @@ public com.google.protobuf.Struct getExecutionStats() {
    */
   @java.lang.Override
   public com.google.protobuf.StructOrBuilder getExecutionStatsOrBuilder() {
-    return executionStats_ == null
-        ? com.google.protobuf.Struct.getDefaultInstance()
-        : executionStats_;
+    return executionStats_ == null ? com.google.protobuf.Struct.getDefaultInstance() : executionStats_;
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -2751,7 +2519,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public 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_ != 0) {
       output.writeInt32(1, index_);
     }
@@ -2783,25 +2552,31 @@ public int getSerializedSize() {
 
     size = 0;
     if (index_ != 0) {
-      size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, index_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt32Size(1, index_);
     }
     if (kind_ != com.google.spanner.v1.PlanNode.Kind.KIND_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, kind_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(2, kind_);
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, displayName_);
     }
     for (int i = 0; i < childLinks_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, childLinks_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, childLinks_.get(i));
     }
     if (shortRepresentation_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getShortRepresentation());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, getShortRepresentation());
     }
     if (metadata_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getMetadata());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, getMetadata());
     }
     if (executionStats_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getExecutionStats());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(7, getExecutionStats());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -2811,28 +2586,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.spanner.v1.PlanNode)) {
       return super.equals(obj);
     }
     com.google.spanner.v1.PlanNode other = (com.google.spanner.v1.PlanNode) obj;
 
-    if (getIndex() != other.getIndex()) return false;
+    if (getIndex()
+        != other.getIndex()) return false;
     if (kind_ != other.kind_) return false;
-    if (!getDisplayName().equals(other.getDisplayName())) return false;
-    if (!getChildLinksList().equals(other.getChildLinksList())) return false;
+    if (!getDisplayName()
+        .equals(other.getDisplayName())) return false;
+    if (!getChildLinksList()
+        .equals(other.getChildLinksList())) return false;
     if (hasShortRepresentation() != other.hasShortRepresentation()) return false;
     if (hasShortRepresentation()) {
-      if (!getShortRepresentation().equals(other.getShortRepresentation())) return false;
+      if (!getShortRepresentation()
+          .equals(other.getShortRepresentation())) return false;
     }
     if (hasMetadata() != other.hasMetadata()) return false;
     if (hasMetadata()) {
-      if (!getMetadata().equals(other.getMetadata())) return false;
+      if (!getMetadata()
+          .equals(other.getMetadata())) return false;
     }
     if (hasExecutionStats() != other.hasExecutionStats()) return false;
     if (hasExecutionStats()) {
-      if (!getExecutionStats().equals(other.getExecutionStats())) return false;
+      if (!getExecutionStats()
+          .equals(other.getExecutionStats())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -2872,134 +2653,130 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.spanner.v1.PlanNode parseFrom(java.nio.ByteBuffer data)
+  public static com.google.spanner.v1.PlanNode parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.PlanNode parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.spanner.v1.PlanNode parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.spanner.v1.PlanNode parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.PlanNode parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.v1.PlanNode parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.PlanNode parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.v1.PlanNode parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.v1.PlanNode parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.spanner.v1.PlanNode 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.spanner.v1.PlanNode parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.spanner.v1.PlanNode parseFrom(com.google.protobuf.CodedInputStream input)
+  public static com.google.spanner.v1.PlanNode 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.spanner.v1.PlanNode parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.spanner.v1.PlanNode prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Node information for nodes appearing in a [QueryPlan.plan_nodes][google.spanner.v1.QueryPlan.plan_nodes].
    * 
* * Protobuf type {@code google.spanner.v1.PlanNode} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.PlanNode) com.google.spanner.v1.PlanNodeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.QueryPlanProto - .internal_static_google_spanner_v1_PlanNode_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.QueryPlanProto.internal_static_google_spanner_v1_PlanNode_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.QueryPlanProto - .internal_static_google_spanner_v1_PlanNode_fieldAccessorTable + return com.google.spanner.v1.QueryPlanProto.internal_static_google_spanner_v1_PlanNode_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.spanner.v1.PlanNode.class, com.google.spanner.v1.PlanNode.Builder.class); } // Construct using com.google.spanner.v1.PlanNode.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -3033,9 +2810,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.v1.QueryPlanProto - .internal_static_google_spanner_v1_PlanNode_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.v1.QueryPlanProto.internal_static_google_spanner_v1_PlanNode_descriptor; } @java.lang.Override @@ -3056,9 +2833,7 @@ public com.google.spanner.v1.PlanNode build() { public com.google.spanner.v1.PlanNode buildPartial() { com.google.spanner.v1.PlanNode result = new com.google.spanner.v1.PlanNode(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -3087,17 +2862,19 @@ private void buildPartial0(com.google.spanner.v1.PlanNode result) { result.displayName_ = displayName_; } if (((from_bitField0_ & 0x00000010) != 0)) { - result.shortRepresentation_ = - shortRepresentationBuilder_ == null - ? shortRepresentation_ - : shortRepresentationBuilder_.build(); + result.shortRepresentation_ = shortRepresentationBuilder_ == null + ? shortRepresentation_ + : shortRepresentationBuilder_.build(); } if (((from_bitField0_ & 0x00000020) != 0)) { - result.metadata_ = metadataBuilder_ == null ? metadata_ : metadataBuilder_.build(); + result.metadata_ = metadataBuilder_ == null + ? metadata_ + : metadataBuilder_.build(); } if (((from_bitField0_ & 0x00000040) != 0)) { - result.executionStats_ = - executionStatsBuilder_ == null ? executionStats_ : executionStatsBuilder_.build(); + result.executionStats_ = executionStatsBuilder_ == null + ? executionStats_ + : executionStatsBuilder_.build(); } } @@ -3105,39 +2882,38 @@ private void buildPartial0(com.google.spanner.v1.PlanNode 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.spanner.v1.PlanNode) { - return mergeFrom((com.google.spanner.v1.PlanNode) other); + return mergeFrom((com.google.spanner.v1.PlanNode)other); } else { super.mergeFrom(other); return this; @@ -3175,10 +2951,9 @@ public Builder mergeFrom(com.google.spanner.v1.PlanNode other) { childLinksBuilder_ = null; childLinks_ = other.childLinks_; bitField0_ = (bitField0_ & ~0x00000008); - childLinksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getChildLinksFieldBuilder() - : null; + childLinksBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getChildLinksFieldBuilder() : null; } else { childLinksBuilder_.addAllMessages(other.childLinks_); } @@ -3219,63 +2994,61 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - index_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: - { - kind_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - com.google.spanner.v1.PlanNode.ChildLink m = - input.readMessage( - com.google.spanner.v1.PlanNode.ChildLink.parser(), extensionRegistry); - if (childLinksBuilder_ == null) { - ensureChildLinksIsMutable(); - childLinks_.add(m); - } else { - childLinksBuilder_.addMessage(m); - } - break; - } // case 34 - case 42: - { - input.readMessage( - getShortRepresentationFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: - { - input.readMessage(getMetadataFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 58: - { - input.readMessage(getExecutionStatsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000040; - break; - } // case 58 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + index_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + kind_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + com.google.spanner.v1.PlanNode.ChildLink m = + input.readMessage( + com.google.spanner.v1.PlanNode.ChildLink.parser(), + extensionRegistry); + if (childLinksBuilder_ == null) { + ensureChildLinksIsMutable(); + childLinks_.add(m); + } else { + childLinksBuilder_.addMessage(m); + } + break; + } // case 34 + case 42: { + input.readMessage( + getShortRepresentationFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + input.readMessage( + getMetadataFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: { + input.readMessage( + getExecutionStatsFieldBuilder().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) { @@ -3285,19 +3058,15 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private int index_; + private int index_ ; /** - * - * *
      * The `PlanNode`'s index in [node list][google.spanner.v1.QueryPlan.plan_nodes].
      * 
* * int32 index = 1; - * * @return The index. */ @java.lang.Override @@ -3305,33 +3074,27 @@ public int getIndex() { return index_; } /** - * - * *
      * The `PlanNode`'s index in [node list][google.spanner.v1.QueryPlan.plan_nodes].
      * 
* * int32 index = 1; - * * @param value The index to set. * @return This builder for chaining. */ public Builder setIndex(int value) { - + index_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The `PlanNode`'s index in [node list][google.spanner.v1.QueryPlan.plan_nodes].
      * 
* * int32 index = 1; - * * @return This builder for chaining. */ public Builder clearIndex() { @@ -3343,8 +3106,6 @@ public Builder clearIndex() { private int kind_ = 0; /** - * - * *
      * Used to determine the type of node. May be needed for visualizing
      * different kinds of nodes differently. For example, If the node is a
@@ -3354,16 +3115,12 @@ public Builder clearIndex() {
      * 
* * .google.spanner.v1.PlanNode.Kind kind = 2; - * * @return The enum numeric value on the wire for kind. */ - @java.lang.Override - public int getKindValue() { + @java.lang.Override public int getKindValue() { return kind_; } /** - * - * *
      * Used to determine the type of node. May be needed for visualizing
      * different kinds of nodes differently. For example, If the node is a
@@ -3373,7 +3130,6 @@ public int getKindValue() {
      * 
* * .google.spanner.v1.PlanNode.Kind kind = 2; - * * @param value The enum numeric value on the wire for kind to set. * @return This builder for chaining. */ @@ -3384,8 +3140,6 @@ public Builder setKindValue(int value) { return this; } /** - * - * *
      * Used to determine the type of node. May be needed for visualizing
      * different kinds of nodes differently. For example, If the node is a
@@ -3395,18 +3149,14 @@ public Builder setKindValue(int value) {
      * 
* * .google.spanner.v1.PlanNode.Kind kind = 2; - * * @return The kind. */ @java.lang.Override public com.google.spanner.v1.PlanNode.Kind getKind() { - com.google.spanner.v1.PlanNode.Kind result = - com.google.spanner.v1.PlanNode.Kind.forNumber(kind_); + com.google.spanner.v1.PlanNode.Kind result = com.google.spanner.v1.PlanNode.Kind.forNumber(kind_); return result == null ? com.google.spanner.v1.PlanNode.Kind.UNRECOGNIZED : result; } /** - * - * *
      * Used to determine the type of node. May be needed for visualizing
      * different kinds of nodes differently. For example, If the node is a
@@ -3416,7 +3166,6 @@ public com.google.spanner.v1.PlanNode.Kind getKind() {
      * 
* * .google.spanner.v1.PlanNode.Kind kind = 2; - * * @param value The kind to set. * @return This builder for chaining. */ @@ -3430,8 +3179,6 @@ public Builder setKind(com.google.spanner.v1.PlanNode.Kind value) { return this; } /** - * - * *
      * Used to determine the type of node. May be needed for visualizing
      * different kinds of nodes differently. For example, If the node is a
@@ -3441,7 +3188,6 @@ public Builder setKind(com.google.spanner.v1.PlanNode.Kind value) {
      * 
* * .google.spanner.v1.PlanNode.Kind kind = 2; - * * @return This builder for chaining. */ public Builder clearKind() { @@ -3453,20 +3199,18 @@ public Builder clearKind() { private java.lang.Object displayName_ = ""; /** - * - * *
      * The display name for the node.
      * 
* * string display_name = 3; - * * @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; @@ -3475,21 +3219,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * The display name for the node.
      * 
* * string display_name = 3; - * * @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 { @@ -3497,35 +3240,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * The display name for the node.
      * 
* * string display_name = 3; - * * @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_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * The display name for the node.
      * 
* * string display_name = 3; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -3535,21 +3271,17 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * The display name for the node.
      * 
* * string display_name = 3; - * * @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_ |= 0x00000004; @@ -3558,25 +3290,18 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { } private java.util.List childLinks_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureChildLinksIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - childLinks_ = - new java.util.ArrayList(childLinks_); + childLinks_ = new java.util.ArrayList(childLinks_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.v1.PlanNode.ChildLink, - com.google.spanner.v1.PlanNode.ChildLink.Builder, - com.google.spanner.v1.PlanNode.ChildLinkOrBuilder> - childLinksBuilder_; + com.google.spanner.v1.PlanNode.ChildLink, com.google.spanner.v1.PlanNode.ChildLink.Builder, com.google.spanner.v1.PlanNode.ChildLinkOrBuilder> childLinksBuilder_; /** - * - * *
      * List of child node `index`es and their relationship to this parent.
      * 
@@ -3591,8 +3316,6 @@ public java.util.List getChildLinksLis } } /** - * - * *
      * List of child node `index`es and their relationship to this parent.
      * 
@@ -3607,8 +3330,6 @@ public int getChildLinksCount() { } } /** - * - * *
      * List of child node `index`es and their relationship to this parent.
      * 
@@ -3623,15 +3344,14 @@ public com.google.spanner.v1.PlanNode.ChildLink getChildLinks(int index) { } } /** - * - * *
      * List of child node `index`es and their relationship to this parent.
      * 
* * repeated .google.spanner.v1.PlanNode.ChildLink child_links = 4; */ - public Builder setChildLinks(int index, com.google.spanner.v1.PlanNode.ChildLink value) { + public Builder setChildLinks( + int index, com.google.spanner.v1.PlanNode.ChildLink value) { if (childLinksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3645,8 +3365,6 @@ public Builder setChildLinks(int index, com.google.spanner.v1.PlanNode.ChildLink return this; } /** - * - * *
      * List of child node `index`es and their relationship to this parent.
      * 
@@ -3665,8 +3383,6 @@ public Builder setChildLinks( return this; } /** - * - * *
      * List of child node `index`es and their relationship to this parent.
      * 
@@ -3687,15 +3403,14 @@ public Builder addChildLinks(com.google.spanner.v1.PlanNode.ChildLink value) { return this; } /** - * - * *
      * List of child node `index`es and their relationship to this parent.
      * 
* * repeated .google.spanner.v1.PlanNode.ChildLink child_links = 4; */ - public Builder addChildLinks(int index, com.google.spanner.v1.PlanNode.ChildLink value) { + public Builder addChildLinks( + int index, com.google.spanner.v1.PlanNode.ChildLink value) { if (childLinksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3709,15 +3424,14 @@ public Builder addChildLinks(int index, com.google.spanner.v1.PlanNode.ChildLink return this; } /** - * - * *
      * List of child node `index`es and their relationship to this parent.
      * 
* * repeated .google.spanner.v1.PlanNode.ChildLink child_links = 4; */ - public Builder addChildLinks(com.google.spanner.v1.PlanNode.ChildLink.Builder builderForValue) { + public Builder addChildLinks( + com.google.spanner.v1.PlanNode.ChildLink.Builder builderForValue) { if (childLinksBuilder_ == null) { ensureChildLinksIsMutable(); childLinks_.add(builderForValue.build()); @@ -3728,8 +3442,6 @@ public Builder addChildLinks(com.google.spanner.v1.PlanNode.ChildLink.Builder bu return this; } /** - * - * *
      * List of child node `index`es and their relationship to this parent.
      * 
@@ -3748,8 +3460,6 @@ public Builder addChildLinks( return this; } /** - * - * *
      * List of child node `index`es and their relationship to this parent.
      * 
@@ -3760,7 +3470,8 @@ public Builder addAllChildLinks( java.lang.Iterable values) { if (childLinksBuilder_ == null) { ensureChildLinksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, childLinks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, childLinks_); onChanged(); } else { childLinksBuilder_.addAllMessages(values); @@ -3768,8 +3479,6 @@ public Builder addAllChildLinks( return this; } /** - * - * *
      * List of child node `index`es and their relationship to this parent.
      * 
@@ -3787,8 +3496,6 @@ public Builder clearChildLinks() { return this; } /** - * - * *
      * List of child node `index`es and their relationship to this parent.
      * 
@@ -3806,44 +3513,39 @@ public Builder removeChildLinks(int index) { return this; } /** - * - * *
      * List of child node `index`es and their relationship to this parent.
      * 
* * repeated .google.spanner.v1.PlanNode.ChildLink child_links = 4; */ - public com.google.spanner.v1.PlanNode.ChildLink.Builder getChildLinksBuilder(int index) { + public com.google.spanner.v1.PlanNode.ChildLink.Builder getChildLinksBuilder( + int index) { return getChildLinksFieldBuilder().getBuilder(index); } /** - * - * *
      * List of child node `index`es and their relationship to this parent.
      * 
* * repeated .google.spanner.v1.PlanNode.ChildLink child_links = 4; */ - public com.google.spanner.v1.PlanNode.ChildLinkOrBuilder getChildLinksOrBuilder(int index) { + public com.google.spanner.v1.PlanNode.ChildLinkOrBuilder getChildLinksOrBuilder( + int index) { if (childLinksBuilder_ == null) { - return childLinks_.get(index); - } else { + return childLinks_.get(index); } else { return childLinksBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of child node `index`es and their relationship to this parent.
      * 
* * repeated .google.spanner.v1.PlanNode.ChildLink child_links = 4; */ - public java.util.List - getChildLinksOrBuilderList() { + public java.util.List + getChildLinksOrBuilderList() { if (childLinksBuilder_ != null) { return childLinksBuilder_.getMessageOrBuilderList(); } else { @@ -3851,8 +3553,6 @@ public com.google.spanner.v1.PlanNode.ChildLinkOrBuilder getChildLinksOrBuilder( } } /** - * - * *
      * List of child node `index`es and their relationship to this parent.
      * 
@@ -3860,48 +3560,42 @@ public com.google.spanner.v1.PlanNode.ChildLinkOrBuilder getChildLinksOrBuilder( * repeated .google.spanner.v1.PlanNode.ChildLink child_links = 4; */ public com.google.spanner.v1.PlanNode.ChildLink.Builder addChildLinksBuilder() { - return getChildLinksFieldBuilder() - .addBuilder(com.google.spanner.v1.PlanNode.ChildLink.getDefaultInstance()); + return getChildLinksFieldBuilder().addBuilder( + com.google.spanner.v1.PlanNode.ChildLink.getDefaultInstance()); } /** - * - * *
      * List of child node `index`es and their relationship to this parent.
      * 
* * repeated .google.spanner.v1.PlanNode.ChildLink child_links = 4; */ - public com.google.spanner.v1.PlanNode.ChildLink.Builder addChildLinksBuilder(int index) { - return getChildLinksFieldBuilder() - .addBuilder(index, com.google.spanner.v1.PlanNode.ChildLink.getDefaultInstance()); + public com.google.spanner.v1.PlanNode.ChildLink.Builder addChildLinksBuilder( + int index) { + return getChildLinksFieldBuilder().addBuilder( + index, com.google.spanner.v1.PlanNode.ChildLink.getDefaultInstance()); } /** - * - * *
      * List of child node `index`es and their relationship to this parent.
      * 
* * repeated .google.spanner.v1.PlanNode.ChildLink child_links = 4; */ - public java.util.List - getChildLinksBuilderList() { + public java.util.List + getChildLinksBuilderList() { return getChildLinksFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.v1.PlanNode.ChildLink, - com.google.spanner.v1.PlanNode.ChildLink.Builder, - com.google.spanner.v1.PlanNode.ChildLinkOrBuilder> + com.google.spanner.v1.PlanNode.ChildLink, com.google.spanner.v1.PlanNode.ChildLink.Builder, com.google.spanner.v1.PlanNode.ChildLinkOrBuilder> getChildLinksFieldBuilder() { if (childLinksBuilder_ == null) { - childLinksBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.v1.PlanNode.ChildLink, - com.google.spanner.v1.PlanNode.ChildLink.Builder, - com.google.spanner.v1.PlanNode.ChildLinkOrBuilder>( - childLinks_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); + childLinksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.spanner.v1.PlanNode.ChildLink, com.google.spanner.v1.PlanNode.ChildLink.Builder, com.google.spanner.v1.PlanNode.ChildLinkOrBuilder>( + childLinks_, + ((bitField0_ & 0x00000008) != 0), + getParentForChildren(), + isClean()); childLinks_ = null; } return childLinksBuilder_; @@ -3909,55 +3603,41 @@ public com.google.spanner.v1.PlanNode.ChildLink.Builder addChildLinksBuilder(int private com.google.spanner.v1.PlanNode.ShortRepresentation shortRepresentation_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.PlanNode.ShortRepresentation, - com.google.spanner.v1.PlanNode.ShortRepresentation.Builder, - com.google.spanner.v1.PlanNode.ShortRepresentationOrBuilder> - shortRepresentationBuilder_; + com.google.spanner.v1.PlanNode.ShortRepresentation, com.google.spanner.v1.PlanNode.ShortRepresentation.Builder, com.google.spanner.v1.PlanNode.ShortRepresentationOrBuilder> shortRepresentationBuilder_; /** - * - * *
      * Condensed representation for [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] nodes.
      * 
* * .google.spanner.v1.PlanNode.ShortRepresentation short_representation = 5; - * * @return Whether the shortRepresentation field is set. */ public boolean hasShortRepresentation() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * Condensed representation for [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] nodes.
      * 
* * .google.spanner.v1.PlanNode.ShortRepresentation short_representation = 5; - * * @return The shortRepresentation. */ public com.google.spanner.v1.PlanNode.ShortRepresentation getShortRepresentation() { if (shortRepresentationBuilder_ == null) { - return shortRepresentation_ == null - ? com.google.spanner.v1.PlanNode.ShortRepresentation.getDefaultInstance() - : shortRepresentation_; + return shortRepresentation_ == null ? com.google.spanner.v1.PlanNode.ShortRepresentation.getDefaultInstance() : shortRepresentation_; } else { return shortRepresentationBuilder_.getMessage(); } } /** - * - * *
      * Condensed representation for [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] nodes.
      * 
* * .google.spanner.v1.PlanNode.ShortRepresentation short_representation = 5; */ - public Builder setShortRepresentation( - com.google.spanner.v1.PlanNode.ShortRepresentation value) { + public Builder setShortRepresentation(com.google.spanner.v1.PlanNode.ShortRepresentation value) { if (shortRepresentationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3971,8 +3651,6 @@ public Builder setShortRepresentation( return this; } /** - * - * *
      * Condensed representation for [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] nodes.
      * 
@@ -3991,21 +3669,17 @@ public Builder setShortRepresentation( return this; } /** - * - * *
      * Condensed representation for [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] nodes.
      * 
* * .google.spanner.v1.PlanNode.ShortRepresentation short_representation = 5; */ - public Builder mergeShortRepresentation( - com.google.spanner.v1.PlanNode.ShortRepresentation value) { + public Builder mergeShortRepresentation(com.google.spanner.v1.PlanNode.ShortRepresentation value) { if (shortRepresentationBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) - && shortRepresentation_ != null - && shortRepresentation_ - != com.google.spanner.v1.PlanNode.ShortRepresentation.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) && + shortRepresentation_ != null && + shortRepresentation_ != com.google.spanner.v1.PlanNode.ShortRepresentation.getDefaultInstance()) { getShortRepresentationBuilder().mergeFrom(value); } else { shortRepresentation_ = value; @@ -4018,8 +3692,6 @@ public Builder mergeShortRepresentation( return this; } /** - * - * *
      * Condensed representation for [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] nodes.
      * 
@@ -4037,42 +3709,33 @@ public Builder clearShortRepresentation() { return this; } /** - * - * *
      * Condensed representation for [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] nodes.
      * 
* * .google.spanner.v1.PlanNode.ShortRepresentation short_representation = 5; */ - public com.google.spanner.v1.PlanNode.ShortRepresentation.Builder - getShortRepresentationBuilder() { + public com.google.spanner.v1.PlanNode.ShortRepresentation.Builder getShortRepresentationBuilder() { bitField0_ |= 0x00000010; onChanged(); return getShortRepresentationFieldBuilder().getBuilder(); } /** - * - * *
      * Condensed representation for [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] nodes.
      * 
* * .google.spanner.v1.PlanNode.ShortRepresentation short_representation = 5; */ - public com.google.spanner.v1.PlanNode.ShortRepresentationOrBuilder - getShortRepresentationOrBuilder() { + public com.google.spanner.v1.PlanNode.ShortRepresentationOrBuilder getShortRepresentationOrBuilder() { if (shortRepresentationBuilder_ != null) { return shortRepresentationBuilder_.getMessageOrBuilder(); } else { - return shortRepresentation_ == null - ? com.google.spanner.v1.PlanNode.ShortRepresentation.getDefaultInstance() - : shortRepresentation_; + return shortRepresentation_ == null ? + com.google.spanner.v1.PlanNode.ShortRepresentation.getDefaultInstance() : shortRepresentation_; } } /** - * - * *
      * Condensed representation for [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] nodes.
      * 
@@ -4080,17 +3743,14 @@ public Builder clearShortRepresentation() { * .google.spanner.v1.PlanNode.ShortRepresentation short_representation = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.PlanNode.ShortRepresentation, - com.google.spanner.v1.PlanNode.ShortRepresentation.Builder, - com.google.spanner.v1.PlanNode.ShortRepresentationOrBuilder> + com.google.spanner.v1.PlanNode.ShortRepresentation, com.google.spanner.v1.PlanNode.ShortRepresentation.Builder, com.google.spanner.v1.PlanNode.ShortRepresentationOrBuilder> getShortRepresentationFieldBuilder() { if (shortRepresentationBuilder_ == null) { - shortRepresentationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.PlanNode.ShortRepresentation, - com.google.spanner.v1.PlanNode.ShortRepresentation.Builder, - com.google.spanner.v1.PlanNode.ShortRepresentationOrBuilder>( - getShortRepresentation(), getParentForChildren(), isClean()); + shortRepresentationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.v1.PlanNode.ShortRepresentation, com.google.spanner.v1.PlanNode.ShortRepresentation.Builder, com.google.spanner.v1.PlanNode.ShortRepresentationOrBuilder>( + getShortRepresentation(), + getParentForChildren(), + isClean()); shortRepresentation_ = null; } return shortRepresentationBuilder_; @@ -4098,13 +3758,8 @@ public Builder clearShortRepresentation() { private com.google.protobuf.Struct metadata_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, - com.google.protobuf.Struct.Builder, - com.google.protobuf.StructOrBuilder> - metadataBuilder_; + com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> metadataBuilder_; /** - * - * *
      * Attributes relevant to the node contained in a group of key-value pairs.
      * For example, a Parameter Reference node could have the following
@@ -4116,15 +3771,12 @@ public Builder clearShortRepresentation() {
      * 
* * .google.protobuf.Struct metadata = 6; - * * @return Whether the metadata field is set. */ public boolean hasMetadata() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
      * Attributes relevant to the node contained in a group of key-value pairs.
      * For example, a Parameter Reference node could have the following
@@ -4136,7 +3788,6 @@ public boolean hasMetadata() {
      * 
* * .google.protobuf.Struct metadata = 6; - * * @return The metadata. */ public com.google.protobuf.Struct getMetadata() { @@ -4147,8 +3798,6 @@ public com.google.protobuf.Struct getMetadata() { } } /** - * - * *
      * Attributes relevant to the node contained in a group of key-value pairs.
      * For example, a Parameter Reference node could have the following
@@ -4175,8 +3824,6 @@ public Builder setMetadata(com.google.protobuf.Struct value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Attributes relevant to the node contained in a group of key-value pairs.
      * For example, a Parameter Reference node could have the following
@@ -4189,7 +3836,8 @@ public Builder setMetadata(com.google.protobuf.Struct value) {
      *
      * .google.protobuf.Struct metadata = 6;
      */
-    public Builder setMetadata(com.google.protobuf.Struct.Builder builderForValue) {
+    public Builder setMetadata(
+        com.google.protobuf.Struct.Builder builderForValue) {
       if (metadataBuilder_ == null) {
         metadata_ = builderForValue.build();
       } else {
@@ -4200,8 +3848,6 @@ public Builder setMetadata(com.google.protobuf.Struct.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Attributes relevant to the node contained in a group of key-value pairs.
      * For example, a Parameter Reference node could have the following
@@ -4216,9 +3862,9 @@ public Builder setMetadata(com.google.protobuf.Struct.Builder builderForValue) {
      */
     public Builder mergeMetadata(com.google.protobuf.Struct value) {
       if (metadataBuilder_ == null) {
-        if (((bitField0_ & 0x00000020) != 0)
-            && metadata_ != null
-            && metadata_ != com.google.protobuf.Struct.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000020) != 0) &&
+          metadata_ != null &&
+          metadata_ != com.google.protobuf.Struct.getDefaultInstance()) {
           getMetadataBuilder().mergeFrom(value);
         } else {
           metadata_ = value;
@@ -4231,8 +3877,6 @@ public Builder mergeMetadata(com.google.protobuf.Struct value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Attributes relevant to the node contained in a group of key-value pairs.
      * For example, a Parameter Reference node could have the following
@@ -4256,8 +3900,6 @@ public Builder clearMetadata() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Attributes relevant to the node contained in a group of key-value pairs.
      * For example, a Parameter Reference node could have the following
@@ -4276,8 +3918,6 @@ public com.google.protobuf.Struct.Builder getMetadataBuilder() {
       return getMetadataFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Attributes relevant to the node contained in a group of key-value pairs.
      * For example, a Parameter Reference node could have the following
@@ -4294,12 +3934,11 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {
       if (metadataBuilder_ != null) {
         return metadataBuilder_.getMessageOrBuilder();
       } else {
-        return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_;
+        return metadata_ == null ?
+            com.google.protobuf.Struct.getDefaultInstance() : metadata_;
       }
     }
     /**
-     *
-     *
      * 
      * Attributes relevant to the node contained in a group of key-value pairs.
      * For example, a Parameter Reference node could have the following
@@ -4313,17 +3952,14 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {
      * .google.protobuf.Struct metadata = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Struct,
-            com.google.protobuf.Struct.Builder,
-            com.google.protobuf.StructOrBuilder>
+        com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> 
         getMetadataFieldBuilder() {
       if (metadataBuilder_ == null) {
-        metadataBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Struct,
-                com.google.protobuf.Struct.Builder,
-                com.google.protobuf.StructOrBuilder>(
-                getMetadata(), getParentForChildren(), isClean());
+        metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>(
+                getMetadata(),
+                getParentForChildren(),
+                isClean());
         metadata_ = null;
       }
       return metadataBuilder_;
@@ -4331,13 +3967,8 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {
 
     private com.google.protobuf.Struct executionStats_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Struct,
-            com.google.protobuf.Struct.Builder,
-            com.google.protobuf.StructOrBuilder>
-        executionStatsBuilder_;
+        com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> executionStatsBuilder_;
     /**
-     *
-     *
      * 
      * The execution statistics associated with the node, contained in a group of
      * key-value pairs. Only present if the plan was returned as a result of a
@@ -4346,15 +3977,12 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {
      * 
* * .google.protobuf.Struct execution_stats = 7; - * * @return Whether the executionStats field is set. */ public boolean hasExecutionStats() { return ((bitField0_ & 0x00000040) != 0); } /** - * - * *
      * The execution statistics associated with the node, contained in a group of
      * key-value pairs. Only present if the plan was returned as a result of a
@@ -4363,21 +3991,16 @@ public boolean hasExecutionStats() {
      * 
* * .google.protobuf.Struct execution_stats = 7; - * * @return The executionStats. */ public com.google.protobuf.Struct getExecutionStats() { if (executionStatsBuilder_ == null) { - return executionStats_ == null - ? com.google.protobuf.Struct.getDefaultInstance() - : executionStats_; + return executionStats_ == null ? com.google.protobuf.Struct.getDefaultInstance() : executionStats_; } else { return executionStatsBuilder_.getMessage(); } } /** - * - * *
      * The execution statistics associated with the node, contained in a group of
      * key-value pairs. Only present if the plan was returned as a result of a
@@ -4401,8 +4024,6 @@ public Builder setExecutionStats(com.google.protobuf.Struct value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The execution statistics associated with the node, contained in a group of
      * key-value pairs. Only present if the plan was returned as a result of a
@@ -4412,7 +4033,8 @@ public Builder setExecutionStats(com.google.protobuf.Struct value) {
      *
      * .google.protobuf.Struct execution_stats = 7;
      */
-    public Builder setExecutionStats(com.google.protobuf.Struct.Builder builderForValue) {
+    public Builder setExecutionStats(
+        com.google.protobuf.Struct.Builder builderForValue) {
       if (executionStatsBuilder_ == null) {
         executionStats_ = builderForValue.build();
       } else {
@@ -4423,8 +4045,6 @@ public Builder setExecutionStats(com.google.protobuf.Struct.Builder builderForVa
       return this;
     }
     /**
-     *
-     *
      * 
      * The execution statistics associated with the node, contained in a group of
      * key-value pairs. Only present if the plan was returned as a result of a
@@ -4436,9 +4056,9 @@ public Builder setExecutionStats(com.google.protobuf.Struct.Builder builderForVa
      */
     public Builder mergeExecutionStats(com.google.protobuf.Struct value) {
       if (executionStatsBuilder_ == null) {
-        if (((bitField0_ & 0x00000040) != 0)
-            && executionStats_ != null
-            && executionStats_ != com.google.protobuf.Struct.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000040) != 0) &&
+          executionStats_ != null &&
+          executionStats_ != com.google.protobuf.Struct.getDefaultInstance()) {
           getExecutionStatsBuilder().mergeFrom(value);
         } else {
           executionStats_ = value;
@@ -4451,8 +4071,6 @@ public Builder mergeExecutionStats(com.google.protobuf.Struct value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The execution statistics associated with the node, contained in a group of
      * key-value pairs. Only present if the plan was returned as a result of a
@@ -4473,8 +4091,6 @@ public Builder clearExecutionStats() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The execution statistics associated with the node, contained in a group of
      * key-value pairs. Only present if the plan was returned as a result of a
@@ -4490,8 +4106,6 @@ public com.google.protobuf.Struct.Builder getExecutionStatsBuilder() {
       return getExecutionStatsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The execution statistics associated with the node, contained in a group of
      * key-value pairs. Only present if the plan was returned as a result of a
@@ -4505,14 +4119,11 @@ public com.google.protobuf.StructOrBuilder getExecutionStatsOrBuilder() {
       if (executionStatsBuilder_ != null) {
         return executionStatsBuilder_.getMessageOrBuilder();
       } else {
-        return executionStats_ == null
-            ? com.google.protobuf.Struct.getDefaultInstance()
-            : executionStats_;
+        return executionStats_ == null ?
+            com.google.protobuf.Struct.getDefaultInstance() : executionStats_;
       }
     }
     /**
-     *
-     *
      * 
      * The execution statistics associated with the node, contained in a group of
      * key-value pairs. Only present if the plan was returned as a result of a
@@ -4523,24 +4134,21 @@ public com.google.protobuf.StructOrBuilder getExecutionStatsOrBuilder() {
      * .google.protobuf.Struct execution_stats = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Struct,
-            com.google.protobuf.Struct.Builder,
-            com.google.protobuf.StructOrBuilder>
+        com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> 
         getExecutionStatsFieldBuilder() {
       if (executionStatsBuilder_ == null) {
-        executionStatsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Struct,
-                com.google.protobuf.Struct.Builder,
-                com.google.protobuf.StructOrBuilder>(
-                getExecutionStats(), getParentForChildren(), isClean());
+        executionStatsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>(
+                getExecutionStats(),
+                getParentForChildren(),
+                isClean());
         executionStats_ = null;
       }
       return executionStatsBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -4550,12 +4158,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.spanner.v1.PlanNode)
   }
 
   // @@protoc_insertion_point(class_scope:google.spanner.v1.PlanNode)
   private static final com.google.spanner.v1.PlanNode DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.spanner.v1.PlanNode();
   }
@@ -4564,27 +4172,27 @@ public static com.google.spanner.v1.PlanNode getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public PlanNode parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public PlanNode parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -4599,4 +4207,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.spanner.v1.PlanNode getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PlanNodeOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PlanNodeOrBuilder.java
similarity index 86%
rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PlanNodeOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PlanNodeOrBuilder.java
index fa57b333d5f..6d9d85132b9 100644
--- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PlanNodeOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PlanNodeOrBuilder.java
@@ -1,44 +1,23 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/v1/query_plan.proto
 
 package com.google.spanner.v1;
 
-public interface PlanNodeOrBuilder
-    extends
+public interface PlanNodeOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.spanner.v1.PlanNode)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The `PlanNode`'s index in [node list][google.spanner.v1.QueryPlan.plan_nodes].
    * 
* * int32 index = 1; - * * @return The index. */ int getIndex(); /** - * - * *
    * Used to determine the type of node. May be needed for visualizing
    * different kinds of nodes differently. For example, If the node is a
@@ -48,13 +27,10 @@ public interface PlanNodeOrBuilder
    * 
* * .google.spanner.v1.PlanNode.Kind kind = 2; - * * @return The enum numeric value on the wire for kind. */ int getKindValue(); /** - * - * *
    * Used to determine the type of node. May be needed for visualizing
    * different kinds of nodes differently. For example, If the node is a
@@ -64,49 +40,40 @@ public interface PlanNodeOrBuilder
    * 
* * .google.spanner.v1.PlanNode.Kind kind = 2; - * * @return The kind. */ com.google.spanner.v1.PlanNode.Kind getKind(); /** - * - * *
    * The display name for the node.
    * 
* * string display_name = 3; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * The display name for the node.
    * 
* * string display_name = 3; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * List of child node `index`es and their relationship to this parent.
    * 
* * repeated .google.spanner.v1.PlanNode.ChildLink child_links = 4; */ - java.util.List getChildLinksList(); + java.util.List + getChildLinksList(); /** - * - * *
    * List of child node `index`es and their relationship to this parent.
    * 
@@ -115,8 +82,6 @@ public interface PlanNodeOrBuilder */ com.google.spanner.v1.PlanNode.ChildLink getChildLinks(int index); /** - * - * *
    * List of child node `index`es and their relationship to this parent.
    * 
@@ -125,54 +90,43 @@ public interface PlanNodeOrBuilder */ int getChildLinksCount(); /** - * - * *
    * List of child node `index`es and their relationship to this parent.
    * 
* * repeated .google.spanner.v1.PlanNode.ChildLink child_links = 4; */ - java.util.List + java.util.List getChildLinksOrBuilderList(); /** - * - * *
    * List of child node `index`es and their relationship to this parent.
    * 
* * repeated .google.spanner.v1.PlanNode.ChildLink child_links = 4; */ - com.google.spanner.v1.PlanNode.ChildLinkOrBuilder getChildLinksOrBuilder(int index); + com.google.spanner.v1.PlanNode.ChildLinkOrBuilder getChildLinksOrBuilder( + int index); /** - * - * *
    * Condensed representation for [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] nodes.
    * 
* * .google.spanner.v1.PlanNode.ShortRepresentation short_representation = 5; - * * @return Whether the shortRepresentation field is set. */ boolean hasShortRepresentation(); /** - * - * *
    * Condensed representation for [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] nodes.
    * 
* * .google.spanner.v1.PlanNode.ShortRepresentation short_representation = 5; - * * @return The shortRepresentation. */ com.google.spanner.v1.PlanNode.ShortRepresentation getShortRepresentation(); /** - * - * *
    * Condensed representation for [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] nodes.
    * 
@@ -182,8 +136,6 @@ public interface PlanNodeOrBuilder com.google.spanner.v1.PlanNode.ShortRepresentationOrBuilder getShortRepresentationOrBuilder(); /** - * - * *
    * Attributes relevant to the node contained in a group of key-value pairs.
    * For example, a Parameter Reference node could have the following
@@ -195,13 +147,10 @@ public interface PlanNodeOrBuilder
    * 
* * .google.protobuf.Struct metadata = 6; - * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** - * - * *
    * Attributes relevant to the node contained in a group of key-value pairs.
    * For example, a Parameter Reference node could have the following
@@ -213,13 +162,10 @@ public interface PlanNodeOrBuilder
    * 
* * .google.protobuf.Struct metadata = 6; - * * @return The metadata. */ com.google.protobuf.Struct getMetadata(); /** - * - * *
    * Attributes relevant to the node contained in a group of key-value pairs.
    * For example, a Parameter Reference node could have the following
@@ -235,8 +181,6 @@ public interface PlanNodeOrBuilder
   com.google.protobuf.StructOrBuilder getMetadataOrBuilder();
 
   /**
-   *
-   *
    * 
    * The execution statistics associated with the node, contained in a group of
    * key-value pairs. Only present if the plan was returned as a result of a
@@ -245,13 +189,10 @@ public interface PlanNodeOrBuilder
    * 
* * .google.protobuf.Struct execution_stats = 7; - * * @return Whether the executionStats field is set. */ boolean hasExecutionStats(); /** - * - * *
    * The execution statistics associated with the node, contained in a group of
    * key-value pairs. Only present if the plan was returned as a result of a
@@ -260,13 +201,10 @@ public interface PlanNodeOrBuilder
    * 
* * .google.protobuf.Struct execution_stats = 7; - * * @return The executionStats. */ com.google.protobuf.Struct getExecutionStats(); /** - * - * *
    * The execution statistics associated with the node, contained in a group of
    * key-value pairs. Only present if the plan was returned as a result of a
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/QueryPlan.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/QueryPlan.java
similarity index 74%
rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/QueryPlan.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/QueryPlan.java
index 609fb5cd3ae..e069c6fac02 100644
--- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/QueryPlan.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/QueryPlan.java
@@ -1,78 +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/spanner/v1/query_plan.proto
 
 package com.google.spanner.v1;
 
 /**
- *
- *
  * 
  * Contains an ordered list of nodes appearing in the query plan.
  * 
* * Protobuf type {@code google.spanner.v1.QueryPlan} */ -public final class QueryPlan extends com.google.protobuf.GeneratedMessageV3 - implements +public final class QueryPlan extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.v1.QueryPlan) QueryPlanOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use QueryPlan.newBuilder() to construct. private QueryPlan(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private QueryPlan() { planNodes_ = 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 QueryPlan(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.QueryPlanProto - .internal_static_google_spanner_v1_QueryPlan_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.QueryPlanProto.internal_static_google_spanner_v1_QueryPlan_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.QueryPlanProto - .internal_static_google_spanner_v1_QueryPlan_fieldAccessorTable + return com.google.spanner.v1.QueryPlanProto.internal_static_google_spanner_v1_QueryPlan_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.spanner.v1.QueryPlan.class, com.google.spanner.v1.QueryPlan.Builder.class); } public static final int PLAN_NODES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List planNodes_; /** - * - * *
    * The nodes in the query plan. Plan nodes are returned in pre-order starting
    * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -86,8 +65,6 @@ public java.util.List getPlanNodesList() {
     return planNodes_;
   }
   /**
-   *
-   *
    * 
    * The nodes in the query plan. Plan nodes are returned in pre-order starting
    * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -97,13 +74,11 @@ public java.util.List getPlanNodesList() {
    * repeated .google.spanner.v1.PlanNode plan_nodes = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getPlanNodesOrBuilderList() {
     return planNodes_;
   }
   /**
-   *
-   *
    * 
    * The nodes in the query plan. Plan nodes are returned in pre-order starting
    * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -117,8 +92,6 @@ public int getPlanNodesCount() {
     return planNodes_.size();
   }
   /**
-   *
-   *
    * 
    * The nodes in the query plan. Plan nodes are returned in pre-order starting
    * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -132,8 +105,6 @@ public com.google.spanner.v1.PlanNode getPlanNodes(int index) {
     return planNodes_.get(index);
   }
   /**
-   *
-   *
    * 
    * The nodes in the query plan. Plan nodes are returned in pre-order starting
    * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -143,12 +114,12 @@ public com.google.spanner.v1.PlanNode getPlanNodes(int index) {
    * repeated .google.spanner.v1.PlanNode plan_nodes = 1;
    */
   @java.lang.Override
-  public com.google.spanner.v1.PlanNodeOrBuilder getPlanNodesOrBuilder(int index) {
+  public com.google.spanner.v1.PlanNodeOrBuilder getPlanNodesOrBuilder(
+      int index) {
     return planNodes_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -160,7 +131,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  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 < planNodes_.size(); i++) {
       output.writeMessage(1, planNodes_.get(i));
     }
@@ -174,7 +146,8 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < planNodes_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, planNodes_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, planNodes_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -184,14 +157,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.spanner.v1.QueryPlan)) {
       return super.equals(obj);
     }
     com.google.spanner.v1.QueryPlan other = (com.google.spanner.v1.QueryPlan) obj;
 
-    if (!getPlanNodesList().equals(other.getPlanNodesList())) return false;
+    if (!getPlanNodesList()
+        .equals(other.getPlanNodesList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -212,134 +186,130 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.spanner.v1.QueryPlan parseFrom(java.nio.ByteBuffer data)
+  public static com.google.spanner.v1.QueryPlan parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.QueryPlan parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.spanner.v1.QueryPlan parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.spanner.v1.QueryPlan parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.QueryPlan parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.v1.QueryPlan parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.QueryPlan parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.v1.QueryPlan parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.v1.QueryPlan parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.spanner.v1.QueryPlan 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.spanner.v1.QueryPlan parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.spanner.v1.QueryPlan parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.v1.QueryPlan parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.spanner.v1.QueryPlan prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Contains an ordered list of nodes appearing in the query plan.
    * 
* * Protobuf type {@code google.spanner.v1.QueryPlan} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.QueryPlan) com.google.spanner.v1.QueryPlanOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.QueryPlanProto - .internal_static_google_spanner_v1_QueryPlan_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.QueryPlanProto.internal_static_google_spanner_v1_QueryPlan_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.QueryPlanProto - .internal_static_google_spanner_v1_QueryPlan_fieldAccessorTable + return com.google.spanner.v1.QueryPlanProto.internal_static_google_spanner_v1_QueryPlan_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.spanner.v1.QueryPlan.class, com.google.spanner.v1.QueryPlan.Builder.class); } // Construct using com.google.spanner.v1.QueryPlan.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -355,9 +325,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.v1.QueryPlanProto - .internal_static_google_spanner_v1_QueryPlan_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.v1.QueryPlanProto.internal_static_google_spanner_v1_QueryPlan_descriptor; } @java.lang.Override @@ -378,9 +348,7 @@ public com.google.spanner.v1.QueryPlan build() { public com.google.spanner.v1.QueryPlan buildPartial() { com.google.spanner.v1.QueryPlan result = new com.google.spanner.v1.QueryPlan(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -405,39 +373,38 @@ private void buildPartial0(com.google.spanner.v1.QueryPlan 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.spanner.v1.QueryPlan) { - return mergeFrom((com.google.spanner.v1.QueryPlan) other); + return mergeFrom((com.google.spanner.v1.QueryPlan)other); } else { super.mergeFrom(other); return this; @@ -464,10 +431,9 @@ public Builder mergeFrom(com.google.spanner.v1.QueryPlan other) { planNodesBuilder_ = null; planNodes_ = other.planNodes_; bitField0_ = (bitField0_ & ~0x00000001); - planNodesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getPlanNodesFieldBuilder() - : null; + planNodesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPlanNodesFieldBuilder() : null; } else { planNodesBuilder_.addAllMessages(other.planNodes_); } @@ -499,25 +465,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.spanner.v1.PlanNode m = - input.readMessage(com.google.spanner.v1.PlanNode.parser(), extensionRegistry); - if (planNodesBuilder_ == null) { - ensurePlanNodesIsMutable(); - planNodes_.add(m); - } else { - planNodesBuilder_.addMessage(m); - } - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.spanner.v1.PlanNode m = + input.readMessage( + com.google.spanner.v1.PlanNode.parser(), + extensionRegistry); + if (planNodesBuilder_ == null) { + ensurePlanNodesIsMutable(); + planNodes_.add(m); + } else { + planNodesBuilder_.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) { @@ -527,28 +493,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List planNodes_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensurePlanNodesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { planNodes_ = new java.util.ArrayList(planNodes_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.v1.PlanNode, - com.google.spanner.v1.PlanNode.Builder, - com.google.spanner.v1.PlanNodeOrBuilder> - planNodesBuilder_; + com.google.spanner.v1.PlanNode, com.google.spanner.v1.PlanNode.Builder, com.google.spanner.v1.PlanNodeOrBuilder> planNodesBuilder_; /** - * - * *
      * The nodes in the query plan. Plan nodes are returned in pre-order starting
      * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -565,8 +524,6 @@ public java.util.List getPlanNodesList() {
       }
     }
     /**
-     *
-     *
      * 
      * The nodes in the query plan. Plan nodes are returned in pre-order starting
      * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -583,8 +540,6 @@ public int getPlanNodesCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The nodes in the query plan. Plan nodes are returned in pre-order starting
      * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -601,8 +556,6 @@ public com.google.spanner.v1.PlanNode getPlanNodes(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The nodes in the query plan. Plan nodes are returned in pre-order starting
      * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -611,7 +564,8 @@ public com.google.spanner.v1.PlanNode getPlanNodes(int index) {
      *
      * repeated .google.spanner.v1.PlanNode plan_nodes = 1;
      */
-    public Builder setPlanNodes(int index, com.google.spanner.v1.PlanNode value) {
+    public Builder setPlanNodes(
+        int index, com.google.spanner.v1.PlanNode value) {
       if (planNodesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -625,8 +579,6 @@ public Builder setPlanNodes(int index, com.google.spanner.v1.PlanNode value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The nodes in the query plan. Plan nodes are returned in pre-order starting
      * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -635,7 +587,8 @@ public Builder setPlanNodes(int index, com.google.spanner.v1.PlanNode value) {
      *
      * repeated .google.spanner.v1.PlanNode plan_nodes = 1;
      */
-    public Builder setPlanNodes(int index, com.google.spanner.v1.PlanNode.Builder builderForValue) {
+    public Builder setPlanNodes(
+        int index, com.google.spanner.v1.PlanNode.Builder builderForValue) {
       if (planNodesBuilder_ == null) {
         ensurePlanNodesIsMutable();
         planNodes_.set(index, builderForValue.build());
@@ -646,8 +599,6 @@ public Builder setPlanNodes(int index, com.google.spanner.v1.PlanNode.Builder bu
       return this;
     }
     /**
-     *
-     *
      * 
      * The nodes in the query plan. Plan nodes are returned in pre-order starting
      * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -670,8 +621,6 @@ public Builder addPlanNodes(com.google.spanner.v1.PlanNode value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The nodes in the query plan. Plan nodes are returned in pre-order starting
      * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -680,7 +629,8 @@ public Builder addPlanNodes(com.google.spanner.v1.PlanNode value) {
      *
      * repeated .google.spanner.v1.PlanNode plan_nodes = 1;
      */
-    public Builder addPlanNodes(int index, com.google.spanner.v1.PlanNode value) {
+    public Builder addPlanNodes(
+        int index, com.google.spanner.v1.PlanNode value) {
       if (planNodesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -694,8 +644,6 @@ public Builder addPlanNodes(int index, com.google.spanner.v1.PlanNode value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The nodes in the query plan. Plan nodes are returned in pre-order starting
      * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -704,7 +652,8 @@ public Builder addPlanNodes(int index, com.google.spanner.v1.PlanNode value) {
      *
      * repeated .google.spanner.v1.PlanNode plan_nodes = 1;
      */
-    public Builder addPlanNodes(com.google.spanner.v1.PlanNode.Builder builderForValue) {
+    public Builder addPlanNodes(
+        com.google.spanner.v1.PlanNode.Builder builderForValue) {
       if (planNodesBuilder_ == null) {
         ensurePlanNodesIsMutable();
         planNodes_.add(builderForValue.build());
@@ -715,8 +664,6 @@ public Builder addPlanNodes(com.google.spanner.v1.PlanNode.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The nodes in the query plan. Plan nodes are returned in pre-order starting
      * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -725,7 +672,8 @@ public Builder addPlanNodes(com.google.spanner.v1.PlanNode.Builder builderForVal
      *
      * repeated .google.spanner.v1.PlanNode plan_nodes = 1;
      */
-    public Builder addPlanNodes(int index, com.google.spanner.v1.PlanNode.Builder builderForValue) {
+    public Builder addPlanNodes(
+        int index, com.google.spanner.v1.PlanNode.Builder builderForValue) {
       if (planNodesBuilder_ == null) {
         ensurePlanNodesIsMutable();
         planNodes_.add(index, builderForValue.build());
@@ -736,8 +684,6 @@ public Builder addPlanNodes(int index, com.google.spanner.v1.PlanNode.Builder bu
       return this;
     }
     /**
-     *
-     *
      * 
      * The nodes in the query plan. Plan nodes are returned in pre-order starting
      * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -750,7 +696,8 @@ public Builder addAllPlanNodes(
         java.lang.Iterable values) {
       if (planNodesBuilder_ == null) {
         ensurePlanNodesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, planNodes_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, planNodes_);
         onChanged();
       } else {
         planNodesBuilder_.addAllMessages(values);
@@ -758,8 +705,6 @@ public Builder addAllPlanNodes(
       return this;
     }
     /**
-     *
-     *
      * 
      * The nodes in the query plan. Plan nodes are returned in pre-order starting
      * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -779,8 +724,6 @@ public Builder clearPlanNodes() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The nodes in the query plan. Plan nodes are returned in pre-order starting
      * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -800,8 +743,6 @@ public Builder removePlanNodes(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The nodes in the query plan. Plan nodes are returned in pre-order starting
      * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -810,12 +751,11 @@ public Builder removePlanNodes(int index) {
      *
      * repeated .google.spanner.v1.PlanNode plan_nodes = 1;
      */
-    public com.google.spanner.v1.PlanNode.Builder getPlanNodesBuilder(int index) {
+    public com.google.spanner.v1.PlanNode.Builder getPlanNodesBuilder(
+        int index) {
       return getPlanNodesFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The nodes in the query plan. Plan nodes are returned in pre-order starting
      * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -824,16 +764,14 @@ public com.google.spanner.v1.PlanNode.Builder getPlanNodesBuilder(int index) {
      *
      * repeated .google.spanner.v1.PlanNode plan_nodes = 1;
      */
-    public com.google.spanner.v1.PlanNodeOrBuilder getPlanNodesOrBuilder(int index) {
+    public com.google.spanner.v1.PlanNodeOrBuilder getPlanNodesOrBuilder(
+        int index) {
       if (planNodesBuilder_ == null) {
-        return planNodes_.get(index);
-      } else {
+        return planNodes_.get(index);  } else {
         return planNodesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The nodes in the query plan. Plan nodes are returned in pre-order starting
      * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -842,8 +780,8 @@ public com.google.spanner.v1.PlanNodeOrBuilder getPlanNodesOrBuilder(int index)
      *
      * repeated .google.spanner.v1.PlanNode plan_nodes = 1;
      */
-    public java.util.List
-        getPlanNodesOrBuilderList() {
+    public java.util.List 
+         getPlanNodesOrBuilderList() {
       if (planNodesBuilder_ != null) {
         return planNodesBuilder_.getMessageOrBuilderList();
       } else {
@@ -851,8 +789,6 @@ public com.google.spanner.v1.PlanNodeOrBuilder getPlanNodesOrBuilder(int index)
       }
     }
     /**
-     *
-     *
      * 
      * The nodes in the query plan. Plan nodes are returned in pre-order starting
      * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -862,12 +798,10 @@ public com.google.spanner.v1.PlanNodeOrBuilder getPlanNodesOrBuilder(int index)
      * repeated .google.spanner.v1.PlanNode plan_nodes = 1;
      */
     public com.google.spanner.v1.PlanNode.Builder addPlanNodesBuilder() {
-      return getPlanNodesFieldBuilder()
-          .addBuilder(com.google.spanner.v1.PlanNode.getDefaultInstance());
+      return getPlanNodesFieldBuilder().addBuilder(
+          com.google.spanner.v1.PlanNode.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The nodes in the query plan. Plan nodes are returned in pre-order starting
      * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -876,13 +810,12 @@ public com.google.spanner.v1.PlanNode.Builder addPlanNodesBuilder() {
      *
      * repeated .google.spanner.v1.PlanNode plan_nodes = 1;
      */
-    public com.google.spanner.v1.PlanNode.Builder addPlanNodesBuilder(int index) {
-      return getPlanNodesFieldBuilder()
-          .addBuilder(index, com.google.spanner.v1.PlanNode.getDefaultInstance());
+    public com.google.spanner.v1.PlanNode.Builder addPlanNodesBuilder(
+        int index) {
+      return getPlanNodesFieldBuilder().addBuilder(
+          index, com.google.spanner.v1.PlanNode.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The nodes in the query plan. Plan nodes are returned in pre-order starting
      * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -891,29 +824,27 @@ public com.google.spanner.v1.PlanNode.Builder addPlanNodesBuilder(int index) {
      *
      * repeated .google.spanner.v1.PlanNode plan_nodes = 1;
      */
-    public java.util.List getPlanNodesBuilderList() {
+    public java.util.List 
+         getPlanNodesBuilderList() {
       return getPlanNodesFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.spanner.v1.PlanNode,
-            com.google.spanner.v1.PlanNode.Builder,
-            com.google.spanner.v1.PlanNodeOrBuilder>
+        com.google.spanner.v1.PlanNode, com.google.spanner.v1.PlanNode.Builder, com.google.spanner.v1.PlanNodeOrBuilder> 
         getPlanNodesFieldBuilder() {
       if (planNodesBuilder_ == null) {
-        planNodesBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.spanner.v1.PlanNode,
-                com.google.spanner.v1.PlanNode.Builder,
-                com.google.spanner.v1.PlanNodeOrBuilder>(
-                planNodes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        planNodesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.spanner.v1.PlanNode, com.google.spanner.v1.PlanNode.Builder, com.google.spanner.v1.PlanNodeOrBuilder>(
+                planNodes_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         planNodes_ = null;
       }
       return planNodesBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -923,12 +854,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.spanner.v1.QueryPlan)
   }
 
   // @@protoc_insertion_point(class_scope:google.spanner.v1.QueryPlan)
   private static final com.google.spanner.v1.QueryPlan DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.spanner.v1.QueryPlan();
   }
@@ -937,27 +868,27 @@ public static com.google.spanner.v1.QueryPlan getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public QueryPlan parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public QueryPlan parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -972,4 +903,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.spanner.v1.QueryPlan getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/QueryPlanOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/QueryPlanOrBuilder.java
similarity index 71%
rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/QueryPlanOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/QueryPlanOrBuilder.java
index 2c570c1e9e1..ba855426f0d 100644
--- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/QueryPlanOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/QueryPlanOrBuilder.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/spanner/v1/query_plan.proto
 
 package com.google.spanner.v1;
 
-public interface QueryPlanOrBuilder
-    extends
+public interface QueryPlanOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.spanner.v1.QueryPlan)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The nodes in the query plan. Plan nodes are returned in pre-order starting
    * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -34,10 +16,9 @@ public interface QueryPlanOrBuilder
    *
    * repeated .google.spanner.v1.PlanNode plan_nodes = 1;
    */
-  java.util.List getPlanNodesList();
+  java.util.List 
+      getPlanNodesList();
   /**
-   *
-   *
    * 
    * The nodes in the query plan. Plan nodes are returned in pre-order starting
    * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -48,8 +29,6 @@ public interface QueryPlanOrBuilder
    */
   com.google.spanner.v1.PlanNode getPlanNodes(int index);
   /**
-   *
-   *
    * 
    * The nodes in the query plan. Plan nodes are returned in pre-order starting
    * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -60,8 +39,6 @@ public interface QueryPlanOrBuilder
    */
   int getPlanNodesCount();
   /**
-   *
-   *
    * 
    * The nodes in the query plan. Plan nodes are returned in pre-order starting
    * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -70,10 +47,9 @@ public interface QueryPlanOrBuilder
    *
    * repeated .google.spanner.v1.PlanNode plan_nodes = 1;
    */
-  java.util.List getPlanNodesOrBuilderList();
+  java.util.List 
+      getPlanNodesOrBuilderList();
   /**
-   *
-   *
    * 
    * The nodes in the query plan. Plan nodes are returned in pre-order starting
    * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -82,5 +58,6 @@ public interface QueryPlanOrBuilder
    *
    * repeated .google.spanner.v1.PlanNode plan_nodes = 1;
    */
-  com.google.spanner.v1.PlanNodeOrBuilder getPlanNodesOrBuilder(int index);
+  com.google.spanner.v1.PlanNodeOrBuilder getPlanNodesOrBuilder(
+      int index);
 }
diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/QueryPlanProto.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/QueryPlanProto.java
new file mode 100644
index 00000000000..bb5f6bba13a
--- /dev/null
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/QueryPlanProto.java
@@ -0,0 +1,116 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/spanner/v1/query_plan.proto
+
+package com.google.spanner.v1;
+
+public final class QueryPlanProto {
+  private QueryPlanProto() {}
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistryLite registry) {
+  }
+
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions(
+        (com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_spanner_v1_PlanNode_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_spanner_v1_PlanNode_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_spanner_v1_PlanNode_ChildLink_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_spanner_v1_PlanNode_ChildLink_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_spanner_v1_PlanNode_ShortRepresentation_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_spanner_v1_PlanNode_ShortRepresentation_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_spanner_v1_PlanNode_ShortRepresentation_SubqueriesEntry_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_spanner_v1_PlanNode_ShortRepresentation_SubqueriesEntry_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_spanner_v1_QueryPlan_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_spanner_v1_QueryPlan_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor
+      getDescriptor() {
+    return descriptor;
+  }
+  private static  com.google.protobuf.Descriptors.FileDescriptor
+      descriptor;
+  static {
+    java.lang.String[] descriptorData = {
+      "\n\"google/spanner/v1/query_plan.proto\022\021go" +
+      "ogle.spanner.v1\032\034google/protobuf/struct." +
+      "proto\"\370\004\n\010PlanNode\022\r\n\005index\030\001 \001(\005\022.\n\004kin" +
+      "d\030\002 \001(\0162 .google.spanner.v1.PlanNode.Kin" +
+      "d\022\024\n\014display_name\030\003 \001(\t\022:\n\013child_links\030\004" +
+      " \003(\0132%.google.spanner.v1.PlanNode.ChildL" +
+      "ink\022M\n\024short_representation\030\005 \001(\0132/.goog" +
+      "le.spanner.v1.PlanNode.ShortRepresentati" +
+      "on\022)\n\010metadata\030\006 \001(\0132\027.google.protobuf.S" +
+      "truct\0220\n\017execution_stats\030\007 \001(\0132\027.google." +
+      "protobuf.Struct\032@\n\tChildLink\022\023\n\013child_in" +
+      "dex\030\001 \001(\005\022\014\n\004type\030\002 \001(\t\022\020\n\010variable\030\003 \001(" +
+      "\t\032\262\001\n\023ShortRepresentation\022\023\n\013description" +
+      "\030\001 \001(\t\022S\n\nsubqueries\030\002 \003(\0132?.google.span" +
+      "ner.v1.PlanNode.ShortRepresentation.Subq" +
+      "ueriesEntry\0321\n\017SubqueriesEntry\022\013\n\003key\030\001 " +
+      "\001(\t\022\r\n\005value\030\002 \001(\005:\0028\001\"8\n\004Kind\022\024\n\020KIND_U" +
+      "NSPECIFIED\020\000\022\016\n\nRELATIONAL\020\001\022\n\n\006SCALAR\020\002" +
+      "\"<\n\tQueryPlan\022/\n\nplan_nodes\030\001 \003(\0132\033.goog" +
+      "le.spanner.v1.PlanNodeB\261\001\n\025com.google.sp" +
+      "anner.v1B\016QueryPlanProtoP\001Z5cloud.google" +
+      ".com/go/spanner/apiv1/spannerpb;spannerp" +
+      "b\252\002\027Google.Cloud.Spanner.V1\312\002\027Google\\Clo" +
+      "ud\\Spanner\\V1\352\002\032Google::Cloud::Spanner::" +
+      "V1b\006proto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.protobuf.StructProto.getDescriptor(),
+        });
+    internal_static_google_spanner_v1_PlanNode_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_spanner_v1_PlanNode_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_spanner_v1_PlanNode_descriptor,
+        new java.lang.String[] { "Index", "Kind", "DisplayName", "ChildLinks", "ShortRepresentation", "Metadata", "ExecutionStats", });
+    internal_static_google_spanner_v1_PlanNode_ChildLink_descriptor =
+      internal_static_google_spanner_v1_PlanNode_descriptor.getNestedTypes().get(0);
+    internal_static_google_spanner_v1_PlanNode_ChildLink_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_spanner_v1_PlanNode_ChildLink_descriptor,
+        new java.lang.String[] { "ChildIndex", "Type", "Variable", });
+    internal_static_google_spanner_v1_PlanNode_ShortRepresentation_descriptor =
+      internal_static_google_spanner_v1_PlanNode_descriptor.getNestedTypes().get(1);
+    internal_static_google_spanner_v1_PlanNode_ShortRepresentation_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_spanner_v1_PlanNode_ShortRepresentation_descriptor,
+        new java.lang.String[] { "Description", "Subqueries", });
+    internal_static_google_spanner_v1_PlanNode_ShortRepresentation_SubqueriesEntry_descriptor =
+      internal_static_google_spanner_v1_PlanNode_ShortRepresentation_descriptor.getNestedTypes().get(0);
+    internal_static_google_spanner_v1_PlanNode_ShortRepresentation_SubqueriesEntry_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_spanner_v1_PlanNode_ShortRepresentation_SubqueriesEntry_descriptor,
+        new java.lang.String[] { "Key", "Value", });
+    internal_static_google_spanner_v1_QueryPlan_descriptor =
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_spanner_v1_QueryPlan_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_spanner_v1_QueryPlan_descriptor,
+        new java.lang.String[] { "PlanNodes", });
+    com.google.protobuf.StructProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ReadRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ReadRequest.java
similarity index 78%
rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ReadRequest.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ReadRequest.java
index 5b75750eabf..5791bbde565 100644
--- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ReadRequest.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ReadRequest.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/spanner/v1/spanner.proto
 
 package com.google.spanner.v1;
 
 /**
- *
- *
  * 
  * The request for [Read][google.spanner.v1.Spanner.Read] and
  * [StreamingRead][google.spanner.v1.Spanner.StreamingRead].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.spanner.v1.ReadRequest}
  */
-public final class ReadRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ReadRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.v1.ReadRequest)
     ReadRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ReadRequest.newBuilder() to construct.
   private ReadRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ReadRequest() {
     session_ = "";
     table_ = "";
@@ -49,45 +31,38 @@ private ReadRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ReadRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.v1.SpannerProto
-        .internal_static_google_spanner_v1_ReadRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ReadRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.v1.SpannerProto
-        .internal_static_google_spanner_v1_ReadRequest_fieldAccessorTable
+    return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ReadRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.v1.ReadRequest.class,
-            com.google.spanner.v1.ReadRequest.Builder.class);
+            com.google.spanner.v1.ReadRequest.class, com.google.spanner.v1.ReadRequest.Builder.class);
   }
 
   public static final int SESSION_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object session_ = "";
   /**
-   *
-   *
    * 
    * Required. The session in which the read should be performed.
    * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The session. */ @java.lang.Override @@ -96,31 +71,29 @@ public java.lang.String getSession() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); session_ = s; return s; } } /** - * - * *
    * Required. The session in which the read should be performed.
    * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for session. */ @java.lang.Override - public com.google.protobuf.ByteString getSessionBytes() { + public com.google.protobuf.ByteString + getSessionBytes() { java.lang.Object ref = session_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); session_ = b; return b; } else { @@ -131,15 +104,12 @@ public com.google.protobuf.ByteString getSessionBytes() { public static final int TRANSACTION_FIELD_NUMBER = 2; private com.google.spanner.v1.TransactionSelector transaction_; /** - * - * *
    * The transaction to use. If none is provided, the default is a
    * temporary read-only transaction with strong concurrency.
    * 
* * .google.spanner.v1.TransactionSelector transaction = 2; - * * @return Whether the transaction field is set. */ @java.lang.Override @@ -147,26 +117,19 @@ public boolean hasTransaction() { return transaction_ != null; } /** - * - * *
    * The transaction to use. If none is provided, the default is a
    * temporary read-only transaction with strong concurrency.
    * 
* * .google.spanner.v1.TransactionSelector transaction = 2; - * * @return The transaction. */ @java.lang.Override public com.google.spanner.v1.TransactionSelector getTransaction() { - return transaction_ == null - ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() - : transaction_; + return transaction_ == null ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() : transaction_; } /** - * - * *
    * The transaction to use. If none is provided, the default is a
    * temporary read-only transaction with strong concurrency.
@@ -176,24 +139,18 @@ public com.google.spanner.v1.TransactionSelector getTransaction() {
    */
   @java.lang.Override
   public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilder() {
-    return transaction_ == null
-        ? com.google.spanner.v1.TransactionSelector.getDefaultInstance()
-        : transaction_;
+    return transaction_ == null ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() : transaction_;
   }
 
   public static final int TABLE_FIELD_NUMBER = 3;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object table_ = "";
   /**
-   *
-   *
    * 
    * Required. The name of the table in the database to be read.
    * 
* * string table = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The table. */ @java.lang.Override @@ -202,29 +159,29 @@ public java.lang.String getTable() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); table_ = s; return s; } } /** - * - * *
    * Required. The name of the table in the database to be read.
    * 
* * string table = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for table. */ @java.lang.Override - public com.google.protobuf.ByteString getTableBytes() { + public com.google.protobuf.ByteString + getTableBytes() { java.lang.Object ref = table_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); table_ = b; return b; } else { @@ -233,12 +190,9 @@ public com.google.protobuf.ByteString getTableBytes() { } public static final int INDEX_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object index_ = ""; /** - * - * *
    * If non-empty, the name of an index on [table][google.spanner.v1.ReadRequest.table]. This index is
    * used instead of the table primary key when interpreting [key_set][google.spanner.v1.ReadRequest.key_set]
@@ -246,7 +200,6 @@ public com.google.protobuf.ByteString getTableBytes() {
    * 
* * string index = 4; - * * @return The index. */ @java.lang.Override @@ -255,15 +208,14 @@ public java.lang.String getIndex() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); index_ = s; return s; } } /** - * - * *
    * If non-empty, the name of an index on [table][google.spanner.v1.ReadRequest.table]. This index is
    * used instead of the table primary key when interpreting [key_set][google.spanner.v1.ReadRequest.key_set]
@@ -271,15 +223,16 @@ public java.lang.String getIndex() {
    * 
* * string index = 4; - * * @return The bytes for index. */ @java.lang.Override - public com.google.protobuf.ByteString getIndexBytes() { + public com.google.protobuf.ByteString + getIndexBytes() { java.lang.Object ref = index_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); index_ = b; return b; } else { @@ -288,49 +241,40 @@ public com.google.protobuf.ByteString getIndexBytes() { } public static final int COLUMNS_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringList columns_; /** - * - * *
    * Required. The columns of [table][google.spanner.v1.ReadRequest.table] to be returned for each row matching
    * this request.
    * 
* * repeated string columns = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return A list containing the columns. */ - public com.google.protobuf.ProtocolStringList getColumnsList() { + public com.google.protobuf.ProtocolStringList + getColumnsList() { return columns_; } /** - * - * *
    * Required. The columns of [table][google.spanner.v1.ReadRequest.table] to be returned for each row matching
    * this request.
    * 
* * repeated string columns = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The count of columns. */ public int getColumnsCount() { return columns_.size(); } /** - * - * *
    * Required. The columns of [table][google.spanner.v1.ReadRequest.table] to be returned for each row matching
    * this request.
    * 
* * repeated string columns = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the element to return. * @return The columns at the given index. */ @@ -338,27 +282,23 @@ public java.lang.String getColumns(int index) { return columns_.get(index); } /** - * - * *
    * Required. The columns of [table][google.spanner.v1.ReadRequest.table] to be returned for each row matching
    * this request.
    * 
* * repeated string columns = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the value to return. * @return The bytes of the columns at the given index. */ - public com.google.protobuf.ByteString getColumnsBytes(int index) { + public com.google.protobuf.ByteString + getColumnsBytes(int index) { return columns_.getByteString(index); } public static final int KEY_SET_FIELD_NUMBER = 6; private com.google.spanner.v1.KeySet keySet_; /** - * - * *
    * Required. `key_set` identifies the rows to be yielded. `key_set` names the
    * primary keys of the rows in [table][google.spanner.v1.ReadRequest.table] to be yielded, unless [index][google.spanner.v1.ReadRequest.index]
@@ -373,7 +313,6 @@ public com.google.protobuf.ByteString getColumnsBytes(int index) {
    * 
* * .google.spanner.v1.KeySet key_set = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the keySet field is set. */ @java.lang.Override @@ -381,8 +320,6 @@ public boolean hasKeySet() { return keySet_ != null; } /** - * - * *
    * Required. `key_set` identifies the rows to be yielded. `key_set` names the
    * primary keys of the rows in [table][google.spanner.v1.ReadRequest.table] to be yielded, unless [index][google.spanner.v1.ReadRequest.index]
@@ -397,7 +334,6 @@ public boolean hasKeySet() {
    * 
* * .google.spanner.v1.KeySet key_set = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The keySet. */ @java.lang.Override @@ -405,8 +341,6 @@ public com.google.spanner.v1.KeySet getKeySet() { return keySet_ == null ? com.google.spanner.v1.KeySet.getDefaultInstance() : keySet_; } /** - * - * *
    * Required. `key_set` identifies the rows to be yielded. `key_set` names the
    * primary keys of the rows in [table][google.spanner.v1.ReadRequest.table] to be yielded, unless [index][google.spanner.v1.ReadRequest.index]
@@ -430,8 +364,6 @@ public com.google.spanner.v1.KeySetOrBuilder getKeySetOrBuilder() {
   public static final int LIMIT_FIELD_NUMBER = 8;
   private long limit_ = 0L;
   /**
-   *
-   *
    * 
    * If greater than zero, only the first `limit` rows are yielded. If `limit`
    * is zero, the default is no limit. A limit cannot be specified if
@@ -439,7 +371,6 @@ public com.google.spanner.v1.KeySetOrBuilder getKeySetOrBuilder() {
    * 
* * int64 limit = 8; - * * @return The limit. */ @java.lang.Override @@ -450,8 +381,6 @@ public long getLimit() { public static final int RESUME_TOKEN_FIELD_NUMBER = 9; private com.google.protobuf.ByteString resumeToken_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
    * If this request is resuming a previously interrupted read,
    * `resume_token` should be copied from the last
@@ -462,7 +391,6 @@ public long getLimit() {
    * 
* * bytes resume_token = 9; - * * @return The resumeToken. */ @java.lang.Override @@ -473,8 +401,6 @@ public com.google.protobuf.ByteString getResumeToken() { public static final int PARTITION_TOKEN_FIELD_NUMBER = 10; private com.google.protobuf.ByteString partitionToken_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
    * If present, results will be restricted to the specified partition
    * previously created using PartitionRead().    There must be an exact
@@ -483,7 +409,6 @@ public com.google.protobuf.ByteString getResumeToken() {
    * 
* * bytes partition_token = 10; - * * @return The partitionToken. */ @java.lang.Override @@ -494,14 +419,11 @@ public com.google.protobuf.ByteString getPartitionToken() { public static final int REQUEST_OPTIONS_FIELD_NUMBER = 11; private com.google.spanner.v1.RequestOptions requestOptions_; /** - * - * *
    * Common options for this request.
    * 
* * .google.spanner.v1.RequestOptions request_options = 11; - * * @return Whether the requestOptions field is set. */ @java.lang.Override @@ -509,25 +431,18 @@ public boolean hasRequestOptions() { return requestOptions_ != null; } /** - * - * *
    * Common options for this request.
    * 
* * .google.spanner.v1.RequestOptions request_options = 11; - * * @return The requestOptions. */ @java.lang.Override public com.google.spanner.v1.RequestOptions getRequestOptions() { - return requestOptions_ == null - ? com.google.spanner.v1.RequestOptions.getDefaultInstance() - : requestOptions_; + return requestOptions_ == null ? com.google.spanner.v1.RequestOptions.getDefaultInstance() : requestOptions_; } /** - * - * *
    * Common options for this request.
    * 
@@ -536,16 +451,12 @@ public com.google.spanner.v1.RequestOptions getRequestOptions() { */ @java.lang.Override public com.google.spanner.v1.RequestOptionsOrBuilder getRequestOptionsOrBuilder() { - return requestOptions_ == null - ? com.google.spanner.v1.RequestOptions.getDefaultInstance() - : requestOptions_; + return requestOptions_ == null ? com.google.spanner.v1.RequestOptions.getDefaultInstance() : requestOptions_; } public static final int DATA_BOOST_ENABLED_FIELD_NUMBER = 15; private boolean dataBoostEnabled_ = false; /** - * - * *
    * If this is for a partitioned read and this field is set to `true`, the
    * request will be executed via Spanner independent compute resources.
@@ -554,7 +465,6 @@ public com.google.spanner.v1.RequestOptionsOrBuilder getRequestOptionsOrBuilder(
    * 
* * bool data_boost_enabled = 15; - * * @return The dataBoostEnabled. */ @java.lang.Override @@ -563,7 +473,6 @@ public boolean getDataBoostEnabled() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -575,7 +484,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(session_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, session_); } @@ -622,7 +532,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, session_); } if (transaction_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTransaction()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTransaction()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(table_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, table_); @@ -639,22 +550,28 @@ public int getSerializedSize() { size += 1 * getColumnsList().size(); } if (keySet_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getKeySet()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getKeySet()); } if (limit_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(8, limit_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(8, limit_); } if (!resumeToken_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(9, resumeToken_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(9, resumeToken_); } if (!partitionToken_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(10, partitionToken_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(10, partitionToken_); } if (requestOptions_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getRequestOptions()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, getRequestOptions()); } if (dataBoostEnabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(15, dataBoostEnabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(15, dataBoostEnabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -664,33 +581,44 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.v1.ReadRequest)) { return super.equals(obj); } com.google.spanner.v1.ReadRequest other = (com.google.spanner.v1.ReadRequest) obj; - if (!getSession().equals(other.getSession())) return false; + if (!getSession() + .equals(other.getSession())) return false; if (hasTransaction() != other.hasTransaction()) return false; if (hasTransaction()) { - if (!getTransaction().equals(other.getTransaction())) return false; - } - if (!getTable().equals(other.getTable())) return false; - if (!getIndex().equals(other.getIndex())) return false; - if (!getColumnsList().equals(other.getColumnsList())) return false; + if (!getTransaction() + .equals(other.getTransaction())) return false; + } + if (!getTable() + .equals(other.getTable())) return false; + if (!getIndex() + .equals(other.getIndex())) return false; + if (!getColumnsList() + .equals(other.getColumnsList())) return false; if (hasKeySet() != other.hasKeySet()) return false; if (hasKeySet()) { - if (!getKeySet().equals(other.getKeySet())) return false; - } - if (getLimit() != other.getLimit()) return false; - if (!getResumeToken().equals(other.getResumeToken())) return false; - if (!getPartitionToken().equals(other.getPartitionToken())) return false; + if (!getKeySet() + .equals(other.getKeySet())) return false; + } + if (getLimit() + != other.getLimit()) return false; + if (!getResumeToken() + .equals(other.getResumeToken())) return false; + if (!getPartitionToken() + .equals(other.getPartitionToken())) return false; if (hasRequestOptions() != other.hasRequestOptions()) return false; if (hasRequestOptions()) { - if (!getRequestOptions().equals(other.getRequestOptions())) return false; + if (!getRequestOptions() + .equals(other.getRequestOptions())) return false; } - if (getDataBoostEnabled() != other.getDataBoostEnabled()) return false; + if (getDataBoostEnabled() + != other.getDataBoostEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -721,7 +649,8 @@ public int hashCode() { hash = (53 * hash) + getKeySet().hashCode(); } hash = (37 * hash) + LIMIT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getLimit()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getLimit()); hash = (37 * hash) + RESUME_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getResumeToken().hashCode(); hash = (37 * hash) + PARTITION_TOKEN_FIELD_NUMBER; @@ -731,109 +660,104 @@ public int hashCode() { hash = (53 * hash) + getRequestOptions().hashCode(); } hash = (37 * hash) + DATA_BOOST_ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDataBoostEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDataBoostEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.spanner.v1.ReadRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.v1.ReadRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.ReadRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.v1.ReadRequest parseFrom(com.google.protobuf.ByteString data) + public static com.google.spanner.v1.ReadRequest parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.ReadRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.ReadRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.ReadRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.ReadRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.ReadRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.ReadRequest 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.spanner.v1.ReadRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.ReadRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.ReadRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.v1.ReadRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [Read][google.spanner.v1.Spanner.Read] and
    * [StreamingRead][google.spanner.v1.Spanner.StreamingRead].
@@ -841,32 +765,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.v1.ReadRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.v1.ReadRequest)
       com.google.spanner.v1.ReadRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.v1.SpannerProto
-          .internal_static_google_spanner_v1_ReadRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ReadRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.v1.SpannerProto
-          .internal_static_google_spanner_v1_ReadRequest_fieldAccessorTable
+      return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ReadRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.v1.ReadRequest.class,
-              com.google.spanner.v1.ReadRequest.Builder.class);
+              com.google.spanner.v1.ReadRequest.class, com.google.spanner.v1.ReadRequest.Builder.class);
     }
 
     // Construct using com.google.spanner.v1.ReadRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -899,9 +824,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.v1.SpannerProto
-          .internal_static_google_spanner_v1_ReadRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ReadRequest_descriptor;
     }
 
     @java.lang.Override
@@ -922,9 +847,7 @@ public com.google.spanner.v1.ReadRequest build() {
     public com.google.spanner.v1.ReadRequest buildPartial() {
       com.google.spanner.v1.ReadRequest result = new com.google.spanner.v1.ReadRequest(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -943,8 +866,9 @@ private void buildPartial0(com.google.spanner.v1.ReadRequest result) {
         result.session_ = session_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.transaction_ =
-            transactionBuilder_ == null ? transaction_ : transactionBuilder_.build();
+        result.transaction_ = transactionBuilder_ == null
+            ? transaction_
+            : transactionBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
         result.table_ = table_;
@@ -953,7 +877,9 @@ private void buildPartial0(com.google.spanner.v1.ReadRequest result) {
         result.index_ = index_;
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
-        result.keySet_ = keySetBuilder_ == null ? keySet_ : keySetBuilder_.build();
+        result.keySet_ = keySetBuilder_ == null
+            ? keySet_
+            : keySetBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000040) != 0)) {
         result.limit_ = limit_;
@@ -965,8 +891,9 @@ private void buildPartial0(com.google.spanner.v1.ReadRequest result) {
         result.partitionToken_ = partitionToken_;
       }
       if (((from_bitField0_ & 0x00000200) != 0)) {
-        result.requestOptions_ =
-            requestOptionsBuilder_ == null ? requestOptions_ : requestOptionsBuilder_.build();
+        result.requestOptions_ = requestOptionsBuilder_ == null
+            ? requestOptions_
+            : requestOptionsBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000400) != 0)) {
         result.dataBoostEnabled_ = dataBoostEnabled_;
@@ -977,39 +904,38 @@ private void buildPartial0(com.google.spanner.v1.ReadRequest 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.spanner.v1.ReadRequest) {
-        return mergeFrom((com.google.spanner.v1.ReadRequest) other);
+        return mergeFrom((com.google.spanner.v1.ReadRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1090,80 +1016,74 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                session_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getTransactionFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                table_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                index_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            case 42:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureColumnsIsMutable();
-                columns_.add(s);
-                break;
-              } // case 42
-            case 50:
-              {
-                input.readMessage(getKeySetFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 50
-            case 64:
-              {
-                limit_ = input.readInt64();
-                bitField0_ |= 0x00000040;
-                break;
-              } // case 64
-            case 74:
-              {
-                resumeToken_ = input.readBytes();
-                bitField0_ |= 0x00000080;
-                break;
-              } // case 74
-            case 82:
-              {
-                partitionToken_ = input.readBytes();
-                bitField0_ |= 0x00000100;
-                break;
-              } // case 82
-            case 90:
-              {
-                input.readMessage(getRequestOptionsFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000200;
-                break;
-              } // case 90
-            case 120:
-              {
-                dataBoostEnabled_ = input.readBool();
-                bitField0_ |= 0x00000400;
-                break;
-              } // case 120
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              session_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getTransactionFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              table_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              index_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            case 42: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureColumnsIsMutable();
+              columns_.add(s);
+              break;
+            } // case 42
+            case 50: {
+              input.readMessage(
+                  getKeySetFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 50
+            case 64: {
+              limit_ = input.readInt64();
+              bitField0_ |= 0x00000040;
+              break;
+            } // case 64
+            case 74: {
+              resumeToken_ = input.readBytes();
+              bitField0_ |= 0x00000080;
+              break;
+            } // case 74
+            case 82: {
+              partitionToken_ = input.readBytes();
+              bitField0_ |= 0x00000100;
+              break;
+            } // case 82
+            case 90: {
+              input.readMessage(
+                  getRequestOptionsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000200;
+              break;
+            } // case 90
+            case 120: {
+              dataBoostEnabled_ = input.readBool();
+              bitField0_ |= 0x00000400;
+              break;
+            } // case 120
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1173,27 +1093,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object session_ = "";
     /**
-     *
-     *
      * 
      * Required. The session in which the read should be performed.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The session. */ public java.lang.String getSession() { java.lang.Object ref = session_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); session_ = s; return s; @@ -1202,23 +1117,20 @@ public java.lang.String getSession() { } } /** - * - * *
      * Required. The session in which the read should be performed.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for session. */ - public com.google.protobuf.ByteString getSessionBytes() { + public com.google.protobuf.ByteString + getSessionBytes() { java.lang.Object ref = session_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); session_ = b; return b; } else { @@ -1226,39 +1138,28 @@ public com.google.protobuf.ByteString getSessionBytes() { } } /** - * - * *
      * Required. The session in which the read should be performed.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The session to set. * @return This builder for chaining. */ - public Builder setSession(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSession( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } session_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The session in which the read should be performed.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearSession() { @@ -1268,23 +1169,17 @@ public Builder clearSession() { return this; } /** - * - * *
      * Required. The session in which the read should be performed.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for session to set. * @return This builder for chaining. */ - public Builder setSessionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSessionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); session_ = value; bitField0_ |= 0x00000001; @@ -1294,49 +1189,36 @@ public Builder setSessionBytes(com.google.protobuf.ByteString value) { private com.google.spanner.v1.TransactionSelector transaction_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.TransactionSelector, - com.google.spanner.v1.TransactionSelector.Builder, - com.google.spanner.v1.TransactionSelectorOrBuilder> - transactionBuilder_; + com.google.spanner.v1.TransactionSelector, com.google.spanner.v1.TransactionSelector.Builder, com.google.spanner.v1.TransactionSelectorOrBuilder> transactionBuilder_; /** - * - * *
      * The transaction to use. If none is provided, the default is a
      * temporary read-only transaction with strong concurrency.
      * 
* * .google.spanner.v1.TransactionSelector transaction = 2; - * * @return Whether the transaction field is set. */ public boolean hasTransaction() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The transaction to use. If none is provided, the default is a
      * temporary read-only transaction with strong concurrency.
      * 
* * .google.spanner.v1.TransactionSelector transaction = 2; - * * @return The transaction. */ public com.google.spanner.v1.TransactionSelector getTransaction() { if (transactionBuilder_ == null) { - return transaction_ == null - ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() - : transaction_; + return transaction_ == null ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() : transaction_; } else { return transactionBuilder_.getMessage(); } } /** - * - * *
      * The transaction to use. If none is provided, the default is a
      * temporary read-only transaction with strong concurrency.
@@ -1358,8 +1240,6 @@ public Builder setTransaction(com.google.spanner.v1.TransactionSelector value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The transaction to use. If none is provided, the default is a
      * temporary read-only transaction with strong concurrency.
@@ -1379,8 +1259,6 @@ public Builder setTransaction(
       return this;
     }
     /**
-     *
-     *
      * 
      * The transaction to use. If none is provided, the default is a
      * temporary read-only transaction with strong concurrency.
@@ -1390,9 +1268,9 @@ public Builder setTransaction(
      */
     public Builder mergeTransaction(com.google.spanner.v1.TransactionSelector value) {
       if (transactionBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && transaction_ != null
-            && transaction_ != com.google.spanner.v1.TransactionSelector.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          transaction_ != null &&
+          transaction_ != com.google.spanner.v1.TransactionSelector.getDefaultInstance()) {
           getTransactionBuilder().mergeFrom(value);
         } else {
           transaction_ = value;
@@ -1405,8 +1283,6 @@ public Builder mergeTransaction(com.google.spanner.v1.TransactionSelector value)
       return this;
     }
     /**
-     *
-     *
      * 
      * The transaction to use. If none is provided, the default is a
      * temporary read-only transaction with strong concurrency.
@@ -1425,8 +1301,6 @@ public Builder clearTransaction() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The transaction to use. If none is provided, the default is a
      * temporary read-only transaction with strong concurrency.
@@ -1440,8 +1314,6 @@ public com.google.spanner.v1.TransactionSelector.Builder getTransactionBuilder()
       return getTransactionFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The transaction to use. If none is provided, the default is a
      * temporary read-only transaction with strong concurrency.
@@ -1453,14 +1325,11 @@ public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilde
       if (transactionBuilder_ != null) {
         return transactionBuilder_.getMessageOrBuilder();
       } else {
-        return transaction_ == null
-            ? com.google.spanner.v1.TransactionSelector.getDefaultInstance()
-            : transaction_;
+        return transaction_ == null ?
+            com.google.spanner.v1.TransactionSelector.getDefaultInstance() : transaction_;
       }
     }
     /**
-     *
-     *
      * 
      * The transaction to use. If none is provided, the default is a
      * temporary read-only transaction with strong concurrency.
@@ -1469,17 +1338,14 @@ public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilde
      * .google.spanner.v1.TransactionSelector transaction = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.TransactionSelector,
-            com.google.spanner.v1.TransactionSelector.Builder,
-            com.google.spanner.v1.TransactionSelectorOrBuilder>
+        com.google.spanner.v1.TransactionSelector, com.google.spanner.v1.TransactionSelector.Builder, com.google.spanner.v1.TransactionSelectorOrBuilder> 
         getTransactionFieldBuilder() {
       if (transactionBuilder_ == null) {
-        transactionBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.v1.TransactionSelector,
-                com.google.spanner.v1.TransactionSelector.Builder,
-                com.google.spanner.v1.TransactionSelectorOrBuilder>(
-                getTransaction(), getParentForChildren(), isClean());
+        transactionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.v1.TransactionSelector, com.google.spanner.v1.TransactionSelector.Builder, com.google.spanner.v1.TransactionSelectorOrBuilder>(
+                getTransaction(),
+                getParentForChildren(),
+                isClean());
         transaction_ = null;
       }
       return transactionBuilder_;
@@ -1487,20 +1353,18 @@ public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilde
 
     private java.lang.Object table_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the table in the database to be read.
      * 
* * string table = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The table. */ public java.lang.String getTable() { java.lang.Object ref = table_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); table_ = s; return s; @@ -1509,21 +1373,20 @@ public java.lang.String getTable() { } } /** - * - * *
      * Required. The name of the table in the database to be read.
      * 
* * string table = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for table. */ - public com.google.protobuf.ByteString getTableBytes() { + public com.google.protobuf.ByteString + getTableBytes() { java.lang.Object ref = table_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); table_ = b; return b; } else { @@ -1531,35 +1394,28 @@ public com.google.protobuf.ByteString getTableBytes() { } } /** - * - * *
      * Required. The name of the table in the database to be read.
      * 
* * string table = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The table to set. * @return This builder for chaining. */ - public Builder setTable(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTable( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } table_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Required. The name of the table in the database to be read.
      * 
* * string table = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearTable() { @@ -1569,21 +1425,17 @@ public Builder clearTable() { return this; } /** - * - * *
      * Required. The name of the table in the database to be read.
      * 
* * string table = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for table to set. * @return This builder for chaining. */ - public Builder setTableBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); table_ = value; bitField0_ |= 0x00000004; @@ -1593,8 +1445,6 @@ public Builder setTableBytes(com.google.protobuf.ByteString value) { private java.lang.Object index_ = ""; /** - * - * *
      * If non-empty, the name of an index on [table][google.spanner.v1.ReadRequest.table]. This index is
      * used instead of the table primary key when interpreting [key_set][google.spanner.v1.ReadRequest.key_set]
@@ -1602,13 +1452,13 @@ public Builder setTableBytes(com.google.protobuf.ByteString value) {
      * 
* * string index = 4; - * * @return The index. */ public java.lang.String getIndex() { java.lang.Object ref = index_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); index_ = s; return s; @@ -1617,8 +1467,6 @@ public java.lang.String getIndex() { } } /** - * - * *
      * If non-empty, the name of an index on [table][google.spanner.v1.ReadRequest.table]. This index is
      * used instead of the table primary key when interpreting [key_set][google.spanner.v1.ReadRequest.key_set]
@@ -1626,14 +1474,15 @@ public java.lang.String getIndex() {
      * 
* * string index = 4; - * * @return The bytes for index. */ - public com.google.protobuf.ByteString getIndexBytes() { + public com.google.protobuf.ByteString + getIndexBytes() { java.lang.Object ref = index_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); index_ = b; return b; } else { @@ -1641,8 +1490,6 @@ public com.google.protobuf.ByteString getIndexBytes() { } } /** - * - * *
      * If non-empty, the name of an index on [table][google.spanner.v1.ReadRequest.table]. This index is
      * used instead of the table primary key when interpreting [key_set][google.spanner.v1.ReadRequest.key_set]
@@ -1650,22 +1497,18 @@ public com.google.protobuf.ByteString getIndexBytes() {
      * 
* * string index = 4; - * * @param value The index to set. * @return This builder for chaining. */ - public Builder setIndex(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIndex( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } index_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * If non-empty, the name of an index on [table][google.spanner.v1.ReadRequest.table]. This index is
      * used instead of the table primary key when interpreting [key_set][google.spanner.v1.ReadRequest.key_set]
@@ -1673,7 +1516,6 @@ public Builder setIndex(java.lang.String value) {
      * 
* * string index = 4; - * * @return This builder for chaining. */ public Builder clearIndex() { @@ -1683,8 +1525,6 @@ public Builder clearIndex() { return this; } /** - * - * *
      * If non-empty, the name of an index on [table][google.spanner.v1.ReadRequest.table]. This index is
      * used instead of the table primary key when interpreting [key_set][google.spanner.v1.ReadRequest.key_set]
@@ -1692,14 +1532,12 @@ public Builder clearIndex() {
      * 
* * string index = 4; - * * @param value The bytes for index to set. * @return This builder for chaining. */ - public Builder setIndexBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIndexBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); index_ = value; bitField0_ |= 0x00000008; @@ -1707,55 +1545,45 @@ public Builder setIndexBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.LazyStringList columns_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList columns_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureColumnsIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { columns_ = new com.google.protobuf.LazyStringArrayList(columns_); bitField0_ |= 0x00000010; - } + } } /** - * - * *
      * Required. The columns of [table][google.spanner.v1.ReadRequest.table] to be returned for each row matching
      * this request.
      * 
* * repeated string columns = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return A list containing the columns. */ - public com.google.protobuf.ProtocolStringList getColumnsList() { + public com.google.protobuf.ProtocolStringList + getColumnsList() { return columns_.getUnmodifiableView(); } /** - * - * *
      * Required. The columns of [table][google.spanner.v1.ReadRequest.table] to be returned for each row matching
      * this request.
      * 
* * repeated string columns = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The count of columns. */ public int getColumnsCount() { return columns_.size(); } /** - * - * *
      * Required. The columns of [table][google.spanner.v1.ReadRequest.table] to be returned for each row matching
      * this request.
      * 
* * repeated string columns = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the element to return. * @return The columns at the given index. */ @@ -1763,95 +1591,81 @@ public java.lang.String getColumns(int index) { return columns_.get(index); } /** - * - * *
      * Required. The columns of [table][google.spanner.v1.ReadRequest.table] to be returned for each row matching
      * this request.
      * 
* * repeated string columns = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the value to return. * @return The bytes of the columns at the given index. */ - public com.google.protobuf.ByteString getColumnsBytes(int index) { + public com.google.protobuf.ByteString + getColumnsBytes(int index) { return columns_.getByteString(index); } /** - * - * *
      * Required. The columns of [table][google.spanner.v1.ReadRequest.table] to be returned for each row matching
      * this request.
      * 
* * repeated string columns = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index to set the value at. * @param value The columns to set. * @return This builder for chaining. */ - public Builder setColumns(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setColumns( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureColumnsIsMutable(); columns_.set(index, value); onChanged(); return this; } /** - * - * *
      * Required. The columns of [table][google.spanner.v1.ReadRequest.table] to be returned for each row matching
      * this request.
      * 
* * repeated string columns = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The columns to add. * @return This builder for chaining. */ - public Builder addColumns(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addColumns( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureColumnsIsMutable(); columns_.add(value); onChanged(); return this; } /** - * - * *
      * Required. The columns of [table][google.spanner.v1.ReadRequest.table] to be returned for each row matching
      * this request.
      * 
* * repeated string columns = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @param values The columns to add. * @return This builder for chaining. */ - public Builder addAllColumns(java.lang.Iterable values) { + public Builder addAllColumns( + java.lang.Iterable values) { ensureColumnsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, columns_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, columns_); onChanged(); return this; } /** - * - * *
      * Required. The columns of [table][google.spanner.v1.ReadRequest.table] to be returned for each row matching
      * this request.
      * 
* * repeated string columns = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearColumns() { @@ -1861,22 +1675,18 @@ public Builder clearColumns() { return this; } /** - * - * *
      * Required. The columns of [table][google.spanner.v1.ReadRequest.table] to be returned for each row matching
      * this request.
      * 
* * repeated string columns = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes of the columns to add. * @return This builder for chaining. */ - public Builder addColumnsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addColumnsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureColumnsIsMutable(); columns_.add(value); @@ -1886,13 +1696,8 @@ public Builder addColumnsBytes(com.google.protobuf.ByteString value) { private com.google.spanner.v1.KeySet keySet_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.KeySet, - com.google.spanner.v1.KeySet.Builder, - com.google.spanner.v1.KeySetOrBuilder> - keySetBuilder_; + com.google.spanner.v1.KeySet, com.google.spanner.v1.KeySet.Builder, com.google.spanner.v1.KeySetOrBuilder> keySetBuilder_; /** - * - * *
      * Required. `key_set` identifies the rows to be yielded. `key_set` names the
      * primary keys of the rows in [table][google.spanner.v1.ReadRequest.table] to be yielded, unless [index][google.spanner.v1.ReadRequest.index]
@@ -1907,15 +1712,12 @@ public Builder addColumnsBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.spanner.v1.KeySet key_set = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the keySet field is set. */ public boolean hasKeySet() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
      * Required. `key_set` identifies the rows to be yielded. `key_set` names the
      * primary keys of the rows in [table][google.spanner.v1.ReadRequest.table] to be yielded, unless [index][google.spanner.v1.ReadRequest.index]
@@ -1930,7 +1732,6 @@ public boolean hasKeySet() {
      * 
* * .google.spanner.v1.KeySet key_set = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The keySet. */ public com.google.spanner.v1.KeySet getKeySet() { @@ -1941,8 +1742,6 @@ public com.google.spanner.v1.KeySet getKeySet() { } } /** - * - * *
      * Required. `key_set` identifies the rows to be yielded. `key_set` names the
      * primary keys of the rows in [table][google.spanner.v1.ReadRequest.table] to be yielded, unless [index][google.spanner.v1.ReadRequest.index]
@@ -1972,8 +1771,6 @@ public Builder setKeySet(com.google.spanner.v1.KeySet value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required. `key_set` identifies the rows to be yielded. `key_set` names the
      * primary keys of the rows in [table][google.spanner.v1.ReadRequest.table] to be yielded, unless [index][google.spanner.v1.ReadRequest.index]
@@ -1989,7 +1786,8 @@ public Builder setKeySet(com.google.spanner.v1.KeySet value) {
      *
      * .google.spanner.v1.KeySet key_set = 6 [(.google.api.field_behavior) = REQUIRED];
      */
-    public Builder setKeySet(com.google.spanner.v1.KeySet.Builder builderForValue) {
+    public Builder setKeySet(
+        com.google.spanner.v1.KeySet.Builder builderForValue) {
       if (keySetBuilder_ == null) {
         keySet_ = builderForValue.build();
       } else {
@@ -2000,8 +1798,6 @@ public Builder setKeySet(com.google.spanner.v1.KeySet.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required. `key_set` identifies the rows to be yielded. `key_set` names the
      * primary keys of the rows in [table][google.spanner.v1.ReadRequest.table] to be yielded, unless [index][google.spanner.v1.ReadRequest.index]
@@ -2019,9 +1815,9 @@ public Builder setKeySet(com.google.spanner.v1.KeySet.Builder builderForValue) {
      */
     public Builder mergeKeySet(com.google.spanner.v1.KeySet value) {
       if (keySetBuilder_ == null) {
-        if (((bitField0_ & 0x00000020) != 0)
-            && keySet_ != null
-            && keySet_ != com.google.spanner.v1.KeySet.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000020) != 0) &&
+          keySet_ != null &&
+          keySet_ != com.google.spanner.v1.KeySet.getDefaultInstance()) {
           getKeySetBuilder().mergeFrom(value);
         } else {
           keySet_ = value;
@@ -2034,8 +1830,6 @@ public Builder mergeKeySet(com.google.spanner.v1.KeySet value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required. `key_set` identifies the rows to be yielded. `key_set` names the
      * primary keys of the rows in [table][google.spanner.v1.ReadRequest.table] to be yielded, unless [index][google.spanner.v1.ReadRequest.index]
@@ -2062,8 +1856,6 @@ public Builder clearKeySet() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required. `key_set` identifies the rows to be yielded. `key_set` names the
      * primary keys of the rows in [table][google.spanner.v1.ReadRequest.table] to be yielded, unless [index][google.spanner.v1.ReadRequest.index]
@@ -2085,8 +1877,6 @@ public com.google.spanner.v1.KeySet.Builder getKeySetBuilder() {
       return getKeySetFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Required. `key_set` identifies the rows to be yielded. `key_set` names the
      * primary keys of the rows in [table][google.spanner.v1.ReadRequest.table] to be yielded, unless [index][google.spanner.v1.ReadRequest.index]
@@ -2106,12 +1896,11 @@ public com.google.spanner.v1.KeySetOrBuilder getKeySetOrBuilder() {
       if (keySetBuilder_ != null) {
         return keySetBuilder_.getMessageOrBuilder();
       } else {
-        return keySet_ == null ? com.google.spanner.v1.KeySet.getDefaultInstance() : keySet_;
+        return keySet_ == null ?
+            com.google.spanner.v1.KeySet.getDefaultInstance() : keySet_;
       }
     }
     /**
-     *
-     *
      * 
      * Required. `key_set` identifies the rows to be yielded. `key_set` names the
      * primary keys of the rows in [table][google.spanner.v1.ReadRequest.table] to be yielded, unless [index][google.spanner.v1.ReadRequest.index]
@@ -2128,26 +1917,21 @@ public com.google.spanner.v1.KeySetOrBuilder getKeySetOrBuilder() {
      * .google.spanner.v1.KeySet key_set = 6 [(.google.api.field_behavior) = REQUIRED];
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.KeySet,
-            com.google.spanner.v1.KeySet.Builder,
-            com.google.spanner.v1.KeySetOrBuilder>
+        com.google.spanner.v1.KeySet, com.google.spanner.v1.KeySet.Builder, com.google.spanner.v1.KeySetOrBuilder> 
         getKeySetFieldBuilder() {
       if (keySetBuilder_ == null) {
-        keySetBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.v1.KeySet,
-                com.google.spanner.v1.KeySet.Builder,
-                com.google.spanner.v1.KeySetOrBuilder>(
-                getKeySet(), getParentForChildren(), isClean());
+        keySetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.v1.KeySet, com.google.spanner.v1.KeySet.Builder, com.google.spanner.v1.KeySetOrBuilder>(
+                getKeySet(),
+                getParentForChildren(),
+                isClean());
         keySet_ = null;
       }
       return keySetBuilder_;
     }
 
-    private long limit_;
+    private long limit_ ;
     /**
-     *
-     *
      * 
      * If greater than zero, only the first `limit` rows are yielded. If `limit`
      * is zero, the default is no limit. A limit cannot be specified if
@@ -2155,7 +1939,6 @@ public com.google.spanner.v1.KeySetOrBuilder getKeySetOrBuilder() {
      * 
* * int64 limit = 8; - * * @return The limit. */ @java.lang.Override @@ -2163,8 +1946,6 @@ public long getLimit() { return limit_; } /** - * - * *
      * If greater than zero, only the first `limit` rows are yielded. If `limit`
      * is zero, the default is no limit. A limit cannot be specified if
@@ -2172,20 +1953,17 @@ public long getLimit() {
      * 
* * int64 limit = 8; - * * @param value The limit to set. * @return This builder for chaining. */ public Builder setLimit(long value) { - + limit_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** - * - * *
      * If greater than zero, only the first `limit` rows are yielded. If `limit`
      * is zero, the default is no limit. A limit cannot be specified if
@@ -2193,7 +1971,6 @@ public Builder setLimit(long value) {
      * 
* * int64 limit = 8; - * * @return This builder for chaining. */ public Builder clearLimit() { @@ -2205,8 +1982,6 @@ public Builder clearLimit() { private com.google.protobuf.ByteString resumeToken_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * If this request is resuming a previously interrupted read,
      * `resume_token` should be copied from the last
@@ -2217,7 +1992,6 @@ public Builder clearLimit() {
      * 
* * bytes resume_token = 9; - * * @return The resumeToken. */ @java.lang.Override @@ -2225,8 +1999,6 @@ public com.google.protobuf.ByteString getResumeToken() { return resumeToken_; } /** - * - * *
      * If this request is resuming a previously interrupted read,
      * `resume_token` should be copied from the last
@@ -2237,22 +2009,17 @@ public com.google.protobuf.ByteString getResumeToken() {
      * 
* * bytes resume_token = 9; - * * @param value The resumeToken to set. * @return This builder for chaining. */ public Builder setResumeToken(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } resumeToken_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** - * - * *
      * If this request is resuming a previously interrupted read,
      * `resume_token` should be copied from the last
@@ -2263,7 +2030,6 @@ public Builder setResumeToken(com.google.protobuf.ByteString value) {
      * 
* * bytes resume_token = 9; - * * @return This builder for chaining. */ public Builder clearResumeToken() { @@ -2275,8 +2041,6 @@ public Builder clearResumeToken() { private com.google.protobuf.ByteString partitionToken_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * If present, results will be restricted to the specified partition
      * previously created using PartitionRead().    There must be an exact
@@ -2285,7 +2049,6 @@ public Builder clearResumeToken() {
      * 
* * bytes partition_token = 10; - * * @return The partitionToken. */ @java.lang.Override @@ -2293,8 +2056,6 @@ public com.google.protobuf.ByteString getPartitionToken() { return partitionToken_; } /** - * - * *
      * If present, results will be restricted to the specified partition
      * previously created using PartitionRead().    There must be an exact
@@ -2303,22 +2064,17 @@ public com.google.protobuf.ByteString getPartitionToken() {
      * 
* * bytes partition_token = 10; - * * @param value The partitionToken to set. * @return This builder for chaining. */ public Builder setPartitionToken(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } partitionToken_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** - * - * *
      * If present, results will be restricted to the specified partition
      * previously created using PartitionRead().    There must be an exact
@@ -2327,7 +2083,6 @@ public Builder setPartitionToken(com.google.protobuf.ByteString value) {
      * 
* * bytes partition_token = 10; - * * @return This builder for chaining. */ public Builder clearPartitionToken() { @@ -2339,47 +2094,34 @@ public Builder clearPartitionToken() { private com.google.spanner.v1.RequestOptions requestOptions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.RequestOptions, - com.google.spanner.v1.RequestOptions.Builder, - com.google.spanner.v1.RequestOptionsOrBuilder> - requestOptionsBuilder_; + com.google.spanner.v1.RequestOptions, com.google.spanner.v1.RequestOptions.Builder, com.google.spanner.v1.RequestOptionsOrBuilder> requestOptionsBuilder_; /** - * - * *
      * Common options for this request.
      * 
* * .google.spanner.v1.RequestOptions request_options = 11; - * * @return Whether the requestOptions field is set. */ public boolean hasRequestOptions() { return ((bitField0_ & 0x00000200) != 0); } /** - * - * *
      * Common options for this request.
      * 
* * .google.spanner.v1.RequestOptions request_options = 11; - * * @return The requestOptions. */ public com.google.spanner.v1.RequestOptions getRequestOptions() { if (requestOptionsBuilder_ == null) { - return requestOptions_ == null - ? com.google.spanner.v1.RequestOptions.getDefaultInstance() - : requestOptions_; + return requestOptions_ == null ? com.google.spanner.v1.RequestOptions.getDefaultInstance() : requestOptions_; } else { return requestOptionsBuilder_.getMessage(); } } /** - * - * *
      * Common options for this request.
      * 
@@ -2400,15 +2142,14 @@ public Builder setRequestOptions(com.google.spanner.v1.RequestOptions value) { return this; } /** - * - * *
      * Common options for this request.
      * 
* * .google.spanner.v1.RequestOptions request_options = 11; */ - public Builder setRequestOptions(com.google.spanner.v1.RequestOptions.Builder builderForValue) { + public Builder setRequestOptions( + com.google.spanner.v1.RequestOptions.Builder builderForValue) { if (requestOptionsBuilder_ == null) { requestOptions_ = builderForValue.build(); } else { @@ -2419,8 +2160,6 @@ public Builder setRequestOptions(com.google.spanner.v1.RequestOptions.Builder bu return this; } /** - * - * *
      * Common options for this request.
      * 
@@ -2429,9 +2168,9 @@ public Builder setRequestOptions(com.google.spanner.v1.RequestOptions.Builder bu */ public Builder mergeRequestOptions(com.google.spanner.v1.RequestOptions value) { if (requestOptionsBuilder_ == null) { - if (((bitField0_ & 0x00000200) != 0) - && requestOptions_ != null - && requestOptions_ != com.google.spanner.v1.RequestOptions.getDefaultInstance()) { + if (((bitField0_ & 0x00000200) != 0) && + requestOptions_ != null && + requestOptions_ != com.google.spanner.v1.RequestOptions.getDefaultInstance()) { getRequestOptionsBuilder().mergeFrom(value); } else { requestOptions_ = value; @@ -2444,8 +2183,6 @@ public Builder mergeRequestOptions(com.google.spanner.v1.RequestOptions value) { return this; } /** - * - * *
      * Common options for this request.
      * 
@@ -2463,8 +2200,6 @@ public Builder clearRequestOptions() { return this; } /** - * - * *
      * Common options for this request.
      * 
@@ -2477,8 +2212,6 @@ public com.google.spanner.v1.RequestOptions.Builder getRequestOptionsBuilder() { return getRequestOptionsFieldBuilder().getBuilder(); } /** - * - * *
      * Common options for this request.
      * 
@@ -2489,14 +2222,11 @@ public com.google.spanner.v1.RequestOptionsOrBuilder getRequestOptionsOrBuilder( if (requestOptionsBuilder_ != null) { return requestOptionsBuilder_.getMessageOrBuilder(); } else { - return requestOptions_ == null - ? com.google.spanner.v1.RequestOptions.getDefaultInstance() - : requestOptions_; + return requestOptions_ == null ? + com.google.spanner.v1.RequestOptions.getDefaultInstance() : requestOptions_; } } /** - * - * *
      * Common options for this request.
      * 
@@ -2504,26 +2234,21 @@ public com.google.spanner.v1.RequestOptionsOrBuilder getRequestOptionsOrBuilder( * .google.spanner.v1.RequestOptions request_options = 11; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.RequestOptions, - com.google.spanner.v1.RequestOptions.Builder, - com.google.spanner.v1.RequestOptionsOrBuilder> + com.google.spanner.v1.RequestOptions, com.google.spanner.v1.RequestOptions.Builder, com.google.spanner.v1.RequestOptionsOrBuilder> getRequestOptionsFieldBuilder() { if (requestOptionsBuilder_ == null) { - requestOptionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.RequestOptions, - com.google.spanner.v1.RequestOptions.Builder, - com.google.spanner.v1.RequestOptionsOrBuilder>( - getRequestOptions(), getParentForChildren(), isClean()); + requestOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.v1.RequestOptions, com.google.spanner.v1.RequestOptions.Builder, com.google.spanner.v1.RequestOptionsOrBuilder>( + getRequestOptions(), + getParentForChildren(), + isClean()); requestOptions_ = null; } return requestOptionsBuilder_; } - private boolean dataBoostEnabled_; + private boolean dataBoostEnabled_ ; /** - * - * *
      * If this is for a partitioned read and this field is set to `true`, the
      * request will be executed via Spanner independent compute resources.
@@ -2532,7 +2257,6 @@ public com.google.spanner.v1.RequestOptionsOrBuilder getRequestOptionsOrBuilder(
      * 
* * bool data_boost_enabled = 15; - * * @return The dataBoostEnabled. */ @java.lang.Override @@ -2540,8 +2264,6 @@ public boolean getDataBoostEnabled() { return dataBoostEnabled_; } /** - * - * *
      * If this is for a partitioned read and this field is set to `true`, the
      * request will be executed via Spanner independent compute resources.
@@ -2550,20 +2272,17 @@ public boolean getDataBoostEnabled() {
      * 
* * bool data_boost_enabled = 15; - * * @param value The dataBoostEnabled to set. * @return This builder for chaining. */ public Builder setDataBoostEnabled(boolean value) { - + dataBoostEnabled_ = value; bitField0_ |= 0x00000400; onChanged(); return this; } /** - * - * *
      * If this is for a partitioned read and this field is set to `true`, the
      * request will be executed via Spanner independent compute resources.
@@ -2572,7 +2291,6 @@ public Builder setDataBoostEnabled(boolean value) {
      * 
* * bool data_boost_enabled = 15; - * * @return This builder for chaining. */ public Builder clearDataBoostEnabled() { @@ -2581,9 +2299,9 @@ public Builder clearDataBoostEnabled() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2593,12 +2311,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.v1.ReadRequest) } // @@protoc_insertion_point(class_scope:google.spanner.v1.ReadRequest) private static final com.google.spanner.v1.ReadRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.v1.ReadRequest(); } @@ -2607,27 +2325,27 @@ public static com.google.spanner.v1.ReadRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReadRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReadRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2642,4 +2360,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.ReadRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ReadRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ReadRequestOrBuilder.java similarity index 87% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ReadRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ReadRequestOrBuilder.java index fc986d632d4..9372473838f 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ReadRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ReadRequestOrBuilder.java @@ -1,86 +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/spanner/v1/spanner.proto package com.google.spanner.v1; -public interface ReadRequestOrBuilder - extends +public interface ReadRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.ReadRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The session in which the read should be performed.
    * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The session. */ java.lang.String getSession(); /** - * - * *
    * Required. The session in which the read should be performed.
    * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for session. */ - com.google.protobuf.ByteString getSessionBytes(); + com.google.protobuf.ByteString + getSessionBytes(); /** - * - * *
    * The transaction to use. If none is provided, the default is a
    * temporary read-only transaction with strong concurrency.
    * 
* * .google.spanner.v1.TransactionSelector transaction = 2; - * * @return Whether the transaction field is set. */ boolean hasTransaction(); /** - * - * *
    * The transaction to use. If none is provided, the default is a
    * temporary read-only transaction with strong concurrency.
    * 
* * .google.spanner.v1.TransactionSelector transaction = 2; - * * @return The transaction. */ com.google.spanner.v1.TransactionSelector getTransaction(); /** - * - * *
    * The transaction to use. If none is provided, the default is a
    * temporary read-only transaction with strong concurrency.
@@ -91,33 +58,26 @@ public interface ReadRequestOrBuilder
   com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilder();
 
   /**
-   *
-   *
    * 
    * Required. The name of the table in the database to be read.
    * 
* * string table = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The table. */ java.lang.String getTable(); /** - * - * *
    * Required. The name of the table in the database to be read.
    * 
* * string table = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for table. */ - com.google.protobuf.ByteString getTableBytes(); + com.google.protobuf.ByteString + getTableBytes(); /** - * - * *
    * If non-empty, the name of an index on [table][google.spanner.v1.ReadRequest.table]. This index is
    * used instead of the table primary key when interpreting [key_set][google.spanner.v1.ReadRequest.key_set]
@@ -125,13 +85,10 @@ public interface ReadRequestOrBuilder
    * 
* * string index = 4; - * * @return The index. */ java.lang.String getIndex(); /** - * - * *
    * If non-empty, the name of an index on [table][google.spanner.v1.ReadRequest.table]. This index is
    * used instead of the table primary key when interpreting [key_set][google.spanner.v1.ReadRequest.key_set]
@@ -139,69 +96,57 @@ public interface ReadRequestOrBuilder
    * 
* * string index = 4; - * * @return The bytes for index. */ - com.google.protobuf.ByteString getIndexBytes(); + com.google.protobuf.ByteString + getIndexBytes(); /** - * - * *
    * Required. The columns of [table][google.spanner.v1.ReadRequest.table] to be returned for each row matching
    * this request.
    * 
* * repeated string columns = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return A list containing the columns. */ - java.util.List getColumnsList(); + java.util.List + getColumnsList(); /** - * - * *
    * Required. The columns of [table][google.spanner.v1.ReadRequest.table] to be returned for each row matching
    * this request.
    * 
* * repeated string columns = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The count of columns. */ int getColumnsCount(); /** - * - * *
    * Required. The columns of [table][google.spanner.v1.ReadRequest.table] to be returned for each row matching
    * this request.
    * 
* * repeated string columns = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the element to return. * @return The columns at the given index. */ java.lang.String getColumns(int index); /** - * - * *
    * Required. The columns of [table][google.spanner.v1.ReadRequest.table] to be returned for each row matching
    * this request.
    * 
* * repeated string columns = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the value to return. * @return The bytes of the columns at the given index. */ - com.google.protobuf.ByteString getColumnsBytes(int index); + com.google.protobuf.ByteString + getColumnsBytes(int index); /** - * - * *
    * Required. `key_set` identifies the rows to be yielded. `key_set` names the
    * primary keys of the rows in [table][google.spanner.v1.ReadRequest.table] to be yielded, unless [index][google.spanner.v1.ReadRequest.index]
@@ -216,13 +161,10 @@ public interface ReadRequestOrBuilder
    * 
* * .google.spanner.v1.KeySet key_set = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the keySet field is set. */ boolean hasKeySet(); /** - * - * *
    * Required. `key_set` identifies the rows to be yielded. `key_set` names the
    * primary keys of the rows in [table][google.spanner.v1.ReadRequest.table] to be yielded, unless [index][google.spanner.v1.ReadRequest.index]
@@ -237,13 +179,10 @@ public interface ReadRequestOrBuilder
    * 
* * .google.spanner.v1.KeySet key_set = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The keySet. */ com.google.spanner.v1.KeySet getKeySet(); /** - * - * *
    * Required. `key_set` identifies the rows to be yielded. `key_set` names the
    * primary keys of the rows in [table][google.spanner.v1.ReadRequest.table] to be yielded, unless [index][google.spanner.v1.ReadRequest.index]
@@ -262,8 +201,6 @@ public interface ReadRequestOrBuilder
   com.google.spanner.v1.KeySetOrBuilder getKeySetOrBuilder();
 
   /**
-   *
-   *
    * 
    * If greater than zero, only the first `limit` rows are yielded. If `limit`
    * is zero, the default is no limit. A limit cannot be specified if
@@ -271,14 +208,11 @@ public interface ReadRequestOrBuilder
    * 
* * int64 limit = 8; - * * @return The limit. */ long getLimit(); /** - * - * *
    * If this request is resuming a previously interrupted read,
    * `resume_token` should be copied from the last
@@ -289,14 +223,11 @@ public interface ReadRequestOrBuilder
    * 
* * bytes resume_token = 9; - * * @return The resumeToken. */ com.google.protobuf.ByteString getResumeToken(); /** - * - * *
    * If present, results will be restricted to the specified partition
    * previously created using PartitionRead().    There must be an exact
@@ -305,38 +236,29 @@ public interface ReadRequestOrBuilder
    * 
* * bytes partition_token = 10; - * * @return The partitionToken. */ com.google.protobuf.ByteString getPartitionToken(); /** - * - * *
    * Common options for this request.
    * 
* * .google.spanner.v1.RequestOptions request_options = 11; - * * @return Whether the requestOptions field is set. */ boolean hasRequestOptions(); /** - * - * *
    * Common options for this request.
    * 
* * .google.spanner.v1.RequestOptions request_options = 11; - * * @return The requestOptions. */ com.google.spanner.v1.RequestOptions getRequestOptions(); /** - * - * *
    * Common options for this request.
    * 
@@ -346,8 +268,6 @@ public interface ReadRequestOrBuilder com.google.spanner.v1.RequestOptionsOrBuilder getRequestOptionsOrBuilder(); /** - * - * *
    * If this is for a partitioned read and this field is set to `true`, the
    * request will be executed via Spanner independent compute resources.
@@ -356,7 +276,6 @@ public interface ReadRequestOrBuilder
    * 
* * bool data_boost_enabled = 15; - * * @return The dataBoostEnabled. */ boolean getDataBoostEnabled(); diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RequestOptions.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RequestOptions.java similarity index 76% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RequestOptions.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RequestOptions.java index bdce7978e3a..8b366ed3e99 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RequestOptions.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RequestOptions.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/spanner/v1/spanner.proto package com.google.spanner.v1; /** - * - * *
  * Common request options for various APIs.
  * 
* * Protobuf type {@code google.spanner.v1.RequestOptions} */ -public final class RequestOptions extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RequestOptions extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.v1.RequestOptions) RequestOptionsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RequestOptions.newBuilder() to construct. private RequestOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RequestOptions() { priority_ = 0; requestTag_ = ""; @@ -45,33 +27,30 @@ private RequestOptions() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RequestOptions(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_RequestOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_RequestOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_RequestOptions_fieldAccessorTable + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_RequestOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.RequestOptions.class, - com.google.spanner.v1.RequestOptions.Builder.class); + com.google.spanner.v1.RequestOptions.class, com.google.spanner.v1.RequestOptions.Builder.class); } /** - * - * *
    * The relative priority for requests. Note that priority is not applicable
    * for [BeginTransaction][google.spanner.v1.Spanner.BeginTransaction].
@@ -91,10 +70,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.spanner.v1.RequestOptions.Priority}
    */
-  public enum Priority implements com.google.protobuf.ProtocolMessageEnum {
+  public enum Priority
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * `PRIORITY_UNSPECIFIED` is equivalent to `PRIORITY_HIGH`.
      * 
@@ -103,8 +81,6 @@ public enum Priority implements com.google.protobuf.ProtocolMessageEnum { */ PRIORITY_UNSPECIFIED(0), /** - * - * *
      * This specifies that the request is low priority.
      * 
@@ -113,8 +89,6 @@ public enum Priority implements com.google.protobuf.ProtocolMessageEnum { */ PRIORITY_LOW(1), /** - * - * *
      * This specifies that the request is medium priority.
      * 
@@ -123,8 +97,6 @@ public enum Priority implements com.google.protobuf.ProtocolMessageEnum { */ PRIORITY_MEDIUM(2), /** - * - * *
      * This specifies that the request is high priority.
      * 
@@ -136,8 +108,6 @@ public enum Priority implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * `PRIORITY_UNSPECIFIED` is equivalent to `PRIORITY_HIGH`.
      * 
@@ -146,8 +116,6 @@ public enum Priority implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PRIORITY_UNSPECIFIED_VALUE = 0; /** - * - * *
      * This specifies that the request is low priority.
      * 
@@ -156,8 +124,6 @@ public enum Priority implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PRIORITY_LOW_VALUE = 1; /** - * - * *
      * This specifies that the request is medium priority.
      * 
@@ -166,8 +132,6 @@ public enum Priority implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PRIORITY_MEDIUM_VALUE = 2; /** - * - * *
      * This specifies that the request is high priority.
      * 
@@ -176,6 +140,7 @@ public enum Priority implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PRIORITY_HIGH_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -200,51 +165,50 @@ public static Priority valueOf(int value) { */ public static Priority forNumber(int value) { switch (value) { - case 0: - return PRIORITY_UNSPECIFIED; - case 1: - return PRIORITY_LOW; - case 2: - return PRIORITY_MEDIUM; - case 3: - return PRIORITY_HIGH; - default: - return null; + case 0: return PRIORITY_UNSPECIFIED; + case 1: return PRIORITY_LOW; + case 2: return PRIORITY_MEDIUM; + case 3: return PRIORITY_HIGH; + 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 Priority findValueByNumber(int number) { - return Priority.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + Priority> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Priority findValueByNumber(int number) { + return Priority.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.spanner.v1.RequestOptions.getDescriptor().getEnumTypes().get(0); } private static final Priority[] VALUES = values(); - public static Priority valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Priority 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; @@ -264,45 +228,33 @@ private Priority(int value) { public static final int PRIORITY_FIELD_NUMBER = 1; private int priority_ = 0; /** - * - * *
    * Priority for the request.
    * 
* * .google.spanner.v1.RequestOptions.Priority priority = 1; - * * @return The enum numeric value on the wire for priority. */ - @java.lang.Override - public int getPriorityValue() { + @java.lang.Override public int getPriorityValue() { return priority_; } /** - * - * *
    * Priority for the request.
    * 
* * .google.spanner.v1.RequestOptions.Priority priority = 1; - * * @return The priority. */ - @java.lang.Override - public com.google.spanner.v1.RequestOptions.Priority getPriority() { - com.google.spanner.v1.RequestOptions.Priority result = - com.google.spanner.v1.RequestOptions.Priority.forNumber(priority_); + @java.lang.Override public com.google.spanner.v1.RequestOptions.Priority getPriority() { + com.google.spanner.v1.RequestOptions.Priority result = com.google.spanner.v1.RequestOptions.Priority.forNumber(priority_); return result == null ? com.google.spanner.v1.RequestOptions.Priority.UNRECOGNIZED : result; } public static final int REQUEST_TAG_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object requestTag_ = ""; /** - * - * *
    * A per-request tag which can be applied to queries or reads, used for
    * statistics collection.
@@ -317,7 +269,6 @@ public com.google.spanner.v1.RequestOptions.Priority getPriority() {
    * 
* * string request_tag = 2; - * * @return The requestTag. */ @java.lang.Override @@ -326,15 +277,14 @@ public java.lang.String getRequestTag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestTag_ = s; return s; } } /** - * - * *
    * A per-request tag which can be applied to queries or reads, used for
    * statistics collection.
@@ -349,15 +299,16 @@ public java.lang.String getRequestTag() {
    * 
* * string request_tag = 2; - * * @return The bytes for requestTag. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestTagBytes() { + public com.google.protobuf.ByteString + getRequestTagBytes() { java.lang.Object ref = requestTag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestTag_ = b; return b; } else { @@ -366,12 +317,9 @@ public com.google.protobuf.ByteString getRequestTagBytes() { } public static final int TRANSACTION_TAG_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object transactionTag_ = ""; /** - * - * *
    * A tag used for statistics collection about this transaction.
    * Both request_tag and transaction_tag can be specified for a read or query
@@ -387,7 +335,6 @@ public com.google.protobuf.ByteString getRequestTagBytes() {
    * 
* * string transaction_tag = 3; - * * @return The transactionTag. */ @java.lang.Override @@ -396,15 +343,14 @@ public java.lang.String getTransactionTag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); transactionTag_ = s; return s; } } /** - * - * *
    * A tag used for statistics collection about this transaction.
    * Both request_tag and transaction_tag can be specified for a read or query
@@ -420,15 +366,16 @@ public java.lang.String getTransactionTag() {
    * 
* * string transaction_tag = 3; - * * @return The bytes for transactionTag. */ @java.lang.Override - public com.google.protobuf.ByteString getTransactionTagBytes() { + public com.google.protobuf.ByteString + getTransactionTagBytes() { java.lang.Object ref = transactionTag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); transactionTag_ = b; return b; } else { @@ -437,7 +384,6 @@ public com.google.protobuf.ByteString getTransactionTagBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -449,9 +395,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (priority_ - != com.google.spanner.v1.RequestOptions.Priority.PRIORITY_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (priority_ != com.google.spanner.v1.RequestOptions.Priority.PRIORITY_UNSPECIFIED.getNumber()) { output.writeEnum(1, priority_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestTag_)) { @@ -469,9 +415,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (priority_ - != com.google.spanner.v1.RequestOptions.Priority.PRIORITY_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, priority_); + if (priority_ != com.google.spanner.v1.RequestOptions.Priority.PRIORITY_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, priority_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestTag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, requestTag_); @@ -487,7 +433,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.spanner.v1.RequestOptions)) { return super.equals(obj); @@ -495,8 +441,10 @@ public boolean equals(final java.lang.Object obj) { com.google.spanner.v1.RequestOptions other = (com.google.spanner.v1.RequestOptions) obj; if (priority_ != other.priority_) return false; - if (!getRequestTag().equals(other.getRequestTag())) return false; - if (!getTransactionTag().equals(other.getTransactionTag())) return false; + if (!getRequestTag() + .equals(other.getRequestTag())) return false; + if (!getTransactionTag() + .equals(other.getTransactionTag())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -519,135 +467,130 @@ public int hashCode() { return hash; } - public static com.google.spanner.v1.RequestOptions parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.v1.RequestOptions parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.RequestOptions parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.v1.RequestOptions parseFrom(com.google.protobuf.ByteString data) + public static com.google.spanner.v1.RequestOptions parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.RequestOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.RequestOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.RequestOptions parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.RequestOptions parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.RequestOptions parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.RequestOptions 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.spanner.v1.RequestOptions parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.RequestOptions parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.RequestOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.v1.RequestOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Common request options for various APIs.
    * 
* * Protobuf type {@code google.spanner.v1.RequestOptions} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.RequestOptions) com.google.spanner.v1.RequestOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_RequestOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_RequestOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_RequestOptions_fieldAccessorTable + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_RequestOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.RequestOptions.class, - com.google.spanner.v1.RequestOptions.Builder.class); + com.google.spanner.v1.RequestOptions.class, com.google.spanner.v1.RequestOptions.Builder.class); } // Construct using com.google.spanner.v1.RequestOptions.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -659,9 +602,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_RequestOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_RequestOptions_descriptor; } @java.lang.Override @@ -681,9 +624,7 @@ public com.google.spanner.v1.RequestOptions build() { @java.lang.Override public com.google.spanner.v1.RequestOptions buildPartial() { com.google.spanner.v1.RequestOptions result = new com.google.spanner.v1.RequestOptions(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -705,39 +646,38 @@ private void buildPartial0(com.google.spanner.v1.RequestOptions 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.spanner.v1.RequestOptions) { - return mergeFrom((com.google.spanner.v1.RequestOptions) other); + return mergeFrom((com.google.spanner.v1.RequestOptions)other); } else { super.mergeFrom(other); return this; @@ -785,31 +725,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - priority_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - requestTag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - transactionTag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + priority_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + requestTag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + transactionTag_ = 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) { @@ -819,34 +755,26 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int priority_ = 0; /** - * - * *
      * Priority for the request.
      * 
* * .google.spanner.v1.RequestOptions.Priority priority = 1; - * * @return The enum numeric value on the wire for priority. */ - @java.lang.Override - public int getPriorityValue() { + @java.lang.Override public int getPriorityValue() { return priority_; } /** - * - * *
      * Priority for the request.
      * 
* * .google.spanner.v1.RequestOptions.Priority priority = 1; - * * @param value The enum numeric value on the wire for priority to set. * @return This builder for chaining. */ @@ -857,31 +785,24 @@ public Builder setPriorityValue(int value) { return this; } /** - * - * *
      * Priority for the request.
      * 
* * .google.spanner.v1.RequestOptions.Priority priority = 1; - * * @return The priority. */ @java.lang.Override public com.google.spanner.v1.RequestOptions.Priority getPriority() { - com.google.spanner.v1.RequestOptions.Priority result = - com.google.spanner.v1.RequestOptions.Priority.forNumber(priority_); + com.google.spanner.v1.RequestOptions.Priority result = com.google.spanner.v1.RequestOptions.Priority.forNumber(priority_); return result == null ? com.google.spanner.v1.RequestOptions.Priority.UNRECOGNIZED : result; } /** - * - * *
      * Priority for the request.
      * 
* * .google.spanner.v1.RequestOptions.Priority priority = 1; - * * @param value The priority to set. * @return This builder for chaining. */ @@ -895,14 +816,11 @@ public Builder setPriority(com.google.spanner.v1.RequestOptions.Priority value) return this; } /** - * - * *
      * Priority for the request.
      * 
* * .google.spanner.v1.RequestOptions.Priority priority = 1; - * * @return This builder for chaining. */ public Builder clearPriority() { @@ -914,8 +832,6 @@ public Builder clearPriority() { private java.lang.Object requestTag_ = ""; /** - * - * *
      * A per-request tag which can be applied to queries or reads, used for
      * statistics collection.
@@ -930,13 +846,13 @@ public Builder clearPriority() {
      * 
* * string request_tag = 2; - * * @return The requestTag. */ public java.lang.String getRequestTag() { java.lang.Object ref = requestTag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestTag_ = s; return s; @@ -945,8 +861,6 @@ public java.lang.String getRequestTag() { } } /** - * - * *
      * A per-request tag which can be applied to queries or reads, used for
      * statistics collection.
@@ -961,14 +875,15 @@ public java.lang.String getRequestTag() {
      * 
* * string request_tag = 2; - * * @return The bytes for requestTag. */ - public com.google.protobuf.ByteString getRequestTagBytes() { + public com.google.protobuf.ByteString + getRequestTagBytes() { java.lang.Object ref = requestTag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestTag_ = b; return b; } else { @@ -976,8 +891,6 @@ public com.google.protobuf.ByteString getRequestTagBytes() { } } /** - * - * *
      * A per-request tag which can be applied to queries or reads, used for
      * statistics collection.
@@ -992,22 +905,18 @@ public com.google.protobuf.ByteString getRequestTagBytes() {
      * 
* * string request_tag = 2; - * * @param value The requestTag to set. * @return This builder for chaining. */ - public Builder setRequestTag(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestTag( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } requestTag_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * A per-request tag which can be applied to queries or reads, used for
      * statistics collection.
@@ -1022,7 +931,6 @@ public Builder setRequestTag(java.lang.String value) {
      * 
* * string request_tag = 2; - * * @return This builder for chaining. */ public Builder clearRequestTag() { @@ -1032,8 +940,6 @@ public Builder clearRequestTag() { return this; } /** - * - * *
      * A per-request tag which can be applied to queries or reads, used for
      * statistics collection.
@@ -1048,14 +954,12 @@ public Builder clearRequestTag() {
      * 
* * string request_tag = 2; - * * @param value The bytes for requestTag to set. * @return This builder for chaining. */ - public Builder setRequestTagBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestTagBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); requestTag_ = value; bitField0_ |= 0x00000002; @@ -1065,8 +969,6 @@ public Builder setRequestTagBytes(com.google.protobuf.ByteString value) { private java.lang.Object transactionTag_ = ""; /** - * - * *
      * A tag used for statistics collection about this transaction.
      * Both request_tag and transaction_tag can be specified for a read or query
@@ -1082,13 +984,13 @@ public Builder setRequestTagBytes(com.google.protobuf.ByteString value) {
      * 
* * string transaction_tag = 3; - * * @return The transactionTag. */ public java.lang.String getTransactionTag() { java.lang.Object ref = transactionTag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); transactionTag_ = s; return s; @@ -1097,8 +999,6 @@ public java.lang.String getTransactionTag() { } } /** - * - * *
      * A tag used for statistics collection about this transaction.
      * Both request_tag and transaction_tag can be specified for a read or query
@@ -1114,14 +1014,15 @@ public java.lang.String getTransactionTag() {
      * 
* * string transaction_tag = 3; - * * @return The bytes for transactionTag. */ - public com.google.protobuf.ByteString getTransactionTagBytes() { + public com.google.protobuf.ByteString + getTransactionTagBytes() { java.lang.Object ref = transactionTag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); transactionTag_ = b; return b; } else { @@ -1129,8 +1030,6 @@ public com.google.protobuf.ByteString getTransactionTagBytes() { } } /** - * - * *
      * A tag used for statistics collection about this transaction.
      * Both request_tag and transaction_tag can be specified for a read or query
@@ -1146,22 +1045,18 @@ public com.google.protobuf.ByteString getTransactionTagBytes() {
      * 
* * string transaction_tag = 3; - * * @param value The transactionTag to set. * @return This builder for chaining. */ - public Builder setTransactionTag(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTransactionTag( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } transactionTag_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * A tag used for statistics collection about this transaction.
      * Both request_tag and transaction_tag can be specified for a read or query
@@ -1177,7 +1072,6 @@ public Builder setTransactionTag(java.lang.String value) {
      * 
* * string transaction_tag = 3; - * * @return This builder for chaining. */ public Builder clearTransactionTag() { @@ -1187,8 +1081,6 @@ public Builder clearTransactionTag() { return this; } /** - * - * *
      * A tag used for statistics collection about this transaction.
      * Both request_tag and transaction_tag can be specified for a read or query
@@ -1204,23 +1096,21 @@ public Builder clearTransactionTag() {
      * 
* * string transaction_tag = 3; - * * @param value The bytes for transactionTag to set. * @return This builder for chaining. */ - public Builder setTransactionTagBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTransactionTagBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); transactionTag_ = 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); } @@ -1230,12 +1120,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.v1.RequestOptions) } // @@protoc_insertion_point(class_scope:google.spanner.v1.RequestOptions) private static final com.google.spanner.v1.RequestOptions DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.v1.RequestOptions(); } @@ -1244,27 +1134,27 @@ public static com.google.spanner.v1.RequestOptions getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RequestOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RequestOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1279,4 +1169,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.RequestOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RequestOptionsOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RequestOptionsOrBuilder.java similarity index 81% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RequestOptionsOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RequestOptionsOrBuilder.java index c2c12f4a0b1..1c8e5a3ddd3 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RequestOptionsOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RequestOptionsOrBuilder.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/spanner/v1/spanner.proto package com.google.spanner.v1; -public interface RequestOptionsOrBuilder - extends +public interface RequestOptionsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.RequestOptions) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Priority for the request.
    * 
* * .google.spanner.v1.RequestOptions.Priority priority = 1; - * * @return The enum numeric value on the wire for priority. */ int getPriorityValue(); /** - * - * *
    * Priority for the request.
    * 
* * .google.spanner.v1.RequestOptions.Priority priority = 1; - * * @return The priority. */ com.google.spanner.v1.RequestOptions.Priority getPriority(); /** - * - * *
    * A per-request tag which can be applied to queries or reads, used for
    * statistics collection.
@@ -65,13 +41,10 @@ public interface RequestOptionsOrBuilder
    * 
* * string request_tag = 2; - * * @return The requestTag. */ java.lang.String getRequestTag(); /** - * - * *
    * A per-request tag which can be applied to queries or reads, used for
    * statistics collection.
@@ -86,14 +59,12 @@ public interface RequestOptionsOrBuilder
    * 
* * string request_tag = 2; - * * @return The bytes for requestTag. */ - com.google.protobuf.ByteString getRequestTagBytes(); + com.google.protobuf.ByteString + getRequestTagBytes(); /** - * - * *
    * A tag used for statistics collection about this transaction.
    * Both request_tag and transaction_tag can be specified for a read or query
@@ -109,13 +80,10 @@ public interface RequestOptionsOrBuilder
    * 
* * string transaction_tag = 3; - * * @return The transactionTag. */ java.lang.String getTransactionTag(); /** - * - * *
    * A tag used for statistics collection about this transaction.
    * Both request_tag and transaction_tag can be specified for a read or query
@@ -131,8 +99,8 @@ public interface RequestOptionsOrBuilder
    * 
* * string transaction_tag = 3; - * * @return The bytes for transactionTag. */ - com.google.protobuf.ByteString getTransactionTagBytes(); + com.google.protobuf.ByteString + getTransactionTagBytes(); } diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSet.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSet.java similarity index 79% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSet.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSet.java index 574ee4b5d29..c86fdb5b8c6 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSet.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSet.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/spanner/v1/result_set.proto package com.google.spanner.v1; /** - * - * *
  * Results from [Read][google.spanner.v1.Spanner.Read] or
  * [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql].
@@ -28,41 +11,40 @@
  *
  * Protobuf type {@code google.spanner.v1.ResultSet}
  */
-public final class ResultSet extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ResultSet extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.v1.ResultSet)
     ResultSetOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ResultSet.newBuilder() to construct.
   private ResultSet(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ResultSet() {
     rows_ = 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 ResultSet();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.v1.ResultSetProto
-        .internal_static_google_spanner_v1_ResultSet_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.v1.ResultSetProto.internal_static_google_spanner_v1_ResultSet_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.v1.ResultSetProto
-        .internal_static_google_spanner_v1_ResultSet_fieldAccessorTable
+    return com.google.spanner.v1.ResultSetProto.internal_static_google_spanner_v1_ResultSet_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.spanner.v1.ResultSet.class, com.google.spanner.v1.ResultSet.Builder.class);
   }
@@ -70,14 +52,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
   public static final int METADATA_FIELD_NUMBER = 1;
   private com.google.spanner.v1.ResultSetMetadata metadata_;
   /**
-   *
-   *
    * 
    * Metadata about the result set, such as row type information.
    * 
* * .google.spanner.v1.ResultSetMetadata metadata = 1; - * * @return Whether the metadata field is set. */ @java.lang.Override @@ -85,25 +64,18 @@ public boolean hasMetadata() { return metadata_ != null; } /** - * - * *
    * Metadata about the result set, such as row type information.
    * 
* * .google.spanner.v1.ResultSetMetadata metadata = 1; - * * @return The metadata. */ @java.lang.Override public com.google.spanner.v1.ResultSetMetadata getMetadata() { - return metadata_ == null - ? com.google.spanner.v1.ResultSetMetadata.getDefaultInstance() - : metadata_; + return metadata_ == null ? com.google.spanner.v1.ResultSetMetadata.getDefaultInstance() : metadata_; } /** - * - * *
    * Metadata about the result set, such as row type information.
    * 
@@ -112,18 +84,13 @@ public com.google.spanner.v1.ResultSetMetadata getMetadata() { */ @java.lang.Override public com.google.spanner.v1.ResultSetMetadataOrBuilder getMetadataOrBuilder() { - return metadata_ == null - ? com.google.spanner.v1.ResultSetMetadata.getDefaultInstance() - : metadata_; + return metadata_ == null ? com.google.spanner.v1.ResultSetMetadata.getDefaultInstance() : metadata_; } public static final int ROWS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private java.util.List rows_; /** - * - * *
    * Each element in `rows` is a row whose format is defined by
    * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -140,8 +107,6 @@ public java.util.List getRowsList() {
     return rows_;
   }
   /**
-   *
-   *
    * 
    * Each element in `rows` is a row whose format is defined by
    * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -154,12 +119,11 @@ public java.util.List getRowsList() {
    * repeated .google.protobuf.ListValue rows = 2;
    */
   @java.lang.Override
-  public java.util.List getRowsOrBuilderList() {
+  public java.util.List 
+      getRowsOrBuilderList() {
     return rows_;
   }
   /**
-   *
-   *
    * 
    * Each element in `rows` is a row whose format is defined by
    * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -176,8 +140,6 @@ public int getRowsCount() {
     return rows_.size();
   }
   /**
-   *
-   *
    * 
    * Each element in `rows` is a row whose format is defined by
    * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -194,8 +156,6 @@ public com.google.protobuf.ListValue getRows(int index) {
     return rows_.get(index);
   }
   /**
-   *
-   *
    * 
    * Each element in `rows` is a row whose format is defined by
    * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -208,15 +168,14 @@ public com.google.protobuf.ListValue getRows(int index) {
    * repeated .google.protobuf.ListValue rows = 2;
    */
   @java.lang.Override
-  public com.google.protobuf.ListValueOrBuilder getRowsOrBuilder(int index) {
+  public com.google.protobuf.ListValueOrBuilder getRowsOrBuilder(
+      int index) {
     return rows_.get(index);
   }
 
   public static final int STATS_FIELD_NUMBER = 3;
   private com.google.spanner.v1.ResultSetStats stats_;
   /**
-   *
-   *
    * 
    * Query plan and execution statistics for the SQL statement that
    * produced this result set. These can be requested by setting
@@ -229,7 +188,6 @@ public com.google.protobuf.ListValueOrBuilder getRowsOrBuilder(int index) {
    * 
* * .google.spanner.v1.ResultSetStats stats = 3; - * * @return Whether the stats field is set. */ @java.lang.Override @@ -237,8 +195,6 @@ public boolean hasStats() { return stats_ != null; } /** - * - * *
    * Query plan and execution statistics for the SQL statement that
    * produced this result set. These can be requested by setting
@@ -251,7 +207,6 @@ public boolean hasStats() {
    * 
* * .google.spanner.v1.ResultSetStats stats = 3; - * * @return The stats. */ @java.lang.Override @@ -259,8 +214,6 @@ public com.google.spanner.v1.ResultSetStats getStats() { return stats_ == null ? com.google.spanner.v1.ResultSetStats.getDefaultInstance() : stats_; } /** - * - * *
    * Query plan and execution statistics for the SQL statement that
    * produced this result set. These can be requested by setting
@@ -280,7 +233,6 @@ public com.google.spanner.v1.ResultSetStatsOrBuilder getStatsOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -292,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 (metadata_ != null) {
       output.writeMessage(1, getMetadata());
     }
@@ -312,13 +265,16 @@ public int getSerializedSize() {
 
     size = 0;
     if (metadata_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getMetadata());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getMetadata());
     }
     for (int i = 0; i < rows_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, rows_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, rows_.get(i));
     }
     if (stats_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getStats());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getStats());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -328,7 +284,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.spanner.v1.ResultSet)) {
       return super.equals(obj);
@@ -337,12 +293,15 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasMetadata() != other.hasMetadata()) return false;
     if (hasMetadata()) {
-      if (!getMetadata().equals(other.getMetadata())) return false;
+      if (!getMetadata()
+          .equals(other.getMetadata())) return false;
     }
-    if (!getRowsList().equals(other.getRowsList())) return false;
+    if (!getRowsList()
+        .equals(other.getRowsList())) return false;
     if (hasStats() != other.hasStats()) return false;
     if (hasStats()) {
-      if (!getStats().equals(other.getStats())) return false;
+      if (!getStats()
+          .equals(other.getStats())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -372,103 +331,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.spanner.v1.ResultSet parseFrom(java.nio.ByteBuffer data)
+  public static com.google.spanner.v1.ResultSet parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.ResultSet parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.spanner.v1.ResultSet parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.spanner.v1.ResultSet parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.ResultSet parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.v1.ResultSet parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.ResultSet parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.v1.ResultSet parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.v1.ResultSet parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.spanner.v1.ResultSet 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.spanner.v1.ResultSet parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.spanner.v1.ResultSet parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.v1.ResultSet parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.spanner.v1.ResultSet prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Results from [Read][google.spanner.v1.Spanner.Read] or
    * [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql].
@@ -476,31 +429,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.v1.ResultSet}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.v1.ResultSet)
       com.google.spanner.v1.ResultSetOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.v1.ResultSetProto
-          .internal_static_google_spanner_v1_ResultSet_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.v1.ResultSetProto.internal_static_google_spanner_v1_ResultSet_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.v1.ResultSetProto
-          .internal_static_google_spanner_v1_ResultSet_fieldAccessorTable
+      return com.google.spanner.v1.ResultSetProto.internal_static_google_spanner_v1_ResultSet_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
               com.google.spanner.v1.ResultSet.class, com.google.spanner.v1.ResultSet.Builder.class);
     }
 
     // Construct using com.google.spanner.v1.ResultSet.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.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 +481,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.v1.ResultSetProto
-          .internal_static_google_spanner_v1_ResultSet_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.v1.ResultSetProto.internal_static_google_spanner_v1_ResultSet_descriptor;
     }
 
     @java.lang.Override
@@ -549,9 +504,7 @@ public com.google.spanner.v1.ResultSet build() {
     public com.google.spanner.v1.ResultSet buildPartial() {
       com.google.spanner.v1.ResultSet result = new com.google.spanner.v1.ResultSet(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -571,10 +524,14 @@ private void buildPartialRepeatedFields(com.google.spanner.v1.ResultSet result)
     private void buildPartial0(com.google.spanner.v1.ResultSet result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.metadata_ = metadataBuilder_ == null ? metadata_ : metadataBuilder_.build();
+        result.metadata_ = metadataBuilder_ == null
+            ? metadata_
+            : metadataBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.stats_ = statsBuilder_ == null ? stats_ : statsBuilder_.build();
+        result.stats_ = statsBuilder_ == null
+            ? stats_
+            : statsBuilder_.build();
       }
     }
 
@@ -582,39 +539,38 @@ private void buildPartial0(com.google.spanner.v1.ResultSet 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.spanner.v1.ResultSet) {
-        return mergeFrom((com.google.spanner.v1.ResultSet) other);
+        return mergeFrom((com.google.spanner.v1.ResultSet)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -644,10 +600,9 @@ public Builder mergeFrom(com.google.spanner.v1.ResultSet other) {
             rowsBuilder_ = null;
             rows_ = other.rows_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            rowsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getRowsFieldBuilder()
-                    : null;
+            rowsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getRowsFieldBuilder() : null;
           } else {
             rowsBuilder_.addAllMessages(other.rows_);
           }
@@ -682,37 +637,39 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getMetadataFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                com.google.protobuf.ListValue m =
-                    input.readMessage(com.google.protobuf.ListValue.parser(), extensionRegistry);
-                if (rowsBuilder_ == null) {
-                  ensureRowsIsMutable();
-                  rows_.add(m);
-                } else {
-                  rowsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getStatsFieldBuilder().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(
+                  getMetadataFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              com.google.protobuf.ListValue m =
+                  input.readMessage(
+                      com.google.protobuf.ListValue.parser(),
+                      extensionRegistry);
+              if (rowsBuilder_ == null) {
+                ensureRowsIsMutable();
+                rows_.add(m);
+              } else {
+                rowsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getStatsFieldBuilder().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) {
@@ -722,52 +679,38 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.spanner.v1.ResultSetMetadata metadata_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.ResultSetMetadata,
-            com.google.spanner.v1.ResultSetMetadata.Builder,
-            com.google.spanner.v1.ResultSetMetadataOrBuilder>
-        metadataBuilder_;
+        com.google.spanner.v1.ResultSetMetadata, com.google.spanner.v1.ResultSetMetadata.Builder, com.google.spanner.v1.ResultSetMetadataOrBuilder> metadataBuilder_;
     /**
-     *
-     *
      * 
      * Metadata about the result set, such as row type information.
      * 
* * .google.spanner.v1.ResultSetMetadata metadata = 1; - * * @return Whether the metadata field is set. */ public boolean hasMetadata() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Metadata about the result set, such as row type information.
      * 
* * .google.spanner.v1.ResultSetMetadata metadata = 1; - * * @return The metadata. */ public com.google.spanner.v1.ResultSetMetadata getMetadata() { if (metadataBuilder_ == null) { - return metadata_ == null - ? com.google.spanner.v1.ResultSetMetadata.getDefaultInstance() - : metadata_; + return metadata_ == null ? com.google.spanner.v1.ResultSetMetadata.getDefaultInstance() : metadata_; } else { return metadataBuilder_.getMessage(); } } /** - * - * *
      * Metadata about the result set, such as row type information.
      * 
@@ -788,15 +731,14 @@ public Builder setMetadata(com.google.spanner.v1.ResultSetMetadata value) { return this; } /** - * - * *
      * Metadata about the result set, such as row type information.
      * 
* * .google.spanner.v1.ResultSetMetadata metadata = 1; */ - public Builder setMetadata(com.google.spanner.v1.ResultSetMetadata.Builder builderForValue) { + public Builder setMetadata( + com.google.spanner.v1.ResultSetMetadata.Builder builderForValue) { if (metadataBuilder_ == null) { metadata_ = builderForValue.build(); } else { @@ -807,8 +749,6 @@ public Builder setMetadata(com.google.spanner.v1.ResultSetMetadata.Builder build return this; } /** - * - * *
      * Metadata about the result set, such as row type information.
      * 
@@ -817,9 +757,9 @@ public Builder setMetadata(com.google.spanner.v1.ResultSetMetadata.Builder build */ public Builder mergeMetadata(com.google.spanner.v1.ResultSetMetadata value) { if (metadataBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && metadata_ != null - && metadata_ != com.google.spanner.v1.ResultSetMetadata.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + metadata_ != null && + metadata_ != com.google.spanner.v1.ResultSetMetadata.getDefaultInstance()) { getMetadataBuilder().mergeFrom(value); } else { metadata_ = value; @@ -832,8 +772,6 @@ public Builder mergeMetadata(com.google.spanner.v1.ResultSetMetadata value) { return this; } /** - * - * *
      * Metadata about the result set, such as row type information.
      * 
@@ -851,8 +789,6 @@ public Builder clearMetadata() { return this; } /** - * - * *
      * Metadata about the result set, such as row type information.
      * 
@@ -865,8 +801,6 @@ public com.google.spanner.v1.ResultSetMetadata.Builder getMetadataBuilder() { return getMetadataFieldBuilder().getBuilder(); } /** - * - * *
      * Metadata about the result set, such as row type information.
      * 
@@ -877,14 +811,11 @@ public com.google.spanner.v1.ResultSetMetadataOrBuilder getMetadataOrBuilder() { if (metadataBuilder_ != null) { return metadataBuilder_.getMessageOrBuilder(); } else { - return metadata_ == null - ? com.google.spanner.v1.ResultSetMetadata.getDefaultInstance() - : metadata_; + return metadata_ == null ? + com.google.spanner.v1.ResultSetMetadata.getDefaultInstance() : metadata_; } } /** - * - * *
      * Metadata about the result set, such as row type information.
      * 
@@ -892,40 +823,32 @@ public com.google.spanner.v1.ResultSetMetadataOrBuilder getMetadataOrBuilder() { * .google.spanner.v1.ResultSetMetadata metadata = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.ResultSetMetadata, - com.google.spanner.v1.ResultSetMetadata.Builder, - com.google.spanner.v1.ResultSetMetadataOrBuilder> + com.google.spanner.v1.ResultSetMetadata, com.google.spanner.v1.ResultSetMetadata.Builder, com.google.spanner.v1.ResultSetMetadataOrBuilder> getMetadataFieldBuilder() { if (metadataBuilder_ == null) { - metadataBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.ResultSetMetadata, - com.google.spanner.v1.ResultSetMetadata.Builder, - com.google.spanner.v1.ResultSetMetadataOrBuilder>( - getMetadata(), getParentForChildren(), isClean()); + metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.v1.ResultSetMetadata, com.google.spanner.v1.ResultSetMetadata.Builder, com.google.spanner.v1.ResultSetMetadataOrBuilder>( + getMetadata(), + getParentForChildren(), + isClean()); metadata_ = null; } return metadataBuilder_; } - private java.util.List rows_ = java.util.Collections.emptyList(); - + private java.util.List rows_ = + java.util.Collections.emptyList(); private void ensureRowsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { rows_ = new java.util.ArrayList(rows_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.protobuf.ListValue, - com.google.protobuf.ListValue.Builder, - com.google.protobuf.ListValueOrBuilder> - rowsBuilder_; + com.google.protobuf.ListValue, com.google.protobuf.ListValue.Builder, com.google.protobuf.ListValueOrBuilder> rowsBuilder_; /** - * - * *
      * Each element in `rows` is a row whose format is defined by
      * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -945,8 +868,6 @@ public java.util.List getRowsList() {
       }
     }
     /**
-     *
-     *
      * 
      * Each element in `rows` is a row whose format is defined by
      * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -966,8 +887,6 @@ public int getRowsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Each element in `rows` is a row whose format is defined by
      * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -987,8 +906,6 @@ public com.google.protobuf.ListValue getRows(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Each element in `rows` is a row whose format is defined by
      * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -1000,7 +917,8 @@ public com.google.protobuf.ListValue getRows(int index) {
      *
      * repeated .google.protobuf.ListValue rows = 2;
      */
-    public Builder setRows(int index, com.google.protobuf.ListValue value) {
+    public Builder setRows(
+        int index, com.google.protobuf.ListValue value) {
       if (rowsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1014,8 +932,6 @@ public Builder setRows(int index, com.google.protobuf.ListValue value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Each element in `rows` is a row whose format is defined by
      * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -1027,7 +943,8 @@ public Builder setRows(int index, com.google.protobuf.ListValue value) {
      *
      * repeated .google.protobuf.ListValue rows = 2;
      */
-    public Builder setRows(int index, com.google.protobuf.ListValue.Builder builderForValue) {
+    public Builder setRows(
+        int index, com.google.protobuf.ListValue.Builder builderForValue) {
       if (rowsBuilder_ == null) {
         ensureRowsIsMutable();
         rows_.set(index, builderForValue.build());
@@ -1038,8 +955,6 @@ public Builder setRows(int index, com.google.protobuf.ListValue.Builder builderF
       return this;
     }
     /**
-     *
-     *
      * 
      * Each element in `rows` is a row whose format is defined by
      * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -1065,8 +980,6 @@ public Builder addRows(com.google.protobuf.ListValue value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Each element in `rows` is a row whose format is defined by
      * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -1078,7 +991,8 @@ public Builder addRows(com.google.protobuf.ListValue value) {
      *
      * repeated .google.protobuf.ListValue rows = 2;
      */
-    public Builder addRows(int index, com.google.protobuf.ListValue value) {
+    public Builder addRows(
+        int index, com.google.protobuf.ListValue value) {
       if (rowsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1092,8 +1006,6 @@ public Builder addRows(int index, com.google.protobuf.ListValue value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Each element in `rows` is a row whose format is defined by
      * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -1105,7 +1017,8 @@ public Builder addRows(int index, com.google.protobuf.ListValue value) {
      *
      * repeated .google.protobuf.ListValue rows = 2;
      */
-    public Builder addRows(com.google.protobuf.ListValue.Builder builderForValue) {
+    public Builder addRows(
+        com.google.protobuf.ListValue.Builder builderForValue) {
       if (rowsBuilder_ == null) {
         ensureRowsIsMutable();
         rows_.add(builderForValue.build());
@@ -1116,8 +1029,6 @@ public Builder addRows(com.google.protobuf.ListValue.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Each element in `rows` is a row whose format is defined by
      * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -1129,7 +1040,8 @@ public Builder addRows(com.google.protobuf.ListValue.Builder builderForValue) {
      *
      * repeated .google.protobuf.ListValue rows = 2;
      */
-    public Builder addRows(int index, com.google.protobuf.ListValue.Builder builderForValue) {
+    public Builder addRows(
+        int index, com.google.protobuf.ListValue.Builder builderForValue) {
       if (rowsBuilder_ == null) {
         ensureRowsIsMutable();
         rows_.add(index, builderForValue.build());
@@ -1140,8 +1052,6 @@ public Builder addRows(int index, com.google.protobuf.ListValue.Builder builderF
       return this;
     }
     /**
-     *
-     *
      * 
      * Each element in `rows` is a row whose format is defined by
      * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -1153,10 +1063,12 @@ public Builder addRows(int index, com.google.protobuf.ListValue.Builder builderF
      *
      * repeated .google.protobuf.ListValue rows = 2;
      */
-    public Builder addAllRows(java.lang.Iterable values) {
+    public Builder addAllRows(
+        java.lang.Iterable values) {
       if (rowsBuilder_ == null) {
         ensureRowsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, rows_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, rows_);
         onChanged();
       } else {
         rowsBuilder_.addAllMessages(values);
@@ -1164,8 +1076,6 @@ public Builder addAllRows(java.lang.Iterable
      * Each element in `rows` is a row whose format is defined by
      * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -1188,8 +1098,6 @@ public Builder clearRows() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Each element in `rows` is a row whose format is defined by
      * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -1212,8 +1120,6 @@ public Builder removeRows(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Each element in `rows` is a row whose format is defined by
      * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -1225,12 +1131,11 @@ public Builder removeRows(int index) {
      *
      * repeated .google.protobuf.ListValue rows = 2;
      */
-    public com.google.protobuf.ListValue.Builder getRowsBuilder(int index) {
+    public com.google.protobuf.ListValue.Builder getRowsBuilder(
+        int index) {
       return getRowsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Each element in `rows` is a row whose format is defined by
      * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -1242,16 +1147,14 @@ public com.google.protobuf.ListValue.Builder getRowsBuilder(int index) {
      *
      * repeated .google.protobuf.ListValue rows = 2;
      */
-    public com.google.protobuf.ListValueOrBuilder getRowsOrBuilder(int index) {
+    public com.google.protobuf.ListValueOrBuilder getRowsOrBuilder(
+        int index) {
       if (rowsBuilder_ == null) {
-        return rows_.get(index);
-      } else {
+        return rows_.get(index);  } else {
         return rowsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Each element in `rows` is a row whose format is defined by
      * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -1263,7 +1166,8 @@ public com.google.protobuf.ListValueOrBuilder getRowsOrBuilder(int index) {
      *
      * repeated .google.protobuf.ListValue rows = 2;
      */
-    public java.util.List getRowsOrBuilderList() {
+    public java.util.List 
+         getRowsOrBuilderList() {
       if (rowsBuilder_ != null) {
         return rowsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1271,8 +1175,6 @@ public java.util.List getRowsO
       }
     }
     /**
-     *
-     *
      * 
      * Each element in `rows` is a row whose format is defined by
      * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -1285,11 +1187,10 @@ public java.util.List getRowsO
      * repeated .google.protobuf.ListValue rows = 2;
      */
     public com.google.protobuf.ListValue.Builder addRowsBuilder() {
-      return getRowsFieldBuilder().addBuilder(com.google.protobuf.ListValue.getDefaultInstance());
+      return getRowsFieldBuilder().addBuilder(
+          com.google.protobuf.ListValue.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Each element in `rows` is a row whose format is defined by
      * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -1301,13 +1202,12 @@ public com.google.protobuf.ListValue.Builder addRowsBuilder() {
      *
      * repeated .google.protobuf.ListValue rows = 2;
      */
-    public com.google.protobuf.ListValue.Builder addRowsBuilder(int index) {
-      return getRowsFieldBuilder()
-          .addBuilder(index, com.google.protobuf.ListValue.getDefaultInstance());
+    public com.google.protobuf.ListValue.Builder addRowsBuilder(
+        int index) {
+      return getRowsFieldBuilder().addBuilder(
+          index, com.google.protobuf.ListValue.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Each element in `rows` is a row whose format is defined by
      * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -1319,22 +1219,20 @@ public com.google.protobuf.ListValue.Builder addRowsBuilder(int index) {
      *
      * repeated .google.protobuf.ListValue rows = 2;
      */
-    public java.util.List getRowsBuilderList() {
+    public java.util.List 
+         getRowsBuilderList() {
       return getRowsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.protobuf.ListValue,
-            com.google.protobuf.ListValue.Builder,
-            com.google.protobuf.ListValueOrBuilder>
+        com.google.protobuf.ListValue, com.google.protobuf.ListValue.Builder, com.google.protobuf.ListValueOrBuilder> 
         getRowsFieldBuilder() {
       if (rowsBuilder_ == null) {
-        rowsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.protobuf.ListValue,
-                com.google.protobuf.ListValue.Builder,
-                com.google.protobuf.ListValueOrBuilder>(
-                rows_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
+        rowsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.protobuf.ListValue, com.google.protobuf.ListValue.Builder, com.google.protobuf.ListValueOrBuilder>(
+                rows_,
+                ((bitField0_ & 0x00000002) != 0),
+                getParentForChildren(),
+                isClean());
         rows_ = null;
       }
       return rowsBuilder_;
@@ -1342,13 +1240,8 @@ public java.util.List getRowsBuilderList(
 
     private com.google.spanner.v1.ResultSetStats stats_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.ResultSetStats,
-            com.google.spanner.v1.ResultSetStats.Builder,
-            com.google.spanner.v1.ResultSetStatsOrBuilder>
-        statsBuilder_;
+        com.google.spanner.v1.ResultSetStats, com.google.spanner.v1.ResultSetStats.Builder, com.google.spanner.v1.ResultSetStatsOrBuilder> statsBuilder_;
     /**
-     *
-     *
      * 
      * Query plan and execution statistics for the SQL statement that
      * produced this result set. These can be requested by setting
@@ -1361,15 +1254,12 @@ public java.util.List getRowsBuilderList(
      * 
* * .google.spanner.v1.ResultSetStats stats = 3; - * * @return Whether the stats field is set. */ public boolean hasStats() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Query plan and execution statistics for the SQL statement that
      * produced this result set. These can be requested by setting
@@ -1382,7 +1272,6 @@ public boolean hasStats() {
      * 
* * .google.spanner.v1.ResultSetStats stats = 3; - * * @return The stats. */ public com.google.spanner.v1.ResultSetStats getStats() { @@ -1393,8 +1282,6 @@ public com.google.spanner.v1.ResultSetStats getStats() { } } /** - * - * *
      * Query plan and execution statistics for the SQL statement that
      * produced this result set. These can be requested by setting
@@ -1422,8 +1309,6 @@ public Builder setStats(com.google.spanner.v1.ResultSetStats value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Query plan and execution statistics for the SQL statement that
      * produced this result set. These can be requested by setting
@@ -1437,7 +1322,8 @@ public Builder setStats(com.google.spanner.v1.ResultSetStats value) {
      *
      * .google.spanner.v1.ResultSetStats stats = 3;
      */
-    public Builder setStats(com.google.spanner.v1.ResultSetStats.Builder builderForValue) {
+    public Builder setStats(
+        com.google.spanner.v1.ResultSetStats.Builder builderForValue) {
       if (statsBuilder_ == null) {
         stats_ = builderForValue.build();
       } else {
@@ -1448,8 +1334,6 @@ public Builder setStats(com.google.spanner.v1.ResultSetStats.Builder builderForV
       return this;
     }
     /**
-     *
-     *
      * 
      * Query plan and execution statistics for the SQL statement that
      * produced this result set. These can be requested by setting
@@ -1465,9 +1349,9 @@ public Builder setStats(com.google.spanner.v1.ResultSetStats.Builder builderForV
      */
     public Builder mergeStats(com.google.spanner.v1.ResultSetStats value) {
       if (statsBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0)
-            && stats_ != null
-            && stats_ != com.google.spanner.v1.ResultSetStats.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0) &&
+          stats_ != null &&
+          stats_ != com.google.spanner.v1.ResultSetStats.getDefaultInstance()) {
           getStatsBuilder().mergeFrom(value);
         } else {
           stats_ = value;
@@ -1480,8 +1364,6 @@ public Builder mergeStats(com.google.spanner.v1.ResultSetStats value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Query plan and execution statistics for the SQL statement that
      * produced this result set. These can be requested by setting
@@ -1506,8 +1388,6 @@ public Builder clearStats() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Query plan and execution statistics for the SQL statement that
      * produced this result set. These can be requested by setting
@@ -1527,8 +1407,6 @@ public com.google.spanner.v1.ResultSetStats.Builder getStatsBuilder() {
       return getStatsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Query plan and execution statistics for the SQL statement that
      * produced this result set. These can be requested by setting
@@ -1546,12 +1424,11 @@ public com.google.spanner.v1.ResultSetStatsOrBuilder getStatsOrBuilder() {
       if (statsBuilder_ != null) {
         return statsBuilder_.getMessageOrBuilder();
       } else {
-        return stats_ == null ? com.google.spanner.v1.ResultSetStats.getDefaultInstance() : stats_;
+        return stats_ == null ?
+            com.google.spanner.v1.ResultSetStats.getDefaultInstance() : stats_;
       }
     }
     /**
-     *
-     *
      * 
      * Query plan and execution statistics for the SQL statement that
      * produced this result set. These can be requested by setting
@@ -1566,24 +1443,21 @@ public com.google.spanner.v1.ResultSetStatsOrBuilder getStatsOrBuilder() {
      * .google.spanner.v1.ResultSetStats stats = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.ResultSetStats,
-            com.google.spanner.v1.ResultSetStats.Builder,
-            com.google.spanner.v1.ResultSetStatsOrBuilder>
+        com.google.spanner.v1.ResultSetStats, com.google.spanner.v1.ResultSetStats.Builder, com.google.spanner.v1.ResultSetStatsOrBuilder> 
         getStatsFieldBuilder() {
       if (statsBuilder_ == null) {
-        statsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.v1.ResultSetStats,
-                com.google.spanner.v1.ResultSetStats.Builder,
-                com.google.spanner.v1.ResultSetStatsOrBuilder>(
-                getStats(), getParentForChildren(), isClean());
+        statsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.v1.ResultSetStats, com.google.spanner.v1.ResultSetStats.Builder, com.google.spanner.v1.ResultSetStatsOrBuilder>(
+                getStats(),
+                getParentForChildren(),
+                isClean());
         stats_ = null;
       }
       return statsBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1593,12 +1467,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.spanner.v1.ResultSet)
   }
 
   // @@protoc_insertion_point(class_scope:google.spanner.v1.ResultSet)
   private static final com.google.spanner.v1.ResultSet DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.spanner.v1.ResultSet();
   }
@@ -1607,27 +1481,27 @@ public static com.google.spanner.v1.ResultSet getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ResultSet parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public ResultSet parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1642,4 +1516,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.spanner.v1.ResultSet getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetMetadata.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetMetadata.java
similarity index 76%
rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetMetadata.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetMetadata.java
index 6c2261da657..38cfe89af11 100644
--- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetMetadata.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetMetadata.java
@@ -1,75 +1,55 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/v1/result_set.proto
 
 package com.google.spanner.v1;
 
 /**
- *
- *
  * 
  * Metadata about a [ResultSet][google.spanner.v1.ResultSet] or [PartialResultSet][google.spanner.v1.PartialResultSet].
  * 
* * Protobuf type {@code google.spanner.v1.ResultSetMetadata} */ -public final class ResultSetMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ResultSetMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.v1.ResultSetMetadata) ResultSetMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ResultSetMetadata.newBuilder() to construct. private ResultSetMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ResultSetMetadata() {} + private ResultSetMetadata() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ResultSetMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.ResultSetProto - .internal_static_google_spanner_v1_ResultSetMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.ResultSetProto.internal_static_google_spanner_v1_ResultSetMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.ResultSetProto - .internal_static_google_spanner_v1_ResultSetMetadata_fieldAccessorTable + return com.google.spanner.v1.ResultSetProto.internal_static_google_spanner_v1_ResultSetMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.ResultSetMetadata.class, - com.google.spanner.v1.ResultSetMetadata.Builder.class); + com.google.spanner.v1.ResultSetMetadata.class, com.google.spanner.v1.ResultSetMetadata.Builder.class); } public static final int ROW_TYPE_FIELD_NUMBER = 1; private com.google.spanner.v1.StructType rowType_; /** - * - * *
    * Indicates the field names and types for the rows in the result
    * set.  For example, a SQL query like `"SELECT UserId, UserName FROM
@@ -81,7 +61,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.spanner.v1.StructType row_type = 1; - * * @return Whether the rowType field is set. */ @java.lang.Override @@ -89,8 +68,6 @@ public boolean hasRowType() { return rowType_ != null; } /** - * - * *
    * Indicates the field names and types for the rows in the result
    * set.  For example, a SQL query like `"SELECT UserId, UserName FROM
@@ -102,7 +79,6 @@ public boolean hasRowType() {
    * 
* * .google.spanner.v1.StructType row_type = 1; - * * @return The rowType. */ @java.lang.Override @@ -110,8 +86,6 @@ public com.google.spanner.v1.StructType getRowType() { return rowType_ == null ? com.google.spanner.v1.StructType.getDefaultInstance() : rowType_; } /** - * - * *
    * Indicates the field names and types for the rows in the result
    * set.  For example, a SQL query like `"SELECT UserId, UserName FROM
@@ -132,15 +106,12 @@ public com.google.spanner.v1.StructTypeOrBuilder getRowTypeOrBuilder() {
   public static final int TRANSACTION_FIELD_NUMBER = 2;
   private com.google.spanner.v1.Transaction transaction_;
   /**
-   *
-   *
    * 
    * If the read or SQL query began a transaction as a side-effect, the
    * information about the new transaction is yielded here.
    * 
* * .google.spanner.v1.Transaction transaction = 2; - * * @return Whether the transaction field is set. */ @java.lang.Override @@ -148,26 +119,19 @@ public boolean hasTransaction() { return transaction_ != null; } /** - * - * *
    * If the read or SQL query began a transaction as a side-effect, the
    * information about the new transaction is yielded here.
    * 
* * .google.spanner.v1.Transaction transaction = 2; - * * @return The transaction. */ @java.lang.Override public com.google.spanner.v1.Transaction getTransaction() { - return transaction_ == null - ? com.google.spanner.v1.Transaction.getDefaultInstance() - : transaction_; + return transaction_ == null ? com.google.spanner.v1.Transaction.getDefaultInstance() : transaction_; } /** - * - * *
    * If the read or SQL query began a transaction as a side-effect, the
    * information about the new transaction is yielded here.
@@ -177,16 +141,12 @@ public com.google.spanner.v1.Transaction getTransaction() {
    */
   @java.lang.Override
   public com.google.spanner.v1.TransactionOrBuilder getTransactionOrBuilder() {
-    return transaction_ == null
-        ? com.google.spanner.v1.Transaction.getDefaultInstance()
-        : transaction_;
+    return transaction_ == null ? com.google.spanner.v1.Transaction.getDefaultInstance() : transaction_;
   }
 
   public static final int UNDECLARED_PARAMETERS_FIELD_NUMBER = 3;
   private com.google.spanner.v1.StructType undeclaredParameters_;
   /**
-   *
-   *
    * 
    * A SQL query can be parameterized. In PLAN mode, these parameters can be
    * undeclared. This indicates the field names and types for those undeclared
@@ -200,7 +160,6 @@ public com.google.spanner.v1.TransactionOrBuilder getTransactionOrBuilder() {
    * 
* * .google.spanner.v1.StructType undeclared_parameters = 3; - * * @return Whether the undeclaredParameters field is set. */ @java.lang.Override @@ -208,8 +167,6 @@ public boolean hasUndeclaredParameters() { return undeclaredParameters_ != null; } /** - * - * *
    * A SQL query can be parameterized. In PLAN mode, these parameters can be
    * undeclared. This indicates the field names and types for those undeclared
@@ -223,18 +180,13 @@ public boolean hasUndeclaredParameters() {
    * 
* * .google.spanner.v1.StructType undeclared_parameters = 3; - * * @return The undeclaredParameters. */ @java.lang.Override public com.google.spanner.v1.StructType getUndeclaredParameters() { - return undeclaredParameters_ == null - ? com.google.spanner.v1.StructType.getDefaultInstance() - : undeclaredParameters_; + return undeclaredParameters_ == null ? com.google.spanner.v1.StructType.getDefaultInstance() : undeclaredParameters_; } /** - * - * *
    * A SQL query can be parameterized. In PLAN mode, these parameters can be
    * undeclared. This indicates the field names and types for those undeclared
@@ -251,13 +203,10 @@ public com.google.spanner.v1.StructType getUndeclaredParameters() {
    */
   @java.lang.Override
   public com.google.spanner.v1.StructTypeOrBuilder getUndeclaredParametersOrBuilder() {
-    return undeclaredParameters_ == null
-        ? com.google.spanner.v1.StructType.getDefaultInstance()
-        : undeclaredParameters_;
+    return undeclaredParameters_ == null ? com.google.spanner.v1.StructType.getDefaultInstance() : undeclaredParameters_;
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -269,7 +218,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (rowType_ != null) {
       output.writeMessage(1, getRowType());
     }
@@ -289,14 +239,16 @@ public int getSerializedSize() {
 
     size = 0;
     if (rowType_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRowType());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getRowType());
     }
     if (transaction_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTransaction());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getTransaction());
     }
     if (undeclaredParameters_ != null) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUndeclaredParameters());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getUndeclaredParameters());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -306,7 +258,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.spanner.v1.ResultSetMetadata)) {
       return super.equals(obj);
@@ -315,15 +267,18 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasRowType() != other.hasRowType()) return false;
     if (hasRowType()) {
-      if (!getRowType().equals(other.getRowType())) return false;
+      if (!getRowType()
+          .equals(other.getRowType())) return false;
     }
     if (hasTransaction() != other.hasTransaction()) return false;
     if (hasTransaction()) {
-      if (!getTransaction().equals(other.getTransaction())) return false;
+      if (!getTransaction()
+          .equals(other.getTransaction())) return false;
     }
     if (hasUndeclaredParameters() != other.hasUndeclaredParameters()) return false;
     if (hasUndeclaredParameters()) {
-      if (!getUndeclaredParameters().equals(other.getUndeclaredParameters())) return false;
+      if (!getUndeclaredParameters()
+          .equals(other.getUndeclaredParameters())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -353,136 +308,130 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.spanner.v1.ResultSetMetadata parseFrom(java.nio.ByteBuffer data)
+  public static com.google.spanner.v1.ResultSetMetadata parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.ResultSetMetadata parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.v1.ResultSetMetadata parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.ResultSetMetadata parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.v1.ResultSetMetadata parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.ResultSetMetadata parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.v1.ResultSetMetadata parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.v1.ResultSetMetadata parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.spanner.v1.ResultSetMetadata parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.spanner.v1.ResultSetMetadata parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.v1.ResultSetMetadata parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.spanner.v1.ResultSetMetadata parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.v1.ResultSetMetadata parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.spanner.v1.ResultSetMetadata prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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 about a [ResultSet][google.spanner.v1.ResultSet] or [PartialResultSet][google.spanner.v1.PartialResultSet].
    * 
* * Protobuf type {@code google.spanner.v1.ResultSetMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.ResultSetMetadata) com.google.spanner.v1.ResultSetMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.ResultSetProto - .internal_static_google_spanner_v1_ResultSetMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.ResultSetProto.internal_static_google_spanner_v1_ResultSetMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.ResultSetProto - .internal_static_google_spanner_v1_ResultSetMetadata_fieldAccessorTable + return com.google.spanner.v1.ResultSetProto.internal_static_google_spanner_v1_ResultSetMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.ResultSetMetadata.class, - com.google.spanner.v1.ResultSetMetadata.Builder.class); + com.google.spanner.v1.ResultSetMetadata.class, com.google.spanner.v1.ResultSetMetadata.Builder.class); } // Construct using com.google.spanner.v1.ResultSetMetadata.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -506,9 +455,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.v1.ResultSetProto - .internal_static_google_spanner_v1_ResultSetMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.v1.ResultSetProto.internal_static_google_spanner_v1_ResultSetMetadata_descriptor; } @java.lang.Override @@ -527,11 +476,8 @@ public com.google.spanner.v1.ResultSetMetadata build() { @java.lang.Override public com.google.spanner.v1.ResultSetMetadata buildPartial() { - com.google.spanner.v1.ResultSetMetadata result = - new com.google.spanner.v1.ResultSetMetadata(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.v1.ResultSetMetadata result = new com.google.spanner.v1.ResultSetMetadata(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -539,17 +485,19 @@ public com.google.spanner.v1.ResultSetMetadata buildPartial() { private void buildPartial0(com.google.spanner.v1.ResultSetMetadata result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.rowType_ = rowTypeBuilder_ == null ? rowType_ : rowTypeBuilder_.build(); + result.rowType_ = rowTypeBuilder_ == null + ? rowType_ + : rowTypeBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.transaction_ = - transactionBuilder_ == null ? transaction_ : transactionBuilder_.build(); + result.transaction_ = transactionBuilder_ == null + ? transaction_ + : transactionBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.undeclaredParameters_ = - undeclaredParametersBuilder_ == null - ? undeclaredParameters_ - : undeclaredParametersBuilder_.build(); + result.undeclaredParameters_ = undeclaredParametersBuilder_ == null + ? undeclaredParameters_ + : undeclaredParametersBuilder_.build(); } } @@ -557,39 +505,38 @@ private void buildPartial0(com.google.spanner.v1.ResultSetMetadata 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.spanner.v1.ResultSetMetadata) { - return mergeFrom((com.google.spanner.v1.ResultSetMetadata) other); + return mergeFrom((com.google.spanner.v1.ResultSetMetadata)other); } else { super.mergeFrom(other); return this; @@ -633,32 +580,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getRowTypeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getTransactionFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage( - getUndeclaredParametersFieldBuilder().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( + getRowTypeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getTransactionFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getUndeclaredParametersFieldBuilder().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) { @@ -668,18 +616,12 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.spanner.v1.StructType rowType_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.StructType, - com.google.spanner.v1.StructType.Builder, - com.google.spanner.v1.StructTypeOrBuilder> - rowTypeBuilder_; + com.google.spanner.v1.StructType, com.google.spanner.v1.StructType.Builder, com.google.spanner.v1.StructTypeOrBuilder> rowTypeBuilder_; /** - * - * *
      * Indicates the field names and types for the rows in the result
      * set.  For example, a SQL query like `"SELECT UserId, UserName FROM
@@ -691,15 +633,12 @@ public Builder mergeFrom(
      * 
* * .google.spanner.v1.StructType row_type = 1; - * * @return Whether the rowType field is set. */ public boolean hasRowType() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Indicates the field names and types for the rows in the result
      * set.  For example, a SQL query like `"SELECT UserId, UserName FROM
@@ -711,7 +650,6 @@ public boolean hasRowType() {
      * 
* * .google.spanner.v1.StructType row_type = 1; - * * @return The rowType. */ public com.google.spanner.v1.StructType getRowType() { @@ -722,8 +660,6 @@ public com.google.spanner.v1.StructType getRowType() { } } /** - * - * *
      * Indicates the field names and types for the rows in the result
      * set.  For example, a SQL query like `"SELECT UserId, UserName FROM
@@ -750,8 +686,6 @@ public Builder setRowType(com.google.spanner.v1.StructType value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Indicates the field names and types for the rows in the result
      * set.  For example, a SQL query like `"SELECT UserId, UserName FROM
@@ -764,7 +698,8 @@ public Builder setRowType(com.google.spanner.v1.StructType value) {
      *
      * .google.spanner.v1.StructType row_type = 1;
      */
-    public Builder setRowType(com.google.spanner.v1.StructType.Builder builderForValue) {
+    public Builder setRowType(
+        com.google.spanner.v1.StructType.Builder builderForValue) {
       if (rowTypeBuilder_ == null) {
         rowType_ = builderForValue.build();
       } else {
@@ -775,8 +710,6 @@ public Builder setRowType(com.google.spanner.v1.StructType.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * Indicates the field names and types for the rows in the result
      * set.  For example, a SQL query like `"SELECT UserId, UserName FROM
@@ -791,9 +724,9 @@ public Builder setRowType(com.google.spanner.v1.StructType.Builder builderForVal
      */
     public Builder mergeRowType(com.google.spanner.v1.StructType value) {
       if (rowTypeBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0)
-            && rowType_ != null
-            && rowType_ != com.google.spanner.v1.StructType.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0) &&
+          rowType_ != null &&
+          rowType_ != com.google.spanner.v1.StructType.getDefaultInstance()) {
           getRowTypeBuilder().mergeFrom(value);
         } else {
           rowType_ = value;
@@ -806,8 +739,6 @@ public Builder mergeRowType(com.google.spanner.v1.StructType value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Indicates the field names and types for the rows in the result
      * set.  For example, a SQL query like `"SELECT UserId, UserName FROM
@@ -831,8 +762,6 @@ public Builder clearRowType() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Indicates the field names and types for the rows in the result
      * set.  For example, a SQL query like `"SELECT UserId, UserName FROM
@@ -851,8 +780,6 @@ public com.google.spanner.v1.StructType.Builder getRowTypeBuilder() {
       return getRowTypeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Indicates the field names and types for the rows in the result
      * set.  For example, a SQL query like `"SELECT UserId, UserName FROM
@@ -869,12 +796,11 @@ public com.google.spanner.v1.StructTypeOrBuilder getRowTypeOrBuilder() {
       if (rowTypeBuilder_ != null) {
         return rowTypeBuilder_.getMessageOrBuilder();
       } else {
-        return rowType_ == null ? com.google.spanner.v1.StructType.getDefaultInstance() : rowType_;
+        return rowType_ == null ?
+            com.google.spanner.v1.StructType.getDefaultInstance() : rowType_;
       }
     }
     /**
-     *
-     *
      * 
      * Indicates the field names and types for the rows in the result
      * set.  For example, a SQL query like `"SELECT UserId, UserName FROM
@@ -888,17 +814,14 @@ public com.google.spanner.v1.StructTypeOrBuilder getRowTypeOrBuilder() {
      * .google.spanner.v1.StructType row_type = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.StructType,
-            com.google.spanner.v1.StructType.Builder,
-            com.google.spanner.v1.StructTypeOrBuilder>
+        com.google.spanner.v1.StructType, com.google.spanner.v1.StructType.Builder, com.google.spanner.v1.StructTypeOrBuilder> 
         getRowTypeFieldBuilder() {
       if (rowTypeBuilder_ == null) {
-        rowTypeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.v1.StructType,
-                com.google.spanner.v1.StructType.Builder,
-                com.google.spanner.v1.StructTypeOrBuilder>(
-                getRowType(), getParentForChildren(), isClean());
+        rowTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.v1.StructType, com.google.spanner.v1.StructType.Builder, com.google.spanner.v1.StructTypeOrBuilder>(
+                getRowType(),
+                getParentForChildren(),
+                isClean());
         rowType_ = null;
       }
       return rowTypeBuilder_;
@@ -906,49 +829,36 @@ public com.google.spanner.v1.StructTypeOrBuilder getRowTypeOrBuilder() {
 
     private com.google.spanner.v1.Transaction transaction_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.Transaction,
-            com.google.spanner.v1.Transaction.Builder,
-            com.google.spanner.v1.TransactionOrBuilder>
-        transactionBuilder_;
+        com.google.spanner.v1.Transaction, com.google.spanner.v1.Transaction.Builder, com.google.spanner.v1.TransactionOrBuilder> transactionBuilder_;
     /**
-     *
-     *
      * 
      * If the read or SQL query began a transaction as a side-effect, the
      * information about the new transaction is yielded here.
      * 
* * .google.spanner.v1.Transaction transaction = 2; - * * @return Whether the transaction field is set. */ public boolean hasTransaction() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * If the read or SQL query began a transaction as a side-effect, the
      * information about the new transaction is yielded here.
      * 
* * .google.spanner.v1.Transaction transaction = 2; - * * @return The transaction. */ public com.google.spanner.v1.Transaction getTransaction() { if (transactionBuilder_ == null) { - return transaction_ == null - ? com.google.spanner.v1.Transaction.getDefaultInstance() - : transaction_; + return transaction_ == null ? com.google.spanner.v1.Transaction.getDefaultInstance() : transaction_; } else { return transactionBuilder_.getMessage(); } } /** - * - * *
      * If the read or SQL query began a transaction as a side-effect, the
      * information about the new transaction is yielded here.
@@ -970,8 +880,6 @@ public Builder setTransaction(com.google.spanner.v1.Transaction value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If the read or SQL query began a transaction as a side-effect, the
      * information about the new transaction is yielded here.
@@ -979,7 +887,8 @@ public Builder setTransaction(com.google.spanner.v1.Transaction value) {
      *
      * .google.spanner.v1.Transaction transaction = 2;
      */
-    public Builder setTransaction(com.google.spanner.v1.Transaction.Builder builderForValue) {
+    public Builder setTransaction(
+        com.google.spanner.v1.Transaction.Builder builderForValue) {
       if (transactionBuilder_ == null) {
         transaction_ = builderForValue.build();
       } else {
@@ -990,8 +899,6 @@ public Builder setTransaction(com.google.spanner.v1.Transaction.Builder builderF
       return this;
     }
     /**
-     *
-     *
      * 
      * If the read or SQL query began a transaction as a side-effect, the
      * information about the new transaction is yielded here.
@@ -1001,9 +908,9 @@ public Builder setTransaction(com.google.spanner.v1.Transaction.Builder builderF
      */
     public Builder mergeTransaction(com.google.spanner.v1.Transaction value) {
       if (transactionBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && transaction_ != null
-            && transaction_ != com.google.spanner.v1.Transaction.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          transaction_ != null &&
+          transaction_ != com.google.spanner.v1.Transaction.getDefaultInstance()) {
           getTransactionBuilder().mergeFrom(value);
         } else {
           transaction_ = value;
@@ -1016,8 +923,6 @@ public Builder mergeTransaction(com.google.spanner.v1.Transaction value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If the read or SQL query began a transaction as a side-effect, the
      * information about the new transaction is yielded here.
@@ -1036,8 +941,6 @@ public Builder clearTransaction() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If the read or SQL query began a transaction as a side-effect, the
      * information about the new transaction is yielded here.
@@ -1051,8 +954,6 @@ public com.google.spanner.v1.Transaction.Builder getTransactionBuilder() {
       return getTransactionFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If the read or SQL query began a transaction as a side-effect, the
      * information about the new transaction is yielded here.
@@ -1064,14 +965,11 @@ public com.google.spanner.v1.TransactionOrBuilder getTransactionOrBuilder() {
       if (transactionBuilder_ != null) {
         return transactionBuilder_.getMessageOrBuilder();
       } else {
-        return transaction_ == null
-            ? com.google.spanner.v1.Transaction.getDefaultInstance()
-            : transaction_;
+        return transaction_ == null ?
+            com.google.spanner.v1.Transaction.getDefaultInstance() : transaction_;
       }
     }
     /**
-     *
-     *
      * 
      * If the read or SQL query began a transaction as a side-effect, the
      * information about the new transaction is yielded here.
@@ -1080,17 +978,14 @@ public com.google.spanner.v1.TransactionOrBuilder getTransactionOrBuilder() {
      * .google.spanner.v1.Transaction transaction = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.Transaction,
-            com.google.spanner.v1.Transaction.Builder,
-            com.google.spanner.v1.TransactionOrBuilder>
+        com.google.spanner.v1.Transaction, com.google.spanner.v1.Transaction.Builder, com.google.spanner.v1.TransactionOrBuilder> 
         getTransactionFieldBuilder() {
       if (transactionBuilder_ == null) {
-        transactionBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.v1.Transaction,
-                com.google.spanner.v1.Transaction.Builder,
-                com.google.spanner.v1.TransactionOrBuilder>(
-                getTransaction(), getParentForChildren(), isClean());
+        transactionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.v1.Transaction, com.google.spanner.v1.Transaction.Builder, com.google.spanner.v1.TransactionOrBuilder>(
+                getTransaction(),
+                getParentForChildren(),
+                isClean());
         transaction_ = null;
       }
       return transactionBuilder_;
@@ -1098,13 +993,8 @@ public com.google.spanner.v1.TransactionOrBuilder getTransactionOrBuilder() {
 
     private com.google.spanner.v1.StructType undeclaredParameters_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.StructType,
-            com.google.spanner.v1.StructType.Builder,
-            com.google.spanner.v1.StructTypeOrBuilder>
-        undeclaredParametersBuilder_;
+        com.google.spanner.v1.StructType, com.google.spanner.v1.StructType.Builder, com.google.spanner.v1.StructTypeOrBuilder> undeclaredParametersBuilder_;
     /**
-     *
-     *
      * 
      * A SQL query can be parameterized. In PLAN mode, these parameters can be
      * undeclared. This indicates the field names and types for those undeclared
@@ -1118,15 +1008,12 @@ public com.google.spanner.v1.TransactionOrBuilder getTransactionOrBuilder() {
      * 
* * .google.spanner.v1.StructType undeclared_parameters = 3; - * * @return Whether the undeclaredParameters field is set. */ public boolean hasUndeclaredParameters() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * A SQL query can be parameterized. In PLAN mode, these parameters can be
      * undeclared. This indicates the field names and types for those undeclared
@@ -1140,21 +1027,16 @@ public boolean hasUndeclaredParameters() {
      * 
* * .google.spanner.v1.StructType undeclared_parameters = 3; - * * @return The undeclaredParameters. */ public com.google.spanner.v1.StructType getUndeclaredParameters() { if (undeclaredParametersBuilder_ == null) { - return undeclaredParameters_ == null - ? com.google.spanner.v1.StructType.getDefaultInstance() - : undeclaredParameters_; + return undeclaredParameters_ == null ? com.google.spanner.v1.StructType.getDefaultInstance() : undeclaredParameters_; } else { return undeclaredParametersBuilder_.getMessage(); } } /** - * - * *
      * A SQL query can be parameterized. In PLAN mode, these parameters can be
      * undeclared. This indicates the field names and types for those undeclared
@@ -1183,8 +1065,6 @@ public Builder setUndeclaredParameters(com.google.spanner.v1.StructType value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A SQL query can be parameterized. In PLAN mode, these parameters can be
      * undeclared. This indicates the field names and types for those undeclared
@@ -1211,8 +1091,6 @@ public Builder setUndeclaredParameters(
       return this;
     }
     /**
-     *
-     *
      * 
      * A SQL query can be parameterized. In PLAN mode, these parameters can be
      * undeclared. This indicates the field names and types for those undeclared
@@ -1229,9 +1107,9 @@ public Builder setUndeclaredParameters(
      */
     public Builder mergeUndeclaredParameters(com.google.spanner.v1.StructType value) {
       if (undeclaredParametersBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0)
-            && undeclaredParameters_ != null
-            && undeclaredParameters_ != com.google.spanner.v1.StructType.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0) &&
+          undeclaredParameters_ != null &&
+          undeclaredParameters_ != com.google.spanner.v1.StructType.getDefaultInstance()) {
           getUndeclaredParametersBuilder().mergeFrom(value);
         } else {
           undeclaredParameters_ = value;
@@ -1244,8 +1122,6 @@ public Builder mergeUndeclaredParameters(com.google.spanner.v1.StructType value)
       return this;
     }
     /**
-     *
-     *
      * 
      * A SQL query can be parameterized. In PLAN mode, these parameters can be
      * undeclared. This indicates the field names and types for those undeclared
@@ -1271,8 +1147,6 @@ public Builder clearUndeclaredParameters() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A SQL query can be parameterized. In PLAN mode, these parameters can be
      * undeclared. This indicates the field names and types for those undeclared
@@ -1293,8 +1167,6 @@ public com.google.spanner.v1.StructType.Builder getUndeclaredParametersBuilder()
       return getUndeclaredParametersFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A SQL query can be parameterized. In PLAN mode, these parameters can be
      * undeclared. This indicates the field names and types for those undeclared
@@ -1313,14 +1185,11 @@ public com.google.spanner.v1.StructTypeOrBuilder getUndeclaredParametersOrBuilde
       if (undeclaredParametersBuilder_ != null) {
         return undeclaredParametersBuilder_.getMessageOrBuilder();
       } else {
-        return undeclaredParameters_ == null
-            ? com.google.spanner.v1.StructType.getDefaultInstance()
-            : undeclaredParameters_;
+        return undeclaredParameters_ == null ?
+            com.google.spanner.v1.StructType.getDefaultInstance() : undeclaredParameters_;
       }
     }
     /**
-     *
-     *
      * 
      * A SQL query can be parameterized. In PLAN mode, these parameters can be
      * undeclared. This indicates the field names and types for those undeclared
@@ -1336,24 +1205,21 @@ public com.google.spanner.v1.StructTypeOrBuilder getUndeclaredParametersOrBuilde
      * .google.spanner.v1.StructType undeclared_parameters = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.StructType,
-            com.google.spanner.v1.StructType.Builder,
-            com.google.spanner.v1.StructTypeOrBuilder>
+        com.google.spanner.v1.StructType, com.google.spanner.v1.StructType.Builder, com.google.spanner.v1.StructTypeOrBuilder> 
         getUndeclaredParametersFieldBuilder() {
       if (undeclaredParametersBuilder_ == null) {
-        undeclaredParametersBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.v1.StructType,
-                com.google.spanner.v1.StructType.Builder,
-                com.google.spanner.v1.StructTypeOrBuilder>(
-                getUndeclaredParameters(), getParentForChildren(), isClean());
+        undeclaredParametersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.v1.StructType, com.google.spanner.v1.StructType.Builder, com.google.spanner.v1.StructTypeOrBuilder>(
+                getUndeclaredParameters(),
+                getParentForChildren(),
+                isClean());
         undeclaredParameters_ = null;
       }
       return undeclaredParametersBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1363,12 +1229,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.spanner.v1.ResultSetMetadata)
   }
 
   // @@protoc_insertion_point(class_scope:google.spanner.v1.ResultSetMetadata)
   private static final com.google.spanner.v1.ResultSetMetadata DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.spanner.v1.ResultSetMetadata();
   }
@@ -1377,27 +1243,27 @@ public static com.google.spanner.v1.ResultSetMetadata getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ResultSetMetadata parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public ResultSetMetadata parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1412,4 +1278,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.spanner.v1.ResultSetMetadata getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetMetadataOrBuilder.java
similarity index 86%
rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetMetadataOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetMetadataOrBuilder.java
index 38216902ce7..4ec6ab21f54 100644
--- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetMetadataOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetMetadataOrBuilder.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/spanner/v1/result_set.proto
 
 package com.google.spanner.v1;
 
-public interface ResultSetMetadataOrBuilder
-    extends
+public interface ResultSetMetadataOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.spanner.v1.ResultSetMetadata)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Indicates the field names and types for the rows in the result
    * set.  For example, a SQL query like `"SELECT UserId, UserName FROM
@@ -37,13 +19,10 @@ public interface ResultSetMetadataOrBuilder
    * 
* * .google.spanner.v1.StructType row_type = 1; - * * @return Whether the rowType field is set. */ boolean hasRowType(); /** - * - * *
    * Indicates the field names and types for the rows in the result
    * set.  For example, a SQL query like `"SELECT UserId, UserName FROM
@@ -55,13 +34,10 @@ public interface ResultSetMetadataOrBuilder
    * 
* * .google.spanner.v1.StructType row_type = 1; - * * @return The rowType. */ com.google.spanner.v1.StructType getRowType(); /** - * - * *
    * Indicates the field names and types for the rows in the result
    * set.  For example, a SQL query like `"SELECT UserId, UserName FROM
@@ -77,34 +53,26 @@ public interface ResultSetMetadataOrBuilder
   com.google.spanner.v1.StructTypeOrBuilder getRowTypeOrBuilder();
 
   /**
-   *
-   *
    * 
    * If the read or SQL query began a transaction as a side-effect, the
    * information about the new transaction is yielded here.
    * 
* * .google.spanner.v1.Transaction transaction = 2; - * * @return Whether the transaction field is set. */ boolean hasTransaction(); /** - * - * *
    * If the read or SQL query began a transaction as a side-effect, the
    * information about the new transaction is yielded here.
    * 
* * .google.spanner.v1.Transaction transaction = 2; - * * @return The transaction. */ com.google.spanner.v1.Transaction getTransaction(); /** - * - * *
    * If the read or SQL query began a transaction as a side-effect, the
    * information about the new transaction is yielded here.
@@ -115,8 +83,6 @@ public interface ResultSetMetadataOrBuilder
   com.google.spanner.v1.TransactionOrBuilder getTransactionOrBuilder();
 
   /**
-   *
-   *
    * 
    * A SQL query can be parameterized. In PLAN mode, these parameters can be
    * undeclared. This indicates the field names and types for those undeclared
@@ -130,13 +96,10 @@ public interface ResultSetMetadataOrBuilder
    * 
* * .google.spanner.v1.StructType undeclared_parameters = 3; - * * @return Whether the undeclaredParameters field is set. */ boolean hasUndeclaredParameters(); /** - * - * *
    * A SQL query can be parameterized. In PLAN mode, these parameters can be
    * undeclared. This indicates the field names and types for those undeclared
@@ -150,13 +113,10 @@ public interface ResultSetMetadataOrBuilder
    * 
* * .google.spanner.v1.StructType undeclared_parameters = 3; - * * @return The undeclaredParameters. */ com.google.spanner.v1.StructType getUndeclaredParameters(); /** - * - * *
    * A SQL query can be parameterized. In PLAN mode, these parameters can be
    * undeclared. This indicates the field names and types for those undeclared
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetOrBuilder.java
similarity index 86%
rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetOrBuilder.java
index 81a2f13afd3..dd2a203c547 100644
--- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetOrBuilder.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/spanner/v1/result_set.proto
 
 package com.google.spanner.v1;
 
-public interface ResultSetOrBuilder
-    extends
+public interface ResultSetOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.spanner.v1.ResultSet)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Metadata about the result set, such as row type information.
    * 
* * .google.spanner.v1.ResultSetMetadata metadata = 1; - * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** - * - * *
    * Metadata about the result set, such as row type information.
    * 
* * .google.spanner.v1.ResultSetMetadata metadata = 1; - * * @return The metadata. */ com.google.spanner.v1.ResultSetMetadata getMetadata(); /** - * - * *
    * Metadata about the result set, such as row type information.
    * 
@@ -59,8 +35,6 @@ public interface ResultSetOrBuilder com.google.spanner.v1.ResultSetMetadataOrBuilder getMetadataOrBuilder(); /** - * - * *
    * Each element in `rows` is a row whose format is defined by
    * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -72,10 +46,9 @@ public interface ResultSetOrBuilder
    *
    * repeated .google.protobuf.ListValue rows = 2;
    */
-  java.util.List getRowsList();
+  java.util.List 
+      getRowsList();
   /**
-   *
-   *
    * 
    * Each element in `rows` is a row whose format is defined by
    * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -89,8 +62,6 @@ public interface ResultSetOrBuilder
    */
   com.google.protobuf.ListValue getRows(int index);
   /**
-   *
-   *
    * 
    * Each element in `rows` is a row whose format is defined by
    * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -104,8 +75,6 @@ public interface ResultSetOrBuilder
    */
   int getRowsCount();
   /**
-   *
-   *
    * 
    * Each element in `rows` is a row whose format is defined by
    * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -117,10 +86,9 @@ public interface ResultSetOrBuilder
    *
    * repeated .google.protobuf.ListValue rows = 2;
    */
-  java.util.List getRowsOrBuilderList();
+  java.util.List 
+      getRowsOrBuilderList();
   /**
-   *
-   *
    * 
    * Each element in `rows` is a row whose format is defined by
    * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -132,11 +100,10 @@ public interface ResultSetOrBuilder
    *
    * repeated .google.protobuf.ListValue rows = 2;
    */
-  com.google.protobuf.ListValueOrBuilder getRowsOrBuilder(int index);
+  com.google.protobuf.ListValueOrBuilder getRowsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Query plan and execution statistics for the SQL statement that
    * produced this result set. These can be requested by setting
@@ -149,13 +116,10 @@ public interface ResultSetOrBuilder
    * 
* * .google.spanner.v1.ResultSetStats stats = 3; - * * @return Whether the stats field is set. */ boolean hasStats(); /** - * - * *
    * Query plan and execution statistics for the SQL statement that
    * produced this result set. These can be requested by setting
@@ -168,13 +132,10 @@ public interface ResultSetOrBuilder
    * 
* * .google.spanner.v1.ResultSetStats stats = 3; - * * @return The stats. */ com.google.spanner.v1.ResultSetStats getStats(); /** - * - * *
    * Query plan and execution statistics for the SQL statement that
    * produced this result set. These can be requested by setting
diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetProto.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetProto.java
new file mode 100644
index 00000000000..ea07faf1f06
--- /dev/null
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetProto.java
@@ -0,0 +1,115 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/spanner/v1/result_set.proto
+
+package com.google.spanner.v1;
+
+public final class ResultSetProto {
+  private ResultSetProto() {}
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistryLite registry) {
+  }
+
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions(
+        (com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_spanner_v1_ResultSet_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_spanner_v1_ResultSet_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_spanner_v1_PartialResultSet_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_spanner_v1_PartialResultSet_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_spanner_v1_ResultSetMetadata_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_spanner_v1_ResultSetMetadata_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_spanner_v1_ResultSetStats_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_spanner_v1_ResultSetStats_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor
+      getDescriptor() {
+    return descriptor;
+  }
+  private static  com.google.protobuf.Descriptors.FileDescriptor
+      descriptor;
+  static {
+    java.lang.String[] descriptorData = {
+      "\n\"google/spanner/v1/result_set.proto\022\021go" +
+      "ogle.spanner.v1\032\034google/protobuf/struct." +
+      "proto\032\"google/spanner/v1/query_plan.prot" +
+      "o\032#google/spanner/v1/transaction.proto\032\034" +
+      "google/spanner/v1/type.proto\"\237\001\n\tResultS" +
+      "et\0226\n\010metadata\030\001 \001(\0132$.google.spanner.v1" +
+      ".ResultSetMetadata\022(\n\004rows\030\002 \003(\0132\032.googl" +
+      "e.protobuf.ListValue\0220\n\005stats\030\003 \001(\0132!.go" +
+      "ogle.spanner.v1.ResultSetStats\"\321\001\n\020Parti" +
+      "alResultSet\0226\n\010metadata\030\001 \001(\0132$.google.s" +
+      "panner.v1.ResultSetMetadata\022&\n\006values\030\002 " +
+      "\003(\0132\026.google.protobuf.Value\022\025\n\rchunked_v" +
+      "alue\030\003 \001(\010\022\024\n\014resume_token\030\004 \001(\014\0220\n\005stat" +
+      "s\030\005 \001(\0132!.google.spanner.v1.ResultSetSta" +
+      "ts\"\267\001\n\021ResultSetMetadata\022/\n\010row_type\030\001 \001" +
+      "(\0132\035.google.spanner.v1.StructType\0223\n\013tra" +
+      "nsaction\030\002 \001(\0132\036.google.spanner.v1.Trans" +
+      "action\022<\n\025undeclared_parameters\030\003 \001(\0132\035." +
+      "google.spanner.v1.StructType\"\271\001\n\016ResultS" +
+      "etStats\0220\n\nquery_plan\030\001 \001(\0132\034.google.spa" +
+      "nner.v1.QueryPlan\022,\n\013query_stats\030\002 \001(\0132\027" +
+      ".google.protobuf.Struct\022\031\n\017row_count_exa" +
+      "ct\030\003 \001(\003H\000\022\037\n\025row_count_lower_bound\030\004 \001(" +
+      "\003H\000B\013\n\trow_countB\264\001\n\025com.google.spanner." +
+      "v1B\016ResultSetProtoP\001Z5cloud.google.com/g" +
+      "o/spanner/apiv1/spannerpb;spannerpb\370\001\001\252\002" +
+      "\027Google.Cloud.Spanner.V1\312\002\027Google\\Cloud\\" +
+      "Spanner\\V1\352\002\032Google::Cloud::Spanner::V1b" +
+      "\006proto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.protobuf.StructProto.getDescriptor(),
+          com.google.spanner.v1.QueryPlanProto.getDescriptor(),
+          com.google.spanner.v1.TransactionProto.getDescriptor(),
+          com.google.spanner.v1.TypeProto.getDescriptor(),
+        });
+    internal_static_google_spanner_v1_ResultSet_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_spanner_v1_ResultSet_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_spanner_v1_ResultSet_descriptor,
+        new java.lang.String[] { "Metadata", "Rows", "Stats", });
+    internal_static_google_spanner_v1_PartialResultSet_descriptor =
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_spanner_v1_PartialResultSet_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_spanner_v1_PartialResultSet_descriptor,
+        new java.lang.String[] { "Metadata", "Values", "ChunkedValue", "ResumeToken", "Stats", });
+    internal_static_google_spanner_v1_ResultSetMetadata_descriptor =
+      getDescriptor().getMessageTypes().get(2);
+    internal_static_google_spanner_v1_ResultSetMetadata_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_spanner_v1_ResultSetMetadata_descriptor,
+        new java.lang.String[] { "RowType", "Transaction", "UndeclaredParameters", });
+    internal_static_google_spanner_v1_ResultSetStats_descriptor =
+      getDescriptor().getMessageTypes().get(3);
+    internal_static_google_spanner_v1_ResultSetStats_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_spanner_v1_ResultSetStats_descriptor,
+        new java.lang.String[] { "QueryPlan", "QueryStats", "RowCountExact", "RowCountLowerBound", "RowCount", });
+    com.google.protobuf.StructProto.getDescriptor();
+    com.google.spanner.v1.QueryPlanProto.getDescriptor();
+    com.google.spanner.v1.TransactionProto.getDescriptor();
+    com.google.spanner.v1.TypeProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetStats.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetStats.java
similarity index 73%
rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetStats.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetStats.java
index 3c940cb8d13..67f1c4c8951 100644
--- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetStats.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetStats.java
@@ -1,82 +1,61 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/v1/result_set.proto
 
 package com.google.spanner.v1;
 
 /**
- *
- *
  * 
  * Additional statistics about a [ResultSet][google.spanner.v1.ResultSet] or [PartialResultSet][google.spanner.v1.PartialResultSet].
  * 
* * Protobuf type {@code google.spanner.v1.ResultSetStats} */ -public final class ResultSetStats extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ResultSetStats extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.v1.ResultSetStats) ResultSetStatsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ResultSetStats.newBuilder() to construct. private ResultSetStats(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ResultSetStats() {} + private ResultSetStats() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ResultSetStats(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.ResultSetProto - .internal_static_google_spanner_v1_ResultSetStats_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.ResultSetProto.internal_static_google_spanner_v1_ResultSetStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.ResultSetProto - .internal_static_google_spanner_v1_ResultSetStats_fieldAccessorTable + return com.google.spanner.v1.ResultSetProto.internal_static_google_spanner_v1_ResultSetStats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.ResultSetStats.class, - com.google.spanner.v1.ResultSetStats.Builder.class); + com.google.spanner.v1.ResultSetStats.class, com.google.spanner.v1.ResultSetStats.Builder.class); } private int rowCountCase_ = 0; private java.lang.Object rowCount_; - public enum RowCountCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { ROW_COUNT_EXACT(3), ROW_COUNT_LOWER_BOUND(4), ROWCOUNT_NOT_SET(0); private final int value; - private RowCountCase(int value) { this.value = value; } @@ -92,37 +71,31 @@ public static RowCountCase valueOf(int value) { public static RowCountCase forNumber(int value) { switch (value) { - case 3: - return ROW_COUNT_EXACT; - case 4: - return ROW_COUNT_LOWER_BOUND; - case 0: - return ROWCOUNT_NOT_SET; - default: - return null; + case 3: return ROW_COUNT_EXACT; + case 4: return ROW_COUNT_LOWER_BOUND; + case 0: return ROWCOUNT_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public RowCountCase getRowCountCase() { - return RowCountCase.forNumber(rowCountCase_); + public RowCountCase + getRowCountCase() { + return RowCountCase.forNumber( + rowCountCase_); } public static final int QUERY_PLAN_FIELD_NUMBER = 1; private com.google.spanner.v1.QueryPlan queryPlan_; /** - * - * *
    * [QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
    * 
* * .google.spanner.v1.QueryPlan query_plan = 1; - * * @return Whether the queryPlan field is set. */ @java.lang.Override @@ -130,14 +103,11 @@ public boolean hasQueryPlan() { return queryPlan_ != null; } /** - * - * *
    * [QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
    * 
* * .google.spanner.v1.QueryPlan query_plan = 1; - * * @return The queryPlan. */ @java.lang.Override @@ -145,8 +115,6 @@ public com.google.spanner.v1.QueryPlan getQueryPlan() { return queryPlan_ == null ? com.google.spanner.v1.QueryPlan.getDefaultInstance() : queryPlan_; } /** - * - * *
    * [QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
    * 
@@ -161,8 +129,6 @@ public com.google.spanner.v1.QueryPlanOrBuilder getQueryPlanOrBuilder() { public static final int QUERY_STATS_FIELD_NUMBER = 2; private com.google.protobuf.Struct queryStats_; /** - * - * *
    * Aggregated statistics from the execution of the query. Only present when
    * the query is profiled. For example, a query could return the statistics as
@@ -175,7 +141,6 @@ public com.google.spanner.v1.QueryPlanOrBuilder getQueryPlanOrBuilder() {
    * 
* * .google.protobuf.Struct query_stats = 2; - * * @return Whether the queryStats field is set. */ @java.lang.Override @@ -183,8 +148,6 @@ public boolean hasQueryStats() { return queryStats_ != null; } /** - * - * *
    * Aggregated statistics from the execution of the query. Only present when
    * the query is profiled. For example, a query could return the statistics as
@@ -197,7 +160,6 @@ public boolean hasQueryStats() {
    * 
* * .google.protobuf.Struct query_stats = 2; - * * @return The queryStats. */ @java.lang.Override @@ -205,8 +167,6 @@ public com.google.protobuf.Struct getQueryStats() { return queryStats_ == null ? com.google.protobuf.Struct.getDefaultInstance() : queryStats_; } /** - * - * *
    * Aggregated statistics from the execution of the query. Only present when
    * the query is profiled. For example, a query could return the statistics as
@@ -227,14 +187,11 @@ public com.google.protobuf.StructOrBuilder getQueryStatsOrBuilder() {
 
   public static final int ROW_COUNT_EXACT_FIELD_NUMBER = 3;
   /**
-   *
-   *
    * 
    * Standard DML returns an exact count of rows that were modified.
    * 
* * int64 row_count_exact = 3; - * * @return Whether the rowCountExact field is set. */ @java.lang.Override @@ -242,14 +199,11 @@ public boolean hasRowCountExact() { return rowCountCase_ == 3; } /** - * - * *
    * Standard DML returns an exact count of rows that were modified.
    * 
* * int64 row_count_exact = 3; - * * @return The rowCountExact. */ @java.lang.Override @@ -262,15 +216,12 @@ public long getRowCountExact() { public static final int ROW_COUNT_LOWER_BOUND_FIELD_NUMBER = 4; /** - * - * *
    * Partitioned DML does not offer exactly-once semantics, so it
    * returns a lower bound of the rows modified.
    * 
* * int64 row_count_lower_bound = 4; - * * @return Whether the rowCountLowerBound field is set. */ @java.lang.Override @@ -278,15 +229,12 @@ public boolean hasRowCountLowerBound() { return rowCountCase_ == 4; } /** - * - * *
    * Partitioned DML does not offer exactly-once semantics, so it
    * returns a lower bound of the rows modified.
    * 
* * int64 row_count_lower_bound = 4; - * * @return The rowCountLowerBound. */ @java.lang.Override @@ -298,7 +246,6 @@ public long getRowCountLowerBound() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -310,7 +257,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (queryPlan_ != null) { output.writeMessage(1, getQueryPlan()); } @@ -318,10 +266,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage(2, getQueryStats()); } if (rowCountCase_ == 3) { - output.writeInt64(3, (long) ((java.lang.Long) rowCount_)); + output.writeInt64( + 3, (long)((java.lang.Long) rowCount_)); } if (rowCountCase_ == 4) { - output.writeInt64(4, (long) ((java.lang.Long) rowCount_)); + output.writeInt64( + 4, (long)((java.lang.Long) rowCount_)); } getUnknownFields().writeTo(output); } @@ -333,20 +283,22 @@ public int getSerializedSize() { size = 0; if (queryPlan_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getQueryPlan()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getQueryPlan()); } if (queryStats_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getQueryStats()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getQueryStats()); } if (rowCountCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size( - 3, (long) ((java.lang.Long) rowCount_)); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size( + 3, (long)((java.lang.Long) rowCount_)); } if (rowCountCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size( - 4, (long) ((java.lang.Long) rowCount_)); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size( + 4, (long)((java.lang.Long) rowCount_)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -356,7 +308,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.spanner.v1.ResultSetStats)) { return super.equals(obj); @@ -365,19 +317,23 @@ public boolean equals(final java.lang.Object obj) { if (hasQueryPlan() != other.hasQueryPlan()) return false; if (hasQueryPlan()) { - if (!getQueryPlan().equals(other.getQueryPlan())) return false; + if (!getQueryPlan() + .equals(other.getQueryPlan())) return false; } if (hasQueryStats() != other.hasQueryStats()) return false; if (hasQueryStats()) { - if (!getQueryStats().equals(other.getQueryStats())) return false; + if (!getQueryStats() + .equals(other.getQueryStats())) return false; } if (!getRowCountCase().equals(other.getRowCountCase())) return false; switch (rowCountCase_) { case 3: - if (getRowCountExact() != other.getRowCountExact()) return false; + if (getRowCountExact() + != other.getRowCountExact()) return false; break; case 4: - if (getRowCountLowerBound() != other.getRowCountLowerBound()) return false; + if (getRowCountLowerBound() + != other.getRowCountLowerBound()) return false; break; case 0: default: @@ -404,11 +360,13 @@ public int hashCode() { switch (rowCountCase_) { case 3: hash = (37 * hash) + ROW_COUNT_EXACT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getRowCountExact()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getRowCountExact()); break; case 4: hash = (37 * hash) + ROW_COUNT_LOWER_BOUND_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getRowCountLowerBound()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getRowCountLowerBound()); break; case 0: default: @@ -418,135 +376,130 @@ public int hashCode() { return hash; } - public static com.google.spanner.v1.ResultSetStats parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.v1.ResultSetStats parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.ResultSetStats parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.v1.ResultSetStats parseFrom(com.google.protobuf.ByteString data) + public static com.google.spanner.v1.ResultSetStats parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.ResultSetStats parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.ResultSetStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.ResultSetStats parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.ResultSetStats parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.ResultSetStats parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.ResultSetStats 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.spanner.v1.ResultSetStats parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.ResultSetStats parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.ResultSetStats parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.v1.ResultSetStats prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Additional statistics about a [ResultSet][google.spanner.v1.ResultSet] or [PartialResultSet][google.spanner.v1.PartialResultSet].
    * 
* * Protobuf type {@code google.spanner.v1.ResultSetStats} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.ResultSetStats) com.google.spanner.v1.ResultSetStatsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.ResultSetProto - .internal_static_google_spanner_v1_ResultSetStats_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.ResultSetProto.internal_static_google_spanner_v1_ResultSetStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.ResultSetProto - .internal_static_google_spanner_v1_ResultSetStats_fieldAccessorTable + return com.google.spanner.v1.ResultSetProto.internal_static_google_spanner_v1_ResultSetStats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.ResultSetStats.class, - com.google.spanner.v1.ResultSetStats.Builder.class); + com.google.spanner.v1.ResultSetStats.class, com.google.spanner.v1.ResultSetStats.Builder.class); } // Construct using com.google.spanner.v1.ResultSetStats.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.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.spanner.v1.ResultSetProto - .internal_static_google_spanner_v1_ResultSetStats_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.v1.ResultSetProto.internal_static_google_spanner_v1_ResultSetStats_descriptor; } @java.lang.Override @@ -589,9 +542,7 @@ public com.google.spanner.v1.ResultSetStats build() { @java.lang.Override public com.google.spanner.v1.ResultSetStats buildPartial() { com.google.spanner.v1.ResultSetStats result = new com.google.spanner.v1.ResultSetStats(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -600,10 +551,14 @@ public com.google.spanner.v1.ResultSetStats buildPartial() { private void buildPartial0(com.google.spanner.v1.ResultSetStats result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.queryPlan_ = queryPlanBuilder_ == null ? queryPlan_ : queryPlanBuilder_.build(); + result.queryPlan_ = queryPlanBuilder_ == null + ? queryPlan_ + : queryPlanBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.queryStats_ = queryStatsBuilder_ == null ? queryStats_ : queryStatsBuilder_.build(); + result.queryStats_ = queryStatsBuilder_ == null + ? queryStats_ + : queryStatsBuilder_.build(); } } @@ -616,39 +571,38 @@ private void buildPartialOneofs(com.google.spanner.v1.ResultSetStats 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.spanner.v1.ResultSetStats) { - return mergeFrom((com.google.spanner.v1.ResultSetStats) other); + return mergeFrom((com.google.spanner.v1.ResultSetStats)other); } else { super.mergeFrom(other); return this; @@ -664,20 +618,17 @@ public Builder mergeFrom(com.google.spanner.v1.ResultSetStats other) { mergeQueryStats(other.getQueryStats()); } switch (other.getRowCountCase()) { - case ROW_COUNT_EXACT: - { - setRowCountExact(other.getRowCountExact()); - break; - } - case ROW_COUNT_LOWER_BOUND: - { - setRowCountLowerBound(other.getRowCountLowerBound()); - break; - } - case ROWCOUNT_NOT_SET: - { - break; - } + case ROW_COUNT_EXACT: { + setRowCountExact(other.getRowCountExact()); + break; + } + case ROW_COUNT_LOWER_BOUND: { + setRowCountLowerBound(other.getRowCountLowerBound()); + break; + } + case ROWCOUNT_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -705,37 +656,36 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getQueryPlanFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getQueryStatsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: - { - rowCount_ = input.readInt64(); - rowCountCase_ = 3; - break; - } // case 24 - case 32: - { - rowCount_ = input.readInt64(); - rowCountCase_ = 4; - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getQueryPlanFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getQueryStatsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + rowCount_ = input.readInt64(); + rowCountCase_ = 3; + break; + } // case 24 + case 32: { + rowCount_ = input.readInt64(); + rowCountCase_ = 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) { @@ -745,12 +695,12 @@ public Builder mergeFrom( } // finally return this; } - private int rowCountCase_ = 0; private java.lang.Object rowCount_; - - public RowCountCase getRowCountCase() { - return RowCountCase.forNumber(rowCountCase_); + public RowCountCase + getRowCountCase() { + return RowCountCase.forNumber( + rowCountCase_); } public Builder clearRowCount() { @@ -764,47 +714,34 @@ public Builder clearRowCount() { private com.google.spanner.v1.QueryPlan queryPlan_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.QueryPlan, - com.google.spanner.v1.QueryPlan.Builder, - com.google.spanner.v1.QueryPlanOrBuilder> - queryPlanBuilder_; + com.google.spanner.v1.QueryPlan, com.google.spanner.v1.QueryPlan.Builder, com.google.spanner.v1.QueryPlanOrBuilder> queryPlanBuilder_; /** - * - * *
      * [QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
      * 
* * .google.spanner.v1.QueryPlan query_plan = 1; - * * @return Whether the queryPlan field is set. */ public boolean hasQueryPlan() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * [QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
      * 
* * .google.spanner.v1.QueryPlan query_plan = 1; - * * @return The queryPlan. */ public com.google.spanner.v1.QueryPlan getQueryPlan() { if (queryPlanBuilder_ == null) { - return queryPlan_ == null - ? com.google.spanner.v1.QueryPlan.getDefaultInstance() - : queryPlan_; + return queryPlan_ == null ? com.google.spanner.v1.QueryPlan.getDefaultInstance() : queryPlan_; } else { return queryPlanBuilder_.getMessage(); } } /** - * - * *
      * [QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
      * 
@@ -825,15 +762,14 @@ public Builder setQueryPlan(com.google.spanner.v1.QueryPlan value) { return this; } /** - * - * *
      * [QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
      * 
* * .google.spanner.v1.QueryPlan query_plan = 1; */ - public Builder setQueryPlan(com.google.spanner.v1.QueryPlan.Builder builderForValue) { + public Builder setQueryPlan( + com.google.spanner.v1.QueryPlan.Builder builderForValue) { if (queryPlanBuilder_ == null) { queryPlan_ = builderForValue.build(); } else { @@ -844,8 +780,6 @@ public Builder setQueryPlan(com.google.spanner.v1.QueryPlan.Builder builderForVa return this; } /** - * - * *
      * [QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
      * 
@@ -854,9 +788,9 @@ public Builder setQueryPlan(com.google.spanner.v1.QueryPlan.Builder builderForVa */ public Builder mergeQueryPlan(com.google.spanner.v1.QueryPlan value) { if (queryPlanBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && queryPlan_ != null - && queryPlan_ != com.google.spanner.v1.QueryPlan.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + queryPlan_ != null && + queryPlan_ != com.google.spanner.v1.QueryPlan.getDefaultInstance()) { getQueryPlanBuilder().mergeFrom(value); } else { queryPlan_ = value; @@ -869,8 +803,6 @@ public Builder mergeQueryPlan(com.google.spanner.v1.QueryPlan value) { return this; } /** - * - * *
      * [QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
      * 
@@ -888,8 +820,6 @@ public Builder clearQueryPlan() { return this; } /** - * - * *
      * [QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
      * 
@@ -902,8 +832,6 @@ public com.google.spanner.v1.QueryPlan.Builder getQueryPlanBuilder() { return getQueryPlanFieldBuilder().getBuilder(); } /** - * - * *
      * [QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
      * 
@@ -914,14 +842,11 @@ public com.google.spanner.v1.QueryPlanOrBuilder getQueryPlanOrBuilder() { if (queryPlanBuilder_ != null) { return queryPlanBuilder_.getMessageOrBuilder(); } else { - return queryPlan_ == null - ? com.google.spanner.v1.QueryPlan.getDefaultInstance() - : queryPlan_; + return queryPlan_ == null ? + com.google.spanner.v1.QueryPlan.getDefaultInstance() : queryPlan_; } } /** - * - * *
      * [QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
      * 
@@ -929,17 +854,14 @@ public com.google.spanner.v1.QueryPlanOrBuilder getQueryPlanOrBuilder() { * .google.spanner.v1.QueryPlan query_plan = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.QueryPlan, - com.google.spanner.v1.QueryPlan.Builder, - com.google.spanner.v1.QueryPlanOrBuilder> + com.google.spanner.v1.QueryPlan, com.google.spanner.v1.QueryPlan.Builder, com.google.spanner.v1.QueryPlanOrBuilder> getQueryPlanFieldBuilder() { if (queryPlanBuilder_ == null) { - queryPlanBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.QueryPlan, - com.google.spanner.v1.QueryPlan.Builder, - com.google.spanner.v1.QueryPlanOrBuilder>( - getQueryPlan(), getParentForChildren(), isClean()); + queryPlanBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.v1.QueryPlan, com.google.spanner.v1.QueryPlan.Builder, com.google.spanner.v1.QueryPlanOrBuilder>( + getQueryPlan(), + getParentForChildren(), + isClean()); queryPlan_ = null; } return queryPlanBuilder_; @@ -947,13 +869,8 @@ public com.google.spanner.v1.QueryPlanOrBuilder getQueryPlanOrBuilder() { private com.google.protobuf.Struct queryStats_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, - com.google.protobuf.Struct.Builder, - com.google.protobuf.StructOrBuilder> - queryStatsBuilder_; + com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> queryStatsBuilder_; /** - * - * *
      * Aggregated statistics from the execution of the query. Only present when
      * the query is profiled. For example, a query could return the statistics as
@@ -966,15 +883,12 @@ public com.google.spanner.v1.QueryPlanOrBuilder getQueryPlanOrBuilder() {
      * 
* * .google.protobuf.Struct query_stats = 2; - * * @return Whether the queryStats field is set. */ public boolean hasQueryStats() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Aggregated statistics from the execution of the query. Only present when
      * the query is profiled. For example, a query could return the statistics as
@@ -987,7 +901,6 @@ public boolean hasQueryStats() {
      * 
* * .google.protobuf.Struct query_stats = 2; - * * @return The queryStats. */ public com.google.protobuf.Struct getQueryStats() { @@ -998,8 +911,6 @@ public com.google.protobuf.Struct getQueryStats() { } } /** - * - * *
      * Aggregated statistics from the execution of the query. Only present when
      * the query is profiled. For example, a query could return the statistics as
@@ -1027,8 +938,6 @@ public Builder setQueryStats(com.google.protobuf.Struct value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Aggregated statistics from the execution of the query. Only present when
      * the query is profiled. For example, a query could return the statistics as
@@ -1042,7 +951,8 @@ public Builder setQueryStats(com.google.protobuf.Struct value) {
      *
      * .google.protobuf.Struct query_stats = 2;
      */
-    public Builder setQueryStats(com.google.protobuf.Struct.Builder builderForValue) {
+    public Builder setQueryStats(
+        com.google.protobuf.Struct.Builder builderForValue) {
       if (queryStatsBuilder_ == null) {
         queryStats_ = builderForValue.build();
       } else {
@@ -1053,8 +963,6 @@ public Builder setQueryStats(com.google.protobuf.Struct.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * Aggregated statistics from the execution of the query. Only present when
      * the query is profiled. For example, a query could return the statistics as
@@ -1070,9 +978,9 @@ public Builder setQueryStats(com.google.protobuf.Struct.Builder builderForValue)
      */
     public Builder mergeQueryStats(com.google.protobuf.Struct value) {
       if (queryStatsBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && queryStats_ != null
-            && queryStats_ != com.google.protobuf.Struct.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          queryStats_ != null &&
+          queryStats_ != com.google.protobuf.Struct.getDefaultInstance()) {
           getQueryStatsBuilder().mergeFrom(value);
         } else {
           queryStats_ = value;
@@ -1085,8 +993,6 @@ public Builder mergeQueryStats(com.google.protobuf.Struct value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Aggregated statistics from the execution of the query. Only present when
      * the query is profiled. For example, a query could return the statistics as
@@ -1111,8 +1017,6 @@ public Builder clearQueryStats() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Aggregated statistics from the execution of the query. Only present when
      * the query is profiled. For example, a query could return the statistics as
@@ -1132,8 +1036,6 @@ public com.google.protobuf.Struct.Builder getQueryStatsBuilder() {
       return getQueryStatsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Aggregated statistics from the execution of the query. Only present when
      * the query is profiled. For example, a query could return the statistics as
@@ -1151,12 +1053,11 @@ public com.google.protobuf.StructOrBuilder getQueryStatsOrBuilder() {
       if (queryStatsBuilder_ != null) {
         return queryStatsBuilder_.getMessageOrBuilder();
       } else {
-        return queryStats_ == null ? com.google.protobuf.Struct.getDefaultInstance() : queryStats_;
+        return queryStats_ == null ?
+            com.google.protobuf.Struct.getDefaultInstance() : queryStats_;
       }
     }
     /**
-     *
-     *
      * 
      * Aggregated statistics from the execution of the query. Only present when
      * the query is profiled. For example, a query could return the statistics as
@@ -1171,45 +1072,36 @@ public com.google.protobuf.StructOrBuilder getQueryStatsOrBuilder() {
      * .google.protobuf.Struct query_stats = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Struct,
-            com.google.protobuf.Struct.Builder,
-            com.google.protobuf.StructOrBuilder>
+        com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> 
         getQueryStatsFieldBuilder() {
       if (queryStatsBuilder_ == null) {
-        queryStatsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Struct,
-                com.google.protobuf.Struct.Builder,
-                com.google.protobuf.StructOrBuilder>(
-                getQueryStats(), getParentForChildren(), isClean());
+        queryStatsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>(
+                getQueryStats(),
+                getParentForChildren(),
+                isClean());
         queryStats_ = null;
       }
       return queryStatsBuilder_;
     }
 
     /**
-     *
-     *
      * 
      * Standard DML returns an exact count of rows that were modified.
      * 
* * int64 row_count_exact = 3; - * * @return Whether the rowCountExact field is set. */ public boolean hasRowCountExact() { return rowCountCase_ == 3; } /** - * - * *
      * Standard DML returns an exact count of rows that were modified.
      * 
* * int64 row_count_exact = 3; - * * @return The rowCountExact. */ public long getRowCountExact() { @@ -1219,33 +1111,27 @@ public long getRowCountExact() { return 0L; } /** - * - * *
      * Standard DML returns an exact count of rows that were modified.
      * 
* * int64 row_count_exact = 3; - * * @param value The rowCountExact to set. * @return This builder for chaining. */ public Builder setRowCountExact(long value) { - + rowCountCase_ = 3; rowCount_ = value; onChanged(); return this; } /** - * - * *
      * Standard DML returns an exact count of rows that were modified.
      * 
* * int64 row_count_exact = 3; - * * @return This builder for chaining. */ public Builder clearRowCountExact() { @@ -1258,30 +1144,24 @@ public Builder clearRowCountExact() { } /** - * - * *
      * Partitioned DML does not offer exactly-once semantics, so it
      * returns a lower bound of the rows modified.
      * 
* * int64 row_count_lower_bound = 4; - * * @return Whether the rowCountLowerBound field is set. */ public boolean hasRowCountLowerBound() { return rowCountCase_ == 4; } /** - * - * *
      * Partitioned DML does not offer exactly-once semantics, so it
      * returns a lower bound of the rows modified.
      * 
* * int64 row_count_lower_bound = 4; - * * @return The rowCountLowerBound. */ public long getRowCountLowerBound() { @@ -1291,35 +1171,29 @@ public long getRowCountLowerBound() { return 0L; } /** - * - * *
      * Partitioned DML does not offer exactly-once semantics, so it
      * returns a lower bound of the rows modified.
      * 
* * int64 row_count_lower_bound = 4; - * * @param value The rowCountLowerBound to set. * @return This builder for chaining. */ public Builder setRowCountLowerBound(long value) { - + rowCountCase_ = 4; rowCount_ = value; onChanged(); return this; } /** - * - * *
      * Partitioned DML does not offer exactly-once semantics, so it
      * returns a lower bound of the rows modified.
      * 
* * int64 row_count_lower_bound = 4; - * * @return This builder for chaining. */ public Builder clearRowCountLowerBound() { @@ -1330,9 +1204,9 @@ public Builder clearRowCountLowerBound() { } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1342,12 +1216,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.v1.ResultSetStats) } // @@protoc_insertion_point(class_scope:google.spanner.v1.ResultSetStats) private static final com.google.spanner.v1.ResultSetStats DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.v1.ResultSetStats(); } @@ -1356,27 +1230,27 @@ public static com.google.spanner.v1.ResultSetStats getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResultSetStats parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResultSetStats parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1391,4 +1265,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.ResultSetStats getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetStatsOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetStatsOrBuilder.java similarity index 82% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetStatsOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetStatsOrBuilder.java index 9a01e754b41..13f739a737f 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetStatsOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetStatsOrBuilder.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/spanner/v1/result_set.proto package com.google.spanner.v1; -public interface ResultSetStatsOrBuilder - extends +public interface ResultSetStatsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.ResultSetStats) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * [QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
    * 
* * .google.spanner.v1.QueryPlan query_plan = 1; - * * @return Whether the queryPlan field is set. */ boolean hasQueryPlan(); /** - * - * *
    * [QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
    * 
* * .google.spanner.v1.QueryPlan query_plan = 1; - * * @return The queryPlan. */ com.google.spanner.v1.QueryPlan getQueryPlan(); /** - * - * *
    * [QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
    * 
@@ -59,8 +35,6 @@ public interface ResultSetStatsOrBuilder com.google.spanner.v1.QueryPlanOrBuilder getQueryPlanOrBuilder(); /** - * - * *
    * Aggregated statistics from the execution of the query. Only present when
    * the query is profiled. For example, a query could return the statistics as
@@ -73,13 +47,10 @@ public interface ResultSetStatsOrBuilder
    * 
* * .google.protobuf.Struct query_stats = 2; - * * @return Whether the queryStats field is set. */ boolean hasQueryStats(); /** - * - * *
    * Aggregated statistics from the execution of the query. Only present when
    * the query is profiled. For example, a query could return the statistics as
@@ -92,13 +63,10 @@ public interface ResultSetStatsOrBuilder
    * 
* * .google.protobuf.Struct query_stats = 2; - * * @return The queryStats. */ com.google.protobuf.Struct getQueryStats(); /** - * - * *
    * Aggregated statistics from the execution of the query. Only present when
    * the query is profiled. For example, a query could return the statistics as
@@ -115,53 +83,41 @@ public interface ResultSetStatsOrBuilder
   com.google.protobuf.StructOrBuilder getQueryStatsOrBuilder();
 
   /**
-   *
-   *
    * 
    * Standard DML returns an exact count of rows that were modified.
    * 
* * int64 row_count_exact = 3; - * * @return Whether the rowCountExact field is set. */ boolean hasRowCountExact(); /** - * - * *
    * Standard DML returns an exact count of rows that were modified.
    * 
* * int64 row_count_exact = 3; - * * @return The rowCountExact. */ long getRowCountExact(); /** - * - * *
    * Partitioned DML does not offer exactly-once semantics, so it
    * returns a lower bound of the rows modified.
    * 
* * int64 row_count_lower_bound = 4; - * * @return Whether the rowCountLowerBound field is set. */ boolean hasRowCountLowerBound(); /** - * - * *
    * Partitioned DML does not offer exactly-once semantics, so it
    * returns a lower bound of the rows modified.
    * 
* * int64 row_count_lower_bound = 4; - * * @return The rowCountLowerBound. */ long getRowCountLowerBound(); diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RollbackRequest.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RollbackRequest.java similarity index 65% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RollbackRequest.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RollbackRequest.java index ceb4ac4591a..d6c0ff14bac 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RollbackRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RollbackRequest.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/spanner/v1/spanner.proto package com.google.spanner.v1; /** - * - * *
  * The request for [Rollback][google.spanner.v1.Spanner.Rollback].
  * 
* * Protobuf type {@code google.spanner.v1.RollbackRequest} */ -public final class RollbackRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RollbackRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.v1.RollbackRequest) RollbackRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RollbackRequest.newBuilder() to construct. private RollbackRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RollbackRequest() { session_ = ""; transactionId_ = com.google.protobuf.ByteString.EMPTY; @@ -44,45 +26,38 @@ private RollbackRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RollbackRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_RollbackRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_RollbackRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_RollbackRequest_fieldAccessorTable + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_RollbackRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.RollbackRequest.class, - com.google.spanner.v1.RollbackRequest.Builder.class); + com.google.spanner.v1.RollbackRequest.class, com.google.spanner.v1.RollbackRequest.Builder.class); } public static final int SESSION_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object session_ = ""; /** - * - * *
    * Required. The session in which the transaction to roll back is running.
    * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The session. */ @java.lang.Override @@ -91,31 +66,29 @@ public java.lang.String getSession() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); session_ = s; return s; } } /** - * - * *
    * Required. The session in which the transaction to roll back is running.
    * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for session. */ @java.lang.Override - public com.google.protobuf.ByteString getSessionBytes() { + public com.google.protobuf.ByteString + getSessionBytes() { java.lang.Object ref = session_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); session_ = b; return b; } else { @@ -126,14 +99,11 @@ public com.google.protobuf.ByteString getSessionBytes() { public static final int TRANSACTION_ID_FIELD_NUMBER = 2; private com.google.protobuf.ByteString transactionId_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
    * Required. The transaction to roll back.
    * 
* * bytes transaction_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The transactionId. */ @java.lang.Override @@ -142,7 +112,6 @@ public com.google.protobuf.ByteString getTransactionId() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -154,7 +123,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(session_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, session_); } @@ -174,7 +144,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, session_); } if (!transactionId_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(2, transactionId_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(2, transactionId_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -184,15 +155,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.v1.RollbackRequest)) { return super.equals(obj); } com.google.spanner.v1.RollbackRequest other = (com.google.spanner.v1.RollbackRequest) obj; - if (!getSession().equals(other.getSession())) return false; - if (!getTransactionId().equals(other.getTransactionId())) return false; + if (!getSession() + .equals(other.getSession())) return false; + if (!getTransactionId() + .equals(other.getTransactionId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -213,135 +186,130 @@ public int hashCode() { return hash; } - public static com.google.spanner.v1.RollbackRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.v1.RollbackRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.RollbackRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.v1.RollbackRequest parseFrom(com.google.protobuf.ByteString data) + public static com.google.spanner.v1.RollbackRequest parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.RollbackRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.RollbackRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.RollbackRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.RollbackRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.RollbackRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.RollbackRequest 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.spanner.v1.RollbackRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.RollbackRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.RollbackRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.v1.RollbackRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [Rollback][google.spanner.v1.Spanner.Rollback].
    * 
* * Protobuf type {@code google.spanner.v1.RollbackRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.RollbackRequest) com.google.spanner.v1.RollbackRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_RollbackRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_RollbackRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_RollbackRequest_fieldAccessorTable + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_RollbackRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.RollbackRequest.class, - com.google.spanner.v1.RollbackRequest.Builder.class); + com.google.spanner.v1.RollbackRequest.class, com.google.spanner.v1.RollbackRequest.Builder.class); } // Construct using com.google.spanner.v1.RollbackRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -352,9 +320,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_RollbackRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_RollbackRequest_descriptor; } @java.lang.Override @@ -373,11 +341,8 @@ public com.google.spanner.v1.RollbackRequest build() { @java.lang.Override public com.google.spanner.v1.RollbackRequest buildPartial() { - com.google.spanner.v1.RollbackRequest result = - new com.google.spanner.v1.RollbackRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.v1.RollbackRequest result = new com.google.spanner.v1.RollbackRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -396,39 +361,38 @@ private void buildPartial0(com.google.spanner.v1.RollbackRequest 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.spanner.v1.RollbackRequest) { - return mergeFrom((com.google.spanner.v1.RollbackRequest) other); + return mergeFrom((com.google.spanner.v1.RollbackRequest)other); } else { super.mergeFrom(other); return this; @@ -471,25 +435,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - session_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - transactionId_ = input.readBytes(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + session_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + transactionId_ = input.readBytes(); + 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) { @@ -499,27 +460,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object session_ = ""; /** - * - * *
      * Required. The session in which the transaction to roll back is running.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The session. */ public java.lang.String getSession() { java.lang.Object ref = session_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); session_ = s; return s; @@ -528,23 +484,20 @@ public java.lang.String getSession() { } } /** - * - * *
      * Required. The session in which the transaction to roll back is running.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for session. */ - public com.google.protobuf.ByteString getSessionBytes() { + public com.google.protobuf.ByteString + getSessionBytes() { java.lang.Object ref = session_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); session_ = b; return b; } else { @@ -552,39 +505,28 @@ public com.google.protobuf.ByteString getSessionBytes() { } } /** - * - * *
      * Required. The session in which the transaction to roll back is running.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The session to set. * @return This builder for chaining. */ - public Builder setSession(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSession( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } session_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The session in which the transaction to roll back is running.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearSession() { @@ -594,23 +536,17 @@ public Builder clearSession() { return this; } /** - * - * *
      * Required. The session in which the transaction to roll back is running.
      * 
* - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for session to set. * @return This builder for chaining. */ - public Builder setSessionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSessionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); session_ = value; bitField0_ |= 0x00000001; @@ -620,14 +556,11 @@ public Builder setSessionBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.ByteString transactionId_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * Required. The transaction to roll back.
      * 
* * bytes transaction_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The transactionId. */ @java.lang.Override @@ -635,35 +568,27 @@ public com.google.protobuf.ByteString getTransactionId() { return transactionId_; } /** - * - * *
      * Required. The transaction to roll back.
      * 
* * bytes transaction_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The transactionId to set. * @return This builder for chaining. */ public Builder setTransactionId(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } transactionId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The transaction to roll back.
      * 
* * bytes transaction_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearTransactionId() { @@ -672,9 +597,9 @@ public Builder clearTransactionId() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -684,12 +609,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.v1.RollbackRequest) } // @@protoc_insertion_point(class_scope:google.spanner.v1.RollbackRequest) private static final com.google.spanner.v1.RollbackRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.v1.RollbackRequest(); } @@ -698,27 +623,27 @@ public static com.google.spanner.v1.RollbackRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RollbackRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RollbackRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -733,4 +658,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.RollbackRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RollbackRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RollbackRequestOrBuilder.java new file mode 100644 index 00000000000..1960ba89f01 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RollbackRequestOrBuilder.java @@ -0,0 +1,39 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/spanner/v1/spanner.proto + +package com.google.spanner.v1; + +public interface RollbackRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.spanner.v1.RollbackRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The session in which the transaction to roll back is running.
+   * 
+ * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The session. + */ + java.lang.String getSession(); + /** + *
+   * Required. The session in which the transaction to roll back is running.
+   * 
+ * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for session. + */ + com.google.protobuf.ByteString + getSessionBytes(); + + /** + *
+   * Required. The transaction to roll back.
+   * 
+ * + * bytes transaction_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The transactionId. + */ + com.google.protobuf.ByteString getTransactionId(); +} diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Session.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Session.java similarity index 66% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Session.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Session.java index 60f04ef5517..58af4bdb4fa 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Session.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Session.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/spanner/v1/spanner.proto package com.google.spanner.v1; /** - * - * *
  * A session in the Cloud Spanner API.
  * 
* * Protobuf type {@code google.spanner.v1.Session} */ -public final class Session extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Session extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.v1.Session) SessionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Session.newBuilder() to construct. private Session(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Session() { name_ = ""; creatorRole_ = ""; @@ -44,52 +26,50 @@ private Session() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Session(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_Session_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 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.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_Session_fieldAccessorTable + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_Session_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.spanner.v1.Session.class, com.google.spanner.v1.Session.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Output only. The name of the session. This is always system-assigned.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -98,29 +78,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; } } /** - * - * *
    * Output only. The name of the session. This is always system-assigned.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -129,34 +109,32 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int LABELS_FIELD_NUMBER = 2; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_Session_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.spanner.v1.SpannerProto.internal_static_google_spanner_v1_Session_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(); } /** - * - * *
    * The labels for the session.
    *  * Label keys must be between 1 and 63 characters long and must conform to
@@ -170,21 +148,20 @@ public int getLabelsCount() {
    * map<string, string> labels = 2;
    */
   @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();
   }
   /**
-   *
-   *
    * 
    * The labels for the session.
    *  * Label keys must be between 1 and 63 characters long and must conform to
@@ -202,8 +179,6 @@ public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
-   *
-   *
    * 
    * The labels for the session.
    *  * Label keys must be between 1 and 63 characters long and must conform to
@@ -217,19 +192,17 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 2;
    */
   @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;
   }
   /**
-   *
-   *
    * 
    * The labels for the session.
    *  * Label keys must be between 1 and 63 characters long and must conform to
@@ -243,11 +216,11 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 2;
    */
   @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();
     }
@@ -257,15 +230,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
   public static final int CREATE_TIME_FIELD_NUMBER = 3;
   private com.google.protobuf.Timestamp createTime_;
   /**
-   *
-   *
    * 
    * Output only. The timestamp when the session is created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -273,15 +242,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The timestamp when the session is created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -289,14 +254,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The timestamp when the session is created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -306,17 +268,12 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int APPROXIMATE_LAST_USE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp approximateLastUseTime_; /** - * - * *
    * Output only. The approximate timestamp when the session is last used. It is
    * typically earlier than the actual last use time.
    * 
* - * - * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the approximateLastUseTime field is set. */ @java.lang.Override @@ -324,57 +281,40 @@ public boolean hasApproximateLastUseTime() { return approximateLastUseTime_ != null; } /** - * - * *
    * Output only. The approximate timestamp when the session is last used. It is
    * typically earlier than the actual last use time.
    * 
* - * - * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The approximateLastUseTime. */ @java.lang.Override public com.google.protobuf.Timestamp getApproximateLastUseTime() { - return approximateLastUseTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : approximateLastUseTime_; + return approximateLastUseTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : approximateLastUseTime_; } /** - * - * *
    * Output only. The approximate timestamp when the session is last used. It is
    * typically earlier than the actual last use time.
    * 
* - * - * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getApproximateLastUseTimeOrBuilder() { - return approximateLastUseTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : approximateLastUseTime_; + return approximateLastUseTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : approximateLastUseTime_; } public static final int CREATOR_ROLE_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object creatorRole_ = ""; /** - * - * *
    * The database role which created this session.
    * 
* * string creator_role = 5; - * * @return The creatorRole. */ @java.lang.Override @@ -383,29 +323,29 @@ public java.lang.String getCreatorRole() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); creatorRole_ = s; return s; } } /** - * - * *
    * The database role which created this session.
    * 
* * string creator_role = 5; - * * @return The bytes for creatorRole. */ @java.lang.Override - public com.google.protobuf.ByteString getCreatorRoleBytes() { + public com.google.protobuf.ByteString + getCreatorRoleBytes() { java.lang.Object ref = creatorRole_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); creatorRole_ = b; return b; } else { @@ -414,7 +354,6 @@ public com.google.protobuf.ByteString getCreatorRoleBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -426,12 +365,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, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 2); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 2); if (createTime_ != null) { output.writeMessage(3, getCreateTime()); } @@ -453,22 +397,23 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - 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(2, labels__); + 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(2, labels__); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getCreateTime()); } if (approximateLastUseTime_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(4, getApproximateLastUseTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getApproximateLastUseTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(creatorRole_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, creatorRole_); @@ -481,24 +426,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.spanner.v1.Session)) { return super.equals(obj); } com.google.spanner.v1.Session other = (com.google.spanner.v1.Session) obj; - if (!getName().equals(other.getName())) return false; - if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!getName() + .equals(other.getName())) 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 (hasApproximateLastUseTime() != other.hasApproximateLastUseTime()) return false; if (hasApproximateLastUseTime()) { - if (!getApproximateLastUseTime().equals(other.getApproximateLastUseTime())) return false; + if (!getApproximateLastUseTime() + .equals(other.getApproximateLastUseTime())) return false; } - if (!getCreatorRole().equals(other.getCreatorRole())) return false; + if (!getCreatorRole() + .equals(other.getCreatorRole())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -531,154 +481,152 @@ public int hashCode() { return hash; } - public static com.google.spanner.v1.Session parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.v1.Session parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.Session parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.v1.Session parseFrom(com.google.protobuf.ByteString data) + public static com.google.spanner.v1.Session parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.Session parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.Session parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.Session parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.Session parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.Session parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.Session 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.spanner.v1.Session parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.spanner.v1.Session parseFrom(com.google.protobuf.CodedInputStream input) + public static com.google.spanner.v1.Session 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.spanner.v1.Session parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.v1.Session prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 session in the Cloud Spanner API.
    * 
* * Protobuf type {@code google.spanner.v1.Session} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.Session) com.google.spanner.v1.SessionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_Session_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_Session_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 2: 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 2: 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.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_Session_fieldAccessorTable + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_Session_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.spanner.v1.Session.class, com.google.spanner.v1.Session.Builder.class); } // Construct using com.google.spanner.v1.Session.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -700,9 +648,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.v1.SpannerProto - .internal_static_google_spanner_v1_Session_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_Session_descriptor; } @java.lang.Override @@ -722,9 +670,7 @@ public com.google.spanner.v1.Session build() { @java.lang.Override public com.google.spanner.v1.Session buildPartial() { com.google.spanner.v1.Session result = new com.google.spanner.v1.Session(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -739,13 +685,14 @@ private void buildPartial0(com.google.spanner.v1.Session result) { result.labels_.makeImmutable(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null + ? createTime_ + : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { - result.approximateLastUseTime_ = - approximateLastUseTimeBuilder_ == null - ? approximateLastUseTime_ - : approximateLastUseTimeBuilder_.build(); + result.approximateLastUseTime_ = approximateLastUseTimeBuilder_ == null + ? approximateLastUseTime_ + : approximateLastUseTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { result.creatorRole_ = creatorRole_; @@ -756,39 +703,38 @@ private void buildPartial0(com.google.spanner.v1.Session 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.spanner.v1.Session) { - return mergeFrom((com.google.spanner.v1.Session) other); + return mergeFrom((com.google.spanner.v1.Session)other); } else { super.mergeFrom(other); return this; @@ -802,7 +748,8 @@ public Builder mergeFrom(com.google.spanner.v1.Session other) { bitField0_ |= 0x00000001; onChanged(); } - internalGetMutableLabels().mergeFrom(other.internalGetLabels()); + internalGetMutableLabels().mergeFrom( + other.internalGetLabels()); bitField0_ |= 0x00000002; if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); @@ -841,50 +788,45 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - com.google.protobuf.MapEntry labels__ = - input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableLabels() - .getMutableMap() - .put(labels__.getKey(), labels__.getValue()); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - input.readMessage( - getApproximateLastUseTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - creatorRole_ = 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: { + com.google.protobuf.MapEntry + labels__ = input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableLabels().getMutableMap().put( + labels__.getKey(), labels__.getValue()); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + input.readMessage( + getApproximateLastUseTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + creatorRole_ = 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) { @@ -894,25 +836,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Output only. The name of the session. This is always system-assigned.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @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; @@ -921,21 +860,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The name of the session. This is always system-assigned.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @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 { @@ -943,35 +881,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The name of the session. This is always system-assigned.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @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 name of the session. This is always system-assigned.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -981,21 +912,17 @@ public Builder clearName() { return this; } /** - * - * *
      * Output only. The name of the session. This is always system-assigned.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @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; @@ -1003,19 +930,21 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { 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(); @@ -1024,13 +953,10 @@ private com.google.protobuf.MapField interna onChanged(); return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * The labels for the session.
      *  * Label keys must be between 1 and 63 characters long and must conform to
@@ -1044,21 +970,20 @@ public int getLabelsCount() {
      * map<string, string> labels = 2;
      */
     @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();
     }
     /**
-     *
-     *
      * 
      * The labels for the session.
      *  * Label keys must be between 1 and 63 characters long and must conform to
@@ -1076,8 +1001,6 @@ public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
-     *
-     *
      * 
      * The labels for the session.
      *  * Label keys must be between 1 and 63 characters long and must conform to
@@ -1091,19 +1014,17 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 2;
      */
     @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;
     }
     /**
-     *
-     *
      * 
      * The labels for the session.
      *  * Label keys must be between 1 and 63 characters long and must conform to
@@ -1117,25 +1038,23 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 2;
      */
     @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_ & ~0x00000002);
-      internalGetMutableLabels().getMutableMap().clear();
+      internalGetMutableLabels().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * The labels for the session.
      *  * Label keys must be between 1 and 63 characters long and must conform to
@@ -1148,22 +1067,23 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 2;
      */
-    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_ |= 0x00000002;
       return internalGetMutableLabels().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * The labels for the session.
      *  * Label keys must be between 1 and 63 characters long and must conform to
@@ -1176,20 +1096,17 @@ public java.util.Map getMutableLabels() {
      *
      * map<string, string> labels = 2;
      */
-    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_ |= 0x00000002;
       return this;
     }
     /**
-     *
-     *
      * 
      * The labels for the session.
      *  * Label keys must be between 1 and 63 characters long and must conform to
@@ -1202,66 +1119,49 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> labels = 2;
      */
-    public Builder putAllLabels(java.util.Map values) {
-      internalGetMutableLabels().getMutableMap().putAll(values);
+    public Builder putAllLabels(
+        java.util.Map values) {
+      internalGetMutableLabels().getMutableMap()
+          .putAll(values);
       bitField0_ |= 0x00000002;
       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. The timestamp when the session is created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Output only. The timestamp when the session is created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The timestamp when the session is created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1277,17 +1177,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The timestamp when the session is created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.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 { @@ -1298,21 +1195,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The timestamp when the session is created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -1325,15 +1218,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The timestamp when the session is created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1346,15 +1235,11 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The timestamp when the session is created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000004; @@ -1362,48 +1247,36 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The timestamp when the session is created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. The timestamp when the session is created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_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> 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_; @@ -1411,61 +1284,42 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp approximateLastUseTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - approximateLastUseTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> approximateLastUseTimeBuilder_; /** - * - * *
      * Output only. The approximate timestamp when the session is last used. It is
      * typically earlier than the actual last use time.
      * 
* - * - * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the approximateLastUseTime field is set. */ public boolean hasApproximateLastUseTime() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Output only. The approximate timestamp when the session is last used. It is
      * typically earlier than the actual last use time.
      * 
* - * - * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The approximateLastUseTime. */ public com.google.protobuf.Timestamp getApproximateLastUseTime() { if (approximateLastUseTimeBuilder_ == null) { - return approximateLastUseTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : approximateLastUseTime_; + return approximateLastUseTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : approximateLastUseTime_; } else { return approximateLastUseTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The approximate timestamp when the session is last used. It is
      * typically earlier than the actual last use time.
      * 
* - * - * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setApproximateLastUseTime(com.google.protobuf.Timestamp value) { if (approximateLastUseTimeBuilder_ == null) { @@ -1481,16 +1335,12 @@ public Builder setApproximateLastUseTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The approximate timestamp when the session is last used. It is
      * typically earlier than the actual last use time.
      * 
* - * - * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setApproximateLastUseTime( com.google.protobuf.Timestamp.Builder builderForValue) { @@ -1504,22 +1354,18 @@ public Builder setApproximateLastUseTime( return this; } /** - * - * *
      * Output only. The approximate timestamp when the session is last used. It is
      * typically earlier than the actual last use time.
      * 
* - * - * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeApproximateLastUseTime(com.google.protobuf.Timestamp value) { if (approximateLastUseTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && approximateLastUseTime_ != null - && approximateLastUseTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + approximateLastUseTime_ != null && + approximateLastUseTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getApproximateLastUseTimeBuilder().mergeFrom(value); } else { approximateLastUseTime_ = value; @@ -1532,16 +1378,12 @@ public Builder mergeApproximateLastUseTime(com.google.protobuf.Timestamp value) return this; } /** - * - * *
      * Output only. The approximate timestamp when the session is last used. It is
      * typically earlier than the actual last use time.
      * 
* - * - * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearApproximateLastUseTime() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1554,16 +1396,12 @@ public Builder clearApproximateLastUseTime() { return this; } /** - * - * *
      * Output only. The approximate timestamp when the session is last used. It is
      * typically earlier than the actual last use time.
      * 
* - * - * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getApproximateLastUseTimeBuilder() { bitField0_ |= 0x00000008; @@ -1571,50 +1409,38 @@ public com.google.protobuf.Timestamp.Builder getApproximateLastUseTimeBuilder() return getApproximateLastUseTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The approximate timestamp when the session is last used. It is
      * typically earlier than the actual last use time.
      * 
* - * - * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getApproximateLastUseTimeOrBuilder() { if (approximateLastUseTimeBuilder_ != null) { return approximateLastUseTimeBuilder_.getMessageOrBuilder(); } else { - return approximateLastUseTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : approximateLastUseTime_; + return approximateLastUseTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : approximateLastUseTime_; } } /** - * - * *
      * Output only. The approximate timestamp when the session is last used. It is
      * typically earlier than the actual last use time.
      * 
* - * - * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp approximate_last_use_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> getApproximateLastUseTimeFieldBuilder() { if (approximateLastUseTimeBuilder_ == null) { - approximateLastUseTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getApproximateLastUseTime(), getParentForChildren(), isClean()); + approximateLastUseTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getApproximateLastUseTime(), + getParentForChildren(), + isClean()); approximateLastUseTime_ = null; } return approximateLastUseTimeBuilder_; @@ -1622,20 +1448,18 @@ public com.google.protobuf.TimestampOrBuilder getApproximateLastUseTimeOrBuilder private java.lang.Object creatorRole_ = ""; /** - * - * *
      * The database role which created this session.
      * 
* * string creator_role = 5; - * * @return The creatorRole. */ public java.lang.String getCreatorRole() { java.lang.Object ref = creatorRole_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); creatorRole_ = s; return s; @@ -1644,21 +1468,20 @@ public java.lang.String getCreatorRole() { } } /** - * - * *
      * The database role which created this session.
      * 
* * string creator_role = 5; - * * @return The bytes for creatorRole. */ - public com.google.protobuf.ByteString getCreatorRoleBytes() { + public com.google.protobuf.ByteString + getCreatorRoleBytes() { java.lang.Object ref = creatorRole_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); creatorRole_ = b; return b; } else { @@ -1666,35 +1489,28 @@ public com.google.protobuf.ByteString getCreatorRoleBytes() { } } /** - * - * *
      * The database role which created this session.
      * 
* * string creator_role = 5; - * * @param value The creatorRole to set. * @return This builder for chaining. */ - public Builder setCreatorRole(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCreatorRole( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } creatorRole_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * The database role which created this session.
      * 
* * string creator_role = 5; - * * @return This builder for chaining. */ public Builder clearCreatorRole() { @@ -1704,30 +1520,26 @@ public Builder clearCreatorRole() { return this; } /** - * - * *
      * The database role which created this session.
      * 
* * string creator_role = 5; - * * @param value The bytes for creatorRole to set. * @return This builder for chaining. */ - public Builder setCreatorRoleBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCreatorRoleBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); creatorRole_ = 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); } @@ -1737,12 +1549,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.v1.Session) } // @@protoc_insertion_point(class_scope:google.spanner.v1.Session) private static final com.google.spanner.v1.Session DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.v1.Session(); } @@ -1751,27 +1563,27 @@ public static com.google.spanner.v1.Session getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Session parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Session parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1786,4 +1598,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.Session getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SessionName.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SessionName.java similarity index 100% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SessionName.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SessionName.java diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SessionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SessionOrBuilder.java similarity index 75% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SessionOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SessionOrBuilder.java index 71da8b1240f..96cc1a6357f 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SessionOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SessionOrBuilder.java @@ -1,56 +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/spanner/v1/spanner.proto package com.google.spanner.v1; -public interface SessionOrBuilder - extends +public interface SessionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.Session) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The name of the session. This is always system-assigned.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The name of the session. This is always system-assigned.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The labels for the session.
    *  * Label keys must be between 1 and 63 characters long and must conform to
@@ -65,8 +42,6 @@ public interface SessionOrBuilder
    */
   int getLabelsCount();
   /**
-   *
-   *
    * 
    * The labels for the session.
    *  * Label keys must be between 1 and 63 characters long and must conform to
@@ -79,13 +54,15 @@ public interface SessionOrBuilder
    *
    * map<string, string> labels = 2;
    */
-  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();
   /**
-   *
-   *
    * 
    * The labels for the session.
    *  * Label keys must be between 1 and 63 characters long and must conform to
@@ -98,10 +75,9 @@ public interface SessionOrBuilder
    *
    * map<string, string> labels = 2;
    */
-  java.util.Map getLabelsMap();
+  java.util.Map
+  getLabelsMap();
   /**
-   *
-   *
    * 
    * The labels for the session.
    *  * Label keys must be between 1 and 63 characters long and must conform to
@@ -115,13 +91,11 @@ public interface SessionOrBuilder
    * map<string, string> labels = 2;
    */
   /* nullable */
-  java.lang.String getLabelsOrDefault(
+java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * The labels for the session.
    *  * Label keys must be between 1 and 63 characters long and must conform to
@@ -134,112 +108,83 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 2;
    */
-  java.lang.String getLabelsOrThrow(java.lang.String key);
+  java.lang.String getLabelsOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * Output only. The timestamp when the session is created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The timestamp when the session is created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The timestamp when the session is created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. The approximate timestamp when the session is last used. It is
    * typically earlier than the actual last use time.
    * 
* - * - * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the approximateLastUseTime field is set. */ boolean hasApproximateLastUseTime(); /** - * - * *
    * Output only. The approximate timestamp when the session is last used. It is
    * typically earlier than the actual last use time.
    * 
* - * - * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The approximateLastUseTime. */ com.google.protobuf.Timestamp getApproximateLastUseTime(); /** - * - * *
    * Output only. The approximate timestamp when the session is last used. It is
    * typically earlier than the actual last use time.
    * 
* - * - * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getApproximateLastUseTimeOrBuilder(); /** - * - * *
    * The database role which created this session.
    * 
* * string creator_role = 5; - * * @return The creatorRole. */ java.lang.String getCreatorRole(); /** - * - * *
    * The database role which created this session.
    * 
* * string creator_role = 5; - * * @return The bytes for creatorRole. */ - com.google.protobuf.ByteString getCreatorRoleBytes(); + com.google.protobuf.ByteString + getCreatorRoleBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SpannerProto.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SpannerProto.java new file mode 100644 index 00000000000..57e5c964fc3 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SpannerProto.java @@ -0,0 +1,583 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/spanner/v1/spanner.proto + +package com.google.spanner.v1; + +public final class SpannerProto { + private SpannerProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_CreateSessionRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_CreateSessionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_BatchCreateSessionsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_BatchCreateSessionsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_BatchCreateSessionsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_BatchCreateSessionsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_Session_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_Session_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_Session_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_Session_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_GetSessionRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_GetSessionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_ListSessionsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_ListSessionsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_ListSessionsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_ListSessionsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_DeleteSessionRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_DeleteSessionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_RequestOptions_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_RequestOptions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_ExecuteSqlRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_ExecuteSqlRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_ExecuteSqlRequest_QueryOptions_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_ExecuteSqlRequest_QueryOptions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_ExecuteSqlRequest_ParamTypesEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_ExecuteSqlRequest_ParamTypesEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_ExecuteBatchDmlRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_ExecuteBatchDmlRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_ParamTypesEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_ParamTypesEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_ExecuteBatchDmlResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_ExecuteBatchDmlResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_PartitionOptions_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_PartitionOptions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_PartitionQueryRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_PartitionQueryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_PartitionQueryRequest_ParamTypesEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_PartitionQueryRequest_ParamTypesEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_PartitionReadRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_PartitionReadRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_Partition_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_Partition_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_PartitionResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_PartitionResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_ReadRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_ReadRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_BeginTransactionRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_BeginTransactionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_CommitRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_CommitRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_RollbackRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_RollbackRequest_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\037google/spanner/v1/spanner.proto\022\021googl" + + "e.spanner.v1\032\034google/api/annotations.pro" + + "to\032\027google/api/client.proto\032\037google/api/" + + "field_behavior.proto\032\031google/api/resourc" + + "e.proto\032\033google/protobuf/empty.proto\032\034go" + + "ogle/protobuf/struct.proto\032\037google/proto" + + "buf/timestamp.proto\032\027google/rpc/status.p" + + "roto\032\'google/spanner/v1/commit_response." + + "proto\032\034google/spanner/v1/keys.proto\032 goo" + + "gle/spanner/v1/mutation.proto\032\"google/sp" + + "anner/v1/result_set.proto\032#google/spanne" + + "r/v1/transaction.proto\032\034google/spanner/v" + + "1/type.proto\"\203\001\n\024CreateSessionRequest\0229\n" + + "\010database\030\001 \001(\tB\'\340A\002\372A!\n\037spanner.googlea" + + "pis.com/Database\0220\n\007session\030\002 \001(\0132\032.goog" + + "le.spanner.v1.SessionB\003\340A\002\"\251\001\n\032BatchCrea" + + "teSessionsRequest\0229\n\010database\030\001 \001(\tB\'\340A\002" + + "\372A!\n\037spanner.googleapis.com/Database\0224\n\020" + + "session_template\030\002 \001(\0132\032.google.spanner." + + "v1.Session\022\032\n\rsession_count\030\003 \001(\005B\003\340A\002\"J" + + "\n\033BatchCreateSessionsResponse\022+\n\007session" + + "\030\001 \003(\0132\032.google.spanner.v1.Session\"\211\003\n\007S" + + "ession\022\021\n\004name\030\001 \001(\tB\003\340A\003\0226\n\006labels\030\002 \003(" + + "\0132&.google.spanner.v1.Session.LabelsEntr" + + "y\0224\n\013create_time\030\003 \001(\0132\032.google.protobuf" + + ".TimestampB\003\340A\003\022B\n\031approximate_last_use_" + + "time\030\004 \001(\0132\032.google.protobuf.TimestampB\003" + + "\340A\003\022\024\n\014creator_role\030\005 \001(\t\032-\n\013LabelsEntry" + + "\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:t\352Aq\n\036s" + + "panner.googleapis.com/Session\022Oprojects/" + + "{project}/instances/{instance}/databases" + + "/{database}/sessions/{session}\"I\n\021GetSes" + + "sionRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036spann" + + "er.googleapis.com/Session\"\207\001\n\023ListSessio" + + "nsRequest\0229\n\010database\030\001 \001(\tB\'\340A\002\372A!\n\037spa" + + "nner.googleapis.com/Database\022\021\n\tpage_siz" + + "e\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006filter\030\004 " + + "\001(\t\"]\n\024ListSessionsResponse\022,\n\010sessions\030" + + "\001 \003(\0132\032.google.spanner.v1.Session\022\027\n\017nex" + + "t_page_token\030\002 \001(\t\"L\n\024DeleteSessionReque" + + "st\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036spanner.google" + + "apis.com/Session\"\334\001\n\016RequestOptions\022<\n\010p" + + "riority\030\001 \001(\0162*.google.spanner.v1.Reques" + + "tOptions.Priority\022\023\n\013request_tag\030\002 \001(\t\022\027" + + "\n\017transaction_tag\030\003 \001(\t\"^\n\010Priority\022\030\n\024P" + + "RIORITY_UNSPECIFIED\020\000\022\020\n\014PRIORITY_LOW\020\001\022" + + "\023\n\017PRIORITY_MEDIUM\020\002\022\021\n\rPRIORITY_HIGH\020\003\"" + + "\200\006\n\021ExecuteSqlRequest\0227\n\007session\030\001 \001(\tB&" + + "\340A\002\372A \n\036spanner.googleapis.com/Session\022;" + + "\n\013transaction\030\002 \001(\0132&.google.spanner.v1." + + "TransactionSelector\022\020\n\003sql\030\003 \001(\tB\003\340A\002\022\'\n" + + "\006params\030\004 \001(\0132\027.google.protobuf.Struct\022I" + + "\n\013param_types\030\005 \003(\01324.google.spanner.v1." + + "ExecuteSqlRequest.ParamTypesEntry\022\024\n\014res" + + "ume_token\030\006 \001(\014\022B\n\nquery_mode\030\007 \001(\0162..go" + + "ogle.spanner.v1.ExecuteSqlRequest.QueryM" + + "ode\022\027\n\017partition_token\030\010 \001(\014\022\r\n\005seqno\030\t " + + "\001(\003\022H\n\rquery_options\030\n \001(\01321.google.span" + + "ner.v1.ExecuteSqlRequest.QueryOptions\022:\n" + + "\017request_options\030\013 \001(\0132!.google.spanner." + + "v1.RequestOptions\022\032\n\022data_boost_enabled\030" + + "\020 \001(\010\032O\n\014QueryOptions\022\031\n\021optimizer_versi" + + "on\030\001 \001(\t\022$\n\034optimizer_statistics_package" + + "\030\002 \001(\t\032J\n\017ParamTypesEntry\022\013\n\003key\030\001 \001(\t\022&" + + "\n\005value\030\002 \001(\0132\027.google.spanner.v1.Type:\002" + + "8\001\".\n\tQueryMode\022\n\n\006NORMAL\020\000\022\010\n\004PLAN\020\001\022\013\n" + + "\007PROFILE\020\002\"\240\004\n\026ExecuteBatchDmlRequest\0227\n" + + "\007session\030\001 \001(\tB&\340A\002\372A \n\036spanner.googleap" + + "is.com/Session\022@\n\013transaction\030\002 \001(\0132&.go" + + "ogle.spanner.v1.TransactionSelectorB\003\340A\002" + + "\022L\n\nstatements\030\003 \003(\01323.google.spanner.v1" + + ".ExecuteBatchDmlRequest.StatementB\003\340A\002\022\022" + + "\n\005seqno\030\004 \001(\003B\003\340A\002\022:\n\017request_options\030\005 " + + "\001(\0132!.google.spanner.v1.RequestOptions\032\354" + + "\001\n\tStatement\022\020\n\003sql\030\001 \001(\tB\003\340A\002\022\'\n\006params" + + "\030\002 \001(\0132\027.google.protobuf.Struct\022X\n\013param" + + "_types\030\003 \003(\0132C.google.spanner.v1.Execute" + + "BatchDmlRequest.Statement.ParamTypesEntr" + + "y\032J\n\017ParamTypesEntry\022\013\n\003key\030\001 \001(\t\022&\n\005val" + + "ue\030\002 \001(\0132\027.google.spanner.v1.Type:\0028\001\"p\n" + + "\027ExecuteBatchDmlResponse\0221\n\013result_sets\030" + + "\001 \003(\0132\034.google.spanner.v1.ResultSet\022\"\n\006s" + + "tatus\030\002 \001(\0132\022.google.rpc.Status\"H\n\020Parti" + + "tionOptions\022\034\n\024partition_size_bytes\030\001 \001(" + + "\003\022\026\n\016max_partitions\030\002 \001(\003\"\243\003\n\025PartitionQ" + + "ueryRequest\0227\n\007session\030\001 \001(\tB&\340A\002\372A \n\036sp" + + "anner.googleapis.com/Session\022;\n\013transact" + + "ion\030\002 \001(\0132&.google.spanner.v1.Transactio" + + "nSelector\022\020\n\003sql\030\003 \001(\tB\003\340A\002\022\'\n\006params\030\004 " + + "\001(\0132\027.google.protobuf.Struct\022M\n\013param_ty" + + "pes\030\005 \003(\01328.google.spanner.v1.PartitionQ" + + "ueryRequest.ParamTypesEntry\022>\n\021partition" + + "_options\030\006 \001(\0132#.google.spanner.v1.Parti" + + "tionOptions\032J\n\017ParamTypesEntry\022\013\n\003key\030\001 " + + "\001(\t\022&\n\005value\030\002 \001(\0132\027.google.spanner.v1.T" + + "ype:\0028\001\"\261\002\n\024PartitionReadRequest\0227\n\007sess" + + "ion\030\001 \001(\tB&\340A\002\372A \n\036spanner.googleapis.co" + + "m/Session\022;\n\013transaction\030\002 \001(\0132&.google." + + "spanner.v1.TransactionSelector\022\022\n\005table\030" + + "\003 \001(\tB\003\340A\002\022\r\n\005index\030\004 \001(\t\022\017\n\007columns\030\005 \003" + + "(\t\022/\n\007key_set\030\006 \001(\0132\031.google.spanner.v1." + + "KeySetB\003\340A\002\022>\n\021partition_options\030\t \001(\0132#" + + ".google.spanner.v1.PartitionOptions\"$\n\tP" + + "artition\022\027\n\017partition_token\030\001 \001(\014\"z\n\021Par" + + "titionResponse\0220\n\npartitions\030\001 \003(\0132\034.goo" + + "gle.spanner.v1.Partition\0223\n\013transaction\030" + + "\002 \001(\0132\036.google.spanner.v1.Transaction\"\203\003" + + "\n\013ReadRequest\0227\n\007session\030\001 \001(\tB&\340A\002\372A \n\036" + + "spanner.googleapis.com/Session\022;\n\013transa" + + "ction\030\002 \001(\0132&.google.spanner.v1.Transact" + + "ionSelector\022\022\n\005table\030\003 \001(\tB\003\340A\002\022\r\n\005index" + + "\030\004 \001(\t\022\024\n\007columns\030\005 \003(\tB\003\340A\002\022/\n\007key_set\030" + + "\006 \001(\0132\031.google.spanner.v1.KeySetB\003\340A\002\022\r\n" + + "\005limit\030\010 \001(\003\022\024\n\014resume_token\030\t \001(\014\022\027\n\017pa" + + "rtition_token\030\n \001(\014\022:\n\017request_options\030\013" + + " \001(\0132!.google.spanner.v1.RequestOptions\022" + + "\032\n\022data_boost_enabled\030\017 \001(\010\"\313\001\n\027BeginTra" + + "nsactionRequest\0227\n\007session\030\001 \001(\tB&\340A\002\372A " + + "\n\036spanner.googleapis.com/Session\022;\n\007opti" + + "ons\030\002 \001(\0132%.google.spanner.v1.Transactio" + + "nOptionsB\003\340A\002\022:\n\017request_options\030\003 \001(\0132!" + + ".google.spanner.v1.RequestOptions\"\303\002\n\rCo" + + "mmitRequest\0227\n\007session\030\001 \001(\tB&\340A\002\372A \n\036sp" + + "anner.googleapis.com/Session\022\030\n\016transact" + + "ion_id\030\002 \001(\014H\000\022G\n\026single_use_transaction" + + "\030\003 \001(\0132%.google.spanner.v1.TransactionOp" + + "tionsH\000\022.\n\tmutations\030\004 \003(\0132\033.google.span" + + "ner.v1.Mutation\022\033\n\023return_commit_stats\030\005" + + " \001(\010\022:\n\017request_options\030\006 \001(\0132!.google.s" + + "panner.v1.RequestOptionsB\r\n\013transaction\"" + + "g\n\017RollbackRequest\0227\n\007session\030\001 \001(\tB&\340A\002" + + "\372A \n\036spanner.googleapis.com/Session\022\033\n\016t" + + "ransaction_id\030\002 \001(\014B\003\340A\0022\300\026\n\007Spanner\022\246\001\n" + + "\rCreateSession\022\'.google.spanner.v1.Creat" + + "eSessionRequest\032\032.google.spanner.v1.Sess" + + "ion\"P\202\323\344\223\002?\":/v1/{database=projects/*/in" + + "stances/*/databases/*}/sessions:\001*\332A\010dat" + + "abase\022\340\001\n\023BatchCreateSessions\022-.google.s" + + "panner.v1.BatchCreateSessionsRequest\032..g" + + "oogle.spanner.v1.BatchCreateSessionsResp" + + "onse\"j\202\323\344\223\002K\"F/v1/{database=projects/*/i" + + "nstances/*/databases/*}/sessions:batchCr" + + "eate:\001*\332A\026database,session_count\022\227\001\n\nGet" + + "Session\022$.google.spanner.v1.GetSessionRe" + + "quest\032\032.google.spanner.v1.Session\"G\202\323\344\223\002" + + ":\0228/v1/{name=projects/*/instances/*/data" + + "bases/*/sessions/*}\332A\004name\022\256\001\n\014ListSessi" + + "ons\022&.google.spanner.v1.ListSessionsRequ" + + "est\032\'.google.spanner.v1.ListSessionsResp" + + "onse\"M\202\323\344\223\002<\022:/v1/{database=projects/*/i" + + "nstances/*/databases/*}/sessions\332A\010datab" + + "ase\022\231\001\n\rDeleteSession\022\'.google.spanner.v" + + "1.DeleteSessionRequest\032\026.google.protobuf" + + ".Empty\"G\202\323\344\223\002:*8/v1/{name=projects/*/ins" + + "tances/*/databases/*/sessions/*}\332A\004name\022" + + "\243\001\n\nExecuteSql\022$.google.spanner.v1.Execu" + + "teSqlRequest\032\034.google.spanner.v1.ResultS" + + "et\"Q\202\323\344\223\002K\"F/v1/{session=projects/*/inst" + + "ances/*/databases/*/sessions/*}:executeS" + + "ql:\001*\022\276\001\n\023ExecuteStreamingSql\022$.google.s" + + "panner.v1.ExecuteSqlRequest\032#.google.spa" + + "nner.v1.PartialResultSet\"Z\202\323\344\223\002T\"O/v1/{s" + + "ession=projects/*/instances/*/databases/" + + "*/sessions/*}:executeStreamingSql:\001*0\001\022\300" + + "\001\n\017ExecuteBatchDml\022).google.spanner.v1.E" + + "xecuteBatchDmlRequest\032*.google.spanner.v" + + "1.ExecuteBatchDmlResponse\"V\202\323\344\223\002P\"K/v1/{" + + "session=projects/*/instances/*/databases" + + "/*/sessions/*}:executeBatchDml:\001*\022\221\001\n\004Re" + + "ad\022\036.google.spanner.v1.ReadRequest\032\034.goo" + + "gle.spanner.v1.ResultSet\"K\202\323\344\223\002E\"@/v1/{s" + + "ession=projects/*/instances/*/databases/" + + "*/sessions/*}:read:\001*\022\254\001\n\rStreamingRead\022" + + "\036.google.spanner.v1.ReadRequest\032#.google" + + ".spanner.v1.PartialResultSet\"T\202\323\344\223\002N\"I/v" + + "1/{session=projects/*/instances/*/databa" + + "ses/*/sessions/*}:streamingRead:\001*0\001\022\311\001\n" + + "\020BeginTransaction\022*.google.spanner.v1.Be" + + "ginTransactionRequest\032\036.google.spanner.v" + + "1.Transaction\"i\202\323\344\223\002Q\"L/v1/{session=proj" + + "ects/*/instances/*/databases/*/sessions/" + + "*}:beginTransaction:\001*\332A\017session,options" + + "\022\353\001\n\006Commit\022 .google.spanner.v1.CommitRe" + + "quest\032!.google.spanner.v1.CommitResponse" + + "\"\233\001\202\323\344\223\002G\"B/v1/{session=projects/*/insta" + + "nces/*/databases/*/sessions/*}:commit:\001*" + + "\332A session,transaction_id,mutations\332A(se" + + "ssion,single_use_transaction,mutations\022\260" + + "\001\n\010Rollback\022\".google.spanner.v1.Rollback" + + "Request\032\026.google.protobuf.Empty\"h\202\323\344\223\002I\"" + + "D/v1/{session=projects/*/instances/*/dat" + + "abases/*/sessions/*}:rollback:\001*\332A\026sessi" + + "on,transaction_id\022\267\001\n\016PartitionQuery\022(.g" + + "oogle.spanner.v1.PartitionQueryRequest\032$" + + ".google.spanner.v1.PartitionResponse\"U\202\323" + + "\344\223\002O\"J/v1/{session=projects/*/instances/" + + "*/databases/*/sessions/*}:partitionQuery" + + ":\001*\022\264\001\n\rPartitionRead\022\'.google.spanner.v" + + "1.PartitionReadRequest\032$.google.spanner." + + "v1.PartitionResponse\"T\202\323\344\223\002N\"I/v1/{sessi" + + "on=projects/*/instances/*/databases/*/se" + + "ssions/*}:partitionRead:\001*\032w\312A\026spanner.g" + + "oogleapis.com\322A[https://www.googleapis.c" + + "om/auth/cloud-platform,https://www.googl" + + "eapis.com/auth/spanner.dataB\221\002\n\025com.goog" + + "le.spanner.v1B\014SpannerProtoP\001Z5cloud.goo" + + "gle.com/go/spanner/apiv1/spannerpb;spann" + + "erpb\252\002\027Google.Cloud.Spanner.V1\312\002\027Google\\" + + "Cloud\\Spanner\\V1\352\002\032Google::Cloud::Spanne" + + "r::V1\352A_\n\037spanner.googleapis.com/Databas" + + "e\022 * `StructType` defines the fields of a [STRUCT][google.spanner.v1.TypeCode.STRUCT] type. *
* * Protobuf type {@code google.spanner.v1.StructType} */ -public final class StructType extends com.google.protobuf.GeneratedMessageV3 - implements +public final class StructType extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.v1.StructType) StructTypeOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use StructType.newBuilder() to construct. private StructType(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private StructType() { fields_ = 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 StructType(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { return com.google.spanner.v1.TypeProto.internal_static_google_spanner_v1_StructType_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.TypeProto - .internal_static_google_spanner_v1_StructType_fieldAccessorTable + return com.google.spanner.v1.TypeProto.internal_static_google_spanner_v1_StructType_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.spanner.v1.StructType.class, com.google.spanner.v1.StructType.Builder.class); } - public interface FieldOrBuilder - extends + public interface FieldOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.StructType.Field) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The name of the field. For reads, this is the column name. For
      * SQL queries, it is the column alias (e.g., `"Word"` in the
@@ -84,13 +64,10 @@ public interface FieldOrBuilder
      * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
      * The name of the field. For reads, this is the column name. For
      * SQL queries, it is the column alias (e.g., `"Word"` in the
@@ -102,38 +79,30 @@ public interface FieldOrBuilder
      * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
      * The type of the field.
      * 
* * .google.spanner.v1.Type type = 2; - * * @return Whether the type field is set. */ boolean hasType(); /** - * - * *
      * The type of the field.
      * 
* * .google.spanner.v1.Type type = 2; - * * @return The type. */ com.google.spanner.v1.Type getType(); /** - * - * *
      * The type of the field.
      * 
@@ -143,61 +112,54 @@ public interface FieldOrBuilder com.google.spanner.v1.TypeOrBuilder getTypeOrBuilder(); } /** - * - * *
    * Message representing a single field of a struct.
    * 
* * Protobuf type {@code google.spanner.v1.StructType.Field} */ - public static final class Field extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Field extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.v1.StructType.Field) FieldOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Field.newBuilder() to construct. private Field(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Field() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Field(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.TypeProto - .internal_static_google_spanner_v1_StructType_Field_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.TypeProto.internal_static_google_spanner_v1_StructType_Field_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.TypeProto - .internal_static_google_spanner_v1_StructType_Field_fieldAccessorTable + return com.google.spanner.v1.TypeProto.internal_static_google_spanner_v1_StructType_Field_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.StructType.Field.class, - com.google.spanner.v1.StructType.Field.Builder.class); + com.google.spanner.v1.StructType.Field.class, com.google.spanner.v1.StructType.Field.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
      * The name of the field. For reads, this is the column name. For
      * SQL queries, it is the column alias (e.g., `"Word"` in the
@@ -209,7 +171,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -218,15 +179,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
      * The name of the field. For reads, this is the column name. For
      * SQL queries, it is the column alias (e.g., `"Word"` in the
@@ -238,15 +198,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 { @@ -257,14 +218,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int TYPE_FIELD_NUMBER = 2; private com.google.spanner.v1.Type type_; /** - * - * *
      * The type of the field.
      * 
* * .google.spanner.v1.Type type = 2; - * * @return Whether the type field is set. */ @java.lang.Override @@ -272,14 +230,11 @@ public boolean hasType() { return type_ != null; } /** - * - * *
      * The type of the field.
      * 
* * .google.spanner.v1.Type type = 2; - * * @return The type. */ @java.lang.Override @@ -287,8 +242,6 @@ public com.google.spanner.v1.Type getType() { return type_ == null ? com.google.spanner.v1.Type.getDefaultInstance() : type_; } /** - * - * *
      * The type of the field.
      * 
@@ -301,7 +254,6 @@ public com.google.spanner.v1.TypeOrBuilder getTypeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -313,7 +265,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -333,7 +286,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (type_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getType()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getType()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -343,17 +297,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.spanner.v1.StructType.Field)) { return super.equals(obj); } com.google.spanner.v1.StructType.Field other = (com.google.spanner.v1.StructType.Field) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasType() != other.hasType()) return false; if (hasType()) { - if (!getType().equals(other.getType())) return false; + if (!getType() + .equals(other.getType())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -377,94 +333,88 @@ public int hashCode() { return hash; } - public static com.google.spanner.v1.StructType.Field parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.v1.StructType.Field parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.StructType.Field parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.StructType.Field parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.StructType.Field parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.StructType.Field parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.StructType.Field parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.StructType.Field parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.StructType.Field parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.spanner.v1.StructType.Field parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.v1.StructType.Field parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.v1.StructType.Field parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.StructType.Field parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.StructType.Field parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.v1.StructType.Field prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -474,41 +424,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Message representing a single field of a struct.
      * 
* * Protobuf type {@code google.spanner.v1.StructType.Field} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.StructType.Field) com.google.spanner.v1.StructType.FieldOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.TypeProto - .internal_static_google_spanner_v1_StructType_Field_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.TypeProto.internal_static_google_spanner_v1_StructType_Field_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.TypeProto - .internal_static_google_spanner_v1_StructType_Field_fieldAccessorTable + return com.google.spanner.v1.TypeProto.internal_static_google_spanner_v1_StructType_Field_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.StructType.Field.class, - com.google.spanner.v1.StructType.Field.Builder.class); + com.google.spanner.v1.StructType.Field.class, com.google.spanner.v1.StructType.Field.Builder.class); } // Construct using com.google.spanner.v1.StructType.Field.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -523,9 +471,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.v1.TypeProto - .internal_static_google_spanner_v1_StructType_Field_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.v1.TypeProto.internal_static_google_spanner_v1_StructType_Field_descriptor; } @java.lang.Override @@ -544,11 +492,8 @@ public com.google.spanner.v1.StructType.Field build() { @java.lang.Override public com.google.spanner.v1.StructType.Field buildPartial() { - com.google.spanner.v1.StructType.Field result = - new com.google.spanner.v1.StructType.Field(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.v1.StructType.Field result = new com.google.spanner.v1.StructType.Field(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -559,7 +504,9 @@ private void buildPartial0(com.google.spanner.v1.StructType.Field result) { result.name_ = name_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.type_ = typeBuilder_ == null ? type_ : typeBuilder_.build(); + result.type_ = typeBuilder_ == null + ? type_ + : typeBuilder_.build(); } } @@ -567,41 +514,38 @@ private void buildPartial0(com.google.spanner.v1.StructType.Field 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.spanner.v1.StructType.Field) { - return mergeFrom((com.google.spanner.v1.StructType.Field) other); + return mergeFrom((com.google.spanner.v1.StructType.Field)other); } else { super.mergeFrom(other); return this; @@ -644,25 +588,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getTypeFieldBuilder().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( + getTypeFieldBuilder().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) { @@ -672,13 +615,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
        * The name of the field. For reads, this is the column name. For
        * SQL queries, it is the column alias (e.g., `"Word"` in the
@@ -690,13 +630,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; @@ -705,8 +645,6 @@ public java.lang.String getName() { } } /** - * - * *
        * The name of the field. For reads, this is the column name. For
        * SQL queries, it is the column alias (e.g., `"Word"` in the
@@ -718,14 +656,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 { @@ -733,8 +672,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
        * The name of the field. For reads, this is the column name. For
        * SQL queries, it is the column alias (e.g., `"Word"` in the
@@ -746,22 +683,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 name of the field. For reads, this is the column name. For
        * SQL queries, it is the column alias (e.g., `"Word"` in the
@@ -773,7 +706,6 @@ public Builder setName(java.lang.String value) {
        * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -783,8 +715,6 @@ public Builder clearName() { return this; } /** - * - * *
        * The name of the field. For reads, this is the column name. For
        * SQL queries, it is the column alias (e.g., `"Word"` in the
@@ -796,14 +726,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; @@ -813,33 +741,24 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.spanner.v1.Type type_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.Type, - com.google.spanner.v1.Type.Builder, - com.google.spanner.v1.TypeOrBuilder> - typeBuilder_; + com.google.spanner.v1.Type, com.google.spanner.v1.Type.Builder, com.google.spanner.v1.TypeOrBuilder> typeBuilder_; /** - * - * *
        * The type of the field.
        * 
* * .google.spanner.v1.Type type = 2; - * * @return Whether the type field is set. */ public boolean hasType() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
        * The type of the field.
        * 
* * .google.spanner.v1.Type type = 2; - * * @return The type. */ public com.google.spanner.v1.Type getType() { @@ -850,8 +769,6 @@ public com.google.spanner.v1.Type getType() { } } /** - * - * *
        * The type of the field.
        * 
@@ -872,15 +789,14 @@ public Builder setType(com.google.spanner.v1.Type value) { return this; } /** - * - * *
        * The type of the field.
        * 
* * .google.spanner.v1.Type type = 2; */ - public Builder setType(com.google.spanner.v1.Type.Builder builderForValue) { + public Builder setType( + com.google.spanner.v1.Type.Builder builderForValue) { if (typeBuilder_ == null) { type_ = builderForValue.build(); } else { @@ -891,8 +807,6 @@ public Builder setType(com.google.spanner.v1.Type.Builder builderForValue) { return this; } /** - * - * *
        * The type of the field.
        * 
@@ -901,9 +815,9 @@ public Builder setType(com.google.spanner.v1.Type.Builder builderForValue) { */ public Builder mergeType(com.google.spanner.v1.Type value) { if (typeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && type_ != null - && type_ != com.google.spanner.v1.Type.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + type_ != null && + type_ != com.google.spanner.v1.Type.getDefaultInstance()) { getTypeBuilder().mergeFrom(value); } else { type_ = value; @@ -916,8 +830,6 @@ public Builder mergeType(com.google.spanner.v1.Type value) { return this; } /** - * - * *
        * The type of the field.
        * 
@@ -935,8 +847,6 @@ public Builder clearType() { return this; } /** - * - * *
        * The type of the field.
        * 
@@ -949,8 +859,6 @@ public com.google.spanner.v1.Type.Builder getTypeBuilder() { return getTypeFieldBuilder().getBuilder(); } /** - * - * *
        * The type of the field.
        * 
@@ -961,12 +869,11 @@ public com.google.spanner.v1.TypeOrBuilder getTypeOrBuilder() { if (typeBuilder_ != null) { return typeBuilder_.getMessageOrBuilder(); } else { - return type_ == null ? com.google.spanner.v1.Type.getDefaultInstance() : type_; + return type_ == null ? + com.google.spanner.v1.Type.getDefaultInstance() : type_; } } /** - * - * *
        * The type of the field.
        * 
@@ -974,22 +881,18 @@ public com.google.spanner.v1.TypeOrBuilder getTypeOrBuilder() { * .google.spanner.v1.Type type = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.Type, - com.google.spanner.v1.Type.Builder, - com.google.spanner.v1.TypeOrBuilder> + com.google.spanner.v1.Type, com.google.spanner.v1.Type.Builder, com.google.spanner.v1.TypeOrBuilder> getTypeFieldBuilder() { if (typeBuilder_ == null) { - typeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.Type, - com.google.spanner.v1.Type.Builder, - com.google.spanner.v1.TypeOrBuilder>( - getType(), getParentForChildren(), isClean()); + typeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.v1.Type, com.google.spanner.v1.Type.Builder, com.google.spanner.v1.TypeOrBuilder>( + getType(), + getParentForChildren(), + isClean()); type_ = null; } return typeBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1002,12 +905,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.v1.StructType.Field) } // @@protoc_insertion_point(class_scope:google.spanner.v1.StructType.Field) private static final com.google.spanner.v1.StructType.Field DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.v1.StructType.Field(); } @@ -1016,28 +919,27 @@ public static com.google.spanner.v1.StructType.Field getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Field parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Field parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1052,15 +954,13 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.StructType.Field getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int FIELDS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List fields_; /** - * - * *
    * The list of fields that make up this struct. Order is
    * significant, because values of this struct type are represented as
@@ -1077,8 +977,6 @@ public java.util.List getFieldsList() {
     return fields_;
   }
   /**
-   *
-   *
    * 
    * The list of fields that make up this struct. Order is
    * significant, because values of this struct type are represented as
@@ -1091,13 +989,11 @@ public java.util.List getFieldsList() {
    * repeated .google.spanner.v1.StructType.Field fields = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getFieldsOrBuilderList() {
     return fields_;
   }
   /**
-   *
-   *
    * 
    * The list of fields that make up this struct. Order is
    * significant, because values of this struct type are represented as
@@ -1114,8 +1010,6 @@ public int getFieldsCount() {
     return fields_.size();
   }
   /**
-   *
-   *
    * 
    * The list of fields that make up this struct. Order is
    * significant, because values of this struct type are represented as
@@ -1132,8 +1026,6 @@ public com.google.spanner.v1.StructType.Field getFields(int index) {
     return fields_.get(index);
   }
   /**
-   *
-   *
    * 
    * The list of fields that make up this struct. Order is
    * significant, because values of this struct type are represented as
@@ -1146,12 +1038,12 @@ public com.google.spanner.v1.StructType.Field getFields(int index) {
    * repeated .google.spanner.v1.StructType.Field fields = 1;
    */
   @java.lang.Override
-  public com.google.spanner.v1.StructType.FieldOrBuilder getFieldsOrBuilder(int index) {
+  public com.google.spanner.v1.StructType.FieldOrBuilder getFieldsOrBuilder(
+      int index) {
     return fields_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -1163,7 +1055,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  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 < fields_.size(); i++) {
       output.writeMessage(1, fields_.get(i));
     }
@@ -1177,7 +1070,8 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < fields_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, fields_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, fields_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -1187,14 +1081,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.spanner.v1.StructType)) {
       return super.equals(obj);
     }
     com.google.spanner.v1.StructType other = (com.google.spanner.v1.StructType) obj;
 
-    if (!getFieldsList().equals(other.getFieldsList())) return false;
+    if (!getFieldsList()
+        .equals(other.getFieldsList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -1215,135 +1110,130 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.spanner.v1.StructType parseFrom(java.nio.ByteBuffer data)
+  public static com.google.spanner.v1.StructType parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.StructType parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.spanner.v1.StructType parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.spanner.v1.StructType parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.StructType parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.v1.StructType parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.StructType parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.v1.StructType parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.v1.StructType parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.spanner.v1.StructType 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.spanner.v1.StructType parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.spanner.v1.StructType parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.v1.StructType parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.spanner.v1.StructType prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * `StructType` defines the fields of a [STRUCT][google.spanner.v1.TypeCode.STRUCT] type.
    * 
* * Protobuf type {@code google.spanner.v1.StructType} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.StructType) com.google.spanner.v1.StructTypeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.TypeProto - .internal_static_google_spanner_v1_StructType_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.TypeProto.internal_static_google_spanner_v1_StructType_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.TypeProto - .internal_static_google_spanner_v1_StructType_fieldAccessorTable + return com.google.spanner.v1.TypeProto.internal_static_google_spanner_v1_StructType_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.StructType.class, - com.google.spanner.v1.StructType.Builder.class); + com.google.spanner.v1.StructType.class, com.google.spanner.v1.StructType.Builder.class); } // Construct using com.google.spanner.v1.StructType.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1359,9 +1249,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.v1.TypeProto - .internal_static_google_spanner_v1_StructType_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.v1.TypeProto.internal_static_google_spanner_v1_StructType_descriptor; } @java.lang.Override @@ -1382,9 +1272,7 @@ public com.google.spanner.v1.StructType build() { public com.google.spanner.v1.StructType buildPartial() { com.google.spanner.v1.StructType result = new com.google.spanner.v1.StructType(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -1409,39 +1297,38 @@ private void buildPartial0(com.google.spanner.v1.StructType 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.spanner.v1.StructType) { - return mergeFrom((com.google.spanner.v1.StructType) other); + return mergeFrom((com.google.spanner.v1.StructType)other); } else { super.mergeFrom(other); return this; @@ -1468,10 +1355,9 @@ public Builder mergeFrom(com.google.spanner.v1.StructType other) { fieldsBuilder_ = null; fields_ = other.fields_; bitField0_ = (bitField0_ & ~0x00000001); - fieldsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getFieldsFieldBuilder() - : null; + fieldsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getFieldsFieldBuilder() : null; } else { fieldsBuilder_.addAllMessages(other.fields_); } @@ -1503,26 +1389,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.spanner.v1.StructType.Field m = - input.readMessage( - com.google.spanner.v1.StructType.Field.parser(), extensionRegistry); - if (fieldsBuilder_ == null) { - ensureFieldsIsMutable(); - fields_.add(m); - } else { - fieldsBuilder_.addMessage(m); - } - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.spanner.v1.StructType.Field m = + input.readMessage( + com.google.spanner.v1.StructType.Field.parser(), + extensionRegistry); + if (fieldsBuilder_ == null) { + ensureFieldsIsMutable(); + fields_.add(m); + } else { + fieldsBuilder_.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) { @@ -1532,28 +1417,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List fields_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureFieldsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { fields_ = new java.util.ArrayList(fields_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.v1.StructType.Field, - com.google.spanner.v1.StructType.Field.Builder, - com.google.spanner.v1.StructType.FieldOrBuilder> - fieldsBuilder_; + com.google.spanner.v1.StructType.Field, com.google.spanner.v1.StructType.Field.Builder, com.google.spanner.v1.StructType.FieldOrBuilder> fieldsBuilder_; /** - * - * *
      * The list of fields that make up this struct. Order is
      * significant, because values of this struct type are represented as
@@ -1573,8 +1451,6 @@ public java.util.List getFieldsList() {
       }
     }
     /**
-     *
-     *
      * 
      * The list of fields that make up this struct. Order is
      * significant, because values of this struct type are represented as
@@ -1594,8 +1470,6 @@ public int getFieldsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The list of fields that make up this struct. Order is
      * significant, because values of this struct type are represented as
@@ -1615,8 +1489,6 @@ public com.google.spanner.v1.StructType.Field getFields(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The list of fields that make up this struct. Order is
      * significant, because values of this struct type are represented as
@@ -1628,7 +1500,8 @@ public com.google.spanner.v1.StructType.Field getFields(int index) {
      *
      * repeated .google.spanner.v1.StructType.Field fields = 1;
      */
-    public Builder setFields(int index, com.google.spanner.v1.StructType.Field value) {
+    public Builder setFields(
+        int index, com.google.spanner.v1.StructType.Field value) {
       if (fieldsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1642,8 +1515,6 @@ public Builder setFields(int index, com.google.spanner.v1.StructType.Field value
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of fields that make up this struct. Order is
      * significant, because values of this struct type are represented as
@@ -1667,8 +1538,6 @@ public Builder setFields(
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of fields that make up this struct. Order is
      * significant, because values of this struct type are represented as
@@ -1694,8 +1563,6 @@ public Builder addFields(com.google.spanner.v1.StructType.Field value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of fields that make up this struct. Order is
      * significant, because values of this struct type are represented as
@@ -1707,7 +1574,8 @@ public Builder addFields(com.google.spanner.v1.StructType.Field value) {
      *
      * repeated .google.spanner.v1.StructType.Field fields = 1;
      */
-    public Builder addFields(int index, com.google.spanner.v1.StructType.Field value) {
+    public Builder addFields(
+        int index, com.google.spanner.v1.StructType.Field value) {
       if (fieldsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1721,8 +1589,6 @@ public Builder addFields(int index, com.google.spanner.v1.StructType.Field value
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of fields that make up this struct. Order is
      * significant, because values of this struct type are represented as
@@ -1734,7 +1600,8 @@ public Builder addFields(int index, com.google.spanner.v1.StructType.Field value
      *
      * repeated .google.spanner.v1.StructType.Field fields = 1;
      */
-    public Builder addFields(com.google.spanner.v1.StructType.Field.Builder builderForValue) {
+    public Builder addFields(
+        com.google.spanner.v1.StructType.Field.Builder builderForValue) {
       if (fieldsBuilder_ == null) {
         ensureFieldsIsMutable();
         fields_.add(builderForValue.build());
@@ -1745,8 +1612,6 @@ public Builder addFields(com.google.spanner.v1.StructType.Field.Builder builderF
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of fields that make up this struct. Order is
      * significant, because values of this struct type are represented as
@@ -1770,8 +1635,6 @@ public Builder addFields(
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of fields that make up this struct. Order is
      * significant, because values of this struct type are represented as
@@ -1787,7 +1650,8 @@ public Builder addAllFields(
         java.lang.Iterable values) {
       if (fieldsBuilder_ == null) {
         ensureFieldsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, fields_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, fields_);
         onChanged();
       } else {
         fieldsBuilder_.addAllMessages(values);
@@ -1795,8 +1659,6 @@ public Builder addAllFields(
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of fields that make up this struct. Order is
      * significant, because values of this struct type are represented as
@@ -1819,8 +1681,6 @@ public Builder clearFields() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of fields that make up this struct. Order is
      * significant, because values of this struct type are represented as
@@ -1843,8 +1703,6 @@ public Builder removeFields(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of fields that make up this struct. Order is
      * significant, because values of this struct type are represented as
@@ -1856,12 +1714,11 @@ public Builder removeFields(int index) {
      *
      * repeated .google.spanner.v1.StructType.Field fields = 1;
      */
-    public com.google.spanner.v1.StructType.Field.Builder getFieldsBuilder(int index) {
+    public com.google.spanner.v1.StructType.Field.Builder getFieldsBuilder(
+        int index) {
       return getFieldsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The list of fields that make up this struct. Order is
      * significant, because values of this struct type are represented as
@@ -1873,16 +1730,14 @@ public com.google.spanner.v1.StructType.Field.Builder getFieldsBuilder(int index
      *
      * repeated .google.spanner.v1.StructType.Field fields = 1;
      */
-    public com.google.spanner.v1.StructType.FieldOrBuilder getFieldsOrBuilder(int index) {
+    public com.google.spanner.v1.StructType.FieldOrBuilder getFieldsOrBuilder(
+        int index) {
       if (fieldsBuilder_ == null) {
-        return fields_.get(index);
-      } else {
+        return fields_.get(index);  } else {
         return fieldsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The list of fields that make up this struct. Order is
      * significant, because values of this struct type are represented as
@@ -1894,8 +1749,8 @@ public com.google.spanner.v1.StructType.FieldOrBuilder getFieldsOrBuilder(int in
      *
      * repeated .google.spanner.v1.StructType.Field fields = 1;
      */
-    public java.util.List
-        getFieldsOrBuilderList() {
+    public java.util.List 
+         getFieldsOrBuilderList() {
       if (fieldsBuilder_ != null) {
         return fieldsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1903,8 +1758,6 @@ public com.google.spanner.v1.StructType.FieldOrBuilder getFieldsOrBuilder(int in
       }
     }
     /**
-     *
-     *
      * 
      * The list of fields that make up this struct. Order is
      * significant, because values of this struct type are represented as
@@ -1917,12 +1770,10 @@ public com.google.spanner.v1.StructType.FieldOrBuilder getFieldsOrBuilder(int in
      * repeated .google.spanner.v1.StructType.Field fields = 1;
      */
     public com.google.spanner.v1.StructType.Field.Builder addFieldsBuilder() {
-      return getFieldsFieldBuilder()
-          .addBuilder(com.google.spanner.v1.StructType.Field.getDefaultInstance());
+      return getFieldsFieldBuilder().addBuilder(
+          com.google.spanner.v1.StructType.Field.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The list of fields that make up this struct. Order is
      * significant, because values of this struct type are represented as
@@ -1934,13 +1785,12 @@ public com.google.spanner.v1.StructType.Field.Builder addFieldsBuilder() {
      *
      * repeated .google.spanner.v1.StructType.Field fields = 1;
      */
-    public com.google.spanner.v1.StructType.Field.Builder addFieldsBuilder(int index) {
-      return getFieldsFieldBuilder()
-          .addBuilder(index, com.google.spanner.v1.StructType.Field.getDefaultInstance());
+    public com.google.spanner.v1.StructType.Field.Builder addFieldsBuilder(
+        int index) {
+      return getFieldsFieldBuilder().addBuilder(
+          index, com.google.spanner.v1.StructType.Field.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The list of fields that make up this struct. Order is
      * significant, because values of this struct type are represented as
@@ -1952,29 +1802,27 @@ public com.google.spanner.v1.StructType.Field.Builder addFieldsBuilder(int index
      *
      * repeated .google.spanner.v1.StructType.Field fields = 1;
      */
-    public java.util.List getFieldsBuilderList() {
+    public java.util.List 
+         getFieldsBuilderList() {
       return getFieldsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.spanner.v1.StructType.Field,
-            com.google.spanner.v1.StructType.Field.Builder,
-            com.google.spanner.v1.StructType.FieldOrBuilder>
+        com.google.spanner.v1.StructType.Field, com.google.spanner.v1.StructType.Field.Builder, com.google.spanner.v1.StructType.FieldOrBuilder> 
         getFieldsFieldBuilder() {
       if (fieldsBuilder_ == null) {
-        fieldsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.spanner.v1.StructType.Field,
-                com.google.spanner.v1.StructType.Field.Builder,
-                com.google.spanner.v1.StructType.FieldOrBuilder>(
-                fields_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        fieldsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.spanner.v1.StructType.Field, com.google.spanner.v1.StructType.Field.Builder, com.google.spanner.v1.StructType.FieldOrBuilder>(
+                fields_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         fields_ = null;
       }
       return fieldsBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1984,12 +1832,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.spanner.v1.StructType)
   }
 
   // @@protoc_insertion_point(class_scope:google.spanner.v1.StructType)
   private static final com.google.spanner.v1.StructType DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.spanner.v1.StructType();
   }
@@ -1998,27 +1846,27 @@ public static com.google.spanner.v1.StructType getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public StructType parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public StructType parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2033,4 +1881,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.spanner.v1.StructType getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/StructTypeOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/StructTypeOrBuilder.java
similarity index 79%
rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/StructTypeOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/StructTypeOrBuilder.java
index 97d70e9b0d7..48a6535f177 100644
--- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/StructTypeOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/StructTypeOrBuilder.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/spanner/v1/type.proto
 
 package com.google.spanner.v1;
 
-public interface StructTypeOrBuilder
-    extends
+public interface StructTypeOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.spanner.v1.StructType)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The list of fields that make up this struct. Order is
    * significant, because values of this struct type are represented as
@@ -37,10 +19,9 @@ public interface StructTypeOrBuilder
    *
    * repeated .google.spanner.v1.StructType.Field fields = 1;
    */
-  java.util.List getFieldsList();
+  java.util.List 
+      getFieldsList();
   /**
-   *
-   *
    * 
    * The list of fields that make up this struct. Order is
    * significant, because values of this struct type are represented as
@@ -54,8 +35,6 @@ public interface StructTypeOrBuilder
    */
   com.google.spanner.v1.StructType.Field getFields(int index);
   /**
-   *
-   *
    * 
    * The list of fields that make up this struct. Order is
    * significant, because values of this struct type are represented as
@@ -69,8 +48,6 @@ public interface StructTypeOrBuilder
    */
   int getFieldsCount();
   /**
-   *
-   *
    * 
    * The list of fields that make up this struct. Order is
    * significant, because values of this struct type are represented as
@@ -82,11 +59,9 @@ public interface StructTypeOrBuilder
    *
    * repeated .google.spanner.v1.StructType.Field fields = 1;
    */
-  java.util.List
+  java.util.List 
       getFieldsOrBuilderList();
   /**
-   *
-   *
    * 
    * The list of fields that make up this struct. Order is
    * significant, because values of this struct type are represented as
@@ -98,5 +73,6 @@ public interface StructTypeOrBuilder
    *
    * repeated .google.spanner.v1.StructType.Field fields = 1;
    */
-  com.google.spanner.v1.StructType.FieldOrBuilder getFieldsOrBuilder(int index);
+  com.google.spanner.v1.StructType.FieldOrBuilder getFieldsOrBuilder(
+      int index);
 }
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Transaction.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Transaction.java
similarity index 72%
rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Transaction.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Transaction.java
index 3d33cd445b7..041299057c5 100644
--- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Transaction.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Transaction.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/spanner/v1/transaction.proto
 
 package com.google.spanner.v1;
 
 /**
- *
- *
  * 
  * A transaction.
  * 
* * Protobuf type {@code google.spanner.v1.Transaction} */ -public final class Transaction extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Transaction extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.v1.Transaction) TransactionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Transaction.newBuilder() to construct. private Transaction(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Transaction() { id_ = 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 Transaction(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.TransactionProto - .internal_static_google_spanner_v1_Transaction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_Transaction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.TransactionProto - .internal_static_google_spanner_v1_Transaction_fieldAccessorTable + return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_Transaction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.Transaction.class, - com.google.spanner.v1.Transaction.Builder.class); + com.google.spanner.v1.Transaction.class, com.google.spanner.v1.Transaction.Builder.class); } public static final int ID_FIELD_NUMBER = 1; private com.google.protobuf.ByteString id_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
    * `id` may be used to identify the transaction in subsequent
    * [Read][google.spanner.v1.Spanner.Read],
@@ -83,7 +62,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * bytes id = 1; - * * @return The id. */ @java.lang.Override @@ -94,8 +72,6 @@ public com.google.protobuf.ByteString getId() { public static final int READ_TIMESTAMP_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp readTimestamp_; /** - * - * *
    * For snapshot read-only transactions, the read timestamp chosen
    * for the transaction. Not returned by default: see
@@ -105,7 +81,6 @@ public com.google.protobuf.ByteString getId() {
    * 
* * .google.protobuf.Timestamp read_timestamp = 2; - * * @return Whether the readTimestamp field is set. */ @java.lang.Override @@ -113,8 +88,6 @@ public boolean hasReadTimestamp() { return readTimestamp_ != null; } /** - * - * *
    * For snapshot read-only transactions, the read timestamp chosen
    * for the transaction. Not returned by default: see
@@ -124,18 +97,13 @@ public boolean hasReadTimestamp() {
    * 
* * .google.protobuf.Timestamp read_timestamp = 2; - * * @return The readTimestamp. */ @java.lang.Override public com.google.protobuf.Timestamp getReadTimestamp() { - return readTimestamp_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : readTimestamp_; + return readTimestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTimestamp_; } /** - * - * *
    * For snapshot read-only transactions, the read timestamp chosen
    * for the transaction. Not returned by default: see
@@ -148,13 +116,10 @@ public com.google.protobuf.Timestamp getReadTimestamp() {
    */
   @java.lang.Override
   public com.google.protobuf.TimestampOrBuilder getReadTimestampOrBuilder() {
-    return readTimestamp_ == null
-        ? com.google.protobuf.Timestamp.getDefaultInstance()
-        : readTimestamp_;
+    return readTimestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTimestamp_;
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -166,7 +131,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!id_.isEmpty()) {
       output.writeBytes(1, id_);
     }
@@ -183,10 +149,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (!id_.isEmpty()) {
-      size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, id_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBytesSize(1, id_);
     }
     if (readTimestamp_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getReadTimestamp());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getReadTimestamp());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -196,17 +164,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.spanner.v1.Transaction)) {
       return super.equals(obj);
     }
     com.google.spanner.v1.Transaction other = (com.google.spanner.v1.Transaction) obj;
 
-    if (!getId().equals(other.getId())) return false;
+    if (!getId()
+        .equals(other.getId())) return false;
     if (hasReadTimestamp() != other.hasReadTimestamp()) return false;
     if (hasReadTimestamp()) {
-      if (!getReadTimestamp().equals(other.getReadTimestamp())) return false;
+      if (!getReadTimestamp()
+          .equals(other.getReadTimestamp())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -230,135 +200,130 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.spanner.v1.Transaction parseFrom(java.nio.ByteBuffer data)
+  public static com.google.spanner.v1.Transaction parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.Transaction parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.spanner.v1.Transaction parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.spanner.v1.Transaction parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.Transaction parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.v1.Transaction parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.Transaction parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.v1.Transaction parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.v1.Transaction parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.spanner.v1.Transaction 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.spanner.v1.Transaction parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.spanner.v1.Transaction parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.v1.Transaction parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.spanner.v1.Transaction prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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 transaction.
    * 
* * Protobuf type {@code google.spanner.v1.Transaction} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.Transaction) com.google.spanner.v1.TransactionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.TransactionProto - .internal_static_google_spanner_v1_Transaction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_Transaction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.TransactionProto - .internal_static_google_spanner_v1_Transaction_fieldAccessorTable + return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_Transaction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.Transaction.class, - com.google.spanner.v1.Transaction.Builder.class); + com.google.spanner.v1.Transaction.class, com.google.spanner.v1.Transaction.Builder.class); } // Construct using com.google.spanner.v1.Transaction.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -373,9 +338,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.v1.TransactionProto - .internal_static_google_spanner_v1_Transaction_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_Transaction_descriptor; } @java.lang.Override @@ -395,9 +360,7 @@ public com.google.spanner.v1.Transaction build() { @java.lang.Override public com.google.spanner.v1.Transaction buildPartial() { com.google.spanner.v1.Transaction result = new com.google.spanner.v1.Transaction(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -408,8 +371,9 @@ private void buildPartial0(com.google.spanner.v1.Transaction result) { result.id_ = id_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.readTimestamp_ = - readTimestampBuilder_ == null ? readTimestamp_ : readTimestampBuilder_.build(); + result.readTimestamp_ = readTimestampBuilder_ == null + ? readTimestamp_ + : readTimestampBuilder_.build(); } } @@ -417,39 +381,38 @@ private void buildPartial0(com.google.spanner.v1.Transaction 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.spanner.v1.Transaction) { - return mergeFrom((com.google.spanner.v1.Transaction) other); + return mergeFrom((com.google.spanner.v1.Transaction)other); } else { super.mergeFrom(other); return this; @@ -490,25 +453,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - id_ = input.readBytes(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getReadTimestampFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + id_ = input.readBytes(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getReadTimestampFieldBuilder().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) { @@ -518,13 +480,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.ByteString id_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * `id` may be used to identify the transaction in subsequent
      * [Read][google.spanner.v1.Spanner.Read],
@@ -536,7 +495,6 @@ public Builder mergeFrom(
      * 
* * bytes id = 1; - * * @return The id. */ @java.lang.Override @@ -544,8 +502,6 @@ public com.google.protobuf.ByteString getId() { return id_; } /** - * - * *
      * `id` may be used to identify the transaction in subsequent
      * [Read][google.spanner.v1.Spanner.Read],
@@ -557,22 +513,17 @@ public com.google.protobuf.ByteString getId() {
      * 
* * bytes id = 1; - * * @param value The id to set. * @return This builder for chaining. */ public Builder setId(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } id_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * `id` may be used to identify the transaction in subsequent
      * [Read][google.spanner.v1.Spanner.Read],
@@ -584,7 +535,6 @@ public Builder setId(com.google.protobuf.ByteString value) {
      * 
* * bytes id = 1; - * * @return This builder for chaining. */ public Builder clearId() { @@ -596,13 +546,8 @@ public Builder clearId() { private com.google.protobuf.Timestamp readTimestamp_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - readTimestampBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> readTimestampBuilder_; /** - * - * *
      * For snapshot read-only transactions, the read timestamp chosen
      * for the transaction. Not returned by default: see
@@ -612,15 +557,12 @@ public Builder clearId() {
      * 
* * .google.protobuf.Timestamp read_timestamp = 2; - * * @return Whether the readTimestamp field is set. */ public boolean hasReadTimestamp() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * For snapshot read-only transactions, the read timestamp chosen
      * for the transaction. Not returned by default: see
@@ -630,21 +572,16 @@ public boolean hasReadTimestamp() {
      * 
* * .google.protobuf.Timestamp read_timestamp = 2; - * * @return The readTimestamp. */ public com.google.protobuf.Timestamp getReadTimestamp() { if (readTimestampBuilder_ == null) { - return readTimestamp_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : readTimestamp_; + return readTimestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTimestamp_; } else { return readTimestampBuilder_.getMessage(); } } /** - * - * *
      * For snapshot read-only transactions, the read timestamp chosen
      * for the transaction. Not returned by default: see
@@ -669,8 +606,6 @@ public Builder setReadTimestamp(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * For snapshot read-only transactions, the read timestamp chosen
      * for the transaction. Not returned by default: see
@@ -681,7 +616,8 @@ public Builder setReadTimestamp(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp read_timestamp = 2;
      */
-    public Builder setReadTimestamp(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setReadTimestamp(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (readTimestampBuilder_ == null) {
         readTimestamp_ = builderForValue.build();
       } else {
@@ -692,8 +628,6 @@ public Builder setReadTimestamp(com.google.protobuf.Timestamp.Builder builderFor
       return this;
     }
     /**
-     *
-     *
      * 
      * For snapshot read-only transactions, the read timestamp chosen
      * for the transaction. Not returned by default: see
@@ -706,9 +640,9 @@ public Builder setReadTimestamp(com.google.protobuf.Timestamp.Builder builderFor
      */
     public Builder mergeReadTimestamp(com.google.protobuf.Timestamp value) {
       if (readTimestampBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && readTimestamp_ != null
-            && readTimestamp_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          readTimestamp_ != null &&
+          readTimestamp_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getReadTimestampBuilder().mergeFrom(value);
         } else {
           readTimestamp_ = value;
@@ -721,8 +655,6 @@ public Builder mergeReadTimestamp(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * For snapshot read-only transactions, the read timestamp chosen
      * for the transaction. Not returned by default: see
@@ -744,8 +676,6 @@ public Builder clearReadTimestamp() {
       return this;
     }
     /**
-     *
-     *
      * 
      * For snapshot read-only transactions, the read timestamp chosen
      * for the transaction. Not returned by default: see
@@ -762,8 +692,6 @@ public com.google.protobuf.Timestamp.Builder getReadTimestampBuilder() {
       return getReadTimestampFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * For snapshot read-only transactions, the read timestamp chosen
      * for the transaction. Not returned by default: see
@@ -778,14 +706,11 @@ public com.google.protobuf.TimestampOrBuilder getReadTimestampOrBuilder() {
       if (readTimestampBuilder_ != null) {
         return readTimestampBuilder_.getMessageOrBuilder();
       } else {
-        return readTimestamp_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : readTimestamp_;
+        return readTimestamp_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : readTimestamp_;
       }
     }
     /**
-     *
-     *
      * 
      * For snapshot read-only transactions, the read timestamp chosen
      * for the transaction. Not returned by default: see
@@ -797,24 +722,21 @@ public com.google.protobuf.TimestampOrBuilder getReadTimestampOrBuilder() {
      * .google.protobuf.Timestamp read_timestamp = 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> 
         getReadTimestampFieldBuilder() {
       if (readTimestampBuilder_ == null) {
-        readTimestampBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getReadTimestamp(), getParentForChildren(), isClean());
+        readTimestampBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getReadTimestamp(),
+                getParentForChildren(),
+                isClean());
         readTimestamp_ = null;
       }
       return readTimestampBuilder_;
     }
-
     @java.lang.Override
-    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 +746,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.spanner.v1.Transaction)
   }
 
   // @@protoc_insertion_point(class_scope:google.spanner.v1.Transaction)
   private static final com.google.spanner.v1.Transaction DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.spanner.v1.Transaction();
   }
@@ -838,27 +760,27 @@ public static com.google.spanner.v1.Transaction getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public Transaction parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public Transaction parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.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,4 +795,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.spanner.v1.Transaction getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionOptions.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionOptions.java
similarity index 81%
rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionOptions.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionOptions.java
index 85b7624ebe4..d0d35b4d26b 100644
--- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionOptions.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionOptions.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/spanner/v1/transaction.proto
 
 package com.google.spanner.v1;
 
 /**
- *
- *
  * 
  * Transactions:
  * Each session can have at most one active transaction at a time (note that
@@ -281,77 +264,67 @@
  *
  * Protobuf type {@code google.spanner.v1.TransactionOptions}
  */
-public final class TransactionOptions extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class TransactionOptions extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.v1.TransactionOptions)
     TransactionOptionsOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use TransactionOptions.newBuilder() to construct.
   private TransactionOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private TransactionOptions() {}
+  private TransactionOptions() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new TransactionOptions();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.v1.TransactionProto
-        .internal_static_google_spanner_v1_TransactionOptions_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_TransactionOptions_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.v1.TransactionProto
-        .internal_static_google_spanner_v1_TransactionOptions_fieldAccessorTable
+    return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_TransactionOptions_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.v1.TransactionOptions.class,
-            com.google.spanner.v1.TransactionOptions.Builder.class);
+            com.google.spanner.v1.TransactionOptions.class, com.google.spanner.v1.TransactionOptions.Builder.class);
   }
 
-  public interface ReadWriteOrBuilder
-      extends
+  public interface ReadWriteOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.spanner.v1.TransactionOptions.ReadWrite)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Read lock mode for the transaction.
      * 
* * .google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode read_lock_mode = 1; - * * @return The enum numeric value on the wire for readLockMode. */ int getReadLockModeValue(); /** - * - * *
      * Read lock mode for the transaction.
      * 
* * .google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode read_lock_mode = 1; - * * @return The readLockMode. */ com.google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode getReadLockMode(); } /** - * - * *
    * Message type to initiate a read-write transaction. Currently this
    * transaction type has no options.
@@ -359,49 +332,45 @@ public interface ReadWriteOrBuilder
    *
    * Protobuf type {@code google.spanner.v1.TransactionOptions.ReadWrite}
    */
-  public static final class ReadWrite extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class ReadWrite extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.spanner.v1.TransactionOptions.ReadWrite)
       ReadWriteOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use ReadWrite.newBuilder() to construct.
     private ReadWrite(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private ReadWrite() {
       readLockMode_ = 0;
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new ReadWrite();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.v1.TransactionProto
-          .internal_static_google_spanner_v1_TransactionOptions_ReadWrite_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_TransactionOptions_ReadWrite_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.v1.TransactionProto
-          .internal_static_google_spanner_v1_TransactionOptions_ReadWrite_fieldAccessorTable
+      return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_TransactionOptions_ReadWrite_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.v1.TransactionOptions.ReadWrite.class,
-              com.google.spanner.v1.TransactionOptions.ReadWrite.Builder.class);
+              com.google.spanner.v1.TransactionOptions.ReadWrite.class, com.google.spanner.v1.TransactionOptions.ReadWrite.Builder.class);
     }
 
     /**
-     *
-     *
      * 
      * `ReadLockMode` is used to set the read lock mode for read-write
      * transactions.
@@ -409,10 +378,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      *
      * Protobuf enum {@code google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode}
      */
-    public enum ReadLockMode implements com.google.protobuf.ProtocolMessageEnum {
+    public enum ReadLockMode
+        implements com.google.protobuf.ProtocolMessageEnum {
       /**
-       *
-       *
        * 
        * Default value.
        * If the value is not specified, the pessimistic read lock is used.
@@ -422,8 +390,6 @@ public enum ReadLockMode implements com.google.protobuf.ProtocolMessageEnum {
        */
       READ_LOCK_MODE_UNSPECIFIED(0),
       /**
-       *
-       *
        * 
        * Pessimistic lock mode.
        * Read locks are acquired immediately on read.
@@ -433,8 +399,6 @@ public enum ReadLockMode implements com.google.protobuf.ProtocolMessageEnum {
        */
       PESSIMISTIC(1),
       /**
-       *
-       *
        * 
        * Optimistic lock mode.
        * Locks for reads within the transaction are not acquired on read.
@@ -449,8 +413,6 @@ public enum ReadLockMode implements com.google.protobuf.ProtocolMessageEnum {
       ;
 
       /**
-       *
-       *
        * 
        * Default value.
        * If the value is not specified, the pessimistic read lock is used.
@@ -460,8 +422,6 @@ public enum ReadLockMode implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int READ_LOCK_MODE_UNSPECIFIED_VALUE = 0;
       /**
-       *
-       *
        * 
        * Pessimistic lock mode.
        * Read locks are acquired immediately on read.
@@ -471,8 +431,6 @@ public enum ReadLockMode implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int PESSIMISTIC_VALUE = 1;
       /**
-       *
-       *
        * 
        * Optimistic lock mode.
        * Locks for reads within the transaction are not acquired on read.
@@ -484,6 +442,7 @@ public enum ReadLockMode implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int OPTIMISTIC_VALUE = 2;
 
+
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -508,51 +467,49 @@ public static ReadLockMode valueOf(int value) {
        */
       public static ReadLockMode forNumber(int value) {
         switch (value) {
-          case 0:
-            return READ_LOCK_MODE_UNSPECIFIED;
-          case 1:
-            return PESSIMISTIC;
-          case 2:
-            return OPTIMISTIC;
-          default:
-            return null;
+          case 0: return READ_LOCK_MODE_UNSPECIFIED;
+          case 1: return PESSIMISTIC;
+          case 2: return OPTIMISTIC;
+          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<
+          ReadLockMode> internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public ReadLockMode findValueByNumber(int number) {
+                return ReadLockMode.forNumber(number);
+              }
+            };
 
-      private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public ReadLockMode findValueByNumber(int number) {
-              return ReadLockMode.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.spanner.v1.TransactionOptions.ReadWrite.getDescriptor()
-            .getEnumTypes()
-            .get(0);
+      public static final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptor() {
+        return com.google.spanner.v1.TransactionOptions.ReadWrite.getDescriptor().getEnumTypes().get(0);
       }
 
       private static final ReadLockMode[] VALUES = values();
 
-      public static ReadLockMode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+      public static ReadLockMode 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;
@@ -572,42 +529,30 @@ private ReadLockMode(int value) {
     public static final int READ_LOCK_MODE_FIELD_NUMBER = 1;
     private int readLockMode_ = 0;
     /**
-     *
-     *
      * 
      * Read lock mode for the transaction.
      * 
* * .google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode read_lock_mode = 1; - * * @return The enum numeric value on the wire for readLockMode. */ - @java.lang.Override - public int getReadLockModeValue() { + @java.lang.Override public int getReadLockModeValue() { return readLockMode_; } /** - * - * *
      * Read lock mode for the transaction.
      * 
* * .google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode read_lock_mode = 1; - * * @return The readLockMode. */ - @java.lang.Override - public com.google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode getReadLockMode() { - com.google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode result = - com.google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode.forNumber(readLockMode_); - return result == null - ? com.google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode.UNRECOGNIZED - : result; + @java.lang.Override public com.google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode getReadLockMode() { + com.google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode result = com.google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode.forNumber(readLockMode_); + return result == null ? com.google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -619,11 +564,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (readLockMode_ - != com.google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode - .READ_LOCK_MODE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (readLockMode_ != com.google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode.READ_LOCK_MODE_UNSPECIFIED.getNumber()) { output.writeEnum(1, readLockMode_); } getUnknownFields().writeTo(output); @@ -635,11 +578,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (readLockMode_ - != com.google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode - .READ_LOCK_MODE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, readLockMode_); + if (readLockMode_ != com.google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode.READ_LOCK_MODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, readLockMode_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -649,13 +590,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.spanner.v1.TransactionOptions.ReadWrite)) { return super.equals(obj); } - com.google.spanner.v1.TransactionOptions.ReadWrite other = - (com.google.spanner.v1.TransactionOptions.ReadWrite) obj; + com.google.spanner.v1.TransactionOptions.ReadWrite other = (com.google.spanner.v1.TransactionOptions.ReadWrite) obj; if (readLockMode_ != other.readLockMode_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -677,93 +617,87 @@ public int hashCode() { } public static com.google.spanner.v1.TransactionOptions.ReadWrite parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.TransactionOptions.ReadWrite parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.TransactionOptions.ReadWrite parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.TransactionOptions.ReadWrite parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.TransactionOptions.ReadWrite parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.TransactionOptions.ReadWrite parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.v1.TransactionOptions.ReadWrite parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.v1.TransactionOptions.ReadWrite parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.TransactionOptions.ReadWrite parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.spanner.v1.TransactionOptions.ReadWrite parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.v1.TransactionOptions.ReadWrite parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.v1.TransactionOptions.ReadWrite parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.TransactionOptions.ReadWrite parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.TransactionOptions.ReadWrite parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.v1.TransactionOptions.ReadWrite prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -773,8 +707,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Message type to initiate a read-write transaction. Currently this
      * transaction type has no options.
@@ -782,33 +714,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.spanner.v1.TransactionOptions.ReadWrite}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.spanner.v1.TransactionOptions.ReadWrite)
         com.google.spanner.v1.TransactionOptions.ReadWriteOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.spanner.v1.TransactionProto
-            .internal_static_google_spanner_v1_TransactionOptions_ReadWrite_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_TransactionOptions_ReadWrite_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.spanner.v1.TransactionProto
-            .internal_static_google_spanner_v1_TransactionOptions_ReadWrite_fieldAccessorTable
+        return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_TransactionOptions_ReadWrite_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.spanner.v1.TransactionOptions.ReadWrite.class,
-                com.google.spanner.v1.TransactionOptions.ReadWrite.Builder.class);
+                com.google.spanner.v1.TransactionOptions.ReadWrite.class, com.google.spanner.v1.TransactionOptions.ReadWrite.Builder.class);
       }
 
       // Construct using com.google.spanner.v1.TransactionOptions.ReadWrite.newBuilder()
-      private Builder() {}
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -818,9 +750,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.spanner.v1.TransactionProto
-            .internal_static_google_spanner_v1_TransactionOptions_ReadWrite_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_TransactionOptions_ReadWrite_descriptor;
       }
 
       @java.lang.Override
@@ -839,11 +771,8 @@ public com.google.spanner.v1.TransactionOptions.ReadWrite build() {
 
       @java.lang.Override
       public com.google.spanner.v1.TransactionOptions.ReadWrite buildPartial() {
-        com.google.spanner.v1.TransactionOptions.ReadWrite result =
-            new com.google.spanner.v1.TransactionOptions.ReadWrite(this);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        com.google.spanner.v1.TransactionOptions.ReadWrite result = new com.google.spanner.v1.TransactionOptions.ReadWrite(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
@@ -859,41 +788,38 @@ private void buildPartial0(com.google.spanner.v1.TransactionOptions.ReadWrite 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.spanner.v1.TransactionOptions.ReadWrite) {
-          return mergeFrom((com.google.spanner.v1.TransactionOptions.ReadWrite) other);
+          return mergeFrom((com.google.spanner.v1.TransactionOptions.ReadWrite)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -901,8 +827,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.spanner.v1.TransactionOptions.ReadWrite other) {
-        if (other == com.google.spanner.v1.TransactionOptions.ReadWrite.getDefaultInstance())
-          return this;
+        if (other == com.google.spanner.v1.TransactionOptions.ReadWrite.getDefaultInstance()) return this;
         if (other.readLockMode_ != 0) {
           setReadLockModeValue(other.getReadLockModeValue());
         }
@@ -932,19 +857,17 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 8:
-                {
-                  readLockMode_ = input.readEnum();
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 8
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 8: {
+                readLockMode_ = input.readEnum();
+                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) {
@@ -954,36 +877,26 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
       private int readLockMode_ = 0;
       /**
-       *
-       *
        * 
        * Read lock mode for the transaction.
        * 
* - * .google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode read_lock_mode = 1; - * - * + * .google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode read_lock_mode = 1; * @return The enum numeric value on the wire for readLockMode. */ - @java.lang.Override - public int getReadLockModeValue() { + @java.lang.Override public int getReadLockModeValue() { return readLockMode_; } /** - * - * *
        * Read lock mode for the transaction.
        * 
* - * .google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode read_lock_mode = 1; - * - * + * .google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode read_lock_mode = 1; * @param value The enum numeric value on the wire for readLockMode to set. * @return This builder for chaining. */ @@ -994,41 +907,28 @@ public Builder setReadLockModeValue(int value) { return this; } /** - * - * *
        * Read lock mode for the transaction.
        * 
* - * .google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode read_lock_mode = 1; - * - * + * .google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode read_lock_mode = 1; * @return The readLockMode. */ @java.lang.Override public com.google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode getReadLockMode() { - com.google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode result = - com.google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode.forNumber( - readLockMode_); - return result == null - ? com.google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode.UNRECOGNIZED - : result; + com.google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode result = com.google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode.forNumber(readLockMode_); + return result == null ? com.google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode.UNRECOGNIZED : result; } /** - * - * *
        * Read lock mode for the transaction.
        * 
* - * .google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode read_lock_mode = 1; - * - * + * .google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode read_lock_mode = 1; * @param value The readLockMode to set. * @return This builder for chaining. */ - public Builder setReadLockMode( - com.google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode value) { + public Builder setReadLockMode(com.google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode value) { if (value == null) { throw new NullPointerException(); } @@ -1038,15 +938,11 @@ public Builder setReadLockMode( return this; } /** - * - * *
        * Read lock mode for the transaction.
        * 
* - * .google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode read_lock_mode = 1; - * - * + * .google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode read_lock_mode = 1; * @return This builder for chaining. */ public Builder clearReadLockMode() { @@ -1055,7 +951,6 @@ public Builder clearReadLockMode() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1068,12 +963,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.v1.TransactionOptions.ReadWrite) } // @@protoc_insertion_point(class_scope:google.spanner.v1.TransactionOptions.ReadWrite) private static final com.google.spanner.v1.TransactionOptions.ReadWrite DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.v1.TransactionOptions.ReadWrite(); } @@ -1082,28 +977,27 @@ public static com.google.spanner.v1.TransactionOptions.ReadWrite getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReadWrite parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReadWrite parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,61 +1012,58 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.TransactionOptions.ReadWrite getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface PartitionedDmlOrBuilder - extends + public interface PartitionedDmlOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.TransactionOptions.PartitionedDml) - com.google.protobuf.MessageOrBuilder {} + com.google.protobuf.MessageOrBuilder { + } /** - * - * *
    * Message type to initiate a Partitioned DML transaction.
    * 
* * Protobuf type {@code google.spanner.v1.TransactionOptions.PartitionedDml} */ - public static final class PartitionedDml extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class PartitionedDml extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.v1.TransactionOptions.PartitionedDml) PartitionedDmlOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PartitionedDml.newBuilder() to construct. private PartitionedDml(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private PartitionedDml() {} + private PartitionedDml() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PartitionedDml(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.TransactionProto - .internal_static_google_spanner_v1_TransactionOptions_PartitionedDml_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_TransactionOptions_PartitionedDml_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.TransactionProto - .internal_static_google_spanner_v1_TransactionOptions_PartitionedDml_fieldAccessorTable + return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_TransactionOptions_PartitionedDml_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.TransactionOptions.PartitionedDml.class, - com.google.spanner.v1.TransactionOptions.PartitionedDml.Builder.class); + com.google.spanner.v1.TransactionOptions.PartitionedDml.class, com.google.spanner.v1.TransactionOptions.PartitionedDml.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1184,7 +1075,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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); } @@ -1202,13 +1094,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.spanner.v1.TransactionOptions.PartitionedDml)) { return super.equals(obj); } - com.google.spanner.v1.TransactionOptions.PartitionedDml other = - (com.google.spanner.v1.TransactionOptions.PartitionedDml) obj; + com.google.spanner.v1.TransactionOptions.PartitionedDml other = (com.google.spanner.v1.TransactionOptions.PartitionedDml) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1227,94 +1118,87 @@ public int hashCode() { } public static com.google.spanner.v1.TransactionOptions.PartitionedDml parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.TransactionOptions.PartitionedDml parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.TransactionOptions.PartitionedDml parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.TransactionOptions.PartitionedDml parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.TransactionOptions.PartitionedDml parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.TransactionOptions.PartitionedDml parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.v1.TransactionOptions.PartitionedDml parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.v1.TransactionOptions.PartitionedDml parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.TransactionOptions.PartitionedDml parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.spanner.v1.TransactionOptions.PartitionedDml parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.v1.TransactionOptions.PartitionedDml parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.v1.TransactionOptions.PartitionedDml parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.TransactionOptions.PartitionedDml parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.TransactionOptions.PartitionedDml parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.spanner.v1.TransactionOptions.PartitionedDml prototype) { + public static Builder newBuilder(com.google.spanner.v1.TransactionOptions.PartitionedDml prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1324,41 +1208,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Message type to initiate a Partitioned DML transaction.
      * 
* * Protobuf type {@code google.spanner.v1.TransactionOptions.PartitionedDml} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.TransactionOptions.PartitionedDml) com.google.spanner.v1.TransactionOptions.PartitionedDmlOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.TransactionProto - .internal_static_google_spanner_v1_TransactionOptions_PartitionedDml_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_TransactionOptions_PartitionedDml_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.TransactionProto - .internal_static_google_spanner_v1_TransactionOptions_PartitionedDml_fieldAccessorTable + return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_TransactionOptions_PartitionedDml_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.TransactionOptions.PartitionedDml.class, - com.google.spanner.v1.TransactionOptions.PartitionedDml.Builder.class); + com.google.spanner.v1.TransactionOptions.PartitionedDml.class, com.google.spanner.v1.TransactionOptions.PartitionedDml.Builder.class); } // Construct using com.google.spanner.v1.TransactionOptions.PartitionedDml.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1366,9 +1248,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.v1.TransactionProto - .internal_static_google_spanner_v1_TransactionOptions_PartitionedDml_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_TransactionOptions_PartitionedDml_descriptor; } @java.lang.Override @@ -1387,8 +1269,7 @@ public com.google.spanner.v1.TransactionOptions.PartitionedDml build() { @java.lang.Override public com.google.spanner.v1.TransactionOptions.PartitionedDml buildPartial() { - com.google.spanner.v1.TransactionOptions.PartitionedDml result = - new com.google.spanner.v1.TransactionOptions.PartitionedDml(this); + com.google.spanner.v1.TransactionOptions.PartitionedDml result = new com.google.spanner.v1.TransactionOptions.PartitionedDml(this); onBuilt(); return result; } @@ -1397,41 +1278,38 @@ public com.google.spanner.v1.TransactionOptions.PartitionedDml 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.spanner.v1.TransactionOptions.PartitionedDml) { - return mergeFrom((com.google.spanner.v1.TransactionOptions.PartitionedDml) other); + return mergeFrom((com.google.spanner.v1.TransactionOptions.PartitionedDml)other); } else { super.mergeFrom(other); return this; @@ -1439,8 +1317,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.v1.TransactionOptions.PartitionedDml other) { - if (other == com.google.spanner.v1.TransactionOptions.PartitionedDml.getDefaultInstance()) - return this; + if (other == com.google.spanner.v1.TransactionOptions.PartitionedDml.getDefaultInstance()) return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -1467,13 +1344,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) { @@ -1483,7 +1359,6 @@ public Builder mergeFrom( } // finally return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1496,12 +1371,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.v1.TransactionOptions.PartitionedDml) } // @@protoc_insertion_point(class_scope:google.spanner.v1.TransactionOptions.PartitionedDml) private static final com.google.spanner.v1.TransactionOptions.PartitionedDml DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.v1.TransactionOptions.PartitionedDml(); } @@ -1510,28 +1385,27 @@ public static com.google.spanner.v1.TransactionOptions.PartitionedDml getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PartitionedDml parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PartitionedDml parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1546,43 +1420,35 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.TransactionOptions.PartitionedDml getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ReadOnlyOrBuilder - extends + public interface ReadOnlyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.TransactionOptions.ReadOnly) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Read at a timestamp where all previously committed transactions
      * are visible.
      * 
* * bool strong = 1; - * * @return Whether the strong field is set. */ boolean hasStrong(); /** - * - * *
      * Read at a timestamp where all previously committed transactions
      * are visible.
      * 
* * bool strong = 1; - * * @return The strong. */ boolean getStrong(); /** - * - * *
      * Executes all reads at a timestamp >= `min_read_timestamp`.
      * This is useful for requesting fresher data than some previous
@@ -1594,13 +1460,10 @@ public interface ReadOnlyOrBuilder
      * 
* * .google.protobuf.Timestamp min_read_timestamp = 2; - * * @return Whether the minReadTimestamp field is set. */ boolean hasMinReadTimestamp(); /** - * - * *
      * Executes all reads at a timestamp >= `min_read_timestamp`.
      * This is useful for requesting fresher data than some previous
@@ -1612,13 +1475,10 @@ public interface ReadOnlyOrBuilder
      * 
* * .google.protobuf.Timestamp min_read_timestamp = 2; - * * @return The minReadTimestamp. */ com.google.protobuf.Timestamp getMinReadTimestamp(); /** - * - * *
      * Executes all reads at a timestamp >= `min_read_timestamp`.
      * This is useful for requesting fresher data than some previous
@@ -1634,8 +1494,6 @@ public interface ReadOnlyOrBuilder
     com.google.protobuf.TimestampOrBuilder getMinReadTimestampOrBuilder();
 
     /**
-     *
-     *
      * 
      * Read data at a timestamp >= `NOW - max_staleness`
      * seconds. Guarantees that all writes that have committed more
@@ -1651,13 +1509,10 @@ public interface ReadOnlyOrBuilder
      * 
* * .google.protobuf.Duration max_staleness = 3; - * * @return Whether the maxStaleness field is set. */ boolean hasMaxStaleness(); /** - * - * *
      * Read data at a timestamp >= `NOW - max_staleness`
      * seconds. Guarantees that all writes that have committed more
@@ -1673,13 +1528,10 @@ public interface ReadOnlyOrBuilder
      * 
* * .google.protobuf.Duration max_staleness = 3; - * * @return The maxStaleness. */ com.google.protobuf.Duration getMaxStaleness(); /** - * - * *
      * Read data at a timestamp >= `NOW - max_staleness`
      * seconds. Guarantees that all writes that have committed more
@@ -1699,8 +1551,6 @@ public interface ReadOnlyOrBuilder
     com.google.protobuf.DurationOrBuilder getMaxStalenessOrBuilder();
 
     /**
-     *
-     *
      * 
      * Executes all reads at the given timestamp. Unlike other modes,
      * reads at a specific timestamp are repeatable; the same read at
@@ -1715,13 +1565,10 @@ public interface ReadOnlyOrBuilder
      * 
* * .google.protobuf.Timestamp read_timestamp = 4; - * * @return Whether the readTimestamp field is set. */ boolean hasReadTimestamp(); /** - * - * *
      * Executes all reads at the given timestamp. Unlike other modes,
      * reads at a specific timestamp are repeatable; the same read at
@@ -1736,13 +1583,10 @@ public interface ReadOnlyOrBuilder
      * 
* * .google.protobuf.Timestamp read_timestamp = 4; - * * @return The readTimestamp. */ com.google.protobuf.Timestamp getReadTimestamp(); /** - * - * *
      * Executes all reads at the given timestamp. Unlike other modes,
      * reads at a specific timestamp are repeatable; the same read at
@@ -1761,8 +1605,6 @@ public interface ReadOnlyOrBuilder
     com.google.protobuf.TimestampOrBuilder getReadTimestampOrBuilder();
 
     /**
-     *
-     *
      * 
      * Executes all reads at a timestamp that is `exact_staleness`
      * old. The timestamp is chosen soon after the read is started.
@@ -1776,13 +1618,10 @@ public interface ReadOnlyOrBuilder
      * 
* * .google.protobuf.Duration exact_staleness = 5; - * * @return Whether the exactStaleness field is set. */ boolean hasExactStaleness(); /** - * - * *
      * Executes all reads at a timestamp that is `exact_staleness`
      * old. The timestamp is chosen soon after the read is started.
@@ -1796,13 +1635,10 @@ public interface ReadOnlyOrBuilder
      * 
* * .google.protobuf.Duration exact_staleness = 5; - * * @return The exactStaleness. */ com.google.protobuf.Duration getExactStaleness(); /** - * - * *
      * Executes all reads at a timestamp that is `exact_staleness`
      * old. The timestamp is chosen soon after the read is started.
@@ -1820,8 +1656,6 @@ public interface ReadOnlyOrBuilder
     com.google.protobuf.DurationOrBuilder getExactStalenessOrBuilder();
 
     /**
-     *
-     *
      * 
      * If true, the Cloud Spanner-selected read timestamp is included in
      * the [Transaction][google.spanner.v1.Transaction] message that describes
@@ -1829,67 +1663,60 @@ public interface ReadOnlyOrBuilder
      * 
* * bool return_read_timestamp = 6; - * * @return The returnReadTimestamp. */ boolean getReturnReadTimestamp(); - public com.google.spanner.v1.TransactionOptions.ReadOnly.TimestampBoundCase - getTimestampBoundCase(); + public com.google.spanner.v1.TransactionOptions.ReadOnly.TimestampBoundCase getTimestampBoundCase(); } /** - * - * *
    * Message type to initiate a read-only transaction.
    * 
* * Protobuf type {@code google.spanner.v1.TransactionOptions.ReadOnly} */ - public static final class ReadOnly extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ReadOnly extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.spanner.v1.TransactionOptions.ReadOnly) ReadOnlyOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ReadOnly.newBuilder() to construct. private ReadOnly(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ReadOnly() {} + private ReadOnly() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ReadOnly(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.TransactionProto - .internal_static_google_spanner_v1_TransactionOptions_ReadOnly_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_TransactionOptions_ReadOnly_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.TransactionProto - .internal_static_google_spanner_v1_TransactionOptions_ReadOnly_fieldAccessorTable + return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_TransactionOptions_ReadOnly_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.TransactionOptions.ReadOnly.class, - com.google.spanner.v1.TransactionOptions.ReadOnly.Builder.class); + com.google.spanner.v1.TransactionOptions.ReadOnly.class, com.google.spanner.v1.TransactionOptions.ReadOnly.Builder.class); } private int timestampBoundCase_ = 0; private java.lang.Object timestampBound_; - public enum TimestampBoundCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { STRONG(1), MIN_READ_TIMESTAMP(2), @@ -1898,7 +1725,6 @@ public enum TimestampBoundCase EXACT_STALENESS(5), TIMESTAMPBOUND_NOT_SET(0); private final int value; - private TimestampBoundCase(int value) { this.value = value; } @@ -1914,43 +1740,34 @@ public static TimestampBoundCase valueOf(int value) { public static TimestampBoundCase forNumber(int value) { switch (value) { - case 1: - return STRONG; - case 2: - return MIN_READ_TIMESTAMP; - case 3: - return MAX_STALENESS; - case 4: - return READ_TIMESTAMP; - case 5: - return EXACT_STALENESS; - case 0: - return TIMESTAMPBOUND_NOT_SET; - default: - return null; + case 1: return STRONG; + case 2: return MIN_READ_TIMESTAMP; + case 3: return MAX_STALENESS; + case 4: return READ_TIMESTAMP; + case 5: return EXACT_STALENESS; + case 0: return TIMESTAMPBOUND_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public TimestampBoundCase getTimestampBoundCase() { - return TimestampBoundCase.forNumber(timestampBoundCase_); + public TimestampBoundCase + getTimestampBoundCase() { + return TimestampBoundCase.forNumber( + timestampBoundCase_); } public static final int STRONG_FIELD_NUMBER = 1; /** - * - * *
      * Read at a timestamp where all previously committed transactions
      * are visible.
      * 
* * bool strong = 1; - * * @return Whether the strong field is set. */ @java.lang.Override @@ -1958,15 +1775,12 @@ public boolean hasStrong() { return timestampBoundCase_ == 1; } /** - * - * *
      * Read at a timestamp where all previously committed transactions
      * are visible.
      * 
* * bool strong = 1; - * * @return The strong. */ @java.lang.Override @@ -1979,8 +1793,6 @@ public boolean getStrong() { public static final int MIN_READ_TIMESTAMP_FIELD_NUMBER = 2; /** - * - * *
      * Executes all reads at a timestamp >= `min_read_timestamp`.
      * This is useful for requesting fresher data than some previous
@@ -1992,7 +1804,6 @@ public boolean getStrong() {
      * 
* * .google.protobuf.Timestamp min_read_timestamp = 2; - * * @return Whether the minReadTimestamp field is set. */ @java.lang.Override @@ -2000,8 +1811,6 @@ public boolean hasMinReadTimestamp() { return timestampBoundCase_ == 2; } /** - * - * *
      * Executes all reads at a timestamp >= `min_read_timestamp`.
      * This is useful for requesting fresher data than some previous
@@ -2013,19 +1822,16 @@ public boolean hasMinReadTimestamp() {
      * 
* * .google.protobuf.Timestamp min_read_timestamp = 2; - * * @return The minReadTimestamp. */ @java.lang.Override public com.google.protobuf.Timestamp getMinReadTimestamp() { if (timestampBoundCase_ == 2) { - return (com.google.protobuf.Timestamp) timestampBound_; + return (com.google.protobuf.Timestamp) timestampBound_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } /** - * - * *
      * Executes all reads at a timestamp >= `min_read_timestamp`.
      * This is useful for requesting fresher data than some previous
@@ -2041,15 +1847,13 @@ public com.google.protobuf.Timestamp getMinReadTimestamp() {
     @java.lang.Override
     public com.google.protobuf.TimestampOrBuilder getMinReadTimestampOrBuilder() {
       if (timestampBoundCase_ == 2) {
-        return (com.google.protobuf.Timestamp) timestampBound_;
+         return (com.google.protobuf.Timestamp) timestampBound_;
       }
       return com.google.protobuf.Timestamp.getDefaultInstance();
     }
 
     public static final int MAX_STALENESS_FIELD_NUMBER = 3;
     /**
-     *
-     *
      * 
      * Read data at a timestamp >= `NOW - max_staleness`
      * seconds. Guarantees that all writes that have committed more
@@ -2065,7 +1869,6 @@ public com.google.protobuf.TimestampOrBuilder getMinReadTimestampOrBuilder() {
      * 
* * .google.protobuf.Duration max_staleness = 3; - * * @return Whether the maxStaleness field is set. */ @java.lang.Override @@ -2073,8 +1876,6 @@ public boolean hasMaxStaleness() { return timestampBoundCase_ == 3; } /** - * - * *
      * Read data at a timestamp >= `NOW - max_staleness`
      * seconds. Guarantees that all writes that have committed more
@@ -2090,19 +1891,16 @@ public boolean hasMaxStaleness() {
      * 
* * .google.protobuf.Duration max_staleness = 3; - * * @return The maxStaleness. */ @java.lang.Override public com.google.protobuf.Duration getMaxStaleness() { if (timestampBoundCase_ == 3) { - return (com.google.protobuf.Duration) timestampBound_; + return (com.google.protobuf.Duration) timestampBound_; } return com.google.protobuf.Duration.getDefaultInstance(); } /** - * - * *
      * Read data at a timestamp >= `NOW - max_staleness`
      * seconds. Guarantees that all writes that have committed more
@@ -2122,15 +1920,13 @@ public com.google.protobuf.Duration getMaxStaleness() {
     @java.lang.Override
     public com.google.protobuf.DurationOrBuilder getMaxStalenessOrBuilder() {
       if (timestampBoundCase_ == 3) {
-        return (com.google.protobuf.Duration) timestampBound_;
+         return (com.google.protobuf.Duration) timestampBound_;
       }
       return com.google.protobuf.Duration.getDefaultInstance();
     }
 
     public static final int READ_TIMESTAMP_FIELD_NUMBER = 4;
     /**
-     *
-     *
      * 
      * Executes all reads at the given timestamp. Unlike other modes,
      * reads at a specific timestamp are repeatable; the same read at
@@ -2145,7 +1941,6 @@ public com.google.protobuf.DurationOrBuilder getMaxStalenessOrBuilder() {
      * 
* * .google.protobuf.Timestamp read_timestamp = 4; - * * @return Whether the readTimestamp field is set. */ @java.lang.Override @@ -2153,8 +1948,6 @@ public boolean hasReadTimestamp() { return timestampBoundCase_ == 4; } /** - * - * *
      * Executes all reads at the given timestamp. Unlike other modes,
      * reads at a specific timestamp are repeatable; the same read at
@@ -2169,19 +1962,16 @@ public boolean hasReadTimestamp() {
      * 
* * .google.protobuf.Timestamp read_timestamp = 4; - * * @return The readTimestamp. */ @java.lang.Override public com.google.protobuf.Timestamp getReadTimestamp() { if (timestampBoundCase_ == 4) { - return (com.google.protobuf.Timestamp) timestampBound_; + return (com.google.protobuf.Timestamp) timestampBound_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } /** - * - * *
      * Executes all reads at the given timestamp. Unlike other modes,
      * reads at a specific timestamp are repeatable; the same read at
@@ -2200,15 +1990,13 @@ public com.google.protobuf.Timestamp getReadTimestamp() {
     @java.lang.Override
     public com.google.protobuf.TimestampOrBuilder getReadTimestampOrBuilder() {
       if (timestampBoundCase_ == 4) {
-        return (com.google.protobuf.Timestamp) timestampBound_;
+         return (com.google.protobuf.Timestamp) timestampBound_;
       }
       return com.google.protobuf.Timestamp.getDefaultInstance();
     }
 
     public static final int EXACT_STALENESS_FIELD_NUMBER = 5;
     /**
-     *
-     *
      * 
      * Executes all reads at a timestamp that is `exact_staleness`
      * old. The timestamp is chosen soon after the read is started.
@@ -2222,7 +2010,6 @@ public com.google.protobuf.TimestampOrBuilder getReadTimestampOrBuilder() {
      * 
* * .google.protobuf.Duration exact_staleness = 5; - * * @return Whether the exactStaleness field is set. */ @java.lang.Override @@ -2230,8 +2017,6 @@ public boolean hasExactStaleness() { return timestampBoundCase_ == 5; } /** - * - * *
      * Executes all reads at a timestamp that is `exact_staleness`
      * old. The timestamp is chosen soon after the read is started.
@@ -2245,19 +2030,16 @@ public boolean hasExactStaleness() {
      * 
* * .google.protobuf.Duration exact_staleness = 5; - * * @return The exactStaleness. */ @java.lang.Override public com.google.protobuf.Duration getExactStaleness() { if (timestampBoundCase_ == 5) { - return (com.google.protobuf.Duration) timestampBound_; + return (com.google.protobuf.Duration) timestampBound_; } return com.google.protobuf.Duration.getDefaultInstance(); } /** - * - * *
      * Executes all reads at a timestamp that is `exact_staleness`
      * old. The timestamp is chosen soon after the read is started.
@@ -2275,7 +2057,7 @@ public com.google.protobuf.Duration getExactStaleness() {
     @java.lang.Override
     public com.google.protobuf.DurationOrBuilder getExactStalenessOrBuilder() {
       if (timestampBoundCase_ == 5) {
-        return (com.google.protobuf.Duration) timestampBound_;
+         return (com.google.protobuf.Duration) timestampBound_;
       }
       return com.google.protobuf.Duration.getDefaultInstance();
     }
@@ -2283,8 +2065,6 @@ public com.google.protobuf.DurationOrBuilder getExactStalenessOrBuilder() {
     public static final int RETURN_READ_TIMESTAMP_FIELD_NUMBER = 6;
     private boolean returnReadTimestamp_ = false;
     /**
-     *
-     *
      * 
      * If true, the Cloud Spanner-selected read timestamp is included in
      * the [Transaction][google.spanner.v1.Transaction] message that describes
@@ -2292,7 +2072,6 @@ public com.google.protobuf.DurationOrBuilder getExactStalenessOrBuilder() {
      * 
* * bool return_read_timestamp = 6; - * * @return The returnReadTimestamp. */ @java.lang.Override @@ -2301,7 +2080,6 @@ public boolean getReturnReadTimestamp() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2313,9 +2091,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 (timestampBoundCase_ == 1) { - output.writeBool(1, (boolean) ((java.lang.Boolean) timestampBound_)); + output.writeBool( + 1, (boolean)((java.lang.Boolean) timestampBound_)); } if (timestampBoundCase_ == 2) { output.writeMessage(2, (com.google.protobuf.Timestamp) timestampBound_); @@ -2342,32 +2122,29 @@ public int getSerializedSize() { size = 0; if (timestampBoundCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 1, (boolean) ((java.lang.Boolean) timestampBound_)); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize( + 1, (boolean)((java.lang.Boolean) timestampBound_)); } if (timestampBoundCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.protobuf.Timestamp) timestampBound_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.protobuf.Timestamp) timestampBound_); } if (timestampBoundCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.protobuf.Duration) timestampBound_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.protobuf.Duration) timestampBound_); } if (timestampBoundCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, (com.google.protobuf.Timestamp) timestampBound_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (com.google.protobuf.Timestamp) timestampBound_); } if (timestampBoundCase_ == 5) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 5, (com.google.protobuf.Duration) timestampBound_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, (com.google.protobuf.Duration) timestampBound_); } if (returnReadTimestamp_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, returnReadTimestamp_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, returnReadTimestamp_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2377,31 +2154,36 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.v1.TransactionOptions.ReadOnly)) { return super.equals(obj); } - com.google.spanner.v1.TransactionOptions.ReadOnly other = - (com.google.spanner.v1.TransactionOptions.ReadOnly) obj; + com.google.spanner.v1.TransactionOptions.ReadOnly other = (com.google.spanner.v1.TransactionOptions.ReadOnly) obj; - if (getReturnReadTimestamp() != other.getReturnReadTimestamp()) return false; + if (getReturnReadTimestamp() + != other.getReturnReadTimestamp()) return false; if (!getTimestampBoundCase().equals(other.getTimestampBoundCase())) return false; switch (timestampBoundCase_) { case 1: - if (getStrong() != other.getStrong()) return false; + if (getStrong() + != other.getStrong()) return false; break; case 2: - if (!getMinReadTimestamp().equals(other.getMinReadTimestamp())) return false; + if (!getMinReadTimestamp() + .equals(other.getMinReadTimestamp())) return false; break; case 3: - if (!getMaxStaleness().equals(other.getMaxStaleness())) return false; + if (!getMaxStaleness() + .equals(other.getMaxStaleness())) return false; break; case 4: - if (!getReadTimestamp().equals(other.getReadTimestamp())) return false; + if (!getReadTimestamp() + .equals(other.getReadTimestamp())) return false; break; case 5: - if (!getExactStaleness().equals(other.getExactStaleness())) return false; + if (!getExactStaleness() + .equals(other.getExactStaleness())) return false; break; case 0: default: @@ -2418,11 +2200,13 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + RETURN_READ_TIMESTAMP_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReturnReadTimestamp()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getReturnReadTimestamp()); switch (timestampBoundCase_) { case 1: hash = (37 * hash) + STRONG_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getStrong()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getStrong()); break; case 2: hash = (37 * hash) + MIN_READ_TIMESTAMP_FIELD_NUMBER; @@ -2449,93 +2233,87 @@ public int hashCode() { } public static com.google.spanner.v1.TransactionOptions.ReadOnly parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.TransactionOptions.ReadOnly parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.TransactionOptions.ReadOnly parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.TransactionOptions.ReadOnly parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.TransactionOptions.ReadOnly parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.TransactionOptions.ReadOnly parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.v1.TransactionOptions.ReadOnly parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.spanner.v1.TransactionOptions.ReadOnly parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.TransactionOptions.ReadOnly parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.spanner.v1.TransactionOptions.ReadOnly parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.spanner.v1.TransactionOptions.ReadOnly parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.v1.TransactionOptions.ReadOnly parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.TransactionOptions.ReadOnly parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.TransactionOptions.ReadOnly parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.v1.TransactionOptions.ReadOnly prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2545,41 +2323,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Message type to initiate a read-only transaction.
      * 
* * Protobuf type {@code google.spanner.v1.TransactionOptions.ReadOnly} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.TransactionOptions.ReadOnly) com.google.spanner.v1.TransactionOptions.ReadOnlyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.spanner.v1.TransactionProto - .internal_static_google_spanner_v1_TransactionOptions_ReadOnly_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_TransactionOptions_ReadOnly_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.TransactionProto - .internal_static_google_spanner_v1_TransactionOptions_ReadOnly_fieldAccessorTable + return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_TransactionOptions_ReadOnly_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.TransactionOptions.ReadOnly.class, - com.google.spanner.v1.TransactionOptions.ReadOnly.Builder.class); + com.google.spanner.v1.TransactionOptions.ReadOnly.class, com.google.spanner.v1.TransactionOptions.ReadOnly.Builder.class); } // Construct using com.google.spanner.v1.TransactionOptions.ReadOnly.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -2603,9 +2379,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.spanner.v1.TransactionProto - .internal_static_google_spanner_v1_TransactionOptions_ReadOnly_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_TransactionOptions_ReadOnly_descriptor; } @java.lang.Override @@ -2624,11 +2400,8 @@ public com.google.spanner.v1.TransactionOptions.ReadOnly build() { @java.lang.Override public com.google.spanner.v1.TransactionOptions.ReadOnly buildPartial() { - com.google.spanner.v1.TransactionOptions.ReadOnly result = - new com.google.spanner.v1.TransactionOptions.ReadOnly(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.spanner.v1.TransactionOptions.ReadOnly result = new com.google.spanner.v1.TransactionOptions.ReadOnly(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -2644,16 +2417,20 @@ private void buildPartial0(com.google.spanner.v1.TransactionOptions.ReadOnly res private void buildPartialOneofs(com.google.spanner.v1.TransactionOptions.ReadOnly result) { result.timestampBoundCase_ = timestampBoundCase_; result.timestampBound_ = this.timestampBound_; - if (timestampBoundCase_ == 2 && minReadTimestampBuilder_ != null) { + if (timestampBoundCase_ == 2 && + minReadTimestampBuilder_ != null) { result.timestampBound_ = minReadTimestampBuilder_.build(); } - if (timestampBoundCase_ == 3 && maxStalenessBuilder_ != null) { + if (timestampBoundCase_ == 3 && + maxStalenessBuilder_ != null) { result.timestampBound_ = maxStalenessBuilder_.build(); } - if (timestampBoundCase_ == 4 && readTimestampBuilder_ != null) { + if (timestampBoundCase_ == 4 && + readTimestampBuilder_ != null) { result.timestampBound_ = readTimestampBuilder_.build(); } - if (timestampBoundCase_ == 5 && exactStalenessBuilder_ != null) { + if (timestampBoundCase_ == 5 && + exactStalenessBuilder_ != null) { result.timestampBound_ = exactStalenessBuilder_.build(); } } @@ -2662,41 +2439,38 @@ private void buildPartialOneofs(com.google.spanner.v1.TransactionOptions.ReadOnl public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.spanner.v1.TransactionOptions.ReadOnly) { - return mergeFrom((com.google.spanner.v1.TransactionOptions.ReadOnly) other); + return mergeFrom((com.google.spanner.v1.TransactionOptions.ReadOnly)other); } else { super.mergeFrom(other); return this; @@ -2704,41 +2478,34 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.v1.TransactionOptions.ReadOnly other) { - if (other == com.google.spanner.v1.TransactionOptions.ReadOnly.getDefaultInstance()) - return this; + if (other == com.google.spanner.v1.TransactionOptions.ReadOnly.getDefaultInstance()) return this; if (other.getReturnReadTimestamp() != false) { setReturnReadTimestamp(other.getReturnReadTimestamp()); } switch (other.getTimestampBoundCase()) { - case STRONG: - { - setStrong(other.getStrong()); - break; - } - case MIN_READ_TIMESTAMP: - { - mergeMinReadTimestamp(other.getMinReadTimestamp()); - break; - } - case MAX_STALENESS: - { - mergeMaxStaleness(other.getMaxStaleness()); - break; - } - case READ_TIMESTAMP: - { - mergeReadTimestamp(other.getReadTimestamp()); - break; - } - case EXACT_STALENESS: - { - mergeExactStaleness(other.getExactStaleness()); - break; - } - case TIMESTAMPBOUND_NOT_SET: - { - break; - } + case STRONG: { + setStrong(other.getStrong()); + break; + } + case MIN_READ_TIMESTAMP: { + mergeMinReadTimestamp(other.getMinReadTimestamp()); + break; + } + case MAX_STALENESS: { + mergeMaxStaleness(other.getMaxStaleness()); + break; + } + case READ_TIMESTAMP: { + mergeReadTimestamp(other.getReadTimestamp()); + break; + } + case EXACT_STALENESS: { + mergeExactStaleness(other.getExactStaleness()); + break; + } + case TIMESTAMPBOUND_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -2766,51 +2533,50 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - timestampBound_ = input.readBool(); - timestampBoundCase_ = 1; - break; - } // case 8 - case 18: - { - input.readMessage( - getMinReadTimestampFieldBuilder().getBuilder(), extensionRegistry); - timestampBoundCase_ = 2; - break; - } // case 18 - case 26: - { - input.readMessage(getMaxStalenessFieldBuilder().getBuilder(), extensionRegistry); - timestampBoundCase_ = 3; - break; - } // case 26 - case 34: - { - input.readMessage(getReadTimestampFieldBuilder().getBuilder(), extensionRegistry); - timestampBoundCase_ = 4; - break; - } // case 34 - case 42: - { - input.readMessage( - getExactStalenessFieldBuilder().getBuilder(), extensionRegistry); - timestampBoundCase_ = 5; - break; - } // case 42 - case 48: - { - returnReadTimestamp_ = input.readBool(); - bitField0_ |= 0x00000020; - break; - } // case 48 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + timestampBound_ = input.readBool(); + timestampBoundCase_ = 1; + break; + } // case 8 + case 18: { + input.readMessage( + getMinReadTimestampFieldBuilder().getBuilder(), + extensionRegistry); + timestampBoundCase_ = 2; + break; + } // case 18 + case 26: { + input.readMessage( + getMaxStalenessFieldBuilder().getBuilder(), + extensionRegistry); + timestampBoundCase_ = 3; + break; + } // case 26 + case 34: { + input.readMessage( + getReadTimestampFieldBuilder().getBuilder(), + extensionRegistry); + timestampBoundCase_ = 4; + break; + } // case 34 + case 42: { + input.readMessage( + getExactStalenessFieldBuilder().getBuilder(), + extensionRegistry); + timestampBoundCase_ = 5; + break; + } // case 42 + case 48: { + returnReadTimestamp_ = input.readBool(); + bitField0_ |= 0x00000020; + break; + } // case 48 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2820,12 +2586,12 @@ public Builder mergeFrom( } // finally return this; } - private int timestampBoundCase_ = 0; private java.lang.Object timestampBound_; - - public TimestampBoundCase getTimestampBoundCase() { - return TimestampBoundCase.forNumber(timestampBoundCase_); + public TimestampBoundCase + getTimestampBoundCase() { + return TimestampBoundCase.forNumber( + timestampBoundCase_); } public Builder clearTimestampBound() { @@ -2838,30 +2604,24 @@ public Builder clearTimestampBound() { private int bitField0_; /** - * - * *
        * Read at a timestamp where all previously committed transactions
        * are visible.
        * 
* * bool strong = 1; - * * @return Whether the strong field is set. */ public boolean hasStrong() { return timestampBoundCase_ == 1; } /** - * - * *
        * Read at a timestamp where all previously committed transactions
        * are visible.
        * 
* * bool strong = 1; - * * @return The strong. */ public boolean getStrong() { @@ -2871,35 +2631,29 @@ public boolean getStrong() { return false; } /** - * - * *
        * Read at a timestamp where all previously committed transactions
        * are visible.
        * 
* * bool strong = 1; - * * @param value The strong to set. * @return This builder for chaining. */ public Builder setStrong(boolean value) { - + timestampBoundCase_ = 1; timestampBound_ = value; onChanged(); return this; } /** - * - * *
        * Read at a timestamp where all previously committed transactions
        * are visible.
        * 
* * bool strong = 1; - * * @return This builder for chaining. */ public Builder clearStrong() { @@ -2912,13 +2666,8 @@ public Builder clearStrong() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - minReadTimestampBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> minReadTimestampBuilder_; /** - * - * *
        * Executes all reads at a timestamp >= `min_read_timestamp`.
        * This is useful for requesting fresher data than some previous
@@ -2930,7 +2679,6 @@ public Builder clearStrong() {
        * 
* * .google.protobuf.Timestamp min_read_timestamp = 2; - * * @return Whether the minReadTimestamp field is set. */ @java.lang.Override @@ -2938,8 +2686,6 @@ public boolean hasMinReadTimestamp() { return timestampBoundCase_ == 2; } /** - * - * *
        * Executes all reads at a timestamp >= `min_read_timestamp`.
        * This is useful for requesting fresher data than some previous
@@ -2951,7 +2697,6 @@ public boolean hasMinReadTimestamp() {
        * 
* * .google.protobuf.Timestamp min_read_timestamp = 2; - * * @return The minReadTimestamp. */ @java.lang.Override @@ -2969,8 +2714,6 @@ public com.google.protobuf.Timestamp getMinReadTimestamp() { } } /** - * - * *
        * Executes all reads at a timestamp >= `min_read_timestamp`.
        * This is useful for requesting fresher data than some previous
@@ -2997,8 +2740,6 @@ public Builder setMinReadTimestamp(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Executes all reads at a timestamp >= `min_read_timestamp`.
        * This is useful for requesting fresher data than some previous
@@ -3011,7 +2752,8 @@ public Builder setMinReadTimestamp(com.google.protobuf.Timestamp value) {
        *
        * .google.protobuf.Timestamp min_read_timestamp = 2;
        */
-      public Builder setMinReadTimestamp(com.google.protobuf.Timestamp.Builder builderForValue) {
+      public Builder setMinReadTimestamp(
+          com.google.protobuf.Timestamp.Builder builderForValue) {
         if (minReadTimestampBuilder_ == null) {
           timestampBound_ = builderForValue.build();
           onChanged();
@@ -3022,8 +2764,6 @@ public Builder setMinReadTimestamp(com.google.protobuf.Timestamp.Builder builder
         return this;
       }
       /**
-       *
-       *
        * 
        * Executes all reads at a timestamp >= `min_read_timestamp`.
        * This is useful for requesting fresher data than some previous
@@ -3038,13 +2778,10 @@ public Builder setMinReadTimestamp(com.google.protobuf.Timestamp.Builder builder
        */
       public Builder mergeMinReadTimestamp(com.google.protobuf.Timestamp value) {
         if (minReadTimestampBuilder_ == null) {
-          if (timestampBoundCase_ == 2
-              && timestampBound_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
-            timestampBound_ =
-                com.google.protobuf.Timestamp.newBuilder(
-                        (com.google.protobuf.Timestamp) timestampBound_)
-                    .mergeFrom(value)
-                    .buildPartial();
+          if (timestampBoundCase_ == 2 &&
+              timestampBound_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+            timestampBound_ = com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) timestampBound_)
+                .mergeFrom(value).buildPartial();
           } else {
             timestampBound_ = value;
           }
@@ -3060,8 +2797,6 @@ public Builder mergeMinReadTimestamp(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Executes all reads at a timestamp >= `min_read_timestamp`.
        * This is useful for requesting fresher data than some previous
@@ -3091,8 +2826,6 @@ public Builder clearMinReadTimestamp() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Executes all reads at a timestamp >= `min_read_timestamp`.
        * This is useful for requesting fresher data than some previous
@@ -3109,8 +2842,6 @@ public com.google.protobuf.Timestamp.Builder getMinReadTimestampBuilder() {
         return getMinReadTimestampFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Executes all reads at a timestamp >= `min_read_timestamp`.
        * This is useful for requesting fresher data than some previous
@@ -3135,8 +2866,6 @@ public com.google.protobuf.TimestampOrBuilder getMinReadTimestampOrBuilder() {
         }
       }
       /**
-       *
-       *
        * 
        * Executes all reads at a timestamp >= `min_read_timestamp`.
        * This is useful for requesting fresher data than some previous
@@ -3150,19 +2879,14 @@ public com.google.protobuf.TimestampOrBuilder getMinReadTimestampOrBuilder() {
        * .google.protobuf.Timestamp min_read_timestamp = 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> 
           getMinReadTimestampFieldBuilder() {
         if (minReadTimestampBuilder_ == null) {
           if (!(timestampBoundCase_ == 2)) {
             timestampBound_ = com.google.protobuf.Timestamp.getDefaultInstance();
           }
-          minReadTimestampBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.protobuf.Timestamp,
-                  com.google.protobuf.Timestamp.Builder,
-                  com.google.protobuf.TimestampOrBuilder>(
+          minReadTimestampBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
                   (com.google.protobuf.Timestamp) timestampBound_,
                   getParentForChildren(),
                   isClean());
@@ -3174,13 +2898,8 @@ public com.google.protobuf.TimestampOrBuilder getMinReadTimestampOrBuilder() {
       }
 
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Duration,
-              com.google.protobuf.Duration.Builder,
-              com.google.protobuf.DurationOrBuilder>
-          maxStalenessBuilder_;
+          com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> maxStalenessBuilder_;
       /**
-       *
-       *
        * 
        * Read data at a timestamp >= `NOW - max_staleness`
        * seconds. Guarantees that all writes that have committed more
@@ -3196,7 +2915,6 @@ public com.google.protobuf.TimestampOrBuilder getMinReadTimestampOrBuilder() {
        * 
* * .google.protobuf.Duration max_staleness = 3; - * * @return Whether the maxStaleness field is set. */ @java.lang.Override @@ -3204,8 +2922,6 @@ public boolean hasMaxStaleness() { return timestampBoundCase_ == 3; } /** - * - * *
        * Read data at a timestamp >= `NOW - max_staleness`
        * seconds. Guarantees that all writes that have committed more
@@ -3221,7 +2937,6 @@ public boolean hasMaxStaleness() {
        * 
* * .google.protobuf.Duration max_staleness = 3; - * * @return The maxStaleness. */ @java.lang.Override @@ -3239,8 +2954,6 @@ public com.google.protobuf.Duration getMaxStaleness() { } } /** - * - * *
        * Read data at a timestamp >= `NOW - max_staleness`
        * seconds. Guarantees that all writes that have committed more
@@ -3271,8 +2984,6 @@ public Builder setMaxStaleness(com.google.protobuf.Duration value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Read data at a timestamp >= `NOW - max_staleness`
        * seconds. Guarantees that all writes that have committed more
@@ -3289,7 +3000,8 @@ public Builder setMaxStaleness(com.google.protobuf.Duration value) {
        *
        * .google.protobuf.Duration max_staleness = 3;
        */
-      public Builder setMaxStaleness(com.google.protobuf.Duration.Builder builderForValue) {
+      public Builder setMaxStaleness(
+          com.google.protobuf.Duration.Builder builderForValue) {
         if (maxStalenessBuilder_ == null) {
           timestampBound_ = builderForValue.build();
           onChanged();
@@ -3300,8 +3012,6 @@ public Builder setMaxStaleness(com.google.protobuf.Duration.Builder builderForVa
         return this;
       }
       /**
-       *
-       *
        * 
        * Read data at a timestamp >= `NOW - max_staleness`
        * seconds. Guarantees that all writes that have committed more
@@ -3320,13 +3030,10 @@ public Builder setMaxStaleness(com.google.protobuf.Duration.Builder builderForVa
        */
       public Builder mergeMaxStaleness(com.google.protobuf.Duration value) {
         if (maxStalenessBuilder_ == null) {
-          if (timestampBoundCase_ == 3
-              && timestampBound_ != com.google.protobuf.Duration.getDefaultInstance()) {
-            timestampBound_ =
-                com.google.protobuf.Duration.newBuilder(
-                        (com.google.protobuf.Duration) timestampBound_)
-                    .mergeFrom(value)
-                    .buildPartial();
+          if (timestampBoundCase_ == 3 &&
+              timestampBound_ != com.google.protobuf.Duration.getDefaultInstance()) {
+            timestampBound_ = com.google.protobuf.Duration.newBuilder((com.google.protobuf.Duration) timestampBound_)
+                .mergeFrom(value).buildPartial();
           } else {
             timestampBound_ = value;
           }
@@ -3342,8 +3049,6 @@ public Builder mergeMaxStaleness(com.google.protobuf.Duration value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Read data at a timestamp >= `NOW - max_staleness`
        * seconds. Guarantees that all writes that have committed more
@@ -3377,8 +3082,6 @@ public Builder clearMaxStaleness() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Read data at a timestamp >= `NOW - max_staleness`
        * seconds. Guarantees that all writes that have committed more
@@ -3399,8 +3102,6 @@ public com.google.protobuf.Duration.Builder getMaxStalenessBuilder() {
         return getMaxStalenessFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Read data at a timestamp >= `NOW - max_staleness`
        * seconds. Guarantees that all writes that have committed more
@@ -3429,8 +3130,6 @@ public com.google.protobuf.DurationOrBuilder getMaxStalenessOrBuilder() {
         }
       }
       /**
-       *
-       *
        * 
        * Read data at a timestamp >= `NOW - max_staleness`
        * seconds. Guarantees that all writes that have committed more
@@ -3448,19 +3147,14 @@ public com.google.protobuf.DurationOrBuilder getMaxStalenessOrBuilder() {
        * .google.protobuf.Duration max_staleness = 3;
        */
       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> 
           getMaxStalenessFieldBuilder() {
         if (maxStalenessBuilder_ == null) {
           if (!(timestampBoundCase_ == 3)) {
             timestampBound_ = com.google.protobuf.Duration.getDefaultInstance();
           }
-          maxStalenessBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.protobuf.Duration,
-                  com.google.protobuf.Duration.Builder,
-                  com.google.protobuf.DurationOrBuilder>(
+          maxStalenessBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
                   (com.google.protobuf.Duration) timestampBound_,
                   getParentForChildren(),
                   isClean());
@@ -3472,13 +3166,8 @@ public com.google.protobuf.DurationOrBuilder getMaxStalenessOrBuilder() {
       }
 
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Timestamp,
-              com.google.protobuf.Timestamp.Builder,
-              com.google.protobuf.TimestampOrBuilder>
-          readTimestampBuilder_;
+          com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> readTimestampBuilder_;
       /**
-       *
-       *
        * 
        * Executes all reads at the given timestamp. Unlike other modes,
        * reads at a specific timestamp are repeatable; the same read at
@@ -3493,7 +3182,6 @@ public com.google.protobuf.DurationOrBuilder getMaxStalenessOrBuilder() {
        * 
* * .google.protobuf.Timestamp read_timestamp = 4; - * * @return Whether the readTimestamp field is set. */ @java.lang.Override @@ -3501,8 +3189,6 @@ public boolean hasReadTimestamp() { return timestampBoundCase_ == 4; } /** - * - * *
        * Executes all reads at the given timestamp. Unlike other modes,
        * reads at a specific timestamp are repeatable; the same read at
@@ -3517,7 +3203,6 @@ public boolean hasReadTimestamp() {
        * 
* * .google.protobuf.Timestamp read_timestamp = 4; - * * @return The readTimestamp. */ @java.lang.Override @@ -3535,8 +3220,6 @@ public com.google.protobuf.Timestamp getReadTimestamp() { } } /** - * - * *
        * Executes all reads at the given timestamp. Unlike other modes,
        * reads at a specific timestamp are repeatable; the same read at
@@ -3566,8 +3249,6 @@ public Builder setReadTimestamp(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Executes all reads at the given timestamp. Unlike other modes,
        * reads at a specific timestamp are repeatable; the same read at
@@ -3583,7 +3264,8 @@ public Builder setReadTimestamp(com.google.protobuf.Timestamp value) {
        *
        * .google.protobuf.Timestamp read_timestamp = 4;
        */
-      public Builder setReadTimestamp(com.google.protobuf.Timestamp.Builder builderForValue) {
+      public Builder setReadTimestamp(
+          com.google.protobuf.Timestamp.Builder builderForValue) {
         if (readTimestampBuilder_ == null) {
           timestampBound_ = builderForValue.build();
           onChanged();
@@ -3594,8 +3276,6 @@ public Builder setReadTimestamp(com.google.protobuf.Timestamp.Builder builderFor
         return this;
       }
       /**
-       *
-       *
        * 
        * Executes all reads at the given timestamp. Unlike other modes,
        * reads at a specific timestamp are repeatable; the same read at
@@ -3613,13 +3293,10 @@ public Builder setReadTimestamp(com.google.protobuf.Timestamp.Builder builderFor
        */
       public Builder mergeReadTimestamp(com.google.protobuf.Timestamp value) {
         if (readTimestampBuilder_ == null) {
-          if (timestampBoundCase_ == 4
-              && timestampBound_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
-            timestampBound_ =
-                com.google.protobuf.Timestamp.newBuilder(
-                        (com.google.protobuf.Timestamp) timestampBound_)
-                    .mergeFrom(value)
-                    .buildPartial();
+          if (timestampBoundCase_ == 4 &&
+              timestampBound_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+            timestampBound_ = com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) timestampBound_)
+                .mergeFrom(value).buildPartial();
           } else {
             timestampBound_ = value;
           }
@@ -3635,8 +3312,6 @@ public Builder mergeReadTimestamp(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Executes all reads at the given timestamp. Unlike other modes,
        * reads at a specific timestamp are repeatable; the same read at
@@ -3669,8 +3344,6 @@ public Builder clearReadTimestamp() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Executes all reads at the given timestamp. Unlike other modes,
        * reads at a specific timestamp are repeatable; the same read at
@@ -3690,8 +3363,6 @@ public com.google.protobuf.Timestamp.Builder getReadTimestampBuilder() {
         return getReadTimestampFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Executes all reads at the given timestamp. Unlike other modes,
        * reads at a specific timestamp are repeatable; the same read at
@@ -3719,8 +3390,6 @@ public com.google.protobuf.TimestampOrBuilder getReadTimestampOrBuilder() {
         }
       }
       /**
-       *
-       *
        * 
        * Executes all reads at the given timestamp. Unlike other modes,
        * reads at a specific timestamp are repeatable; the same read at
@@ -3737,19 +3406,14 @@ public com.google.protobuf.TimestampOrBuilder getReadTimestampOrBuilder() {
        * .google.protobuf.Timestamp read_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> 
           getReadTimestampFieldBuilder() {
         if (readTimestampBuilder_ == null) {
           if (!(timestampBoundCase_ == 4)) {
             timestampBound_ = com.google.protobuf.Timestamp.getDefaultInstance();
           }
-          readTimestampBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.protobuf.Timestamp,
-                  com.google.protobuf.Timestamp.Builder,
-                  com.google.protobuf.TimestampOrBuilder>(
+          readTimestampBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
                   (com.google.protobuf.Timestamp) timestampBound_,
                   getParentForChildren(),
                   isClean());
@@ -3761,13 +3425,8 @@ public com.google.protobuf.TimestampOrBuilder getReadTimestampOrBuilder() {
       }
 
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Duration,
-              com.google.protobuf.Duration.Builder,
-              com.google.protobuf.DurationOrBuilder>
-          exactStalenessBuilder_;
+          com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> exactStalenessBuilder_;
       /**
-       *
-       *
        * 
        * Executes all reads at a timestamp that is `exact_staleness`
        * old. The timestamp is chosen soon after the read is started.
@@ -3781,7 +3440,6 @@ public com.google.protobuf.TimestampOrBuilder getReadTimestampOrBuilder() {
        * 
* * .google.protobuf.Duration exact_staleness = 5; - * * @return Whether the exactStaleness field is set. */ @java.lang.Override @@ -3789,8 +3447,6 @@ public boolean hasExactStaleness() { return timestampBoundCase_ == 5; } /** - * - * *
        * Executes all reads at a timestamp that is `exact_staleness`
        * old. The timestamp is chosen soon after the read is started.
@@ -3804,7 +3460,6 @@ public boolean hasExactStaleness() {
        * 
* * .google.protobuf.Duration exact_staleness = 5; - * * @return The exactStaleness. */ @java.lang.Override @@ -3822,8 +3477,6 @@ public com.google.protobuf.Duration getExactStaleness() { } } /** - * - * *
        * Executes all reads at a timestamp that is `exact_staleness`
        * old. The timestamp is chosen soon after the read is started.
@@ -3852,8 +3505,6 @@ public Builder setExactStaleness(com.google.protobuf.Duration value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Executes all reads at a timestamp that is `exact_staleness`
        * old. The timestamp is chosen soon after the read is started.
@@ -3868,7 +3519,8 @@ public Builder setExactStaleness(com.google.protobuf.Duration value) {
        *
        * .google.protobuf.Duration exact_staleness = 5;
        */
-      public Builder setExactStaleness(com.google.protobuf.Duration.Builder builderForValue) {
+      public Builder setExactStaleness(
+          com.google.protobuf.Duration.Builder builderForValue) {
         if (exactStalenessBuilder_ == null) {
           timestampBound_ = builderForValue.build();
           onChanged();
@@ -3879,8 +3531,6 @@ public Builder setExactStaleness(com.google.protobuf.Duration.Builder builderFor
         return this;
       }
       /**
-       *
-       *
        * 
        * Executes all reads at a timestamp that is `exact_staleness`
        * old. The timestamp is chosen soon after the read is started.
@@ -3897,13 +3547,10 @@ public Builder setExactStaleness(com.google.protobuf.Duration.Builder builderFor
        */
       public Builder mergeExactStaleness(com.google.protobuf.Duration value) {
         if (exactStalenessBuilder_ == null) {
-          if (timestampBoundCase_ == 5
-              && timestampBound_ != com.google.protobuf.Duration.getDefaultInstance()) {
-            timestampBound_ =
-                com.google.protobuf.Duration.newBuilder(
-                        (com.google.protobuf.Duration) timestampBound_)
-                    .mergeFrom(value)
-                    .buildPartial();
+          if (timestampBoundCase_ == 5 &&
+              timestampBound_ != com.google.protobuf.Duration.getDefaultInstance()) {
+            timestampBound_ = com.google.protobuf.Duration.newBuilder((com.google.protobuf.Duration) timestampBound_)
+                .mergeFrom(value).buildPartial();
           } else {
             timestampBound_ = value;
           }
@@ -3919,8 +3566,6 @@ public Builder mergeExactStaleness(com.google.protobuf.Duration value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Executes all reads at a timestamp that is `exact_staleness`
        * old. The timestamp is chosen soon after the read is started.
@@ -3952,8 +3597,6 @@ public Builder clearExactStaleness() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Executes all reads at a timestamp that is `exact_staleness`
        * old. The timestamp is chosen soon after the read is started.
@@ -3972,8 +3615,6 @@ public com.google.protobuf.Duration.Builder getExactStalenessBuilder() {
         return getExactStalenessFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Executes all reads at a timestamp that is `exact_staleness`
        * old. The timestamp is chosen soon after the read is started.
@@ -4000,8 +3641,6 @@ public com.google.protobuf.DurationOrBuilder getExactStalenessOrBuilder() {
         }
       }
       /**
-       *
-       *
        * 
        * Executes all reads at a timestamp that is `exact_staleness`
        * old. The timestamp is chosen soon after the read is started.
@@ -4017,19 +3656,14 @@ public com.google.protobuf.DurationOrBuilder getExactStalenessOrBuilder() {
        * .google.protobuf.Duration exact_staleness = 5;
        */
       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> 
           getExactStalenessFieldBuilder() {
         if (exactStalenessBuilder_ == null) {
           if (!(timestampBoundCase_ == 5)) {
             timestampBound_ = com.google.protobuf.Duration.getDefaultInstance();
           }
-          exactStalenessBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.protobuf.Duration,
-                  com.google.protobuf.Duration.Builder,
-                  com.google.protobuf.DurationOrBuilder>(
+          exactStalenessBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
                   (com.google.protobuf.Duration) timestampBound_,
                   getParentForChildren(),
                   isClean());
@@ -4040,10 +3674,8 @@ public com.google.protobuf.DurationOrBuilder getExactStalenessOrBuilder() {
         return exactStalenessBuilder_;
       }
 
-      private boolean returnReadTimestamp_;
+      private boolean returnReadTimestamp_ ;
       /**
-       *
-       *
        * 
        * If true, the Cloud Spanner-selected read timestamp is included in
        * the [Transaction][google.spanner.v1.Transaction] message that describes
@@ -4051,7 +3683,6 @@ public com.google.protobuf.DurationOrBuilder getExactStalenessOrBuilder() {
        * 
* * bool return_read_timestamp = 6; - * * @return The returnReadTimestamp. */ @java.lang.Override @@ -4059,8 +3690,6 @@ public boolean getReturnReadTimestamp() { return returnReadTimestamp_; } /** - * - * *
        * If true, the Cloud Spanner-selected read timestamp is included in
        * the [Transaction][google.spanner.v1.Transaction] message that describes
@@ -4068,20 +3697,17 @@ public boolean getReturnReadTimestamp() {
        * 
* * bool return_read_timestamp = 6; - * * @param value The returnReadTimestamp to set. * @return This builder for chaining. */ public Builder setReturnReadTimestamp(boolean value) { - + returnReadTimestamp_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
        * If true, the Cloud Spanner-selected read timestamp is included in
        * the [Transaction][google.spanner.v1.Transaction] message that describes
@@ -4089,7 +3715,6 @@ public Builder setReturnReadTimestamp(boolean value) {
        * 
* * bool return_read_timestamp = 6; - * * @return This builder for chaining. */ public Builder clearReturnReadTimestamp() { @@ -4098,7 +3723,6 @@ public Builder clearReturnReadTimestamp() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4111,12 +3735,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.v1.TransactionOptions.ReadOnly) } // @@protoc_insertion_point(class_scope:google.spanner.v1.TransactionOptions.ReadOnly) private static final com.google.spanner.v1.TransactionOptions.ReadOnly DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.v1.TransactionOptions.ReadOnly(); } @@ -4125,28 +3749,27 @@ public static com.google.spanner.v1.TransactionOptions.ReadOnly getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReadOnly parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReadOnly parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4161,21 +3784,19 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.TransactionOptions.ReadOnly getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int modeCase_ = 0; private java.lang.Object mode_; - public enum ModeCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { READ_WRITE(1), PARTITIONED_DML(3), READ_ONLY(2), MODE_NOT_SET(0); private final int value; - private ModeCase(int value) { this.value = value; } @@ -4191,32 +3812,26 @@ public static ModeCase valueOf(int value) { public static ModeCase forNumber(int value) { switch (value) { - case 1: - return READ_WRITE; - case 3: - return PARTITIONED_DML; - case 2: - return READ_ONLY; - case 0: - return MODE_NOT_SET; - default: - return null; + case 1: return READ_WRITE; + case 3: return PARTITIONED_DML; + case 2: return READ_ONLY; + case 0: return MODE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public ModeCase getModeCase() { - return ModeCase.forNumber(modeCase_); + public ModeCase + getModeCase() { + return ModeCase.forNumber( + modeCase_); } public static final int READ_WRITE_FIELD_NUMBER = 1; /** - * - * *
    * Transaction may write.
    * Authorization to begin a read-write transaction requires
@@ -4225,7 +3840,6 @@ public ModeCase getModeCase() {
    * 
* * .google.spanner.v1.TransactionOptions.ReadWrite read_write = 1; - * * @return Whether the readWrite field is set. */ @java.lang.Override @@ -4233,8 +3847,6 @@ public boolean hasReadWrite() { return modeCase_ == 1; } /** - * - * *
    * Transaction may write.
    * Authorization to begin a read-write transaction requires
@@ -4243,19 +3855,16 @@ public boolean hasReadWrite() {
    * 
* * .google.spanner.v1.TransactionOptions.ReadWrite read_write = 1; - * * @return The readWrite. */ @java.lang.Override public com.google.spanner.v1.TransactionOptions.ReadWrite getReadWrite() { if (modeCase_ == 1) { - return (com.google.spanner.v1.TransactionOptions.ReadWrite) mode_; + return (com.google.spanner.v1.TransactionOptions.ReadWrite) mode_; } return com.google.spanner.v1.TransactionOptions.ReadWrite.getDefaultInstance(); } /** - * - * *
    * Transaction may write.
    * Authorization to begin a read-write transaction requires
@@ -4268,15 +3877,13 @@ public com.google.spanner.v1.TransactionOptions.ReadWrite getReadWrite() {
   @java.lang.Override
   public com.google.spanner.v1.TransactionOptions.ReadWriteOrBuilder getReadWriteOrBuilder() {
     if (modeCase_ == 1) {
-      return (com.google.spanner.v1.TransactionOptions.ReadWrite) mode_;
+       return (com.google.spanner.v1.TransactionOptions.ReadWrite) mode_;
     }
     return com.google.spanner.v1.TransactionOptions.ReadWrite.getDefaultInstance();
   }
 
   public static final int PARTITIONED_DML_FIELD_NUMBER = 3;
   /**
-   *
-   *
    * 
    * Partitioned DML transaction.
    * Authorization to begin a Partitioned DML transaction requires
@@ -4285,7 +3892,6 @@ public com.google.spanner.v1.TransactionOptions.ReadWriteOrBuilder getReadWriteO
    * 
* * .google.spanner.v1.TransactionOptions.PartitionedDml partitioned_dml = 3; - * * @return Whether the partitionedDml field is set. */ @java.lang.Override @@ -4293,8 +3899,6 @@ public boolean hasPartitionedDml() { return modeCase_ == 3; } /** - * - * *
    * Partitioned DML transaction.
    * Authorization to begin a Partitioned DML transaction requires
@@ -4303,19 +3907,16 @@ public boolean hasPartitionedDml() {
    * 
* * .google.spanner.v1.TransactionOptions.PartitionedDml partitioned_dml = 3; - * * @return The partitionedDml. */ @java.lang.Override public com.google.spanner.v1.TransactionOptions.PartitionedDml getPartitionedDml() { if (modeCase_ == 3) { - return (com.google.spanner.v1.TransactionOptions.PartitionedDml) mode_; + return (com.google.spanner.v1.TransactionOptions.PartitionedDml) mode_; } return com.google.spanner.v1.TransactionOptions.PartitionedDml.getDefaultInstance(); } /** - * - * *
    * Partitioned DML transaction.
    * Authorization to begin a Partitioned DML transaction requires
@@ -4326,18 +3927,15 @@ public com.google.spanner.v1.TransactionOptions.PartitionedDml getPartitionedDml
    * .google.spanner.v1.TransactionOptions.PartitionedDml partitioned_dml = 3;
    */
   @java.lang.Override
-  public com.google.spanner.v1.TransactionOptions.PartitionedDmlOrBuilder
-      getPartitionedDmlOrBuilder() {
+  public com.google.spanner.v1.TransactionOptions.PartitionedDmlOrBuilder getPartitionedDmlOrBuilder() {
     if (modeCase_ == 3) {
-      return (com.google.spanner.v1.TransactionOptions.PartitionedDml) mode_;
+       return (com.google.spanner.v1.TransactionOptions.PartitionedDml) mode_;
     }
     return com.google.spanner.v1.TransactionOptions.PartitionedDml.getDefaultInstance();
   }
 
   public static final int READ_ONLY_FIELD_NUMBER = 2;
   /**
-   *
-   *
    * 
    * Transaction will not write.
    * Authorization to begin a read-only transaction requires
@@ -4346,7 +3944,6 @@ public com.google.spanner.v1.TransactionOptions.PartitionedDml getPartitionedDml
    * 
* * .google.spanner.v1.TransactionOptions.ReadOnly read_only = 2; - * * @return Whether the readOnly field is set. */ @java.lang.Override @@ -4354,8 +3951,6 @@ public boolean hasReadOnly() { return modeCase_ == 2; } /** - * - * *
    * Transaction will not write.
    * Authorization to begin a read-only transaction requires
@@ -4364,19 +3959,16 @@ public boolean hasReadOnly() {
    * 
* * .google.spanner.v1.TransactionOptions.ReadOnly read_only = 2; - * * @return The readOnly. */ @java.lang.Override public com.google.spanner.v1.TransactionOptions.ReadOnly getReadOnly() { if (modeCase_ == 2) { - return (com.google.spanner.v1.TransactionOptions.ReadOnly) mode_; + return (com.google.spanner.v1.TransactionOptions.ReadOnly) mode_; } return com.google.spanner.v1.TransactionOptions.ReadOnly.getDefaultInstance(); } /** - * - * *
    * Transaction will not write.
    * Authorization to begin a read-only transaction requires
@@ -4389,13 +3981,12 @@ public com.google.spanner.v1.TransactionOptions.ReadOnly getReadOnly() {
   @java.lang.Override
   public com.google.spanner.v1.TransactionOptions.ReadOnlyOrBuilder getReadOnlyOrBuilder() {
     if (modeCase_ == 2) {
-      return (com.google.spanner.v1.TransactionOptions.ReadOnly) mode_;
+       return (com.google.spanner.v1.TransactionOptions.ReadOnly) mode_;
     }
     return com.google.spanner.v1.TransactionOptions.ReadOnly.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -4407,7 +3998,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (modeCase_ == 1) {
       output.writeMessage(1, (com.google.spanner.v1.TransactionOptions.ReadWrite) mode_);
     }
@@ -4427,19 +4019,16 @@ public int getSerializedSize() {
 
     size = 0;
     if (modeCase_ == 1) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              1, (com.google.spanner.v1.TransactionOptions.ReadWrite) mode_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, (com.google.spanner.v1.TransactionOptions.ReadWrite) mode_);
     }
     if (modeCase_ == 2) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              2, (com.google.spanner.v1.TransactionOptions.ReadOnly) mode_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, (com.google.spanner.v1.TransactionOptions.ReadOnly) mode_);
     }
     if (modeCase_ == 3) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              3, (com.google.spanner.v1.TransactionOptions.PartitionedDml) mode_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, (com.google.spanner.v1.TransactionOptions.PartitionedDml) mode_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -4449,7 +4038,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.spanner.v1.TransactionOptions)) {
       return super.equals(obj);
@@ -4459,13 +4048,16 @@ public boolean equals(final java.lang.Object obj) {
     if (!getModeCase().equals(other.getModeCase())) return false;
     switch (modeCase_) {
       case 1:
-        if (!getReadWrite().equals(other.getReadWrite())) return false;
+        if (!getReadWrite()
+            .equals(other.getReadWrite())) return false;
         break;
       case 3:
-        if (!getPartitionedDml().equals(other.getPartitionedDml())) return false;
+        if (!getPartitionedDml()
+            .equals(other.getPartitionedDml())) return false;
         break;
       case 2:
-        if (!getReadOnly().equals(other.getReadOnly())) return false;
+        if (!getReadOnly()
+            .equals(other.getReadOnly())) return false;
         break;
       case 0:
       default:
@@ -4502,104 +4094,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.spanner.v1.TransactionOptions parseFrom(java.nio.ByteBuffer data)
+  public static com.google.spanner.v1.TransactionOptions parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.TransactionOptions parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.v1.TransactionOptions parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.TransactionOptions parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.v1.TransactionOptions parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.TransactionOptions parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.v1.TransactionOptions parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.v1.TransactionOptions parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.spanner.v1.TransactionOptions parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.spanner.v1.TransactionOptions parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.v1.TransactionOptions parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.spanner.v1.TransactionOptions parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.v1.TransactionOptions parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.spanner.v1.TransactionOptions prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Transactions:
    * Each session can have at most one active transaction at a time (note that
@@ -4860,32 +4445,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.v1.TransactionOptions}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.v1.TransactionOptions)
       com.google.spanner.v1.TransactionOptionsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.v1.TransactionProto
-          .internal_static_google_spanner_v1_TransactionOptions_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_TransactionOptions_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.v1.TransactionProto
-          .internal_static_google_spanner_v1_TransactionOptions_fieldAccessorTable
+      return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_TransactionOptions_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.v1.TransactionOptions.class,
-              com.google.spanner.v1.TransactionOptions.Builder.class);
+              com.google.spanner.v1.TransactionOptions.class, com.google.spanner.v1.TransactionOptions.Builder.class);
     }
 
     // Construct using com.google.spanner.v1.TransactionOptions.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -4905,9 +4491,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.v1.TransactionProto
-          .internal_static_google_spanner_v1_TransactionOptions_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_TransactionOptions_descriptor;
     }
 
     @java.lang.Override
@@ -4926,11 +4512,8 @@ public com.google.spanner.v1.TransactionOptions build() {
 
     @java.lang.Override
     public com.google.spanner.v1.TransactionOptions buildPartial() {
-      com.google.spanner.v1.TransactionOptions result =
-          new com.google.spanner.v1.TransactionOptions(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.v1.TransactionOptions result = new com.google.spanner.v1.TransactionOptions(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -4943,13 +4526,16 @@ private void buildPartial0(com.google.spanner.v1.TransactionOptions result) {
     private void buildPartialOneofs(com.google.spanner.v1.TransactionOptions result) {
       result.modeCase_ = modeCase_;
       result.mode_ = this.mode_;
-      if (modeCase_ == 1 && readWriteBuilder_ != null) {
+      if (modeCase_ == 1 &&
+          readWriteBuilder_ != null) {
         result.mode_ = readWriteBuilder_.build();
       }
-      if (modeCase_ == 3 && partitionedDmlBuilder_ != null) {
+      if (modeCase_ == 3 &&
+          partitionedDmlBuilder_ != null) {
         result.mode_ = partitionedDmlBuilder_.build();
       }
-      if (modeCase_ == 2 && readOnlyBuilder_ != null) {
+      if (modeCase_ == 2 &&
+          readOnlyBuilder_ != null) {
         result.mode_ = readOnlyBuilder_.build();
       }
     }
@@ -4958,39 +4544,38 @@ private void buildPartialOneofs(com.google.spanner.v1.TransactionOptions 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.spanner.v1.TransactionOptions) {
-        return mergeFrom((com.google.spanner.v1.TransactionOptions) other);
+        return mergeFrom((com.google.spanner.v1.TransactionOptions)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -5000,25 +4585,21 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     public Builder mergeFrom(com.google.spanner.v1.TransactionOptions other) {
       if (other == com.google.spanner.v1.TransactionOptions.getDefaultInstance()) return this;
       switch (other.getModeCase()) {
-        case READ_WRITE:
-          {
-            mergeReadWrite(other.getReadWrite());
-            break;
-          }
-        case PARTITIONED_DML:
-          {
-            mergePartitionedDml(other.getPartitionedDml());
-            break;
-          }
-        case READ_ONLY:
-          {
-            mergeReadOnly(other.getReadOnly());
-            break;
-          }
-        case MODE_NOT_SET:
-          {
-            break;
-          }
+        case READ_WRITE: {
+          mergeReadWrite(other.getReadWrite());
+          break;
+        }
+        case PARTITIONED_DML: {
+          mergePartitionedDml(other.getPartitionedDml());
+          break;
+        }
+        case READ_ONLY: {
+          mergeReadOnly(other.getReadOnly());
+          break;
+        }
+        case MODE_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -5046,31 +4627,33 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getReadWriteFieldBuilder().getBuilder(), extensionRegistry);
-                modeCase_ = 1;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getReadOnlyFieldBuilder().getBuilder(), extensionRegistry);
-                modeCase_ = 2;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getPartitionedDmlFieldBuilder().getBuilder(), extensionRegistry);
-                modeCase_ = 3;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getReadWriteFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              modeCase_ = 1;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getReadOnlyFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              modeCase_ = 2;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getPartitionedDmlFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              modeCase_ = 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) {
@@ -5080,12 +4663,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int modeCase_ = 0;
     private java.lang.Object mode_;
-
-    public ModeCase getModeCase() {
-      return ModeCase.forNumber(modeCase_);
+    public ModeCase
+        getModeCase() {
+      return ModeCase.forNumber(
+          modeCase_);
     }
 
     public Builder clearMode() {
@@ -5098,13 +4681,8 @@ public Builder clearMode() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.TransactionOptions.ReadWrite,
-            com.google.spanner.v1.TransactionOptions.ReadWrite.Builder,
-            com.google.spanner.v1.TransactionOptions.ReadWriteOrBuilder>
-        readWriteBuilder_;
+        com.google.spanner.v1.TransactionOptions.ReadWrite, com.google.spanner.v1.TransactionOptions.ReadWrite.Builder, com.google.spanner.v1.TransactionOptions.ReadWriteOrBuilder> readWriteBuilder_;
     /**
-     *
-     *
      * 
      * Transaction may write.
      * Authorization to begin a read-write transaction requires
@@ -5113,7 +4691,6 @@ public Builder clearMode() {
      * 
* * .google.spanner.v1.TransactionOptions.ReadWrite read_write = 1; - * * @return Whether the readWrite field is set. */ @java.lang.Override @@ -5121,8 +4698,6 @@ public boolean hasReadWrite() { return modeCase_ == 1; } /** - * - * *
      * Transaction may write.
      * Authorization to begin a read-write transaction requires
@@ -5131,7 +4706,6 @@ public boolean hasReadWrite() {
      * 
* * .google.spanner.v1.TransactionOptions.ReadWrite read_write = 1; - * * @return The readWrite. */ @java.lang.Override @@ -5149,8 +4723,6 @@ public com.google.spanner.v1.TransactionOptions.ReadWrite getReadWrite() { } } /** - * - * *
      * Transaction may write.
      * Authorization to begin a read-write transaction requires
@@ -5174,8 +4746,6 @@ public Builder setReadWrite(com.google.spanner.v1.TransactionOptions.ReadWrite v
       return this;
     }
     /**
-     *
-     *
      * 
      * Transaction may write.
      * Authorization to begin a read-write transaction requires
@@ -5197,8 +4767,6 @@ public Builder setReadWrite(
       return this;
     }
     /**
-     *
-     *
      * 
      * Transaction may write.
      * Authorization to begin a read-write transaction requires
@@ -5210,13 +4778,10 @@ public Builder setReadWrite(
      */
     public Builder mergeReadWrite(com.google.spanner.v1.TransactionOptions.ReadWrite value) {
       if (readWriteBuilder_ == null) {
-        if (modeCase_ == 1
-            && mode_ != com.google.spanner.v1.TransactionOptions.ReadWrite.getDefaultInstance()) {
-          mode_ =
-              com.google.spanner.v1.TransactionOptions.ReadWrite.newBuilder(
-                      (com.google.spanner.v1.TransactionOptions.ReadWrite) mode_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (modeCase_ == 1 &&
+            mode_ != com.google.spanner.v1.TransactionOptions.ReadWrite.getDefaultInstance()) {
+          mode_ = com.google.spanner.v1.TransactionOptions.ReadWrite.newBuilder((com.google.spanner.v1.TransactionOptions.ReadWrite) mode_)
+              .mergeFrom(value).buildPartial();
         } else {
           mode_ = value;
         }
@@ -5232,8 +4797,6 @@ public Builder mergeReadWrite(com.google.spanner.v1.TransactionOptions.ReadWrite
       return this;
     }
     /**
-     *
-     *
      * 
      * Transaction may write.
      * Authorization to begin a read-write transaction requires
@@ -5260,8 +4823,6 @@ public Builder clearReadWrite() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Transaction may write.
      * Authorization to begin a read-write transaction requires
@@ -5275,8 +4836,6 @@ public com.google.spanner.v1.TransactionOptions.ReadWrite.Builder getReadWriteBu
       return getReadWriteFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Transaction may write.
      * Authorization to begin a read-write transaction requires
@@ -5298,8 +4857,6 @@ public com.google.spanner.v1.TransactionOptions.ReadWriteOrBuilder getReadWriteO
       }
     }
     /**
-     *
-     *
      * 
      * Transaction may write.
      * Authorization to begin a read-write transaction requires
@@ -5310,19 +4867,14 @@ public com.google.spanner.v1.TransactionOptions.ReadWriteOrBuilder getReadWriteO
      * .google.spanner.v1.TransactionOptions.ReadWrite read_write = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.TransactionOptions.ReadWrite,
-            com.google.spanner.v1.TransactionOptions.ReadWrite.Builder,
-            com.google.spanner.v1.TransactionOptions.ReadWriteOrBuilder>
+        com.google.spanner.v1.TransactionOptions.ReadWrite, com.google.spanner.v1.TransactionOptions.ReadWrite.Builder, com.google.spanner.v1.TransactionOptions.ReadWriteOrBuilder> 
         getReadWriteFieldBuilder() {
       if (readWriteBuilder_ == null) {
         if (!(modeCase_ == 1)) {
           mode_ = com.google.spanner.v1.TransactionOptions.ReadWrite.getDefaultInstance();
         }
-        readWriteBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.v1.TransactionOptions.ReadWrite,
-                com.google.spanner.v1.TransactionOptions.ReadWrite.Builder,
-                com.google.spanner.v1.TransactionOptions.ReadWriteOrBuilder>(
+        readWriteBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.v1.TransactionOptions.ReadWrite, com.google.spanner.v1.TransactionOptions.ReadWrite.Builder, com.google.spanner.v1.TransactionOptions.ReadWriteOrBuilder>(
                 (com.google.spanner.v1.TransactionOptions.ReadWrite) mode_,
                 getParentForChildren(),
                 isClean());
@@ -5334,13 +4886,8 @@ public com.google.spanner.v1.TransactionOptions.ReadWriteOrBuilder getReadWriteO
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.TransactionOptions.PartitionedDml,
-            com.google.spanner.v1.TransactionOptions.PartitionedDml.Builder,
-            com.google.spanner.v1.TransactionOptions.PartitionedDmlOrBuilder>
-        partitionedDmlBuilder_;
+        com.google.spanner.v1.TransactionOptions.PartitionedDml, com.google.spanner.v1.TransactionOptions.PartitionedDml.Builder, com.google.spanner.v1.TransactionOptions.PartitionedDmlOrBuilder> partitionedDmlBuilder_;
     /**
-     *
-     *
      * 
      * Partitioned DML transaction.
      * Authorization to begin a Partitioned DML transaction requires
@@ -5349,7 +4896,6 @@ public com.google.spanner.v1.TransactionOptions.ReadWriteOrBuilder getReadWriteO
      * 
* * .google.spanner.v1.TransactionOptions.PartitionedDml partitioned_dml = 3; - * * @return Whether the partitionedDml field is set. */ @java.lang.Override @@ -5357,8 +4903,6 @@ public boolean hasPartitionedDml() { return modeCase_ == 3; } /** - * - * *
      * Partitioned DML transaction.
      * Authorization to begin a Partitioned DML transaction requires
@@ -5367,7 +4911,6 @@ public boolean hasPartitionedDml() {
      * 
* * .google.spanner.v1.TransactionOptions.PartitionedDml partitioned_dml = 3; - * * @return The partitionedDml. */ @java.lang.Override @@ -5385,8 +4928,6 @@ public com.google.spanner.v1.TransactionOptions.PartitionedDml getPartitionedDml } } /** - * - * *
      * Partitioned DML transaction.
      * Authorization to begin a Partitioned DML transaction requires
@@ -5396,8 +4937,7 @@ public com.google.spanner.v1.TransactionOptions.PartitionedDml getPartitionedDml
      *
      * .google.spanner.v1.TransactionOptions.PartitionedDml partitioned_dml = 3;
      */
-    public Builder setPartitionedDml(
-        com.google.spanner.v1.TransactionOptions.PartitionedDml value) {
+    public Builder setPartitionedDml(com.google.spanner.v1.TransactionOptions.PartitionedDml value) {
       if (partitionedDmlBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -5411,8 +4951,6 @@ public Builder setPartitionedDml(
       return this;
     }
     /**
-     *
-     *
      * 
      * Partitioned DML transaction.
      * Authorization to begin a Partitioned DML transaction requires
@@ -5434,8 +4972,6 @@ public Builder setPartitionedDml(
       return this;
     }
     /**
-     *
-     *
      * 
      * Partitioned DML transaction.
      * Authorization to begin a Partitioned DML transaction requires
@@ -5445,17 +4981,12 @@ public Builder setPartitionedDml(
      *
      * .google.spanner.v1.TransactionOptions.PartitionedDml partitioned_dml = 3;
      */
-    public Builder mergePartitionedDml(
-        com.google.spanner.v1.TransactionOptions.PartitionedDml value) {
+    public Builder mergePartitionedDml(com.google.spanner.v1.TransactionOptions.PartitionedDml value) {
       if (partitionedDmlBuilder_ == null) {
-        if (modeCase_ == 3
-            && mode_
-                != com.google.spanner.v1.TransactionOptions.PartitionedDml.getDefaultInstance()) {
-          mode_ =
-              com.google.spanner.v1.TransactionOptions.PartitionedDml.newBuilder(
-                      (com.google.spanner.v1.TransactionOptions.PartitionedDml) mode_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (modeCase_ == 3 &&
+            mode_ != com.google.spanner.v1.TransactionOptions.PartitionedDml.getDefaultInstance()) {
+          mode_ = com.google.spanner.v1.TransactionOptions.PartitionedDml.newBuilder((com.google.spanner.v1.TransactionOptions.PartitionedDml) mode_)
+              .mergeFrom(value).buildPartial();
         } else {
           mode_ = value;
         }
@@ -5471,8 +5002,6 @@ public Builder mergePartitionedDml(
       return this;
     }
     /**
-     *
-     *
      * 
      * Partitioned DML transaction.
      * Authorization to begin a Partitioned DML transaction requires
@@ -5499,8 +5028,6 @@ public Builder clearPartitionedDml() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Partitioned DML transaction.
      * Authorization to begin a Partitioned DML transaction requires
@@ -5510,13 +5037,10 @@ public Builder clearPartitionedDml() {
      *
      * .google.spanner.v1.TransactionOptions.PartitionedDml partitioned_dml = 3;
      */
-    public com.google.spanner.v1.TransactionOptions.PartitionedDml.Builder
-        getPartitionedDmlBuilder() {
+    public com.google.spanner.v1.TransactionOptions.PartitionedDml.Builder getPartitionedDmlBuilder() {
       return getPartitionedDmlFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Partitioned DML transaction.
      * Authorization to begin a Partitioned DML transaction requires
@@ -5527,8 +5051,7 @@ public Builder clearPartitionedDml() {
      * .google.spanner.v1.TransactionOptions.PartitionedDml partitioned_dml = 3;
      */
     @java.lang.Override
-    public com.google.spanner.v1.TransactionOptions.PartitionedDmlOrBuilder
-        getPartitionedDmlOrBuilder() {
+    public com.google.spanner.v1.TransactionOptions.PartitionedDmlOrBuilder getPartitionedDmlOrBuilder() {
       if ((modeCase_ == 3) && (partitionedDmlBuilder_ != null)) {
         return partitionedDmlBuilder_.getMessageOrBuilder();
       } else {
@@ -5539,8 +5062,6 @@ public Builder clearPartitionedDml() {
       }
     }
     /**
-     *
-     *
      * 
      * Partitioned DML transaction.
      * Authorization to begin a Partitioned DML transaction requires
@@ -5551,19 +5072,14 @@ public Builder clearPartitionedDml() {
      * .google.spanner.v1.TransactionOptions.PartitionedDml partitioned_dml = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.TransactionOptions.PartitionedDml,
-            com.google.spanner.v1.TransactionOptions.PartitionedDml.Builder,
-            com.google.spanner.v1.TransactionOptions.PartitionedDmlOrBuilder>
+        com.google.spanner.v1.TransactionOptions.PartitionedDml, com.google.spanner.v1.TransactionOptions.PartitionedDml.Builder, com.google.spanner.v1.TransactionOptions.PartitionedDmlOrBuilder> 
         getPartitionedDmlFieldBuilder() {
       if (partitionedDmlBuilder_ == null) {
         if (!(modeCase_ == 3)) {
           mode_ = com.google.spanner.v1.TransactionOptions.PartitionedDml.getDefaultInstance();
         }
-        partitionedDmlBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.v1.TransactionOptions.PartitionedDml,
-                com.google.spanner.v1.TransactionOptions.PartitionedDml.Builder,
-                com.google.spanner.v1.TransactionOptions.PartitionedDmlOrBuilder>(
+        partitionedDmlBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.v1.TransactionOptions.PartitionedDml, com.google.spanner.v1.TransactionOptions.PartitionedDml.Builder, com.google.spanner.v1.TransactionOptions.PartitionedDmlOrBuilder>(
                 (com.google.spanner.v1.TransactionOptions.PartitionedDml) mode_,
                 getParentForChildren(),
                 isClean());
@@ -5575,13 +5091,8 @@ public Builder clearPartitionedDml() {
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.TransactionOptions.ReadOnly,
-            com.google.spanner.v1.TransactionOptions.ReadOnly.Builder,
-            com.google.spanner.v1.TransactionOptions.ReadOnlyOrBuilder>
-        readOnlyBuilder_;
+        com.google.spanner.v1.TransactionOptions.ReadOnly, com.google.spanner.v1.TransactionOptions.ReadOnly.Builder, com.google.spanner.v1.TransactionOptions.ReadOnlyOrBuilder> readOnlyBuilder_;
     /**
-     *
-     *
      * 
      * Transaction will not write.
      * Authorization to begin a read-only transaction requires
@@ -5590,7 +5101,6 @@ public Builder clearPartitionedDml() {
      * 
* * .google.spanner.v1.TransactionOptions.ReadOnly read_only = 2; - * * @return Whether the readOnly field is set. */ @java.lang.Override @@ -5598,8 +5108,6 @@ public boolean hasReadOnly() { return modeCase_ == 2; } /** - * - * *
      * Transaction will not write.
      * Authorization to begin a read-only transaction requires
@@ -5608,7 +5116,6 @@ public boolean hasReadOnly() {
      * 
* * .google.spanner.v1.TransactionOptions.ReadOnly read_only = 2; - * * @return The readOnly. */ @java.lang.Override @@ -5626,8 +5133,6 @@ public com.google.spanner.v1.TransactionOptions.ReadOnly getReadOnly() { } } /** - * - * *
      * Transaction will not write.
      * Authorization to begin a read-only transaction requires
@@ -5651,8 +5156,6 @@ public Builder setReadOnly(com.google.spanner.v1.TransactionOptions.ReadOnly val
       return this;
     }
     /**
-     *
-     *
      * 
      * Transaction will not write.
      * Authorization to begin a read-only transaction requires
@@ -5674,8 +5177,6 @@ public Builder setReadOnly(
       return this;
     }
     /**
-     *
-     *
      * 
      * Transaction will not write.
      * Authorization to begin a read-only transaction requires
@@ -5687,13 +5188,10 @@ public Builder setReadOnly(
      */
     public Builder mergeReadOnly(com.google.spanner.v1.TransactionOptions.ReadOnly value) {
       if (readOnlyBuilder_ == null) {
-        if (modeCase_ == 2
-            && mode_ != com.google.spanner.v1.TransactionOptions.ReadOnly.getDefaultInstance()) {
-          mode_ =
-              com.google.spanner.v1.TransactionOptions.ReadOnly.newBuilder(
-                      (com.google.spanner.v1.TransactionOptions.ReadOnly) mode_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (modeCase_ == 2 &&
+            mode_ != com.google.spanner.v1.TransactionOptions.ReadOnly.getDefaultInstance()) {
+          mode_ = com.google.spanner.v1.TransactionOptions.ReadOnly.newBuilder((com.google.spanner.v1.TransactionOptions.ReadOnly) mode_)
+              .mergeFrom(value).buildPartial();
         } else {
           mode_ = value;
         }
@@ -5709,8 +5207,6 @@ public Builder mergeReadOnly(com.google.spanner.v1.TransactionOptions.ReadOnly v
       return this;
     }
     /**
-     *
-     *
      * 
      * Transaction will not write.
      * Authorization to begin a read-only transaction requires
@@ -5737,8 +5233,6 @@ public Builder clearReadOnly() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Transaction will not write.
      * Authorization to begin a read-only transaction requires
@@ -5752,8 +5246,6 @@ public com.google.spanner.v1.TransactionOptions.ReadOnly.Builder getReadOnlyBuil
       return getReadOnlyFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Transaction will not write.
      * Authorization to begin a read-only transaction requires
@@ -5775,8 +5267,6 @@ public com.google.spanner.v1.TransactionOptions.ReadOnlyOrBuilder getReadOnlyOrB
       }
     }
     /**
-     *
-     *
      * 
      * Transaction will not write.
      * Authorization to begin a read-only transaction requires
@@ -5787,19 +5277,14 @@ public com.google.spanner.v1.TransactionOptions.ReadOnlyOrBuilder getReadOnlyOrB
      * .google.spanner.v1.TransactionOptions.ReadOnly read_only = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.TransactionOptions.ReadOnly,
-            com.google.spanner.v1.TransactionOptions.ReadOnly.Builder,
-            com.google.spanner.v1.TransactionOptions.ReadOnlyOrBuilder>
+        com.google.spanner.v1.TransactionOptions.ReadOnly, com.google.spanner.v1.TransactionOptions.ReadOnly.Builder, com.google.spanner.v1.TransactionOptions.ReadOnlyOrBuilder> 
         getReadOnlyFieldBuilder() {
       if (readOnlyBuilder_ == null) {
         if (!(modeCase_ == 2)) {
           mode_ = com.google.spanner.v1.TransactionOptions.ReadOnly.getDefaultInstance();
         }
-        readOnlyBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.v1.TransactionOptions.ReadOnly,
-                com.google.spanner.v1.TransactionOptions.ReadOnly.Builder,
-                com.google.spanner.v1.TransactionOptions.ReadOnlyOrBuilder>(
+        readOnlyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.v1.TransactionOptions.ReadOnly, com.google.spanner.v1.TransactionOptions.ReadOnly.Builder, com.google.spanner.v1.TransactionOptions.ReadOnlyOrBuilder>(
                 (com.google.spanner.v1.TransactionOptions.ReadOnly) mode_,
                 getParentForChildren(),
                 isClean());
@@ -5809,9 +5294,9 @@ public com.google.spanner.v1.TransactionOptions.ReadOnlyOrBuilder getReadOnlyOrB
       onChanged();
       return readOnlyBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -5821,12 +5306,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.spanner.v1.TransactionOptions)
   }
 
   // @@protoc_insertion_point(class_scope:google.spanner.v1.TransactionOptions)
   private static final com.google.spanner.v1.TransactionOptions DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.spanner.v1.TransactionOptions();
   }
@@ -5835,27 +5320,27 @@ public static com.google.spanner.v1.TransactionOptions getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public TransactionOptions parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public TransactionOptions parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -5870,4 +5355,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.spanner.v1.TransactionOptions getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionOptionsOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionOptionsOrBuilder.java
similarity index 83%
rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionOptionsOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionOptionsOrBuilder.java
index c7b46083a13..ee1f2f738c2 100644
--- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionOptionsOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionOptionsOrBuilder.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/spanner/v1/transaction.proto
 
 package com.google.spanner.v1;
 
-public interface TransactionOptionsOrBuilder
-    extends
+public interface TransactionOptionsOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.spanner.v1.TransactionOptions)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Transaction may write.
    * Authorization to begin a read-write transaction requires
@@ -34,13 +16,10 @@ public interface TransactionOptionsOrBuilder
    * 
* * .google.spanner.v1.TransactionOptions.ReadWrite read_write = 1; - * * @return Whether the readWrite field is set. */ boolean hasReadWrite(); /** - * - * *
    * Transaction may write.
    * Authorization to begin a read-write transaction requires
@@ -49,13 +28,10 @@ public interface TransactionOptionsOrBuilder
    * 
* * .google.spanner.v1.TransactionOptions.ReadWrite read_write = 1; - * * @return The readWrite. */ com.google.spanner.v1.TransactionOptions.ReadWrite getReadWrite(); /** - * - * *
    * Transaction may write.
    * Authorization to begin a read-write transaction requires
@@ -68,8 +44,6 @@ public interface TransactionOptionsOrBuilder
   com.google.spanner.v1.TransactionOptions.ReadWriteOrBuilder getReadWriteOrBuilder();
 
   /**
-   *
-   *
    * 
    * Partitioned DML transaction.
    * Authorization to begin a Partitioned DML transaction requires
@@ -78,13 +52,10 @@ public interface TransactionOptionsOrBuilder
    * 
* * .google.spanner.v1.TransactionOptions.PartitionedDml partitioned_dml = 3; - * * @return Whether the partitionedDml field is set. */ boolean hasPartitionedDml(); /** - * - * *
    * Partitioned DML transaction.
    * Authorization to begin a Partitioned DML transaction requires
@@ -93,13 +64,10 @@ public interface TransactionOptionsOrBuilder
    * 
* * .google.spanner.v1.TransactionOptions.PartitionedDml partitioned_dml = 3; - * * @return The partitionedDml. */ com.google.spanner.v1.TransactionOptions.PartitionedDml getPartitionedDml(); /** - * - * *
    * Partitioned DML transaction.
    * Authorization to begin a Partitioned DML transaction requires
@@ -112,8 +80,6 @@ public interface TransactionOptionsOrBuilder
   com.google.spanner.v1.TransactionOptions.PartitionedDmlOrBuilder getPartitionedDmlOrBuilder();
 
   /**
-   *
-   *
    * 
    * Transaction will not write.
    * Authorization to begin a read-only transaction requires
@@ -122,13 +88,10 @@ public interface TransactionOptionsOrBuilder
    * 
* * .google.spanner.v1.TransactionOptions.ReadOnly read_only = 2; - * * @return Whether the readOnly field is set. */ boolean hasReadOnly(); /** - * - * *
    * Transaction will not write.
    * Authorization to begin a read-only transaction requires
@@ -137,13 +100,10 @@ public interface TransactionOptionsOrBuilder
    * 
* * .google.spanner.v1.TransactionOptions.ReadOnly read_only = 2; - * * @return The readOnly. */ com.google.spanner.v1.TransactionOptions.ReadOnly getReadOnly(); /** - * - * *
    * Transaction will not write.
    * Authorization to begin a read-only transaction requires
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionOrBuilder.java
similarity index 78%
rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionOrBuilder.java
index 24a9ee693d9..5f113d75604 100644
--- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionOrBuilder.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/spanner/v1/transaction.proto
 
 package com.google.spanner.v1;
 
-public interface TransactionOrBuilder
-    extends
+public interface TransactionOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.spanner.v1.Transaction)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * `id` may be used to identify the transaction in subsequent
    * [Read][google.spanner.v1.Spanner.Read],
@@ -37,14 +19,11 @@ public interface TransactionOrBuilder
    * 
* * bytes id = 1; - * * @return The id. */ com.google.protobuf.ByteString getId(); /** - * - * *
    * For snapshot read-only transactions, the read timestamp chosen
    * for the transaction. Not returned by default: see
@@ -54,13 +33,10 @@ public interface TransactionOrBuilder
    * 
* * .google.protobuf.Timestamp read_timestamp = 2; - * * @return Whether the readTimestamp field is set. */ boolean hasReadTimestamp(); /** - * - * *
    * For snapshot read-only transactions, the read timestamp chosen
    * for the transaction. Not returned by default: see
@@ -70,13 +46,10 @@ public interface TransactionOrBuilder
    * 
* * .google.protobuf.Timestamp read_timestamp = 2; - * * @return The readTimestamp. */ com.google.protobuf.Timestamp getReadTimestamp(); /** - * - * *
    * For snapshot read-only transactions, the read timestamp chosen
    * for the transaction. Not returned by default: see
diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionProto.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionProto.java
new file mode 100644
index 00000000000..63df3866872
--- /dev/null
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionProto.java
@@ -0,0 +1,137 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/spanner/v1/transaction.proto
+
+package com.google.spanner.v1;
+
+public final class TransactionProto {
+  private TransactionProto() {}
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistryLite registry) {
+  }
+
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions(
+        (com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_spanner_v1_TransactionOptions_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_spanner_v1_TransactionOptions_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_spanner_v1_TransactionOptions_ReadWrite_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_spanner_v1_TransactionOptions_ReadWrite_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_spanner_v1_TransactionOptions_PartitionedDml_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_spanner_v1_TransactionOptions_PartitionedDml_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_spanner_v1_TransactionOptions_ReadOnly_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_spanner_v1_TransactionOptions_ReadOnly_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_spanner_v1_Transaction_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_spanner_v1_Transaction_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_spanner_v1_TransactionSelector_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_spanner_v1_TransactionSelector_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor
+      getDescriptor() {
+    return descriptor;
+  }
+  private static  com.google.protobuf.Descriptors.FileDescriptor
+      descriptor;
+  static {
+    java.lang.String[] descriptorData = {
+      "\n#google/spanner/v1/transaction.proto\022\021g" +
+      "oogle.spanner.v1\032\036google/protobuf/durati" +
+      "on.proto\032\037google/protobuf/timestamp.prot" +
+      "o\"\353\005\n\022TransactionOptions\022E\n\nread_write\030\001" +
+      " \001(\0132/.google.spanner.v1.TransactionOpti" +
+      "ons.ReadWriteH\000\022O\n\017partitioned_dml\030\003 \001(\013" +
+      "24.google.spanner.v1.TransactionOptions." +
+      "PartitionedDmlH\000\022C\n\tread_only\030\002 \001(\0132..go" +
+      "ogle.spanner.v1.TransactionOptions.ReadO" +
+      "nlyH\000\032\262\001\n\tReadWrite\022T\n\016read_lock_mode\030\001 " +
+      "\001(\0162<.google.spanner.v1.TransactionOptio" +
+      "ns.ReadWrite.ReadLockMode\"O\n\014ReadLockMod" +
+      "e\022\036\n\032READ_LOCK_MODE_UNSPECIFIED\020\000\022\017\n\013PES" +
+      "SIMISTIC\020\001\022\016\n\nOPTIMISTIC\020\002\032\020\n\016Partitione" +
+      "dDml\032\250\002\n\010ReadOnly\022\020\n\006strong\030\001 \001(\010H\000\0228\n\022m" +
+      "in_read_timestamp\030\002 \001(\0132\032.google.protobu" +
+      "f.TimestampH\000\0222\n\rmax_staleness\030\003 \001(\0132\031.g" +
+      "oogle.protobuf.DurationH\000\0224\n\016read_timest" +
+      "amp\030\004 \001(\0132\032.google.protobuf.TimestampH\000\022" +
+      "4\n\017exact_staleness\030\005 \001(\0132\031.google.protob" +
+      "uf.DurationH\000\022\035\n\025return_read_timestamp\030\006" +
+      " \001(\010B\021\n\017timestamp_boundB\006\n\004mode\"M\n\013Trans" +
+      "action\022\n\n\002id\030\001 \001(\014\0222\n\016read_timestamp\030\002 \001" +
+      "(\0132\032.google.protobuf.Timestamp\"\244\001\n\023Trans" +
+      "actionSelector\022;\n\nsingle_use\030\001 \001(\0132%.goo" +
+      "gle.spanner.v1.TransactionOptionsH\000\022\014\n\002i" +
+      "d\030\002 \001(\014H\000\0226\n\005begin\030\003 \001(\0132%.google.spanne" +
+      "r.v1.TransactionOptionsH\000B\n\n\010selectorB\263\001" +
+      "\n\025com.google.spanner.v1B\020TransactionProt" +
+      "oP\001Z5cloud.google.com/go/spanner/apiv1/s" +
+      "pannerpb;spannerpb\252\002\027Google.Cloud.Spanne" +
+      "r.V1\312\002\027Google\\Cloud\\Spanner\\V1\352\002\032Google:" +
+      ":Cloud::Spanner::V1b\006proto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.protobuf.DurationProto.getDescriptor(),
+          com.google.protobuf.TimestampProto.getDescriptor(),
+        });
+    internal_static_google_spanner_v1_TransactionOptions_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_spanner_v1_TransactionOptions_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_spanner_v1_TransactionOptions_descriptor,
+        new java.lang.String[] { "ReadWrite", "PartitionedDml", "ReadOnly", "Mode", });
+    internal_static_google_spanner_v1_TransactionOptions_ReadWrite_descriptor =
+      internal_static_google_spanner_v1_TransactionOptions_descriptor.getNestedTypes().get(0);
+    internal_static_google_spanner_v1_TransactionOptions_ReadWrite_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_spanner_v1_TransactionOptions_ReadWrite_descriptor,
+        new java.lang.String[] { "ReadLockMode", });
+    internal_static_google_spanner_v1_TransactionOptions_PartitionedDml_descriptor =
+      internal_static_google_spanner_v1_TransactionOptions_descriptor.getNestedTypes().get(1);
+    internal_static_google_spanner_v1_TransactionOptions_PartitionedDml_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_spanner_v1_TransactionOptions_PartitionedDml_descriptor,
+        new java.lang.String[] { });
+    internal_static_google_spanner_v1_TransactionOptions_ReadOnly_descriptor =
+      internal_static_google_spanner_v1_TransactionOptions_descriptor.getNestedTypes().get(2);
+    internal_static_google_spanner_v1_TransactionOptions_ReadOnly_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_spanner_v1_TransactionOptions_ReadOnly_descriptor,
+        new java.lang.String[] { "Strong", "MinReadTimestamp", "MaxStaleness", "ReadTimestamp", "ExactStaleness", "ReturnReadTimestamp", "TimestampBound", });
+    internal_static_google_spanner_v1_Transaction_descriptor =
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_spanner_v1_Transaction_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_spanner_v1_Transaction_descriptor,
+        new java.lang.String[] { "Id", "ReadTimestamp", });
+    internal_static_google_spanner_v1_TransactionSelector_descriptor =
+      getDescriptor().getMessageTypes().get(2);
+    internal_static_google_spanner_v1_TransactionSelector_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_spanner_v1_TransactionSelector_descriptor,
+        new java.lang.String[] { "SingleUse", "Id", "Begin", "Selector", });
+    com.google.protobuf.DurationProto.getDescriptor();
+    com.google.protobuf.TimestampProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionSelector.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionSelector.java
similarity index 73%
rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionSelector.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionSelector.java
index 3d3062141b9..d1cc10a3af7 100644
--- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionSelector.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionSelector.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/spanner/v1/transaction.proto
 
 package com.google.spanner.v1;
 
 /**
- *
- *
  * 
  * This message is used to select the transaction in which a
  * [Read][google.spanner.v1.Spanner.Read] or
@@ -31,57 +14,53 @@
  *
  * Protobuf type {@code google.spanner.v1.TransactionSelector}
  */
-public final class TransactionSelector extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class TransactionSelector extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.v1.TransactionSelector)
     TransactionSelectorOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use TransactionSelector.newBuilder() to construct.
   private TransactionSelector(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private TransactionSelector() {}
+  private TransactionSelector() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new TransactionSelector();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.spanner.v1.TransactionProto
-        .internal_static_google_spanner_v1_TransactionSelector_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_TransactionSelector_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.v1.TransactionProto
-        .internal_static_google_spanner_v1_TransactionSelector_fieldAccessorTable
+    return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_TransactionSelector_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.v1.TransactionSelector.class,
-            com.google.spanner.v1.TransactionSelector.Builder.class);
+            com.google.spanner.v1.TransactionSelector.class, com.google.spanner.v1.TransactionSelector.Builder.class);
   }
 
   private int selectorCase_ = 0;
   private java.lang.Object selector_;
-
   public enum SelectorCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     SINGLE_USE(1),
     ID(2),
     BEGIN(3),
     SELECTOR_NOT_SET(0);
     private final int value;
-
     private SelectorCase(int value) {
       this.value = value;
     }
@@ -97,32 +76,26 @@ public static SelectorCase valueOf(int value) {
 
     public static SelectorCase forNumber(int value) {
       switch (value) {
-        case 1:
-          return SINGLE_USE;
-        case 2:
-          return ID;
-        case 3:
-          return BEGIN;
-        case 0:
-          return SELECTOR_NOT_SET;
-        default:
-          return null;
+        case 1: return SINGLE_USE;
+        case 2: return ID;
+        case 3: return BEGIN;
+        case 0: return SELECTOR_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public SelectorCase getSelectorCase() {
-    return SelectorCase.forNumber(selectorCase_);
+  public SelectorCase
+  getSelectorCase() {
+    return SelectorCase.forNumber(
+        selectorCase_);
   }
 
   public static final int SINGLE_USE_FIELD_NUMBER = 1;
   /**
-   *
-   *
    * 
    * Execute the read or SQL query in a temporary transaction.
    * This is the most efficient way to execute a transaction that
@@ -130,7 +103,6 @@ public SelectorCase getSelectorCase() {
    * 
* * .google.spanner.v1.TransactionOptions single_use = 1; - * * @return Whether the singleUse field is set. */ @java.lang.Override @@ -138,8 +110,6 @@ public boolean hasSingleUse() { return selectorCase_ == 1; } /** - * - * *
    * Execute the read or SQL query in a temporary transaction.
    * This is the most efficient way to execute a transaction that
@@ -147,19 +117,16 @@ public boolean hasSingleUse() {
    * 
* * .google.spanner.v1.TransactionOptions single_use = 1; - * * @return The singleUse. */ @java.lang.Override public com.google.spanner.v1.TransactionOptions getSingleUse() { if (selectorCase_ == 1) { - return (com.google.spanner.v1.TransactionOptions) selector_; + return (com.google.spanner.v1.TransactionOptions) selector_; } return com.google.spanner.v1.TransactionOptions.getDefaultInstance(); } /** - * - * *
    * Execute the read or SQL query in a temporary transaction.
    * This is the most efficient way to execute a transaction that
@@ -171,21 +138,18 @@ public com.google.spanner.v1.TransactionOptions getSingleUse() {
   @java.lang.Override
   public com.google.spanner.v1.TransactionOptionsOrBuilder getSingleUseOrBuilder() {
     if (selectorCase_ == 1) {
-      return (com.google.spanner.v1.TransactionOptions) selector_;
+       return (com.google.spanner.v1.TransactionOptions) selector_;
     }
     return com.google.spanner.v1.TransactionOptions.getDefaultInstance();
   }
 
   public static final int ID_FIELD_NUMBER = 2;
   /**
-   *
-   *
    * 
    * Execute the read or SQL query in a previously-started transaction.
    * 
* * bytes id = 2; - * * @return Whether the id field is set. */ @java.lang.Override @@ -193,14 +157,11 @@ public boolean hasId() { return selectorCase_ == 2; } /** - * - * *
    * Execute the read or SQL query in a previously-started transaction.
    * 
* * bytes id = 2; - * * @return The id. */ @java.lang.Override @@ -213,8 +174,6 @@ public com.google.protobuf.ByteString getId() { public static final int BEGIN_FIELD_NUMBER = 3; /** - * - * *
    * Begin a new transaction and execute this read or SQL query in
    * it. The transaction ID of the new transaction is returned in
@@ -223,7 +182,6 @@ public com.google.protobuf.ByteString getId() {
    * 
* * .google.spanner.v1.TransactionOptions begin = 3; - * * @return Whether the begin field is set. */ @java.lang.Override @@ -231,8 +189,6 @@ public boolean hasBegin() { return selectorCase_ == 3; } /** - * - * *
    * Begin a new transaction and execute this read or SQL query in
    * it. The transaction ID of the new transaction is returned in
@@ -241,19 +197,16 @@ public boolean hasBegin() {
    * 
* * .google.spanner.v1.TransactionOptions begin = 3; - * * @return The begin. */ @java.lang.Override public com.google.spanner.v1.TransactionOptions getBegin() { if (selectorCase_ == 3) { - return (com.google.spanner.v1.TransactionOptions) selector_; + return (com.google.spanner.v1.TransactionOptions) selector_; } return com.google.spanner.v1.TransactionOptions.getDefaultInstance(); } /** - * - * *
    * Begin a new transaction and execute this read or SQL query in
    * it. The transaction ID of the new transaction is returned in
@@ -266,13 +219,12 @@ public com.google.spanner.v1.TransactionOptions getBegin() {
   @java.lang.Override
   public com.google.spanner.v1.TransactionOptionsOrBuilder getBeginOrBuilder() {
     if (selectorCase_ == 3) {
-      return (com.google.spanner.v1.TransactionOptions) selector_;
+       return (com.google.spanner.v1.TransactionOptions) selector_;
     }
     return com.google.spanner.v1.TransactionOptions.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -284,12 +236,14 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (selectorCase_ == 1) {
       output.writeMessage(1, (com.google.spanner.v1.TransactionOptions) selector_);
     }
     if (selectorCase_ == 2) {
-      output.writeBytes(2, (com.google.protobuf.ByteString) selector_);
+      output.writeBytes(
+          2, (com.google.protobuf.ByteString) selector_);
     }
     if (selectorCase_ == 3) {
       output.writeMessage(3, (com.google.spanner.v1.TransactionOptions) selector_);
@@ -304,19 +258,17 @@ public int getSerializedSize() {
 
     size = 0;
     if (selectorCase_ == 1) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              1, (com.google.spanner.v1.TransactionOptions) selector_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, (com.google.spanner.v1.TransactionOptions) selector_);
     }
     if (selectorCase_ == 2) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeBytesSize(
-              2, (com.google.protobuf.ByteString) selector_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBytesSize(
+            2, (com.google.protobuf.ByteString) selector_);
     }
     if (selectorCase_ == 3) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              3, (com.google.spanner.v1.TransactionOptions) selector_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, (com.google.spanner.v1.TransactionOptions) selector_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -326,24 +278,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.spanner.v1.TransactionSelector)) {
       return super.equals(obj);
     }
-    com.google.spanner.v1.TransactionSelector other =
-        (com.google.spanner.v1.TransactionSelector) obj;
+    com.google.spanner.v1.TransactionSelector other = (com.google.spanner.v1.TransactionSelector) obj;
 
     if (!getSelectorCase().equals(other.getSelectorCase())) return false;
     switch (selectorCase_) {
       case 1:
-        if (!getSingleUse().equals(other.getSingleUse())) return false;
+        if (!getSingleUse()
+            .equals(other.getSingleUse())) return false;
         break;
       case 2:
-        if (!getId().equals(other.getId())) return false;
+        if (!getId()
+            .equals(other.getId())) return false;
         break;
       case 3:
-        if (!getBegin().equals(other.getBegin())) return false;
+        if (!getBegin()
+            .equals(other.getBegin())) return false;
         break;
       case 0:
       default:
@@ -380,104 +334,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.spanner.v1.TransactionSelector parseFrom(java.nio.ByteBuffer data)
+  public static com.google.spanner.v1.TransactionSelector parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.TransactionSelector parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.v1.TransactionSelector parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.TransactionSelector parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.v1.TransactionSelector parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.spanner.v1.TransactionSelector parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.spanner.v1.TransactionSelector parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.v1.TransactionSelector parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.spanner.v1.TransactionSelector parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.spanner.v1.TransactionSelector parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.v1.TransactionSelector parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.spanner.v1.TransactionSelector parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.spanner.v1.TransactionSelector parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.spanner.v1.TransactionSelector prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * This message is used to select the transaction in which a
    * [Read][google.spanner.v1.Spanner.Read] or
@@ -488,32 +435,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.v1.TransactionSelector}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.v1.TransactionSelector)
       com.google.spanner.v1.TransactionSelectorOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.spanner.v1.TransactionProto
-          .internal_static_google_spanner_v1_TransactionSelector_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_TransactionSelector_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.v1.TransactionProto
-          .internal_static_google_spanner_v1_TransactionSelector_fieldAccessorTable
+      return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_TransactionSelector_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.v1.TransactionSelector.class,
-              com.google.spanner.v1.TransactionSelector.Builder.class);
+              com.google.spanner.v1.TransactionSelector.class, com.google.spanner.v1.TransactionSelector.Builder.class);
     }
 
     // Construct using com.google.spanner.v1.TransactionSelector.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.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 +478,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.spanner.v1.TransactionProto
-          .internal_static_google_spanner_v1_TransactionSelector_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_TransactionSelector_descriptor;
     }
 
     @java.lang.Override
@@ -551,11 +499,8 @@ public com.google.spanner.v1.TransactionSelector build() {
 
     @java.lang.Override
     public com.google.spanner.v1.TransactionSelector buildPartial() {
-      com.google.spanner.v1.TransactionSelector result =
-          new com.google.spanner.v1.TransactionSelector(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.spanner.v1.TransactionSelector result = new com.google.spanner.v1.TransactionSelector(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -568,10 +513,12 @@ private void buildPartial0(com.google.spanner.v1.TransactionSelector result) {
     private void buildPartialOneofs(com.google.spanner.v1.TransactionSelector result) {
       result.selectorCase_ = selectorCase_;
       result.selector_ = this.selector_;
-      if (selectorCase_ == 1 && singleUseBuilder_ != null) {
+      if (selectorCase_ == 1 &&
+          singleUseBuilder_ != null) {
         result.selector_ = singleUseBuilder_.build();
       }
-      if (selectorCase_ == 3 && beginBuilder_ != null) {
+      if (selectorCase_ == 3 &&
+          beginBuilder_ != null) {
         result.selector_ = beginBuilder_.build();
       }
     }
@@ -580,39 +527,38 @@ private void buildPartialOneofs(com.google.spanner.v1.TransactionSelector 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.spanner.v1.TransactionSelector) {
-        return mergeFrom((com.google.spanner.v1.TransactionSelector) other);
+        return mergeFrom((com.google.spanner.v1.TransactionSelector)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -622,25 +568,21 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     public Builder mergeFrom(com.google.spanner.v1.TransactionSelector other) {
       if (other == com.google.spanner.v1.TransactionSelector.getDefaultInstance()) return this;
       switch (other.getSelectorCase()) {
-        case SINGLE_USE:
-          {
-            mergeSingleUse(other.getSingleUse());
-            break;
-          }
-        case ID:
-          {
-            setId(other.getId());
-            break;
-          }
-        case BEGIN:
-          {
-            mergeBegin(other.getBegin());
-            break;
-          }
-        case SELECTOR_NOT_SET:
-          {
-            break;
-          }
+        case SINGLE_USE: {
+          mergeSingleUse(other.getSingleUse());
+          break;
+        }
+        case ID: {
+          setId(other.getId());
+          break;
+        }
+        case BEGIN: {
+          mergeBegin(other.getBegin());
+          break;
+        }
+        case SELECTOR_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -668,31 +610,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getSingleUseFieldBuilder().getBuilder(), extensionRegistry);
-                selectorCase_ = 1;
-                break;
-              } // case 10
-            case 18:
-              {
-                selector_ = input.readBytes();
-                selectorCase_ = 2;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getBeginFieldBuilder().getBuilder(), extensionRegistry);
-                selectorCase_ = 3;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getSingleUseFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              selectorCase_ = 1;
+              break;
+            } // case 10
+            case 18: {
+              selector_ = input.readBytes();
+              selectorCase_ = 2;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getBeginFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              selectorCase_ = 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) {
@@ -702,12 +644,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int selectorCase_ = 0;
     private java.lang.Object selector_;
-
-    public SelectorCase getSelectorCase() {
-      return SelectorCase.forNumber(selectorCase_);
+    public SelectorCase
+        getSelectorCase() {
+      return SelectorCase.forNumber(
+          selectorCase_);
     }
 
     public Builder clearSelector() {
@@ -720,13 +662,8 @@ public Builder clearSelector() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.TransactionOptions,
-            com.google.spanner.v1.TransactionOptions.Builder,
-            com.google.spanner.v1.TransactionOptionsOrBuilder>
-        singleUseBuilder_;
+        com.google.spanner.v1.TransactionOptions, com.google.spanner.v1.TransactionOptions.Builder, com.google.spanner.v1.TransactionOptionsOrBuilder> singleUseBuilder_;
     /**
-     *
-     *
      * 
      * Execute the read or SQL query in a temporary transaction.
      * This is the most efficient way to execute a transaction that
@@ -734,7 +671,6 @@ public Builder clearSelector() {
      * 
* * .google.spanner.v1.TransactionOptions single_use = 1; - * * @return Whether the singleUse field is set. */ @java.lang.Override @@ -742,8 +678,6 @@ public boolean hasSingleUse() { return selectorCase_ == 1; } /** - * - * *
      * Execute the read or SQL query in a temporary transaction.
      * This is the most efficient way to execute a transaction that
@@ -751,7 +685,6 @@ public boolean hasSingleUse() {
      * 
* * .google.spanner.v1.TransactionOptions single_use = 1; - * * @return The singleUse. */ @java.lang.Override @@ -769,8 +702,6 @@ public com.google.spanner.v1.TransactionOptions getSingleUse() { } } /** - * - * *
      * Execute the read or SQL query in a temporary transaction.
      * This is the most efficient way to execute a transaction that
@@ -793,8 +724,6 @@ public Builder setSingleUse(com.google.spanner.v1.TransactionOptions value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Execute the read or SQL query in a temporary transaction.
      * This is the most efficient way to execute a transaction that
@@ -803,7 +732,8 @@ public Builder setSingleUse(com.google.spanner.v1.TransactionOptions value) {
      *
      * .google.spanner.v1.TransactionOptions single_use = 1;
      */
-    public Builder setSingleUse(com.google.spanner.v1.TransactionOptions.Builder builderForValue) {
+    public Builder setSingleUse(
+        com.google.spanner.v1.TransactionOptions.Builder builderForValue) {
       if (singleUseBuilder_ == null) {
         selector_ = builderForValue.build();
         onChanged();
@@ -814,8 +744,6 @@ public Builder setSingleUse(com.google.spanner.v1.TransactionOptions.Builder bui
       return this;
     }
     /**
-     *
-     *
      * 
      * Execute the read or SQL query in a temporary transaction.
      * This is the most efficient way to execute a transaction that
@@ -826,13 +754,10 @@ public Builder setSingleUse(com.google.spanner.v1.TransactionOptions.Builder bui
      */
     public Builder mergeSingleUse(com.google.spanner.v1.TransactionOptions value) {
       if (singleUseBuilder_ == null) {
-        if (selectorCase_ == 1
-            && selector_ != com.google.spanner.v1.TransactionOptions.getDefaultInstance()) {
-          selector_ =
-              com.google.spanner.v1.TransactionOptions.newBuilder(
-                      (com.google.spanner.v1.TransactionOptions) selector_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (selectorCase_ == 1 &&
+            selector_ != com.google.spanner.v1.TransactionOptions.getDefaultInstance()) {
+          selector_ = com.google.spanner.v1.TransactionOptions.newBuilder((com.google.spanner.v1.TransactionOptions) selector_)
+              .mergeFrom(value).buildPartial();
         } else {
           selector_ = value;
         }
@@ -848,8 +773,6 @@ public Builder mergeSingleUse(com.google.spanner.v1.TransactionOptions value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Execute the read or SQL query in a temporary transaction.
      * This is the most efficient way to execute a transaction that
@@ -875,8 +798,6 @@ public Builder clearSingleUse() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Execute the read or SQL query in a temporary transaction.
      * This is the most efficient way to execute a transaction that
@@ -889,8 +810,6 @@ public com.google.spanner.v1.TransactionOptions.Builder getSingleUseBuilder() {
       return getSingleUseFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Execute the read or SQL query in a temporary transaction.
      * This is the most efficient way to execute a transaction that
@@ -911,8 +830,6 @@ public com.google.spanner.v1.TransactionOptionsOrBuilder getSingleUseOrBuilder()
       }
     }
     /**
-     *
-     *
      * 
      * Execute the read or SQL query in a temporary transaction.
      * This is the most efficient way to execute a transaction that
@@ -922,19 +839,14 @@ public com.google.spanner.v1.TransactionOptionsOrBuilder getSingleUseOrBuilder()
      * .google.spanner.v1.TransactionOptions single_use = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.TransactionOptions,
-            com.google.spanner.v1.TransactionOptions.Builder,
-            com.google.spanner.v1.TransactionOptionsOrBuilder>
+        com.google.spanner.v1.TransactionOptions, com.google.spanner.v1.TransactionOptions.Builder, com.google.spanner.v1.TransactionOptionsOrBuilder> 
         getSingleUseFieldBuilder() {
       if (singleUseBuilder_ == null) {
         if (!(selectorCase_ == 1)) {
           selector_ = com.google.spanner.v1.TransactionOptions.getDefaultInstance();
         }
-        singleUseBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.v1.TransactionOptions,
-                com.google.spanner.v1.TransactionOptions.Builder,
-                com.google.spanner.v1.TransactionOptionsOrBuilder>(
+        singleUseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.v1.TransactionOptions, com.google.spanner.v1.TransactionOptions.Builder, com.google.spanner.v1.TransactionOptionsOrBuilder>(
                 (com.google.spanner.v1.TransactionOptions) selector_,
                 getParentForChildren(),
                 isClean());
@@ -946,28 +858,22 @@ public com.google.spanner.v1.TransactionOptionsOrBuilder getSingleUseOrBuilder()
     }
 
     /**
-     *
-     *
      * 
      * Execute the read or SQL query in a previously-started transaction.
      * 
* * bytes id = 2; - * * @return Whether the id field is set. */ public boolean hasId() { return selectorCase_ == 2; } /** - * - * *
      * Execute the read or SQL query in a previously-started transaction.
      * 
* * bytes id = 2; - * * @return The id. */ public com.google.protobuf.ByteString getId() { @@ -977,35 +883,27 @@ public com.google.protobuf.ByteString getId() { return com.google.protobuf.ByteString.EMPTY; } /** - * - * *
      * Execute the read or SQL query in a previously-started transaction.
      * 
* * bytes id = 2; - * * @param value The id to set. * @return This builder for chaining. */ public Builder setId(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } selectorCase_ = 2; selector_ = value; onChanged(); return this; } /** - * - * *
      * Execute the read or SQL query in a previously-started transaction.
      * 
* * bytes id = 2; - * * @return This builder for chaining. */ public Builder clearId() { @@ -1018,13 +916,8 @@ public Builder clearId() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.TransactionOptions, - com.google.spanner.v1.TransactionOptions.Builder, - com.google.spanner.v1.TransactionOptionsOrBuilder> - beginBuilder_; + com.google.spanner.v1.TransactionOptions, com.google.spanner.v1.TransactionOptions.Builder, com.google.spanner.v1.TransactionOptionsOrBuilder> beginBuilder_; /** - * - * *
      * Begin a new transaction and execute this read or SQL query in
      * it. The transaction ID of the new transaction is returned in
@@ -1033,7 +926,6 @@ public Builder clearId() {
      * 
* * .google.spanner.v1.TransactionOptions begin = 3; - * * @return Whether the begin field is set. */ @java.lang.Override @@ -1041,8 +933,6 @@ public boolean hasBegin() { return selectorCase_ == 3; } /** - * - * *
      * Begin a new transaction and execute this read or SQL query in
      * it. The transaction ID of the new transaction is returned in
@@ -1051,7 +941,6 @@ public boolean hasBegin() {
      * 
* * .google.spanner.v1.TransactionOptions begin = 3; - * * @return The begin. */ @java.lang.Override @@ -1069,8 +958,6 @@ public com.google.spanner.v1.TransactionOptions getBegin() { } } /** - * - * *
      * Begin a new transaction and execute this read or SQL query in
      * it. The transaction ID of the new transaction is returned in
@@ -1094,8 +981,6 @@ public Builder setBegin(com.google.spanner.v1.TransactionOptions value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Begin a new transaction and execute this read or SQL query in
      * it. The transaction ID of the new transaction is returned in
@@ -1105,7 +990,8 @@ public Builder setBegin(com.google.spanner.v1.TransactionOptions value) {
      *
      * .google.spanner.v1.TransactionOptions begin = 3;
      */
-    public Builder setBegin(com.google.spanner.v1.TransactionOptions.Builder builderForValue) {
+    public Builder setBegin(
+        com.google.spanner.v1.TransactionOptions.Builder builderForValue) {
       if (beginBuilder_ == null) {
         selector_ = builderForValue.build();
         onChanged();
@@ -1116,8 +1002,6 @@ public Builder setBegin(com.google.spanner.v1.TransactionOptions.Builder builder
       return this;
     }
     /**
-     *
-     *
      * 
      * Begin a new transaction and execute this read or SQL query in
      * it. The transaction ID of the new transaction is returned in
@@ -1129,13 +1013,10 @@ public Builder setBegin(com.google.spanner.v1.TransactionOptions.Builder builder
      */
     public Builder mergeBegin(com.google.spanner.v1.TransactionOptions value) {
       if (beginBuilder_ == null) {
-        if (selectorCase_ == 3
-            && selector_ != com.google.spanner.v1.TransactionOptions.getDefaultInstance()) {
-          selector_ =
-              com.google.spanner.v1.TransactionOptions.newBuilder(
-                      (com.google.spanner.v1.TransactionOptions) selector_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (selectorCase_ == 3 &&
+            selector_ != com.google.spanner.v1.TransactionOptions.getDefaultInstance()) {
+          selector_ = com.google.spanner.v1.TransactionOptions.newBuilder((com.google.spanner.v1.TransactionOptions) selector_)
+              .mergeFrom(value).buildPartial();
         } else {
           selector_ = value;
         }
@@ -1151,8 +1032,6 @@ public Builder mergeBegin(com.google.spanner.v1.TransactionOptions value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Begin a new transaction and execute this read or SQL query in
      * it. The transaction ID of the new transaction is returned in
@@ -1179,8 +1058,6 @@ public Builder clearBegin() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Begin a new transaction and execute this read or SQL query in
      * it. The transaction ID of the new transaction is returned in
@@ -1194,8 +1071,6 @@ public com.google.spanner.v1.TransactionOptions.Builder getBeginBuilder() {
       return getBeginFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Begin a new transaction and execute this read or SQL query in
      * it. The transaction ID of the new transaction is returned in
@@ -1217,8 +1092,6 @@ public com.google.spanner.v1.TransactionOptionsOrBuilder getBeginOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * Begin a new transaction and execute this read or SQL query in
      * it. The transaction ID of the new transaction is returned in
@@ -1229,19 +1102,14 @@ public com.google.spanner.v1.TransactionOptionsOrBuilder getBeginOrBuilder() {
      * .google.spanner.v1.TransactionOptions begin = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.TransactionOptions,
-            com.google.spanner.v1.TransactionOptions.Builder,
-            com.google.spanner.v1.TransactionOptionsOrBuilder>
+        com.google.spanner.v1.TransactionOptions, com.google.spanner.v1.TransactionOptions.Builder, com.google.spanner.v1.TransactionOptionsOrBuilder> 
         getBeginFieldBuilder() {
       if (beginBuilder_ == null) {
         if (!(selectorCase_ == 3)) {
           selector_ = com.google.spanner.v1.TransactionOptions.getDefaultInstance();
         }
-        beginBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.v1.TransactionOptions,
-                com.google.spanner.v1.TransactionOptions.Builder,
-                com.google.spanner.v1.TransactionOptionsOrBuilder>(
+        beginBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.v1.TransactionOptions, com.google.spanner.v1.TransactionOptions.Builder, com.google.spanner.v1.TransactionOptionsOrBuilder>(
                 (com.google.spanner.v1.TransactionOptions) selector_,
                 getParentForChildren(),
                 isClean());
@@ -1251,9 +1119,9 @@ public com.google.spanner.v1.TransactionOptionsOrBuilder getBeginOrBuilder() {
       onChanged();
       return beginBuilder_;
     }
-
     @java.lang.Override
-    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 +1131,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.spanner.v1.TransactionSelector)
   }
 
   // @@protoc_insertion_point(class_scope:google.spanner.v1.TransactionSelector)
   private static final com.google.spanner.v1.TransactionSelector DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.spanner.v1.TransactionSelector();
   }
@@ -1277,27 +1145,27 @@ public static com.google.spanner.v1.TransactionSelector getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public TransactionSelector parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public TransactionSelector parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.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,4 +1180,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.spanner.v1.TransactionSelector getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionSelectorOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionSelectorOrBuilder.java
similarity index 80%
rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionSelectorOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionSelectorOrBuilder.java
index ff10cc1510b..c5e762ece65 100644
--- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionSelectorOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionSelectorOrBuilder.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/spanner/v1/transaction.proto
 
 package com.google.spanner.v1;
 
-public interface TransactionSelectorOrBuilder
-    extends
+public interface TransactionSelectorOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.spanner.v1.TransactionSelector)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Execute the read or SQL query in a temporary transaction.
    * This is the most efficient way to execute a transaction that
@@ -33,13 +15,10 @@ public interface TransactionSelectorOrBuilder
    * 
* * .google.spanner.v1.TransactionOptions single_use = 1; - * * @return Whether the singleUse field is set. */ boolean hasSingleUse(); /** - * - * *
    * Execute the read or SQL query in a temporary transaction.
    * This is the most efficient way to execute a transaction that
@@ -47,13 +26,10 @@ public interface TransactionSelectorOrBuilder
    * 
* * .google.spanner.v1.TransactionOptions single_use = 1; - * * @return The singleUse. */ com.google.spanner.v1.TransactionOptions getSingleUse(); /** - * - * *
    * Execute the read or SQL query in a temporary transaction.
    * This is the most efficient way to execute a transaction that
@@ -65,33 +41,25 @@ public interface TransactionSelectorOrBuilder
   com.google.spanner.v1.TransactionOptionsOrBuilder getSingleUseOrBuilder();
 
   /**
-   *
-   *
    * 
    * Execute the read or SQL query in a previously-started transaction.
    * 
* * bytes id = 2; - * * @return Whether the id field is set. */ boolean hasId(); /** - * - * *
    * Execute the read or SQL query in a previously-started transaction.
    * 
* * bytes id = 2; - * * @return The id. */ com.google.protobuf.ByteString getId(); /** - * - * *
    * Begin a new transaction and execute this read or SQL query in
    * it. The transaction ID of the new transaction is returned in
@@ -100,13 +68,10 @@ public interface TransactionSelectorOrBuilder
    * 
* * .google.spanner.v1.TransactionOptions begin = 3; - * * @return Whether the begin field is set. */ boolean hasBegin(); /** - * - * *
    * Begin a new transaction and execute this read or SQL query in
    * it. The transaction ID of the new transaction is returned in
@@ -115,13 +80,10 @@ public interface TransactionSelectorOrBuilder
    * 
* * .google.spanner.v1.TransactionOptions begin = 3; - * * @return The begin. */ com.google.spanner.v1.TransactionOptions getBegin(); /** - * - * *
    * Begin a new transaction and execute this read or SQL query in
    * it. The transaction ID of the new transaction is returned in
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Type.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Type.java
similarity index 75%
rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Type.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Type.java
index 6785a32ef32..9df16cec4d0 100644
--- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Type.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Type.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/spanner/v1/type.proto
 
 package com.google.spanner.v1;
 
 /**
- *
- *
  * 
  * `Type` indicates the type of a Cloud Spanner value, as might be stored in a
  * table cell or returned from an SQL query.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.spanner.v1.Type}
  */
-public final class Type extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Type extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.spanner.v1.Type)
     TypeOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Type.newBuilder() to construct.
   private Type(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Type() {
     code_ = 0;
     typeAnnotation_ = 0;
@@ -45,16 +27,18 @@ private Type() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Type();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
     return com.google.spanner.v1.TypeProto.internal_static_google_spanner_v1_Type_descriptor;
   }
 
@@ -69,33 +53,25 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
   public static final int CODE_FIELD_NUMBER = 1;
   private int code_ = 0;
   /**
-   *
-   *
    * 
    * Required. The [TypeCode][google.spanner.v1.TypeCode] for this type.
    * 
* * .google.spanner.v1.TypeCode code = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The enum numeric value on the wire for code. */ - @java.lang.Override - public int getCodeValue() { + @java.lang.Override public int getCodeValue() { return code_; } /** - * - * *
    * Required. The [TypeCode][google.spanner.v1.TypeCode] for this type.
    * 
* * .google.spanner.v1.TypeCode code = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The code. */ - @java.lang.Override - public com.google.spanner.v1.TypeCode getCode() { + @java.lang.Override public com.google.spanner.v1.TypeCode getCode() { com.google.spanner.v1.TypeCode result = com.google.spanner.v1.TypeCode.forNumber(code_); return result == null ? com.google.spanner.v1.TypeCode.UNRECOGNIZED : result; } @@ -103,15 +79,12 @@ public com.google.spanner.v1.TypeCode getCode() { public static final int ARRAY_ELEMENT_TYPE_FIELD_NUMBER = 2; private com.google.spanner.v1.Type arrayElementType_; /** - * - * *
    * If [code][google.spanner.v1.Type.code] == [ARRAY][google.spanner.v1.TypeCode.ARRAY], then `array_element_type`
    * is the type of the array elements.
    * 
* * .google.spanner.v1.Type array_element_type = 2; - * * @return Whether the arrayElementType field is set. */ @java.lang.Override @@ -119,26 +92,19 @@ public boolean hasArrayElementType() { return arrayElementType_ != null; } /** - * - * *
    * If [code][google.spanner.v1.Type.code] == [ARRAY][google.spanner.v1.TypeCode.ARRAY], then `array_element_type`
    * is the type of the array elements.
    * 
* * .google.spanner.v1.Type array_element_type = 2; - * * @return The arrayElementType. */ @java.lang.Override public com.google.spanner.v1.Type getArrayElementType() { - return arrayElementType_ == null - ? com.google.spanner.v1.Type.getDefaultInstance() - : arrayElementType_; + return arrayElementType_ == null ? com.google.spanner.v1.Type.getDefaultInstance() : arrayElementType_; } /** - * - * *
    * If [code][google.spanner.v1.Type.code] == [ARRAY][google.spanner.v1.TypeCode.ARRAY], then `array_element_type`
    * is the type of the array elements.
@@ -148,23 +114,18 @@ public com.google.spanner.v1.Type getArrayElementType() {
    */
   @java.lang.Override
   public com.google.spanner.v1.TypeOrBuilder getArrayElementTypeOrBuilder() {
-    return arrayElementType_ == null
-        ? com.google.spanner.v1.Type.getDefaultInstance()
-        : arrayElementType_;
+    return arrayElementType_ == null ? com.google.spanner.v1.Type.getDefaultInstance() : arrayElementType_;
   }
 
   public static final int STRUCT_TYPE_FIELD_NUMBER = 3;
   private com.google.spanner.v1.StructType structType_;
   /**
-   *
-   *
    * 
    * If [code][google.spanner.v1.Type.code] == [STRUCT][google.spanner.v1.TypeCode.STRUCT], then `struct_type`
    * provides type information for the struct's fields.
    * 
* * .google.spanner.v1.StructType struct_type = 3; - * * @return Whether the structType field is set. */ @java.lang.Override @@ -172,26 +133,19 @@ public boolean hasStructType() { return structType_ != null; } /** - * - * *
    * If [code][google.spanner.v1.Type.code] == [STRUCT][google.spanner.v1.TypeCode.STRUCT], then `struct_type`
    * provides type information for the struct's fields.
    * 
* * .google.spanner.v1.StructType struct_type = 3; - * * @return The structType. */ @java.lang.Override public com.google.spanner.v1.StructType getStructType() { - return structType_ == null - ? com.google.spanner.v1.StructType.getDefaultInstance() - : structType_; + return structType_ == null ? com.google.spanner.v1.StructType.getDefaultInstance() : structType_; } /** - * - * *
    * If [code][google.spanner.v1.Type.code] == [STRUCT][google.spanner.v1.TypeCode.STRUCT], then `struct_type`
    * provides type information for the struct's fields.
@@ -201,16 +155,12 @@ public com.google.spanner.v1.StructType getStructType() {
    */
   @java.lang.Override
   public com.google.spanner.v1.StructTypeOrBuilder getStructTypeOrBuilder() {
-    return structType_ == null
-        ? com.google.spanner.v1.StructType.getDefaultInstance()
-        : structType_;
+    return structType_ == null ? com.google.spanner.v1.StructType.getDefaultInstance() : structType_;
   }
 
   public static final int TYPE_ANNOTATION_FIELD_NUMBER = 4;
   private int typeAnnotation_ = 0;
   /**
-   *
-   *
    * 
    * The [TypeAnnotationCode][google.spanner.v1.TypeAnnotationCode] that disambiguates SQL type that Spanner will
    * use to represent values of this type during query processing. This is
@@ -221,16 +171,12 @@ public com.google.spanner.v1.StructTypeOrBuilder getStructTypeOrBuilder() {
    * 
* * .google.spanner.v1.TypeAnnotationCode type_annotation = 4; - * * @return The enum numeric value on the wire for typeAnnotation. */ - @java.lang.Override - public int getTypeAnnotationValue() { + @java.lang.Override public int getTypeAnnotationValue() { return typeAnnotation_; } /** - * - * *
    * The [TypeAnnotationCode][google.spanner.v1.TypeAnnotationCode] that disambiguates SQL type that Spanner will
    * use to represent values of this type during query processing. This is
@@ -241,18 +187,14 @@ public int getTypeAnnotationValue() {
    * 
* * .google.spanner.v1.TypeAnnotationCode type_annotation = 4; - * * @return The typeAnnotation. */ - @java.lang.Override - public com.google.spanner.v1.TypeAnnotationCode getTypeAnnotation() { - com.google.spanner.v1.TypeAnnotationCode result = - com.google.spanner.v1.TypeAnnotationCode.forNumber(typeAnnotation_); + @java.lang.Override public com.google.spanner.v1.TypeAnnotationCode getTypeAnnotation() { + com.google.spanner.v1.TypeAnnotationCode result = com.google.spanner.v1.TypeAnnotationCode.forNumber(typeAnnotation_); return result == null ? com.google.spanner.v1.TypeAnnotationCode.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -264,7 +206,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (code_ != com.google.spanner.v1.TypeCode.TYPE_CODE_UNSPECIFIED.getNumber()) { output.writeEnum(1, code_); } @@ -274,8 +217,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (structType_ != null) { output.writeMessage(3, getStructType()); } - if (typeAnnotation_ - != com.google.spanner.v1.TypeAnnotationCode.TYPE_ANNOTATION_CODE_UNSPECIFIED.getNumber()) { + if (typeAnnotation_ != com.google.spanner.v1.TypeAnnotationCode.TYPE_ANNOTATION_CODE_UNSPECIFIED.getNumber()) { output.writeEnum(4, typeAnnotation_); } getUnknownFields().writeTo(output); @@ -288,17 +230,20 @@ public int getSerializedSize() { size = 0; if (code_ != com.google.spanner.v1.TypeCode.TYPE_CODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, code_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, code_); } if (arrayElementType_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getArrayElementType()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getArrayElementType()); } if (structType_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getStructType()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getStructType()); } - if (typeAnnotation_ - != com.google.spanner.v1.TypeAnnotationCode.TYPE_ANNOTATION_CODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, typeAnnotation_); + if (typeAnnotation_ != com.google.spanner.v1.TypeAnnotationCode.TYPE_ANNOTATION_CODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, typeAnnotation_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -308,7 +253,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.spanner.v1.Type)) { return super.equals(obj); @@ -318,11 +263,13 @@ public boolean equals(final java.lang.Object obj) { if (code_ != other.code_) return false; if (hasArrayElementType() != other.hasArrayElementType()) return false; if (hasArrayElementType()) { - if (!getArrayElementType().equals(other.getArrayElementType())) return false; + if (!getArrayElementType() + .equals(other.getArrayElementType())) return false; } if (hasStructType() != other.hasStructType()) return false; if (hasStructType()) { - if (!getStructType().equals(other.getStructType())) return false; + if (!getStructType() + .equals(other.getStructType())) return false; } if (typeAnnotation_ != other.typeAnnotation_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -353,103 +300,97 @@ public int hashCode() { return hash; } - public static com.google.spanner.v1.Type parseFrom(java.nio.ByteBuffer data) + public static com.google.spanner.v1.Type parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.Type parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.spanner.v1.Type parseFrom(com.google.protobuf.ByteString data) + public static com.google.spanner.v1.Type parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.Type parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.Type parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.spanner.v1.Type parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.Type parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.spanner.v1.Type parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.Type 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.spanner.v1.Type parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.spanner.v1.Type parseFrom(com.google.protobuf.CodedInputStream input) + public static com.google.spanner.v1.Type 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.spanner.v1.Type parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.v1.Type prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * `Type` indicates the type of a Cloud Spanner value, as might be stored in a
    * table cell or returned from an SQL query.
@@ -457,30 +398,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.spanner.v1.Type}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.spanner.v1.Type)
       com.google.spanner.v1.TypeOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
       return com.google.spanner.v1.TypeProto.internal_static_google_spanner_v1_Type_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.v1.TypeProto
-          .internal_static_google_spanner_v1_Type_fieldAccessorTable
+      return com.google.spanner.v1.TypeProto.internal_static_google_spanner_v1_Type_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
               com.google.spanner.v1.Type.class, com.google.spanner.v1.Type.Builder.class);
     }
 
     // Construct using com.google.spanner.v1.Type.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -501,7 +445,8 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
       return com.google.spanner.v1.TypeProto.internal_static_google_spanner_v1_Type_descriptor;
     }
 
@@ -522,9 +467,7 @@ public com.google.spanner.v1.Type build() {
     @java.lang.Override
     public com.google.spanner.v1.Type buildPartial() {
       com.google.spanner.v1.Type result = new com.google.spanner.v1.Type(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -535,11 +478,14 @@ private void buildPartial0(com.google.spanner.v1.Type result) {
         result.code_ = code_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.arrayElementType_ =
-            arrayElementTypeBuilder_ == null ? arrayElementType_ : arrayElementTypeBuilder_.build();
+        result.arrayElementType_ = arrayElementTypeBuilder_ == null
+            ? arrayElementType_
+            : arrayElementTypeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.structType_ = structTypeBuilder_ == null ? structType_ : structTypeBuilder_.build();
+        result.structType_ = structTypeBuilder_ == null
+            ? structType_
+            : structTypeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
         result.typeAnnotation_ = typeAnnotation_;
@@ -550,39 +496,38 @@ private void buildPartial0(com.google.spanner.v1.Type 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.spanner.v1.Type) {
-        return mergeFrom((com.google.spanner.v1.Type) other);
+        return mergeFrom((com.google.spanner.v1.Type)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -629,38 +574,36 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                code_ = input.readEnum();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 8
-            case 18:
-              {
-                input.readMessage(
-                    getArrayElementTypeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getStructTypeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 32:
-              {
-                typeAnnotation_ = input.readEnum();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 32
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              code_ = input.readEnum();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 8
+            case 18: {
+              input.readMessage(
+                  getArrayElementTypeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getStructTypeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 32: {
+              typeAnnotation_ = input.readEnum();
+              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,34 +613,26 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private int code_ = 0;
     /**
-     *
-     *
      * 
      * Required. The [TypeCode][google.spanner.v1.TypeCode] for this type.
      * 
* * .google.spanner.v1.TypeCode code = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The enum numeric value on the wire for code. */ - @java.lang.Override - public int getCodeValue() { + @java.lang.Override public int getCodeValue() { return code_; } /** - * - * *
      * Required. The [TypeCode][google.spanner.v1.TypeCode] for this type.
      * 
* * .google.spanner.v1.TypeCode code = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The enum numeric value on the wire for code to set. * @return This builder for chaining. */ @@ -708,14 +643,11 @@ public Builder setCodeValue(int value) { return this; } /** - * - * *
      * Required. The [TypeCode][google.spanner.v1.TypeCode] for this type.
      * 
* * .google.spanner.v1.TypeCode code = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The code. */ @java.lang.Override @@ -724,14 +656,11 @@ public com.google.spanner.v1.TypeCode getCode() { return result == null ? com.google.spanner.v1.TypeCode.UNRECOGNIZED : result; } /** - * - * *
      * Required. The [TypeCode][google.spanner.v1.TypeCode] for this type.
      * 
* * .google.spanner.v1.TypeCode code = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The code to set. * @return This builder for chaining. */ @@ -745,14 +674,11 @@ public Builder setCode(com.google.spanner.v1.TypeCode value) { return this; } /** - * - * *
      * Required. The [TypeCode][google.spanner.v1.TypeCode] for this type.
      * 
* * .google.spanner.v1.TypeCode code = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearCode() { @@ -764,49 +690,36 @@ public Builder clearCode() { private com.google.spanner.v1.Type arrayElementType_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.Type, - com.google.spanner.v1.Type.Builder, - com.google.spanner.v1.TypeOrBuilder> - arrayElementTypeBuilder_; + com.google.spanner.v1.Type, com.google.spanner.v1.Type.Builder, com.google.spanner.v1.TypeOrBuilder> arrayElementTypeBuilder_; /** - * - * *
      * If [code][google.spanner.v1.Type.code] == [ARRAY][google.spanner.v1.TypeCode.ARRAY], then `array_element_type`
      * is the type of the array elements.
      * 
* * .google.spanner.v1.Type array_element_type = 2; - * * @return Whether the arrayElementType field is set. */ public boolean hasArrayElementType() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * If [code][google.spanner.v1.Type.code] == [ARRAY][google.spanner.v1.TypeCode.ARRAY], then `array_element_type`
      * is the type of the array elements.
      * 
* * .google.spanner.v1.Type array_element_type = 2; - * * @return The arrayElementType. */ public com.google.spanner.v1.Type getArrayElementType() { if (arrayElementTypeBuilder_ == null) { - return arrayElementType_ == null - ? com.google.spanner.v1.Type.getDefaultInstance() - : arrayElementType_; + return arrayElementType_ == null ? com.google.spanner.v1.Type.getDefaultInstance() : arrayElementType_; } else { return arrayElementTypeBuilder_.getMessage(); } } /** - * - * *
      * If [code][google.spanner.v1.Type.code] == [ARRAY][google.spanner.v1.TypeCode.ARRAY], then `array_element_type`
      * is the type of the array elements.
@@ -828,8 +741,6 @@ public Builder setArrayElementType(com.google.spanner.v1.Type value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If [code][google.spanner.v1.Type.code] == [ARRAY][google.spanner.v1.TypeCode.ARRAY], then `array_element_type`
      * is the type of the array elements.
@@ -837,7 +748,8 @@ public Builder setArrayElementType(com.google.spanner.v1.Type value) {
      *
      * .google.spanner.v1.Type array_element_type = 2;
      */
-    public Builder setArrayElementType(com.google.spanner.v1.Type.Builder builderForValue) {
+    public Builder setArrayElementType(
+        com.google.spanner.v1.Type.Builder builderForValue) {
       if (arrayElementTypeBuilder_ == null) {
         arrayElementType_ = builderForValue.build();
       } else {
@@ -848,8 +760,6 @@ public Builder setArrayElementType(com.google.spanner.v1.Type.Builder builderFor
       return this;
     }
     /**
-     *
-     *
      * 
      * If [code][google.spanner.v1.Type.code] == [ARRAY][google.spanner.v1.TypeCode.ARRAY], then `array_element_type`
      * is the type of the array elements.
@@ -859,9 +769,9 @@ public Builder setArrayElementType(com.google.spanner.v1.Type.Builder builderFor
      */
     public Builder mergeArrayElementType(com.google.spanner.v1.Type value) {
       if (arrayElementTypeBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && arrayElementType_ != null
-            && arrayElementType_ != com.google.spanner.v1.Type.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          arrayElementType_ != null &&
+          arrayElementType_ != com.google.spanner.v1.Type.getDefaultInstance()) {
           getArrayElementTypeBuilder().mergeFrom(value);
         } else {
           arrayElementType_ = value;
@@ -874,8 +784,6 @@ public Builder mergeArrayElementType(com.google.spanner.v1.Type value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If [code][google.spanner.v1.Type.code] == [ARRAY][google.spanner.v1.TypeCode.ARRAY], then `array_element_type`
      * is the type of the array elements.
@@ -894,8 +802,6 @@ public Builder clearArrayElementType() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If [code][google.spanner.v1.Type.code] == [ARRAY][google.spanner.v1.TypeCode.ARRAY], then `array_element_type`
      * is the type of the array elements.
@@ -909,8 +815,6 @@ public com.google.spanner.v1.Type.Builder getArrayElementTypeBuilder() {
       return getArrayElementTypeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If [code][google.spanner.v1.Type.code] == [ARRAY][google.spanner.v1.TypeCode.ARRAY], then `array_element_type`
      * is the type of the array elements.
@@ -922,14 +826,11 @@ public com.google.spanner.v1.TypeOrBuilder getArrayElementTypeOrBuilder() {
       if (arrayElementTypeBuilder_ != null) {
         return arrayElementTypeBuilder_.getMessageOrBuilder();
       } else {
-        return arrayElementType_ == null
-            ? com.google.spanner.v1.Type.getDefaultInstance()
-            : arrayElementType_;
+        return arrayElementType_ == null ?
+            com.google.spanner.v1.Type.getDefaultInstance() : arrayElementType_;
       }
     }
     /**
-     *
-     *
      * 
      * If [code][google.spanner.v1.Type.code] == [ARRAY][google.spanner.v1.TypeCode.ARRAY], then `array_element_type`
      * is the type of the array elements.
@@ -938,17 +839,14 @@ public com.google.spanner.v1.TypeOrBuilder getArrayElementTypeOrBuilder() {
      * .google.spanner.v1.Type array_element_type = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.Type,
-            com.google.spanner.v1.Type.Builder,
-            com.google.spanner.v1.TypeOrBuilder>
+        com.google.spanner.v1.Type, com.google.spanner.v1.Type.Builder, com.google.spanner.v1.TypeOrBuilder> 
         getArrayElementTypeFieldBuilder() {
       if (arrayElementTypeBuilder_ == null) {
-        arrayElementTypeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.v1.Type,
-                com.google.spanner.v1.Type.Builder,
-                com.google.spanner.v1.TypeOrBuilder>(
-                getArrayElementType(), getParentForChildren(), isClean());
+        arrayElementTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.v1.Type, com.google.spanner.v1.Type.Builder, com.google.spanner.v1.TypeOrBuilder>(
+                getArrayElementType(),
+                getParentForChildren(),
+                isClean());
         arrayElementType_ = null;
       }
       return arrayElementTypeBuilder_;
@@ -956,49 +854,36 @@ public com.google.spanner.v1.TypeOrBuilder getArrayElementTypeOrBuilder() {
 
     private com.google.spanner.v1.StructType structType_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.StructType,
-            com.google.spanner.v1.StructType.Builder,
-            com.google.spanner.v1.StructTypeOrBuilder>
-        structTypeBuilder_;
+        com.google.spanner.v1.StructType, com.google.spanner.v1.StructType.Builder, com.google.spanner.v1.StructTypeOrBuilder> structTypeBuilder_;
     /**
-     *
-     *
      * 
      * If [code][google.spanner.v1.Type.code] == [STRUCT][google.spanner.v1.TypeCode.STRUCT], then `struct_type`
      * provides type information for the struct's fields.
      * 
* * .google.spanner.v1.StructType struct_type = 3; - * * @return Whether the structType field is set. */ public boolean hasStructType() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * If [code][google.spanner.v1.Type.code] == [STRUCT][google.spanner.v1.TypeCode.STRUCT], then `struct_type`
      * provides type information for the struct's fields.
      * 
* * .google.spanner.v1.StructType struct_type = 3; - * * @return The structType. */ public com.google.spanner.v1.StructType getStructType() { if (structTypeBuilder_ == null) { - return structType_ == null - ? com.google.spanner.v1.StructType.getDefaultInstance() - : structType_; + return structType_ == null ? com.google.spanner.v1.StructType.getDefaultInstance() : structType_; } else { return structTypeBuilder_.getMessage(); } } /** - * - * *
      * If [code][google.spanner.v1.Type.code] == [STRUCT][google.spanner.v1.TypeCode.STRUCT], then `struct_type`
      * provides type information for the struct's fields.
@@ -1020,8 +905,6 @@ public Builder setStructType(com.google.spanner.v1.StructType value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If [code][google.spanner.v1.Type.code] == [STRUCT][google.spanner.v1.TypeCode.STRUCT], then `struct_type`
      * provides type information for the struct's fields.
@@ -1029,7 +912,8 @@ public Builder setStructType(com.google.spanner.v1.StructType value) {
      *
      * .google.spanner.v1.StructType struct_type = 3;
      */
-    public Builder setStructType(com.google.spanner.v1.StructType.Builder builderForValue) {
+    public Builder setStructType(
+        com.google.spanner.v1.StructType.Builder builderForValue) {
       if (structTypeBuilder_ == null) {
         structType_ = builderForValue.build();
       } else {
@@ -1040,8 +924,6 @@ public Builder setStructType(com.google.spanner.v1.StructType.Builder builderFor
       return this;
     }
     /**
-     *
-     *
      * 
      * If [code][google.spanner.v1.Type.code] == [STRUCT][google.spanner.v1.TypeCode.STRUCT], then `struct_type`
      * provides type information for the struct's fields.
@@ -1051,9 +933,9 @@ public Builder setStructType(com.google.spanner.v1.StructType.Builder builderFor
      */
     public Builder mergeStructType(com.google.spanner.v1.StructType value) {
       if (structTypeBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0)
-            && structType_ != null
-            && structType_ != com.google.spanner.v1.StructType.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0) &&
+          structType_ != null &&
+          structType_ != com.google.spanner.v1.StructType.getDefaultInstance()) {
           getStructTypeBuilder().mergeFrom(value);
         } else {
           structType_ = value;
@@ -1066,8 +948,6 @@ public Builder mergeStructType(com.google.spanner.v1.StructType value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If [code][google.spanner.v1.Type.code] == [STRUCT][google.spanner.v1.TypeCode.STRUCT], then `struct_type`
      * provides type information for the struct's fields.
@@ -1086,8 +966,6 @@ public Builder clearStructType() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If [code][google.spanner.v1.Type.code] == [STRUCT][google.spanner.v1.TypeCode.STRUCT], then `struct_type`
      * provides type information for the struct's fields.
@@ -1101,8 +979,6 @@ public com.google.spanner.v1.StructType.Builder getStructTypeBuilder() {
       return getStructTypeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If [code][google.spanner.v1.Type.code] == [STRUCT][google.spanner.v1.TypeCode.STRUCT], then `struct_type`
      * provides type information for the struct's fields.
@@ -1114,14 +990,11 @@ public com.google.spanner.v1.StructTypeOrBuilder getStructTypeOrBuilder() {
       if (structTypeBuilder_ != null) {
         return structTypeBuilder_.getMessageOrBuilder();
       } else {
-        return structType_ == null
-            ? com.google.spanner.v1.StructType.getDefaultInstance()
-            : structType_;
+        return structType_ == null ?
+            com.google.spanner.v1.StructType.getDefaultInstance() : structType_;
       }
     }
     /**
-     *
-     *
      * 
      * If [code][google.spanner.v1.Type.code] == [STRUCT][google.spanner.v1.TypeCode.STRUCT], then `struct_type`
      * provides type information for the struct's fields.
@@ -1130,17 +1003,14 @@ public com.google.spanner.v1.StructTypeOrBuilder getStructTypeOrBuilder() {
      * .google.spanner.v1.StructType struct_type = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.StructType,
-            com.google.spanner.v1.StructType.Builder,
-            com.google.spanner.v1.StructTypeOrBuilder>
+        com.google.spanner.v1.StructType, com.google.spanner.v1.StructType.Builder, com.google.spanner.v1.StructTypeOrBuilder> 
         getStructTypeFieldBuilder() {
       if (structTypeBuilder_ == null) {
-        structTypeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.spanner.v1.StructType,
-                com.google.spanner.v1.StructType.Builder,
-                com.google.spanner.v1.StructTypeOrBuilder>(
-                getStructType(), getParentForChildren(), isClean());
+        structTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.spanner.v1.StructType, com.google.spanner.v1.StructType.Builder, com.google.spanner.v1.StructTypeOrBuilder>(
+                getStructType(),
+                getParentForChildren(),
+                isClean());
         structType_ = null;
       }
       return structTypeBuilder_;
@@ -1148,8 +1018,6 @@ public com.google.spanner.v1.StructTypeOrBuilder getStructTypeOrBuilder() {
 
     private int typeAnnotation_ = 0;
     /**
-     *
-     *
      * 
      * The [TypeAnnotationCode][google.spanner.v1.TypeAnnotationCode] that disambiguates SQL type that Spanner will
      * use to represent values of this type during query processing. This is
@@ -1160,16 +1028,12 @@ public com.google.spanner.v1.StructTypeOrBuilder getStructTypeOrBuilder() {
      * 
* * .google.spanner.v1.TypeAnnotationCode type_annotation = 4; - * * @return The enum numeric value on the wire for typeAnnotation. */ - @java.lang.Override - public int getTypeAnnotationValue() { + @java.lang.Override public int getTypeAnnotationValue() { return typeAnnotation_; } /** - * - * *
      * The [TypeAnnotationCode][google.spanner.v1.TypeAnnotationCode] that disambiguates SQL type that Spanner will
      * use to represent values of this type during query processing. This is
@@ -1180,7 +1044,6 @@ public int getTypeAnnotationValue() {
      * 
* * .google.spanner.v1.TypeAnnotationCode type_annotation = 4; - * * @param value The enum numeric value on the wire for typeAnnotation to set. * @return This builder for chaining. */ @@ -1191,8 +1054,6 @@ public Builder setTypeAnnotationValue(int value) { return this; } /** - * - * *
      * The [TypeAnnotationCode][google.spanner.v1.TypeAnnotationCode] that disambiguates SQL type that Spanner will
      * use to represent values of this type during query processing. This is
@@ -1203,18 +1064,14 @@ public Builder setTypeAnnotationValue(int value) {
      * 
* * .google.spanner.v1.TypeAnnotationCode type_annotation = 4; - * * @return The typeAnnotation. */ @java.lang.Override public com.google.spanner.v1.TypeAnnotationCode getTypeAnnotation() { - com.google.spanner.v1.TypeAnnotationCode result = - com.google.spanner.v1.TypeAnnotationCode.forNumber(typeAnnotation_); + com.google.spanner.v1.TypeAnnotationCode result = com.google.spanner.v1.TypeAnnotationCode.forNumber(typeAnnotation_); return result == null ? com.google.spanner.v1.TypeAnnotationCode.UNRECOGNIZED : result; } /** - * - * *
      * The [TypeAnnotationCode][google.spanner.v1.TypeAnnotationCode] that disambiguates SQL type that Spanner will
      * use to represent values of this type during query processing. This is
@@ -1225,7 +1082,6 @@ public com.google.spanner.v1.TypeAnnotationCode getTypeAnnotation() {
      * 
* * .google.spanner.v1.TypeAnnotationCode type_annotation = 4; - * * @param value The typeAnnotation to set. * @return This builder for chaining. */ @@ -1239,8 +1095,6 @@ public Builder setTypeAnnotation(com.google.spanner.v1.TypeAnnotationCode value) return this; } /** - * - * *
      * The [TypeAnnotationCode][google.spanner.v1.TypeAnnotationCode] that disambiguates SQL type that Spanner will
      * use to represent values of this type during query processing. This is
@@ -1251,7 +1105,6 @@ public Builder setTypeAnnotation(com.google.spanner.v1.TypeAnnotationCode value)
      * 
* * .google.spanner.v1.TypeAnnotationCode type_annotation = 4; - * * @return This builder for chaining. */ public Builder clearTypeAnnotation() { @@ -1260,9 +1113,9 @@ public Builder clearTypeAnnotation() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1272,12 +1125,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.spanner.v1.Type) } // @@protoc_insertion_point(class_scope:google.spanner.v1.Type) private static final com.google.spanner.v1.Type DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.spanner.v1.Type(); } @@ -1286,27 +1139,27 @@ public static com.google.spanner.v1.Type getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Type parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Type parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1321,4 +1174,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.Type getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeAnnotationCode.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeAnnotationCode.java similarity index 77% rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeAnnotationCode.java rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeAnnotationCode.java index 3c62b7ea1b2..349edb040d1 100644 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeAnnotationCode.java +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeAnnotationCode.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/spanner/v1/type.proto package com.google.spanner.v1; /** - * - * *
  * `TypeAnnotationCode` is used as a part of [Type][google.spanner.v1.Type] to
  * disambiguate SQL types that should be used for a given Cloud Spanner value.
@@ -31,10 +14,9 @@
  *
  * Protobuf enum {@code google.spanner.v1.TypeAnnotationCode}
  */
-public enum TypeAnnotationCode implements com.google.protobuf.ProtocolMessageEnum {
+public enum TypeAnnotationCode
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * Not specified.
    * 
@@ -43,8 +25,6 @@ public enum TypeAnnotationCode implements com.google.protobuf.ProtocolMessageEnu */ TYPE_ANNOTATION_CODE_UNSPECIFIED(0), /** - * - * *
    * PostgreSQL compatible NUMERIC type. This annotation needs to be applied to
    * [Type][google.spanner.v1.Type] instances having [NUMERIC][google.spanner.v1.TypeCode.NUMERIC]
@@ -58,8 +38,6 @@ public enum TypeAnnotationCode implements com.google.protobuf.ProtocolMessageEnu
    */
   PG_NUMERIC(2),
   /**
-   *
-   *
    * 
    * PostgreSQL compatible JSONB type. This annotation needs to be applied to
    * [Type][google.spanner.v1.Type] instances having [JSON][google.spanner.v1.TypeCode.JSON]
@@ -76,8 +54,6 @@ public enum TypeAnnotationCode implements com.google.protobuf.ProtocolMessageEnu
   ;
 
   /**
-   *
-   *
    * 
    * Not specified.
    * 
@@ -86,8 +62,6 @@ public enum TypeAnnotationCode implements com.google.protobuf.ProtocolMessageEnu */ public static final int TYPE_ANNOTATION_CODE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * PostgreSQL compatible NUMERIC type. This annotation needs to be applied to
    * [Type][google.spanner.v1.Type] instances having [NUMERIC][google.spanner.v1.TypeCode.NUMERIC]
@@ -101,8 +75,6 @@ public enum TypeAnnotationCode implements com.google.protobuf.ProtocolMessageEnu
    */
   public static final int PG_NUMERIC_VALUE = 2;
   /**
-   *
-   *
    * 
    * PostgreSQL compatible JSONB type. This annotation needs to be applied to
    * [Type][google.spanner.v1.Type] instances having [JSON][google.spanner.v1.TypeCode.JSON]
@@ -116,6 +88,7 @@ public enum TypeAnnotationCode implements com.google.protobuf.ProtocolMessageEnu
    */
   public static final int PG_JSONB_VALUE = 3;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -140,42 +113,39 @@ public static TypeAnnotationCode valueOf(int value) {
    */
   public static TypeAnnotationCode forNumber(int value) {
     switch (value) {
-      case 0:
-        return TYPE_ANNOTATION_CODE_UNSPECIFIED;
-      case 2:
-        return PG_NUMERIC;
-      case 3:
-        return PG_JSONB;
-      default:
-        return null;
+      case 0: return TYPE_ANNOTATION_CODE_UNSPECIFIED;
+      case 2: return PG_NUMERIC;
+      case 3: return PG_JSONB;
+      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 TypeAnnotationCode findValueByNumber(int number) {
-              return TypeAnnotationCode.forNumber(number);
-            }
-          };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      TypeAnnotationCode> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public TypeAnnotationCode findValueByNumber(int number) {
+            return TypeAnnotationCode.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.spanner.v1.TypeProto.getDescriptor().getEnumTypes().get(1);
   }
 
@@ -184,7 +154,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
   public static TypeAnnotationCode valueOf(
       com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException(
+        "EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -200,3 +171,4 @@ private TypeAnnotationCode(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.spanner.v1.TypeAnnotationCode)
 }
+
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeCode.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeCode.java
similarity index 80%
rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeCode.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeCode.java
index 4b6561e9def..dbe8bcfdf0e 100644
--- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeCode.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeCode.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/spanner/v1/type.proto
 
 package com.google.spanner.v1;
 
 /**
- *
- *
  * 
  * `TypeCode` is used as part of [Type][google.spanner.v1.Type] to
  * indicate the type of a Cloud Spanner value.
@@ -32,10 +15,9 @@
  *
  * Protobuf enum {@code google.spanner.v1.TypeCode}
  */
-public enum TypeCode implements com.google.protobuf.ProtocolMessageEnum {
+public enum TypeCode
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * Not specified.
    * 
@@ -44,8 +26,6 @@ public enum TypeCode implements com.google.protobuf.ProtocolMessageEnum { */ TYPE_CODE_UNSPECIFIED(0), /** - * - * *
    * Encoded as JSON `true` or `false`.
    * 
@@ -54,8 +34,6 @@ public enum TypeCode implements com.google.protobuf.ProtocolMessageEnum { */ BOOL(1), /** - * - * *
    * Encoded as `string`, in decimal format.
    * 
@@ -64,8 +42,6 @@ public enum TypeCode implements com.google.protobuf.ProtocolMessageEnum { */ INT64(2), /** - * - * *
    * Encoded as `number`, or the strings `"NaN"`, `"Infinity"`, or
    * `"-Infinity"`.
@@ -75,8 +51,6 @@ public enum TypeCode implements com.google.protobuf.ProtocolMessageEnum {
    */
   FLOAT64(3),
   /**
-   *
-   *
    * 
    * Encoded as `string` in RFC 3339 timestamp format. The time zone
    * must be present, and must be `"Z"`.
@@ -91,8 +65,6 @@ public enum TypeCode implements com.google.protobuf.ProtocolMessageEnum {
    */
   TIMESTAMP(4),
   /**
-   *
-   *
    * 
    * Encoded as `string` in RFC 3339 date format.
    * 
@@ -101,8 +73,6 @@ public enum TypeCode implements com.google.protobuf.ProtocolMessageEnum { */ DATE(5), /** - * - * *
    * Encoded as `string`.
    * 
@@ -111,8 +81,6 @@ public enum TypeCode implements com.google.protobuf.ProtocolMessageEnum { */ STRING(6), /** - * - * *
    * Encoded as a base64-encoded `string`, as described in RFC 4648,
    * section 4.
@@ -122,8 +90,6 @@ public enum TypeCode implements com.google.protobuf.ProtocolMessageEnum {
    */
   BYTES(7),
   /**
-   *
-   *
    * 
    * Encoded as `list`, where the list elements are represented
    * according to
@@ -134,8 +100,6 @@ public enum TypeCode implements com.google.protobuf.ProtocolMessageEnum {
    */
   ARRAY(8),
   /**
-   *
-   *
    * 
    * Encoded as `list`, where list element `i` is represented according
    * to [struct_type.fields[i]][google.spanner.v1.StructType.fields].
@@ -145,8 +109,6 @@ public enum TypeCode implements com.google.protobuf.ProtocolMessageEnum {
    */
   STRUCT(9),
   /**
-   *
-   *
    * 
    * Encoded as `string`, in decimal format or scientific notation format.
    * <br>Decimal format:
@@ -162,8 +124,6 @@ public enum TypeCode implements com.google.protobuf.ProtocolMessageEnum {
    */
   NUMERIC(10),
   /**
-   *
-   *
    * 
    * Encoded as a JSON-formatted `string` as described in RFC 7159. The
    * following rules are applied when parsing JSON input:
@@ -181,8 +141,6 @@ public enum TypeCode implements com.google.protobuf.ProtocolMessageEnum {
   ;
 
   /**
-   *
-   *
    * 
    * Not specified.
    * 
@@ -191,8 +149,6 @@ public enum TypeCode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_CODE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Encoded as JSON `true` or `false`.
    * 
@@ -201,8 +157,6 @@ public enum TypeCode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BOOL_VALUE = 1; /** - * - * *
    * Encoded as `string`, in decimal format.
    * 
@@ -211,8 +165,6 @@ public enum TypeCode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INT64_VALUE = 2; /** - * - * *
    * Encoded as `number`, or the strings `"NaN"`, `"Infinity"`, or
    * `"-Infinity"`.
@@ -222,8 +174,6 @@ public enum TypeCode implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int FLOAT64_VALUE = 3;
   /**
-   *
-   *
    * 
    * Encoded as `string` in RFC 3339 timestamp format. The time zone
    * must be present, and must be `"Z"`.
@@ -238,8 +188,6 @@ public enum TypeCode implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int TIMESTAMP_VALUE = 4;
   /**
-   *
-   *
    * 
    * Encoded as `string` in RFC 3339 date format.
    * 
@@ -248,8 +196,6 @@ public enum TypeCode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DATE_VALUE = 5; /** - * - * *
    * Encoded as `string`.
    * 
@@ -258,8 +204,6 @@ public enum TypeCode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STRING_VALUE = 6; /** - * - * *
    * Encoded as a base64-encoded `string`, as described in RFC 4648,
    * section 4.
@@ -269,8 +213,6 @@ public enum TypeCode implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int BYTES_VALUE = 7;
   /**
-   *
-   *
    * 
    * Encoded as `list`, where the list elements are represented
    * according to
@@ -281,8 +223,6 @@ public enum TypeCode implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int ARRAY_VALUE = 8;
   /**
-   *
-   *
    * 
    * Encoded as `list`, where list element `i` is represented according
    * to [struct_type.fields[i]][google.spanner.v1.StructType.fields].
@@ -292,8 +232,6 @@ public enum TypeCode implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int STRUCT_VALUE = 9;
   /**
-   *
-   *
    * 
    * Encoded as `string`, in decimal format or scientific notation format.
    * <br>Decimal format:
@@ -309,8 +247,6 @@ public enum TypeCode implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int NUMERIC_VALUE = 10;
   /**
-   *
-   *
    * 
    * Encoded as a JSON-formatted `string` as described in RFC 7159. The
    * following rules are applied when parsing JSON input:
@@ -325,6 +261,7 @@ public enum TypeCode implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int JSON_VALUE = 11;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -349,67 +286,58 @@ public static TypeCode valueOf(int value) {
    */
   public static TypeCode forNumber(int value) {
     switch (value) {
-      case 0:
-        return TYPE_CODE_UNSPECIFIED;
-      case 1:
-        return BOOL;
-      case 2:
-        return INT64;
-      case 3:
-        return FLOAT64;
-      case 4:
-        return TIMESTAMP;
-      case 5:
-        return DATE;
-      case 6:
-        return STRING;
-      case 7:
-        return BYTES;
-      case 8:
-        return ARRAY;
-      case 9:
-        return STRUCT;
-      case 10:
-        return NUMERIC;
-      case 11:
-        return JSON;
-      default:
-        return null;
+      case 0: return TYPE_CODE_UNSPECIFIED;
+      case 1: return BOOL;
+      case 2: return INT64;
+      case 3: return FLOAT64;
+      case 4: return TIMESTAMP;
+      case 5: return DATE;
+      case 6: return STRING;
+      case 7: return BYTES;
+      case 8: return ARRAY;
+      case 9: return STRUCT;
+      case 10: return NUMERIC;
+      case 11: return JSON;
+      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<
+      TypeCode> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public TypeCode findValueByNumber(int number) {
+            return TypeCode.forNumber(number);
+          }
+        };
 
-  private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-      new com.google.protobuf.Internal.EnumLiteMap() {
-        public TypeCode findValueByNumber(int number) {
-          return TypeCode.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.spanner.v1.TypeProto.getDescriptor().getEnumTypes().get(0);
   }
 
   private static final TypeCode[] VALUES = values();
 
-  public static TypeCode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static TypeCode 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;
@@ -425,3 +353,4 @@ private TypeCode(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.spanner.v1.TypeCode)
 }
+
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeOrBuilder.java
similarity index 85%
rename from proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeOrBuilder.java
index 4c78a470d6d..90b67625756 100644
--- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeOrBuilder.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/spanner/v1/type.proto
 
 package com.google.spanner.v1;
 
-public interface TypeOrBuilder
-    extends
+public interface TypeOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.spanner.v1.Type)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The [TypeCode][google.spanner.v1.TypeCode] for this type.
    * 
* * .google.spanner.v1.TypeCode code = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The enum numeric value on the wire for code. */ int getCodeValue(); /** - * - * *
    * Required. The [TypeCode][google.spanner.v1.TypeCode] for this type.
    * 
* * .google.spanner.v1.TypeCode code = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The code. */ com.google.spanner.v1.TypeCode getCode(); /** - * - * *
    * If [code][google.spanner.v1.Type.code] == [ARRAY][google.spanner.v1.TypeCode.ARRAY], then `array_element_type`
    * is the type of the array elements.
    * 
* * .google.spanner.v1.Type array_element_type = 2; - * * @return Whether the arrayElementType field is set. */ boolean hasArrayElementType(); /** - * - * *
    * If [code][google.spanner.v1.Type.code] == [ARRAY][google.spanner.v1.TypeCode.ARRAY], then `array_element_type`
    * is the type of the array elements.
    * 
* * .google.spanner.v1.Type array_element_type = 2; - * * @return The arrayElementType. */ com.google.spanner.v1.Type getArrayElementType(); /** - * - * *
    * If [code][google.spanner.v1.Type.code] == [ARRAY][google.spanner.v1.TypeCode.ARRAY], then `array_element_type`
    * is the type of the array elements.
@@ -87,34 +57,26 @@ public interface TypeOrBuilder
   com.google.spanner.v1.TypeOrBuilder getArrayElementTypeOrBuilder();
 
   /**
-   *
-   *
    * 
    * If [code][google.spanner.v1.Type.code] == [STRUCT][google.spanner.v1.TypeCode.STRUCT], then `struct_type`
    * provides type information for the struct's fields.
    * 
* * .google.spanner.v1.StructType struct_type = 3; - * * @return Whether the structType field is set. */ boolean hasStructType(); /** - * - * *
    * If [code][google.spanner.v1.Type.code] == [STRUCT][google.spanner.v1.TypeCode.STRUCT], then `struct_type`
    * provides type information for the struct's fields.
    * 
* * .google.spanner.v1.StructType struct_type = 3; - * * @return The structType. */ com.google.spanner.v1.StructType getStructType(); /** - * - * *
    * If [code][google.spanner.v1.Type.code] == [STRUCT][google.spanner.v1.TypeCode.STRUCT], then `struct_type`
    * provides type information for the struct's fields.
@@ -125,8 +87,6 @@ public interface TypeOrBuilder
   com.google.spanner.v1.StructTypeOrBuilder getStructTypeOrBuilder();
 
   /**
-   *
-   *
    * 
    * The [TypeAnnotationCode][google.spanner.v1.TypeAnnotationCode] that disambiguates SQL type that Spanner will
    * use to represent values of this type during query processing. This is
@@ -137,13 +97,10 @@ public interface TypeOrBuilder
    * 
* * .google.spanner.v1.TypeAnnotationCode type_annotation = 4; - * * @return The enum numeric value on the wire for typeAnnotation. */ int getTypeAnnotationValue(); /** - * - * *
    * The [TypeAnnotationCode][google.spanner.v1.TypeAnnotationCode] that disambiguates SQL type that Spanner will
    * use to represent values of this type during query processing. This is
@@ -154,7 +111,6 @@ public interface TypeOrBuilder
    * 
* * .google.spanner.v1.TypeAnnotationCode type_annotation = 4; - * * @return The typeAnnotation. */ com.google.spanner.v1.TypeAnnotationCode getTypeAnnotation(); diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeProto.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeProto.java new file mode 100644 index 00000000000..6dcc490fdfb --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeProto.java @@ -0,0 +1,96 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/spanner/v1/type.proto + +package com.google.spanner.v1; + +public final class TypeProto { + private TypeProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_Type_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_Type_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_StructType_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_StructType_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_StructType_Field_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_StructType_Field_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\034google/spanner/v1/type.proto\022\021google.s" + + "panner.v1\032\037google/api/field_behavior.pro" + + "to\"\337\001\n\004Type\022.\n\004code\030\001 \001(\0162\033.google.spann" + + "er.v1.TypeCodeB\003\340A\002\0223\n\022array_element_typ" + + "e\030\002 \001(\0132\027.google.spanner.v1.Type\0222\n\013stru" + + "ct_type\030\003 \001(\0132\035.google.spanner.v1.Struct" + + "Type\022>\n\017type_annotation\030\004 \001(\0162%.google.s" + + "panner.v1.TypeAnnotationCode\"\177\n\nStructTy" + + "pe\0223\n\006fields\030\001 \003(\0132#.google.spanner.v1.S" + + "tructType.Field\032<\n\005Field\022\014\n\004name\030\001 \001(\t\022%" + + "\n\004type\030\002 \001(\0132\027.google.spanner.v1.Type*\245\001" + + "\n\010TypeCode\022\031\n\025TYPE_CODE_UNSPECIFIED\020\000\022\010\n" + + "\004BOOL\020\001\022\t\n\005INT64\020\002\022\013\n\007FLOAT64\020\003\022\r\n\tTIMES" + + "TAMP\020\004\022\010\n\004DATE\020\005\022\n\n\006STRING\020\006\022\t\n\005BYTES\020\007\022" + + "\t\n\005ARRAY\020\010\022\n\n\006STRUCT\020\t\022\013\n\007NUMERIC\020\n\022\010\n\004J" + + "SON\020\013*X\n\022TypeAnnotationCode\022$\n TYPE_ANNO" + + "TATION_CODE_UNSPECIFIED\020\000\022\016\n\nPG_NUMERIC\020" + + "\002\022\014\n\010PG_JSONB\020\003B\254\001\n\025com.google.spanner.v" + + "1B\tTypeProtoP\001Z5cloud.google.com/go/span" + + "ner/apiv1/spannerpb;spannerpb\252\002\027Google.C" + + "loud.Spanner.V1\312\002\027Google\\Cloud\\Spanner\\V" + + "1\352\002\032Google::Cloud::Spanner::V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + }); + internal_static_google_spanner_v1_Type_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_spanner_v1_Type_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_v1_Type_descriptor, + new java.lang.String[] { "Code", "ArrayElementType", "StructType", "TypeAnnotation", }); + internal_static_google_spanner_v1_StructType_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_spanner_v1_StructType_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_v1_StructType_descriptor, + new java.lang.String[] { "Fields", }); + internal_static_google_spanner_v1_StructType_Field_descriptor = + internal_static_google_spanner_v1_StructType_descriptor.getNestedTypes().get(0); + internal_static_google_spanner_v1_StructType_Field_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_v1_StructType_Field_descriptor, + new java.lang.String[] { "Name", "Type", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/commit_response.proto b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/commit_response.proto similarity index 96% rename from proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/commit_response.proto rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/commit_response.proto index 69e073092f6..436a002b86f 100644 --- a/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/commit_response.proto +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/commit_response.proto @@ -19,7 +19,7 @@ package google.spanner.v1; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.Spanner.V1"; -option go_package = "google.golang.org/genproto/googleapis/spanner/v1;spanner"; +option go_package = "cloud.google.com/go/spanner/apiv1/spannerpb;spannerpb"; option java_multiple_files = true; option java_outer_classname = "CommitResponseProto"; option java_package = "com.google.spanner.v1"; diff --git a/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/keys.proto b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/keys.proto similarity index 98% rename from proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/keys.proto rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/keys.proto index df3607aa401..8fb4757f5bb 100644 --- a/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/keys.proto +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/keys.proto @@ -19,7 +19,7 @@ package google.spanner.v1; import "google/protobuf/struct.proto"; option csharp_namespace = "Google.Cloud.Spanner.V1"; -option go_package = "google.golang.org/genproto/googleapis/spanner/v1;spanner"; +option go_package = "cloud.google.com/go/spanner/apiv1/spannerpb;spannerpb"; option java_multiple_files = true; option java_outer_classname = "KeysProto"; option java_package = "com.google.spanner.v1"; diff --git a/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/mutation.proto b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/mutation.proto similarity index 98% rename from proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/mutation.proto rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/mutation.proto index eae0af72d53..cced61f33b3 100644 --- a/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/mutation.proto +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/mutation.proto @@ -21,7 +21,7 @@ import "google/protobuf/struct.proto"; import "google/spanner/v1/keys.proto"; option csharp_namespace = "Google.Cloud.Spanner.V1"; -option go_package = "google.golang.org/genproto/googleapis/spanner/v1;spanner"; +option go_package = "cloud.google.com/go/spanner/apiv1/spannerpb;spannerpb"; option java_multiple_files = true; option java_outer_classname = "MutationProto"; option java_package = "com.google.spanner.v1"; diff --git a/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/query_plan.proto b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/query_plan.proto similarity index 98% rename from proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/query_plan.proto rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/query_plan.proto index 9ea40fe4a1f..c0903bdd7d3 100644 --- a/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/query_plan.proto +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/query_plan.proto @@ -19,7 +19,7 @@ package google.spanner.v1; import "google/protobuf/struct.proto"; option csharp_namespace = "Google.Cloud.Spanner.V1"; -option go_package = "google.golang.org/genproto/googleapis/spanner/v1;spanner"; +option go_package = "cloud.google.com/go/spanner/apiv1/spannerpb;spannerpb"; option java_multiple_files = true; option java_outer_classname = "QueryPlanProto"; option java_package = "com.google.spanner.v1"; diff --git a/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/result_set.proto b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/result_set.proto similarity index 99% rename from proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/result_set.proto rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/result_set.proto index 36df232bcf1..cfa5719c4a2 100644 --- a/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/result_set.proto +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/result_set.proto @@ -23,7 +23,7 @@ import "google/spanner/v1/type.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.Spanner.V1"; -option go_package = "google.golang.org/genproto/googleapis/spanner/v1;spanner"; +option go_package = "cloud.google.com/go/spanner/apiv1/spannerpb;spannerpb"; option java_multiple_files = true; option java_outer_classname = "ResultSetProto"; option java_package = "com.google.spanner.v1"; diff --git a/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/spanner.proto b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/spanner.proto similarity index 99% rename from proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/spanner.proto rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/spanner.proto index d25e87aa2b6..0c71e03d9a6 100644 --- a/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/spanner.proto +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/spanner.proto @@ -32,7 +32,7 @@ import "google/spanner/v1/transaction.proto"; import "google/spanner/v1/type.proto"; option csharp_namespace = "Google.Cloud.Spanner.V1"; -option go_package = "google.golang.org/genproto/googleapis/spanner/v1;spanner"; +option go_package = "cloud.google.com/go/spanner/apiv1/spannerpb;spannerpb"; option java_multiple_files = true; option java_outer_classname = "SpannerProto"; option java_package = "com.google.spanner.v1"; diff --git a/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/transaction.proto b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/transaction.proto similarity index 99% rename from proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/transaction.proto rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/transaction.proto index 49ab5cf5235..4b7fe4a9dd9 100644 --- a/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/transaction.proto +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/transaction.proto @@ -20,7 +20,7 @@ import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.Spanner.V1"; -option go_package = "google.golang.org/genproto/googleapis/spanner/v1;spanner"; +option go_package = "cloud.google.com/go/spanner/apiv1/spannerpb;spannerpb"; option java_multiple_files = true; option java_outer_classname = "TransactionProto"; option java_package = "com.google.spanner.v1"; diff --git a/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/type.proto b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/type.proto similarity index 98% rename from proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/type.proto rename to owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/type.proto index 712ec187fcc..290b5540dac 100644 --- a/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/type.proto +++ b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/type.proto @@ -19,7 +19,7 @@ package google.spanner.v1; import "google/api/field_behavior.proto"; option csharp_namespace = "Google.Cloud.Spanner.V1"; -option go_package = "google.golang.org/genproto/googleapis/spanner/v1;spanner"; +option go_package = "cloud.google.com/go/spanner/apiv1/spannerpb;spannerpb"; option java_multiple_files = true; option java_outer_classname = "TypeProto"; option java_package = "com.google.spanner.v1"; diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupProto.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupProto.java deleted file mode 100644 index d5a258d0e52..00000000000 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupProto.java +++ /dev/null @@ -1,364 +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/spanner/admin/database/v1/backup.proto - -package com.google.spanner.admin.database.v1; - -public final class BackupProto { - private BackupProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_Backup_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_Backup_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_CreateBackupRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_CreateBackupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_CreateBackupMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_CreateBackupMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_CopyBackupRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_CopyBackupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_CopyBackupMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_CopyBackupMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_UpdateBackupRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_UpdateBackupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_GetBackupRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_GetBackupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_DeleteBackupRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_DeleteBackupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_ListBackupsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_ListBackupsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_ListBackupsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_ListBackupsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_ListBackupOperationsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_ListBackupOperationsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_ListBackupOperationsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_ListBackupOperationsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_BackupInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_BackupInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_CreateBackupEncryptionConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_CreateBackupEncryptionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_CopyBackupEncryptionConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_CopyBackupEncryptionConfig_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n-google/spanner/admin/database/v1/backu" - + "p.proto\022 google.spanner.admin.database.v" - + "1\032\037google/api/field_behavior.proto\032\031goog" - + "le/api/resource.proto\032#google/longrunnin" - + "g/operations.proto\032 google/protobuf/fiel" - + "d_mask.proto\032\037google/protobuf/timestamp." - + "proto\032-google/spanner/admin/database/v1/" - + "common.proto\"\303\006\n\006Backup\0226\n\010database\030\002 \001(" - + "\tB$\372A!\n\037spanner.googleapis.com/Database\022" - + "0\n\014version_time\030\t \001(\0132\032.google.protobuf." - + "Timestamp\022/\n\013expire_time\030\003 \001(\0132\032.google." - + "protobuf.Timestamp\022\014\n\004name\030\001 \001(\t\0224\n\013crea" - + "te_time\030\004 \001(\0132\032.google.protobuf.Timestam" - + "pB\003\340A\003\022\027\n\nsize_bytes\030\005 \001(\003B\003\340A\003\022B\n\005state" - + "\030\006 \001(\0162..google.spanner.admin.database.v" - + "1.Backup.StateB\003\340A\003\022F\n\025referencing_datab" - + "ases\030\007 \003(\tB\'\340A\003\372A!\n\037spanner.googleapis.c" - + "om/Database\022N\n\017encryption_info\030\010 \001(\01320.g" - + "oogle.spanner.admin.database.v1.Encrypti" - + "onInfoB\003\340A\003\022P\n\020database_dialect\030\n \001(\01621." - + "google.spanner.admin.database.v1.Databas" - + "eDialectB\003\340A\003\022B\n\023referencing_backups\030\013 \003" - + "(\tB%\340A\003\372A\037\n\035spanner.googleapis.com/Backu" - + "p\0228\n\017max_expire_time\030\014 \001(\0132\032.google.prot" - + "obuf.TimestampB\003\340A\003\"7\n\005State\022\025\n\021STATE_UN" - + "SPECIFIED\020\000\022\014\n\010CREATING\020\001\022\t\n\005READY\020\002:\\\352A" - + "Y\n\035spanner.googleapis.com/Backup\0228projec" - + "ts/{project}/instances/{instance}/backup" - + "s/{backup}\"\205\002\n\023CreateBackupRequest\0227\n\006pa" - + "rent\030\001 \001(\tB\'\340A\002\372A!\n\037spanner.googleapis.c" - + "om/Instance\022\026\n\tbackup_id\030\002 \001(\tB\003\340A\002\022=\n\006b" - + "ackup\030\003 \001(\0132(.google.spanner.admin.datab" - + "ase.v1.BackupB\003\340A\002\022^\n\021encryption_config\030" - + "\004 \001(\0132>.google.spanner.admin.database.v1" - + ".CreateBackupEncryptionConfigB\003\340A\001\"\370\001\n\024C" - + "reateBackupMetadata\0220\n\004name\030\001 \001(\tB\"\372A\037\n\035" - + "spanner.googleapis.com/Backup\0226\n\010databas" - + "e\030\002 \001(\tB$\372A!\n\037spanner.googleapis.com/Dat" - + "abase\022E\n\010progress\030\003 \001(\01323.google.spanner" - + ".admin.database.v1.OperationProgress\022/\n\013" - + "cancel_time\030\004 \001(\0132\032.google.protobuf.Time" - + "stamp\"\266\002\n\021CopyBackupRequest\0227\n\006parent\030\001 " - + "\001(\tB\'\340A\002\372A!\n\037spanner.googleapis.com/Inst" - + "ance\022\026\n\tbackup_id\030\002 \001(\tB\003\340A\002\022<\n\rsource_b" - + "ackup\030\003 \001(\tB%\340A\002\372A\037\n\035spanner.googleapis." - + "com/Backup\0224\n\013expire_time\030\004 \001(\0132\032.google" - + ".protobuf.TimestampB\003\340A\002\022\\\n\021encryption_c" - + "onfig\030\005 \001(\0132<.google.spanner.admin.datab" - + "ase.v1.CopyBackupEncryptionConfigB\003\340A\001\"\371" - + "\001\n\022CopyBackupMetadata\0220\n\004name\030\001 \001(\tB\"\372A\037" - + "\n\035spanner.googleapis.com/Backup\0229\n\rsourc" - + "e_backup\030\002 \001(\tB\"\372A\037\n\035spanner.googleapis." - + "com/Backup\022E\n\010progress\030\003 \001(\01323.google.sp" - + "anner.admin.database.v1.OperationProgres" - + "s\022/\n\013cancel_time\030\004 \001(\0132\032.google.protobuf" - + ".Timestamp\"\212\001\n\023UpdateBackupRequest\022=\n\006ba" - + "ckup\030\001 \001(\0132(.google.spanner.admin.databa" - + "se.v1.BackupB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032" - + ".google.protobuf.FieldMaskB\003\340A\002\"G\n\020GetBa" - + "ckupRequest\0223\n\004name\030\001 \001(\tB%\340A\002\372A\037\n\035spann" - + "er.googleapis.com/Backup\"J\n\023DeleteBackup" - + "Request\0223\n\004name\030\001 \001(\tB%\340A\002\372A\037\n\035spanner.g" - + "oogleapis.com/Backup\"\204\001\n\022ListBackupsRequ" - + "est\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\n\037spanner.goo" - + "gleapis.com/Instance\022\016\n\006filter\030\002 \001(\t\022\021\n\t" - + "page_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\"i\n\023L" - + "istBackupsResponse\0229\n\007backups\030\001 \003(\0132(.go" - + "ogle.spanner.admin.database.v1.Backup\022\027\n" - + "\017next_page_token\030\002 \001(\t\"\215\001\n\033ListBackupOpe" - + "rationsRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\n\037" - + "spanner.googleapis.com/Instance\022\016\n\006filte" - + "r\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_token" - + "\030\004 \001(\t\"j\n\034ListBackupOperationsResponse\0221" - + "\n\noperations\030\001 \003(\0132\035.google.longrunning." - + "Operation\022\027\n\017next_page_token\030\002 \001(\t\"\342\001\n\nB" - + "ackupInfo\0222\n\006backup\030\001 \001(\tB\"\372A\037\n\035spanner." - + "googleapis.com/Backup\0220\n\014version_time\030\004 " - + "\001(\0132\032.google.protobuf.Timestamp\022/\n\013creat" - + "e_time\030\002 \001(\0132\032.google.protobuf.Timestamp" - + "\022=\n\017source_database\030\003 \001(\tB$\372A!\n\037spanner." - + "googleapis.com/Database\"\335\002\n\034CreateBackup" - + "EncryptionConfig\022k\n\017encryption_type\030\001 \001(" - + "\0162M.google.spanner.admin.database.v1.Cre" - + "ateBackupEncryptionConfig.EncryptionType" - + "B\003\340A\002\022?\n\014kms_key_name\030\002 \001(\tB)\340A\001\372A#\n!clo" - + "udkms.googleapis.com/CryptoKey\"\216\001\n\016Encry" - + "ptionType\022\037\n\033ENCRYPTION_TYPE_UNSPECIFIED" - + "\020\000\022\033\n\027USE_DATABASE_ENCRYPTION\020\001\022\035\n\031GOOGL" - + "E_DEFAULT_ENCRYPTION\020\002\022\037\n\033CUSTOMER_MANAG" - + "ED_ENCRYPTION\020\003\"\351\002\n\032CopyBackupEncryption" - + "Config\022i\n\017encryption_type\030\001 \001(\0162K.google" - + ".spanner.admin.database.v1.CopyBackupEnc" - + "ryptionConfig.EncryptionTypeB\003\340A\002\022?\n\014kms" - + "_key_name\030\002 \001(\tB)\340A\001\372A#\n!cloudkms.google" - + "apis.com/CryptoKey\"\236\001\n\016EncryptionType\022\037\n" - + "\033ENCRYPTION_TYPE_UNSPECIFIED\020\000\022+\n\'USE_CO" - + "NFIG_DEFAULT_OR_BACKUP_ENCRYPTION\020\001\022\035\n\031G" - + "OOGLE_DEFAULT_ENCRYPTION\020\002\022\037\n\033CUSTOMER_M" - + "ANAGED_ENCRYPTION\020\003B\377\001\n$com.google.spann" - + "er.admin.database.v1B\013BackupProtoP\001ZHgoo" - + "gle.golang.org/genproto/googleapis/spann" - + "er/admin/database/v1;database\252\002&Google.C" - + "loud.Spanner.Admin.Database.V1\312\002&Google\\" - + "Cloud\\Spanner\\Admin\\Database\\V1\352\002+Google" - + "::Cloud::Spanner::Admin::Database::V1b\006p" - + "roto3" - }; - 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.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.spanner.admin.database.v1.CommonProto.getDescriptor(), - }); - internal_static_google_spanner_admin_database_v1_Backup_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_spanner_admin_database_v1_Backup_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_Backup_descriptor, - new java.lang.String[] { - "Database", - "VersionTime", - "ExpireTime", - "Name", - "CreateTime", - "SizeBytes", - "State", - "ReferencingDatabases", - "EncryptionInfo", - "DatabaseDialect", - "ReferencingBackups", - "MaxExpireTime", - }); - internal_static_google_spanner_admin_database_v1_CreateBackupRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_spanner_admin_database_v1_CreateBackupRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_CreateBackupRequest_descriptor, - new java.lang.String[] { - "Parent", "BackupId", "Backup", "EncryptionConfig", - }); - internal_static_google_spanner_admin_database_v1_CreateBackupMetadata_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_spanner_admin_database_v1_CreateBackupMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_CreateBackupMetadata_descriptor, - new java.lang.String[] { - "Name", "Database", "Progress", "CancelTime", - }); - internal_static_google_spanner_admin_database_v1_CopyBackupRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_spanner_admin_database_v1_CopyBackupRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_CopyBackupRequest_descriptor, - new java.lang.String[] { - "Parent", "BackupId", "SourceBackup", "ExpireTime", "EncryptionConfig", - }); - internal_static_google_spanner_admin_database_v1_CopyBackupMetadata_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_spanner_admin_database_v1_CopyBackupMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_CopyBackupMetadata_descriptor, - new java.lang.String[] { - "Name", "SourceBackup", "Progress", "CancelTime", - }); - internal_static_google_spanner_admin_database_v1_UpdateBackupRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_spanner_admin_database_v1_UpdateBackupRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_UpdateBackupRequest_descriptor, - new java.lang.String[] { - "Backup", "UpdateMask", - }); - internal_static_google_spanner_admin_database_v1_GetBackupRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_spanner_admin_database_v1_GetBackupRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_GetBackupRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_spanner_admin_database_v1_DeleteBackupRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_spanner_admin_database_v1_DeleteBackupRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_DeleteBackupRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_spanner_admin_database_v1_ListBackupsRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_spanner_admin_database_v1_ListBackupsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_ListBackupsRequest_descriptor, - new java.lang.String[] { - "Parent", "Filter", "PageSize", "PageToken", - }); - internal_static_google_spanner_admin_database_v1_ListBackupsResponse_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_spanner_admin_database_v1_ListBackupsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_ListBackupsResponse_descriptor, - new java.lang.String[] { - "Backups", "NextPageToken", - }); - internal_static_google_spanner_admin_database_v1_ListBackupOperationsRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_spanner_admin_database_v1_ListBackupOperationsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_ListBackupOperationsRequest_descriptor, - new java.lang.String[] { - "Parent", "Filter", "PageSize", "PageToken", - }); - internal_static_google_spanner_admin_database_v1_ListBackupOperationsResponse_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_spanner_admin_database_v1_ListBackupOperationsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_ListBackupOperationsResponse_descriptor, - new java.lang.String[] { - "Operations", "NextPageToken", - }); - internal_static_google_spanner_admin_database_v1_BackupInfo_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_spanner_admin_database_v1_BackupInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_BackupInfo_descriptor, - new java.lang.String[] { - "Backup", "VersionTime", "CreateTime", "SourceDatabase", - }); - internal_static_google_spanner_admin_database_v1_CreateBackupEncryptionConfig_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_spanner_admin_database_v1_CreateBackupEncryptionConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_CreateBackupEncryptionConfig_descriptor, - new java.lang.String[] { - "EncryptionType", "KmsKeyName", - }); - internal_static_google_spanner_admin_database_v1_CopyBackupEncryptionConfig_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_spanner_admin_database_v1_CopyBackupEncryptionConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_CopyBackupEncryptionConfig_descriptor, - new java.lang.String[] { - "EncryptionType", "KmsKeyName", - }); - 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.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.spanner.admin.database.v1.CommonProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CommonProto.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CommonProto.java deleted file mode 100644 index 73dfc1efb12..00000000000 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CommonProto.java +++ /dev/null @@ -1,135 +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/spanner/admin/database/v1/common.proto - -package com.google.spanner.admin.database.v1; - -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_spanner_admin_database_v1_OperationProgress_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_OperationProgress_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_EncryptionConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_EncryptionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_EncryptionInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_EncryptionInfo_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n-google/spanner/admin/database/v1/commo" - + "n.proto\022 google.spanner.admin.database.v" - + "1\032\037google/api/field_behavior.proto\032\031goog" - + "le/api/resource.proto\032\037google/protobuf/t" - + "imestamp.proto\032\027google/rpc/status.proto\"" - + "\213\001\n\021OperationProgress\022\030\n\020progress_percen" - + "t\030\001 \001(\005\022.\n\nstart_time\030\002 \001(\0132\032.google.pro" - + "tobuf.Timestamp\022,\n\010end_time\030\003 \001(\0132\032.goog" - + "le.protobuf.Timestamp\"P\n\020EncryptionConfi" - + "g\022<\n\014kms_key_name\030\002 \001(\tB&\372A#\n!cloudkms.g" - + "oogleapis.com/CryptoKey\"\302\002\n\016EncryptionIn" - + "fo\022S\n\017encryption_type\030\003 \001(\01625.google.spa" - + "nner.admin.database.v1.EncryptionInfo.Ty" - + "peB\003\340A\003\0222\n\021encryption_status\030\004 \001(\0132\022.goo" - + "gle.rpc.StatusB\003\340A\003\022I\n\017kms_key_version\030\002" - + " \001(\tB0\340A\003\372A*\n(cloudkms.googleapis.com/Cr" - + "yptoKeyVersion\"\\\n\004Type\022\024\n\020TYPE_UNSPECIFI" - + "ED\020\000\022\035\n\031GOOGLE_DEFAULT_ENCRYPTION\020\001\022\037\n\033C" - + "USTOMER_MANAGED_ENCRYPTION\020\002*\\\n\017Database" - + "Dialect\022 \n\034DATABASE_DIALECT_UNSPECIFIED\020" - + "\000\022\027\n\023GOOGLE_STANDARD_SQL\020\001\022\016\n\nPOSTGRESQL" - + "\020\002B\244\004\n$com.google.spanner.admin.database" - + ".v1B\013CommonProtoP\001ZHgoogle.golang.org/ge" - + "nproto/googleapis/spanner/admin/database" - + "/v1;database\252\002&Google.Cloud.Spanner.Admi" - + "n.Database.V1\312\002&Google\\Cloud\\Spanner\\Adm" - + "in\\Database\\V1\352\002+Google::Cloud::Spanner:" - + ":Admin::Database::V1\352Ax\n!cloudkms.google" - + "apis.com/CryptoKey\022Sprojects/{project}/l" - + "ocations/{location}/keyRings/{key_ring}/" - + "cryptoKeys/{crypto_key}\352A\246\001\n(cloudkms.go" - + "ogleapis.com/CryptoKeyVersion\022zprojects/" - + "{project}/locations/{location}/keyRings/" - + "{key_ring}/cryptoKeys/{crypto_key}/crypt" - + "oKeyVersions/{crypto_key_version}b\006proto" - + "3" - }; - 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.TimestampProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_spanner_admin_database_v1_OperationProgress_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_spanner_admin_database_v1_OperationProgress_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_OperationProgress_descriptor, - new java.lang.String[] { - "ProgressPercent", "StartTime", "EndTime", - }); - internal_static_google_spanner_admin_database_v1_EncryptionConfig_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_spanner_admin_database_v1_EncryptionConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_EncryptionConfig_descriptor, - new java.lang.String[] { - "KmsKeyName", - }); - internal_static_google_spanner_admin_database_v1_EncryptionInfo_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_spanner_admin_database_v1_EncryptionInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_EncryptionInfo_descriptor, - new java.lang.String[] { - "EncryptionType", "EncryptionStatus", "KmsKeyVersion", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - 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.TimestampProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DeleteBackupRequestOrBuilder.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DeleteBackupRequestOrBuilder.java deleted file mode 100644 index 8aff1d1bced..00000000000 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/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/spanner/admin/database/v1/backup.proto - -package com.google.spanner.admin.database.v1; - -public interface DeleteBackupRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.DeleteBackupRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Name of the backup to delete.
-   * Values are of the form
-   * `projects/<project>/instances/<instance>/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>/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-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DropDatabaseRequestOrBuilder.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DropDatabaseRequestOrBuilder.java deleted file mode 100644 index be7aca5e0b5..00000000000 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DropDatabaseRequestOrBuilder.java +++ /dev/null @@ -1,54 +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/spanner/admin/database/v1/spanner_database_admin.proto - -package com.google.spanner.admin.database.v1; - -public interface DropDatabaseRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.DropDatabaseRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The database to be dropped.
-   * 
- * - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The database. - */ - java.lang.String getDatabase(); - /** - * - * - *
-   * Required. The database to be dropped.
-   * 
- * - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for database. - */ - com.google.protobuf.ByteString getDatabaseBytes(); -} diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetBackupRequestOrBuilder.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetBackupRequestOrBuilder.java deleted file mode 100644 index d27620cd0fc..00000000000 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/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/spanner/admin/database/v1/backup.proto - -package com.google.spanner.admin.database.v1; - -public interface GetBackupRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.GetBackupRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Name of the backup.
-   * Values are of the form
-   * `projects/<project>/instances/<instance>/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>/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-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlRequestOrBuilder.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlRequestOrBuilder.java deleted file mode 100644 index 2469460dc3e..00000000000 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlRequestOrBuilder.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/spanner/admin/database/v1/spanner_database_admin.proto - -package com.google.spanner.admin.database.v1; - -public interface GetDatabaseDdlRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.GetDatabaseDdlRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The database whose schema we wish to get.
-   * Values are of the form
-   * `projects/<project>/instances/<instance>/databases/<database>`
-   * 
- * - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The database. - */ - java.lang.String getDatabase(); - /** - * - * - *
-   * Required. The database whose schema we wish to get.
-   * Values are of the form
-   * `projects/<project>/instances/<instance>/databases/<database>`
-   * 
- * - * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for database. - */ - com.google.protobuf.ByteString getDatabaseBytes(); -} diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseRequestOrBuilder.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseRequestOrBuilder.java deleted file mode 100644 index dcbddc2f882..00000000000 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseRequestOrBuilder.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/spanner/admin/database/v1/spanner_database_admin.proto - -package com.google.spanner.admin.database.v1; - -public interface GetDatabaseRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.GetDatabaseRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the requested database. Values are of the form
-   * `projects/<project>/instances/<instance>/databases/<database>`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the requested database. Values are of the form
-   * `projects/<project>/instances/<instance>/databases/<database>`.
-   * 
- * - * - * 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-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/SpannerDatabaseAdminProto.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/SpannerDatabaseAdminProto.java deleted file mode 100644 index 9a4c1888ef2..00000000000 --- a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/SpannerDatabaseAdminProto.java +++ /dev/null @@ -1,591 +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/spanner/admin/database/v1/spanner_database_admin.proto - -package com.google.spanner.admin.database.v1; - -public final class SpannerDatabaseAdminProto { - private SpannerDatabaseAdminProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_RestoreInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_RestoreInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_Database_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_Database_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_ListDatabasesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_ListDatabasesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_ListDatabasesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_ListDatabasesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_CreateDatabaseRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_CreateDatabaseRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_CreateDatabaseMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_CreateDatabaseMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_GetDatabaseRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_GetDatabaseRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_DropDatabaseRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_DropDatabaseRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_GetDatabaseDdlRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_GetDatabaseDdlRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_GetDatabaseDdlResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_GetDatabaseDdlResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_RestoreDatabaseRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_RestoreDatabaseRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_RestoreDatabaseEncryptionConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_RestoreDatabaseEncryptionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_RestoreDatabaseMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_RestoreDatabaseMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_OptimizeRestoredDatabaseMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_OptimizeRestoredDatabaseMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_DatabaseRole_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_DatabaseRole_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_ListDatabaseRolesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_ListDatabaseRolesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_ListDatabaseRolesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_ListDatabaseRolesResponse_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n=google/spanner/admin/database/v1/spann" - + "er_database_admin.proto\022 google.spanner." - + "admin.database.v1\032\034google/api/annotation" - + "s.proto\032\027google/api/client.proto\032\037google" - + "/api/field_behavior.proto\032\031google/api/re" - + "source.proto\032\036google/iam/v1/iam_policy.p" - + "roto\032\032google/iam/v1/policy.proto\032#google" - + "/longrunning/operations.proto\032\033google/pr" - + "otobuf/empty.proto\032\037google/protobuf/time" - + "stamp.proto\032-google/spanner/admin/databa" - + "se/v1/backup.proto\032-google/spanner/admin" - + "/database/v1/common.proto\"\253\001\n\013RestoreInf" - + "o\022H\n\013source_type\030\001 \001(\01623.google.spanner." - + "admin.database.v1.RestoreSourceType\022C\n\013b" - + "ackup_info\030\002 \001(\0132,.google.spanner.admin." - + "database.v1.BackupInfoH\000B\r\n\013source_info\"" - + "\220\006\n\010Database\022\021\n\004name\030\001 \001(\tB\003\340A\002\022D\n\005state" - + "\030\002 \001(\01620.google.spanner.admin.database.v" - + "1.Database.StateB\003\340A\003\0224\n\013create_time\030\003 \001" - + "(\0132\032.google.protobuf.TimestampB\003\340A\003\022H\n\014r" - + "estore_info\030\004 \001(\0132-.google.spanner.admin" - + ".database.v1.RestoreInfoB\003\340A\003\022R\n\021encrypt" - + "ion_config\030\005 \001(\01322.google.spanner.admin." - + "database.v1.EncryptionConfigB\003\340A\003\022N\n\017enc" - + "ryption_info\030\010 \003(\01320.google.spanner.admi" - + "n.database.v1.EncryptionInfoB\003\340A\003\022%\n\030ver" - + "sion_retention_period\030\006 \001(\tB\003\340A\003\022>\n\025earl" - + "iest_version_time\030\007 \001(\0132\032.google.protobu" - + "f.TimestampB\003\340A\003\022\033\n\016default_leader\030\t \001(\t" - + "B\003\340A\003\022P\n\020database_dialect\030\n \001(\01621.google" - + ".spanner.admin.database.v1.DatabaseDiale" - + "ctB\003\340A\003\"M\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022" - + "\014\n\010CREATING\020\001\022\t\n\005READY\020\002\022\024\n\020READY_OPTIMI" - + "ZING\020\003:b\352A_\n\037spanner.googleapis.com/Data" - + "base\022\202\323\344\223\002/\022-/v1/{parent=projects" - + "/*/instances/*}/databases\332A\006parent\022\244\002\n\016C" - + "reateDatabase\0227.google.spanner.admin.dat" - + "abase.v1.CreateDatabaseRequest\032\035.google." - + "longrunning.Operation\"\271\001\202\323\344\223\0022\"-/v1/{par" - + "ent=projects/*/instances/*}/databases:\001*" - + "\332A\027parent,create_statement\312Ad\n)google.sp" - + "anner.admin.database.v1.Database\0227google" - + ".spanner.admin.database.v1.CreateDatabas" - + "eMetadata\022\255\001\n\013GetDatabase\0224.google.spann" - + "er.admin.database.v1.GetDatabaseRequest\032" - + "*.google.spanner.admin.database.v1.Datab" - + "ase\"<\202\323\344\223\002/\022-/v1/{name=projects/*/instan" - + "ces/*/databases/*}\332A\004name\022\235\002\n\021UpdateData" - + "baseDdl\022:.google.spanner.admin.database." - + "v1.UpdateDatabaseDdlRequest\032\035.google.lon" - + "grunning.Operation\"\254\001\202\323\344\223\002:25/v1/{databa" - + "se=projects/*/instances/*/databases/*}/d" - + "dl:\001*\332A\023database,statements\312AS\n\025google.p" - + "rotobuf.Empty\022:google.spanner.admin.data" - + "base.v1.UpdateDatabaseDdlMetadata\022\243\001\n\014Dr" - + "opDatabase\0225.google.spanner.admin.databa" - + "se.v1.DropDatabaseRequest\032\026.google.proto" - + "buf.Empty\"D\202\323\344\223\0023*1/v1/{database=project" - + "s/*/instances/*/databases/*}\332A\010database\022" - + "\315\001\n\016GetDatabaseDdl\0227.google.spanner.admi" - + "n.database.v1.GetDatabaseDdlRequest\0328.go" - + "ogle.spanner.admin.database.v1.GetDataba" - + "seDdlResponse\"H\202\323\344\223\0027\0225/v1/{database=pro" - + "jects/*/instances/*/databases/*}/ddl\332A\010d" - + "atabase\022\353\001\n\014SetIamPolicy\022\".google.iam.v1" - + ".SetIamPolicyRequest\032\025.google.iam.v1.Pol" - + "icy\"\237\001\202\323\344\223\002\206\001\">/v1/{resource=projects/*/" - + "instances/*/databases/*}:setIamPolicy:\001*" - + "ZA\"/v1/{resource=projects/*/in" - + "stances/*/databases/*}:getIamPolicy:\001*ZA" - + "\".google.sp" - + "anner.admin.database.v1.ListBackupOperat" - + "ionsResponse\"E\202\323\344\223\0026\0224/v1/{parent=projec" - + "ts/*/instances/*}/backupOperations\332A\006par" - + "ent\022\334\001\n\021ListDatabaseRoles\022:.google.spann" - + "er.admin.database.v1.ListDatabaseRolesRe" - + "quest\032;.google.spanner.admin.database.v1" - + ".ListDatabaseRolesResponse\"N\202\323\344\223\002?\022=/v1/" - + "{parent=projects/*/instances/*/databases" - + "/*}/databaseRoles\332A\006parent\032x\312A\026spanner.g" - + "oogleapis.com\322A\\https://www.googleapis.c" - + "om/auth/cloud-platform,https://www.googl" - + "eapis.com/auth/spanner.adminB\332\002\n$com.goo" - + "gle.spanner.admin.database.v1B\031SpannerDa" - + "tabaseAdminProtoP\001ZHgoogle.golang.org/ge" - + "nproto/googleapis/spanner/admin/database" - + "/v1;database\252\002&Google.Cloud.Spanner.Admi" - + "n.Database.V1\312\002&Google\\Cloud\\Spanner\\Adm" - + "in\\Database\\V1\352\002+Google::Cloud::Spanner:" - + ":Admin::Database::V1\352AJ\n\037spanner.googlea" - + "pis.com/Instance\022\'projects/{project}/ins" - + "tances/{instance}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.iam.v1.IamPolicyProto.getDescriptor(), - com.google.iam.v1.PolicyProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.spanner.admin.database.v1.BackupProto.getDescriptor(), - com.google.spanner.admin.database.v1.CommonProto.getDescriptor(), - }); - internal_static_google_spanner_admin_database_v1_RestoreInfo_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_spanner_admin_database_v1_RestoreInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_RestoreInfo_descriptor, - new java.lang.String[] { - "SourceType", "BackupInfo", "SourceInfo", - }); - internal_static_google_spanner_admin_database_v1_Database_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_spanner_admin_database_v1_Database_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_Database_descriptor, - new java.lang.String[] { - "Name", - "State", - "CreateTime", - "RestoreInfo", - "EncryptionConfig", - "EncryptionInfo", - "VersionRetentionPeriod", - "EarliestVersionTime", - "DefaultLeader", - "DatabaseDialect", - }); - internal_static_google_spanner_admin_database_v1_ListDatabasesRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_spanner_admin_database_v1_ListDatabasesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_ListDatabasesRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_spanner_admin_database_v1_ListDatabasesResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_spanner_admin_database_v1_ListDatabasesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_ListDatabasesResponse_descriptor, - new java.lang.String[] { - "Databases", "NextPageToken", - }); - internal_static_google_spanner_admin_database_v1_CreateDatabaseRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_spanner_admin_database_v1_CreateDatabaseRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_CreateDatabaseRequest_descriptor, - new java.lang.String[] { - "Parent", "CreateStatement", "ExtraStatements", "EncryptionConfig", "DatabaseDialect", - }); - internal_static_google_spanner_admin_database_v1_CreateDatabaseMetadata_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_spanner_admin_database_v1_CreateDatabaseMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_CreateDatabaseMetadata_descriptor, - new java.lang.String[] { - "Database", - }); - internal_static_google_spanner_admin_database_v1_GetDatabaseRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_spanner_admin_database_v1_GetDatabaseRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_GetDatabaseRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlRequest_descriptor, - new java.lang.String[] { - "Database", "Statements", "OperationId", - }); - internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlMetadata_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlMetadata_descriptor, - new java.lang.String[] { - "Database", "Statements", "CommitTimestamps", "Throttled", "Progress", - }); - internal_static_google_spanner_admin_database_v1_DropDatabaseRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_spanner_admin_database_v1_DropDatabaseRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_DropDatabaseRequest_descriptor, - new java.lang.String[] { - "Database", - }); - internal_static_google_spanner_admin_database_v1_GetDatabaseDdlRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_spanner_admin_database_v1_GetDatabaseDdlRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_GetDatabaseDdlRequest_descriptor, - new java.lang.String[] { - "Database", - }); - internal_static_google_spanner_admin_database_v1_GetDatabaseDdlResponse_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_spanner_admin_database_v1_GetDatabaseDdlResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_GetDatabaseDdlResponse_descriptor, - new java.lang.String[] { - "Statements", - }); - internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsRequest_descriptor, - new java.lang.String[] { - "Parent", "Filter", "PageSize", "PageToken", - }); - internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsResponse_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsResponse_descriptor, - new java.lang.String[] { - "Operations", "NextPageToken", - }); - internal_static_google_spanner_admin_database_v1_RestoreDatabaseRequest_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_spanner_admin_database_v1_RestoreDatabaseRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_RestoreDatabaseRequest_descriptor, - new java.lang.String[] { - "Parent", "DatabaseId", "Backup", "EncryptionConfig", "Source", - }); - internal_static_google_spanner_admin_database_v1_RestoreDatabaseEncryptionConfig_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_spanner_admin_database_v1_RestoreDatabaseEncryptionConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_RestoreDatabaseEncryptionConfig_descriptor, - new java.lang.String[] { - "EncryptionType", "KmsKeyName", - }); - internal_static_google_spanner_admin_database_v1_RestoreDatabaseMetadata_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_spanner_admin_database_v1_RestoreDatabaseMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_RestoreDatabaseMetadata_descriptor, - new java.lang.String[] { - "Name", - "SourceType", - "BackupInfo", - "Progress", - "CancelTime", - "OptimizeDatabaseOperationName", - "SourceInfo", - }); - internal_static_google_spanner_admin_database_v1_OptimizeRestoredDatabaseMetadata_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_spanner_admin_database_v1_OptimizeRestoredDatabaseMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_OptimizeRestoredDatabaseMetadata_descriptor, - new java.lang.String[] { - "Name", "Progress", - }); - internal_static_google_spanner_admin_database_v1_DatabaseRole_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_spanner_admin_database_v1_DatabaseRole_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_DatabaseRole_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_spanner_admin_database_v1_ListDatabaseRolesRequest_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_spanner_admin_database_v1_ListDatabaseRolesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_ListDatabaseRolesRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_spanner_admin_database_v1_ListDatabaseRolesResponse_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_spanner_admin_database_v1_ListDatabaseRolesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_ListDatabaseRolesResponse_descriptor, - new java.lang.String[] { - "DatabaseRoles", "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.resource); - registry.add(com.google.api.ResourceProto.resourceDefinition); - 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.iam.v1.IamPolicyProto.getDescriptor(); - com.google.iam.v1.PolicyProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.spanner.admin.database.v1.BackupProto.getDescriptor(); - com.google.spanner.admin.database.v1.CommonProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CommonProto.java b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CommonProto.java deleted file mode 100644 index 913672c72b9..00000000000 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/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/spanner/admin/instance/v1/common.proto - -package com.google.spanner.admin.instance.v1; - -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_spanner_admin_instance_v1_OperationProgress_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_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/spanner/admin/instance/v1/commo" - + "n.proto\022 google.spanner.admin.instance.v" - + "1\032\037google/protobuf/timestamp.proto\"\213\001\n\021O" - + "perationProgress\022\030\n\020progress_percent\030\001 \001" - + "(\005\022.\n\nstart_time\030\002 \001(\0132\032.google.protobuf" - + ".Timestamp\022,\n\010end_time\030\003 \001(\0132\032.google.pr" - + "otobuf.TimestampB\377\001\n$com.google.spanner." - + "admin.instance.v1B\013CommonProtoP\001ZHgoogle" - + ".golang.org/genproto/googleapis/spanner/" - + "admin/instance/v1;instance\252\002&Google.Clou" - + "d.Spanner.Admin.Instance.V1\312\002&Google\\Clo" - + "ud\\Spanner\\Admin\\Instance\\V1\352\002+Google::C" - + "loud::Spanner::Admin::Instance::V1b\006prot" - + "o3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_spanner_admin_instance_v1_OperationProgress_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_spanner_admin_instance_v1_OperationProgress_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_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-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceRequestOrBuilder.java b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceRequestOrBuilder.java deleted file mode 100644 index 951a643978a..00000000000 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/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/spanner/admin/instance/v1/spanner_instance_admin.proto - -package com.google.spanner.admin.instance.v1; - -public interface DeleteInstanceRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.DeleteInstanceRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The 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 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-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceConfigRequestOrBuilder.java b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceConfigRequestOrBuilder.java deleted file mode 100644 index 4601a9598de..00000000000 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceConfigRequestOrBuilder.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/spanner/admin/instance/v1/spanner_instance_admin.proto - -package com.google.spanner.admin.instance.v1; - -public interface GetInstanceConfigRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.GetInstanceConfigRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the requested instance configuration. Values are of
-   * the form `projects/<project>/instanceConfigs/<config>`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the requested instance configuration. Values are of
-   * the form `projects/<project>/instanceConfigs/<config>`.
-   * 
- * - * - * 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-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/SpannerInstanceAdminProto.java b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/SpannerInstanceAdminProto.java deleted file mode 100644 index 9a698cf6736..00000000000 --- a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/SpannerInstanceAdminProto.java +++ /dev/null @@ -1,594 +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/spanner/admin/instance/v1/spanner_instance_admin.proto - -package com.google.spanner.admin.instance.v1; - -public final class SpannerInstanceAdminProto { - private SpannerInstanceAdminProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_ReplicaInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_ReplicaInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_InstanceConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_InstanceConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_InstanceConfig_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_InstanceConfig_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_Instance_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_Instance_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_Instance_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_Instance_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_GetInstanceConfigRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_GetInstanceConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_DeleteInstanceConfigRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_DeleteInstanceConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_GetInstanceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_GetInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_CreateInstanceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_CreateInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_ListInstancesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_ListInstancesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_ListInstancesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_ListInstancesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_UpdateInstanceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_UpdateInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_DeleteInstanceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_DeleteInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_CreateInstanceMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_CreateInstanceMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_UpdateInstanceMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_UpdateInstanceMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigMetadata_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n=google/spanner/admin/instance/v1/spann" - + "er_instance_admin.proto\022 google.spanner." - + "admin.instance.v1\032\034google/api/annotation" - + "s.proto\032\027google/api/client.proto\032\037google" - + "/api/field_behavior.proto\032\031google/api/re" - + "source.proto\032\036google/iam/v1/iam_policy.p" - + "roto\032\032google/iam/v1/policy.proto\032#google" - + "/longrunning/operations.proto\032\033google/pr" - + "otobuf/empty.proto\032 google/protobuf/fiel" - + "d_mask.proto\032\037google/protobuf/timestamp." - + "proto\032-google/spanner/admin/instance/v1/" - + "common.proto\"\332\001\n\013ReplicaInfo\022\020\n\010location" - + "\030\001 \001(\t\022G\n\004type\030\002 \001(\01629.google.spanner.ad" - + "min.instance.v1.ReplicaInfo.ReplicaType\022" - + "\037\n\027default_leader_location\030\003 \001(\010\"O\n\013Repl" - + "icaType\022\024\n\020TYPE_UNSPECIFIED\020\000\022\016\n\nREAD_WR" - + "ITE\020\001\022\r\n\tREAD_ONLY\020\002\022\013\n\007WITNESS\020\003\"\276\006\n\016In" - + "stanceConfig\022\014\n\004name\030\001 \001(\t\022\024\n\014display_na" - + "me\030\002 \001(\t\022O\n\013config_type\030\005 \001(\01625.google.s" - + "panner.admin.instance.v1.InstanceConfig." - + "TypeB\003\340A\003\022?\n\010replicas\030\003 \003(\0132-.google.spa" - + "nner.admin.instance.v1.ReplicaInfo\022M\n\021op" - + "tional_replicas\030\006 \003(\0132-.google.spanner.a" - + "dmin.instance.v1.ReplicaInfoB\003\340A\003\022?\n\013bas" - + "e_config\030\007 \001(\tB*\372A\'\n%spanner.googleapis." - + "com/InstanceConfig\022L\n\006labels\030\010 \003(\0132<.goo" - + "gle.spanner.admin.instance.v1.InstanceCo" - + "nfig.LabelsEntry\022\014\n\004etag\030\t \001(\t\022\026\n\016leader" - + "_options\030\004 \003(\t\022\030\n\013reconciling\030\n \001(\010B\003\340A\003" - + "\022J\n\005state\030\013 \001(\01626.google.spanner.admin.i" - + "nstance.v1.InstanceConfig.StateB\003\340A\003\032-\n\013" - + "LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:" - + "\0028\001\"B\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\022\n\016GOO" - + "GLE_MANAGED\020\001\022\020\n\014USER_MANAGED\020\002\"7\n\005State" - + "\022\025\n\021STATE_UNSPECIFIED\020\000\022\014\n\010CREATING\020\001\022\t\n" - + "\005READY\020\002:`\352A]\n%spanner.googleapis.com/In" - + "stanceConfig\0224projects/{project}/instanc" - + "eConfigs/{instance_config}\"\355\004\n\010Instance\022" - + "\021\n\004name\030\001 \001(\tB\003\340A\002\022=\n\006config\030\002 \001(\tB-\340A\002\372" - + "A\'\n%spanner.googleapis.com/InstanceConfi" - + "g\022\031\n\014display_name\030\003 \001(\tB\003\340A\002\022\022\n\nnode_cou" - + "nt\030\005 \001(\005\022\030\n\020processing_units\030\t \001(\005\022D\n\005st" - + "ate\030\006 \001(\01620.google.spanner.admin.instanc" - + "e.v1.Instance.StateB\003\340A\003\022F\n\006labels\030\007 \003(\013" - + "26.google.spanner.admin.instance.v1.Inst" - + "ance.LabelsEntry\022\025\n\rendpoint_uris\030\010 \003(\t\022" - + "4\n\013create_time\030\013 \001(\0132\032.google.protobuf.T" - + "imestampB\003\340A\003\0224\n\013update_time\030\014 \001(\0132\032.goo" - + "gle.protobuf.TimestampB\003\340A\003\032-\n\013LabelsEnt" - + "ry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"7\n\005St" - + "ate\022\025\n\021STATE_UNSPECIFIED\020\000\022\014\n\010CREATING\020\001" - + "\022\t\n\005READY\020\002:M\352AJ\n\037spanner.googleapis.com" - + "/Instance\022\'projects/{project}/instances/" - + "{instance}\"\210\001\n\032ListInstanceConfigsReques" - + "t\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\n+cloudresource" - + "manager.googleapis.com/Project\022\021\n\tpage_s" - + "ize\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\202\001\n\033ListIn" - + "stanceConfigsResponse\022J\n\020instance_config" - + "s\030\001 \003(\01320.google.spanner.admin.instance." - + "v1.InstanceConfig\022\027\n\017next_page_token\030\002 \001" - + "(\t\"W\n\030GetInstanceConfigRequest\022;\n\004name\030\001" - + " \001(\tB-\340A\002\372A\'\n%spanner.googleapis.com/Ins" - + "tanceConfig\"\352\001\n\033CreateInstanceConfigRequ" - + "est\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\n+cloudresour" - + "cemanager.googleapis.com/Project\022\037\n\022inst" - + "ance_config_id\030\002 \001(\tB\003\340A\002\022N\n\017instance_co" - + "nfig\030\003 \001(\01320.google.spanner.admin.instan" - + "ce.v1.InstanceConfigB\003\340A\002\022\025\n\rvalidate_on" - + "ly\030\004 \001(\010\"\272\001\n\033UpdateInstanceConfigRequest" - + "\022N\n\017instance_config\030\001 \001(\01320.google.spann" - + "er.admin.instance.v1.InstanceConfigB\003\340A\002" - + "\0224\n\013update_mask\030\002 \001(\0132\032.google.protobuf." - + "FieldMaskB\003\340A\002\022\025\n\rvalidate_only\030\003 \001(\010\"\177\n" - + "\033DeleteInstanceConfigRequest\022;\n\004name\030\001 \001" - + "(\tB-\340A\002\372A\'\n%spanner.googleapis.com/Insta" - + "nceConfig\022\014\n\004etag\030\002 \001(\t\022\025\n\rvalidate_only" - + "\030\003 \001(\010\"\241\001\n#ListInstanceConfigOperationsR" - + "equest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\n+cloudres" - + "ourcemanager.googleapis.com/Project\022\016\n\006f" - + "ilter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_t" - + "oken\030\004 \001(\t\"r\n$ListInstanceConfigOperatio" - + "nsResponse\0221\n\noperations\030\001 \003(\0132\035.google." - + "longrunning.Operation\022\027\n\017next_page_token" - + "\030\002 \001(\t\"{\n\022GetInstanceRequest\0225\n\004name\030\001 \001" - + "(\tB\'\340A\002\372A!\n\037spanner.googleapis.com/Insta" - + "nce\022.\n\nfield_mask\030\002 \001(\0132\032.google.protobu" - + "f.FieldMask\"\271\001\n\025CreateInstanceRequest\022C\n" - + "\006parent\030\001 \001(\tB3\340A\002\372A-\n+cloudresourcemana" - + "ger.googleapis.com/Project\022\030\n\013instance_i" - + "d\030\002 \001(\tB\003\340A\002\022A\n\010instance\030\003 \001(\0132*.google." - + "spanner.admin.instance.v1.InstanceB\003\340A\002\"" - + "\222\001\n\024ListInstancesRequest\022C\n\006parent\030\001 \001(\t" - + "B3\340A\002\372A-\n+cloudresourcemanager.googleapi" - + "s.com/Project\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage" - + "_token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\"o\n\025ListInst" - + "ancesResponse\022=\n\tinstances\030\001 \003(\0132*.googl" - + "e.spanner.admin.instance.v1.Instance\022\027\n\017" - + "next_page_token\030\002 \001(\t\"\217\001\n\025UpdateInstance" - + "Request\022A\n\010instance\030\001 \001(\0132*.google.spann" - + "er.admin.instance.v1.InstanceB\003\340A\002\0223\n\nfi" - + "eld_mask\030\002 \001(\0132\032.google.protobuf.FieldMa" - + "skB\003\340A\002\"N\n\025DeleteInstanceRequest\0225\n\004name" - + "\030\001 \001(\tB\'\340A\002\372A!\n\037spanner.googleapis.com/I" - + "nstance\"\345\001\n\026CreateInstanceMetadata\022<\n\010in" - + "stance\030\001 \001(\0132*.google.spanner.admin.inst" - + "ance.v1.Instance\022.\n\nstart_time\030\002 \001(\0132\032.g" - + "oogle.protobuf.Timestamp\022/\n\013cancel_time\030" - + "\003 \001(\0132\032.google.protobuf.Timestamp\022,\n\010end" - + "_time\030\004 \001(\0132\032.google.protobuf.Timestamp\"" - + "\345\001\n\026UpdateInstanceMetadata\022<\n\010instance\030\001" - + " \001(\0132*.google.spanner.admin.instance.v1." - + "Instance\022.\n\nstart_time\030\002 \001(\0132\032.google.pr" - + "otobuf.Timestamp\022/\n\013cancel_time\030\003 \001(\0132\032." - + "google.protobuf.Timestamp\022,\n\010end_time\030\004 " - + "\001(\0132\032.google.protobuf.Timestamp\"\341\001\n\034Crea" - + "teInstanceConfigMetadata\022I\n\017instance_con" - + "fig\030\001 \001(\01320.google.spanner.admin.instanc" - + "e.v1.InstanceConfig\022E\n\010progress\030\002 \001(\01323." - + "google.spanner.admin.instance.v1.Operati" - + "onProgress\022/\n\013cancel_time\030\003 \001(\0132\032.google" - + ".protobuf.Timestamp\"\341\001\n\034UpdateInstanceCo" - + "nfigMetadata\022I\n\017instance_config\030\001 \001(\01320." - + "google.spanner.admin.instance.v1.Instanc" - + "eConfig\022E\n\010progress\030\002 \001(\01323.google.spann" - + "er.admin.instance.v1.OperationProgress\022/" - + "\n\013cancel_time\030\003 \001(\0132\032.google.protobuf.Ti" - + "mestamp2\362\030\n\rInstanceAdmin\022\314\001\n\023ListInstan" - + "ceConfigs\022<.google.spanner.admin.instanc" - + "e.v1.ListInstanceConfigsRequest\032=.google" - + ".spanner.admin.instance.v1.ListInstanceC" - + "onfigsResponse\"8\202\323\344\223\002)\022\'/v1/{parent=proj" - + "ects/*}/instanceConfigs\332A\006parent\022\271\001\n\021Get" - + "InstanceConfig\022:.google.spanner.admin.in" - + "stance.v1.GetInstanceConfigRequest\0320.goo" - + "gle.spanner.admin.instance.v1.InstanceCo" - + "nfig\"6\202\323\344\223\002)\022\'/v1/{name=projects/*/insta" - + "nceConfigs/*}\332A\004name\022\310\002\n\024CreateInstanceC" - + "onfig\022=.google.spanner.admin.instance.v1" - + ".CreateInstanceConfigRequest\032\035.google.lo" - + "ngrunning.Operation\"\321\001\202\323\344\223\002,\"\'/v1/{paren" - + "t=projects/*}/instanceConfigs:\001*\332A)paren" - + "t,instance_config,instance_config_id\312Ap\n" - + "/google.spanner.admin.instance.v1.Instan" - + "ceConfig\022=google.spanner.admin.instance." - + "v1.CreateInstanceConfigMetadata\022\312\002\n\024Upda" - + "teInstanceConfig\022=.google.spanner.admin." - + "instance.v1.UpdateInstanceConfigRequest\032" - + "\035.google.longrunning.Operation\"\323\001\202\323\344\223\002<2" - + "7/v1/{instance_config.name=projects/*/in" - + "stanceConfigs/*}:\001*\332A\033instance_config,up" - + "date_mask\312Ap\n/google.spanner.admin.insta" - + "nce.v1.InstanceConfig\022=google.spanner.ad" - + "min.instance.v1.UpdateInstanceConfigMeta" - + "data\022\245\001\n\024DeleteInstanceConfig\022=.google.s" - + "panner.admin.instance.v1.DeleteInstanceC" - + "onfigRequest\032\026.google.protobuf.Empty\"6\202\323" - + "\344\223\002)*\'/v1/{name=projects/*/instanceConfi" - + "gs/*}\332A\004name\022\360\001\n\034ListInstanceConfigOpera" - + "tions\022E.google.spanner.admin.instance.v1" - + ".ListInstanceConfigOperationsRequest\032F.g" - + "oogle.spanner.admin.instance.v1.ListInst" - + "anceConfigOperationsResponse\"A\202\323\344\223\0022\0220/v" - + "1/{parent=projects/*}/instanceConfigOper" - + "ations\332A\006parent\022\264\001\n\rListInstances\0226.goog" - + "le.spanner.admin.instance.v1.ListInstanc" - + "esRequest\0327.google.spanner.admin.instanc" - + "e.v1.ListInstancesResponse\"2\202\323\344\223\002#\022!/v1/" - + "{parent=projects/*}/instances\332A\006parent\022\241" - + "\001\n\013GetInstance\0224.google.spanner.admin.in" - + "stance.v1.GetInstanceRequest\032*.google.sp" - + "anner.admin.instance.v1.Instance\"0\202\323\344\223\002#" - + "\022!/v1/{name=projects/*/instances/*}\332A\004na" - + "me\022\234\002\n\016CreateInstance\0227.google.spanner.a" - + "dmin.instance.v1.CreateInstanceRequest\032\035" - + ".google.longrunning.Operation\"\261\001\202\323\344\223\002&\"!" - + "/v1/{parent=projects/*}/instances:\001*\332A\033p" - + "arent,instance_id,instance\312Ad\n)google.sp" - + "anner.admin.instance.v1.Instance\0227google" - + ".spanner.admin.instance.v1.CreateInstanc" - + "eMetadata\022\235\002\n\016UpdateInstance\0227.google.sp" - + "anner.admin.instance.v1.UpdateInstanceRe" - + "quest\032\035.google.longrunning.Operation\"\262\001\202" - + "\323\344\223\002/2*/v1/{instance.name=projects/*/ins" - + "tances/*}:\001*\332A\023instance,field_mask\312Ad\n)g" - + "oogle.spanner.admin.instance.v1.Instance" - + "\0227google.spanner.admin.instance.v1.Updat" - + "eInstanceMetadata\022\223\001\n\016DeleteInstance\0227.g" - + "oogle.spanner.admin.instance.v1.DeleteIn" - + "stanceRequest\032\026.google.protobuf.Empty\"0\202" - + "\323\344\223\002#*!/v1/{name=projects/*/instances/*}" - + "\332A\004name\022\232\001\n\014SetIamPolicy\022\".google.iam.v1" - + ".SetIamPolicyRequest\032\025.google.iam.v1.Pol" - + "icy\"O\202\323\344\223\0027\"2/v1/{resource=projects/*/in" - + "stances/*}:setIamPolicy:\001*\332A\017resource,po" - + "licy\022\223\001\n\014GetIamPolicy\022\".google.iam.v1.Ge" - + "tIamPolicyRequest\032\025.google.iam.v1.Policy" - + "\"H\202\323\344\223\0027\"2/v1/{resource=projects/*/insta" - + "nces/*}:getIamPolicy:\001*\332A\010resource\022\305\001\n\022T" - + "estIamPermissions\022(.google.iam.v1.TestIa" - + "mPermissionsRequest\032).google.iam.v1.Test" - + "IamPermissionsResponse\"Z\202\323\344\223\002=\"8/v1/{res" - + "ource=projects/*/instances/*}:testIamPer" - + "missions:\001*\332A\024resource,permissions\032x\312A\026s" - + "panner.googleapis.com\322A\\https://www.goog" - + "leapis.com/auth/cloud-platform,https://w" - + "ww.googleapis.com/auth/spanner.adminB\215\002\n" - + "$com.google.spanner.admin.instance.v1B\031S" - + "pannerInstanceAdminProtoP\001ZHgoogle.golan" - + "g.org/genproto/googleapis/spanner/admin/" - + "instance/v1;instance\252\002&Google.Cloud.Span" - + "ner.Admin.Instance.V1\312\002&Google\\Cloud\\Spa" - + "nner\\Admin\\Instance\\V1\352\002+Google::Cloud::" - + "Spanner::Admin::Instance::V1b\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.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(), - com.google.spanner.admin.instance.v1.CommonProto.getDescriptor(), - }); - internal_static_google_spanner_admin_instance_v1_ReplicaInfo_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_spanner_admin_instance_v1_ReplicaInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_ReplicaInfo_descriptor, - new java.lang.String[] { - "Location", "Type", "DefaultLeaderLocation", - }); - internal_static_google_spanner_admin_instance_v1_InstanceConfig_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_spanner_admin_instance_v1_InstanceConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_InstanceConfig_descriptor, - new java.lang.String[] { - "Name", - "DisplayName", - "ConfigType", - "Replicas", - "OptionalReplicas", - "BaseConfig", - "Labels", - "Etag", - "LeaderOptions", - "Reconciling", - "State", - }); - internal_static_google_spanner_admin_instance_v1_InstanceConfig_LabelsEntry_descriptor = - internal_static_google_spanner_admin_instance_v1_InstanceConfig_descriptor - .getNestedTypes() - .get(0); - internal_static_google_spanner_admin_instance_v1_InstanceConfig_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_InstanceConfig_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_spanner_admin_instance_v1_Instance_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_spanner_admin_instance_v1_Instance_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_Instance_descriptor, - new java.lang.String[] { - "Name", - "Config", - "DisplayName", - "NodeCount", - "ProcessingUnits", - "State", - "Labels", - "EndpointUris", - "CreateTime", - "UpdateTime", - }); - internal_static_google_spanner_admin_instance_v1_Instance_LabelsEntry_descriptor = - internal_static_google_spanner_admin_instance_v1_Instance_descriptor - .getNestedTypes() - .get(0); - internal_static_google_spanner_admin_instance_v1_Instance_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_Instance_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsResponse_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsResponse_descriptor, - new java.lang.String[] { - "InstanceConfigs", "NextPageToken", - }); - internal_static_google_spanner_admin_instance_v1_GetInstanceConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_spanner_admin_instance_v1_GetInstanceConfigRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_GetInstanceConfigRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigRequest_descriptor, - new java.lang.String[] { - "Parent", "InstanceConfigId", "InstanceConfig", "ValidateOnly", - }); - internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigRequest_descriptor, - new java.lang.String[] { - "InstanceConfig", "UpdateMask", "ValidateOnly", - }); - internal_static_google_spanner_admin_instance_v1_DeleteInstanceConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_spanner_admin_instance_v1_DeleteInstanceConfigRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_DeleteInstanceConfigRequest_descriptor, - new java.lang.String[] { - "Name", "Etag", "ValidateOnly", - }); - internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsRequest_descriptor, - new java.lang.String[] { - "Parent", "Filter", "PageSize", "PageToken", - }); - internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsResponse_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsResponse_descriptor, - new java.lang.String[] { - "Operations", "NextPageToken", - }); - internal_static_google_spanner_admin_instance_v1_GetInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_spanner_admin_instance_v1_GetInstanceRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_GetInstanceRequest_descriptor, - new java.lang.String[] { - "Name", "FieldMask", - }); - internal_static_google_spanner_admin_instance_v1_CreateInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_spanner_admin_instance_v1_CreateInstanceRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_CreateInstanceRequest_descriptor, - new java.lang.String[] { - "Parent", "InstanceId", "Instance", - }); - internal_static_google_spanner_admin_instance_v1_ListInstancesRequest_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_spanner_admin_instance_v1_ListInstancesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_ListInstancesRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", "Filter", - }); - internal_static_google_spanner_admin_instance_v1_ListInstancesResponse_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_spanner_admin_instance_v1_ListInstancesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_ListInstancesResponse_descriptor, - new java.lang.String[] { - "Instances", "NextPageToken", - }); - internal_static_google_spanner_admin_instance_v1_UpdateInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_spanner_admin_instance_v1_UpdateInstanceRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_UpdateInstanceRequest_descriptor, - new java.lang.String[] { - "Instance", "FieldMask", - }); - internal_static_google_spanner_admin_instance_v1_DeleteInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_spanner_admin_instance_v1_DeleteInstanceRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_DeleteInstanceRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_spanner_admin_instance_v1_CreateInstanceMetadata_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_spanner_admin_instance_v1_CreateInstanceMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_CreateInstanceMetadata_descriptor, - new java.lang.String[] { - "Instance", "StartTime", "CancelTime", "EndTime", - }); - internal_static_google_spanner_admin_instance_v1_UpdateInstanceMetadata_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_spanner_admin_instance_v1_UpdateInstanceMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_UpdateInstanceMetadata_descriptor, - new java.lang.String[] { - "Instance", "StartTime", "CancelTime", "EndTime", - }); - internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigMetadata_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigMetadata_descriptor, - new java.lang.String[] { - "InstanceConfig", "Progress", "CancelTime", - }); - internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigMetadata_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigMetadata_descriptor, - new java.lang.String[] { - "InstanceConfig", "Progress", "CancelTime", - }); - 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.resource); - 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.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(); - com.google.spanner.admin.instance.v1.CommonProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitResponseProto.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitResponseProto.java deleted file mode 100644 index 8aa46a48cd7..00000000000 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitResponseProto.java +++ /dev/null @@ -1,86 +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/spanner/v1/commit_response.proto - -package com.google.spanner.v1; - -public final class CommitResponseProto { - private CommitResponseProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_CommitResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_CommitResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_CommitResponse_CommitStats_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_CommitResponse_CommitStats_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n\'google/spanner/v1/commit_response.prot" - + "o\022\021google.spanner.v1\032\037google/protobuf/ti" - + "mestamp.proto\"\262\001\n\016CommitResponse\0224\n\020comm" - + "it_timestamp\030\001 \001(\0132\032.google.protobuf.Tim" - + "estamp\022C\n\014commit_stats\030\002 \001(\0132-.google.sp" - + "anner.v1.CommitResponse.CommitStats\032%\n\013C" - + "ommitStats\022\026\n\016mutation_count\030\001 \001(\003B\271\001\n\025c" - + "om.google.spanner.v1B\023CommitResponseProt" - + "oP\001Z8google.golang.org/genproto/googleap" - + "is/spanner/v1;spanner\252\002\027Google.Cloud.Spa" - + "nner.V1\312\002\027Google\\Cloud\\Spanner\\V1\352\002\032Goog" - + "le::Cloud::Spanner::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_spanner_v1_CommitResponse_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_spanner_v1_CommitResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_v1_CommitResponse_descriptor, - new java.lang.String[] { - "CommitTimestamp", "CommitStats", - }); - internal_static_google_spanner_v1_CommitResponse_CommitStats_descriptor = - internal_static_google_spanner_v1_CommitResponse_descriptor.getNestedTypes().get(0); - internal_static_google_spanner_v1_CommitResponse_CommitStats_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_v1_CommitResponse_CommitStats_descriptor, - new java.lang.String[] { - "MutationCount", - }); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/DeleteSessionRequestOrBuilder.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/DeleteSessionRequestOrBuilder.java deleted file mode 100644 index 5774259370a..00000000000 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/DeleteSessionRequestOrBuilder.java +++ /dev/null @@ -1,54 +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/spanner/v1/spanner.proto - -package com.google.spanner.v1; - -public interface DeleteSessionRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.spanner.v1.DeleteSessionRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the session to delete.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the session to delete.
-   * 
- * - * - * 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-spanner-v1/src/main/java/com/google/spanner/v1/GetSessionRequestOrBuilder.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/GetSessionRequestOrBuilder.java deleted file mode 100644 index 811caaed11a..00000000000 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/GetSessionRequestOrBuilder.java +++ /dev/null @@ -1,54 +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/spanner/v1/spanner.proto - -package com.google.spanner.v1; - -public interface GetSessionRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.spanner.v1.GetSessionRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the session to retrieve.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the session to retrieve.
-   * 
- * - * - * 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-spanner-v1/src/main/java/com/google/spanner/v1/KeysProto.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeysProto.java deleted file mode 100644 index b79f3d8169b..00000000000 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeysProto.java +++ /dev/null @@ -1,89 +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/spanner/v1/keys.proto - -package com.google.spanner.v1; - -public final class KeysProto { - private KeysProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_KeyRange_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_KeyRange_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_KeySet_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_KeySet_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\034google/spanner/v1/keys.proto\022\021google.s" - + "panner.v1\032\034google/protobuf/struct.proto\"" - + "\364\001\n\010KeyRange\0222\n\014start_closed\030\001 \001(\0132\032.goo" - + "gle.protobuf.ListValueH\000\0220\n\nstart_open\030\002" - + " \001(\0132\032.google.protobuf.ListValueH\000\0220\n\nen" - + "d_closed\030\003 \001(\0132\032.google.protobuf.ListVal" - + "ueH\001\022.\n\010end_open\030\004 \001(\0132\032.google.protobuf" - + ".ListValueH\001B\020\n\016start_key_typeB\016\n\014end_ke" - + "y_type\"l\n\006KeySet\022(\n\004keys\030\001 \003(\0132\032.google." - + "protobuf.ListValue\022+\n\006ranges\030\002 \003(\0132\033.goo" - + "gle.spanner.v1.KeyRange\022\013\n\003all\030\003 \001(\010B\257\001\n" - + "\025com.google.spanner.v1B\tKeysProtoP\001Z8goo" - + "gle.golang.org/genproto/googleapis/spann" - + "er/v1;spanner\252\002\027Google.Cloud.Spanner.V1\312" - + "\002\027Google\\Cloud\\Spanner\\V1\352\002\032Google::Clou" - + "d::Spanner::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.protobuf.StructProto.getDescriptor(), - }); - internal_static_google_spanner_v1_KeyRange_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_spanner_v1_KeyRange_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_v1_KeyRange_descriptor, - new java.lang.String[] { - "StartClosed", "StartOpen", "EndClosed", "EndOpen", "StartKeyType", "EndKeyType", - }); - internal_static_google_spanner_v1_KeySet_descriptor = getDescriptor().getMessageTypes().get(1); - internal_static_google_spanner_v1_KeySet_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_v1_KeySet_descriptor, - new java.lang.String[] { - "Keys", "Ranges", "All", - }); - com.google.protobuf.StructProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/MutationProto.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/MutationProto.java deleted file mode 100644 index 1c10bfaa9ca..00000000000 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/MutationProto.java +++ /dev/null @@ -1,116 +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/spanner/v1/mutation.proto - -package com.google.spanner.v1; - -public final class MutationProto { - private MutationProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_Mutation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_Mutation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_Mutation_Write_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_Mutation_Write_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_Mutation_Delete_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_Mutation_Delete_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n google/spanner/v1/mutation.proto\022\021goog" - + "le.spanner.v1\032\037google/api/field_behavior" - + ".proto\032\034google/protobuf/struct.proto\032\034go" - + "ogle/spanner/v1/keys.proto\"\325\003\n\010Mutation\022" - + "3\n\006insert\030\001 \001(\0132!.google.spanner.v1.Muta" - + "tion.WriteH\000\0223\n\006update\030\002 \001(\0132!.google.sp" - + "anner.v1.Mutation.WriteH\000\022=\n\020insert_or_u" - + "pdate\030\003 \001(\0132!.google.spanner.v1.Mutation" - + ".WriteH\000\0224\n\007replace\030\004 \001(\0132!.google.spann" - + "er.v1.Mutation.WriteH\000\0224\n\006delete\030\005 \001(\0132\"" - + ".google.spanner.v1.Mutation.DeleteH\000\032X\n\005" - + "Write\022\022\n\005table\030\001 \001(\tB\003\340A\002\022\017\n\007columns\030\002 \003" - + "(\t\022*\n\006values\030\003 \003(\0132\032.google.protobuf.Lis" - + "tValue\032M\n\006Delete\022\022\n\005table\030\001 \001(\tB\003\340A\002\022/\n\007" - + "key_set\030\002 \001(\0132\031.google.spanner.v1.KeySet" - + "B\003\340A\002B\013\n\toperationB\263\001\n\025com.google.spanne" - + "r.v1B\rMutationProtoP\001Z8google.golang.org" - + "/genproto/googleapis/spanner/v1;spanner\252" - + "\002\027Google.Cloud.Spanner.V1\312\002\027Google\\Cloud" - + "\\Spanner\\V1\352\002\032Google::Cloud::Spanner::V1" - + "b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.protobuf.StructProto.getDescriptor(), - com.google.spanner.v1.KeysProto.getDescriptor(), - }); - internal_static_google_spanner_v1_Mutation_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_spanner_v1_Mutation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_v1_Mutation_descriptor, - new java.lang.String[] { - "Insert", "Update", "InsertOrUpdate", "Replace", "Delete", "Operation", - }); - internal_static_google_spanner_v1_Mutation_Write_descriptor = - internal_static_google_spanner_v1_Mutation_descriptor.getNestedTypes().get(0); - internal_static_google_spanner_v1_Mutation_Write_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_v1_Mutation_Write_descriptor, - new java.lang.String[] { - "Table", "Columns", "Values", - }); - internal_static_google_spanner_v1_Mutation_Delete_descriptor = - internal_static_google_spanner_v1_Mutation_descriptor.getNestedTypes().get(1); - internal_static_google_spanner_v1_Mutation_Delete_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_v1_Mutation_Delete_descriptor, - new java.lang.String[] { - "Table", "KeySet", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.protobuf.StructProto.getDescriptor(); - com.google.spanner.v1.KeysProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionOrBuilder.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionOrBuilder.java deleted file mode 100644 index cec517cd5df..00000000000 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionOrBuilder.java +++ /dev/null @@ -1,40 +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/spanner/v1/spanner.proto - -package com.google.spanner.v1; - -public interface PartitionOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.spanner.v1.Partition) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * This token can be passed to Read, StreamingRead, ExecuteSql, or
-   * ExecuteStreamingSql requests to restrict the results to those identified by
-   * this partition token.
-   * 
- * - * bytes partition_token = 1; - * - * @return The partitionToken. - */ - com.google.protobuf.ByteString getPartitionToken(); -} diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/QueryPlanProto.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/QueryPlanProto.java deleted file mode 100644 index 21cc5708fbc..00000000000 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/QueryPlanProto.java +++ /dev/null @@ -1,143 +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/spanner/v1/query_plan.proto - -package com.google.spanner.v1; - -public final class QueryPlanProto { - private QueryPlanProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_PlanNode_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_PlanNode_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_PlanNode_ChildLink_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_PlanNode_ChildLink_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_PlanNode_ShortRepresentation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_PlanNode_ShortRepresentation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_PlanNode_ShortRepresentation_SubqueriesEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_PlanNode_ShortRepresentation_SubqueriesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_QueryPlan_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_QueryPlan_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n\"google/spanner/v1/query_plan.proto\022\021go" - + "ogle.spanner.v1\032\034google/protobuf/struct." - + "proto\"\370\004\n\010PlanNode\022\r\n\005index\030\001 \001(\005\022.\n\004kin" - + "d\030\002 \001(\0162 .google.spanner.v1.PlanNode.Kin" - + "d\022\024\n\014display_name\030\003 \001(\t\022:\n\013child_links\030\004" - + " \003(\0132%.google.spanner.v1.PlanNode.ChildL" - + "ink\022M\n\024short_representation\030\005 \001(\0132/.goog" - + "le.spanner.v1.PlanNode.ShortRepresentati" - + "on\022)\n\010metadata\030\006 \001(\0132\027.google.protobuf.S" - + "truct\0220\n\017execution_stats\030\007 \001(\0132\027.google." - + "protobuf.Struct\032@\n\tChildLink\022\023\n\013child_in" - + "dex\030\001 \001(\005\022\014\n\004type\030\002 \001(\t\022\020\n\010variable\030\003 \001(" - + "\t\032\262\001\n\023ShortRepresentation\022\023\n\013description" - + "\030\001 \001(\t\022S\n\nsubqueries\030\002 \003(\0132?.google.span" - + "ner.v1.PlanNode.ShortRepresentation.Subq" - + "ueriesEntry\0321\n\017SubqueriesEntry\022\013\n\003key\030\001 " - + "\001(\t\022\r\n\005value\030\002 \001(\005:\0028\001\"8\n\004Kind\022\024\n\020KIND_U" - + "NSPECIFIED\020\000\022\016\n\nRELATIONAL\020\001\022\n\n\006SCALAR\020\002" - + "\"<\n\tQueryPlan\022/\n\nplan_nodes\030\001 \003(\0132\033.goog" - + "le.spanner.v1.PlanNodeB\264\001\n\025com.google.sp" - + "anner.v1B\016QueryPlanProtoP\001Z8google.golan" - + "g.org/genproto/googleapis/spanner/v1;spa" - + "nner\252\002\027Google.Cloud.Spanner.V1\312\002\027Google\\" - + "Cloud\\Spanner\\V1\352\002\032Google::Cloud::Spanne" - + "r::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.protobuf.StructProto.getDescriptor(), - }); - internal_static_google_spanner_v1_PlanNode_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_spanner_v1_PlanNode_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_v1_PlanNode_descriptor, - new java.lang.String[] { - "Index", - "Kind", - "DisplayName", - "ChildLinks", - "ShortRepresentation", - "Metadata", - "ExecutionStats", - }); - internal_static_google_spanner_v1_PlanNode_ChildLink_descriptor = - internal_static_google_spanner_v1_PlanNode_descriptor.getNestedTypes().get(0); - internal_static_google_spanner_v1_PlanNode_ChildLink_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_v1_PlanNode_ChildLink_descriptor, - new java.lang.String[] { - "ChildIndex", "Type", "Variable", - }); - internal_static_google_spanner_v1_PlanNode_ShortRepresentation_descriptor = - internal_static_google_spanner_v1_PlanNode_descriptor.getNestedTypes().get(1); - internal_static_google_spanner_v1_PlanNode_ShortRepresentation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_v1_PlanNode_ShortRepresentation_descriptor, - new java.lang.String[] { - "Description", "Subqueries", - }); - internal_static_google_spanner_v1_PlanNode_ShortRepresentation_SubqueriesEntry_descriptor = - internal_static_google_spanner_v1_PlanNode_ShortRepresentation_descriptor - .getNestedTypes() - .get(0); - internal_static_google_spanner_v1_PlanNode_ShortRepresentation_SubqueriesEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_v1_PlanNode_ShortRepresentation_SubqueriesEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_spanner_v1_QueryPlan_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_spanner_v1_QueryPlan_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_v1_QueryPlan_descriptor, - new java.lang.String[] { - "PlanNodes", - }); - com.google.protobuf.StructProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetProto.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetProto.java deleted file mode 100644 index 3c90e33d825..00000000000 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetProto.java +++ /dev/null @@ -1,133 +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/spanner/v1/result_set.proto - -package com.google.spanner.v1; - -public final class ResultSetProto { - private ResultSetProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_ResultSet_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_ResultSet_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_PartialResultSet_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_PartialResultSet_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_ResultSetMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_ResultSetMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_ResultSetStats_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_ResultSetStats_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n\"google/spanner/v1/result_set.proto\022\021go" - + "ogle.spanner.v1\032\034google/protobuf/struct." - + "proto\032\"google/spanner/v1/query_plan.prot" - + "o\032#google/spanner/v1/transaction.proto\032\034" - + "google/spanner/v1/type.proto\"\237\001\n\tResultS" - + "et\0226\n\010metadata\030\001 \001(\0132$.google.spanner.v1" - + ".ResultSetMetadata\022(\n\004rows\030\002 \003(\0132\032.googl" - + "e.protobuf.ListValue\0220\n\005stats\030\003 \001(\0132!.go" - + "ogle.spanner.v1.ResultSetStats\"\321\001\n\020Parti" - + "alResultSet\0226\n\010metadata\030\001 \001(\0132$.google.s" - + "panner.v1.ResultSetMetadata\022&\n\006values\030\002 " - + "\003(\0132\026.google.protobuf.Value\022\025\n\rchunked_v" - + "alue\030\003 \001(\010\022\024\n\014resume_token\030\004 \001(\014\0220\n\005stat" - + "s\030\005 \001(\0132!.google.spanner.v1.ResultSetSta" - + "ts\"\267\001\n\021ResultSetMetadata\022/\n\010row_type\030\001 \001" - + "(\0132\035.google.spanner.v1.StructType\0223\n\013tra" - + "nsaction\030\002 \001(\0132\036.google.spanner.v1.Trans" - + "action\022<\n\025undeclared_parameters\030\003 \001(\0132\035." - + "google.spanner.v1.StructType\"\271\001\n\016ResultS" - + "etStats\0220\n\nquery_plan\030\001 \001(\0132\034.google.spa" - + "nner.v1.QueryPlan\022,\n\013query_stats\030\002 \001(\0132\027" - + ".google.protobuf.Struct\022\031\n\017row_count_exa" - + "ct\030\003 \001(\003H\000\022\037\n\025row_count_lower_bound\030\004 \001(" - + "\003H\000B\013\n\trow_countB\267\001\n\025com.google.spanner." - + "v1B\016ResultSetProtoP\001Z8google.golang.org/" - + "genproto/googleapis/spanner/v1;spanner\370\001" - + "\001\252\002\027Google.Cloud.Spanner.V1\312\002\027Google\\Clo" - + "ud\\Spanner\\V1\352\002\032Google::Cloud::Spanner::" - + "V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.protobuf.StructProto.getDescriptor(), - com.google.spanner.v1.QueryPlanProto.getDescriptor(), - com.google.spanner.v1.TransactionProto.getDescriptor(), - com.google.spanner.v1.TypeProto.getDescriptor(), - }); - internal_static_google_spanner_v1_ResultSet_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_spanner_v1_ResultSet_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_v1_ResultSet_descriptor, - new java.lang.String[] { - "Metadata", "Rows", "Stats", - }); - internal_static_google_spanner_v1_PartialResultSet_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_spanner_v1_PartialResultSet_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_v1_PartialResultSet_descriptor, - new java.lang.String[] { - "Metadata", "Values", "ChunkedValue", "ResumeToken", "Stats", - }); - internal_static_google_spanner_v1_ResultSetMetadata_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_spanner_v1_ResultSetMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_v1_ResultSetMetadata_descriptor, - new java.lang.String[] { - "RowType", "Transaction", "UndeclaredParameters", - }); - internal_static_google_spanner_v1_ResultSetStats_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_spanner_v1_ResultSetStats_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_v1_ResultSetStats_descriptor, - new java.lang.String[] { - "QueryPlan", "QueryStats", "RowCountExact", "RowCountLowerBound", "RowCount", - }); - com.google.protobuf.StructProto.getDescriptor(); - com.google.spanner.v1.QueryPlanProto.getDescriptor(); - com.google.spanner.v1.TransactionProto.getDescriptor(); - com.google.spanner.v1.TypeProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RollbackRequestOrBuilder.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RollbackRequestOrBuilder.java deleted file mode 100644 index 06a29aeb00b..00000000000 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RollbackRequestOrBuilder.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/spanner/v1/spanner.proto - -package com.google.spanner.v1; - -public interface RollbackRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.spanner.v1.RollbackRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The session in which the transaction to roll back is running.
-   * 
- * - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The session. - */ - java.lang.String getSession(); - /** - * - * - *
-   * Required. The session in which the transaction to roll back is running.
-   * 
- * - * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for session. - */ - com.google.protobuf.ByteString getSessionBytes(); - - /** - * - * - *
-   * Required. The transaction to roll back.
-   * 
- * - * bytes transaction_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The transactionId. - */ - com.google.protobuf.ByteString getTransactionId(); -} diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SpannerProto.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SpannerProto.java deleted file mode 100644 index 61afeeebb63..00000000000 --- a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SpannerProto.java +++ /dev/null @@ -1,652 +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/spanner/v1/spanner.proto - -package com.google.spanner.v1; - -public final class SpannerProto { - private SpannerProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_CreateSessionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_CreateSessionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_BatchCreateSessionsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_BatchCreateSessionsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_BatchCreateSessionsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_BatchCreateSessionsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_Session_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_Session_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_Session_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_Session_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_GetSessionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_GetSessionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_ListSessionsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_ListSessionsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_ListSessionsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_ListSessionsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_DeleteSessionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_DeleteSessionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_RequestOptions_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_RequestOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_ExecuteSqlRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_ExecuteSqlRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_ExecuteSqlRequest_QueryOptions_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_ExecuteSqlRequest_QueryOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_ExecuteSqlRequest_ParamTypesEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_ExecuteSqlRequest_ParamTypesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_ExecuteBatchDmlRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_ExecuteBatchDmlRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_ParamTypesEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_ParamTypesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_ExecuteBatchDmlResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_ExecuteBatchDmlResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_PartitionOptions_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_PartitionOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_PartitionQueryRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_PartitionQueryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_PartitionQueryRequest_ParamTypesEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_PartitionQueryRequest_ParamTypesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_PartitionReadRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_PartitionReadRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_Partition_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_Partition_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_PartitionResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_PartitionResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_ReadRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_ReadRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_BeginTransactionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_BeginTransactionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_CommitRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_CommitRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_RollbackRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_RollbackRequest_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\037google/spanner/v1/spanner.proto\022\021googl" - + "e.spanner.v1\032\034google/api/annotations.pro" - + "to\032\027google/api/client.proto\032\037google/api/" - + "field_behavior.proto\032\031google/api/resourc" - + "e.proto\032\033google/protobuf/empty.proto\032\034go" - + "ogle/protobuf/struct.proto\032\037google/proto" - + "buf/timestamp.proto\032\027google/rpc/status.p" - + "roto\032\'google/spanner/v1/commit_response." - + "proto\032\034google/spanner/v1/keys.proto\032 goo" - + "gle/spanner/v1/mutation.proto\032\"google/sp" - + "anner/v1/result_set.proto\032#google/spanne" - + "r/v1/transaction.proto\032\034google/spanner/v" - + "1/type.proto\"\203\001\n\024CreateSessionRequest\0229\n" - + "\010database\030\001 \001(\tB\'\340A\002\372A!\n\037spanner.googlea" - + "pis.com/Database\0220\n\007session\030\002 \001(\0132\032.goog" - + "le.spanner.v1.SessionB\003\340A\002\"\251\001\n\032BatchCrea" - + "teSessionsRequest\0229\n\010database\030\001 \001(\tB\'\340A\002" - + "\372A!\n\037spanner.googleapis.com/Database\0224\n\020" - + "session_template\030\002 \001(\0132\032.google.spanner." - + "v1.Session\022\032\n\rsession_count\030\003 \001(\005B\003\340A\002\"J" - + "\n\033BatchCreateSessionsResponse\022+\n\007session" - + "\030\001 \003(\0132\032.google.spanner.v1.Session\"\211\003\n\007S" - + "ession\022\021\n\004name\030\001 \001(\tB\003\340A\003\0226\n\006labels\030\002 \003(" - + "\0132&.google.spanner.v1.Session.LabelsEntr" - + "y\0224\n\013create_time\030\003 \001(\0132\032.google.protobuf" - + ".TimestampB\003\340A\003\022B\n\031approximate_last_use_" - + "time\030\004 \001(\0132\032.google.protobuf.TimestampB\003" - + "\340A\003\022\024\n\014creator_role\030\005 \001(\t\032-\n\013LabelsEntry" - + "\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:t\352Aq\n\036s" - + "panner.googleapis.com/Session\022Oprojects/" - + "{project}/instances/{instance}/databases" - + "/{database}/sessions/{session}\"I\n\021GetSes" - + "sionRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036spann" - + "er.googleapis.com/Session\"\207\001\n\023ListSessio" - + "nsRequest\0229\n\010database\030\001 \001(\tB\'\340A\002\372A!\n\037spa" - + "nner.googleapis.com/Database\022\021\n\tpage_siz" - + "e\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006filter\030\004 " - + "\001(\t\"]\n\024ListSessionsResponse\022,\n\010sessions\030" - + "\001 \003(\0132\032.google.spanner.v1.Session\022\027\n\017nex" - + "t_page_token\030\002 \001(\t\"L\n\024DeleteSessionReque" - + "st\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036spanner.google" - + "apis.com/Session\"\334\001\n\016RequestOptions\022<\n\010p" - + "riority\030\001 \001(\0162*.google.spanner.v1.Reques" - + "tOptions.Priority\022\023\n\013request_tag\030\002 \001(\t\022\027" - + "\n\017transaction_tag\030\003 \001(\t\"^\n\010Priority\022\030\n\024P" - + "RIORITY_UNSPECIFIED\020\000\022\020\n\014PRIORITY_LOW\020\001\022" - + "\023\n\017PRIORITY_MEDIUM\020\002\022\021\n\rPRIORITY_HIGH\020\003\"" - + "\200\006\n\021ExecuteSqlRequest\0227\n\007session\030\001 \001(\tB&" - + "\340A\002\372A \n\036spanner.googleapis.com/Session\022;" - + "\n\013transaction\030\002 \001(\0132&.google.spanner.v1." - + "TransactionSelector\022\020\n\003sql\030\003 \001(\tB\003\340A\002\022\'\n" - + "\006params\030\004 \001(\0132\027.google.protobuf.Struct\022I" - + "\n\013param_types\030\005 \003(\01324.google.spanner.v1." - + "ExecuteSqlRequest.ParamTypesEntry\022\024\n\014res" - + "ume_token\030\006 \001(\014\022B\n\nquery_mode\030\007 \001(\0162..go" - + "ogle.spanner.v1.ExecuteSqlRequest.QueryM" - + "ode\022\027\n\017partition_token\030\010 \001(\014\022\r\n\005seqno\030\t " - + "\001(\003\022H\n\rquery_options\030\n \001(\01321.google.span" - + "ner.v1.ExecuteSqlRequest.QueryOptions\022:\n" - + "\017request_options\030\013 \001(\0132!.google.spanner." - + "v1.RequestOptions\022\032\n\022data_boost_enabled\030" - + "\020 \001(\010\032O\n\014QueryOptions\022\031\n\021optimizer_versi" - + "on\030\001 \001(\t\022$\n\034optimizer_statistics_package" - + "\030\002 \001(\t\032J\n\017ParamTypesEntry\022\013\n\003key\030\001 \001(\t\022&" - + "\n\005value\030\002 \001(\0132\027.google.spanner.v1.Type:\002" - + "8\001\".\n\tQueryMode\022\n\n\006NORMAL\020\000\022\010\n\004PLAN\020\001\022\013\n" - + "\007PROFILE\020\002\"\240\004\n\026ExecuteBatchDmlRequest\0227\n" - + "\007session\030\001 \001(\tB&\340A\002\372A \n\036spanner.googleap" - + "is.com/Session\022@\n\013transaction\030\002 \001(\0132&.go" - + "ogle.spanner.v1.TransactionSelectorB\003\340A\002" - + "\022L\n\nstatements\030\003 \003(\01323.google.spanner.v1" - + ".ExecuteBatchDmlRequest.StatementB\003\340A\002\022\022" - + "\n\005seqno\030\004 \001(\003B\003\340A\002\022:\n\017request_options\030\005 " - + "\001(\0132!.google.spanner.v1.RequestOptions\032\354" - + "\001\n\tStatement\022\020\n\003sql\030\001 \001(\tB\003\340A\002\022\'\n\006params" - + "\030\002 \001(\0132\027.google.protobuf.Struct\022X\n\013param" - + "_types\030\003 \003(\0132C.google.spanner.v1.Execute" - + "BatchDmlRequest.Statement.ParamTypesEntr" - + "y\032J\n\017ParamTypesEntry\022\013\n\003key\030\001 \001(\t\022&\n\005val" - + "ue\030\002 \001(\0132\027.google.spanner.v1.Type:\0028\001\"p\n" - + "\027ExecuteBatchDmlResponse\0221\n\013result_sets\030" - + "\001 \003(\0132\034.google.spanner.v1.ResultSet\022\"\n\006s" - + "tatus\030\002 \001(\0132\022.google.rpc.Status\"H\n\020Parti" - + "tionOptions\022\034\n\024partition_size_bytes\030\001 \001(" - + "\003\022\026\n\016max_partitions\030\002 \001(\003\"\243\003\n\025PartitionQ" - + "ueryRequest\0227\n\007session\030\001 \001(\tB&\340A\002\372A \n\036sp" - + "anner.googleapis.com/Session\022;\n\013transact" - + "ion\030\002 \001(\0132&.google.spanner.v1.Transactio" - + "nSelector\022\020\n\003sql\030\003 \001(\tB\003\340A\002\022\'\n\006params\030\004 " - + "\001(\0132\027.google.protobuf.Struct\022M\n\013param_ty" - + "pes\030\005 \003(\01328.google.spanner.v1.PartitionQ" - + "ueryRequest.ParamTypesEntry\022>\n\021partition" - + "_options\030\006 \001(\0132#.google.spanner.v1.Parti" - + "tionOptions\032J\n\017ParamTypesEntry\022\013\n\003key\030\001 " - + "\001(\t\022&\n\005value\030\002 \001(\0132\027.google.spanner.v1.T" - + "ype:\0028\001\"\261\002\n\024PartitionReadRequest\0227\n\007sess" - + "ion\030\001 \001(\tB&\340A\002\372A \n\036spanner.googleapis.co" - + "m/Session\022;\n\013transaction\030\002 \001(\0132&.google." - + "spanner.v1.TransactionSelector\022\022\n\005table\030" - + "\003 \001(\tB\003\340A\002\022\r\n\005index\030\004 \001(\t\022\017\n\007columns\030\005 \003" - + "(\t\022/\n\007key_set\030\006 \001(\0132\031.google.spanner.v1." - + "KeySetB\003\340A\002\022>\n\021partition_options\030\t \001(\0132#" - + ".google.spanner.v1.PartitionOptions\"$\n\tP" - + "artition\022\027\n\017partition_token\030\001 \001(\014\"z\n\021Par" - + "titionResponse\0220\n\npartitions\030\001 \003(\0132\034.goo" - + "gle.spanner.v1.Partition\0223\n\013transaction\030" - + "\002 \001(\0132\036.google.spanner.v1.Transaction\"\203\003" - + "\n\013ReadRequest\0227\n\007session\030\001 \001(\tB&\340A\002\372A \n\036" - + "spanner.googleapis.com/Session\022;\n\013transa" - + "ction\030\002 \001(\0132&.google.spanner.v1.Transact" - + "ionSelector\022\022\n\005table\030\003 \001(\tB\003\340A\002\022\r\n\005index" - + "\030\004 \001(\t\022\024\n\007columns\030\005 \003(\tB\003\340A\002\022/\n\007key_set\030" - + "\006 \001(\0132\031.google.spanner.v1.KeySetB\003\340A\002\022\r\n" - + "\005limit\030\010 \001(\003\022\024\n\014resume_token\030\t \001(\014\022\027\n\017pa" - + "rtition_token\030\n \001(\014\022:\n\017request_options\030\013" - + " \001(\0132!.google.spanner.v1.RequestOptions\022" - + "\032\n\022data_boost_enabled\030\017 \001(\010\"\313\001\n\027BeginTra" - + "nsactionRequest\0227\n\007session\030\001 \001(\tB&\340A\002\372A " - + "\n\036spanner.googleapis.com/Session\022;\n\007opti" - + "ons\030\002 \001(\0132%.google.spanner.v1.Transactio" - + "nOptionsB\003\340A\002\022:\n\017request_options\030\003 \001(\0132!" - + ".google.spanner.v1.RequestOptions\"\303\002\n\rCo" - + "mmitRequest\0227\n\007session\030\001 \001(\tB&\340A\002\372A \n\036sp" - + "anner.googleapis.com/Session\022\030\n\016transact" - + "ion_id\030\002 \001(\014H\000\022G\n\026single_use_transaction" - + "\030\003 \001(\0132%.google.spanner.v1.TransactionOp" - + "tionsH\000\022.\n\tmutations\030\004 \003(\0132\033.google.span" - + "ner.v1.Mutation\022\033\n\023return_commit_stats\030\005" - + " \001(\010\022:\n\017request_options\030\006 \001(\0132!.google.s" - + "panner.v1.RequestOptionsB\r\n\013transaction\"" - + "g\n\017RollbackRequest\0227\n\007session\030\001 \001(\tB&\340A\002" - + "\372A \n\036spanner.googleapis.com/Session\022\033\n\016t" - + "ransaction_id\030\002 \001(\014B\003\340A\0022\300\026\n\007Spanner\022\246\001\n" - + "\rCreateSession\022\'.google.spanner.v1.Creat" - + "eSessionRequest\032\032.google.spanner.v1.Sess" - + "ion\"P\202\323\344\223\002?\":/v1/{database=projects/*/in" - + "stances/*/databases/*}/sessions:\001*\332A\010dat" - + "abase\022\340\001\n\023BatchCreateSessions\022-.google.s" - + "panner.v1.BatchCreateSessionsRequest\032..g" - + "oogle.spanner.v1.BatchCreateSessionsResp" - + "onse\"j\202\323\344\223\002K\"F/v1/{database=projects/*/i" - + "nstances/*/databases/*}/sessions:batchCr" - + "eate:\001*\332A\026database,session_count\022\227\001\n\nGet" - + "Session\022$.google.spanner.v1.GetSessionRe" - + "quest\032\032.google.spanner.v1.Session\"G\202\323\344\223\002" - + ":\0228/v1/{name=projects/*/instances/*/data" - + "bases/*/sessions/*}\332A\004name\022\256\001\n\014ListSessi" - + "ons\022&.google.spanner.v1.ListSessionsRequ" - + "est\032\'.google.spanner.v1.ListSessionsResp" - + "onse\"M\202\323\344\223\002<\022:/v1/{database=projects/*/i" - + "nstances/*/databases/*}/sessions\332A\010datab" - + "ase\022\231\001\n\rDeleteSession\022\'.google.spanner.v" - + "1.DeleteSessionRequest\032\026.google.protobuf" - + ".Empty\"G\202\323\344\223\002:*8/v1/{name=projects/*/ins" - + "tances/*/databases/*/sessions/*}\332A\004name\022" - + "\243\001\n\nExecuteSql\022$.google.spanner.v1.Execu" - + "teSqlRequest\032\034.google.spanner.v1.ResultS" - + "et\"Q\202\323\344\223\002K\"F/v1/{session=projects/*/inst" - + "ances/*/databases/*/sessions/*}:executeS" - + "ql:\001*\022\276\001\n\023ExecuteStreamingSql\022$.google.s" - + "panner.v1.ExecuteSqlRequest\032#.google.spa" - + "nner.v1.PartialResultSet\"Z\202\323\344\223\002T\"O/v1/{s" - + "ession=projects/*/instances/*/databases/" - + "*/sessions/*}:executeStreamingSql:\001*0\001\022\300" - + "\001\n\017ExecuteBatchDml\022).google.spanner.v1.E" - + "xecuteBatchDmlRequest\032*.google.spanner.v" - + "1.ExecuteBatchDmlResponse\"V\202\323\344\223\002P\"K/v1/{" - + "session=projects/*/instances/*/databases" - + "/*/sessions/*}:executeBatchDml:\001*\022\221\001\n\004Re" - + "ad\022\036.google.spanner.v1.ReadRequest\032\034.goo" - + "gle.spanner.v1.ResultSet\"K\202\323\344\223\002E\"@/v1/{s" - + "ession=projects/*/instances/*/databases/" - + "*/sessions/*}:read:\001*\022\254\001\n\rStreamingRead\022" - + "\036.google.spanner.v1.ReadRequest\032#.google" - + ".spanner.v1.PartialResultSet\"T\202\323\344\223\002N\"I/v" - + "1/{session=projects/*/instances/*/databa" - + "ses/*/sessions/*}:streamingRead:\001*0\001\022\311\001\n" - + "\020BeginTransaction\022*.google.spanner.v1.Be" - + "ginTransactionRequest\032\036.google.spanner.v" - + "1.Transaction\"i\202\323\344\223\002Q\"L/v1/{session=proj" - + "ects/*/instances/*/databases/*/sessions/" - + "*}:beginTransaction:\001*\332A\017session,options" - + "\022\353\001\n\006Commit\022 .google.spanner.v1.CommitRe" - + "quest\032!.google.spanner.v1.CommitResponse" - + "\"\233\001\202\323\344\223\002G\"B/v1/{session=projects/*/insta" - + "nces/*/databases/*/sessions/*}:commit:\001*" - + "\332A session,transaction_id,mutations\332A(se" - + "ssion,single_use_transaction,mutations\022\260" - + "\001\n\010Rollback\022\".google.spanner.v1.Rollback" - + "Request\032\026.google.protobuf.Empty\"h\202\323\344\223\002I\"" - + "D/v1/{session=projects/*/instances/*/dat" - + "abases/*/sessions/*}:rollback:\001*\332A\026sessi" - + "on,transaction_id\022\267\001\n\016PartitionQuery\022(.g" - + "oogle.spanner.v1.PartitionQueryRequest\032$" - + ".google.spanner.v1.PartitionResponse\"U\202\323" - + "\344\223\002O\"J/v1/{session=projects/*/instances/" - + "*/databases/*/sessions/*}:partitionQuery" - + ":\001*\022\264\001\n\rPartitionRead\022\'.google.spanner.v" - + "1.PartitionReadRequest\032$.google.spanner." - + "v1.PartitionResponse\"T\202\323\344\223\002N\"I/v1/{sessi" - + "on=projects/*/instances/*/databases/*/se" - + "ssions/*}:partitionRead:\001*\032w\312A\026spanner.g" - + "oogleapis.com\322A[https://www.googleapis.c" - + "om/auth/cloud-platform,https://www.googl" - + "eapis.com/auth/spanner.dataB\224\002\n\025com.goog" - + "le.spanner.v1B\014SpannerProtoP\001Z8google.go" - + "lang.org/genproto/googleapis/spanner/v1;" - + "spanner\252\002\027Google.Cloud.Spanner.V1\312\002\027Goog" - + "le\\Cloud\\Spanner\\V1\352\002\032Google::Cloud::Spa" - + "nner::V1\352A_\n\037spanner.googleapis.com/Data" - + "base\022\n\017type_annotation\030\004 \001(\0162%.google.s" - + "panner.v1.TypeAnnotationCode\"\177\n\nStructTy" - + "pe\0223\n\006fields\030\001 \003(\0132#.google.spanner.v1.S" - + "tructType.Field\032<\n\005Field\022\014\n\004name\030\001 \001(\t\022%" - + "\n\004type\030\002 \001(\0132\027.google.spanner.v1.Type*\245\001" - + "\n\010TypeCode\022\031\n\025TYPE_CODE_UNSPECIFIED\020\000\022\010\n" - + "\004BOOL\020\001\022\t\n\005INT64\020\002\022\013\n\007FLOAT64\020\003\022\r\n\tTIMES" - + "TAMP\020\004\022\010\n\004DATE\020\005\022\n\n\006STRING\020\006\022\t\n\005BYTES\020\007\022" - + "\t\n\005ARRAY\020\010\022\n\n\006STRUCT\020\t\022\013\n\007NUMERIC\020\n\022\010\n\004J" - + "SON\020\013*X\n\022TypeAnnotationCode\022$\n TYPE_ANNO" - + "TATION_CODE_UNSPECIFIED\020\000\022\016\n\nPG_NUMERIC\020" - + "\002\022\014\n\010PG_JSONB\020\003B\257\001\n\025com.google.spanner.v" - + "1B\tTypeProtoP\001Z8google.golang.org/genpro" - + "to/googleapis/spanner/v1;spanner\252\002\027Googl" - + "e.Cloud.Spanner.V1\312\002\027Google\\Cloud\\Spanne" - + "r\\V1\352\002\032Google::Cloud::Spanner::V1b\006proto" - + "3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - }); - internal_static_google_spanner_v1_Type_descriptor = getDescriptor().getMessageTypes().get(0); - internal_static_google_spanner_v1_Type_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_v1_Type_descriptor, - new java.lang.String[] { - "Code", "ArrayElementType", "StructType", "TypeAnnotation", - }); - internal_static_google_spanner_v1_StructType_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_spanner_v1_StructType_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_v1_StructType_descriptor, - new java.lang.String[] { - "Fields", - }); - internal_static_google_spanner_v1_StructType_Field_descriptor = - internal_static_google_spanner_v1_StructType_descriptor.getNestedTypes().get(0); - internal_static_google_spanner_v1_StructType_Field_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_v1_StructType_Field_descriptor, - new java.lang.String[] { - "Name", "Type", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} From 40f6855268960310622df71513d185e5cc240140 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Thu, 30 Mar 2023 22:07:15 +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 --- .../database/v1/DatabaseAdminClient.java | 0 .../database/v1/DatabaseAdminSettings.java | 1 - .../admin/database/v1/gapic_metadata.json | 0 .../admin/database/v1/package-info.java | 0 .../database/v1/stub/DatabaseAdminStub.java | 0 .../v1/stub/DatabaseAdminStubSettings.java | 0 .../GrpcDatabaseAdminCallableFactory.java | 0 .../v1/stub/GrpcDatabaseAdminStub.java | 1 - .../HttpJsonDatabaseAdminCallableFactory.java | 0 .../v1/stub/HttpJsonDatabaseAdminStub.java | 1 - .../instance/v1/InstanceAdminClient.java | 0 .../instance/v1/InstanceAdminSettings.java | 1 - .../admin/instance/v1/gapic_metadata.json | 0 .../admin/instance/v1/package-info.java | 0 .../GrpcInstanceAdminCallableFactory.java | 0 .../v1/stub/GrpcInstanceAdminStub.java | 1 - .../HttpJsonInstanceAdminCallableFactory.java | 0 .../v1/stub/HttpJsonInstanceAdminStub.java | 1 - .../instance/v1/stub/InstanceAdminStub.java | 0 .../v1/stub/InstanceAdminStubSettings.java | 0 .../cloud/spanner/v1/SpannerClient.java | 0 .../cloud/spanner/v1/SpannerSettings.java | 1 - .../cloud/spanner/v1/gapic_metadata.json | 0 .../google/cloud/spanner/v1/package-info.java | 0 .../v1/stub/GrpcSpannerCallableFactory.java | 0 .../spanner/v1/stub/GrpcSpannerStub.java | 1 - .../stub/HttpJsonSpannerCallableFactory.java | 0 .../spanner/v1/stub/HttpJsonSpannerStub.java | 0 .../cloud/spanner/v1/stub/SpannerStub.java | 0 .../spanner/v1/stub/SpannerStubSettings.java | 0 .../admin/database/v1/DatabaseAdminGrpc.java | 1919 +++++++++----- .../admin/instance/v1/InstanceAdminGrpc.java | 1471 +++++++---- .../com/google/spanner/v1/SpannerGrpc.java | 1395 ++++++---- .../v1/DatabaseAdminClientHttpJsonTest.java | 2274 ----------------- .../database/v1/DatabaseAdminClientTest.java | 2104 --------------- .../admin/database/v1/MockDatabaseAdmin.java | 59 - .../database/v1/MockDatabaseAdminImpl.java | 486 ---- .../v1/InstanceAdminClientHttpJsonTest.java | 1461 ----------- .../instance/v1/InstanceAdminClientTest.java | 1318 ---------- .../admin/instance/v1/MockInstanceAdmin.java | 59 - .../instance/v1/MockInstanceAdminImpl.java | 377 --- .../google/cloud/spanner/v1/MockSpanner.java | 59 - .../cloud/spanner/v1/MockSpannerImpl.java | 393 --- .../spanner/v1/SpannerClientHttpJsonTest.java | 1318 ---------- .../cloud/spanner/v1/SpannerClientTest.java | 1362 ---------- .../admin/database/v1/BackupProto.java | 324 --- .../admin/database/v1/CommonProto.java | 117 - .../v1/DeleteBackupRequestOrBuilder.java | 33 - .../v1/DropDatabaseRequestOrBuilder.java | 29 - .../v1/GetBackupRequestOrBuilder.java | 33 - .../v1/GetDatabaseDdlRequestOrBuilder.java | 33 - .../v1/GetDatabaseRequestOrBuilder.java | 31 - .../v1/SpannerDatabaseAdminProto.java | 541 ---- .../admin/instance/v1/CommonProto.java | 60 - .../v1/DeleteInstanceRequestOrBuilder.java | 31 - .../v1/GetInstanceConfigRequestOrBuilder.java | 31 - .../v1/SpannerInstanceAdminProto.java | 534 ---- .../spanner/v1/CommitResponseProto.java | 70 - .../v1/DeleteSessionRequestOrBuilder.java | 29 - .../v1/GetSessionRequestOrBuilder.java | 29 - .../java/com/google/spanner/v1/KeysProto.java | 74 - .../com/google/spanner/v1/MutationProto.java | 99 - .../google/spanner/v1/PartitionOrBuilder.java | 21 - .../com/google/spanner/v1/QueryPlanProto.java | 116 - .../com/google/spanner/v1/ResultSetProto.java | 115 - .../spanner/v1/RollbackRequestOrBuilder.java | 39 - .../com/google/spanner/v1/SpannerProto.java | 583 ----- .../google/spanner/v1/TransactionProto.java | 137 - .../java/com/google/spanner/v1/TypeProto.java | 96 - .../spanner/admin/database/v1/Backup.java | 1581 ++++++++---- .../spanner/admin/database/v1/BackupInfo.java | 572 +++-- .../database/v1/BackupInfoOrBuilder.java | 52 +- .../spanner/admin/database/v1/BackupName.java | 0 .../admin/database/v1/BackupOrBuilder.java | 208 +- .../admin/database/v1/BackupProto.java | 364 +++ .../admin/database/v1/CommonProto.java | 134 + .../v1/CopyBackupEncryptionConfig.java | 564 ++-- .../CopyBackupEncryptionConfigOrBuilder.java | 52 +- .../admin/database/v1/CopyBackupMetadata.java | 584 +++-- .../v1/CopyBackupMetadataOrBuilder.java | 52 +- .../admin/database/v1/CopyBackupRequest.java | 814 +++--- .../v1/CopyBackupRequestOrBuilder.java | 101 +- .../v1/CreateBackupEncryptionConfig.java | 572 +++-- ...CreateBackupEncryptionConfigOrBuilder.java | 52 +- .../database/v1/CreateBackupMetadata.java | 584 +++-- .../v1/CreateBackupMetadataOrBuilder.java | 52 +- .../database/v1/CreateBackupRequest.java | 734 ++++-- .../v1/CreateBackupRequestOrBuilder.java | 87 +- .../database/v1/CreateDatabaseMetadata.java | 328 ++- .../v1/CreateDatabaseMetadataOrBuilder.java | 27 +- .../database/v1/CreateDatabaseRequest.java | 786 ++++-- .../v1/CreateDatabaseRequestOrBuilder.java | 96 +- .../spanner/admin/database/v1/Database.java | 1557 +++++++---- .../admin/database/v1/DatabaseDialect.java | 82 +- .../admin/database/v1/DatabaseName.java | 0 .../admin/database/v1/DatabaseOrBuilder.java | 185 +- .../admin/database/v1/DatabaseRole.java | 325 ++- .../database/v1/DatabaseRoleOrBuilder.java | 27 +- .../database/v1/DeleteBackupRequest.java | 356 +-- .../v1/DeleteBackupRequestOrBuilder.java | 58 + .../database/v1/DropDatabaseRequest.java | 356 +-- .../v1/DropDatabaseRequestOrBuilder.java | 54 + .../admin/database/v1/EncryptionConfig.java | 328 ++- .../v1/EncryptionConfigOrBuilder.java | 27 +- .../admin/database/v1/EncryptionInfo.java | 649 +++-- .../database/v1/EncryptionInfoOrBuilder.java | 66 +- .../admin/database/v1/GetBackupRequest.java | 356 +-- .../v1/GetBackupRequestOrBuilder.java | 58 + .../database/v1/GetDatabaseDdlRequest.java | 356 +-- .../v1/GetDatabaseDdlRequestOrBuilder.java | 58 + .../database/v1/GetDatabaseDdlResponse.java | 360 +-- .../v1/GetDatabaseDdlResponseOrBuilder.java | 36 +- .../admin/database/v1/GetDatabaseRequest.java | 356 +-- .../v1/GetDatabaseRequestOrBuilder.java | 56 + .../admin/database/v1/InstanceName.java | 0 .../v1/ListBackupOperationsRequest.java | 558 ++-- .../ListBackupOperationsRequestOrBuilder.java | 56 +- .../v1/ListBackupOperationsResponse.java | 518 ++-- ...ListBackupOperationsResponseOrBuilder.java | 46 +- .../admin/database/v1/ListBackupsRequest.java | 535 ++-- .../v1/ListBackupsRequestOrBuilder.java | 56 +- .../database/v1/ListBackupsResponse.java | 489 ++-- .../v1/ListBackupsResponseOrBuilder.java | 45 +- .../v1/ListDatabaseOperationsRequest.java | 570 +++-- ...istDatabaseOperationsRequestOrBuilder.java | 56 +- .../v1/ListDatabaseOperationsResponse.java | 525 ++-- ...stDatabaseOperationsResponseOrBuilder.java | 46 +- .../database/v1/ListDatabaseRolesRequest.java | 471 ++-- .../v1/ListDatabaseRolesRequestOrBuilder.java | 47 +- .../v1/ListDatabaseRolesResponse.java | 492 ++-- .../ListDatabaseRolesResponseOrBuilder.java | 45 +- .../database/v1/ListDatabasesRequest.java | 461 ++-- .../v1/ListDatabasesRequestOrBuilder.java | 47 +- .../database/v1/ListDatabasesResponse.java | 489 ++-- .../v1/ListDatabasesResponseOrBuilder.java | 45 +- .../admin/database/v1/OperationProgress.java | 458 ++-- .../v1/OperationProgressOrBuilder.java | 37 +- .../v1/OptimizeRestoredDatabaseMetadata.java | 461 ++-- ...mizeRestoredDatabaseMetadataOrBuilder.java | 35 +- .../v1/RestoreDatabaseEncryptionConfig.java | 579 +++-- ...toreDatabaseEncryptionConfigOrBuilder.java | 52 +- .../database/v1/RestoreDatabaseMetadata.java | 794 +++--- .../v1/RestoreDatabaseMetadataOrBuilder.java | 69 +- .../database/v1/RestoreDatabaseRequest.java | 730 ++++-- .../v1/RestoreDatabaseRequestOrBuilder.java | 79 +- .../admin/database/v1/RestoreInfo.java | 445 ++-- .../database/v1/RestoreInfoOrBuilder.java | 32 +- .../admin/database/v1/RestoreSourceType.java | 77 +- .../v1/SpannerDatabaseAdminProto.java | 591 +++++ .../database/v1/UpdateBackupRequest.java | 529 ++-- .../v1/UpdateBackupRequestOrBuilder.java | 55 +- .../v1/UpdateDatabaseDdlMetadata.java | 793 +++--- .../UpdateDatabaseDdlMetadataOrBuilder.java | 84 +- .../database/v1/UpdateDatabaseDdlRequest.java | 544 ++-- .../v1/UpdateDatabaseDdlRequestOrBuilder.java | 62 +- .../spanner/admin/database/v1/backup.proto | 0 .../spanner/admin/database/v1/common.proto | 0 .../database/v1/spanner_database_admin.proto | 0 .../admin/instance/v1/CommonProto.java | 75 + .../v1/CreateInstanceConfigMetadata.java | 573 +++-- ...CreateInstanceConfigMetadataOrBuilder.java | 42 +- .../v1/CreateInstanceConfigRequest.java | 634 +++-- .../CreateInstanceConfigRequestOrBuilder.java | 67 +- .../instance/v1/CreateInstanceMetadata.java | 608 +++-- .../v1/CreateInstanceMetadataOrBuilder.java | 50 +- .../instance/v1/CreateInstanceRequest.java | 570 +++-- .../v1/CreateInstanceRequestOrBuilder.java | 64 +- .../v1/DeleteInstanceConfigRequest.java | 487 ++-- .../DeleteInstanceConfigRequestOrBuilder.java | 47 +- .../instance/v1/DeleteInstanceRequest.java | 356 +-- .../v1/DeleteInstanceRequestOrBuilder.java | 56 + .../instance/v1/GetInstanceConfigRequest.java | 366 +-- .../v1/GetInstanceConfigRequestOrBuilder.java | 56 + .../admin/instance/v1/GetInstanceRequest.java | 439 ++-- .../v1/GetInstanceRequestOrBuilder.java | 43 +- .../spanner/admin/instance/v1/Instance.java | 1336 ++++++---- .../admin/instance/v1/InstanceConfig.java | 1643 +++++++----- .../admin/instance/v1/InstanceConfigName.java | 0 .../instance/v1/InstanceConfigOrBuilder.java | 189 +- .../admin/instance/v1/InstanceName.java | 0 .../admin/instance/v1/InstanceOrBuilder.java | 155 +- .../ListInstanceConfigOperationsRequest.java | 587 +++-- ...tanceConfigOperationsRequestOrBuilder.java | 56 +- .../ListInstanceConfigOperationsResponse.java | 543 ++-- ...anceConfigOperationsResponseOrBuilder.java | 46 +- .../v1/ListInstanceConfigsRequest.java | 484 ++-- .../ListInstanceConfigsRequestOrBuilder.java | 47 +- .../v1/ListInstanceConfigsResponse.java | 498 ++-- .../ListInstanceConfigsResponseOrBuilder.java | 42 +- .../instance/v1/ListInstancesRequest.java | 535 ++-- .../v1/ListInstancesRequestOrBuilder.java | 56 +- .../instance/v1/ListInstancesResponse.java | 489 ++-- .../v1/ListInstancesResponseOrBuilder.java | 45 +- .../admin/instance/v1/OperationProgress.java | 458 ++-- .../v1/OperationProgressOrBuilder.java | 37 +- .../admin/instance/v1/ProjectName.java | 0 .../admin/instance/v1/ReplicaInfo.java | 502 ++-- .../instance/v1/ReplicaInfoOrBuilder.java | 36 +- .../v1/SpannerInstanceAdminProto.java | 594 +++++ .../v1/UpdateInstanceConfigMetadata.java | 573 +++-- ...UpdateInstanceConfigMetadataOrBuilder.java | 42 +- .../v1/UpdateInstanceConfigRequest.java | 590 +++-- .../UpdateInstanceConfigRequestOrBuilder.java | 58 +- .../instance/v1/UpdateInstanceMetadata.java | 608 +++-- .../v1/UpdateInstanceMetadataOrBuilder.java | 50 +- .../instance/v1/UpdateInstanceRequest.java | 520 ++-- .../v1/UpdateInstanceRequestOrBuilder.java | 55 +- .../spanner/admin/instance/v1/common.proto | 0 .../instance/v1/spanner_instance_admin.proto | 0 .../v1/BatchCreateSessionsRequest.java | 484 ++-- .../BatchCreateSessionsRequestOrBuilder.java | 46 +- .../v1/BatchCreateSessionsResponse.java | 418 +-- .../BatchCreateSessionsResponseOrBuilder.java | 37 +- .../spanner/v1/BeginTransactionRequest.java | 589 +++-- .../v1/BeginTransactionRequestOrBuilder.java | 63 +- .../com/google/spanner/v1/CommitRequest.java | 820 +++--- .../spanner/v1/CommitRequestOrBuilder.java | 79 +- .../com/google/spanner/v1/CommitResponse.java | 714 +++--- .../spanner/v1/CommitResponseOrBuilder.java | 34 +- .../spanner/v1/CommitResponseProto.java | 86 + .../spanner/v1/CreateSessionRequest.java | 456 ++-- .../v1/CreateSessionRequestOrBuilder.java | 43 +- .../com/google/spanner/v1/DatabaseName.java | 0 .../spanner/v1/DeleteSessionRequest.java | 346 ++- .../v1/DeleteSessionRequestOrBuilder.java | 54 + .../spanner/v1/ExecuteBatchDmlRequest.java | 1537 ++++++----- .../v1/ExecuteBatchDmlRequestOrBuilder.java | 104 +- .../spanner/v1/ExecuteBatchDmlResponse.java | 480 ++-- .../v1/ExecuteBatchDmlResponseOrBuilder.java | 45 +- .../google/spanner/v1/ExecuteSqlRequest.java | 1683 +++++++----- .../v1/ExecuteSqlRequestOrBuilder.java | 124 +- .../google/spanner/v1/GetSessionRequest.java | 343 ++- .../v1/GetSessionRequestOrBuilder.java | 54 + .../java/com/google/spanner/v1/KeyRange.java | 697 +++-- .../google/spanner/v1/KeyRangeOrBuilder.java | 50 +- .../java/com/google/spanner/v1/KeySet.java | 587 +++-- .../google/spanner/v1/KeySetOrBuilder.java | 59 +- .../java/com/google/spanner/v1/KeysProto.java | 89 + .../spanner/v1/ListSessionsRequest.java | 525 ++-- .../v1/ListSessionsRequestOrBuilder.java | 56 +- .../spanner/v1/ListSessionsResponse.java | 480 ++-- .../v1/ListSessionsResponseOrBuilder.java | 46 +- .../java/com/google/spanner/v1/Mutation.java | 1786 ++++++++----- .../google/spanner/v1/MutationOrBuilder.java | 58 +- .../com/google/spanner/v1/MutationProto.java | 116 + .../google/spanner/v1/PartialResultSet.java | 655 +++-- .../spanner/v1/PartialResultSetOrBuilder.java | 59 +- .../java/com/google/spanner/v1/Partition.java | 266 +- .../google/spanner/v1/PartitionOptions.java | 314 ++- .../spanner/v1/PartitionOptionsOrBuilder.java | 24 +- .../google/spanner/v1/PartitionOrBuilder.java | 40 + .../spanner/v1/PartitionQueryRequest.java | 923 ++++--- .../v1/PartitionQueryRequestOrBuilder.java | 98 +- .../spanner/v1/PartitionReadRequest.java | 867 ++++--- .../v1/PartitionReadRequestOrBuilder.java | 95 +- .../google/spanner/v1/PartitionResponse.java | 497 ++-- .../v1/PartitionResponseOrBuilder.java | 45 +- .../java/com/google/spanner/v1/PlanNode.java | 1918 ++++++++------ .../google/spanner/v1/PlanNodeOrBuilder.java | 78 +- .../java/com/google/spanner/v1/QueryPlan.java | 395 +-- .../google/spanner/v1/QueryPlanOrBuilder.java | 37 +- .../com/google/spanner/v1/QueryPlanProto.java | 143 ++ .../com/google/spanner/v1/ReadRequest.java | 1002 +++++--- .../spanner/v1/ReadRequestOrBuilder.java | 107 +- .../com/google/spanner/v1/RequestOptions.java | 512 ++-- .../spanner/v1/RequestOptionsOrBuilder.java | 42 +- .../java/com/google/spanner/v1/ResultSet.java | 578 +++-- .../google/spanner/v1/ResultSetMetadata.java | 526 ++-- .../v1/ResultSetMetadataOrBuilder.java | 42 +- .../google/spanner/v1/ResultSetOrBuilder.java | 53 +- .../com/google/spanner/v1/ResultSetProto.java | 133 + .../com/google/spanner/v1/ResultSetStats.java | 562 ++-- .../spanner/v1/ResultSetStatsOrBuilder.java | 46 +- .../google/spanner/v1/RollbackRequest.java | 375 +-- .../spanner/v1/RollbackRequestOrBuilder.java | 67 + .../java/com/google/spanner/v1/Session.java | 904 ++++--- .../com/google/spanner/v1/SessionName.java | 0 .../google/spanner/v1/SessionOrBuilder.java | 103 +- .../com/google/spanner/v1/SpannerProto.java | 652 +++++ .../com/google/spanner/v1/StructType.java | 788 +++--- .../spanner/v1/StructTypeOrBuilder.java | 36 +- .../com/google/spanner/v1/Transaction.java | 370 +-- .../google/spanner/v1/TransactionOptions.java | 2019 +++++++++------ .../v1/TransactionOptionsOrBuilder.java | 42 +- .../spanner/v1/TransactionOrBuilder.java | 29 +- .../google/spanner/v1/TransactionProto.java | 161 ++ .../spanner/v1/TransactionSelector.java | 534 ++-- .../v1/TransactionSelectorOrBuilder.java | 40 +- .../main/java/com/google/spanner/v1/Type.java | 517 ++-- .../google/spanner/v1/TypeAnnotationCode.java | 80 +- .../java/com/google/spanner/v1/TypeCode.java | 143 +- .../com/google/spanner/v1/TypeOrBuilder.java | 46 +- .../java/com/google/spanner/v1/TypeProto.java | 112 + .../google/spanner/v1/commit_response.proto | 0 .../main/proto/google/spanner/v1/keys.proto | 0 .../proto/google/spanner/v1/mutation.proto | 0 .../proto/google/spanner/v1/query_plan.proto | 0 .../proto/google/spanner/v1/result_set.proto | 0 .../proto/google/spanner/v1/spanner.proto | 0 .../proto/google/spanner/v1/transaction.proto | 0 .../main/proto/google/spanner/v1/type.proto | 0 301 files changed, 50286 insertions(+), 40857 deletions(-) rename {owl-bot-staging/v1/google-cloud-spanner => google-cloud-spanner}/src/main/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminClient.java (100%) rename {owl-bot-staging/v1/google-cloud-spanner => google-cloud-spanner}/src/main/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminSettings.java (99%) rename {owl-bot-staging/v1/google-cloud-spanner => google-cloud-spanner}/src/main/java/com/google/cloud/spanner/admin/database/v1/gapic_metadata.json (100%) rename {owl-bot-staging/v1/google-cloud-spanner => google-cloud-spanner}/src/main/java/com/google/cloud/spanner/admin/database/v1/package-info.java (100%) rename {owl-bot-staging/v1/google-cloud-spanner => google-cloud-spanner}/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/DatabaseAdminStub.java (100%) rename {owl-bot-staging/v1/google-cloud-spanner => google-cloud-spanner}/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/DatabaseAdminStubSettings.java (100%) rename {owl-bot-staging/v1/google-cloud-spanner => google-cloud-spanner}/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/GrpcDatabaseAdminCallableFactory.java (100%) rename {owl-bot-staging/v1/google-cloud-spanner => google-cloud-spanner}/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/GrpcDatabaseAdminStub.java (99%) rename {owl-bot-staging/v1/google-cloud-spanner => google-cloud-spanner}/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/HttpJsonDatabaseAdminCallableFactory.java (100%) rename {owl-bot-staging/v1/google-cloud-spanner => google-cloud-spanner}/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/HttpJsonDatabaseAdminStub.java (99%) rename {owl-bot-staging/v1/google-cloud-spanner => google-cloud-spanner}/src/main/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminClient.java (100%) rename {owl-bot-staging/v1/google-cloud-spanner => google-cloud-spanner}/src/main/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminSettings.java (99%) rename {owl-bot-staging/v1/google-cloud-spanner => google-cloud-spanner}/src/main/java/com/google/cloud/spanner/admin/instance/v1/gapic_metadata.json (100%) rename {owl-bot-staging/v1/google-cloud-spanner => google-cloud-spanner}/src/main/java/com/google/cloud/spanner/admin/instance/v1/package-info.java (100%) rename {owl-bot-staging/v1/google-cloud-spanner => google-cloud-spanner}/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/GrpcInstanceAdminCallableFactory.java (100%) rename {owl-bot-staging/v1/google-cloud-spanner => google-cloud-spanner}/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/GrpcInstanceAdminStub.java (99%) rename {owl-bot-staging/v1/google-cloud-spanner => google-cloud-spanner}/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/HttpJsonInstanceAdminCallableFactory.java (100%) rename {owl-bot-staging/v1/google-cloud-spanner => google-cloud-spanner}/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/HttpJsonInstanceAdminStub.java (99%) rename {owl-bot-staging/v1/google-cloud-spanner => google-cloud-spanner}/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/InstanceAdminStub.java (100%) rename {owl-bot-staging/v1/google-cloud-spanner => google-cloud-spanner}/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/InstanceAdminStubSettings.java (100%) rename {owl-bot-staging/v1/google-cloud-spanner => google-cloud-spanner}/src/main/java/com/google/cloud/spanner/v1/SpannerClient.java (100%) rename {owl-bot-staging/v1/google-cloud-spanner => google-cloud-spanner}/src/main/java/com/google/cloud/spanner/v1/SpannerSettings.java (99%) rename {owl-bot-staging/v1/google-cloud-spanner => google-cloud-spanner}/src/main/java/com/google/cloud/spanner/v1/gapic_metadata.json (100%) rename {owl-bot-staging/v1/google-cloud-spanner => google-cloud-spanner}/src/main/java/com/google/cloud/spanner/v1/package-info.java (100%) rename {owl-bot-staging/v1/google-cloud-spanner => google-cloud-spanner}/src/main/java/com/google/cloud/spanner/v1/stub/GrpcSpannerCallableFactory.java (100%) rename {owl-bot-staging/v1/google-cloud-spanner => google-cloud-spanner}/src/main/java/com/google/cloud/spanner/v1/stub/GrpcSpannerStub.java (99%) rename {owl-bot-staging/v1/google-cloud-spanner => google-cloud-spanner}/src/main/java/com/google/cloud/spanner/v1/stub/HttpJsonSpannerCallableFactory.java (100%) rename {owl-bot-staging/v1/google-cloud-spanner => google-cloud-spanner}/src/main/java/com/google/cloud/spanner/v1/stub/HttpJsonSpannerStub.java (100%) rename {owl-bot-staging/v1/google-cloud-spanner => google-cloud-spanner}/src/main/java/com/google/cloud/spanner/v1/stub/SpannerStub.java (100%) rename {owl-bot-staging/v1/google-cloud-spanner => google-cloud-spanner}/src/main/java/com/google/cloud/spanner/v1/stub/SpannerStubSettings.java (100%) rename {owl-bot-staging/v1/grpc-google-cloud-spanner-admin-database-v1 => grpc-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/DatabaseAdminGrpc.java (54%) rename {owl-bot-staging/v1/grpc-google-cloud-spanner-admin-instance-v1 => grpc-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/InstanceAdminGrpc.java (63%) rename {owl-bot-staging/v1/grpc-google-cloud-spanner-v1 => grpc-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/SpannerGrpc.java (59%) delete mode 100644 owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminClientHttpJsonTest.java delete mode 100644 owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminClientTest.java delete mode 100644 owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/database/v1/MockDatabaseAdmin.java delete mode 100644 owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/database/v1/MockDatabaseAdminImpl.java delete mode 100644 owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminClientHttpJsonTest.java delete mode 100644 owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminClientTest.java delete mode 100644 owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/instance/v1/MockInstanceAdmin.java delete mode 100644 owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/instance/v1/MockInstanceAdminImpl.java delete mode 100644 owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/v1/MockSpanner.java delete mode 100644 owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/v1/MockSpannerImpl.java delete mode 100644 owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/v1/SpannerClientHttpJsonTest.java delete mode 100644 owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/v1/SpannerClientTest.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CommonProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DeleteBackupRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DropDatabaseRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetBackupRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/SpannerDatabaseAdminProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CommonProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceConfigRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/SpannerInstanceAdminProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitResponseProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/DeleteSessionRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/GetSessionRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeysProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/MutationProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/QueryPlanProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RollbackRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SpannerProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeProto.java rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/Backup.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/BackupInfo.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/BackupInfoOrBuilder.java (80%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/BackupName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/BackupOrBuilder.java (78%) create mode 100644 proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupProto.java create mode 100644 proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CommonProto.java rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/CopyBackupEncryptionConfig.java (62%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/CopyBackupEncryptionConfigOrBuilder.java (53%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/CopyBackupMetadata.java (76%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/CopyBackupMetadataOrBuilder.java (86%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/CopyBackupRequest.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/CopyBackupRequestOrBuilder.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/CreateBackupEncryptionConfig.java (61%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/CreateBackupEncryptionConfigOrBuilder.java (53%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/CreateBackupMetadata.java (75%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/CreateBackupMetadataOrBuilder.java (85%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/CreateBackupRequest.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/CreateBackupRequestOrBuilder.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseMetadata.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseMetadataOrBuilder.java (50%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseRequest.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseRequestOrBuilder.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/Database.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/DatabaseDialect.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/DatabaseName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/DatabaseOrBuilder.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/DatabaseRole.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/DatabaseRoleOrBuilder.java (64%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/DeleteBackupRequest.java (63%) create mode 100644 proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DeleteBackupRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/DropDatabaseRequest.java (63%) create mode 100644 proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DropDatabaseRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/EncryptionConfig.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/EncryptionConfigOrBuilder.java (60%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/EncryptionInfo.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/EncryptionInfoOrBuilder.java (58%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/GetBackupRequest.java (62%) create mode 100644 proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetBackupRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlRequest.java (64%) create mode 100644 proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlResponse.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlResponseOrBuilder.java (64%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseRequest.java (64%) create mode 100644 proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/InstanceName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsRequest.java (81%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsRequestOrBuilder.java (89%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsResponse.java (77%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsResponseOrBuilder.java (83%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/ListBackupsRequest.java (76%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/ListBackupsRequestOrBuilder.java (82%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/ListBackupsResponse.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/ListBackupsResponseOrBuilder.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsRequest.java (77%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsRequestOrBuilder.java (85%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsResponse.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsResponseOrBuilder.java (78%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesRequest.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesRequestOrBuilder.java (63%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesResponse.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesResponseOrBuilder.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesRequest.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesRequestOrBuilder.java (62%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesResponse.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesResponseOrBuilder.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/OperationProgress.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/OperationProgressOrBuilder.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/OptimizeRestoredDatabaseMetadata.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/OptimizeRestoredDatabaseMetadataOrBuilder.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseEncryptionConfig.java (61%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseEncryptionConfigOrBuilder.java (54%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseMetadata.java (77%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseMetadataOrBuilder.java (88%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseRequest.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseRequestOrBuilder.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/RestoreInfo.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/RestoreInfoOrBuilder.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/RestoreSourceType.java (66%) create mode 100644 proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/SpannerDatabaseAdminProto.java rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/UpdateBackupRequest.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/UpdateBackupRequestOrBuilder.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlMetadata.java (79%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlMetadataOrBuilder.java (86%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlRequest.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlRequestOrBuilder.java (77%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/proto/google/spanner/admin/database/v1/backup.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/proto/google/spanner/admin/database/v1/common.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1 => proto-google-cloud-spanner-admin-database-v1}/src/main/proto/google/spanner/admin/database/v1/spanner_database_admin.proto (100%) create mode 100644 proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CommonProto.java rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1 => proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigMetadata.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1 => proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigMetadataOrBuilder.java (78%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1 => proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigRequest.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1 => proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigRequestOrBuilder.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1 => proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceMetadata.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1 => proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceMetadataOrBuilder.java (82%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1 => proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceRequest.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1 => proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceRequestOrBuilder.java (59%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1 => proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceConfigRequest.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1 => proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceConfigRequestOrBuilder.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1 => proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceRequest.java (64%) create mode 100644 proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1 => proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceConfigRequest.java (62%) create mode 100644 proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceConfigRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1 => proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceRequest.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1 => proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceRequestOrBuilder.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1 => proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/Instance.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1 => proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/InstanceConfig.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1 => proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/InstanceConfigName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1 => proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/InstanceConfigOrBuilder.java (83%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1 => proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/InstanceName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1 => proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/InstanceOrBuilder.java (85%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1 => proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsRequest.java (76%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1 => proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsRequestOrBuilder.java (84%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1 => proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsResponse.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1 => proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsResponseOrBuilder.java (78%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1 => proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsRequest.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1 => proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsRequestOrBuilder.java (63%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1 => proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsResponse.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1 => proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsResponseOrBuilder.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1 => proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesRequest.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1 => proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesRequestOrBuilder.java (76%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1 => proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesResponse.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1 => proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesResponseOrBuilder.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1 => proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/OperationProgress.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1 => proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/OperationProgressOrBuilder.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1 => proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/ProjectName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1 => proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/ReplicaInfo.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1 => proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/ReplicaInfoOrBuilder.java (67%) create mode 100644 proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/SpannerInstanceAdminProto.java rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1 => proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigMetadata.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1 => proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigMetadataOrBuilder.java (78%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1 => proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigRequest.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1 => proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigRequestOrBuilder.java (75%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1 => proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceMetadata.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1 => proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceMetadataOrBuilder.java (82%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1 => proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceRequest.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1 => proto-google-cloud-spanner-admin-instance-v1}/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceRequestOrBuilder.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1 => proto-google-cloud-spanner-admin-instance-v1}/src/main/proto/google/spanner/admin/instance/v1/common.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1 => proto-google-cloud-spanner-admin-instance-v1}/src/main/proto/google/spanner/admin/instance/v1/spanner_instance_admin.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/BatchCreateSessionsRequest.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/BatchCreateSessionsRequestOrBuilder.java (63%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/BatchCreateSessionsResponse.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/BatchCreateSessionsResponseOrBuilder.java (56%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/BeginTransactionRequest.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/BeginTransactionRequestOrBuilder.java (63%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/CommitRequest.java (75%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/CommitRequestOrBuilder.java (82%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/CommitResponse.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/CommitResponseOrBuilder.java (75%) create mode 100644 proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitResponseProto.java rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/CreateSessionRequest.java (64%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/CreateSessionRequestOrBuilder.java (55%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/DatabaseName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/DeleteSessionRequest.java (61%) create mode 100644 proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/DeleteSessionRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/ExecuteBatchDmlRequest.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/ExecuteBatchDmlRequestOrBuilder.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/ExecuteBatchDmlResponse.java (81%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/ExecuteBatchDmlResponseOrBuilder.java (84%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/ExecuteSqlRequest.java (78%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/ExecuteSqlRequestOrBuilder.java (88%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/GetSessionRequest.java (62%) create mode 100644 proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/GetSessionRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/KeyRange.java (76%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/KeyRangeOrBuilder.java (83%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/KeySet.java (78%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/KeySetOrBuilder.java (78%) create mode 100644 proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeysProto.java rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/ListSessionsRequest.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/ListSessionsRequestOrBuilder.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/ListSessionsResponse.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/ListSessionsResponseOrBuilder.java (64%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/Mutation.java (80%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/MutationOrBuilder.java (89%) create mode 100644 proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/MutationProto.java rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/PartialResultSet.java (89%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/PartialResultSetOrBuilder.java (94%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/Partition.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/PartitionOptions.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/PartitionOptionsOrBuilder.java (66%) create mode 100644 proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/PartitionQueryRequest.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/PartitionQueryRequestOrBuilder.java (84%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/PartitionReadRequest.java (75%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/PartitionReadRequestOrBuilder.java (83%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/PartitionResponse.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/PartitionResponseOrBuilder.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/PlanNode.java (75%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/PlanNodeOrBuilder.java (86%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/QueryPlan.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/QueryPlanOrBuilder.java (71%) create mode 100644 proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/QueryPlanProto.java rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/ReadRequest.java (78%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/ReadRequestOrBuilder.java (87%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/RequestOptions.java (76%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/RequestOptionsOrBuilder.java (81%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/ResultSet.java (79%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/ResultSetMetadata.java (76%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/ResultSetMetadataOrBuilder.java (86%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/ResultSetOrBuilder.java (86%) create mode 100644 proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetProto.java rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/ResultSetStats.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/ResultSetStatsOrBuilder.java (82%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/RollbackRequest.java (65%) create mode 100644 proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RollbackRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/Session.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/SessionName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/SessionOrBuilder.java (75%) create mode 100644 proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SpannerProto.java rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/StructType.java (77%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/StructTypeOrBuilder.java (79%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/Transaction.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/TransactionOptions.java (81%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/TransactionOptionsOrBuilder.java (83%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/TransactionOrBuilder.java (78%) create mode 100644 proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionProto.java rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/TransactionSelector.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/TransactionSelectorOrBuilder.java (80%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/Type.java (75%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/TypeAnnotationCode.java (77%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/TypeCode.java (80%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/java/com/google/spanner/v1/TypeOrBuilder.java (85%) create mode 100644 proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeProto.java rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/proto/google/spanner/v1/commit_response.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/proto/google/spanner/v1/keys.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/proto/google/spanner/v1/mutation.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/proto/google/spanner/v1/query_plan.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/proto/google/spanner/v1/result_set.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/proto/google/spanner/v1/spanner.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/proto/google/spanner/v1/transaction.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-spanner-v1 => proto-google-cloud-spanner-v1}/src/main/proto/google/spanner/v1/type.proto (100%) diff --git a/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminClient.java b/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminClient.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminClient.java rename to google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminClient.java diff --git a/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminSettings.java b/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminSettings.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminSettings.java rename to google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminSettings.java index ba6eca8cf52..7f86f2a522a 100644 --- a/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminSettings.java +++ b/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminSettings.java @@ -33,7 +33,6 @@ 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.cloud.spanner.admin.database.v1.stub.DatabaseAdminStubSettings; diff --git a/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/gapic_metadata.json b/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/gapic_metadata.json similarity index 100% rename from owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/gapic_metadata.json rename to google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/gapic_metadata.json diff --git a/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/package-info.java b/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/package-info.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/package-info.java rename to google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/package-info.java diff --git a/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/DatabaseAdminStub.java b/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/DatabaseAdminStub.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/DatabaseAdminStub.java rename to google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/DatabaseAdminStub.java diff --git a/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/DatabaseAdminStubSettings.java b/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/DatabaseAdminStubSettings.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/DatabaseAdminStubSettings.java rename to google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/DatabaseAdminStubSettings.java diff --git a/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/GrpcDatabaseAdminCallableFactory.java b/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/GrpcDatabaseAdminCallableFactory.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/GrpcDatabaseAdminCallableFactory.java rename to google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/GrpcDatabaseAdminCallableFactory.java diff --git a/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/GrpcDatabaseAdminStub.java b/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/GrpcDatabaseAdminStub.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/GrpcDatabaseAdminStub.java rename to google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/GrpcDatabaseAdminStub.java index 4ab285d02e2..84b44e2ded8 100644 --- a/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/GrpcDatabaseAdminStub.java +++ b/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/GrpcDatabaseAdminStub.java @@ -70,7 +70,6 @@ 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; diff --git a/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/HttpJsonDatabaseAdminCallableFactory.java b/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/HttpJsonDatabaseAdminCallableFactory.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/HttpJsonDatabaseAdminCallableFactory.java rename to google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/HttpJsonDatabaseAdminCallableFactory.java diff --git a/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/HttpJsonDatabaseAdminStub.java b/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/HttpJsonDatabaseAdminStub.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/HttpJsonDatabaseAdminStub.java rename to google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/HttpJsonDatabaseAdminStub.java index 5c94c2eba56..af9509761df 100644 --- a/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/HttpJsonDatabaseAdminStub.java +++ b/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/HttpJsonDatabaseAdminStub.java @@ -35,7 +35,6 @@ import com.google.api.gax.httpjson.ProtoMessageResponseParser; import com.google.api.gax.httpjson.ProtoRestSerializer; import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; -import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.UnaryCallable; diff --git a/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminClient.java b/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminClient.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminClient.java rename to google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminClient.java diff --git a/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminSettings.java b/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminSettings.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminSettings.java rename to google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminSettings.java index 96a4bdb5c7f..4409fa180e2 100644 --- a/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminSettings.java +++ b/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminSettings.java @@ -31,7 +31,6 @@ 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.cloud.spanner.admin.instance.v1.stub.InstanceAdminStubSettings; diff --git a/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/gapic_metadata.json b/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/gapic_metadata.json similarity index 100% rename from owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/gapic_metadata.json rename to google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/gapic_metadata.json diff --git a/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/package-info.java b/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/package-info.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/package-info.java rename to google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/package-info.java diff --git a/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/GrpcInstanceAdminCallableFactory.java b/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/GrpcInstanceAdminCallableFactory.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/GrpcInstanceAdminCallableFactory.java rename to google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/GrpcInstanceAdminCallableFactory.java diff --git a/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/GrpcInstanceAdminStub.java b/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/GrpcInstanceAdminStub.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/GrpcInstanceAdminStub.java rename to google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/GrpcInstanceAdminStub.java index 1ec0df3bc99..aef9f8725c7 100644 --- a/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/GrpcInstanceAdminStub.java +++ b/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/GrpcInstanceAdminStub.java @@ -59,7 +59,6 @@ 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; diff --git a/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/HttpJsonInstanceAdminCallableFactory.java b/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/HttpJsonInstanceAdminCallableFactory.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/HttpJsonInstanceAdminCallableFactory.java rename to google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/HttpJsonInstanceAdminCallableFactory.java diff --git a/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/HttpJsonInstanceAdminStub.java b/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/HttpJsonInstanceAdminStub.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/HttpJsonInstanceAdminStub.java rename to google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/HttpJsonInstanceAdminStub.java index 4ea6fed1444..7266e61881f 100644 --- a/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/HttpJsonInstanceAdminStub.java +++ b/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/HttpJsonInstanceAdminStub.java @@ -33,7 +33,6 @@ import com.google.api.gax.httpjson.ProtoMessageResponseParser; import com.google.api.gax.httpjson.ProtoRestSerializer; import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; -import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.UnaryCallable; diff --git a/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/InstanceAdminStub.java b/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/InstanceAdminStub.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/InstanceAdminStub.java rename to google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/InstanceAdminStub.java diff --git a/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/InstanceAdminStubSettings.java b/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/InstanceAdminStubSettings.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/InstanceAdminStubSettings.java rename to google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/InstanceAdminStubSettings.java diff --git a/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/SpannerClient.java b/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/SpannerClient.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/SpannerClient.java rename to google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/SpannerClient.java diff --git a/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/SpannerSettings.java b/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/SpannerSettings.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/SpannerSettings.java rename to google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/SpannerSettings.java index 18fd2617b00..6cec68b9a21 100644 --- a/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/SpannerSettings.java +++ b/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/SpannerSettings.java @@ -29,7 +29,6 @@ import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; 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.cloud.spanner.v1.stub.SpannerStubSettings; diff --git a/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/gapic_metadata.json b/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/gapic_metadata.json similarity index 100% rename from owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/gapic_metadata.json rename to google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/gapic_metadata.json diff --git a/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/package-info.java b/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/package-info.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/package-info.java rename to google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/package-info.java diff --git a/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/GrpcSpannerCallableFactory.java b/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/GrpcSpannerCallableFactory.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/GrpcSpannerCallableFactory.java rename to google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/GrpcSpannerCallableFactory.java diff --git a/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/GrpcSpannerStub.java b/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/GrpcSpannerStub.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/GrpcSpannerStub.java rename to google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/GrpcSpannerStub.java index 7ef42dd3f51..0e99079a91f 100644 --- a/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/GrpcSpannerStub.java +++ b/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/GrpcSpannerStub.java @@ -53,7 +53,6 @@ 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; diff --git a/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/HttpJsonSpannerCallableFactory.java b/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/HttpJsonSpannerCallableFactory.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/HttpJsonSpannerCallableFactory.java rename to google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/HttpJsonSpannerCallableFactory.java diff --git a/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/HttpJsonSpannerStub.java b/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/HttpJsonSpannerStub.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/HttpJsonSpannerStub.java rename to google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/HttpJsonSpannerStub.java diff --git a/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/SpannerStub.java b/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/SpannerStub.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/SpannerStub.java rename to google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/SpannerStub.java diff --git a/owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/SpannerStubSettings.java b/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/SpannerStubSettings.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/SpannerStubSettings.java rename to google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/SpannerStubSettings.java diff --git a/owl-bot-staging/v1/grpc-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseAdminGrpc.java b/grpc-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseAdminGrpc.java similarity index 54% rename from owl-bot-staging/v1/grpc-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseAdminGrpc.java rename to grpc-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseAdminGrpc.java index 544b6f61ee1..224679c6014 100644 --- a/owl-bot-staging/v1/grpc-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseAdminGrpc.java +++ b/grpc-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseAdminGrpc.java @@ -1,8 +1,25 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.spanner.admin.database.v1; import static io.grpc.MethodDescriptor.generateFullMethodName; /** + * + * *
  * Cloud Spanner Database Admin API
  * The Cloud Spanner Database Admin API can be used to:
@@ -23,640 +40,906 @@ private DatabaseAdminGrpc() {}
   public static final String SERVICE_NAME = "google.spanner.admin.database.v1.DatabaseAdmin";
 
   // Static method descriptors that strictly reflect the proto.
-  private static volatile io.grpc.MethodDescriptor getListDatabasesMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.spanner.admin.database.v1.ListDatabasesRequest,
+          com.google.spanner.admin.database.v1.ListDatabasesResponse>
+      getListDatabasesMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListDatabases",
       requestType = com.google.spanner.admin.database.v1.ListDatabasesRequest.class,
       responseType = com.google.spanner.admin.database.v1.ListDatabasesResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getListDatabasesMethod() {
-    io.grpc.MethodDescriptor getListDatabasesMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.spanner.admin.database.v1.ListDatabasesRequest,
+          com.google.spanner.admin.database.v1.ListDatabasesResponse>
+      getListDatabasesMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.spanner.admin.database.v1.ListDatabasesRequest,
+            com.google.spanner.admin.database.v1.ListDatabasesResponse>
+        getListDatabasesMethod;
     if ((getListDatabasesMethod = DatabaseAdminGrpc.getListDatabasesMethod) == null) {
       synchronized (DatabaseAdminGrpc.class) {
         if ((getListDatabasesMethod = DatabaseAdminGrpc.getListDatabasesMethod) == null) {
-          DatabaseAdminGrpc.getListDatabasesMethod = getListDatabasesMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDatabases"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.spanner.admin.database.v1.ListDatabasesRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.spanner.admin.database.v1.ListDatabasesResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new DatabaseAdminMethodDescriptorSupplier("ListDatabases"))
-              .build();
+          DatabaseAdminGrpc.getListDatabasesMethod =
+              getListDatabasesMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDatabases"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.spanner.admin.database.v1.ListDatabasesRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.spanner.admin.database.v1.ListDatabasesResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new DatabaseAdminMethodDescriptorSupplier("ListDatabases"))
+                      .build();
         }
       }
     }
     return getListDatabasesMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getCreateDatabaseMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.spanner.admin.database.v1.CreateDatabaseRequest,
+          com.google.longrunning.Operation>
+      getCreateDatabaseMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateDatabase",
       requestType = com.google.spanner.admin.database.v1.CreateDatabaseRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getCreateDatabaseMethod() {
-    io.grpc.MethodDescriptor getCreateDatabaseMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.spanner.admin.database.v1.CreateDatabaseRequest,
+          com.google.longrunning.Operation>
+      getCreateDatabaseMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.spanner.admin.database.v1.CreateDatabaseRequest,
+            com.google.longrunning.Operation>
+        getCreateDatabaseMethod;
     if ((getCreateDatabaseMethod = DatabaseAdminGrpc.getCreateDatabaseMethod) == null) {
       synchronized (DatabaseAdminGrpc.class) {
         if ((getCreateDatabaseMethod = DatabaseAdminGrpc.getCreateDatabaseMethod) == null) {
-          DatabaseAdminGrpc.getCreateDatabaseMethod = getCreateDatabaseMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateDatabase"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.spanner.admin.database.v1.CreateDatabaseRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.longrunning.Operation.getDefaultInstance()))
-              .setSchemaDescriptor(new DatabaseAdminMethodDescriptorSupplier("CreateDatabase"))
-              .build();
+          DatabaseAdminGrpc.getCreateDatabaseMethod =
+              getCreateDatabaseMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateDatabase"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.spanner.admin.database.v1.CreateDatabaseRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.longrunning.Operation.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new DatabaseAdminMethodDescriptorSupplier("CreateDatabase"))
+                      .build();
         }
       }
     }
     return getCreateDatabaseMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getGetDatabaseMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.spanner.admin.database.v1.GetDatabaseRequest,
+          com.google.spanner.admin.database.v1.Database>
+      getGetDatabaseMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetDatabase",
       requestType = com.google.spanner.admin.database.v1.GetDatabaseRequest.class,
       responseType = com.google.spanner.admin.database.v1.Database.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getGetDatabaseMethod() {
-    io.grpc.MethodDescriptor getGetDatabaseMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.spanner.admin.database.v1.GetDatabaseRequest,
+          com.google.spanner.admin.database.v1.Database>
+      getGetDatabaseMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.spanner.admin.database.v1.GetDatabaseRequest,
+            com.google.spanner.admin.database.v1.Database>
+        getGetDatabaseMethod;
     if ((getGetDatabaseMethod = DatabaseAdminGrpc.getGetDatabaseMethod) == null) {
       synchronized (DatabaseAdminGrpc.class) {
         if ((getGetDatabaseMethod = DatabaseAdminGrpc.getGetDatabaseMethod) == null) {
-          DatabaseAdminGrpc.getGetDatabaseMethod = getGetDatabaseMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDatabase"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.spanner.admin.database.v1.GetDatabaseRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.spanner.admin.database.v1.Database.getDefaultInstance()))
-              .setSchemaDescriptor(new DatabaseAdminMethodDescriptorSupplier("GetDatabase"))
-              .build();
+          DatabaseAdminGrpc.getGetDatabaseMethod =
+              getGetDatabaseMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDatabase"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.spanner.admin.database.v1.GetDatabaseRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.spanner.admin.database.v1.Database.getDefaultInstance()))
+                      .setSchemaDescriptor(new DatabaseAdminMethodDescriptorSupplier("GetDatabase"))
+                      .build();
         }
       }
     }
     return getGetDatabaseMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getUpdateDatabaseDdlMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest,
+          com.google.longrunning.Operation>
+      getUpdateDatabaseDdlMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UpdateDatabaseDdl",
       requestType = com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getUpdateDatabaseDdlMethod() {
-    io.grpc.MethodDescriptor getUpdateDatabaseDdlMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest,
+          com.google.longrunning.Operation>
+      getUpdateDatabaseDdlMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest,
+            com.google.longrunning.Operation>
+        getUpdateDatabaseDdlMethod;
     if ((getUpdateDatabaseDdlMethod = DatabaseAdminGrpc.getUpdateDatabaseDdlMethod) == null) {
       synchronized (DatabaseAdminGrpc.class) {
         if ((getUpdateDatabaseDdlMethod = DatabaseAdminGrpc.getUpdateDatabaseDdlMethod) == null) {
-          DatabaseAdminGrpc.getUpdateDatabaseDdlMethod = getUpdateDatabaseDdlMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateDatabaseDdl"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.longrunning.Operation.getDefaultInstance()))
-              .setSchemaDescriptor(new DatabaseAdminMethodDescriptorSupplier("UpdateDatabaseDdl"))
-              .build();
+          DatabaseAdminGrpc.getUpdateDatabaseDdlMethod =
+              getUpdateDatabaseDdlMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateDatabaseDdl"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.longrunning.Operation.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new DatabaseAdminMethodDescriptorSupplier("UpdateDatabaseDdl"))
+                      .build();
         }
       }
     }
     return getUpdateDatabaseDdlMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getDropDatabaseMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.spanner.admin.database.v1.DropDatabaseRequest, com.google.protobuf.Empty>
+      getDropDatabaseMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DropDatabase",
       requestType = com.google.spanner.admin.database.v1.DropDatabaseRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getDropDatabaseMethod() {
-    io.grpc.MethodDescriptor getDropDatabaseMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.spanner.admin.database.v1.DropDatabaseRequest, com.google.protobuf.Empty>
+      getDropDatabaseMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.spanner.admin.database.v1.DropDatabaseRequest, com.google.protobuf.Empty>
+        getDropDatabaseMethod;
     if ((getDropDatabaseMethod = DatabaseAdminGrpc.getDropDatabaseMethod) == null) {
       synchronized (DatabaseAdminGrpc.class) {
         if ((getDropDatabaseMethod = DatabaseAdminGrpc.getDropDatabaseMethod) == null) {
-          DatabaseAdminGrpc.getDropDatabaseMethod = getDropDatabaseMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DropDatabase"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.spanner.admin.database.v1.DropDatabaseRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.protobuf.Empty.getDefaultInstance()))
-              .setSchemaDescriptor(new DatabaseAdminMethodDescriptorSupplier("DropDatabase"))
-              .build();
+          DatabaseAdminGrpc.getDropDatabaseMethod =
+              getDropDatabaseMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DropDatabase"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.spanner.admin.database.v1.DropDatabaseRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.protobuf.Empty.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new DatabaseAdminMethodDescriptorSupplier("DropDatabase"))
+                      .build();
         }
       }
     }
     return getDropDatabaseMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getGetDatabaseDdlMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.spanner.admin.database.v1.GetDatabaseDdlRequest,
+          com.google.spanner.admin.database.v1.GetDatabaseDdlResponse>
+      getGetDatabaseDdlMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetDatabaseDdl",
       requestType = com.google.spanner.admin.database.v1.GetDatabaseDdlRequest.class,
       responseType = com.google.spanner.admin.database.v1.GetDatabaseDdlResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getGetDatabaseDdlMethod() {
-    io.grpc.MethodDescriptor getGetDatabaseDdlMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.spanner.admin.database.v1.GetDatabaseDdlRequest,
+          com.google.spanner.admin.database.v1.GetDatabaseDdlResponse>
+      getGetDatabaseDdlMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.spanner.admin.database.v1.GetDatabaseDdlRequest,
+            com.google.spanner.admin.database.v1.GetDatabaseDdlResponse>
+        getGetDatabaseDdlMethod;
     if ((getGetDatabaseDdlMethod = DatabaseAdminGrpc.getGetDatabaseDdlMethod) == null) {
       synchronized (DatabaseAdminGrpc.class) {
         if ((getGetDatabaseDdlMethod = DatabaseAdminGrpc.getGetDatabaseDdlMethod) == null) {
-          DatabaseAdminGrpc.getGetDatabaseDdlMethod = getGetDatabaseDdlMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDatabaseDdl"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.spanner.admin.database.v1.GetDatabaseDdlRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.spanner.admin.database.v1.GetDatabaseDdlResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new DatabaseAdminMethodDescriptorSupplier("GetDatabaseDdl"))
-              .build();
+          DatabaseAdminGrpc.getGetDatabaseDdlMethod =
+              getGetDatabaseDdlMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDatabaseDdl"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.spanner.admin.database.v1.GetDatabaseDdlRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.spanner.admin.database.v1.GetDatabaseDdlResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new DatabaseAdminMethodDescriptorSupplier("GetDatabaseDdl"))
+                      .build();
         }
       }
     }
     return getGetDatabaseDdlMethod;
   }
 
-  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 = DatabaseAdminGrpc.getSetIamPolicyMethod) == null) {
       synchronized (DatabaseAdminGrpc.class) {
         if ((getSetIamPolicyMethod = DatabaseAdminGrpc.getSetIamPolicyMethod) == null) {
-          DatabaseAdminGrpc.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 DatabaseAdminMethodDescriptorSupplier("SetIamPolicy"))
-              .build();
+          DatabaseAdminGrpc.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 DatabaseAdminMethodDescriptorSupplier("SetIamPolicy"))
+                      .build();
         }
       }
     }
     return getSetIamPolicyMethod;
   }
 
-  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 = DatabaseAdminGrpc.getGetIamPolicyMethod) == null) {
       synchronized (DatabaseAdminGrpc.class) {
         if ((getGetIamPolicyMethod = DatabaseAdminGrpc.getGetIamPolicyMethod) == null) {
-          DatabaseAdminGrpc.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 DatabaseAdminMethodDescriptorSupplier("GetIamPolicy"))
-              .build();
+          DatabaseAdminGrpc.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 DatabaseAdminMethodDescriptorSupplier("GetIamPolicy"))
+                      .build();
         }
       }
     }
     return getGetIamPolicyMethod;
   }
 
-  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;
+  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 = DatabaseAdminGrpc.getTestIamPermissionsMethod) == null) {
       synchronized (DatabaseAdminGrpc.class) {
         if ((getTestIamPermissionsMethod = DatabaseAdminGrpc.getTestIamPermissionsMethod) == null) {
-          DatabaseAdminGrpc.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 DatabaseAdminMethodDescriptorSupplier("TestIamPermissions"))
-              .build();
+          DatabaseAdminGrpc.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 DatabaseAdminMethodDescriptorSupplier("TestIamPermissions"))
+                      .build();
         }
       }
     }
     return getTestIamPermissionsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getCreateBackupMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.spanner.admin.database.v1.CreateBackupRequest,
+          com.google.longrunning.Operation>
+      getCreateBackupMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateBackup",
       requestType = com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.CreateBackupRequest,
+          com.google.longrunning.Operation>
+      getCreateBackupMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.spanner.admin.database.v1.CreateBackupRequest,
+            com.google.longrunning.Operation>
+        getCreateBackupMethod;
     if ((getCreateBackupMethod = DatabaseAdminGrpc.getCreateBackupMethod) == null) {
       synchronized (DatabaseAdminGrpc.class) {
         if ((getCreateBackupMethod = DatabaseAdminGrpc.getCreateBackupMethod) == null) {
-          DatabaseAdminGrpc.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.spanner.admin.database.v1.CreateBackupRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.longrunning.Operation.getDefaultInstance()))
-              .setSchemaDescriptor(new DatabaseAdminMethodDescriptorSupplier("CreateBackup"))
-              .build();
+          DatabaseAdminGrpc.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.spanner.admin.database.v1.CreateBackupRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.longrunning.Operation.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new DatabaseAdminMethodDescriptorSupplier("CreateBackup"))
+                      .build();
         }
       }
     }
     return getCreateBackupMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getCopyBackupMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.spanner.admin.database.v1.CopyBackupRequest, com.google.longrunning.Operation>
+      getCopyBackupMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CopyBackup",
       requestType = com.google.spanner.admin.database.v1.CopyBackupRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getCopyBackupMethod() {
-    io.grpc.MethodDescriptor getCopyBackupMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.spanner.admin.database.v1.CopyBackupRequest, com.google.longrunning.Operation>
+      getCopyBackupMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.spanner.admin.database.v1.CopyBackupRequest,
+            com.google.longrunning.Operation>
+        getCopyBackupMethod;
     if ((getCopyBackupMethod = DatabaseAdminGrpc.getCopyBackupMethod) == null) {
       synchronized (DatabaseAdminGrpc.class) {
         if ((getCopyBackupMethod = DatabaseAdminGrpc.getCopyBackupMethod) == null) {
-          DatabaseAdminGrpc.getCopyBackupMethod = getCopyBackupMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CopyBackup"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.spanner.admin.database.v1.CopyBackupRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.longrunning.Operation.getDefaultInstance()))
-              .setSchemaDescriptor(new DatabaseAdminMethodDescriptorSupplier("CopyBackup"))
-              .build();
+          DatabaseAdminGrpc.getCopyBackupMethod =
+              getCopyBackupMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CopyBackup"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.spanner.admin.database.v1.CopyBackupRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.longrunning.Operation.getDefaultInstance()))
+                      .setSchemaDescriptor(new DatabaseAdminMethodDescriptorSupplier("CopyBackup"))
+                      .build();
         }
       }
     }
     return getCopyBackupMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getGetBackupMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.spanner.admin.database.v1.GetBackupRequest,
+          com.google.spanner.admin.database.v1.Backup>
+      getGetBackupMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetBackup",
       requestType = com.google.spanner.admin.database.v1.GetBackupRequest.class,
       responseType = com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.GetBackupRequest,
+          com.google.spanner.admin.database.v1.Backup>
+      getGetBackupMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.spanner.admin.database.v1.GetBackupRequest,
+            com.google.spanner.admin.database.v1.Backup>
+        getGetBackupMethod;
     if ((getGetBackupMethod = DatabaseAdminGrpc.getGetBackupMethod) == null) {
       synchronized (DatabaseAdminGrpc.class) {
         if ((getGetBackupMethod = DatabaseAdminGrpc.getGetBackupMethod) == null) {
-          DatabaseAdminGrpc.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.spanner.admin.database.v1.GetBackupRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.spanner.admin.database.v1.Backup.getDefaultInstance()))
-              .setSchemaDescriptor(new DatabaseAdminMethodDescriptorSupplier("GetBackup"))
-              .build();
+          DatabaseAdminGrpc.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.spanner.admin.database.v1.GetBackupRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.spanner.admin.database.v1.Backup.getDefaultInstance()))
+                      .setSchemaDescriptor(new DatabaseAdminMethodDescriptorSupplier("GetBackup"))
+                      .build();
         }
       }
     }
     return getGetBackupMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getUpdateBackupMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.spanner.admin.database.v1.UpdateBackupRequest,
+          com.google.spanner.admin.database.v1.Backup>
+      getUpdateBackupMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UpdateBackup",
       requestType = com.google.spanner.admin.database.v1.UpdateBackupRequest.class,
       responseType = com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.UpdateBackupRequest,
+          com.google.spanner.admin.database.v1.Backup>
+      getUpdateBackupMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.spanner.admin.database.v1.UpdateBackupRequest,
+            com.google.spanner.admin.database.v1.Backup>
+        getUpdateBackupMethod;
     if ((getUpdateBackupMethod = DatabaseAdminGrpc.getUpdateBackupMethod) == null) {
       synchronized (DatabaseAdminGrpc.class) {
         if ((getUpdateBackupMethod = DatabaseAdminGrpc.getUpdateBackupMethod) == null) {
-          DatabaseAdminGrpc.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.spanner.admin.database.v1.UpdateBackupRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.spanner.admin.database.v1.Backup.getDefaultInstance()))
-              .setSchemaDescriptor(new DatabaseAdminMethodDescriptorSupplier("UpdateBackup"))
-              .build();
+          DatabaseAdminGrpc.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.spanner.admin.database.v1.UpdateBackupRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.spanner.admin.database.v1.Backup.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new DatabaseAdminMethodDescriptorSupplier("UpdateBackup"))
+                      .build();
         }
       }
     }
     return getUpdateBackupMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getDeleteBackupMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.spanner.admin.database.v1.DeleteBackupRequest, com.google.protobuf.Empty>
+      getDeleteBackupMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteBackup",
       requestType = com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.DeleteBackupRequest, com.google.protobuf.Empty>
+      getDeleteBackupMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.spanner.admin.database.v1.DeleteBackupRequest, com.google.protobuf.Empty>
+        getDeleteBackupMethod;
     if ((getDeleteBackupMethod = DatabaseAdminGrpc.getDeleteBackupMethod) == null) {
       synchronized (DatabaseAdminGrpc.class) {
         if ((getDeleteBackupMethod = DatabaseAdminGrpc.getDeleteBackupMethod) == null) {
-          DatabaseAdminGrpc.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.spanner.admin.database.v1.DeleteBackupRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.protobuf.Empty.getDefaultInstance()))
-              .setSchemaDescriptor(new DatabaseAdminMethodDescriptorSupplier("DeleteBackup"))
-              .build();
+          DatabaseAdminGrpc.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.spanner.admin.database.v1.DeleteBackupRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.protobuf.Empty.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new DatabaseAdminMethodDescriptorSupplier("DeleteBackup"))
+                      .build();
         }
       }
     }
     return getDeleteBackupMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getListBackupsMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.spanner.admin.database.v1.ListBackupsRequest,
+          com.google.spanner.admin.database.v1.ListBackupsResponse>
+      getListBackupsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListBackups",
       requestType = com.google.spanner.admin.database.v1.ListBackupsRequest.class,
       responseType = com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.ListBackupsRequest,
+          com.google.spanner.admin.database.v1.ListBackupsResponse>
+      getListBackupsMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.spanner.admin.database.v1.ListBackupsRequest,
+            com.google.spanner.admin.database.v1.ListBackupsResponse>
+        getListBackupsMethod;
     if ((getListBackupsMethod = DatabaseAdminGrpc.getListBackupsMethod) == null) {
       synchronized (DatabaseAdminGrpc.class) {
         if ((getListBackupsMethod = DatabaseAdminGrpc.getListBackupsMethod) == null) {
-          DatabaseAdminGrpc.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.spanner.admin.database.v1.ListBackupsRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.spanner.admin.database.v1.ListBackupsResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new DatabaseAdminMethodDescriptorSupplier("ListBackups"))
-              .build();
+          DatabaseAdminGrpc.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.spanner.admin.database.v1.ListBackupsRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.spanner.admin.database.v1.ListBackupsResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(new DatabaseAdminMethodDescriptorSupplier("ListBackups"))
+                      .build();
         }
       }
     }
     return getListBackupsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getRestoreDatabaseMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.spanner.admin.database.v1.RestoreDatabaseRequest,
+          com.google.longrunning.Operation>
+      getRestoreDatabaseMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "RestoreDatabase",
       requestType = com.google.spanner.admin.database.v1.RestoreDatabaseRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getRestoreDatabaseMethod() {
-    io.grpc.MethodDescriptor getRestoreDatabaseMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.spanner.admin.database.v1.RestoreDatabaseRequest,
+          com.google.longrunning.Operation>
+      getRestoreDatabaseMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.spanner.admin.database.v1.RestoreDatabaseRequest,
+            com.google.longrunning.Operation>
+        getRestoreDatabaseMethod;
     if ((getRestoreDatabaseMethod = DatabaseAdminGrpc.getRestoreDatabaseMethod) == null) {
       synchronized (DatabaseAdminGrpc.class) {
         if ((getRestoreDatabaseMethod = DatabaseAdminGrpc.getRestoreDatabaseMethod) == null) {
-          DatabaseAdminGrpc.getRestoreDatabaseMethod = getRestoreDatabaseMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RestoreDatabase"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.spanner.admin.database.v1.RestoreDatabaseRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.longrunning.Operation.getDefaultInstance()))
-              .setSchemaDescriptor(new DatabaseAdminMethodDescriptorSupplier("RestoreDatabase"))
-              .build();
+          DatabaseAdminGrpc.getRestoreDatabaseMethod =
+              getRestoreDatabaseMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RestoreDatabase"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.spanner.admin.database.v1.RestoreDatabaseRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.longrunning.Operation.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new DatabaseAdminMethodDescriptorSupplier("RestoreDatabase"))
+                      .build();
         }
       }
     }
     return getRestoreDatabaseMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getListDatabaseOperationsMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest,
+          com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse>
+      getListDatabaseOperationsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListDatabaseOperations",
       requestType = com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest.class,
       responseType = com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getListDatabaseOperationsMethod() {
-    io.grpc.MethodDescriptor getListDatabaseOperationsMethod;
-    if ((getListDatabaseOperationsMethod = DatabaseAdminGrpc.getListDatabaseOperationsMethod) == null) {
+  public static io.grpc.MethodDescriptor<
+          com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest,
+          com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse>
+      getListDatabaseOperationsMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest,
+            com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse>
+        getListDatabaseOperationsMethod;
+    if ((getListDatabaseOperationsMethod = DatabaseAdminGrpc.getListDatabaseOperationsMethod)
+        == null) {
       synchronized (DatabaseAdminGrpc.class) {
-        if ((getListDatabaseOperationsMethod = DatabaseAdminGrpc.getListDatabaseOperationsMethod) == null) {
-          DatabaseAdminGrpc.getListDatabaseOperationsMethod = getListDatabaseOperationsMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDatabaseOperations"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new DatabaseAdminMethodDescriptorSupplier("ListDatabaseOperations"))
-              .build();
+        if ((getListDatabaseOperationsMethod = DatabaseAdminGrpc.getListDatabaseOperationsMethod)
+            == null) {
+          DatabaseAdminGrpc.getListDatabaseOperationsMethod =
+              getListDatabaseOperationsMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(
+                          generateFullMethodName(SERVICE_NAME, "ListDatabaseOperations"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new DatabaseAdminMethodDescriptorSupplier("ListDatabaseOperations"))
+                      .build();
         }
       }
     }
     return getListDatabaseOperationsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getListBackupOperationsMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.spanner.admin.database.v1.ListBackupOperationsRequest,
+          com.google.spanner.admin.database.v1.ListBackupOperationsResponse>
+      getListBackupOperationsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListBackupOperations",
       requestType = com.google.spanner.admin.database.v1.ListBackupOperationsRequest.class,
       responseType = com.google.spanner.admin.database.v1.ListBackupOperationsResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getListBackupOperationsMethod() {
-    io.grpc.MethodDescriptor getListBackupOperationsMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.spanner.admin.database.v1.ListBackupOperationsRequest,
+          com.google.spanner.admin.database.v1.ListBackupOperationsResponse>
+      getListBackupOperationsMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.spanner.admin.database.v1.ListBackupOperationsRequest,
+            com.google.spanner.admin.database.v1.ListBackupOperationsResponse>
+        getListBackupOperationsMethod;
     if ((getListBackupOperationsMethod = DatabaseAdminGrpc.getListBackupOperationsMethod) == null) {
       synchronized (DatabaseAdminGrpc.class) {
-        if ((getListBackupOperationsMethod = DatabaseAdminGrpc.getListBackupOperationsMethod) == null) {
-          DatabaseAdminGrpc.getListBackupOperationsMethod = getListBackupOperationsMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListBackupOperations"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.spanner.admin.database.v1.ListBackupOperationsRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.spanner.admin.database.v1.ListBackupOperationsResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new DatabaseAdminMethodDescriptorSupplier("ListBackupOperations"))
-              .build();
+        if ((getListBackupOperationsMethod = DatabaseAdminGrpc.getListBackupOperationsMethod)
+            == null) {
+          DatabaseAdminGrpc.getListBackupOperationsMethod =
+              getListBackupOperationsMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(
+                          generateFullMethodName(SERVICE_NAME, "ListBackupOperations"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.spanner.admin.database.v1.ListBackupOperationsRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.spanner.admin.database.v1.ListBackupOperationsResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new DatabaseAdminMethodDescriptorSupplier("ListBackupOperations"))
+                      .build();
         }
       }
     }
     return getListBackupOperationsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getListDatabaseRolesMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.spanner.admin.database.v1.ListDatabaseRolesRequest,
+          com.google.spanner.admin.database.v1.ListDatabaseRolesResponse>
+      getListDatabaseRolesMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListDatabaseRoles",
       requestType = com.google.spanner.admin.database.v1.ListDatabaseRolesRequest.class,
       responseType = com.google.spanner.admin.database.v1.ListDatabaseRolesResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getListDatabaseRolesMethod() {
-    io.grpc.MethodDescriptor getListDatabaseRolesMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.spanner.admin.database.v1.ListDatabaseRolesRequest,
+          com.google.spanner.admin.database.v1.ListDatabaseRolesResponse>
+      getListDatabaseRolesMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.spanner.admin.database.v1.ListDatabaseRolesRequest,
+            com.google.spanner.admin.database.v1.ListDatabaseRolesResponse>
+        getListDatabaseRolesMethod;
     if ((getListDatabaseRolesMethod = DatabaseAdminGrpc.getListDatabaseRolesMethod) == null) {
       synchronized (DatabaseAdminGrpc.class) {
         if ((getListDatabaseRolesMethod = DatabaseAdminGrpc.getListDatabaseRolesMethod) == null) {
-          DatabaseAdminGrpc.getListDatabaseRolesMethod = getListDatabaseRolesMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDatabaseRoles"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.spanner.admin.database.v1.ListDatabaseRolesRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.spanner.admin.database.v1.ListDatabaseRolesResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new DatabaseAdminMethodDescriptorSupplier("ListDatabaseRoles"))
-              .build();
+          DatabaseAdminGrpc.getListDatabaseRolesMethod =
+              getListDatabaseRolesMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDatabaseRoles"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.spanner.admin.database.v1.ListDatabaseRolesRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.spanner.admin.database.v1.ListDatabaseRolesResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new DatabaseAdminMethodDescriptorSupplier("ListDatabaseRoles"))
+                      .build();
         }
       }
     }
     return getListDatabaseRolesMethod;
   }
 
-  /**
-   * 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 DatabaseAdminStub newStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public DatabaseAdminStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new DatabaseAdminStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public DatabaseAdminStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new DatabaseAdminStub(channel, callOptions);
+          }
+        };
     return DatabaseAdminStub.newStub(factory, channel);
   }
 
   /**
    * Creates a new blocking-style stub that supports unary and streaming output calls on the service
    */
-  public static DatabaseAdminBlockingStub newBlockingStub(
-      io.grpc.Channel channel) {
+  public static DatabaseAdminBlockingStub newBlockingStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public DatabaseAdminBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new DatabaseAdminBlockingStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public DatabaseAdminBlockingStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new DatabaseAdminBlockingStub(channel, callOptions);
+          }
+        };
     return DatabaseAdminBlockingStub.newStub(factory, channel);
   }
 
-  /**
-   * Creates a new ListenableFuture-style stub that supports unary calls on the service
-   */
-  public static DatabaseAdminFutureStub newFutureStub(
-      io.grpc.Channel channel) {
+  /** Creates a new ListenableFuture-style stub that supports unary calls on the service */
+  public static DatabaseAdminFutureStub newFutureStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public DatabaseAdminFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new DatabaseAdminFutureStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public DatabaseAdminFutureStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new DatabaseAdminFutureStub(channel, callOptions);
+          }
+        };
     return DatabaseAdminFutureStub.newStub(factory, channel);
   }
 
   /**
+   *
+   *
    * 
    * Cloud Spanner Database Admin API
    * The Cloud Spanner Database Admin API can be used to:
@@ -669,16 +952,23 @@ public DatabaseAdminFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOpti
   public interface AsyncService {
 
     /**
+     *
+     *
      * 
      * Lists Cloud Spanner databases.
      * 
*/ - default void listDatabases(com.google.spanner.admin.database.v1.ListDatabasesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListDatabasesMethod(), responseObserver); + default void listDatabases( + com.google.spanner.admin.database.v1.ListDatabasesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListDatabasesMethod(), responseObserver); } /** + * + * *
      * Creates a new Cloud Spanner database and starts to prepare it for serving.
      * The returned [long-running operation][google.longrunning.Operation] will
@@ -690,22 +980,31 @@ default void listDatabases(com.google.spanner.admin.database.v1.ListDatabasesReq
      * [Database][google.spanner.admin.database.v1.Database], if successful.
      * 
*/ - default void createDatabase(com.google.spanner.admin.database.v1.CreateDatabaseRequest request, + default void createDatabase( + com.google.spanner.admin.database.v1.CreateDatabaseRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateDatabaseMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateDatabaseMethod(), responseObserver); } /** + * + * *
      * Gets the state of a Cloud Spanner database.
      * 
*/ - default void getDatabase(com.google.spanner.admin.database.v1.GetDatabaseRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDatabaseMethod(), responseObserver); + default void getDatabase( + com.google.spanner.admin.database.v1.GetDatabaseRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetDatabaseMethod(), responseObserver); } /** + * + * *
      * Updates the schema of a Cloud Spanner database by
      * creating/altering/dropping tables, columns, indexes, etc. The returned
@@ -716,12 +1015,16 @@ default void getDatabase(com.google.spanner.admin.database.v1.GetDatabaseRequest
      * [UpdateDatabaseDdlMetadata][google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata].  The operation has no response.
      * 
*/ - default void updateDatabaseDdl(com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest request, + default void updateDatabaseDdl( + com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateDatabaseDdlMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateDatabaseDdlMethod(), responseObserver); } /** + * + * *
      * Drops (aka deletes) a Cloud Spanner database.
      * Completed backups for the database will be retained according to their
@@ -730,24 +1033,33 @@ default void updateDatabaseDdl(com.google.spanner.admin.database.v1.UpdateDataba
      * after the database has been deleted.
      * 
*/ - default void dropDatabase(com.google.spanner.admin.database.v1.DropDatabaseRequest request, + default void dropDatabase( + com.google.spanner.admin.database.v1.DropDatabaseRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDropDatabaseMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDropDatabaseMethod(), responseObserver); } /** + * + * *
      * Returns the schema of a Cloud Spanner database as a list of formatted
      * DDL statements. This method does not show pending schema updates, those may
      * be queried using the [Operations][google.longrunning.Operations] API.
      * 
*/ - default void getDatabaseDdl(com.google.spanner.admin.database.v1.GetDatabaseDdlRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDatabaseDdlMethod(), responseObserver); + default void getDatabaseDdl( + com.google.spanner.admin.database.v1.GetDatabaseDdlRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetDatabaseDdlMethod(), responseObserver); } /** + * + * *
      * Sets the access control policy on a database or backup resource.
      * Replaces any existing policy.
@@ -757,12 +1069,16 @@ default void getDatabaseDdl(com.google.spanner.admin.database.v1.GetDatabaseDdlR
      * permission on [resource][google.iam.v1.SetIamPolicyRequest.resource].
      * 
*/ - 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); } /** + * + * *
      * Gets the access control policy for a database or backup resource.
      * Returns an empty policy if a database or backup exists but does not have a
@@ -773,12 +1089,16 @@ default void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request,
      * permission on [resource][google.iam.v1.GetIamPolicyRequest.resource].
      * 
*/ - 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); } /** + * + * *
      * Returns permissions that the caller has on the specified database or backup
      * resource.
@@ -791,12 +1111,17 @@ default void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request,
      * `spanner.backups.list` permission on the containing instance.
      * 
*/ - 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); } /** + * + * *
      * Starts creating a new Cloud Spanner Backup.
      * The returned backup [long-running operation][google.longrunning.Operation]
@@ -812,12 +1137,16 @@ default void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest requ
      * of different databases can run concurrently.
      * 
*/ - default void createBackup(com.google.spanner.admin.database.v1.CreateBackupRequest request, + default void createBackup( + com.google.spanner.admin.database.v1.CreateBackupRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateBackupMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateBackupMethod(), responseObserver); } /** + * + * *
      * Starts copying a Cloud Spanner Backup.
      * The returned backup [long-running operation][google.longrunning.Operation]
@@ -833,54 +1162,73 @@ default void createBackup(com.google.spanner.admin.database.v1.CreateBackupReque
      * Concurrent CopyBackup requests can run on the same source backup.
      * 
*/ - default void copyBackup(com.google.spanner.admin.database.v1.CopyBackupRequest request, + default void copyBackup( + com.google.spanner.admin.database.v1.CopyBackupRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCopyBackupMethod(), responseObserver); } /** + * + * *
      * Gets metadata on a pending or completed [Backup][google.spanner.admin.database.v1.Backup].
      * 
*/ - default void getBackup(com.google.spanner.admin.database.v1.GetBackupRequest request, + default void getBackup( + com.google.spanner.admin.database.v1.GetBackupRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetBackupMethod(), responseObserver); } /** + * + * *
      * Updates a pending or completed [Backup][google.spanner.admin.database.v1.Backup].
      * 
*/ - default void updateBackup(com.google.spanner.admin.database.v1.UpdateBackupRequest request, + default void updateBackup( + com.google.spanner.admin.database.v1.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 [Backup][google.spanner.admin.database.v1.Backup].
      * 
*/ - default void deleteBackup(com.google.spanner.admin.database.v1.DeleteBackupRequest request, + default void deleteBackup( + com.google.spanner.admin.database.v1.DeleteBackupRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteBackupMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteBackupMethod(), responseObserver); } /** + * + * *
      * Lists completed and pending backups.
      * Backups returned are ordered by `create_time` in descending order,
      * starting from the most recent `create_time`.
      * 
*/ - default void listBackups(com.google.spanner.admin.database.v1.ListBackupsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListBackupsMethod(), responseObserver); + default void listBackups( + com.google.spanner.admin.database.v1.ListBackupsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListBackupsMethod(), responseObserver); } /** + * + * *
      * Create a new database by restoring from a completed backup. The new
      * database must be in the same project and in an instance with the same
@@ -901,12 +1249,16 @@ default void listBackups(com.google.spanner.admin.database.v1.ListBackupsRequest
      * first restore to complete.
      * 
*/ - default void restoreDatabase(com.google.spanner.admin.database.v1.RestoreDatabaseRequest request, + default void restoreDatabase( + com.google.spanner.admin.database.v1.RestoreDatabaseRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRestoreDatabaseMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getRestoreDatabaseMethod(), responseObserver); } /** + * + * *
      * Lists database [longrunning-operations][google.longrunning.Operation].
      * A database operation has a name of the form
@@ -918,12 +1270,18 @@ default void restoreDatabase(com.google.spanner.admin.database.v1.RestoreDatabas
      * and pending operations.
      * 
*/ - default void listDatabaseOperations(com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListDatabaseOperationsMethod(), responseObserver); + default void listDatabaseOperations( + com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest request, + io.grpc.stub.StreamObserver< + com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListDatabaseOperationsMethod(), responseObserver); } /** + * + * *
      * Lists the backup [long-running operations][google.longrunning.Operation] in
      * the given instance. A backup operation has a name of the form
@@ -937,24 +1295,34 @@ default void listDatabaseOperations(com.google.spanner.admin.database.v1.ListDat
      * from the most recently started operation.
      * 
*/ - default void listBackupOperations(com.google.spanner.admin.database.v1.ListBackupOperationsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListBackupOperationsMethod(), responseObserver); + default void listBackupOperations( + com.google.spanner.admin.database.v1.ListBackupOperationsRequest request, + io.grpc.stub.StreamObserver< + com.google.spanner.admin.database.v1.ListBackupOperationsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListBackupOperationsMethod(), responseObserver); } /** + * + * *
      * Lists Cloud Spanner database roles.
      * 
*/ - default void listDatabaseRoles(com.google.spanner.admin.database.v1.ListDatabaseRolesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListDatabaseRolesMethod(), responseObserver); + default void listDatabaseRoles( + com.google.spanner.admin.database.v1.ListDatabaseRolesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListDatabaseRolesMethod(), responseObserver); } } /** * Base class for the server implementation of the service DatabaseAdmin. + * *
    * Cloud Spanner Database Admin API
    * The Cloud Spanner Database Admin API can be used to:
@@ -964,16 +1332,18 @@ default void listDatabaseRoles(com.google.spanner.admin.database.v1.ListDatabase
    *   * restore a database from an existing backup
    * 
*/ - public static abstract class DatabaseAdminImplBase + public abstract static class DatabaseAdminImplBase implements io.grpc.BindableService, AsyncService { - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { return DatabaseAdminGrpc.bindService(this); } } /** * A stub to allow clients to do asynchronous rpc calls to service DatabaseAdmin. + * *
    * Cloud Spanner Database Admin API
    * The Cloud Spanner Database Admin API can be used to:
@@ -985,29 +1355,35 @@ public static abstract class DatabaseAdminImplBase
    */
   public static final class DatabaseAdminStub
       extends io.grpc.stub.AbstractAsyncStub {
-    private DatabaseAdminStub(
-        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    private DatabaseAdminStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       super(channel, callOptions);
     }
 
     @java.lang.Override
-    protected DatabaseAdminStub build(
-        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    protected DatabaseAdminStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       return new DatabaseAdminStub(channel, callOptions);
     }
 
     /**
+     *
+     *
      * 
      * Lists Cloud Spanner databases.
      * 
*/ - public void listDatabases(com.google.spanner.admin.database.v1.ListDatabasesRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listDatabases( + com.google.spanner.admin.database.v1.ListDatabasesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListDatabasesMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getListDatabasesMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Creates a new Cloud Spanner database and starts to prepare it for serving.
      * The returned [long-running operation][google.longrunning.Operation] will
@@ -1019,24 +1395,35 @@ public void listDatabases(com.google.spanner.admin.database.v1.ListDatabasesRequ
      * [Database][google.spanner.admin.database.v1.Database], if successful.
      * 
*/ - public void createDatabase(com.google.spanner.admin.database.v1.CreateDatabaseRequest request, + public void createDatabase( + com.google.spanner.admin.database.v1.CreateDatabaseRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateDatabaseMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getCreateDatabaseMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Gets the state of a Cloud Spanner database.
      * 
*/ - public void getDatabase(com.google.spanner.admin.database.v1.GetDatabaseRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void getDatabase( + com.google.spanner.admin.database.v1.GetDatabaseRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetDatabaseMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getGetDatabaseMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Updates the schema of a Cloud Spanner database by
      * creating/altering/dropping tables, columns, indexes, etc. The returned
@@ -1047,13 +1434,18 @@ public void getDatabase(com.google.spanner.admin.database.v1.GetDatabaseRequest
      * [UpdateDatabaseDdlMetadata][google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata].  The operation has no response.
      * 
*/ - public void updateDatabaseDdl(com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest request, + public void updateDatabaseDdl( + com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateDatabaseDdlMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getUpdateDatabaseDdlMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Drops (aka deletes) a Cloud Spanner database.
      * Completed backups for the database will be retained according to their
@@ -1062,26 +1454,37 @@ public void updateDatabaseDdl(com.google.spanner.admin.database.v1.UpdateDatabas
      * after the database has been deleted.
      * 
*/ - public void dropDatabase(com.google.spanner.admin.database.v1.DropDatabaseRequest request, + public void dropDatabase( + com.google.spanner.admin.database.v1.DropDatabaseRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDropDatabaseMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getDropDatabaseMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Returns the schema of a Cloud Spanner database as a list of formatted
      * DDL statements. This method does not show pending schema updates, those may
      * be queried using the [Operations][google.longrunning.Operations] API.
      * 
*/ - public void getDatabaseDdl(com.google.spanner.admin.database.v1.GetDatabaseDdlRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void getDatabaseDdl( + com.google.spanner.admin.database.v1.GetDatabaseDdlRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetDatabaseDdlMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getGetDatabaseDdlMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Sets the access control policy on a database or backup resource.
      * Replaces any existing policy.
@@ -1091,13 +1494,18 @@ public void getDatabaseDdl(com.google.spanner.admin.database.v1.GetDatabaseDdlRe
      * permission on [resource][google.iam.v1.SetIamPolicyRequest.resource].
      * 
*/ - 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); } /** + * + * *
      * Gets the access control policy for a database or backup resource.
      * Returns an empty policy if a database or backup exists but does not have a
@@ -1108,13 +1516,18 @@ public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request,
      * permission on [resource][google.iam.v1.GetIamPolicyRequest.resource].
      * 
*/ - 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); } /** + * + * *
      * Returns permissions that the caller has on the specified database or backup
      * resource.
@@ -1127,13 +1540,19 @@ public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request,
      * `spanner.backups.list` permission on the containing instance.
      * 
*/ - 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); } /** + * + * *
      * Starts creating a new Cloud Spanner Backup.
      * The returned backup [long-running operation][google.longrunning.Operation]
@@ -1149,13 +1568,18 @@ public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest reque
      * of different databases can run concurrently.
      * 
*/ - public void createBackup(com.google.spanner.admin.database.v1.CreateBackupRequest request, + public void createBackup( + com.google.spanner.admin.database.v1.CreateBackupRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateBackupMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getCreateBackupMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Starts copying a Cloud Spanner Backup.
      * The returned backup [long-running operation][google.longrunning.Operation]
@@ -1171,59 +1595,81 @@ public void createBackup(com.google.spanner.admin.database.v1.CreateBackupReques
      * Concurrent CopyBackup requests can run on the same source backup.
      * 
*/ - public void copyBackup(com.google.spanner.admin.database.v1.CopyBackupRequest request, + public void copyBackup( + com.google.spanner.admin.database.v1.CopyBackupRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCopyBackupMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Gets metadata on a pending or completed [Backup][google.spanner.admin.database.v1.Backup].
      * 
*/ - public void getBackup(com.google.spanner.admin.database.v1.GetBackupRequest request, + public void getBackup( + com.google.spanner.admin.database.v1.GetBackupRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetBackupMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Updates a pending or completed [Backup][google.spanner.admin.database.v1.Backup].
      * 
*/ - public void updateBackup(com.google.spanner.admin.database.v1.UpdateBackupRequest request, + public void updateBackup( + com.google.spanner.admin.database.v1.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 [Backup][google.spanner.admin.database.v1.Backup].
      * 
*/ - public void deleteBackup(com.google.spanner.admin.database.v1.DeleteBackupRequest request, + public void deleteBackup( + com.google.spanner.admin.database.v1.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 completed and pending backups.
      * Backups returned are ordered by `create_time` in descending order,
      * starting from the most recent `create_time`.
      * 
*/ - public void listBackups(com.google.spanner.admin.database.v1.ListBackupsRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listBackups( + com.google.spanner.admin.database.v1.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 database by restoring from a completed backup. The new
      * database must be in the same project and in an instance with the same
@@ -1244,13 +1690,18 @@ public void listBackups(com.google.spanner.admin.database.v1.ListBackupsRequest
      * first restore to complete.
      * 
*/ - public void restoreDatabase(com.google.spanner.admin.database.v1.RestoreDatabaseRequest request, + public void restoreDatabase( + com.google.spanner.admin.database.v1.RestoreDatabaseRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRestoreDatabaseMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getRestoreDatabaseMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Lists database [longrunning-operations][google.longrunning.Operation].
      * A database operation has a name of the form
@@ -1262,13 +1713,20 @@ public void restoreDatabase(com.google.spanner.admin.database.v1.RestoreDatabase
      * and pending operations.
      * 
*/ - public void listDatabaseOperations(com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listDatabaseOperations( + com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest request, + io.grpc.stub.StreamObserver< + com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse> + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListDatabaseOperationsMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getListDatabaseOperationsMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Lists the backup [long-running operations][google.longrunning.Operation] in
      * the given instance. A backup operation has a name of the form
@@ -1282,26 +1740,38 @@ public void listDatabaseOperations(com.google.spanner.admin.database.v1.ListData
      * from the most recently started operation.
      * 
*/ - public void listBackupOperations(com.google.spanner.admin.database.v1.ListBackupOperationsRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listBackupOperations( + com.google.spanner.admin.database.v1.ListBackupOperationsRequest request, + io.grpc.stub.StreamObserver< + com.google.spanner.admin.database.v1.ListBackupOperationsResponse> + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListBackupOperationsMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getListBackupOperationsMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Lists Cloud Spanner database roles.
      * 
*/ - public void listDatabaseRoles(com.google.spanner.admin.database.v1.ListDatabaseRolesRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listDatabaseRoles( + com.google.spanner.admin.database.v1.ListDatabaseRolesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListDatabaseRolesMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getListDatabaseRolesMethod(), getCallOptions()), + request, + responseObserver); } } /** * A stub to allow clients to do synchronous rpc calls to service DatabaseAdmin. + * *
    * Cloud Spanner Database Admin API
    * The Cloud Spanner Database Admin API can be used to:
@@ -1313,8 +1783,7 @@ public void listDatabaseRoles(com.google.spanner.admin.database.v1.ListDatabaseR
    */
   public static final class DatabaseAdminBlockingStub
       extends io.grpc.stub.AbstractBlockingStub {
-    private DatabaseAdminBlockingStub(
-        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    private DatabaseAdminBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       super(channel, callOptions);
     }
 
@@ -1325,16 +1794,21 @@ protected DatabaseAdminBlockingStub build(
     }
 
     /**
+     *
+     *
      * 
      * Lists Cloud Spanner databases.
      * 
*/ - public com.google.spanner.admin.database.v1.ListDatabasesResponse listDatabases(com.google.spanner.admin.database.v1.ListDatabasesRequest request) { + public com.google.spanner.admin.database.v1.ListDatabasesResponse listDatabases( + com.google.spanner.admin.database.v1.ListDatabasesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListDatabasesMethod(), getCallOptions(), request); } /** + * + * *
      * Creates a new Cloud Spanner database and starts to prepare it for serving.
      * The returned [long-running operation][google.longrunning.Operation] will
@@ -1346,22 +1820,28 @@ public com.google.spanner.admin.database.v1.ListDatabasesResponse listDatabases(
      * [Database][google.spanner.admin.database.v1.Database], if successful.
      * 
*/ - public com.google.longrunning.Operation createDatabase(com.google.spanner.admin.database.v1.CreateDatabaseRequest request) { + public com.google.longrunning.Operation createDatabase( + com.google.spanner.admin.database.v1.CreateDatabaseRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateDatabaseMethod(), getCallOptions(), request); } /** + * + * *
      * Gets the state of a Cloud Spanner database.
      * 
*/ - public com.google.spanner.admin.database.v1.Database getDatabase(com.google.spanner.admin.database.v1.GetDatabaseRequest request) { + public com.google.spanner.admin.database.v1.Database getDatabase( + com.google.spanner.admin.database.v1.GetDatabaseRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetDatabaseMethod(), getCallOptions(), request); } /** + * + * *
      * Updates the schema of a Cloud Spanner database by
      * creating/altering/dropping tables, columns, indexes, etc. The returned
@@ -1372,12 +1852,15 @@ public com.google.spanner.admin.database.v1.Database getDatabase(com.google.span
      * [UpdateDatabaseDdlMetadata][google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata].  The operation has no response.
      * 
*/ - public com.google.longrunning.Operation updateDatabaseDdl(com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest request) { + public com.google.longrunning.Operation updateDatabaseDdl( + com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateDatabaseDdlMethod(), getCallOptions(), request); } /** + * + * *
      * Drops (aka deletes) a Cloud Spanner database.
      * Completed backups for the database will be retained according to their
@@ -1386,24 +1869,30 @@ public com.google.longrunning.Operation updateDatabaseDdl(com.google.spanner.adm
      * after the database has been deleted.
      * 
*/ - public com.google.protobuf.Empty dropDatabase(com.google.spanner.admin.database.v1.DropDatabaseRequest request) { + public com.google.protobuf.Empty dropDatabase( + com.google.spanner.admin.database.v1.DropDatabaseRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDropDatabaseMethod(), getCallOptions(), request); } /** + * + * *
      * Returns the schema of a Cloud Spanner database as a list of formatted
      * DDL statements. This method does not show pending schema updates, those may
      * be queried using the [Operations][google.longrunning.Operations] API.
      * 
*/ - public com.google.spanner.admin.database.v1.GetDatabaseDdlResponse getDatabaseDdl(com.google.spanner.admin.database.v1.GetDatabaseDdlRequest request) { + public com.google.spanner.admin.database.v1.GetDatabaseDdlResponse getDatabaseDdl( + com.google.spanner.admin.database.v1.GetDatabaseDdlRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetDatabaseDdlMethod(), getCallOptions(), request); } /** + * + * *
      * Sets the access control policy on a database or backup resource.
      * Replaces any existing policy.
@@ -1419,6 +1908,8 @@ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyReque
     }
 
     /**
+     *
+     *
      * 
      * Gets the access control policy for a database or backup resource.
      * Returns an empty policy if a database or backup exists but does not have a
@@ -1435,6 +1926,8 @@ public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyReque
     }
 
     /**
+     *
+     *
      * 
      * Returns permissions that the caller has on the specified database or backup
      * resource.
@@ -1447,12 +1940,15 @@ public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyReque
      * `spanner.backups.list` permission on the containing instance.
      * 
*/ - 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); } /** + * + * *
      * Starts creating a new Cloud Spanner Backup.
      * The returned backup [long-running operation][google.longrunning.Operation]
@@ -1468,12 +1964,15 @@ public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.googl
      * of different databases can run concurrently.
      * 
*/ - public com.google.longrunning.Operation createBackup(com.google.spanner.admin.database.v1.CreateBackupRequest request) { + public com.google.longrunning.Operation createBackup( + com.google.spanner.admin.database.v1.CreateBackupRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateBackupMethod(), getCallOptions(), request); } /** + * + * *
      * Starts copying a Cloud Spanner Backup.
      * The returned backup [long-running operation][google.longrunning.Operation]
@@ -1489,54 +1988,69 @@ public com.google.longrunning.Operation createBackup(com.google.spanner.admin.da
      * Concurrent CopyBackup requests can run on the same source backup.
      * 
*/ - public com.google.longrunning.Operation copyBackup(com.google.spanner.admin.database.v1.CopyBackupRequest request) { + public com.google.longrunning.Operation copyBackup( + com.google.spanner.admin.database.v1.CopyBackupRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCopyBackupMethod(), getCallOptions(), request); } /** + * + * *
      * Gets metadata on a pending or completed [Backup][google.spanner.admin.database.v1.Backup].
      * 
*/ - public com.google.spanner.admin.database.v1.Backup getBackup(com.google.spanner.admin.database.v1.GetBackupRequest request) { + public com.google.spanner.admin.database.v1.Backup getBackup( + com.google.spanner.admin.database.v1.GetBackupRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetBackupMethod(), getCallOptions(), request); } /** + * + * *
      * Updates a pending or completed [Backup][google.spanner.admin.database.v1.Backup].
      * 
*/ - public com.google.spanner.admin.database.v1.Backup updateBackup(com.google.spanner.admin.database.v1.UpdateBackupRequest request) { + public com.google.spanner.admin.database.v1.Backup updateBackup( + com.google.spanner.admin.database.v1.UpdateBackupRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateBackupMethod(), getCallOptions(), request); } /** + * + * *
      * Deletes a pending or completed [Backup][google.spanner.admin.database.v1.Backup].
      * 
*/ - public com.google.protobuf.Empty deleteBackup(com.google.spanner.admin.database.v1.DeleteBackupRequest request) { + public com.google.protobuf.Empty deleteBackup( + com.google.spanner.admin.database.v1.DeleteBackupRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteBackupMethod(), getCallOptions(), request); } /** + * + * *
      * Lists completed and pending backups.
      * Backups returned are ordered by `create_time` in descending order,
      * starting from the most recent `create_time`.
      * 
*/ - public com.google.spanner.admin.database.v1.ListBackupsResponse listBackups(com.google.spanner.admin.database.v1.ListBackupsRequest request) { + public com.google.spanner.admin.database.v1.ListBackupsResponse listBackups( + com.google.spanner.admin.database.v1.ListBackupsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListBackupsMethod(), getCallOptions(), request); } /** + * + * *
      * Create a new database by restoring from a completed backup. The new
      * database must be in the same project and in an instance with the same
@@ -1557,12 +2071,15 @@ public com.google.spanner.admin.database.v1.ListBackupsResponse listBackups(com.
      * first restore to complete.
      * 
*/ - public com.google.longrunning.Operation restoreDatabase(com.google.spanner.admin.database.v1.RestoreDatabaseRequest request) { + public com.google.longrunning.Operation restoreDatabase( + com.google.spanner.admin.database.v1.RestoreDatabaseRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getRestoreDatabaseMethod(), getCallOptions(), request); } /** + * + * *
      * Lists database [longrunning-operations][google.longrunning.Operation].
      * A database operation has a name of the form
@@ -1574,12 +2091,16 @@ public com.google.longrunning.Operation restoreDatabase(com.google.spanner.admin
      * and pending operations.
      * 
*/ - public com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse listDatabaseOperations(com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest request) { + public com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse + listDatabaseOperations( + com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListDatabaseOperationsMethod(), getCallOptions(), request); } /** + * + * *
      * Lists the backup [long-running operations][google.longrunning.Operation] in
      * the given instance. A backup operation has a name of the form
@@ -1593,17 +2114,21 @@ public com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse listD
      * from the most recently started operation.
      * 
*/ - public com.google.spanner.admin.database.v1.ListBackupOperationsResponse listBackupOperations(com.google.spanner.admin.database.v1.ListBackupOperationsRequest request) { + public com.google.spanner.admin.database.v1.ListBackupOperationsResponse listBackupOperations( + com.google.spanner.admin.database.v1.ListBackupOperationsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListBackupOperationsMethod(), getCallOptions(), request); } /** + * + * *
      * Lists Cloud Spanner database roles.
      * 
*/ - public com.google.spanner.admin.database.v1.ListDatabaseRolesResponse listDatabaseRoles(com.google.spanner.admin.database.v1.ListDatabaseRolesRequest request) { + public com.google.spanner.admin.database.v1.ListDatabaseRolesResponse listDatabaseRoles( + com.google.spanner.admin.database.v1.ListDatabaseRolesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListDatabaseRolesMethod(), getCallOptions(), request); } @@ -1611,6 +2136,7 @@ public com.google.spanner.admin.database.v1.ListDatabaseRolesResponse listDataba /** * A stub to allow clients to do ListenableFuture-style rpc calls to service DatabaseAdmin. + * *
    * Cloud Spanner Database Admin API
    * The Cloud Spanner Database Admin API can be used to:
@@ -1622,8 +2148,7 @@ public com.google.spanner.admin.database.v1.ListDatabaseRolesResponse listDataba
    */
   public static final class DatabaseAdminFutureStub
       extends io.grpc.stub.AbstractFutureStub {
-    private DatabaseAdminFutureStub(
-        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    private DatabaseAdminFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       super(channel, callOptions);
     }
 
@@ -1634,17 +2159,22 @@ protected DatabaseAdminFutureStub build(
     }
 
     /**
+     *
+     *
      * 
      * Lists Cloud Spanner databases.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture listDatabases( - com.google.spanner.admin.database.v1.ListDatabasesRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.spanner.admin.database.v1.ListDatabasesResponse> + listDatabases(com.google.spanner.admin.database.v1.ListDatabasesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListDatabasesMethod(), getCallOptions()), request); } /** + * + * *
      * Creates a new Cloud Spanner database and starts to prepare it for serving.
      * The returned [long-running operation][google.longrunning.Operation] will
@@ -1656,24 +2186,29 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture createDatabase(
-        com.google.spanner.admin.database.v1.CreateDatabaseRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        createDatabase(com.google.spanner.admin.database.v1.CreateDatabaseRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getCreateDatabaseMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Gets the state of a Cloud Spanner database.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture getDatabase( - com.google.spanner.admin.database.v1.GetDatabaseRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.spanner.admin.database.v1.Database> + getDatabase(com.google.spanner.admin.database.v1.GetDatabaseRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetDatabaseMethod(), getCallOptions()), request); } /** + * + * *
      * Updates the schema of a Cloud Spanner database by
      * creating/altering/dropping tables, columns, indexes, etc. The returned
@@ -1684,13 +2219,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture updateDatabaseDdl(
-        com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        updateDatabaseDdl(com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getUpdateDatabaseDdlMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Drops (aka deletes) a Cloud Spanner database.
      * Completed backups for the database will be retained according to their
@@ -1699,26 +2236,31 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture dropDatabase(
-        com.google.spanner.admin.database.v1.DropDatabaseRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        dropDatabase(com.google.spanner.admin.database.v1.DropDatabaseRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getDropDatabaseMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Returns the schema of a Cloud Spanner database as a list of formatted
      * DDL statements. This method does not show pending schema updates, those may
      * be queried using the [Operations][google.longrunning.Operations] API.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture getDatabaseDdl( - com.google.spanner.admin.database.v1.GetDatabaseDdlRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.spanner.admin.database.v1.GetDatabaseDdlResponse> + getDatabaseDdl(com.google.spanner.admin.database.v1.GetDatabaseDdlRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetDatabaseDdlMethod(), getCallOptions()), request); } /** + * + * *
      * Sets the access control policy on a database or backup resource.
      * Replaces any existing policy.
@@ -1728,13 +2270,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    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);
     }
 
     /**
+     *
+     *
      * 
      * Gets the access control policy for a database or backup resource.
      * Returns an empty policy if a database or backup exists but does not have a
@@ -1745,13 +2289,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    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);
     }
 
     /**
+     *
+     *
      * 
      * Returns permissions that the caller has on the specified database or backup
      * resource.
@@ -1764,13 +2310,16 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    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);
     }
 
     /**
+     *
+     *
      * 
      * Starts creating a new Cloud Spanner Backup.
      * The returned backup [long-running operation][google.longrunning.Operation]
@@ -1786,13 +2335,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture createBackup(
-        com.google.spanner.admin.database.v1.CreateBackupRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        createBackup(com.google.spanner.admin.database.v1.CreateBackupRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getCreateBackupMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Starts copying a Cloud Spanner Backup.
      * The returned backup [long-running operation][google.longrunning.Operation]
@@ -1808,59 +2359,72 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture copyBackup(
-        com.google.spanner.admin.database.v1.CopyBackupRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        copyBackup(com.google.spanner.admin.database.v1.CopyBackupRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getCopyBackupMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Gets metadata on a pending or completed [Backup][google.spanner.admin.database.v1.Backup].
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture getBackup( - com.google.spanner.admin.database.v1.GetBackupRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.spanner.admin.database.v1.Backup> + getBackup(com.google.spanner.admin.database.v1.GetBackupRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetBackupMethod(), getCallOptions()), request); } /** + * + * *
      * Updates a pending or completed [Backup][google.spanner.admin.database.v1.Backup].
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture updateBackup( - com.google.spanner.admin.database.v1.UpdateBackupRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.spanner.admin.database.v1.Backup> + updateBackup(com.google.spanner.admin.database.v1.UpdateBackupRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateBackupMethod(), getCallOptions()), request); } /** + * + * *
      * Deletes a pending or completed [Backup][google.spanner.admin.database.v1.Backup].
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture deleteBackup( - com.google.spanner.admin.database.v1.DeleteBackupRequest request) { + public com.google.common.util.concurrent.ListenableFuture + deleteBackup(com.google.spanner.admin.database.v1.DeleteBackupRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteBackupMethod(), getCallOptions()), request); } /** + * + * *
      * Lists completed and pending backups.
      * Backups returned are ordered by `create_time` in descending order,
      * starting from the most recent `create_time`.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture listBackups( - com.google.spanner.admin.database.v1.ListBackupsRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.spanner.admin.database.v1.ListBackupsResponse> + listBackups(com.google.spanner.admin.database.v1.ListBackupsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListBackupsMethod(), getCallOptions()), request); } /** + * + * *
      * Create a new database by restoring from a completed backup. The new
      * database must be in the same project and in an instance with the same
@@ -1881,13 +2445,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture restoreDatabase(
-        com.google.spanner.admin.database.v1.RestoreDatabaseRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        restoreDatabase(com.google.spanner.admin.database.v1.RestoreDatabaseRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getRestoreDatabaseMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Lists database [longrunning-operations][google.longrunning.Operation].
      * A database operation has a name of the form
@@ -1899,13 +2465,17 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture listDatabaseOperations(
-        com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture<
+            com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse>
+        listDatabaseOperations(
+            com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getListDatabaseOperationsMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Lists the backup [long-running operations][google.longrunning.Operation] in
      * the given instance. A backup operation has a name of the form
@@ -1919,19 +2489,24 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture listBackupOperations(
-        com.google.spanner.admin.database.v1.ListBackupOperationsRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture<
+            com.google.spanner.admin.database.v1.ListBackupOperationsResponse>
+        listBackupOperations(
+            com.google.spanner.admin.database.v1.ListBackupOperationsRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getListBackupOperationsMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Lists Cloud Spanner database roles.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture listDatabaseRoles( - com.google.spanner.admin.database.v1.ListDatabaseRolesRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.spanner.admin.database.v1.ListDatabaseRolesResponse> + listDatabaseRoles(com.google.spanner.admin.database.v1.ListDatabaseRolesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListDatabaseRolesMethod(), getCallOptions()), request); } @@ -1957,11 +2532,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; @@ -1975,80 +2550,115 @@ private static final class MethodHandlers implements public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_LIST_DATABASES: - serviceImpl.listDatabases((com.google.spanner.admin.database.v1.ListDatabasesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.listDatabases( + (com.google.spanner.admin.database.v1.ListDatabasesRequest) request, + (io.grpc.stub.StreamObserver< + com.google.spanner.admin.database.v1.ListDatabasesResponse>) + responseObserver); break; case METHODID_CREATE_DATABASE: - serviceImpl.createDatabase((com.google.spanner.admin.database.v1.CreateDatabaseRequest) request, + serviceImpl.createDatabase( + (com.google.spanner.admin.database.v1.CreateDatabaseRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_DATABASE: - serviceImpl.getDatabase((com.google.spanner.admin.database.v1.GetDatabaseRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.getDatabase( + (com.google.spanner.admin.database.v1.GetDatabaseRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); break; case METHODID_UPDATE_DATABASE_DDL: - serviceImpl.updateDatabaseDdl((com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest) request, + serviceImpl.updateDatabaseDdl( + (com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DROP_DATABASE: - serviceImpl.dropDatabase((com.google.spanner.admin.database.v1.DropDatabaseRequest) request, + serviceImpl.dropDatabase( + (com.google.spanner.admin.database.v1.DropDatabaseRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_DATABASE_DDL: - serviceImpl.getDatabaseDdl((com.google.spanner.admin.database.v1.GetDatabaseDdlRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.getDatabaseDdl( + (com.google.spanner.admin.database.v1.GetDatabaseDdlRequest) request, + (io.grpc.stub.StreamObserver< + com.google.spanner.admin.database.v1.GetDatabaseDdlResponse>) + 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_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_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; case METHODID_CREATE_BACKUP: - serviceImpl.createBackup((com.google.spanner.admin.database.v1.CreateBackupRequest) request, + serviceImpl.createBackup( + (com.google.spanner.admin.database.v1.CreateBackupRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_COPY_BACKUP: - serviceImpl.copyBackup((com.google.spanner.admin.database.v1.CopyBackupRequest) request, + serviceImpl.copyBackup( + (com.google.spanner.admin.database.v1.CopyBackupRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_BACKUP: - serviceImpl.getBackup((com.google.spanner.admin.database.v1.GetBackupRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.getBackup( + (com.google.spanner.admin.database.v1.GetBackupRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); break; case METHODID_UPDATE_BACKUP: - serviceImpl.updateBackup((com.google.spanner.admin.database.v1.UpdateBackupRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.updateBackup( + (com.google.spanner.admin.database.v1.UpdateBackupRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); break; case METHODID_DELETE_BACKUP: - serviceImpl.deleteBackup((com.google.spanner.admin.database.v1.DeleteBackupRequest) request, + serviceImpl.deleteBackup( + (com.google.spanner.admin.database.v1.DeleteBackupRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_BACKUPS: - serviceImpl.listBackups((com.google.spanner.admin.database.v1.ListBackupsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.listBackups( + (com.google.spanner.admin.database.v1.ListBackupsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.spanner.admin.database.v1.ListBackupsResponse>) + responseObserver); break; case METHODID_RESTORE_DATABASE: - serviceImpl.restoreDatabase((com.google.spanner.admin.database.v1.RestoreDatabaseRequest) request, + serviceImpl.restoreDatabase( + (com.google.spanner.admin.database.v1.RestoreDatabaseRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_DATABASE_OPERATIONS: - serviceImpl.listDatabaseOperations((com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.listDatabaseOperations( + (com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse>) + responseObserver); break; case METHODID_LIST_BACKUP_OPERATIONS: - serviceImpl.listBackupOperations((com.google.spanner.admin.database.v1.ListBackupOperationsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.listBackupOperations( + (com.google.spanner.admin.database.v1.ListBackupOperationsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.spanner.admin.database.v1.ListBackupOperationsResponse>) + responseObserver); break; case METHODID_LIST_DATABASE_ROLES: - serviceImpl.listDatabaseRoles((com.google.spanner.admin.database.v1.ListDatabaseRolesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.listDatabaseRoles( + (com.google.spanner.admin.database.v1.ListDatabaseRolesRequest) request, + (io.grpc.stub.StreamObserver< + com.google.spanner.admin.database.v1.ListDatabaseRolesResponse>) + responseObserver); break; default: throw new AssertionError(); @@ -2069,143 +2679,130 @@ public io.grpc.stub.StreamObserver invoke( public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getListDatabasesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.database.v1.ListDatabasesRequest, - com.google.spanner.admin.database.v1.ListDatabasesResponse>( - service, METHODID_LIST_DATABASES))) + getListDatabasesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.database.v1.ListDatabasesRequest, + com.google.spanner.admin.database.v1.ListDatabasesResponse>( + service, METHODID_LIST_DATABASES))) .addMethod( - getCreateDatabaseMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.database.v1.CreateDatabaseRequest, - com.google.longrunning.Operation>( - service, METHODID_CREATE_DATABASE))) + getCreateDatabaseMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.database.v1.CreateDatabaseRequest, + com.google.longrunning.Operation>(service, METHODID_CREATE_DATABASE))) .addMethod( - getGetDatabaseMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.database.v1.GetDatabaseRequest, - com.google.spanner.admin.database.v1.Database>( - service, METHODID_GET_DATABASE))) + getGetDatabaseMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.database.v1.GetDatabaseRequest, + com.google.spanner.admin.database.v1.Database>(service, METHODID_GET_DATABASE))) .addMethod( - getUpdateDatabaseDdlMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest, - com.google.longrunning.Operation>( - service, METHODID_UPDATE_DATABASE_DDL))) + getUpdateDatabaseDdlMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest, + com.google.longrunning.Operation>(service, METHODID_UPDATE_DATABASE_DDL))) .addMethod( - getDropDatabaseMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.database.v1.DropDatabaseRequest, - com.google.protobuf.Empty>( - service, METHODID_DROP_DATABASE))) + getDropDatabaseMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.database.v1.DropDatabaseRequest, + com.google.protobuf.Empty>(service, METHODID_DROP_DATABASE))) .addMethod( - getGetDatabaseDdlMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.database.v1.GetDatabaseDdlRequest, - com.google.spanner.admin.database.v1.GetDatabaseDdlResponse>( - service, METHODID_GET_DATABASE_DDL))) + getGetDatabaseDdlMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.database.v1.GetDatabaseDdlRequest, + com.google.spanner.admin.database.v1.GetDatabaseDdlResponse>( + service, METHODID_GET_DATABASE_DDL))) .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( - 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( - 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))) .addMethod( - getCreateBackupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.database.v1.CreateBackupRequest, - com.google.longrunning.Operation>( - service, METHODID_CREATE_BACKUP))) + getCreateBackupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.database.v1.CreateBackupRequest, + com.google.longrunning.Operation>(service, METHODID_CREATE_BACKUP))) .addMethod( - getCopyBackupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.database.v1.CopyBackupRequest, - com.google.longrunning.Operation>( - service, METHODID_COPY_BACKUP))) + getCopyBackupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.database.v1.CopyBackupRequest, + com.google.longrunning.Operation>(service, METHODID_COPY_BACKUP))) .addMethod( - getGetBackupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.database.v1.GetBackupRequest, - com.google.spanner.admin.database.v1.Backup>( - service, METHODID_GET_BACKUP))) + getGetBackupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.database.v1.GetBackupRequest, + com.google.spanner.admin.database.v1.Backup>(service, METHODID_GET_BACKUP))) .addMethod( - getUpdateBackupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.database.v1.UpdateBackupRequest, - com.google.spanner.admin.database.v1.Backup>( - service, METHODID_UPDATE_BACKUP))) + getUpdateBackupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.database.v1.UpdateBackupRequest, + com.google.spanner.admin.database.v1.Backup>(service, METHODID_UPDATE_BACKUP))) .addMethod( - getDeleteBackupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.database.v1.DeleteBackupRequest, - com.google.protobuf.Empty>( - service, METHODID_DELETE_BACKUP))) + getDeleteBackupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.database.v1.DeleteBackupRequest, + com.google.protobuf.Empty>(service, METHODID_DELETE_BACKUP))) .addMethod( - getListBackupsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.database.v1.ListBackupsRequest, - com.google.spanner.admin.database.v1.ListBackupsResponse>( - service, METHODID_LIST_BACKUPS))) + getListBackupsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.database.v1.ListBackupsRequest, + com.google.spanner.admin.database.v1.ListBackupsResponse>( + service, METHODID_LIST_BACKUPS))) .addMethod( - getRestoreDatabaseMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.database.v1.RestoreDatabaseRequest, - com.google.longrunning.Operation>( - service, METHODID_RESTORE_DATABASE))) + getRestoreDatabaseMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.database.v1.RestoreDatabaseRequest, + com.google.longrunning.Operation>(service, METHODID_RESTORE_DATABASE))) .addMethod( - getListDatabaseOperationsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest, - com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse>( - service, METHODID_LIST_DATABASE_OPERATIONS))) + getListDatabaseOperationsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest, + com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse>( + service, METHODID_LIST_DATABASE_OPERATIONS))) .addMethod( - getListBackupOperationsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.database.v1.ListBackupOperationsRequest, - com.google.spanner.admin.database.v1.ListBackupOperationsResponse>( - service, METHODID_LIST_BACKUP_OPERATIONS))) + getListBackupOperationsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.database.v1.ListBackupOperationsRequest, + com.google.spanner.admin.database.v1.ListBackupOperationsResponse>( + service, METHODID_LIST_BACKUP_OPERATIONS))) .addMethod( - getListDatabaseRolesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.spanner.admin.database.v1.ListDatabaseRolesRequest, - com.google.spanner.admin.database.v1.ListDatabaseRolesResponse>( - service, METHODID_LIST_DATABASE_ROLES))) + getListDatabaseRolesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.spanner.admin.database.v1.ListDatabaseRolesRequest, + com.google.spanner.admin.database.v1.ListDatabaseRolesResponse>( + service, METHODID_LIST_DATABASE_ROLES))) .build(); } - private static abstract class DatabaseAdminBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private abstract static class DatabaseAdminBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { DatabaseAdminBaseDescriptorSupplier() {} @java.lang.Override @@ -2247,28 +2844,30 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (DatabaseAdminGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new DatabaseAdminFileDescriptorSupplier()) - .addMethod(getListDatabasesMethod()) - .addMethod(getCreateDatabaseMethod()) - .addMethod(getGetDatabaseMethod()) - .addMethod(getUpdateDatabaseDdlMethod()) - .addMethod(getDropDatabaseMethod()) - .addMethod(getGetDatabaseDdlMethod()) - .addMethod(getSetIamPolicyMethod()) - .addMethod(getGetIamPolicyMethod()) - .addMethod(getTestIamPermissionsMethod()) - .addMethod(getCreateBackupMethod()) - .addMethod(getCopyBackupMethod()) - .addMethod(getGetBackupMethod()) - .addMethod(getUpdateBackupMethod()) - .addMethod(getDeleteBackupMethod()) - .addMethod(getListBackupsMethod()) - .addMethod(getRestoreDatabaseMethod()) - .addMethod(getListDatabaseOperationsMethod()) - .addMethod(getListBackupOperationsMethod()) - .addMethod(getListDatabaseRolesMethod()) - .build(); + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new DatabaseAdminFileDescriptorSupplier()) + .addMethod(getListDatabasesMethod()) + .addMethod(getCreateDatabaseMethod()) + .addMethod(getGetDatabaseMethod()) + .addMethod(getUpdateDatabaseDdlMethod()) + .addMethod(getDropDatabaseMethod()) + .addMethod(getGetDatabaseDdlMethod()) + .addMethod(getSetIamPolicyMethod()) + .addMethod(getGetIamPolicyMethod()) + .addMethod(getTestIamPermissionsMethod()) + .addMethod(getCreateBackupMethod()) + .addMethod(getCopyBackupMethod()) + .addMethod(getGetBackupMethod()) + .addMethod(getUpdateBackupMethod()) + .addMethod(getDeleteBackupMethod()) + .addMethod(getListBackupsMethod()) + .addMethod(getRestoreDatabaseMethod()) + .addMethod(getListDatabaseOperationsMethod()) + .addMethod(getListBackupOperationsMethod()) + .addMethod(getListDatabaseRolesMethod()) + .build(); } } } diff --git a/owl-bot-staging/v1/grpc-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceAdminGrpc.java b/grpc-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceAdminGrpc.java similarity index 63% rename from owl-bot-staging/v1/grpc-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceAdminGrpc.java rename to grpc-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceAdminGrpc.java index 07f30d07d27..9bf015fcaa8 100644 --- a/owl-bot-staging/v1/grpc-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceAdminGrpc.java +++ b/grpc-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceAdminGrpc.java @@ -1,8 +1,25 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.spanner.admin.instance.v1; import static io.grpc.MethodDescriptor.generateFullMethodName; /** + * + * *
  * Cloud Spanner Instance Admin API
  * The Cloud Spanner Instance Admin API can be used to create, delete,
@@ -35,485 +52,691 @@ private InstanceAdminGrpc() {}
   public static final String SERVICE_NAME = "google.spanner.admin.instance.v1.InstanceAdmin";
 
   // Static method descriptors that strictly reflect the proto.
-  private static volatile io.grpc.MethodDescriptor getListInstanceConfigsMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest,
+          com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse>
+      getListInstanceConfigsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListInstanceConfigs",
       requestType = com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest.class,
       responseType = com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getListInstanceConfigsMethod() {
-    io.grpc.MethodDescriptor getListInstanceConfigsMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest,
+          com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse>
+      getListInstanceConfigsMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest,
+            com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse>
+        getListInstanceConfigsMethod;
     if ((getListInstanceConfigsMethod = InstanceAdminGrpc.getListInstanceConfigsMethod) == null) {
       synchronized (InstanceAdminGrpc.class) {
-        if ((getListInstanceConfigsMethod = InstanceAdminGrpc.getListInstanceConfigsMethod) == null) {
-          InstanceAdminGrpc.getListInstanceConfigsMethod = getListInstanceConfigsMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListInstanceConfigs"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new InstanceAdminMethodDescriptorSupplier("ListInstanceConfigs"))
-              .build();
+        if ((getListInstanceConfigsMethod = InstanceAdminGrpc.getListInstanceConfigsMethod)
+            == null) {
+          InstanceAdminGrpc.getListInstanceConfigsMethod =
+              getListInstanceConfigsMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(
+                          generateFullMethodName(SERVICE_NAME, "ListInstanceConfigs"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new InstanceAdminMethodDescriptorSupplier("ListInstanceConfigs"))
+                      .build();
         }
       }
     }
     return getListInstanceConfigsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getGetInstanceConfigMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.spanner.admin.instance.v1.GetInstanceConfigRequest,
+          com.google.spanner.admin.instance.v1.InstanceConfig>
+      getGetInstanceConfigMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetInstanceConfig",
       requestType = com.google.spanner.admin.instance.v1.GetInstanceConfigRequest.class,
       responseType = com.google.spanner.admin.instance.v1.InstanceConfig.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getGetInstanceConfigMethod() {
-    io.grpc.MethodDescriptor getGetInstanceConfigMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.spanner.admin.instance.v1.GetInstanceConfigRequest,
+          com.google.spanner.admin.instance.v1.InstanceConfig>
+      getGetInstanceConfigMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.spanner.admin.instance.v1.GetInstanceConfigRequest,
+            com.google.spanner.admin.instance.v1.InstanceConfig>
+        getGetInstanceConfigMethod;
     if ((getGetInstanceConfigMethod = InstanceAdminGrpc.getGetInstanceConfigMethod) == null) {
       synchronized (InstanceAdminGrpc.class) {
         if ((getGetInstanceConfigMethod = InstanceAdminGrpc.getGetInstanceConfigMethod) == null) {
-          InstanceAdminGrpc.getGetInstanceConfigMethod = getGetInstanceConfigMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetInstanceConfig"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.spanner.admin.instance.v1.GetInstanceConfigRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance()))
-              .setSchemaDescriptor(new InstanceAdminMethodDescriptorSupplier("GetInstanceConfig"))
-              .build();
+          InstanceAdminGrpc.getGetInstanceConfigMethod =
+              getGetInstanceConfigMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetInstanceConfig"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.spanner.admin.instance.v1.GetInstanceConfigRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.spanner.admin.instance.v1.InstanceConfig
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new InstanceAdminMethodDescriptorSupplier("GetInstanceConfig"))
+                      .build();
         }
       }
     }
     return getGetInstanceConfigMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getCreateInstanceConfigMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest,
+          com.google.longrunning.Operation>
+      getCreateInstanceConfigMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateInstanceConfig",
       requestType = com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getCreateInstanceConfigMethod() {
-    io.grpc.MethodDescriptor getCreateInstanceConfigMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest,
+          com.google.longrunning.Operation>
+      getCreateInstanceConfigMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest,
+            com.google.longrunning.Operation>
+        getCreateInstanceConfigMethod;
     if ((getCreateInstanceConfigMethod = InstanceAdminGrpc.getCreateInstanceConfigMethod) == null) {
       synchronized (InstanceAdminGrpc.class) {
-        if ((getCreateInstanceConfigMethod = InstanceAdminGrpc.getCreateInstanceConfigMethod) == null) {
-          InstanceAdminGrpc.getCreateInstanceConfigMethod = getCreateInstanceConfigMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateInstanceConfig"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.longrunning.Operation.getDefaultInstance()))
-              .setSchemaDescriptor(new InstanceAdminMethodDescriptorSupplier("CreateInstanceConfig"))
-              .build();
+        if ((getCreateInstanceConfigMethod = InstanceAdminGrpc.getCreateInstanceConfigMethod)
+            == null) {
+          InstanceAdminGrpc.getCreateInstanceConfigMethod =
+              getCreateInstanceConfigMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(
+                          generateFullMethodName(SERVICE_NAME, "CreateInstanceConfig"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.longrunning.Operation.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new InstanceAdminMethodDescriptorSupplier("CreateInstanceConfig"))
+                      .build();
         }
       }
     }
     return getCreateInstanceConfigMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getUpdateInstanceConfigMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest,
+          com.google.longrunning.Operation>
+      getUpdateInstanceConfigMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UpdateInstanceConfig",
       requestType = com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getUpdateInstanceConfigMethod() {
-    io.grpc.MethodDescriptor getUpdateInstanceConfigMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest,
+          com.google.longrunning.Operation>
+      getUpdateInstanceConfigMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest,
+            com.google.longrunning.Operation>
+        getUpdateInstanceConfigMethod;
     if ((getUpdateInstanceConfigMethod = InstanceAdminGrpc.getUpdateInstanceConfigMethod) == null) {
       synchronized (InstanceAdminGrpc.class) {
-        if ((getUpdateInstanceConfigMethod = InstanceAdminGrpc.getUpdateInstanceConfigMethod) == null) {
-          InstanceAdminGrpc.getUpdateInstanceConfigMethod = getUpdateInstanceConfigMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateInstanceConfig"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.longrunning.Operation.getDefaultInstance()))
-              .setSchemaDescriptor(new InstanceAdminMethodDescriptorSupplier("UpdateInstanceConfig"))
-              .build();
+        if ((getUpdateInstanceConfigMethod = InstanceAdminGrpc.getUpdateInstanceConfigMethod)
+            == null) {
+          InstanceAdminGrpc.getUpdateInstanceConfigMethod =
+              getUpdateInstanceConfigMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(
+                          generateFullMethodName(SERVICE_NAME, "UpdateInstanceConfig"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.longrunning.Operation.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new InstanceAdminMethodDescriptorSupplier("UpdateInstanceConfig"))
+                      .build();
         }
       }
     }
     return getUpdateInstanceConfigMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getDeleteInstanceConfigMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest,
+          com.google.protobuf.Empty>
+      getDeleteInstanceConfigMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteInstanceConfig",
       requestType = com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getDeleteInstanceConfigMethod() {
-    io.grpc.MethodDescriptor getDeleteInstanceConfigMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest,
+          com.google.protobuf.Empty>
+      getDeleteInstanceConfigMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest,
+            com.google.protobuf.Empty>
+        getDeleteInstanceConfigMethod;
     if ((getDeleteInstanceConfigMethod = InstanceAdminGrpc.getDeleteInstanceConfigMethod) == null) {
       synchronized (InstanceAdminGrpc.class) {
-        if ((getDeleteInstanceConfigMethod = InstanceAdminGrpc.getDeleteInstanceConfigMethod) == null) {
-          InstanceAdminGrpc.getDeleteInstanceConfigMethod = getDeleteInstanceConfigMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteInstanceConfig"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.protobuf.Empty.getDefaultInstance()))
-              .setSchemaDescriptor(new InstanceAdminMethodDescriptorSupplier("DeleteInstanceConfig"))
-              .build();
+        if ((getDeleteInstanceConfigMethod = InstanceAdminGrpc.getDeleteInstanceConfigMethod)
+            == null) {
+          InstanceAdminGrpc.getDeleteInstanceConfigMethod =
+              getDeleteInstanceConfigMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(
+                          generateFullMethodName(SERVICE_NAME, "DeleteInstanceConfig"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.protobuf.Empty.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new InstanceAdminMethodDescriptorSupplier("DeleteInstanceConfig"))
+                      .build();
         }
       }
     }
     return getDeleteInstanceConfigMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getListInstanceConfigOperationsMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest,
+          com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse>
+      getListInstanceConfigOperationsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListInstanceConfigOperations",
       requestType = com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest.class,
-      responseType = com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.class,
+      responseType =
+          com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getListInstanceConfigOperationsMethod() {
-    io.grpc.MethodDescriptor getListInstanceConfigOperationsMethod;
-    if ((getListInstanceConfigOperationsMethod = InstanceAdminGrpc.getListInstanceConfigOperationsMethod) == null) {
+  public static io.grpc.MethodDescriptor<
+          com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest,
+          com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse>
+      getListInstanceConfigOperationsMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest,
+            com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse>
+        getListInstanceConfigOperationsMethod;
+    if ((getListInstanceConfigOperationsMethod =
+            InstanceAdminGrpc.getListInstanceConfigOperationsMethod)
+        == null) {
       synchronized (InstanceAdminGrpc.class) {
-        if ((getListInstanceConfigOperationsMethod = InstanceAdminGrpc.getListInstanceConfigOperationsMethod) == null) {
-          InstanceAdminGrpc.getListInstanceConfigOperationsMethod = getListInstanceConfigOperationsMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListInstanceConfigOperations"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new InstanceAdminMethodDescriptorSupplier("ListInstanceConfigOperations"))
-              .build();
+        if ((getListInstanceConfigOperationsMethod =
+                InstanceAdminGrpc.getListInstanceConfigOperationsMethod)
+            == null) {
+          InstanceAdminGrpc.getListInstanceConfigOperationsMethod =
+              getListInstanceConfigOperationsMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(
+                          generateFullMethodName(SERVICE_NAME, "ListInstanceConfigOperations"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.spanner.admin.instance.v1
+                                  .ListInstanceConfigOperationsRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.spanner.admin.instance.v1
+                                  .ListInstanceConfigOperationsResponse.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new InstanceAdminMethodDescriptorSupplier("ListInstanceConfigOperations"))
+                      .build();
         }
       }
     }
     return getListInstanceConfigOperationsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getListInstancesMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.spanner.admin.instance.v1.ListInstancesRequest,
+          com.google.spanner.admin.instance.v1.ListInstancesResponse>
+      getListInstancesMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListInstances",
       requestType = com.google.spanner.admin.instance.v1.ListInstancesRequest.class,
       responseType = com.google.spanner.admin.instance.v1.ListInstancesResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getListInstancesMethod() {
-    io.grpc.MethodDescriptor getListInstancesMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.spanner.admin.instance.v1.ListInstancesRequest,
+          com.google.spanner.admin.instance.v1.ListInstancesResponse>
+      getListInstancesMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.spanner.admin.instance.v1.ListInstancesRequest,
+            com.google.spanner.admin.instance.v1.ListInstancesResponse>
+        getListInstancesMethod;
     if ((getListInstancesMethod = InstanceAdminGrpc.getListInstancesMethod) == null) {
       synchronized (InstanceAdminGrpc.class) {
         if ((getListInstancesMethod = InstanceAdminGrpc.getListInstancesMethod) == null) {
-          InstanceAdminGrpc.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.spanner.admin.instance.v1.ListInstancesRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.spanner.admin.instance.v1.ListInstancesResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new InstanceAdminMethodDescriptorSupplier("ListInstances"))
-              .build();
+          InstanceAdminGrpc.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.spanner.admin.instance.v1.ListInstancesRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.spanner.admin.instance.v1.ListInstancesResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new InstanceAdminMethodDescriptorSupplier("ListInstances"))
+                      .build();
         }
       }
     }
     return getListInstancesMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getGetInstanceMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.spanner.admin.instance.v1.GetInstanceRequest,
+          com.google.spanner.admin.instance.v1.Instance>
+      getGetInstanceMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetInstance",
       requestType = com.google.spanner.admin.instance.v1.GetInstanceRequest.class,
       responseType = com.google.spanner.admin.instance.v1.Instance.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getGetInstanceMethod() {
-    io.grpc.MethodDescriptor getGetInstanceMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.spanner.admin.instance.v1.GetInstanceRequest,
+          com.google.spanner.admin.instance.v1.Instance>
+      getGetInstanceMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.spanner.admin.instance.v1.GetInstanceRequest,
+            com.google.spanner.admin.instance.v1.Instance>
+        getGetInstanceMethod;
     if ((getGetInstanceMethod = InstanceAdminGrpc.getGetInstanceMethod) == null) {
       synchronized (InstanceAdminGrpc.class) {
         if ((getGetInstanceMethod = InstanceAdminGrpc.getGetInstanceMethod) == null) {
-          InstanceAdminGrpc.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.spanner.admin.instance.v1.GetInstanceRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.spanner.admin.instance.v1.Instance.getDefaultInstance()))
-              .setSchemaDescriptor(new InstanceAdminMethodDescriptorSupplier("GetInstance"))
-              .build();
+          InstanceAdminGrpc.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.spanner.admin.instance.v1.GetInstanceRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.spanner.admin.instance.v1.Instance.getDefaultInstance()))
+                      .setSchemaDescriptor(new InstanceAdminMethodDescriptorSupplier("GetInstance"))
+                      .build();
         }
       }
     }
     return getGetInstanceMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getCreateInstanceMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.spanner.admin.instance.v1.CreateInstanceRequest,
+          com.google.longrunning.Operation>
+      getCreateInstanceMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateInstance",
       requestType = com.google.spanner.admin.instance.v1.CreateInstanceRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getCreateInstanceMethod() {
-    io.grpc.MethodDescriptor getCreateInstanceMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.spanner.admin.instance.v1.CreateInstanceRequest,
+          com.google.longrunning.Operation>
+      getCreateInstanceMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.spanner.admin.instance.v1.CreateInstanceRequest,
+            com.google.longrunning.Operation>
+        getCreateInstanceMethod;
     if ((getCreateInstanceMethod = InstanceAdminGrpc.getCreateInstanceMethod) == null) {
       synchronized (InstanceAdminGrpc.class) {
         if ((getCreateInstanceMethod = InstanceAdminGrpc.getCreateInstanceMethod) == null) {
-          InstanceAdminGrpc.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.spanner.admin.instance.v1.CreateInstanceRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.longrunning.Operation.getDefaultInstance()))
-              .setSchemaDescriptor(new InstanceAdminMethodDescriptorSupplier("CreateInstance"))
-              .build();
+          InstanceAdminGrpc.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.spanner.admin.instance.v1.CreateInstanceRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.longrunning.Operation.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new InstanceAdminMethodDescriptorSupplier("CreateInstance"))
+                      .build();
         }
       }
     }
     return getCreateInstanceMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getUpdateInstanceMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.spanner.admin.instance.v1.UpdateInstanceRequest,
+          com.google.longrunning.Operation>
+      getUpdateInstanceMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UpdateInstance",
       requestType = com.google.spanner.admin.instance.v1.UpdateInstanceRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getUpdateInstanceMethod() {
-    io.grpc.MethodDescriptor getUpdateInstanceMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.spanner.admin.instance.v1.UpdateInstanceRequest,
+          com.google.longrunning.Operation>
+      getUpdateInstanceMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.spanner.admin.instance.v1.UpdateInstanceRequest,
+            com.google.longrunning.Operation>
+        getUpdateInstanceMethod;
     if ((getUpdateInstanceMethod = InstanceAdminGrpc.getUpdateInstanceMethod) == null) {
       synchronized (InstanceAdminGrpc.class) {
         if ((getUpdateInstanceMethod = InstanceAdminGrpc.getUpdateInstanceMethod) == null) {
-          InstanceAdminGrpc.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.spanner.admin.instance.v1.UpdateInstanceRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.longrunning.Operation.getDefaultInstance()))
-              .setSchemaDescriptor(new InstanceAdminMethodDescriptorSupplier("UpdateInstance"))
-              .build();
+          InstanceAdminGrpc.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.spanner.admin.instance.v1.UpdateInstanceRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.longrunning.Operation.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new InstanceAdminMethodDescriptorSupplier("UpdateInstance"))
+                      .build();
         }
       }
     }
     return getUpdateInstanceMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getDeleteInstanceMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.spanner.admin.instance.v1.DeleteInstanceRequest, com.google.protobuf.Empty>
+      getDeleteInstanceMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteInstance",
       requestType = com.google.spanner.admin.instance.v1.DeleteInstanceRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getDeleteInstanceMethod() {
-    io.grpc.MethodDescriptor getDeleteInstanceMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.spanner.admin.instance.v1.DeleteInstanceRequest, com.google.protobuf.Empty>
+      getDeleteInstanceMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.spanner.admin.instance.v1.DeleteInstanceRequest, com.google.protobuf.Empty>
+        getDeleteInstanceMethod;
     if ((getDeleteInstanceMethod = InstanceAdminGrpc.getDeleteInstanceMethod) == null) {
       synchronized (InstanceAdminGrpc.class) {
         if ((getDeleteInstanceMethod = InstanceAdminGrpc.getDeleteInstanceMethod) == null) {
-          InstanceAdminGrpc.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.spanner.admin.instance.v1.DeleteInstanceRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.protobuf.Empty.getDefaultInstance()))
-              .setSchemaDescriptor(new InstanceAdminMethodDescriptorSupplier("DeleteInstance"))
-              .build();
+          InstanceAdminGrpc.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.spanner.admin.instance.v1.DeleteInstanceRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.protobuf.Empty.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new InstanceAdminMethodDescriptorSupplier("DeleteInstance"))
+                      .build();
         }
       }
     }
     return getDeleteInstanceMethod;
   }
 
-  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 = InstanceAdminGrpc.getSetIamPolicyMethod) == null) {
       synchronized (InstanceAdminGrpc.class) {
         if ((getSetIamPolicyMethod = InstanceAdminGrpc.getSetIamPolicyMethod) == null) {
-          InstanceAdminGrpc.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 InstanceAdminMethodDescriptorSupplier("SetIamPolicy"))
-              .build();
+          InstanceAdminGrpc.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 InstanceAdminMethodDescriptorSupplier("SetIamPolicy"))
+                      .build();
         }
       }
     }
     return getSetIamPolicyMethod;
   }
 
-  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 = InstanceAdminGrpc.getGetIamPolicyMethod) == null) {
       synchronized (InstanceAdminGrpc.class) {
         if ((getGetIamPolicyMethod = InstanceAdminGrpc.getGetIamPolicyMethod) == null) {
-          InstanceAdminGrpc.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 InstanceAdminMethodDescriptorSupplier("GetIamPolicy"))
-              .build();
+          InstanceAdminGrpc.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 InstanceAdminMethodDescriptorSupplier("GetIamPolicy"))
+                      .build();
         }
       }
     }
     return getGetIamPolicyMethod;
   }
 
-  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;
+  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 = InstanceAdminGrpc.getTestIamPermissionsMethod) == null) {
       synchronized (InstanceAdminGrpc.class) {
         if ((getTestIamPermissionsMethod = InstanceAdminGrpc.getTestIamPermissionsMethod) == null) {
-          InstanceAdminGrpc.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 InstanceAdminMethodDescriptorSupplier("TestIamPermissions"))
-              .build();
+          InstanceAdminGrpc.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 InstanceAdminMethodDescriptorSupplier("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 InstanceAdminStub newStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public InstanceAdminStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new InstanceAdminStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public InstanceAdminStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new InstanceAdminStub(channel, callOptions);
+          }
+        };
     return InstanceAdminStub.newStub(factory, channel);
   }
 
   /**
    * Creates a new blocking-style stub that supports unary and streaming output calls on the service
    */
-  public static InstanceAdminBlockingStub newBlockingStub(
-      io.grpc.Channel channel) {
+  public static InstanceAdminBlockingStub newBlockingStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public InstanceAdminBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new InstanceAdminBlockingStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public InstanceAdminBlockingStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new InstanceAdminBlockingStub(channel, callOptions);
+          }
+        };
     return InstanceAdminBlockingStub.newStub(factory, channel);
   }
 
-  /**
-   * Creates a new ListenableFuture-style stub that supports unary calls on the service
-   */
-  public static InstanceAdminFutureStub newFutureStub(
-      io.grpc.Channel channel) {
+  /** Creates a new ListenableFuture-style stub that supports unary calls on the service */
+  public static InstanceAdminFutureStub newFutureStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public InstanceAdminFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new InstanceAdminFutureStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public InstanceAdminFutureStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new InstanceAdminFutureStub(channel, callOptions);
+          }
+        };
     return InstanceAdminFutureStub.newStub(factory, channel);
   }
 
   /**
+   *
+   *
    * 
    * Cloud Spanner Instance Admin API
    * The Cloud Spanner Instance Admin API can be used to create, delete,
@@ -538,26 +761,39 @@ public InstanceAdminFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOpti
   public interface AsyncService {
 
     /**
+     *
+     *
      * 
      * Lists the supported instance configurations for a given project.
      * 
*/ - default void listInstanceConfigs(com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListInstanceConfigsMethod(), responseObserver); + default void listInstanceConfigs( + com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest request, + io.grpc.stub.StreamObserver< + com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListInstanceConfigsMethod(), responseObserver); } /** + * + * *
      * Gets information about a particular instance configuration.
      * 
*/ - default void getInstanceConfig(com.google.spanner.admin.instance.v1.GetInstanceConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetInstanceConfigMethod(), responseObserver); + default void getInstanceConfig( + com.google.spanner.admin.instance.v1.GetInstanceConfigRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetInstanceConfigMethod(), responseObserver); } /** + * + * *
      * Creates an instance config and begins preparing it to be used. The
      * returned [long-running operation][google.longrunning.Operation]
@@ -594,12 +830,16 @@ default void getInstanceConfig(com.google.spanner.admin.instance.v1.GetInstanceC
      * [parent][google.spanner.admin.instance.v1.CreateInstanceConfigRequest.parent].
      * 
*/ - default void createInstanceConfig(com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest request, + default void createInstanceConfig( + com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateInstanceConfigMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateInstanceConfigMethod(), responseObserver); } /** + * + * *
      * Updates an instance config. The returned
      * [long-running operation][google.longrunning.Operation] can be used to track
@@ -638,12 +878,16 @@ default void createInstanceConfig(com.google.spanner.admin.instance.v1.CreateIns
      * the resource [name][google.spanner.admin.instance.v1.InstanceConfig.name].
      * 
*/ - default void updateInstanceConfig(com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest request, + default void updateInstanceConfig( + com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateInstanceConfigMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateInstanceConfigMethod(), responseObserver); } /** + * + * *
      * Deletes the instance config. Deletion is only allowed when no
      * instances are using the configuration. If any instances are using
@@ -653,12 +897,16 @@ default void updateInstanceConfig(com.google.spanner.admin.instance.v1.UpdateIns
      * the resource [name][google.spanner.admin.instance.v1.InstanceConfig.name].
      * 
*/ - default void deleteInstanceConfig(com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest request, + default void deleteInstanceConfig( + com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteInstanceConfigMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteInstanceConfigMethod(), responseObserver); } /** + * + * *
      * Lists the user-managed instance config [long-running
      * operations][google.longrunning.Operation] in the given project. An instance
@@ -673,32 +921,48 @@ default void deleteInstanceConfig(com.google.spanner.admin.instance.v1.DeleteIns
      * from the most recently started operation.
      * 
*/ - default void listInstanceConfigOperations(com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListInstanceConfigOperationsMethod(), responseObserver); + default void listInstanceConfigOperations( + com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest request, + io.grpc.stub.StreamObserver< + com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListInstanceConfigOperationsMethod(), responseObserver); } /** + * + * *
      * Lists all instances in the given project.
      * 
*/ - default void listInstances(com.google.spanner.admin.instance.v1.ListInstancesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListInstancesMethod(), responseObserver); + default void listInstances( + com.google.spanner.admin.instance.v1.ListInstancesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListInstancesMethod(), responseObserver); } /** + * + * *
      * Gets information about a particular instance.
      * 
*/ - default void getInstance(com.google.spanner.admin.instance.v1.GetInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetInstanceMethod(), responseObserver); + default void getInstance( + com.google.spanner.admin.instance.v1.GetInstanceRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetInstanceMethod(), responseObserver); } /** + * + * *
      * Creates an instance and begins preparing it to begin serving. The
      * returned [long-running operation][google.longrunning.Operation]
@@ -729,12 +993,16 @@ default void getInstance(com.google.spanner.admin.instance.v1.GetInstanceRequest
      * [Instance][google.spanner.admin.instance.v1.Instance], if successful.
      * 
*/ - default void createInstance(com.google.spanner.admin.instance.v1.CreateInstanceRequest request, + default void createInstance( + com.google.spanner.admin.instance.v1.CreateInstanceRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateInstanceMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateInstanceMethod(), responseObserver); } /** + * + * *
      * Updates an instance, and begins allocating or releasing resources
      * as requested. The returned [long-running
@@ -770,12 +1038,16 @@ default void createInstance(com.google.spanner.admin.instance.v1.CreateInstanceR
      * the resource [name][google.spanner.admin.instance.v1.Instance.name].
      * 
*/ - default void updateInstance(com.google.spanner.admin.instance.v1.UpdateInstanceRequest request, + default void updateInstance( + com.google.spanner.admin.instance.v1.UpdateInstanceRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateInstanceMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateInstanceMethod(), responseObserver); } /** + * + * *
      * Deletes an instance.
      * Immediately upon completion of the request:
@@ -786,12 +1058,16 @@ default void updateInstance(com.google.spanner.admin.instance.v1.UpdateInstanceR
      *     is permanently deleted.
      * 
*/ - default void deleteInstance(com.google.spanner.admin.instance.v1.DeleteInstanceRequest request, + default void deleteInstance( + com.google.spanner.admin.instance.v1.DeleteInstanceRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteInstanceMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteInstanceMethod(), responseObserver); } /** + * + * *
      * Sets the access control policy on an instance resource. Replaces any
      * existing policy.
@@ -799,12 +1075,16 @@ default void deleteInstance(com.google.spanner.admin.instance.v1.DeleteInstanceR
      * [resource][google.iam.v1.SetIamPolicyRequest.resource].
      * 
*/ - 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); } /** + * + * *
      * Gets the access control policy for an instance resource. Returns an empty
      * policy if an instance exists but does not have a policy set.
@@ -812,12 +1092,16 @@ default void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request,
      * [resource][google.iam.v1.GetIamPolicyRequest.resource].
      * 
*/ - 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); } /** + * + * *
      * Returns permissions that the caller has on the specified instance resource.
      * Attempting this RPC on a non-existent Cloud Spanner instance resource will
@@ -826,14 +1110,18 @@ default void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request,
      * empty set of permissions.
      * 
*/ - 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 InstanceAdmin. + * *
    * Cloud Spanner Instance Admin API
    * The Cloud Spanner Instance Admin API can be used to create, delete,
@@ -855,16 +1143,18 @@ default void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest requ
    * databases in that instance, and their performance may suffer.
    * 
*/ - public static abstract class InstanceAdminImplBase + public abstract static class InstanceAdminImplBase implements io.grpc.BindableService, AsyncService { - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { return InstanceAdminGrpc.bindService(this); } } /** * A stub to allow clients to do asynchronous rpc calls to service InstanceAdmin. + * *
    * Cloud Spanner Instance Admin API
    * The Cloud Spanner Instance Admin API can be used to create, delete,
@@ -888,40 +1178,53 @@ public static abstract class InstanceAdminImplBase
    */
   public static final class InstanceAdminStub
       extends io.grpc.stub.AbstractAsyncStub {
-    private InstanceAdminStub(
-        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    private InstanceAdminStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       super(channel, callOptions);
     }
 
     @java.lang.Override
-    protected InstanceAdminStub build(
-        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    protected InstanceAdminStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       return new InstanceAdminStub(channel, callOptions);
     }
 
     /**
+     *
+     *
      * 
      * Lists the supported instance configurations for a given project.
      * 
*/ - public void listInstanceConfigs(com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listInstanceConfigs( + com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest request, + io.grpc.stub.StreamObserver< + com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse> + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListInstanceConfigsMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getListInstanceConfigsMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Gets information about a particular instance configuration.
      * 
*/ - public void getInstanceConfig(com.google.spanner.admin.instance.v1.GetInstanceConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void getInstanceConfig( + com.google.spanner.admin.instance.v1.GetInstanceConfigRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetInstanceConfigMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getGetInstanceConfigMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Creates an instance config and begins preparing it to be used. The
      * returned [long-running operation][google.longrunning.Operation]
@@ -958,13 +1261,18 @@ public void getInstanceConfig(com.google.spanner.admin.instance.v1.GetInstanceCo
      * [parent][google.spanner.admin.instance.v1.CreateInstanceConfigRequest.parent].
      * 
*/ - public void createInstanceConfig(com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest request, + public void createInstanceConfig( + com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateInstanceConfigMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getCreateInstanceConfigMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Updates an instance config. The returned
      * [long-running operation][google.longrunning.Operation] can be used to track
@@ -1003,13 +1311,18 @@ public void createInstanceConfig(com.google.spanner.admin.instance.v1.CreateInst
      * the resource [name][google.spanner.admin.instance.v1.InstanceConfig.name].
      * 
*/ - public void updateInstanceConfig(com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest request, + public void updateInstanceConfig( + com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateInstanceConfigMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getUpdateInstanceConfigMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Deletes the instance config. Deletion is only allowed when no
      * instances are using the configuration. If any instances are using
@@ -1019,13 +1332,18 @@ public void updateInstanceConfig(com.google.spanner.admin.instance.v1.UpdateInst
      * the resource [name][google.spanner.admin.instance.v1.InstanceConfig.name].
      * 
*/ - public void deleteInstanceConfig(com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest request, + public void deleteInstanceConfig( + com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteInstanceConfigMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getDeleteInstanceConfigMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Lists the user-managed instance config [long-running
      * operations][google.longrunning.Operation] in the given project. An instance
@@ -1040,35 +1358,54 @@ public void deleteInstanceConfig(com.google.spanner.admin.instance.v1.DeleteInst
      * from the most recently started operation.
      * 
*/ - public void listInstanceConfigOperations(com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listInstanceConfigOperations( + com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest request, + io.grpc.stub.StreamObserver< + com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse> + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListInstanceConfigOperationsMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getListInstanceConfigOperationsMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Lists all instances in the given project.
      * 
*/ - public void listInstances(com.google.spanner.admin.instance.v1.ListInstancesRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listInstances( + com.google.spanner.admin.instance.v1.ListInstancesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListInstancesMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getListInstancesMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Gets information about a particular instance.
      * 
*/ - public void getInstance(com.google.spanner.admin.instance.v1.GetInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void getInstance( + com.google.spanner.admin.instance.v1.GetInstanceRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetInstanceMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getGetInstanceMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Creates an instance and begins preparing it to begin serving. The
      * returned [long-running operation][google.longrunning.Operation]
@@ -1099,13 +1436,18 @@ public void getInstance(com.google.spanner.admin.instance.v1.GetInstanceRequest
      * [Instance][google.spanner.admin.instance.v1.Instance], if successful.
      * 
*/ - public void createInstance(com.google.spanner.admin.instance.v1.CreateInstanceRequest request, + public void createInstance( + com.google.spanner.admin.instance.v1.CreateInstanceRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateInstanceMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getCreateInstanceMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Updates an instance, and begins allocating or releasing resources
      * as requested. The returned [long-running
@@ -1141,13 +1483,18 @@ public void createInstance(com.google.spanner.admin.instance.v1.CreateInstanceRe
      * the resource [name][google.spanner.admin.instance.v1.Instance.name].
      * 
*/ - public void updateInstance(com.google.spanner.admin.instance.v1.UpdateInstanceRequest request, + public void updateInstance( + com.google.spanner.admin.instance.v1.UpdateInstanceRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateInstanceMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getUpdateInstanceMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Deletes an instance.
      * Immediately upon completion of the request:
@@ -1158,13 +1505,18 @@ public void updateInstance(com.google.spanner.admin.instance.v1.UpdateInstanceRe
      *     is permanently deleted.
      * 
*/ - public void deleteInstance(com.google.spanner.admin.instance.v1.DeleteInstanceRequest request, + public void deleteInstance( + com.google.spanner.admin.instance.v1.DeleteInstanceRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteInstanceMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getDeleteInstanceMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Sets the access control policy on an instance resource. Replaces any
      * existing policy.
@@ -1172,13 +1524,18 @@ public void deleteInstance(com.google.spanner.admin.instance.v1.DeleteInstanceRe
      * [resource][google.iam.v1.SetIamPolicyRequest.resource].
      * 
*/ - 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); } /** + * + * *
      * Gets the access control policy for an instance resource. Returns an empty
      * policy if an instance exists but does not have a policy set.
@@ -1186,13 +1543,18 @@ public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request,
      * [resource][google.iam.v1.GetIamPolicyRequest.resource].
      * 
*/ - 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); } /** + * + * *
      * Returns permissions that the caller has on the specified instance resource.
      * Attempting this RPC on a non-existent Cloud Spanner instance resource will
@@ -1201,15 +1563,20 @@ public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request,
      * empty set of permissions.
      * 
*/ - 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 InstanceAdmin. + * *
    * Cloud Spanner Instance Admin API
    * The Cloud Spanner Instance Admin API can be used to create, delete,
@@ -1233,8 +1600,7 @@ public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest reque
    */
   public static final class InstanceAdminBlockingStub
       extends io.grpc.stub.AbstractBlockingStub {
-    private InstanceAdminBlockingStub(
-        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    private InstanceAdminBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       super(channel, callOptions);
     }
 
@@ -1245,26 +1611,34 @@ protected InstanceAdminBlockingStub build(
     }
 
     /**
+     *
+     *
      * 
      * Lists the supported instance configurations for a given project.
      * 
*/ - public com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse listInstanceConfigs(com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest request) { + public com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse listInstanceConfigs( + com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListInstanceConfigsMethod(), getCallOptions(), request); } /** + * + * *
      * Gets information about a particular instance configuration.
      * 
*/ - public com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfig(com.google.spanner.admin.instance.v1.GetInstanceConfigRequest request) { + public com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfig( + com.google.spanner.admin.instance.v1.GetInstanceConfigRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetInstanceConfigMethod(), getCallOptions(), request); } /** + * + * *
      * Creates an instance config and begins preparing it to be used. The
      * returned [long-running operation][google.longrunning.Operation]
@@ -1301,12 +1675,15 @@ public com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfig(com
      * [parent][google.spanner.admin.instance.v1.CreateInstanceConfigRequest.parent].
      * 
*/ - public com.google.longrunning.Operation createInstanceConfig(com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest request) { + public com.google.longrunning.Operation createInstanceConfig( + com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateInstanceConfigMethod(), getCallOptions(), request); } /** + * + * *
      * Updates an instance config. The returned
      * [long-running operation][google.longrunning.Operation] can be used to track
@@ -1345,12 +1722,15 @@ public com.google.longrunning.Operation createInstanceConfig(com.google.spanner.
      * the resource [name][google.spanner.admin.instance.v1.InstanceConfig.name].
      * 
*/ - public com.google.longrunning.Operation updateInstanceConfig(com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest request) { + public com.google.longrunning.Operation updateInstanceConfig( + com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateInstanceConfigMethod(), getCallOptions(), request); } /** + * + * *
      * Deletes the instance config. Deletion is only allowed when no
      * instances are using the configuration. If any instances are using
@@ -1360,12 +1740,15 @@ public com.google.longrunning.Operation updateInstanceConfig(com.google.spanner.
      * the resource [name][google.spanner.admin.instance.v1.InstanceConfig.name].
      * 
*/ - public com.google.protobuf.Empty deleteInstanceConfig(com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest request) { + public com.google.protobuf.Empty deleteInstanceConfig( + com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteInstanceConfigMethod(), getCallOptions(), request); } /** + * + * *
      * Lists the user-managed instance config [long-running
      * operations][google.longrunning.Operation] in the given project. An instance
@@ -1380,32 +1763,42 @@ public com.google.protobuf.Empty deleteInstanceConfig(com.google.spanner.admin.i
      * from the most recently started operation.
      * 
*/ - public com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse listInstanceConfigOperations(com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest request) { + public com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse + listInstanceConfigOperations( + com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListInstanceConfigOperationsMethod(), getCallOptions(), request); } /** + * + * *
      * Lists all instances in the given project.
      * 
*/ - public com.google.spanner.admin.instance.v1.ListInstancesResponse listInstances(com.google.spanner.admin.instance.v1.ListInstancesRequest request) { + public com.google.spanner.admin.instance.v1.ListInstancesResponse listInstances( + com.google.spanner.admin.instance.v1.ListInstancesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListInstancesMethod(), getCallOptions(), request); } /** + * + * *
      * Gets information about a particular instance.
      * 
*/ - public com.google.spanner.admin.instance.v1.Instance getInstance(com.google.spanner.admin.instance.v1.GetInstanceRequest request) { + public com.google.spanner.admin.instance.v1.Instance getInstance( + com.google.spanner.admin.instance.v1.GetInstanceRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetInstanceMethod(), getCallOptions(), request); } /** + * + * *
      * Creates an instance and begins preparing it to begin serving. The
      * returned [long-running operation][google.longrunning.Operation]
@@ -1436,12 +1829,15 @@ public com.google.spanner.admin.instance.v1.Instance getInstance(com.google.span
      * [Instance][google.spanner.admin.instance.v1.Instance], if successful.
      * 
*/ - public com.google.longrunning.Operation createInstance(com.google.spanner.admin.instance.v1.CreateInstanceRequest request) { + public com.google.longrunning.Operation createInstance( + com.google.spanner.admin.instance.v1.CreateInstanceRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateInstanceMethod(), getCallOptions(), request); } /** + * + * *
      * Updates an instance, and begins allocating or releasing resources
      * as requested. The returned [long-running
@@ -1477,12 +1873,15 @@ public com.google.longrunning.Operation createInstance(com.google.spanner.admin.
      * the resource [name][google.spanner.admin.instance.v1.Instance.name].
      * 
*/ - public com.google.longrunning.Operation updateInstance(com.google.spanner.admin.instance.v1.UpdateInstanceRequest request) { + public com.google.longrunning.Operation updateInstance( + com.google.spanner.admin.instance.v1.UpdateInstanceRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateInstanceMethod(), getCallOptions(), request); } /** + * + * *
      * Deletes an instance.
      * Immediately upon completion of the request:
@@ -1493,12 +1892,15 @@ public com.google.longrunning.Operation updateInstance(com.google.spanner.admin.
      *     is permanently deleted.
      * 
*/ - public com.google.protobuf.Empty deleteInstance(com.google.spanner.admin.instance.v1.DeleteInstanceRequest request) { + public com.google.protobuf.Empty deleteInstance( + com.google.spanner.admin.instance.v1.DeleteInstanceRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteInstanceMethod(), getCallOptions(), request); } /** + * + * *
      * Sets the access control policy on an instance resource. Replaces any
      * existing policy.
@@ -1512,6 +1914,8 @@ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyReque
     }
 
     /**
+     *
+     *
      * 
      * Gets the access control policy for an instance resource. Returns an empty
      * policy if an instance exists but does not have a policy set.
@@ -1525,6 +1929,8 @@ public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyReque
     }
 
     /**
+     *
+     *
      * 
      * Returns permissions that the caller has on the specified instance resource.
      * Attempting this RPC on a non-existent Cloud Spanner instance resource will
@@ -1533,7 +1939,8 @@ public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyReque
      * empty set of permissions.
      * 
*/ - 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); } @@ -1541,6 +1948,7 @@ public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.googl /** * A stub to allow clients to do ListenableFuture-style rpc calls to service InstanceAdmin. + * *
    * Cloud Spanner Instance Admin API
    * The Cloud Spanner Instance Admin API can be used to create, delete,
@@ -1564,8 +1972,7 @@ public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.googl
    */
   public static final class InstanceAdminFutureStub
       extends io.grpc.stub.AbstractFutureStub {
-    private InstanceAdminFutureStub(
-        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    private InstanceAdminFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       super(channel, callOptions);
     }
 
@@ -1576,28 +1983,37 @@ protected InstanceAdminFutureStub build(
     }
 
     /**
+     *
+     *
      * 
      * Lists the supported instance configurations for a given project.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture listInstanceConfigs( - com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse> + listInstanceConfigs( + com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListInstanceConfigsMethod(), getCallOptions()), request); } /** + * + * *
      * Gets information about a particular instance configuration.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture getInstanceConfig( - com.google.spanner.admin.instance.v1.GetInstanceConfigRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.spanner.admin.instance.v1.InstanceConfig> + getInstanceConfig(com.google.spanner.admin.instance.v1.GetInstanceConfigRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetInstanceConfigMethod(), getCallOptions()), request); } /** + * + * *
      * Creates an instance config and begins preparing it to be used. The
      * returned [long-running operation][google.longrunning.Operation]
@@ -1634,13 +2050,16 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture createInstanceConfig(
-        com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        createInstanceConfig(
+            com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getCreateInstanceConfigMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Updates an instance config. The returned
      * [long-running operation][google.longrunning.Operation] can be used to track
@@ -1679,13 +2098,16 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture updateInstanceConfig(
-        com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        updateInstanceConfig(
+            com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getUpdateInstanceConfigMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Deletes the instance config. Deletion is only allowed when no
      * instances are using the configuration. If any instances are using
@@ -1695,13 +2117,16 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture deleteInstanceConfig(
-        com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        deleteInstanceConfig(
+            com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getDeleteInstanceConfigMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Lists the user-managed instance config [long-running
      * operations][google.longrunning.Operation] in the given project. An instance
@@ -1716,35 +2141,45 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture listInstanceConfigOperations(
-        com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture<
+            com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse>
+        listInstanceConfigOperations(
+            com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getListInstanceConfigOperationsMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Lists all instances in the given project.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture listInstances( - com.google.spanner.admin.instance.v1.ListInstancesRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.spanner.admin.instance.v1.ListInstancesResponse> + listInstances(com.google.spanner.admin.instance.v1.ListInstancesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListInstancesMethod(), getCallOptions()), request); } /** + * + * *
      * Gets information about a particular instance.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture getInstance( - com.google.spanner.admin.instance.v1.GetInstanceRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.spanner.admin.instance.v1.Instance> + getInstance(com.google.spanner.admin.instance.v1.GetInstanceRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetInstanceMethod(), getCallOptions()), request); } /** + * + * *
      * Creates an instance and begins preparing it to begin serving. The
      * returned [long-running operation][google.longrunning.Operation]
@@ -1775,13 +2210,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture createInstance(
-        com.google.spanner.admin.instance.v1.CreateInstanceRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        createInstance(com.google.spanner.admin.instance.v1.CreateInstanceRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getCreateInstanceMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Updates an instance, and begins allocating or releasing resources
      * as requested. The returned [long-running
@@ -1817,13 +2254,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture updateInstance(
-        com.google.spanner.admin.instance.v1.UpdateInstanceRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        updateInstance(com.google.spanner.admin.instance.v1.UpdateInstanceRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getUpdateInstanceMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Deletes an instance.
      * Immediately upon completion of the request:
@@ -1834,13 +2273,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture deleteInstance(
-        com.google.spanner.admin.instance.v1.DeleteInstanceRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        deleteInstance(com.google.spanner.admin.instance.v1.DeleteInstanceRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getDeleteInstanceMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Sets the access control policy on an instance resource. Replaces any
      * existing policy.
@@ -1848,13 +2289,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    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);
     }
 
     /**
+     *
+     *
      * 
      * Gets the access control policy for an instance resource. Returns an empty
      * policy if an instance exists but does not have a policy set.
@@ -1862,13 +2305,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    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);
     }
 
     /**
+     *
+     *
      * 
      * Returns permissions that the caller has on the specified instance resource.
      * Attempting this RPC on a non-existent Cloud Spanner instance resource will
@@ -1877,8 +2322,9 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    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);
     }
@@ -1899,11 +2345,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;
 
@@ -1917,60 +2363,83 @@ private static final class MethodHandlers implements
     public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) {
       switch (methodId) {
         case METHODID_LIST_INSTANCE_CONFIGS:
-          serviceImpl.listInstanceConfigs((com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.listInstanceConfigs(
+              (com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest) request,
+              (io.grpc.stub.StreamObserver<
+                      com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse>)
+                  responseObserver);
           break;
         case METHODID_GET_INSTANCE_CONFIG:
-          serviceImpl.getInstanceConfig((com.google.spanner.admin.instance.v1.GetInstanceConfigRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.getInstanceConfig(
+              (com.google.spanner.admin.instance.v1.GetInstanceConfigRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_CREATE_INSTANCE_CONFIG:
-          serviceImpl.createInstanceConfig((com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest) request,
+          serviceImpl.createInstanceConfig(
+              (com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_UPDATE_INSTANCE_CONFIG:
-          serviceImpl.updateInstanceConfig((com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest) request,
+          serviceImpl.updateInstanceConfig(
+              (com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_DELETE_INSTANCE_CONFIG:
-          serviceImpl.deleteInstanceConfig((com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest) request,
+          serviceImpl.deleteInstanceConfig(
+              (com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_LIST_INSTANCE_CONFIG_OPERATIONS:
-          serviceImpl.listInstanceConfigOperations((com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.listInstanceConfigOperations(
+              (com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest) request,
+              (io.grpc.stub.StreamObserver<
+                      com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse>)
+                  responseObserver);
           break;
         case METHODID_LIST_INSTANCES:
-          serviceImpl.listInstances((com.google.spanner.admin.instance.v1.ListInstancesRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.listInstances(
+              (com.google.spanner.admin.instance.v1.ListInstancesRequest) request,
+              (io.grpc.stub.StreamObserver<
+                      com.google.spanner.admin.instance.v1.ListInstancesResponse>)
+                  responseObserver);
           break;
         case METHODID_GET_INSTANCE:
-          serviceImpl.getInstance((com.google.spanner.admin.instance.v1.GetInstanceRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.getInstance(
+              (com.google.spanner.admin.instance.v1.GetInstanceRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_CREATE_INSTANCE:
-          serviceImpl.createInstance((com.google.spanner.admin.instance.v1.CreateInstanceRequest) request,
+          serviceImpl.createInstance(
+              (com.google.spanner.admin.instance.v1.CreateInstanceRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_UPDATE_INSTANCE:
-          serviceImpl.updateInstance((com.google.spanner.admin.instance.v1.UpdateInstanceRequest) request,
+          serviceImpl.updateInstance(
+              (com.google.spanner.admin.instance.v1.UpdateInstanceRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_DELETE_INSTANCE:
-          serviceImpl.deleteInstance((com.google.spanner.admin.instance.v1.DeleteInstanceRequest) request,
+          serviceImpl.deleteInstance(
+              (com.google.spanner.admin.instance.v1.DeleteInstanceRequest) 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_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_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();
@@ -1991,108 +2460,98 @@ public io.grpc.stub.StreamObserver invoke(
   public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) {
     return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
         .addMethod(
-          getListInstanceConfigsMethod(),
-          io.grpc.stub.ServerCalls.asyncUnaryCall(
-            new MethodHandlers<
-              com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest,
-              com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse>(
-                service, METHODID_LIST_INSTANCE_CONFIGS)))
+            getListInstanceConfigsMethod(),
+            io.grpc.stub.ServerCalls.asyncUnaryCall(
+                new MethodHandlers<
+                    com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest,
+                    com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse>(
+                    service, METHODID_LIST_INSTANCE_CONFIGS)))
         .addMethod(
-          getGetInstanceConfigMethod(),
-          io.grpc.stub.ServerCalls.asyncUnaryCall(
-            new MethodHandlers<
-              com.google.spanner.admin.instance.v1.GetInstanceConfigRequest,
-              com.google.spanner.admin.instance.v1.InstanceConfig>(
-                service, METHODID_GET_INSTANCE_CONFIG)))
+            getGetInstanceConfigMethod(),
+            io.grpc.stub.ServerCalls.asyncUnaryCall(
+                new MethodHandlers<
+                    com.google.spanner.admin.instance.v1.GetInstanceConfigRequest,
+                    com.google.spanner.admin.instance.v1.InstanceConfig>(
+                    service, METHODID_GET_INSTANCE_CONFIG)))
         .addMethod(
-          getCreateInstanceConfigMethod(),
-          io.grpc.stub.ServerCalls.asyncUnaryCall(
-            new MethodHandlers<
-              com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest,
-              com.google.longrunning.Operation>(
-                service, METHODID_CREATE_INSTANCE_CONFIG)))
+            getCreateInstanceConfigMethod(),
+            io.grpc.stub.ServerCalls.asyncUnaryCall(
+                new MethodHandlers<
+                    com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest,
+                    com.google.longrunning.Operation>(service, METHODID_CREATE_INSTANCE_CONFIG)))
         .addMethod(
-          getUpdateInstanceConfigMethod(),
-          io.grpc.stub.ServerCalls.asyncUnaryCall(
-            new MethodHandlers<
-              com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest,
-              com.google.longrunning.Operation>(
-                service, METHODID_UPDATE_INSTANCE_CONFIG)))
+            getUpdateInstanceConfigMethod(),
+            io.grpc.stub.ServerCalls.asyncUnaryCall(
+                new MethodHandlers<
+                    com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest,
+                    com.google.longrunning.Operation>(service, METHODID_UPDATE_INSTANCE_CONFIG)))
         .addMethod(
-          getDeleteInstanceConfigMethod(),
-          io.grpc.stub.ServerCalls.asyncUnaryCall(
-            new MethodHandlers<
-              com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest,
-              com.google.protobuf.Empty>(
-                service, METHODID_DELETE_INSTANCE_CONFIG)))
+            getDeleteInstanceConfigMethod(),
+            io.grpc.stub.ServerCalls.asyncUnaryCall(
+                new MethodHandlers<
+                    com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest,
+                    com.google.protobuf.Empty>(service, METHODID_DELETE_INSTANCE_CONFIG)))
         .addMethod(
-          getListInstanceConfigOperationsMethod(),
-          io.grpc.stub.ServerCalls.asyncUnaryCall(
-            new MethodHandlers<
-              com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest,
-              com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse>(
-                service, METHODID_LIST_INSTANCE_CONFIG_OPERATIONS)))
+            getListInstanceConfigOperationsMethod(),
+            io.grpc.stub.ServerCalls.asyncUnaryCall(
+                new MethodHandlers<
+                    com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest,
+                    com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse>(
+                    service, METHODID_LIST_INSTANCE_CONFIG_OPERATIONS)))
         .addMethod(
-          getListInstancesMethod(),
-          io.grpc.stub.ServerCalls.asyncUnaryCall(
-            new MethodHandlers<
-              com.google.spanner.admin.instance.v1.ListInstancesRequest,
-              com.google.spanner.admin.instance.v1.ListInstancesResponse>(
-                service, METHODID_LIST_INSTANCES)))
+            getListInstancesMethod(),
+            io.grpc.stub.ServerCalls.asyncUnaryCall(
+                new MethodHandlers<
+                    com.google.spanner.admin.instance.v1.ListInstancesRequest,
+                    com.google.spanner.admin.instance.v1.ListInstancesResponse>(
+                    service, METHODID_LIST_INSTANCES)))
         .addMethod(
-          getGetInstanceMethod(),
-          io.grpc.stub.ServerCalls.asyncUnaryCall(
-            new MethodHandlers<
-              com.google.spanner.admin.instance.v1.GetInstanceRequest,
-              com.google.spanner.admin.instance.v1.Instance>(
-                service, METHODID_GET_INSTANCE)))
+            getGetInstanceMethod(),
+            io.grpc.stub.ServerCalls.asyncUnaryCall(
+                new MethodHandlers<
+                    com.google.spanner.admin.instance.v1.GetInstanceRequest,
+                    com.google.spanner.admin.instance.v1.Instance>(service, METHODID_GET_INSTANCE)))
         .addMethod(
-          getCreateInstanceMethod(),
-          io.grpc.stub.ServerCalls.asyncUnaryCall(
-            new MethodHandlers<
-              com.google.spanner.admin.instance.v1.CreateInstanceRequest,
-              com.google.longrunning.Operation>(
-                service, METHODID_CREATE_INSTANCE)))
+            getCreateInstanceMethod(),
+            io.grpc.stub.ServerCalls.asyncUnaryCall(
+                new MethodHandlers<
+                    com.google.spanner.admin.instance.v1.CreateInstanceRequest,
+                    com.google.longrunning.Operation>(service, METHODID_CREATE_INSTANCE)))
         .addMethod(
-          getUpdateInstanceMethod(),
-          io.grpc.stub.ServerCalls.asyncUnaryCall(
-            new MethodHandlers<
-              com.google.spanner.admin.instance.v1.UpdateInstanceRequest,
-              com.google.longrunning.Operation>(
-                service, METHODID_UPDATE_INSTANCE)))
+            getUpdateInstanceMethod(),
+            io.grpc.stub.ServerCalls.asyncUnaryCall(
+                new MethodHandlers<
+                    com.google.spanner.admin.instance.v1.UpdateInstanceRequest,
+                    com.google.longrunning.Operation>(service, METHODID_UPDATE_INSTANCE)))
         .addMethod(
-          getDeleteInstanceMethod(),
-          io.grpc.stub.ServerCalls.asyncUnaryCall(
-            new MethodHandlers<
-              com.google.spanner.admin.instance.v1.DeleteInstanceRequest,
-              com.google.protobuf.Empty>(
-                service, METHODID_DELETE_INSTANCE)))
+            getDeleteInstanceMethod(),
+            io.grpc.stub.ServerCalls.asyncUnaryCall(
+                new MethodHandlers<
+                    com.google.spanner.admin.instance.v1.DeleteInstanceRequest,
+                    com.google.protobuf.Empty>(service, METHODID_DELETE_INSTANCE)))
         .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(
-          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(
-          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 InstanceAdminBaseDescriptorSupplier
-      implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier {
+  private abstract static class InstanceAdminBaseDescriptorSupplier
+      implements io.grpc.protobuf.ProtoFileDescriptorSupplier,
+          io.grpc.protobuf.ProtoServiceDescriptorSupplier {
     InstanceAdminBaseDescriptorSupplier() {}
 
     @java.lang.Override
@@ -2134,23 +2593,25 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() {
       synchronized (InstanceAdminGrpc.class) {
         result = serviceDescriptor;
         if (result == null) {
-          serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
-              .setSchemaDescriptor(new InstanceAdminFileDescriptorSupplier())
-              .addMethod(getListInstanceConfigsMethod())
-              .addMethod(getGetInstanceConfigMethod())
-              .addMethod(getCreateInstanceConfigMethod())
-              .addMethod(getUpdateInstanceConfigMethod())
-              .addMethod(getDeleteInstanceConfigMethod())
-              .addMethod(getListInstanceConfigOperationsMethod())
-              .addMethod(getListInstancesMethod())
-              .addMethod(getGetInstanceMethod())
-              .addMethod(getCreateInstanceMethod())
-              .addMethod(getUpdateInstanceMethod())
-              .addMethod(getDeleteInstanceMethod())
-              .addMethod(getSetIamPolicyMethod())
-              .addMethod(getGetIamPolicyMethod())
-              .addMethod(getTestIamPermissionsMethod())
-              .build();
+          serviceDescriptor =
+              result =
+                  io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
+                      .setSchemaDescriptor(new InstanceAdminFileDescriptorSupplier())
+                      .addMethod(getListInstanceConfigsMethod())
+                      .addMethod(getGetInstanceConfigMethod())
+                      .addMethod(getCreateInstanceConfigMethod())
+                      .addMethod(getUpdateInstanceConfigMethod())
+                      .addMethod(getDeleteInstanceConfigMethod())
+                      .addMethod(getListInstanceConfigOperationsMethod())
+                      .addMethod(getListInstancesMethod())
+                      .addMethod(getGetInstanceMethod())
+                      .addMethod(getCreateInstanceMethod())
+                      .addMethod(getUpdateInstanceMethod())
+                      .addMethod(getDeleteInstanceMethod())
+                      .addMethod(getSetIamPolicyMethod())
+                      .addMethod(getGetIamPolicyMethod())
+                      .addMethod(getTestIamPermissionsMethod())
+                      .build();
         }
       }
     }
diff --git a/owl-bot-staging/v1/grpc-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SpannerGrpc.java b/grpc-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SpannerGrpc.java
similarity index 59%
rename from owl-bot-staging/v1/grpc-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SpannerGrpc.java
rename to grpc-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SpannerGrpc.java
index 4310bc687c6..59ab44cc122 100644
--- a/owl-bot-staging/v1/grpc-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SpannerGrpc.java
+++ b/grpc-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SpannerGrpc.java
@@ -1,8 +1,25 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT 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.spanner.v1;
 
 import static io.grpc.MethodDescriptor.generateFullMethodName;
 
 /**
+ *
+ *
  * 
  * Cloud Spanner API
  * The Cloud Spanner API can be used to manage sessions and execute
@@ -20,516 +37,664 @@ private SpannerGrpc() {}
   public static final String SERVICE_NAME = "google.spanner.v1.Spanner";
 
   // Static method descriptors that strictly reflect the proto.
-  private static volatile io.grpc.MethodDescriptor getCreateSessionMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.spanner.v1.CreateSessionRequest, com.google.spanner.v1.Session>
+      getCreateSessionMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateSession",
       requestType = com.google.spanner.v1.CreateSessionRequest.class,
       responseType = com.google.spanner.v1.Session.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getCreateSessionMethod() {
-    io.grpc.MethodDescriptor getCreateSessionMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.spanner.v1.CreateSessionRequest, com.google.spanner.v1.Session>
+      getCreateSessionMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.spanner.v1.CreateSessionRequest, com.google.spanner.v1.Session>
+        getCreateSessionMethod;
     if ((getCreateSessionMethod = SpannerGrpc.getCreateSessionMethod) == null) {
       synchronized (SpannerGrpc.class) {
         if ((getCreateSessionMethod = SpannerGrpc.getCreateSessionMethod) == null) {
-          SpannerGrpc.getCreateSessionMethod = getCreateSessionMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateSession"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.spanner.v1.CreateSessionRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.spanner.v1.Session.getDefaultInstance()))
-              .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("CreateSession"))
-              .build();
+          SpannerGrpc.getCreateSessionMethod =
+              getCreateSessionMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateSession"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.spanner.v1.CreateSessionRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.spanner.v1.Session.getDefaultInstance()))
+                      .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("CreateSession"))
+                      .build();
         }
       }
     }
     return getCreateSessionMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getBatchCreateSessionsMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.spanner.v1.BatchCreateSessionsRequest,
+          com.google.spanner.v1.BatchCreateSessionsResponse>
+      getBatchCreateSessionsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "BatchCreateSessions",
       requestType = com.google.spanner.v1.BatchCreateSessionsRequest.class,
       responseType = com.google.spanner.v1.BatchCreateSessionsResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getBatchCreateSessionsMethod() {
-    io.grpc.MethodDescriptor getBatchCreateSessionsMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.spanner.v1.BatchCreateSessionsRequest,
+          com.google.spanner.v1.BatchCreateSessionsResponse>
+      getBatchCreateSessionsMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.spanner.v1.BatchCreateSessionsRequest,
+            com.google.spanner.v1.BatchCreateSessionsResponse>
+        getBatchCreateSessionsMethod;
     if ((getBatchCreateSessionsMethod = SpannerGrpc.getBatchCreateSessionsMethod) == null) {
       synchronized (SpannerGrpc.class) {
         if ((getBatchCreateSessionsMethod = SpannerGrpc.getBatchCreateSessionsMethod) == null) {
-          SpannerGrpc.getBatchCreateSessionsMethod = getBatchCreateSessionsMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchCreateSessions"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.spanner.v1.BatchCreateSessionsRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.spanner.v1.BatchCreateSessionsResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("BatchCreateSessions"))
-              .build();
+          SpannerGrpc.getBatchCreateSessionsMethod =
+              getBatchCreateSessionsMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(
+                          generateFullMethodName(SERVICE_NAME, "BatchCreateSessions"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.spanner.v1.BatchCreateSessionsRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.spanner.v1.BatchCreateSessionsResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new SpannerMethodDescriptorSupplier("BatchCreateSessions"))
+                      .build();
         }
       }
     }
     return getBatchCreateSessionsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getGetSessionMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.spanner.v1.GetSessionRequest, com.google.spanner.v1.Session>
+      getGetSessionMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetSession",
       requestType = com.google.spanner.v1.GetSessionRequest.class,
       responseType = com.google.spanner.v1.Session.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getGetSessionMethod() {
-    io.grpc.MethodDescriptor getGetSessionMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.spanner.v1.GetSessionRequest, com.google.spanner.v1.Session>
+      getGetSessionMethod() {
+    io.grpc.MethodDescriptor
+        getGetSessionMethod;
     if ((getGetSessionMethod = SpannerGrpc.getGetSessionMethod) == null) {
       synchronized (SpannerGrpc.class) {
         if ((getGetSessionMethod = SpannerGrpc.getGetSessionMethod) == null) {
-          SpannerGrpc.getGetSessionMethod = getGetSessionMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetSession"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.spanner.v1.GetSessionRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.spanner.v1.Session.getDefaultInstance()))
-              .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("GetSession"))
-              .build();
+          SpannerGrpc.getGetSessionMethod =
+              getGetSessionMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetSession"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.spanner.v1.GetSessionRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.spanner.v1.Session.getDefaultInstance()))
+                      .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("GetSession"))
+                      .build();
         }
       }
     }
     return getGetSessionMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getListSessionsMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.spanner.v1.ListSessionsRequest, com.google.spanner.v1.ListSessionsResponse>
+      getListSessionsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListSessions",
       requestType = com.google.spanner.v1.ListSessionsRequest.class,
       responseType = com.google.spanner.v1.ListSessionsResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getListSessionsMethod() {
-    io.grpc.MethodDescriptor getListSessionsMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.spanner.v1.ListSessionsRequest, com.google.spanner.v1.ListSessionsResponse>
+      getListSessionsMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.spanner.v1.ListSessionsRequest, com.google.spanner.v1.ListSessionsResponse>
+        getListSessionsMethod;
     if ((getListSessionsMethod = SpannerGrpc.getListSessionsMethod) == null) {
       synchronized (SpannerGrpc.class) {
         if ((getListSessionsMethod = SpannerGrpc.getListSessionsMethod) == null) {
-          SpannerGrpc.getListSessionsMethod = getListSessionsMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListSessions"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.spanner.v1.ListSessionsRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.spanner.v1.ListSessionsResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("ListSessions"))
-              .build();
+          SpannerGrpc.getListSessionsMethod =
+              getListSessionsMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListSessions"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.spanner.v1.ListSessionsRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.spanner.v1.ListSessionsResponse.getDefaultInstance()))
+                      .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("ListSessions"))
+                      .build();
         }
       }
     }
     return getListSessionsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getDeleteSessionMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.spanner.v1.DeleteSessionRequest, com.google.protobuf.Empty>
+      getDeleteSessionMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteSession",
       requestType = com.google.spanner.v1.DeleteSessionRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getDeleteSessionMethod() {
-    io.grpc.MethodDescriptor getDeleteSessionMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.spanner.v1.DeleteSessionRequest, com.google.protobuf.Empty>
+      getDeleteSessionMethod() {
+    io.grpc.MethodDescriptor
+        getDeleteSessionMethod;
     if ((getDeleteSessionMethod = SpannerGrpc.getDeleteSessionMethod) == null) {
       synchronized (SpannerGrpc.class) {
         if ((getDeleteSessionMethod = SpannerGrpc.getDeleteSessionMethod) == null) {
-          SpannerGrpc.getDeleteSessionMethod = getDeleteSessionMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteSession"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.spanner.v1.DeleteSessionRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.protobuf.Empty.getDefaultInstance()))
-              .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("DeleteSession"))
-              .build();
+          SpannerGrpc.getDeleteSessionMethod =
+              getDeleteSessionMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteSession"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.spanner.v1.DeleteSessionRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.protobuf.Empty.getDefaultInstance()))
+                      .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("DeleteSession"))
+                      .build();
         }
       }
     }
     return getDeleteSessionMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getExecuteSqlMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.spanner.v1.ExecuteSqlRequest, com.google.spanner.v1.ResultSet>
+      getExecuteSqlMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ExecuteSql",
       requestType = com.google.spanner.v1.ExecuteSqlRequest.class,
       responseType = com.google.spanner.v1.ResultSet.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getExecuteSqlMethod() {
-    io.grpc.MethodDescriptor getExecuteSqlMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.spanner.v1.ExecuteSqlRequest, com.google.spanner.v1.ResultSet>
+      getExecuteSqlMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.spanner.v1.ExecuteSqlRequest, com.google.spanner.v1.ResultSet>
+        getExecuteSqlMethod;
     if ((getExecuteSqlMethod = SpannerGrpc.getExecuteSqlMethod) == null) {
       synchronized (SpannerGrpc.class) {
         if ((getExecuteSqlMethod = SpannerGrpc.getExecuteSqlMethod) == null) {
-          SpannerGrpc.getExecuteSqlMethod = getExecuteSqlMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExecuteSql"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.spanner.v1.ExecuteSqlRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.spanner.v1.ResultSet.getDefaultInstance()))
-              .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("ExecuteSql"))
-              .build();
+          SpannerGrpc.getExecuteSqlMethod =
+              getExecuteSqlMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExecuteSql"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.spanner.v1.ExecuteSqlRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.spanner.v1.ResultSet.getDefaultInstance()))
+                      .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("ExecuteSql"))
+                      .build();
         }
       }
     }
     return getExecuteSqlMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getExecuteStreamingSqlMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.spanner.v1.ExecuteSqlRequest, com.google.spanner.v1.PartialResultSet>
+      getExecuteStreamingSqlMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ExecuteStreamingSql",
       requestType = com.google.spanner.v1.ExecuteSqlRequest.class,
       responseType = com.google.spanner.v1.PartialResultSet.class,
       methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
-  public static io.grpc.MethodDescriptor getExecuteStreamingSqlMethod() {
-    io.grpc.MethodDescriptor getExecuteStreamingSqlMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.spanner.v1.ExecuteSqlRequest, com.google.spanner.v1.PartialResultSet>
+      getExecuteStreamingSqlMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.spanner.v1.ExecuteSqlRequest, com.google.spanner.v1.PartialResultSet>
+        getExecuteStreamingSqlMethod;
     if ((getExecuteStreamingSqlMethod = SpannerGrpc.getExecuteStreamingSqlMethod) == null) {
       synchronized (SpannerGrpc.class) {
         if ((getExecuteStreamingSqlMethod = SpannerGrpc.getExecuteStreamingSqlMethod) == null) {
-          SpannerGrpc.getExecuteStreamingSqlMethod = getExecuteStreamingSqlMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExecuteStreamingSql"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.spanner.v1.ExecuteSqlRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.spanner.v1.PartialResultSet.getDefaultInstance()))
-              .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("ExecuteStreamingSql"))
-              .build();
+          SpannerGrpc.getExecuteStreamingSqlMethod =
+              getExecuteStreamingSqlMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
+                      .setFullMethodName(
+                          generateFullMethodName(SERVICE_NAME, "ExecuteStreamingSql"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.spanner.v1.ExecuteSqlRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.spanner.v1.PartialResultSet.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new SpannerMethodDescriptorSupplier("ExecuteStreamingSql"))
+                      .build();
         }
       }
     }
     return getExecuteStreamingSqlMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getExecuteBatchDmlMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.spanner.v1.ExecuteBatchDmlRequest,
+          com.google.spanner.v1.ExecuteBatchDmlResponse>
+      getExecuteBatchDmlMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ExecuteBatchDml",
       requestType = com.google.spanner.v1.ExecuteBatchDmlRequest.class,
       responseType = com.google.spanner.v1.ExecuteBatchDmlResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getExecuteBatchDmlMethod() {
-    io.grpc.MethodDescriptor getExecuteBatchDmlMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.spanner.v1.ExecuteBatchDmlRequest,
+          com.google.spanner.v1.ExecuteBatchDmlResponse>
+      getExecuteBatchDmlMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.spanner.v1.ExecuteBatchDmlRequest,
+            com.google.spanner.v1.ExecuteBatchDmlResponse>
+        getExecuteBatchDmlMethod;
     if ((getExecuteBatchDmlMethod = SpannerGrpc.getExecuteBatchDmlMethod) == null) {
       synchronized (SpannerGrpc.class) {
         if ((getExecuteBatchDmlMethod = SpannerGrpc.getExecuteBatchDmlMethod) == null) {
-          SpannerGrpc.getExecuteBatchDmlMethod = getExecuteBatchDmlMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExecuteBatchDml"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.spanner.v1.ExecuteBatchDmlRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.spanner.v1.ExecuteBatchDmlResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("ExecuteBatchDml"))
-              .build();
+          SpannerGrpc.getExecuteBatchDmlMethod =
+              getExecuteBatchDmlMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExecuteBatchDml"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.spanner.v1.ExecuteBatchDmlRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.spanner.v1.ExecuteBatchDmlResponse.getDefaultInstance()))
+                      .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("ExecuteBatchDml"))
+                      .build();
         }
       }
     }
     return getExecuteBatchDmlMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getReadMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.spanner.v1.ReadRequest, com.google.spanner.v1.ResultSet>
+      getReadMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "Read",
       requestType = com.google.spanner.v1.ReadRequest.class,
       responseType = com.google.spanner.v1.ResultSet.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getReadMethod() {
-    io.grpc.MethodDescriptor getReadMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.spanner.v1.ReadRequest, com.google.spanner.v1.ResultSet>
+      getReadMethod() {
+    io.grpc.MethodDescriptor
+        getReadMethod;
     if ((getReadMethod = SpannerGrpc.getReadMethod) == null) {
       synchronized (SpannerGrpc.class) {
         if ((getReadMethod = SpannerGrpc.getReadMethod) == null) {
-          SpannerGrpc.getReadMethod = getReadMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Read"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.spanner.v1.ReadRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.spanner.v1.ResultSet.getDefaultInstance()))
-              .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("Read"))
-              .build();
+          SpannerGrpc.getReadMethod =
+              getReadMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Read"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.spanner.v1.ReadRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.spanner.v1.ResultSet.getDefaultInstance()))
+                      .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("Read"))
+                      .build();
         }
       }
     }
     return getReadMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getStreamingReadMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.spanner.v1.ReadRequest, com.google.spanner.v1.PartialResultSet>
+      getStreamingReadMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "StreamingRead",
       requestType = com.google.spanner.v1.ReadRequest.class,
       responseType = com.google.spanner.v1.PartialResultSet.class,
       methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
-  public static io.grpc.MethodDescriptor getStreamingReadMethod() {
-    io.grpc.MethodDescriptor getStreamingReadMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.spanner.v1.ReadRequest, com.google.spanner.v1.PartialResultSet>
+      getStreamingReadMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.spanner.v1.ReadRequest, com.google.spanner.v1.PartialResultSet>
+        getStreamingReadMethod;
     if ((getStreamingReadMethod = SpannerGrpc.getStreamingReadMethod) == null) {
       synchronized (SpannerGrpc.class) {
         if ((getStreamingReadMethod = SpannerGrpc.getStreamingReadMethod) == null) {
-          SpannerGrpc.getStreamingReadMethod = getStreamingReadMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StreamingRead"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.spanner.v1.ReadRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.spanner.v1.PartialResultSet.getDefaultInstance()))
-              .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("StreamingRead"))
-              .build();
+          SpannerGrpc.getStreamingReadMethod =
+              getStreamingReadMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StreamingRead"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.spanner.v1.ReadRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.spanner.v1.PartialResultSet.getDefaultInstance()))
+                      .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("StreamingRead"))
+                      .build();
         }
       }
     }
     return getStreamingReadMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getBeginTransactionMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.spanner.v1.BeginTransactionRequest, com.google.spanner.v1.Transaction>
+      getBeginTransactionMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "BeginTransaction",
       requestType = com.google.spanner.v1.BeginTransactionRequest.class,
       responseType = com.google.spanner.v1.Transaction.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getBeginTransactionMethod() {
-    io.grpc.MethodDescriptor getBeginTransactionMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.spanner.v1.BeginTransactionRequest, com.google.spanner.v1.Transaction>
+      getBeginTransactionMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.spanner.v1.BeginTransactionRequest, com.google.spanner.v1.Transaction>
+        getBeginTransactionMethod;
     if ((getBeginTransactionMethod = SpannerGrpc.getBeginTransactionMethod) == null) {
       synchronized (SpannerGrpc.class) {
         if ((getBeginTransactionMethod = SpannerGrpc.getBeginTransactionMethod) == null) {
-          SpannerGrpc.getBeginTransactionMethod = getBeginTransactionMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BeginTransaction"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.spanner.v1.BeginTransactionRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.spanner.v1.Transaction.getDefaultInstance()))
-              .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("BeginTransaction"))
-              .build();
+          SpannerGrpc.getBeginTransactionMethod =
+              getBeginTransactionMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BeginTransaction"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.spanner.v1.BeginTransactionRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.spanner.v1.Transaction.getDefaultInstance()))
+                      .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("BeginTransaction"))
+                      .build();
         }
       }
     }
     return getBeginTransactionMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getCommitMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.spanner.v1.CommitRequest, com.google.spanner.v1.CommitResponse>
+      getCommitMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "Commit",
       requestType = com.google.spanner.v1.CommitRequest.class,
       responseType = com.google.spanner.v1.CommitResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getCommitMethod() {
-    io.grpc.MethodDescriptor getCommitMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.spanner.v1.CommitRequest, com.google.spanner.v1.CommitResponse>
+      getCommitMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.spanner.v1.CommitRequest, com.google.spanner.v1.CommitResponse>
+        getCommitMethod;
     if ((getCommitMethod = SpannerGrpc.getCommitMethod) == null) {
       synchronized (SpannerGrpc.class) {
         if ((getCommitMethod = SpannerGrpc.getCommitMethod) == null) {
-          SpannerGrpc.getCommitMethod = getCommitMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Commit"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.spanner.v1.CommitRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.spanner.v1.CommitResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("Commit"))
-              .build();
+          SpannerGrpc.getCommitMethod =
+              getCommitMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Commit"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.spanner.v1.CommitRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.spanner.v1.CommitResponse.getDefaultInstance()))
+                      .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("Commit"))
+                      .build();
         }
       }
     }
     return getCommitMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getRollbackMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.spanner.v1.RollbackRequest, com.google.protobuf.Empty>
+      getRollbackMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "Rollback",
       requestType = com.google.spanner.v1.RollbackRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getRollbackMethod() {
-    io.grpc.MethodDescriptor getRollbackMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.spanner.v1.RollbackRequest, com.google.protobuf.Empty>
+      getRollbackMethod() {
+    io.grpc.MethodDescriptor
+        getRollbackMethod;
     if ((getRollbackMethod = SpannerGrpc.getRollbackMethod) == null) {
       synchronized (SpannerGrpc.class) {
         if ((getRollbackMethod = SpannerGrpc.getRollbackMethod) == null) {
-          SpannerGrpc.getRollbackMethod = getRollbackMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Rollback"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.spanner.v1.RollbackRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.protobuf.Empty.getDefaultInstance()))
-              .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("Rollback"))
-              .build();
+          SpannerGrpc.getRollbackMethod =
+              getRollbackMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Rollback"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.spanner.v1.RollbackRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.protobuf.Empty.getDefaultInstance()))
+                      .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("Rollback"))
+                      .build();
         }
       }
     }
     return getRollbackMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getPartitionQueryMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.spanner.v1.PartitionQueryRequest, com.google.spanner.v1.PartitionResponse>
+      getPartitionQueryMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "PartitionQuery",
       requestType = com.google.spanner.v1.PartitionQueryRequest.class,
       responseType = com.google.spanner.v1.PartitionResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getPartitionQueryMethod() {
-    io.grpc.MethodDescriptor getPartitionQueryMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.spanner.v1.PartitionQueryRequest, com.google.spanner.v1.PartitionResponse>
+      getPartitionQueryMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.spanner.v1.PartitionQueryRequest, com.google.spanner.v1.PartitionResponse>
+        getPartitionQueryMethod;
     if ((getPartitionQueryMethod = SpannerGrpc.getPartitionQueryMethod) == null) {
       synchronized (SpannerGrpc.class) {
         if ((getPartitionQueryMethod = SpannerGrpc.getPartitionQueryMethod) == null) {
-          SpannerGrpc.getPartitionQueryMethod = getPartitionQueryMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PartitionQuery"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.spanner.v1.PartitionQueryRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.spanner.v1.PartitionResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("PartitionQuery"))
-              .build();
+          SpannerGrpc.getPartitionQueryMethod =
+              getPartitionQueryMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PartitionQuery"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.spanner.v1.PartitionQueryRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.spanner.v1.PartitionResponse.getDefaultInstance()))
+                      .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("PartitionQuery"))
+                      .build();
         }
       }
     }
     return getPartitionQueryMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getPartitionReadMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.spanner.v1.PartitionReadRequest, com.google.spanner.v1.PartitionResponse>
+      getPartitionReadMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "PartitionRead",
       requestType = com.google.spanner.v1.PartitionReadRequest.class,
       responseType = com.google.spanner.v1.PartitionResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getPartitionReadMethod() {
-    io.grpc.MethodDescriptor getPartitionReadMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.spanner.v1.PartitionReadRequest, com.google.spanner.v1.PartitionResponse>
+      getPartitionReadMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.spanner.v1.PartitionReadRequest, com.google.spanner.v1.PartitionResponse>
+        getPartitionReadMethod;
     if ((getPartitionReadMethod = SpannerGrpc.getPartitionReadMethod) == null) {
       synchronized (SpannerGrpc.class) {
         if ((getPartitionReadMethod = SpannerGrpc.getPartitionReadMethod) == null) {
-          SpannerGrpc.getPartitionReadMethod = getPartitionReadMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PartitionRead"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.spanner.v1.PartitionReadRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.spanner.v1.PartitionResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("PartitionRead"))
-              .build();
+          SpannerGrpc.getPartitionReadMethod =
+              getPartitionReadMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PartitionRead"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.spanner.v1.PartitionReadRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.spanner.v1.PartitionResponse.getDefaultInstance()))
+                      .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("PartitionRead"))
+                      .build();
         }
       }
     }
     return getPartitionReadMethod;
   }
 
-  /**
-   * 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 SpannerStub newStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public SpannerStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new SpannerStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public SpannerStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new SpannerStub(channel, callOptions);
+          }
+        };
     return SpannerStub.newStub(factory, channel);
   }
 
   /**
    * Creates a new blocking-style stub that supports unary and streaming output calls on the service
    */
-  public static SpannerBlockingStub newBlockingStub(
-      io.grpc.Channel channel) {
+  public static SpannerBlockingStub newBlockingStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public SpannerBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new SpannerBlockingStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public SpannerBlockingStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new SpannerBlockingStub(channel, callOptions);
+          }
+        };
     return SpannerBlockingStub.newStub(factory, channel);
   }
 
-  /**
-   * Creates a new ListenableFuture-style stub that supports unary calls on the service
-   */
-  public static SpannerFutureStub newFutureStub(
-      io.grpc.Channel channel) {
+  /** Creates a new ListenableFuture-style stub that supports unary calls on the service */
+  public static SpannerFutureStub newFutureStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public SpannerFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new SpannerFutureStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public SpannerFutureStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new SpannerFutureStub(channel, callOptions);
+          }
+        };
     return SpannerFutureStub.newStub(factory, channel);
   }
 
   /**
+   *
+   *
    * 
    * Cloud Spanner API
    * The Cloud Spanner API can be used to manage sessions and execute
@@ -539,6 +704,8 @@ public SpannerFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions ca
   public interface AsyncService {
 
     /**
+     *
+     *
      * 
      * Creates a new session. A session can be used to perform
      * transactions that read and/or modify data in a Cloud Spanner database.
@@ -558,58 +725,78 @@ public interface AsyncService {
      * periodically, e.g., `"SELECT 1"`.
      * 
*/ - default void createSession(com.google.spanner.v1.CreateSessionRequest request, + default void createSession( + com.google.spanner.v1.CreateSessionRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateSessionMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateSessionMethod(), responseObserver); } /** + * + * *
      * Creates multiple new sessions.
      * This API can be used to initialize a session cache on the clients.
      * See https://goo.gl/TgSFN2 for best practices on session cache management.
      * 
*/ - default void batchCreateSessions(com.google.spanner.v1.BatchCreateSessionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchCreateSessionsMethod(), responseObserver); + default void batchCreateSessions( + com.google.spanner.v1.BatchCreateSessionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getBatchCreateSessionsMethod(), responseObserver); } /** + * + * *
      * Gets a session. Returns `NOT_FOUND` if the session does not exist.
      * This is mainly useful for determining whether a session is still
      * alive.
      * 
*/ - default void getSession(com.google.spanner.v1.GetSessionRequest request, + default void getSession( + com.google.spanner.v1.GetSessionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetSessionMethod(), responseObserver); } /** + * + * *
      * Lists all sessions in a given database.
      * 
*/ - default void listSessions(com.google.spanner.v1.ListSessionsRequest request, + default void listSessions( + com.google.spanner.v1.ListSessionsRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListSessionsMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListSessionsMethod(), responseObserver); } /** + * + * *
      * Ends a session, releasing server resources associated with it. This will
      * asynchronously trigger cancellation of any operations that are running with
      * this session.
      * 
*/ - default void deleteSession(com.google.spanner.v1.DeleteSessionRequest request, + default void deleteSession( + com.google.spanner.v1.DeleteSessionRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteSessionMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteSessionMethod(), responseObserver); } /** + * + * *
      * Executes an SQL statement, returning all results in a single reply. This
      * method cannot be used to return a result set larger than 10 MiB;
@@ -622,12 +809,15 @@ default void deleteSession(com.google.spanner.v1.DeleteSessionRequest request,
      * [ExecuteStreamingSql][google.spanner.v1.Spanner.ExecuteStreamingSql] instead.
      * 
*/ - default void executeSql(com.google.spanner.v1.ExecuteSqlRequest request, + default void executeSql( + com.google.spanner.v1.ExecuteSqlRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getExecuteSqlMethod(), responseObserver); } /** + * + * *
      * Like [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql], except returns the result
      * set as a stream. Unlike [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql], there
@@ -636,12 +826,16 @@ default void executeSql(com.google.spanner.v1.ExecuteSqlRequest request,
      * column value can exceed 10 MiB.
      * 
*/ - default void executeStreamingSql(com.google.spanner.v1.ExecuteSqlRequest request, + default void executeStreamingSql( + com.google.spanner.v1.ExecuteSqlRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getExecuteStreamingSqlMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getExecuteStreamingSqlMethod(), responseObserver); } /** + * + * *
      * Executes a batch of SQL DML statements. This method allows many statements
      * to be run with lower latency than submitting them sequentially with
@@ -654,12 +848,17 @@ default void executeStreamingSql(com.google.spanner.v1.ExecuteSqlRequest request
      * are not executed.
      * 
*/ - default void executeBatchDml(com.google.spanner.v1.ExecuteBatchDmlRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getExecuteBatchDmlMethod(), responseObserver); + default void executeBatchDml( + com.google.spanner.v1.ExecuteBatchDmlRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getExecuteBatchDmlMethod(), responseObserver); } /** + * + * *
      * Reads rows from the database using key lookups and scans, as a
      * simple key/value style alternative to
@@ -674,12 +873,15 @@ default void executeBatchDml(com.google.spanner.v1.ExecuteBatchDmlRequest reques
      * [StreamingRead][google.spanner.v1.Spanner.StreamingRead] instead.
      * 
*/ - default void read(com.google.spanner.v1.ReadRequest request, + default void read( + com.google.spanner.v1.ReadRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getReadMethod(), responseObserver); } /** + * + * *
      * Like [Read][google.spanner.v1.Spanner.Read], except returns the result set as a
      * stream. Unlike [Read][google.spanner.v1.Spanner.Read], there is no limit on the
@@ -688,12 +890,16 @@ default void read(com.google.spanner.v1.ReadRequest request,
      * 10 MiB.
      * 
*/ - default void streamingRead(com.google.spanner.v1.ReadRequest request, + default void streamingRead( + com.google.spanner.v1.ReadRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getStreamingReadMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getStreamingReadMethod(), responseObserver); } /** + * + * *
      * Begins a new transaction. This step can often be skipped:
      * [Read][google.spanner.v1.Spanner.Read], [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql] and
@@ -701,12 +907,16 @@ default void streamingRead(com.google.spanner.v1.ReadRequest request,
      * side-effect.
      * 
*/ - default void beginTransaction(com.google.spanner.v1.BeginTransactionRequest request, + default void beginTransaction( + com.google.spanner.v1.BeginTransactionRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBeginTransactionMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getBeginTransactionMethod(), responseObserver); } /** + * + * *
      * Commits a transaction. The request includes the mutations to be
      * applied to rows in the database.
@@ -722,12 +932,15 @@ default void beginTransaction(com.google.spanner.v1.BeginTransactionRequest requ
      * state of things as they are now.
      * 
*/ - default void commit(com.google.spanner.v1.CommitRequest request, + default void commit( + com.google.spanner.v1.CommitRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCommitMethod(), responseObserver); } /** + * + * *
      * Rolls back a transaction, releasing any locks it holds. It is a good
      * idea to call this for any transaction that includes one or more
@@ -738,12 +951,15 @@ default void commit(com.google.spanner.v1.CommitRequest request,
      * found. `Rollback` never returns `ABORTED`.
      * 
*/ - default void rollback(com.google.spanner.v1.RollbackRequest request, + default void rollback( + com.google.spanner.v1.RollbackRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRollbackMethod(), responseObserver); } /** + * + * *
      * Creates a set of partition tokens that can be used to execute a query
      * operation in parallel.  Each of the returned partition tokens can be used
@@ -757,12 +973,16 @@ default void rollback(com.google.spanner.v1.RollbackRequest request,
      * the whole operation must be restarted from the beginning.
      * 
*/ - default void partitionQuery(com.google.spanner.v1.PartitionQueryRequest request, + default void partitionQuery( + com.google.spanner.v1.PartitionQueryRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPartitionQueryMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getPartitionQueryMethod(), responseObserver); } /** + * + * *
      * Creates a set of partition tokens that can be used to execute a read
      * operation in parallel.  Each of the returned partition tokens can be used
@@ -778,50 +998,53 @@ default void partitionQuery(com.google.spanner.v1.PartitionQueryRequest request,
      * the whole operation must be restarted from the beginning.
      * 
*/ - default void partitionRead(com.google.spanner.v1.PartitionReadRequest request, + default void partitionRead( + com.google.spanner.v1.PartitionReadRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPartitionReadMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getPartitionReadMethod(), responseObserver); } } /** * Base class for the server implementation of the service Spanner. + * *
    * Cloud Spanner API
    * The Cloud Spanner API can be used to manage sessions and execute
    * transactions on data stored in Cloud Spanner databases.
    * 
*/ - public static abstract class SpannerImplBase - implements io.grpc.BindableService, AsyncService { + public abstract static class SpannerImplBase implements io.grpc.BindableService, AsyncService { - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { return SpannerGrpc.bindService(this); } } /** * A stub to allow clients to do asynchronous rpc calls to service Spanner. + * *
    * Cloud Spanner API
    * The Cloud Spanner API can be used to manage sessions and execute
    * transactions on data stored in Cloud Spanner databases.
    * 
*/ - public static final class SpannerStub - extends io.grpc.stub.AbstractAsyncStub { - private SpannerStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class SpannerStub extends io.grpc.stub.AbstractAsyncStub { + private SpannerStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected SpannerStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected SpannerStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new SpannerStub(channel, callOptions); } /** + * + * *
      * Creates a new session. A session can be used to perform
      * transactions that read and/or modify data in a Cloud Spanner database.
@@ -841,63 +1064,87 @@ protected SpannerStub build(
      * periodically, e.g., `"SELECT 1"`.
      * 
*/ - public void createSession(com.google.spanner.v1.CreateSessionRequest request, + public void createSession( + com.google.spanner.v1.CreateSessionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateSessionMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getCreateSessionMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Creates multiple new sessions.
      * This API can be used to initialize a session cache on the clients.
      * See https://goo.gl/TgSFN2 for best practices on session cache management.
      * 
*/ - public void batchCreateSessions(com.google.spanner.v1.BatchCreateSessionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void batchCreateSessions( + com.google.spanner.v1.BatchCreateSessionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchCreateSessionsMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getBatchCreateSessionsMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Gets a session. Returns `NOT_FOUND` if the session does not exist.
      * This is mainly useful for determining whether a session is still
      * alive.
      * 
*/ - public void getSession(com.google.spanner.v1.GetSessionRequest request, + public void getSession( + com.google.spanner.v1.GetSessionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetSessionMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Lists all sessions in a given database.
      * 
*/ - public void listSessions(com.google.spanner.v1.ListSessionsRequest request, + public void listSessions( + com.google.spanner.v1.ListSessionsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListSessionsMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getListSessionsMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Ends a session, releasing server resources associated with it. This will
      * asynchronously trigger cancellation of any operations that are running with
      * this session.
      * 
*/ - public void deleteSession(com.google.spanner.v1.DeleteSessionRequest request, + public void deleteSession( + com.google.spanner.v1.DeleteSessionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteSessionMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getDeleteSessionMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Executes an SQL statement, returning all results in a single reply. This
      * method cannot be used to return a result set larger than 10 MiB;
@@ -910,13 +1157,16 @@ public void deleteSession(com.google.spanner.v1.DeleteSessionRequest request,
      * [ExecuteStreamingSql][google.spanner.v1.Spanner.ExecuteStreamingSql] instead.
      * 
*/ - public void executeSql(com.google.spanner.v1.ExecuteSqlRequest request, + public void executeSql( + com.google.spanner.v1.ExecuteSqlRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getExecuteSqlMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Like [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql], except returns the result
      * set as a stream. Unlike [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql], there
@@ -925,13 +1175,18 @@ public void executeSql(com.google.spanner.v1.ExecuteSqlRequest request,
      * column value can exceed 10 MiB.
      * 
*/ - public void executeStreamingSql(com.google.spanner.v1.ExecuteSqlRequest request, + public void executeStreamingSql( + com.google.spanner.v1.ExecuteSqlRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncServerStreamingCall( - getChannel().newCall(getExecuteStreamingSqlMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getExecuteStreamingSqlMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Executes a batch of SQL DML statements. This method allows many statements
      * to be run with lower latency than submitting them sequentially with
@@ -944,13 +1199,19 @@ public void executeStreamingSql(com.google.spanner.v1.ExecuteSqlRequest request,
      * are not executed.
      * 
*/ - public void executeBatchDml(com.google.spanner.v1.ExecuteBatchDmlRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void executeBatchDml( + com.google.spanner.v1.ExecuteBatchDmlRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getExecuteBatchDmlMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getExecuteBatchDmlMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Reads rows from the database using key lookups and scans, as a
      * simple key/value style alternative to
@@ -965,13 +1226,16 @@ public void executeBatchDml(com.google.spanner.v1.ExecuteBatchDmlRequest request
      * [StreamingRead][google.spanner.v1.Spanner.StreamingRead] instead.
      * 
*/ - public void read(com.google.spanner.v1.ReadRequest request, + public void read( + com.google.spanner.v1.ReadRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getReadMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Like [Read][google.spanner.v1.Spanner.Read], except returns the result set as a
      * stream. Unlike [Read][google.spanner.v1.Spanner.Read], there is no limit on the
@@ -980,13 +1244,18 @@ public void read(com.google.spanner.v1.ReadRequest request,
      * 10 MiB.
      * 
*/ - public void streamingRead(com.google.spanner.v1.ReadRequest request, + public void streamingRead( + com.google.spanner.v1.ReadRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncServerStreamingCall( - getChannel().newCall(getStreamingReadMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getStreamingReadMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Begins a new transaction. This step can often be skipped:
      * [Read][google.spanner.v1.Spanner.Read], [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql] and
@@ -994,13 +1263,18 @@ public void streamingRead(com.google.spanner.v1.ReadRequest request,
      * side-effect.
      * 
*/ - public void beginTransaction(com.google.spanner.v1.BeginTransactionRequest request, + public void beginTransaction( + com.google.spanner.v1.BeginTransactionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBeginTransactionMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getBeginTransactionMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Commits a transaction. The request includes the mutations to be
      * applied to rows in the database.
@@ -1016,13 +1290,16 @@ public void beginTransaction(com.google.spanner.v1.BeginTransactionRequest reque
      * state of things as they are now.
      * 
*/ - public void commit(com.google.spanner.v1.CommitRequest request, + public void commit( + com.google.spanner.v1.CommitRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCommitMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Rolls back a transaction, releasing any locks it holds. It is a good
      * idea to call this for any transaction that includes one or more
@@ -1033,13 +1310,16 @@ public void commit(com.google.spanner.v1.CommitRequest request,
      * found. `Rollback` never returns `ABORTED`.
      * 
*/ - public void rollback(com.google.spanner.v1.RollbackRequest request, + public void rollback( + com.google.spanner.v1.RollbackRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getRollbackMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Creates a set of partition tokens that can be used to execute a query
      * operation in parallel.  Each of the returned partition tokens can be used
@@ -1053,13 +1333,18 @@ public void rollback(com.google.spanner.v1.RollbackRequest request,
      * the whole operation must be restarted from the beginning.
      * 
*/ - public void partitionQuery(com.google.spanner.v1.PartitionQueryRequest request, + public void partitionQuery( + com.google.spanner.v1.PartitionQueryRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getPartitionQueryMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getPartitionQueryMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Creates a set of partition tokens that can be used to execute a read
      * operation in parallel.  Each of the returned partition tokens can be used
@@ -1075,15 +1360,19 @@ public void partitionQuery(com.google.spanner.v1.PartitionQueryRequest request,
      * the whole operation must be restarted from the beginning.
      * 
*/ - public void partitionRead(com.google.spanner.v1.PartitionReadRequest request, + public void partitionRead( + com.google.spanner.v1.PartitionReadRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getPartitionReadMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getPartitionReadMethod(), getCallOptions()), + request, + responseObserver); } } /** * A stub to allow clients to do synchronous rpc calls to service Spanner. + * *
    * Cloud Spanner API
    * The Cloud Spanner API can be used to manage sessions and execute
@@ -1092,18 +1381,18 @@ public void partitionRead(com.google.spanner.v1.PartitionReadRequest request,
    */
   public static final class SpannerBlockingStub
       extends io.grpc.stub.AbstractBlockingStub {
-    private SpannerBlockingStub(
-        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    private SpannerBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       super(channel, callOptions);
     }
 
     @java.lang.Override
-    protected SpannerBlockingStub build(
-        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    protected SpannerBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       return new SpannerBlockingStub(channel, callOptions);
     }
 
     /**
+     *
+     *
      * 
      * Creates a new session. A session can be used to perform
      * transactions that read and/or modify data in a Cloud Spanner database.
@@ -1123,58 +1412,73 @@ protected SpannerBlockingStub build(
      * periodically, e.g., `"SELECT 1"`.
      * 
*/ - public com.google.spanner.v1.Session createSession(com.google.spanner.v1.CreateSessionRequest request) { + public com.google.spanner.v1.Session createSession( + com.google.spanner.v1.CreateSessionRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateSessionMethod(), getCallOptions(), request); } /** + * + * *
      * Creates multiple new sessions.
      * This API can be used to initialize a session cache on the clients.
      * See https://goo.gl/TgSFN2 for best practices on session cache management.
      * 
*/ - public com.google.spanner.v1.BatchCreateSessionsResponse batchCreateSessions(com.google.spanner.v1.BatchCreateSessionsRequest request) { + public com.google.spanner.v1.BatchCreateSessionsResponse batchCreateSessions( + com.google.spanner.v1.BatchCreateSessionsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getBatchCreateSessionsMethod(), getCallOptions(), request); } /** + * + * *
      * Gets a session. Returns `NOT_FOUND` if the session does not exist.
      * This is mainly useful for determining whether a session is still
      * alive.
      * 
*/ - public com.google.spanner.v1.Session getSession(com.google.spanner.v1.GetSessionRequest request) { + public com.google.spanner.v1.Session getSession( + com.google.spanner.v1.GetSessionRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetSessionMethod(), getCallOptions(), request); } /** + * + * *
      * Lists all sessions in a given database.
      * 
*/ - public com.google.spanner.v1.ListSessionsResponse listSessions(com.google.spanner.v1.ListSessionsRequest request) { + public com.google.spanner.v1.ListSessionsResponse listSessions( + com.google.spanner.v1.ListSessionsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListSessionsMethod(), getCallOptions(), request); } /** + * + * *
      * Ends a session, releasing server resources associated with it. This will
      * asynchronously trigger cancellation of any operations that are running with
      * this session.
      * 
*/ - public com.google.protobuf.Empty deleteSession(com.google.spanner.v1.DeleteSessionRequest request) { + public com.google.protobuf.Empty deleteSession( + com.google.spanner.v1.DeleteSessionRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteSessionMethod(), getCallOptions(), request); } /** + * + * *
      * Executes an SQL statement, returning all results in a single reply. This
      * method cannot be used to return a result set larger than 10 MiB;
@@ -1187,12 +1491,15 @@ public com.google.protobuf.Empty deleteSession(com.google.spanner.v1.DeleteSessi
      * [ExecuteStreamingSql][google.spanner.v1.Spanner.ExecuteStreamingSql] instead.
      * 
*/ - public com.google.spanner.v1.ResultSet executeSql(com.google.spanner.v1.ExecuteSqlRequest request) { + public com.google.spanner.v1.ResultSet executeSql( + com.google.spanner.v1.ExecuteSqlRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getExecuteSqlMethod(), getCallOptions(), request); } /** + * + * *
      * Like [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql], except returns the result
      * set as a stream. Unlike [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql], there
@@ -1208,6 +1515,8 @@ public java.util.Iterator executeStreami
     }
 
     /**
+     *
+     *
      * 
      * Executes a batch of SQL DML statements. This method allows many statements
      * to be run with lower latency than submitting them sequentially with
@@ -1220,12 +1529,15 @@ public java.util.Iterator executeStreami
      * are not executed.
      * 
*/ - public com.google.spanner.v1.ExecuteBatchDmlResponse executeBatchDml(com.google.spanner.v1.ExecuteBatchDmlRequest request) { + public com.google.spanner.v1.ExecuteBatchDmlResponse executeBatchDml( + com.google.spanner.v1.ExecuteBatchDmlRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getExecuteBatchDmlMethod(), getCallOptions(), request); } /** + * + * *
      * Reads rows from the database using key lookups and scans, as a
      * simple key/value style alternative to
@@ -1246,6 +1558,8 @@ public com.google.spanner.v1.ResultSet read(com.google.spanner.v1.ReadRequest re
     }
 
     /**
+     *
+     *
      * 
      * Like [Read][google.spanner.v1.Spanner.Read], except returns the result set as a
      * stream. Unlike [Read][google.spanner.v1.Spanner.Read], there is no limit on the
@@ -1261,6 +1575,8 @@ public java.util.Iterator streamingRead(
     }
 
     /**
+     *
+     *
      * 
      * Begins a new transaction. This step can often be skipped:
      * [Read][google.spanner.v1.Spanner.Read], [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql] and
@@ -1268,12 +1584,15 @@ public java.util.Iterator streamingRead(
      * side-effect.
      * 
*/ - public com.google.spanner.v1.Transaction beginTransaction(com.google.spanner.v1.BeginTransactionRequest request) { + public com.google.spanner.v1.Transaction beginTransaction( + com.google.spanner.v1.BeginTransactionRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getBeginTransactionMethod(), getCallOptions(), request); } /** + * + * *
      * Commits a transaction. The request includes the mutations to be
      * applied to rows in the database.
@@ -1289,12 +1608,15 @@ public com.google.spanner.v1.Transaction beginTransaction(com.google.spanner.v1.
      * state of things as they are now.
      * 
*/ - public com.google.spanner.v1.CommitResponse commit(com.google.spanner.v1.CommitRequest request) { + public com.google.spanner.v1.CommitResponse commit( + com.google.spanner.v1.CommitRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCommitMethod(), getCallOptions(), request); } /** + * + * *
      * Rolls back a transaction, releasing any locks it holds. It is a good
      * idea to call this for any transaction that includes one or more
@@ -1311,6 +1633,8 @@ public com.google.protobuf.Empty rollback(com.google.spanner.v1.RollbackRequest
     }
 
     /**
+     *
+     *
      * 
      * Creates a set of partition tokens that can be used to execute a query
      * operation in parallel.  Each of the returned partition tokens can be used
@@ -1324,12 +1648,15 @@ public com.google.protobuf.Empty rollback(com.google.spanner.v1.RollbackRequest
      * the whole operation must be restarted from the beginning.
      * 
*/ - public com.google.spanner.v1.PartitionResponse partitionQuery(com.google.spanner.v1.PartitionQueryRequest request) { + public com.google.spanner.v1.PartitionResponse partitionQuery( + com.google.spanner.v1.PartitionQueryRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getPartitionQueryMethod(), getCallOptions(), request); } /** + * + * *
      * Creates a set of partition tokens that can be used to execute a read
      * operation in parallel.  Each of the returned partition tokens can be used
@@ -1345,7 +1672,8 @@ public com.google.spanner.v1.PartitionResponse partitionQuery(com.google.spanner
      * the whole operation must be restarted from the beginning.
      * 
*/ - public com.google.spanner.v1.PartitionResponse partitionRead(com.google.spanner.v1.PartitionReadRequest request) { + public com.google.spanner.v1.PartitionResponse partitionRead( + com.google.spanner.v1.PartitionReadRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getPartitionReadMethod(), getCallOptions(), request); } @@ -1353,6 +1681,7 @@ public com.google.spanner.v1.PartitionResponse partitionRead(com.google.spanner. /** * A stub to allow clients to do ListenableFuture-style rpc calls to service Spanner. + * *
    * Cloud Spanner API
    * The Cloud Spanner API can be used to manage sessions and execute
@@ -1361,18 +1690,18 @@ public com.google.spanner.v1.PartitionResponse partitionRead(com.google.spanner.
    */
   public static final class SpannerFutureStub
       extends io.grpc.stub.AbstractFutureStub {
-    private SpannerFutureStub(
-        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    private SpannerFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       super(channel, callOptions);
     }
 
     @java.lang.Override
-    protected SpannerFutureStub build(
-        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    protected SpannerFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       return new SpannerFutureStub(channel, callOptions);
     }
 
     /**
+     *
+     *
      * 
      * Creates a new session. A session can be used to perform
      * transactions that read and/or modify data in a Cloud Spanner database.
@@ -1392,63 +1721,75 @@ protected SpannerFutureStub build(
      * periodically, e.g., `"SELECT 1"`.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture createSession( - com.google.spanner.v1.CreateSessionRequest request) { + public com.google.common.util.concurrent.ListenableFuture + createSession(com.google.spanner.v1.CreateSessionRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateSessionMethod(), getCallOptions()), request); } /** + * + * *
      * Creates multiple new sessions.
      * This API can be used to initialize a session cache on the clients.
      * See https://goo.gl/TgSFN2 for best practices on session cache management.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture batchCreateSessions( - com.google.spanner.v1.BatchCreateSessionsRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.spanner.v1.BatchCreateSessionsResponse> + batchCreateSessions(com.google.spanner.v1.BatchCreateSessionsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getBatchCreateSessionsMethod(), getCallOptions()), request); } /** + * + * *
      * Gets a session. Returns `NOT_FOUND` if the session does not exist.
      * This is mainly useful for determining whether a session is still
      * alive.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture getSession( - com.google.spanner.v1.GetSessionRequest request) { + public com.google.common.util.concurrent.ListenableFuture + getSession(com.google.spanner.v1.GetSessionRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetSessionMethod(), getCallOptions()), request); } /** + * + * *
      * Lists all sessions in a given database.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture listSessions( - com.google.spanner.v1.ListSessionsRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.spanner.v1.ListSessionsResponse> + listSessions(com.google.spanner.v1.ListSessionsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListSessionsMethod(), getCallOptions()), request); } /** + * + * *
      * Ends a session, releasing server resources associated with it. This will
      * asynchronously trigger cancellation of any operations that are running with
      * this session.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture deleteSession( - com.google.spanner.v1.DeleteSessionRequest request) { + public com.google.common.util.concurrent.ListenableFuture + deleteSession(com.google.spanner.v1.DeleteSessionRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteSessionMethod(), getCallOptions()), request); } /** + * + * *
      * Executes an SQL statement, returning all results in a single reply. This
      * method cannot be used to return a result set larger than 10 MiB;
@@ -1461,13 +1802,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture executeSql(
-        com.google.spanner.v1.ExecuteSqlRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        executeSql(com.google.spanner.v1.ExecuteSqlRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getExecuteSqlMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Executes a batch of SQL DML statements. This method allows many statements
      * to be run with lower latency than submitting them sequentially with
@@ -1480,13 +1823,16 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture executeBatchDml(
-        com.google.spanner.v1.ExecuteBatchDmlRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture<
+            com.google.spanner.v1.ExecuteBatchDmlResponse>
+        executeBatchDml(com.google.spanner.v1.ExecuteBatchDmlRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getExecuteBatchDmlMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Reads rows from the database using key lookups and scans, as a
      * simple key/value style alternative to
@@ -1508,6 +1854,8 @@ public com.google.common.util.concurrent.ListenableFuture
      * Begins a new transaction. This step can often be skipped:
      * [Read][google.spanner.v1.Spanner.Read], [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql] and
@@ -1515,13 +1863,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture beginTransaction(
-        com.google.spanner.v1.BeginTransactionRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        beginTransaction(com.google.spanner.v1.BeginTransactionRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getBeginTransactionMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Commits a transaction. The request includes the mutations to be
      * applied to rows in the database.
@@ -1537,13 +1887,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture commit(
-        com.google.spanner.v1.CommitRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        commit(com.google.spanner.v1.CommitRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getCommitMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Rolls back a transaction, releasing any locks it holds. It is a good
      * idea to call this for any transaction that includes one or more
@@ -1561,6 +1913,8 @@ public com.google.common.util.concurrent.ListenableFuture
      * Creates a set of partition tokens that can be used to execute a query
      * operation in parallel.  Each of the returned partition tokens can be used
@@ -1574,13 +1928,16 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture partitionQuery(
-        com.google.spanner.v1.PartitionQueryRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture<
+            com.google.spanner.v1.PartitionResponse>
+        partitionQuery(com.google.spanner.v1.PartitionQueryRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getPartitionQueryMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Creates a set of partition tokens that can be used to execute a read
      * operation in parallel.  Each of the returned partition tokens can be used
@@ -1596,8 +1953,9 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture partitionRead(
-        com.google.spanner.v1.PartitionReadRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture<
+            com.google.spanner.v1.PartitionResponse>
+        partitionRead(com.google.spanner.v1.PartitionReadRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getPartitionReadMethod(), getCallOptions()), request);
     }
@@ -1619,11 +1977,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;
 
@@ -1637,64 +1995,86 @@ private static final class MethodHandlers implements
     public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) {
       switch (methodId) {
         case METHODID_CREATE_SESSION:
-          serviceImpl.createSession((com.google.spanner.v1.CreateSessionRequest) request,
+          serviceImpl.createSession(
+              (com.google.spanner.v1.CreateSessionRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_BATCH_CREATE_SESSIONS:
-          serviceImpl.batchCreateSessions((com.google.spanner.v1.BatchCreateSessionsRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.batchCreateSessions(
+              (com.google.spanner.v1.BatchCreateSessionsRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_GET_SESSION:
-          serviceImpl.getSession((com.google.spanner.v1.GetSessionRequest) request,
+          serviceImpl.getSession(
+              (com.google.spanner.v1.GetSessionRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_LIST_SESSIONS:
-          serviceImpl.listSessions((com.google.spanner.v1.ListSessionsRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.listSessions(
+              (com.google.spanner.v1.ListSessionsRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_DELETE_SESSION:
-          serviceImpl.deleteSession((com.google.spanner.v1.DeleteSessionRequest) request,
+          serviceImpl.deleteSession(
+              (com.google.spanner.v1.DeleteSessionRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_EXECUTE_SQL:
-          serviceImpl.executeSql((com.google.spanner.v1.ExecuteSqlRequest) request,
+          serviceImpl.executeSql(
+              (com.google.spanner.v1.ExecuteSqlRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_EXECUTE_STREAMING_SQL:
-          serviceImpl.executeStreamingSql((com.google.spanner.v1.ExecuteSqlRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.executeStreamingSql(
+              (com.google.spanner.v1.ExecuteSqlRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_EXECUTE_BATCH_DML:
-          serviceImpl.executeBatchDml((com.google.spanner.v1.ExecuteBatchDmlRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.executeBatchDml(
+              (com.google.spanner.v1.ExecuteBatchDmlRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_READ:
-          serviceImpl.read((com.google.spanner.v1.ReadRequest) request,
+          serviceImpl.read(
+              (com.google.spanner.v1.ReadRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_STREAMING_READ:
-          serviceImpl.streamingRead((com.google.spanner.v1.ReadRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.streamingRead(
+              (com.google.spanner.v1.ReadRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_BEGIN_TRANSACTION:
-          serviceImpl.beginTransaction((com.google.spanner.v1.BeginTransactionRequest) request,
+          serviceImpl.beginTransaction(
+              (com.google.spanner.v1.BeginTransactionRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_COMMIT:
-          serviceImpl.commit((com.google.spanner.v1.CommitRequest) request,
+          serviceImpl.commit(
+              (com.google.spanner.v1.CommitRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_ROLLBACK:
-          serviceImpl.rollback((com.google.spanner.v1.RollbackRequest) request,
+          serviceImpl.rollback(
+              (com.google.spanner.v1.RollbackRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_PARTITION_QUERY:
-          serviceImpl.partitionQuery((com.google.spanner.v1.PartitionQueryRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.partitionQuery(
+              (com.google.spanner.v1.PartitionQueryRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_PARTITION_READ:
-          serviceImpl.partitionRead((com.google.spanner.v1.PartitionReadRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.partitionRead(
+              (com.google.spanner.v1.PartitionReadRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         default:
           throw new AssertionError();
@@ -1715,115 +2095,104 @@ public io.grpc.stub.StreamObserver invoke(
   public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) {
     return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
         .addMethod(
-          getCreateSessionMethod(),
-          io.grpc.stub.ServerCalls.asyncUnaryCall(
-            new MethodHandlers<
-              com.google.spanner.v1.CreateSessionRequest,
-              com.google.spanner.v1.Session>(
-                service, METHODID_CREATE_SESSION)))
+            getCreateSessionMethod(),
+            io.grpc.stub.ServerCalls.asyncUnaryCall(
+                new MethodHandlers<
+                    com.google.spanner.v1.CreateSessionRequest, com.google.spanner.v1.Session>(
+                    service, METHODID_CREATE_SESSION)))
         .addMethod(
-          getBatchCreateSessionsMethod(),
-          io.grpc.stub.ServerCalls.asyncUnaryCall(
-            new MethodHandlers<
-              com.google.spanner.v1.BatchCreateSessionsRequest,
-              com.google.spanner.v1.BatchCreateSessionsResponse>(
-                service, METHODID_BATCH_CREATE_SESSIONS)))
+            getBatchCreateSessionsMethod(),
+            io.grpc.stub.ServerCalls.asyncUnaryCall(
+                new MethodHandlers<
+                    com.google.spanner.v1.BatchCreateSessionsRequest,
+                    com.google.spanner.v1.BatchCreateSessionsResponse>(
+                    service, METHODID_BATCH_CREATE_SESSIONS)))
         .addMethod(
-          getGetSessionMethod(),
-          io.grpc.stub.ServerCalls.asyncUnaryCall(
-            new MethodHandlers<
-              com.google.spanner.v1.GetSessionRequest,
-              com.google.spanner.v1.Session>(
-                service, METHODID_GET_SESSION)))
+            getGetSessionMethod(),
+            io.grpc.stub.ServerCalls.asyncUnaryCall(
+                new MethodHandlers<
+                    com.google.spanner.v1.GetSessionRequest, com.google.spanner.v1.Session>(
+                    service, METHODID_GET_SESSION)))
         .addMethod(
-          getListSessionsMethod(),
-          io.grpc.stub.ServerCalls.asyncUnaryCall(
-            new MethodHandlers<
-              com.google.spanner.v1.ListSessionsRequest,
-              com.google.spanner.v1.ListSessionsResponse>(
-                service, METHODID_LIST_SESSIONS)))
+            getListSessionsMethod(),
+            io.grpc.stub.ServerCalls.asyncUnaryCall(
+                new MethodHandlers<
+                    com.google.spanner.v1.ListSessionsRequest,
+                    com.google.spanner.v1.ListSessionsResponse>(service, METHODID_LIST_SESSIONS)))
         .addMethod(
-          getDeleteSessionMethod(),
-          io.grpc.stub.ServerCalls.asyncUnaryCall(
-            new MethodHandlers<
-              com.google.spanner.v1.DeleteSessionRequest,
-              com.google.protobuf.Empty>(
-                service, METHODID_DELETE_SESSION)))
+            getDeleteSessionMethod(),
+            io.grpc.stub.ServerCalls.asyncUnaryCall(
+                new MethodHandlers<
+                    com.google.spanner.v1.DeleteSessionRequest, com.google.protobuf.Empty>(
+                    service, METHODID_DELETE_SESSION)))
         .addMethod(
-          getExecuteSqlMethod(),
-          io.grpc.stub.ServerCalls.asyncUnaryCall(
-            new MethodHandlers<
-              com.google.spanner.v1.ExecuteSqlRequest,
-              com.google.spanner.v1.ResultSet>(
-                service, METHODID_EXECUTE_SQL)))
+            getExecuteSqlMethod(),
+            io.grpc.stub.ServerCalls.asyncUnaryCall(
+                new MethodHandlers<
+                    com.google.spanner.v1.ExecuteSqlRequest, com.google.spanner.v1.ResultSet>(
+                    service, METHODID_EXECUTE_SQL)))
         .addMethod(
-          getExecuteStreamingSqlMethod(),
-          io.grpc.stub.ServerCalls.asyncServerStreamingCall(
-            new MethodHandlers<
-              com.google.spanner.v1.ExecuteSqlRequest,
-              com.google.spanner.v1.PartialResultSet>(
-                service, METHODID_EXECUTE_STREAMING_SQL)))
+            getExecuteStreamingSqlMethod(),
+            io.grpc.stub.ServerCalls.asyncServerStreamingCall(
+                new MethodHandlers<
+                    com.google.spanner.v1.ExecuteSqlRequest,
+                    com.google.spanner.v1.PartialResultSet>(
+                    service, METHODID_EXECUTE_STREAMING_SQL)))
         .addMethod(
-          getExecuteBatchDmlMethod(),
-          io.grpc.stub.ServerCalls.asyncUnaryCall(
-            new MethodHandlers<
-              com.google.spanner.v1.ExecuteBatchDmlRequest,
-              com.google.spanner.v1.ExecuteBatchDmlResponse>(
-                service, METHODID_EXECUTE_BATCH_DML)))
+            getExecuteBatchDmlMethod(),
+            io.grpc.stub.ServerCalls.asyncUnaryCall(
+                new MethodHandlers<
+                    com.google.spanner.v1.ExecuteBatchDmlRequest,
+                    com.google.spanner.v1.ExecuteBatchDmlResponse>(
+                    service, METHODID_EXECUTE_BATCH_DML)))
         .addMethod(
-          getReadMethod(),
-          io.grpc.stub.ServerCalls.asyncUnaryCall(
-            new MethodHandlers<
-              com.google.spanner.v1.ReadRequest,
-              com.google.spanner.v1.ResultSet>(
-                service, METHODID_READ)))
+            getReadMethod(),
+            io.grpc.stub.ServerCalls.asyncUnaryCall(
+                new MethodHandlers<
+                    com.google.spanner.v1.ReadRequest, com.google.spanner.v1.ResultSet>(
+                    service, METHODID_READ)))
         .addMethod(
-          getStreamingReadMethod(),
-          io.grpc.stub.ServerCalls.asyncServerStreamingCall(
-            new MethodHandlers<
-              com.google.spanner.v1.ReadRequest,
-              com.google.spanner.v1.PartialResultSet>(
-                service, METHODID_STREAMING_READ)))
+            getStreamingReadMethod(),
+            io.grpc.stub.ServerCalls.asyncServerStreamingCall(
+                new MethodHandlers<
+                    com.google.spanner.v1.ReadRequest, com.google.spanner.v1.PartialResultSet>(
+                    service, METHODID_STREAMING_READ)))
         .addMethod(
-          getBeginTransactionMethod(),
-          io.grpc.stub.ServerCalls.asyncUnaryCall(
-            new MethodHandlers<
-              com.google.spanner.v1.BeginTransactionRequest,
-              com.google.spanner.v1.Transaction>(
-                service, METHODID_BEGIN_TRANSACTION)))
+            getBeginTransactionMethod(),
+            io.grpc.stub.ServerCalls.asyncUnaryCall(
+                new MethodHandlers<
+                    com.google.spanner.v1.BeginTransactionRequest,
+                    com.google.spanner.v1.Transaction>(service, METHODID_BEGIN_TRANSACTION)))
         .addMethod(
-          getCommitMethod(),
-          io.grpc.stub.ServerCalls.asyncUnaryCall(
-            new MethodHandlers<
-              com.google.spanner.v1.CommitRequest,
-              com.google.spanner.v1.CommitResponse>(
-                service, METHODID_COMMIT)))
+            getCommitMethod(),
+            io.grpc.stub.ServerCalls.asyncUnaryCall(
+                new MethodHandlers<
+                    com.google.spanner.v1.CommitRequest, com.google.spanner.v1.CommitResponse>(
+                    service, METHODID_COMMIT)))
         .addMethod(
-          getRollbackMethod(),
-          io.grpc.stub.ServerCalls.asyncUnaryCall(
-            new MethodHandlers<
-              com.google.spanner.v1.RollbackRequest,
-              com.google.protobuf.Empty>(
-                service, METHODID_ROLLBACK)))
+            getRollbackMethod(),
+            io.grpc.stub.ServerCalls.asyncUnaryCall(
+                new MethodHandlers<
+                    com.google.spanner.v1.RollbackRequest, com.google.protobuf.Empty>(
+                    service, METHODID_ROLLBACK)))
         .addMethod(
-          getPartitionQueryMethod(),
-          io.grpc.stub.ServerCalls.asyncUnaryCall(
-            new MethodHandlers<
-              com.google.spanner.v1.PartitionQueryRequest,
-              com.google.spanner.v1.PartitionResponse>(
-                service, METHODID_PARTITION_QUERY)))
+            getPartitionQueryMethod(),
+            io.grpc.stub.ServerCalls.asyncUnaryCall(
+                new MethodHandlers<
+                    com.google.spanner.v1.PartitionQueryRequest,
+                    com.google.spanner.v1.PartitionResponse>(service, METHODID_PARTITION_QUERY)))
         .addMethod(
-          getPartitionReadMethod(),
-          io.grpc.stub.ServerCalls.asyncUnaryCall(
-            new MethodHandlers<
-              com.google.spanner.v1.PartitionReadRequest,
-              com.google.spanner.v1.PartitionResponse>(
-                service, METHODID_PARTITION_READ)))
+            getPartitionReadMethod(),
+            io.grpc.stub.ServerCalls.asyncUnaryCall(
+                new MethodHandlers<
+                    com.google.spanner.v1.PartitionReadRequest,
+                    com.google.spanner.v1.PartitionResponse>(service, METHODID_PARTITION_READ)))
         .build();
   }
 
-  private static abstract class SpannerBaseDescriptorSupplier
-      implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier {
+  private abstract static class SpannerBaseDescriptorSupplier
+      implements io.grpc.protobuf.ProtoFileDescriptorSupplier,
+          io.grpc.protobuf.ProtoServiceDescriptorSupplier {
     SpannerBaseDescriptorSupplier() {}
 
     @java.lang.Override
@@ -1837,13 +2206,11 @@ public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor()
     }
   }
 
-  private static final class SpannerFileDescriptorSupplier
-      extends SpannerBaseDescriptorSupplier {
+  private static final class SpannerFileDescriptorSupplier extends SpannerBaseDescriptorSupplier {
     SpannerFileDescriptorSupplier() {}
   }
 
-  private static final class SpannerMethodDescriptorSupplier
-      extends SpannerBaseDescriptorSupplier
+  private static final class SpannerMethodDescriptorSupplier extends SpannerBaseDescriptorSupplier
       implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
     private final String methodName;
 
@@ -1865,24 +2232,26 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() {
       synchronized (SpannerGrpc.class) {
         result = serviceDescriptor;
         if (result == null) {
-          serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
-              .setSchemaDescriptor(new SpannerFileDescriptorSupplier())
-              .addMethod(getCreateSessionMethod())
-              .addMethod(getBatchCreateSessionsMethod())
-              .addMethod(getGetSessionMethod())
-              .addMethod(getListSessionsMethod())
-              .addMethod(getDeleteSessionMethod())
-              .addMethod(getExecuteSqlMethod())
-              .addMethod(getExecuteStreamingSqlMethod())
-              .addMethod(getExecuteBatchDmlMethod())
-              .addMethod(getReadMethod())
-              .addMethod(getStreamingReadMethod())
-              .addMethod(getBeginTransactionMethod())
-              .addMethod(getCommitMethod())
-              .addMethod(getRollbackMethod())
-              .addMethod(getPartitionQueryMethod())
-              .addMethod(getPartitionReadMethod())
-              .build();
+          serviceDescriptor =
+              result =
+                  io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
+                      .setSchemaDescriptor(new SpannerFileDescriptorSupplier())
+                      .addMethod(getCreateSessionMethod())
+                      .addMethod(getBatchCreateSessionsMethod())
+                      .addMethod(getGetSessionMethod())
+                      .addMethod(getListSessionsMethod())
+                      .addMethod(getDeleteSessionMethod())
+                      .addMethod(getExecuteSqlMethod())
+                      .addMethod(getExecuteStreamingSqlMethod())
+                      .addMethod(getExecuteBatchDmlMethod())
+                      .addMethod(getReadMethod())
+                      .addMethod(getStreamingReadMethod())
+                      .addMethod(getBeginTransactionMethod())
+                      .addMethod(getCommitMethod())
+                      .addMethod(getRollbackMethod())
+                      .addMethod(getPartitionQueryMethod())
+                      .addMethod(getPartitionReadMethod())
+                      .build();
         }
       }
     }
diff --git a/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminClientHttpJsonTest.java b/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminClientHttpJsonTest.java
deleted file mode 100644
index 31e6d9d97fb..00000000000
--- a/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminClientHttpJsonTest.java
+++ /dev/null
@@ -1,2274 +0,0 @@
-/*
- * Copyright 2022 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.google.cloud.spanner.admin.database.v1;
-
-import static com.google.cloud.spanner.admin.database.v1.DatabaseAdminClient.ListBackupOperationsPagedResponse;
-import static com.google.cloud.spanner.admin.database.v1.DatabaseAdminClient.ListBackupsPagedResponse;
-import static com.google.cloud.spanner.admin.database.v1.DatabaseAdminClient.ListDatabaseOperationsPagedResponse;
-import static com.google.cloud.spanner.admin.database.v1.DatabaseAdminClient.ListDatabaseRolesPagedResponse;
-import static com.google.cloud.spanner.admin.database.v1.DatabaseAdminClient.ListDatabasesPagedResponse;
-
-import com.google.api.gax.core.NoCredentialsProvider;
-import com.google.api.gax.httpjson.GaxHttpJsonProperties;
-import com.google.api.gax.httpjson.testing.MockHttpService;
-import com.google.api.gax.rpc.ApiClientHeaderProvider;
-import com.google.api.gax.rpc.ApiException;
-import com.google.api.gax.rpc.ApiExceptionFactory;
-import com.google.api.gax.rpc.InvalidArgumentException;
-import com.google.api.gax.rpc.StatusCode;
-import com.google.api.gax.rpc.testing.FakeStatusCode;
-import com.google.api.resourcenames.ResourceName;
-import com.google.cloud.spanner.admin.database.v1.stub.HttpJsonDatabaseAdminStub;
-import com.google.common.collect.Lists;
-import com.google.iam.v1.AuditConfig;
-import com.google.iam.v1.Binding;
-import com.google.iam.v1.Policy;
-import com.google.iam.v1.TestIamPermissionsResponse;
-import com.google.longrunning.Operation;
-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 com.google.spanner.admin.database.v1.Backup;
-import com.google.spanner.admin.database.v1.BackupName;
-import com.google.spanner.admin.database.v1.Database;
-import com.google.spanner.admin.database.v1.DatabaseDialect;
-import com.google.spanner.admin.database.v1.DatabaseName;
-import com.google.spanner.admin.database.v1.DatabaseRole;
-import com.google.spanner.admin.database.v1.EncryptionConfig;
-import com.google.spanner.admin.database.v1.EncryptionInfo;
-import com.google.spanner.admin.database.v1.GetDatabaseDdlResponse;
-import com.google.spanner.admin.database.v1.InstanceName;
-import com.google.spanner.admin.database.v1.ListBackupOperationsResponse;
-import com.google.spanner.admin.database.v1.ListBackupsResponse;
-import com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse;
-import com.google.spanner.admin.database.v1.ListDatabaseRolesResponse;
-import com.google.spanner.admin.database.v1.ListDatabasesResponse;
-import com.google.spanner.admin.database.v1.RestoreInfo;
-import java.io.IOException;
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.List;
-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 DatabaseAdminClientHttpJsonTest {
-  private static MockHttpService mockService;
-  private static DatabaseAdminClient client;
-
-  @BeforeClass
-  public static void startStaticServer() throws IOException {
-    mockService =
-        new MockHttpService(
-            HttpJsonDatabaseAdminStub.getMethodDescriptors(),
-            DatabaseAdminSettings.getDefaultEndpoint());
-    DatabaseAdminSettings settings =
-        DatabaseAdminSettings.newHttpJsonBuilder()
-            .setTransportChannelProvider(
-                DatabaseAdminSettings.defaultHttpJsonTransportProviderBuilder()
-                    .setHttpTransport(mockService)
-                    .build())
-            .setCredentialsProvider(NoCredentialsProvider.create())
-            .build();
-    client = DatabaseAdminClient.create(settings);
-  }
-
-  @AfterClass
-  public static void stopServer() {
-    client.close();
-  }
-
-  @Before
-  public void setUp() {}
-
-  @After
-  public void tearDown() throws Exception {
-    mockService.reset();
-  }
-
-  @Test
-  public void listDatabasesTest() throws Exception {
-    Database responsesElement = Database.newBuilder().build();
-    ListDatabasesResponse expectedResponse =
-        ListDatabasesResponse.newBuilder()
-            .setNextPageToken("")
-            .addAllDatabases(Arrays.asList(responsesElement))
-            .build();
-    mockService.addResponse(expectedResponse);
-
-    InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]");
-
-    ListDatabasesPagedResponse pagedListResponse = client.listDatabases(parent);
-
-    List resources = Lists.newArrayList(pagedListResponse.iterateAll());
-
-    Assert.assertEquals(1, resources.size());
-    Assert.assertEquals(expectedResponse.getDatabasesList().get(0), resources.get(0));
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void listDatabasesExceptionTest() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]");
-      client.listDatabases(parent);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void listDatabasesTest2() throws Exception {
-    Database responsesElement = Database.newBuilder().build();
-    ListDatabasesResponse expectedResponse =
-        ListDatabasesResponse.newBuilder()
-            .setNextPageToken("")
-            .addAllDatabases(Arrays.asList(responsesElement))
-            .build();
-    mockService.addResponse(expectedResponse);
-
-    String parent = "projects/project-8887/instances/instance-8887";
-
-    ListDatabasesPagedResponse pagedListResponse = client.listDatabases(parent);
-
-    List resources = Lists.newArrayList(pagedListResponse.iterateAll());
-
-    Assert.assertEquals(1, resources.size());
-    Assert.assertEquals(expectedResponse.getDatabasesList().get(0), resources.get(0));
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void listDatabasesExceptionTest2() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      String parent = "projects/project-8887/instances/instance-8887";
-      client.listDatabases(parent);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void createDatabaseTest() throws Exception {
-    Database expectedResponse =
-        Database.newBuilder()
-            .setName(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString())
-            .setCreateTime(Timestamp.newBuilder().build())
-            .setRestoreInfo(RestoreInfo.newBuilder().build())
-            .setEncryptionConfig(EncryptionConfig.newBuilder().build())
-            .addAllEncryptionInfo(new ArrayList())
-            .setVersionRetentionPeriod("versionRetentionPeriod-629783929")
-            .setEarliestVersionTime(Timestamp.newBuilder().build())
-            .setDefaultLeader("defaultLeader759009962")
-            .setDatabaseDialect(DatabaseDialect.forNumber(0))
-            .build();
-    Operation resultOperation =
-        Operation.newBuilder()
-            .setName("createDatabaseTest")
-            .setDone(true)
-            .setResponse(Any.pack(expectedResponse))
-            .build();
-    mockService.addResponse(resultOperation);
-
-    InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]");
-    String createStatement = "createStatement744686547";
-
-    Database actualResponse = client.createDatabaseAsync(parent, createStatement).get();
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void createDatabaseExceptionTest() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]");
-      String createStatement = "createStatement744686547";
-      client.createDatabaseAsync(parent, createStatement).get();
-      Assert.fail("No exception raised");
-    } catch (ExecutionException e) {
-    }
-  }
-
-  @Test
-  public void createDatabaseTest2() throws Exception {
-    Database expectedResponse =
-        Database.newBuilder()
-            .setName(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString())
-            .setCreateTime(Timestamp.newBuilder().build())
-            .setRestoreInfo(RestoreInfo.newBuilder().build())
-            .setEncryptionConfig(EncryptionConfig.newBuilder().build())
-            .addAllEncryptionInfo(new ArrayList())
-            .setVersionRetentionPeriod("versionRetentionPeriod-629783929")
-            .setEarliestVersionTime(Timestamp.newBuilder().build())
-            .setDefaultLeader("defaultLeader759009962")
-            .setDatabaseDialect(DatabaseDialect.forNumber(0))
-            .build();
-    Operation resultOperation =
-        Operation.newBuilder()
-            .setName("createDatabaseTest")
-            .setDone(true)
-            .setResponse(Any.pack(expectedResponse))
-            .build();
-    mockService.addResponse(resultOperation);
-
-    String parent = "projects/project-8887/instances/instance-8887";
-    String createStatement = "createStatement744686547";
-
-    Database actualResponse = client.createDatabaseAsync(parent, createStatement).get();
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void createDatabaseExceptionTest2() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      String parent = "projects/project-8887/instances/instance-8887";
-      String createStatement = "createStatement744686547";
-      client.createDatabaseAsync(parent, createStatement).get();
-      Assert.fail("No exception raised");
-    } catch (ExecutionException e) {
-    }
-  }
-
-  @Test
-  public void getDatabaseTest() throws Exception {
-    Database expectedResponse =
-        Database.newBuilder()
-            .setName(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString())
-            .setCreateTime(Timestamp.newBuilder().build())
-            .setRestoreInfo(RestoreInfo.newBuilder().build())
-            .setEncryptionConfig(EncryptionConfig.newBuilder().build())
-            .addAllEncryptionInfo(new ArrayList())
-            .setVersionRetentionPeriod("versionRetentionPeriod-629783929")
-            .setEarliestVersionTime(Timestamp.newBuilder().build())
-            .setDefaultLeader("defaultLeader759009962")
-            .setDatabaseDialect(DatabaseDialect.forNumber(0))
-            .build();
-    mockService.addResponse(expectedResponse);
-
-    DatabaseName name = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]");
-
-    Database actualResponse = client.getDatabase(name);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void getDatabaseExceptionTest() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      DatabaseName name = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]");
-      client.getDatabase(name);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void getDatabaseTest2() throws Exception {
-    Database expectedResponse =
-        Database.newBuilder()
-            .setName(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString())
-            .setCreateTime(Timestamp.newBuilder().build())
-            .setRestoreInfo(RestoreInfo.newBuilder().build())
-            .setEncryptionConfig(EncryptionConfig.newBuilder().build())
-            .addAllEncryptionInfo(new ArrayList())
-            .setVersionRetentionPeriod("versionRetentionPeriod-629783929")
-            .setEarliestVersionTime(Timestamp.newBuilder().build())
-            .setDefaultLeader("defaultLeader759009962")
-            .setDatabaseDialect(DatabaseDialect.forNumber(0))
-            .build();
-    mockService.addResponse(expectedResponse);
-
-    String name = "projects/project-5262/instances/instance-5262/databases/database-5262";
-
-    Database actualResponse = client.getDatabase(name);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void getDatabaseExceptionTest2() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      String name = "projects/project-5262/instances/instance-5262/databases/database-5262";
-      client.getDatabase(name);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void updateDatabaseDdlTest() throws Exception {
-    Empty expectedResponse = Empty.newBuilder().build();
-    Operation resultOperation =
-        Operation.newBuilder()
-            .setName("updateDatabaseDdlTest")
-            .setDone(true)
-            .setResponse(Any.pack(expectedResponse))
-            .build();
-    mockService.addResponse(resultOperation);
-
-    DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]");
-    List statements = new ArrayList<>();
-
-    client.updateDatabaseDdlAsync(database, statements).get();
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void updateDatabaseDdlExceptionTest() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]");
-      List statements = new ArrayList<>();
-      client.updateDatabaseDdlAsync(database, statements).get();
-      Assert.fail("No exception raised");
-    } catch (ExecutionException e) {
-    }
-  }
-
-  @Test
-  public void updateDatabaseDdlTest2() throws Exception {
-    Empty expectedResponse = Empty.newBuilder().build();
-    Operation resultOperation =
-        Operation.newBuilder()
-            .setName("updateDatabaseDdlTest")
-            .setDone(true)
-            .setResponse(Any.pack(expectedResponse))
-            .build();
-    mockService.addResponse(resultOperation);
-
-    String database = "projects/project-3102/instances/instance-3102/databases/database-3102";
-    List statements = new ArrayList<>();
-
-    client.updateDatabaseDdlAsync(database, statements).get();
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void updateDatabaseDdlExceptionTest2() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      String database = "projects/project-3102/instances/instance-3102/databases/database-3102";
-      List statements = new ArrayList<>();
-      client.updateDatabaseDdlAsync(database, statements).get();
-      Assert.fail("No exception raised");
-    } catch (ExecutionException e) {
-    }
-  }
-
-  @Test
-  public void dropDatabaseTest() throws Exception {
-    Empty expectedResponse = Empty.newBuilder().build();
-    mockService.addResponse(expectedResponse);
-
-    DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]");
-
-    client.dropDatabase(database);
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void dropDatabaseExceptionTest() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]");
-      client.dropDatabase(database);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void dropDatabaseTest2() throws Exception {
-    Empty expectedResponse = Empty.newBuilder().build();
-    mockService.addResponse(expectedResponse);
-
-    String database = "projects/project-3102/instances/instance-3102/databases/database-3102";
-
-    client.dropDatabase(database);
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void dropDatabaseExceptionTest2() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      String database = "projects/project-3102/instances/instance-3102/databases/database-3102";
-      client.dropDatabase(database);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void getDatabaseDdlTest() throws Exception {
-    GetDatabaseDdlResponse expectedResponse =
-        GetDatabaseDdlResponse.newBuilder().addAllStatements(new ArrayList()).build();
-    mockService.addResponse(expectedResponse);
-
-    DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]");
-
-    GetDatabaseDdlResponse actualResponse = client.getDatabaseDdl(database);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void getDatabaseDdlExceptionTest() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]");
-      client.getDatabaseDdl(database);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void getDatabaseDdlTest2() throws Exception {
-    GetDatabaseDdlResponse expectedResponse =
-        GetDatabaseDdlResponse.newBuilder().addAllStatements(new ArrayList()).build();
-    mockService.addResponse(expectedResponse);
-
-    String database = "projects/project-3102/instances/instance-3102/databases/database-3102";
-
-    GetDatabaseDdlResponse actualResponse = client.getDatabaseDdl(database);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void getDatabaseDdlExceptionTest2() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      String database = "projects/project-3102/instances/instance-3102/databases/database-3102";
-      client.getDatabaseDdl(database);
-      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();
-    mockService.addResponse(expectedResponse);
-
-    ResourceName resource = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]");
-    Policy policy = Policy.newBuilder().build();
-
-    Policy actualResponse = client.setIamPolicy(resource, policy);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void setIamPolicyExceptionTest() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      ResourceName resource = BackupName.of("[PROJECT]", "[INSTANCE]", "[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();
-    mockService.addResponse(expectedResponse);
-
-    String resource = "projects/project-1023/instances/instance-1023/databases/database-1023";
-    Policy policy = Policy.newBuilder().build();
-
-    Policy actualResponse = client.setIamPolicy(resource, policy);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void setIamPolicyExceptionTest2() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      String resource = "projects/project-1023/instances/instance-1023/databases/database-1023";
-      Policy policy = Policy.newBuilder().build();
-      client.setIamPolicy(resource, policy);
-      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();
-    mockService.addResponse(expectedResponse);
-
-    ResourceName resource = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]");
-
-    Policy actualResponse = client.getIamPolicy(resource);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void getIamPolicyExceptionTest() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      ResourceName resource = BackupName.of("[PROJECT]", "[INSTANCE]", "[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();
-    mockService.addResponse(expectedResponse);
-
-    String resource = "projects/project-1023/instances/instance-1023/databases/database-1023";
-
-    Policy actualResponse = client.getIamPolicy(resource);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void getIamPolicyExceptionTest2() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      String resource = "projects/project-1023/instances/instance-1023/databases/database-1023";
-      client.getIamPolicy(resource);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void testIamPermissionsTest() throws Exception {
-    TestIamPermissionsResponse expectedResponse =
-        TestIamPermissionsResponse.newBuilder().addAllPermissions(new ArrayList()).build();
-    mockService.addResponse(expectedResponse);
-
-    ResourceName resource = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]");
-    List permissions = new ArrayList<>();
-
-    TestIamPermissionsResponse actualResponse = client.testIamPermissions(resource, permissions);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void testIamPermissionsExceptionTest() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      ResourceName resource = BackupName.of("[PROJECT]", "[INSTANCE]", "[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();
-    mockService.addResponse(expectedResponse);
-
-    String resource = "projects/project-1023/instances/instance-1023/databases/database-1023";
-    List permissions = new ArrayList<>();
-
-    TestIamPermissionsResponse actualResponse = client.testIamPermissions(resource, permissions);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void testIamPermissionsExceptionTest2() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      String resource = "projects/project-1023/instances/instance-1023/databases/database-1023";
-      List permissions = new ArrayList<>();
-      client.testIamPermissions(resource, permissions);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void createBackupTest() throws Exception {
-    Backup expectedResponse =
-        Backup.newBuilder()
-            .setDatabase(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString())
-            .setVersionTime(Timestamp.newBuilder().build())
-            .setExpireTime(Timestamp.newBuilder().build())
-            .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]").toString())
-            .setCreateTime(Timestamp.newBuilder().build())
-            .setSizeBytes(-1796325715)
-            .addAllReferencingDatabases(new ArrayList())
-            .setEncryptionInfo(EncryptionInfo.newBuilder().build())
-            .setDatabaseDialect(DatabaseDialect.forNumber(0))
-            .addAllReferencingBackups(new ArrayList())
-            .setMaxExpireTime(Timestamp.newBuilder().build())
-            .build();
-    Operation resultOperation =
-        Operation.newBuilder()
-            .setName("createBackupTest")
-            .setDone(true)
-            .setResponse(Any.pack(expectedResponse))
-            .build();
-    mockService.addResponse(resultOperation);
-
-    InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]");
-    Backup backup = Backup.newBuilder().build();
-    String backupId = "backupId2121930365";
-
-    Backup actualResponse = client.createBackupAsync(parent, backup, backupId).get();
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void createBackupExceptionTest() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]");
-      Backup backup = Backup.newBuilder().build();
-      String backupId = "backupId2121930365";
-      client.createBackupAsync(parent, backup, backupId).get();
-      Assert.fail("No exception raised");
-    } catch (ExecutionException e) {
-    }
-  }
-
-  @Test
-  public void createBackupTest2() throws Exception {
-    Backup expectedResponse =
-        Backup.newBuilder()
-            .setDatabase(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString())
-            .setVersionTime(Timestamp.newBuilder().build())
-            .setExpireTime(Timestamp.newBuilder().build())
-            .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]").toString())
-            .setCreateTime(Timestamp.newBuilder().build())
-            .setSizeBytes(-1796325715)
-            .addAllReferencingDatabases(new ArrayList())
-            .setEncryptionInfo(EncryptionInfo.newBuilder().build())
-            .setDatabaseDialect(DatabaseDialect.forNumber(0))
-            .addAllReferencingBackups(new ArrayList())
-            .setMaxExpireTime(Timestamp.newBuilder().build())
-            .build();
-    Operation resultOperation =
-        Operation.newBuilder()
-            .setName("createBackupTest")
-            .setDone(true)
-            .setResponse(Any.pack(expectedResponse))
-            .build();
-    mockService.addResponse(resultOperation);
-
-    String parent = "projects/project-8887/instances/instance-8887";
-    Backup backup = Backup.newBuilder().build();
-    String backupId = "backupId2121930365";
-
-    Backup actualResponse = client.createBackupAsync(parent, backup, backupId).get();
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void createBackupExceptionTest2() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      String parent = "projects/project-8887/instances/instance-8887";
-      Backup backup = Backup.newBuilder().build();
-      String backupId = "backupId2121930365";
-      client.createBackupAsync(parent, backup, backupId).get();
-      Assert.fail("No exception raised");
-    } catch (ExecutionException e) {
-    }
-  }
-
-  @Test
-  public void copyBackupTest() throws Exception {
-    Backup expectedResponse =
-        Backup.newBuilder()
-            .setDatabase(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString())
-            .setVersionTime(Timestamp.newBuilder().build())
-            .setExpireTime(Timestamp.newBuilder().build())
-            .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]").toString())
-            .setCreateTime(Timestamp.newBuilder().build())
-            .setSizeBytes(-1796325715)
-            .addAllReferencingDatabases(new ArrayList())
-            .setEncryptionInfo(EncryptionInfo.newBuilder().build())
-            .setDatabaseDialect(DatabaseDialect.forNumber(0))
-            .addAllReferencingBackups(new ArrayList())
-            .setMaxExpireTime(Timestamp.newBuilder().build())
-            .build();
-    Operation resultOperation =
-        Operation.newBuilder()
-            .setName("copyBackupTest")
-            .setDone(true)
-            .setResponse(Any.pack(expectedResponse))
-            .build();
-    mockService.addResponse(resultOperation);
-
-    InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]");
-    String backupId = "backupId2121930365";
-    BackupName sourceBackup = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]");
-    Timestamp expireTime = Timestamp.newBuilder().build();
-
-    Backup actualResponse =
-        client.copyBackupAsync(parent, backupId, sourceBackup, expireTime).get();
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void copyBackupExceptionTest() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]");
-      String backupId = "backupId2121930365";
-      BackupName sourceBackup = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]");
-      Timestamp expireTime = Timestamp.newBuilder().build();
-      client.copyBackupAsync(parent, backupId, sourceBackup, expireTime).get();
-      Assert.fail("No exception raised");
-    } catch (ExecutionException e) {
-    }
-  }
-
-  @Test
-  public void copyBackupTest2() throws Exception {
-    Backup expectedResponse =
-        Backup.newBuilder()
-            .setDatabase(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString())
-            .setVersionTime(Timestamp.newBuilder().build())
-            .setExpireTime(Timestamp.newBuilder().build())
-            .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]").toString())
-            .setCreateTime(Timestamp.newBuilder().build())
-            .setSizeBytes(-1796325715)
-            .addAllReferencingDatabases(new ArrayList())
-            .setEncryptionInfo(EncryptionInfo.newBuilder().build())
-            .setDatabaseDialect(DatabaseDialect.forNumber(0))
-            .addAllReferencingBackups(new ArrayList())
-            .setMaxExpireTime(Timestamp.newBuilder().build())
-            .build();
-    Operation resultOperation =
-        Operation.newBuilder()
-            .setName("copyBackupTest")
-            .setDone(true)
-            .setResponse(Any.pack(expectedResponse))
-            .build();
-    mockService.addResponse(resultOperation);
-
-    InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]");
-    String backupId = "backupId2121930365";
-    String sourceBackup = "sourceBackup823134653";
-    Timestamp expireTime = Timestamp.newBuilder().build();
-
-    Backup actualResponse =
-        client.copyBackupAsync(parent, backupId, sourceBackup, expireTime).get();
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void copyBackupExceptionTest2() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]");
-      String backupId = "backupId2121930365";
-      String sourceBackup = "sourceBackup823134653";
-      Timestamp expireTime = Timestamp.newBuilder().build();
-      client.copyBackupAsync(parent, backupId, sourceBackup, expireTime).get();
-      Assert.fail("No exception raised");
-    } catch (ExecutionException e) {
-    }
-  }
-
-  @Test
-  public void copyBackupTest3() throws Exception {
-    Backup expectedResponse =
-        Backup.newBuilder()
-            .setDatabase(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString())
-            .setVersionTime(Timestamp.newBuilder().build())
-            .setExpireTime(Timestamp.newBuilder().build())
-            .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]").toString())
-            .setCreateTime(Timestamp.newBuilder().build())
-            .setSizeBytes(-1796325715)
-            .addAllReferencingDatabases(new ArrayList())
-            .setEncryptionInfo(EncryptionInfo.newBuilder().build())
-            .setDatabaseDialect(DatabaseDialect.forNumber(0))
-            .addAllReferencingBackups(new ArrayList())
-            .setMaxExpireTime(Timestamp.newBuilder().build())
-            .build();
-    Operation resultOperation =
-        Operation.newBuilder()
-            .setName("copyBackupTest")
-            .setDone(true)
-            .setResponse(Any.pack(expectedResponse))
-            .build();
-    mockService.addResponse(resultOperation);
-
-    String parent = "projects/project-8887/instances/instance-8887";
-    String backupId = "backupId2121930365";
-    BackupName sourceBackup = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]");
-    Timestamp expireTime = Timestamp.newBuilder().build();
-
-    Backup actualResponse =
-        client.copyBackupAsync(parent, backupId, sourceBackup, expireTime).get();
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void copyBackupExceptionTest3() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      String parent = "projects/project-8887/instances/instance-8887";
-      String backupId = "backupId2121930365";
-      BackupName sourceBackup = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]");
-      Timestamp expireTime = Timestamp.newBuilder().build();
-      client.copyBackupAsync(parent, backupId, sourceBackup, expireTime).get();
-      Assert.fail("No exception raised");
-    } catch (ExecutionException e) {
-    }
-  }
-
-  @Test
-  public void copyBackupTest4() throws Exception {
-    Backup expectedResponse =
-        Backup.newBuilder()
-            .setDatabase(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString())
-            .setVersionTime(Timestamp.newBuilder().build())
-            .setExpireTime(Timestamp.newBuilder().build())
-            .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]").toString())
-            .setCreateTime(Timestamp.newBuilder().build())
-            .setSizeBytes(-1796325715)
-            .addAllReferencingDatabases(new ArrayList())
-            .setEncryptionInfo(EncryptionInfo.newBuilder().build())
-            .setDatabaseDialect(DatabaseDialect.forNumber(0))
-            .addAllReferencingBackups(new ArrayList())
-            .setMaxExpireTime(Timestamp.newBuilder().build())
-            .build();
-    Operation resultOperation =
-        Operation.newBuilder()
-            .setName("copyBackupTest")
-            .setDone(true)
-            .setResponse(Any.pack(expectedResponse))
-            .build();
-    mockService.addResponse(resultOperation);
-
-    String parent = "projects/project-8887/instances/instance-8887";
-    String backupId = "backupId2121930365";
-    String sourceBackup = "sourceBackup823134653";
-    Timestamp expireTime = Timestamp.newBuilder().build();
-
-    Backup actualResponse =
-        client.copyBackupAsync(parent, backupId, sourceBackup, expireTime).get();
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void copyBackupExceptionTest4() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      String parent = "projects/project-8887/instances/instance-8887";
-      String backupId = "backupId2121930365";
-      String sourceBackup = "sourceBackup823134653";
-      Timestamp expireTime = Timestamp.newBuilder().build();
-      client.copyBackupAsync(parent, backupId, sourceBackup, expireTime).get();
-      Assert.fail("No exception raised");
-    } catch (ExecutionException e) {
-    }
-  }
-
-  @Test
-  public void getBackupTest() throws Exception {
-    Backup expectedResponse =
-        Backup.newBuilder()
-            .setDatabase(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString())
-            .setVersionTime(Timestamp.newBuilder().build())
-            .setExpireTime(Timestamp.newBuilder().build())
-            .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]").toString())
-            .setCreateTime(Timestamp.newBuilder().build())
-            .setSizeBytes(-1796325715)
-            .addAllReferencingDatabases(new ArrayList())
-            .setEncryptionInfo(EncryptionInfo.newBuilder().build())
-            .setDatabaseDialect(DatabaseDialect.forNumber(0))
-            .addAllReferencingBackups(new ArrayList())
-            .setMaxExpireTime(Timestamp.newBuilder().build())
-            .build();
-    mockService.addResponse(expectedResponse);
-
-    BackupName name = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]");
-
-    Backup actualResponse = client.getBackup(name);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void getBackupExceptionTest() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      BackupName name = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]");
-      client.getBackup(name);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void getBackupTest2() throws Exception {
-    Backup expectedResponse =
-        Backup.newBuilder()
-            .setDatabase(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString())
-            .setVersionTime(Timestamp.newBuilder().build())
-            .setExpireTime(Timestamp.newBuilder().build())
-            .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]").toString())
-            .setCreateTime(Timestamp.newBuilder().build())
-            .setSizeBytes(-1796325715)
-            .addAllReferencingDatabases(new ArrayList())
-            .setEncryptionInfo(EncryptionInfo.newBuilder().build())
-            .setDatabaseDialect(DatabaseDialect.forNumber(0))
-            .addAllReferencingBackups(new ArrayList())
-            .setMaxExpireTime(Timestamp.newBuilder().build())
-            .build();
-    mockService.addResponse(expectedResponse);
-
-    String name = "projects/project-3271/instances/instance-3271/backups/backup-3271";
-
-    Backup actualResponse = client.getBackup(name);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void getBackupExceptionTest2() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      String name = "projects/project-3271/instances/instance-3271/backups/backup-3271";
-      client.getBackup(name);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void updateBackupTest() throws Exception {
-    Backup expectedResponse =
-        Backup.newBuilder()
-            .setDatabase(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString())
-            .setVersionTime(Timestamp.newBuilder().build())
-            .setExpireTime(Timestamp.newBuilder().build())
-            .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]").toString())
-            .setCreateTime(Timestamp.newBuilder().build())
-            .setSizeBytes(-1796325715)
-            .addAllReferencingDatabases(new ArrayList())
-            .setEncryptionInfo(EncryptionInfo.newBuilder().build())
-            .setDatabaseDialect(DatabaseDialect.forNumber(0))
-            .addAllReferencingBackups(new ArrayList())
-            .setMaxExpireTime(Timestamp.newBuilder().build())
-            .build();
-    mockService.addResponse(expectedResponse);
-
-    Backup backup =
-        Backup.newBuilder()
-            .setDatabase(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString())
-            .setVersionTime(Timestamp.newBuilder().build())
-            .setExpireTime(Timestamp.newBuilder().build())
-            .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]").toString())
-            .setCreateTime(Timestamp.newBuilder().build())
-            .setSizeBytes(-1796325715)
-            .addAllReferencingDatabases(new ArrayList())
-            .setEncryptionInfo(EncryptionInfo.newBuilder().build())
-            .setDatabaseDialect(DatabaseDialect.forNumber(0))
-            .addAllReferencingBackups(new ArrayList())
-            .setMaxExpireTime(Timestamp.newBuilder().build())
-            .build();
-    FieldMask updateMask = FieldMask.newBuilder().build();
-
-    Backup actualResponse = client.updateBackup(backup, updateMask);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void updateBackupExceptionTest() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      Backup backup =
-          Backup.newBuilder()
-              .setDatabase(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString())
-              .setVersionTime(Timestamp.newBuilder().build())
-              .setExpireTime(Timestamp.newBuilder().build())
-              .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]").toString())
-              .setCreateTime(Timestamp.newBuilder().build())
-              .setSizeBytes(-1796325715)
-              .addAllReferencingDatabases(new ArrayList())
-              .setEncryptionInfo(EncryptionInfo.newBuilder().build())
-              .setDatabaseDialect(DatabaseDialect.forNumber(0))
-              .addAllReferencingBackups(new ArrayList())
-              .setMaxExpireTime(Timestamp.newBuilder().build())
-              .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();
-    mockService.addResponse(expectedResponse);
-
-    BackupName name = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]");
-
-    client.deleteBackup(name);
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void deleteBackupExceptionTest() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      BackupName name = BackupName.of("[PROJECT]", "[INSTANCE]", "[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();
-    mockService.addResponse(expectedResponse);
-
-    String name = "projects/project-3271/instances/instance-3271/backups/backup-3271";
-
-    client.deleteBackup(name);
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void deleteBackupExceptionTest2() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      String name = "projects/project-3271/instances/instance-3271/backups/backup-3271";
-      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();
-    mockService.addResponse(expectedResponse);
-
-    InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]");
-
-    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 = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void listBackupsExceptionTest() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]");
-      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();
-    mockService.addResponse(expectedResponse);
-
-    String parent = "projects/project-8887/instances/instance-8887";
-
-    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 = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void listBackupsExceptionTest2() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      String parent = "projects/project-8887/instances/instance-8887";
-      client.listBackups(parent);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void restoreDatabaseTest() throws Exception {
-    Database expectedResponse =
-        Database.newBuilder()
-            .setName(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString())
-            .setCreateTime(Timestamp.newBuilder().build())
-            .setRestoreInfo(RestoreInfo.newBuilder().build())
-            .setEncryptionConfig(EncryptionConfig.newBuilder().build())
-            .addAllEncryptionInfo(new ArrayList())
-            .setVersionRetentionPeriod("versionRetentionPeriod-629783929")
-            .setEarliestVersionTime(Timestamp.newBuilder().build())
-            .setDefaultLeader("defaultLeader759009962")
-            .setDatabaseDialect(DatabaseDialect.forNumber(0))
-            .build();
-    Operation resultOperation =
-        Operation.newBuilder()
-            .setName("restoreDatabaseTest")
-            .setDone(true)
-            .setResponse(Any.pack(expectedResponse))
-            .build();
-    mockService.addResponse(resultOperation);
-
-    InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]");
-    String databaseId = "databaseId1688905718";
-    BackupName backup = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]");
-
-    Database actualResponse = client.restoreDatabaseAsync(parent, databaseId, backup).get();
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void restoreDatabaseExceptionTest() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]");
-      String databaseId = "databaseId1688905718";
-      BackupName backup = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]");
-      client.restoreDatabaseAsync(parent, databaseId, backup).get();
-      Assert.fail("No exception raised");
-    } catch (ExecutionException e) {
-    }
-  }
-
-  @Test
-  public void restoreDatabaseTest2() throws Exception {
-    Database expectedResponse =
-        Database.newBuilder()
-            .setName(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString())
-            .setCreateTime(Timestamp.newBuilder().build())
-            .setRestoreInfo(RestoreInfo.newBuilder().build())
-            .setEncryptionConfig(EncryptionConfig.newBuilder().build())
-            .addAllEncryptionInfo(new ArrayList())
-            .setVersionRetentionPeriod("versionRetentionPeriod-629783929")
-            .setEarliestVersionTime(Timestamp.newBuilder().build())
-            .setDefaultLeader("defaultLeader759009962")
-            .setDatabaseDialect(DatabaseDialect.forNumber(0))
-            .build();
-    Operation resultOperation =
-        Operation.newBuilder()
-            .setName("restoreDatabaseTest")
-            .setDone(true)
-            .setResponse(Any.pack(expectedResponse))
-            .build();
-    mockService.addResponse(resultOperation);
-
-    InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]");
-    String databaseId = "databaseId1688905718";
-    String backup = "backup-1396673086";
-
-    Database actualResponse = client.restoreDatabaseAsync(parent, databaseId, backup).get();
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void restoreDatabaseExceptionTest2() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]");
-      String databaseId = "databaseId1688905718";
-      String backup = "backup-1396673086";
-      client.restoreDatabaseAsync(parent, databaseId, backup).get();
-      Assert.fail("No exception raised");
-    } catch (ExecutionException e) {
-    }
-  }
-
-  @Test
-  public void restoreDatabaseTest3() throws Exception {
-    Database expectedResponse =
-        Database.newBuilder()
-            .setName(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString())
-            .setCreateTime(Timestamp.newBuilder().build())
-            .setRestoreInfo(RestoreInfo.newBuilder().build())
-            .setEncryptionConfig(EncryptionConfig.newBuilder().build())
-            .addAllEncryptionInfo(new ArrayList())
-            .setVersionRetentionPeriod("versionRetentionPeriod-629783929")
-            .setEarliestVersionTime(Timestamp.newBuilder().build())
-            .setDefaultLeader("defaultLeader759009962")
-            .setDatabaseDialect(DatabaseDialect.forNumber(0))
-            .build();
-    Operation resultOperation =
-        Operation.newBuilder()
-            .setName("restoreDatabaseTest")
-            .setDone(true)
-            .setResponse(Any.pack(expectedResponse))
-            .build();
-    mockService.addResponse(resultOperation);
-
-    String parent = "projects/project-8887/instances/instance-8887";
-    String databaseId = "databaseId1688905718";
-    BackupName backup = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]");
-
-    Database actualResponse = client.restoreDatabaseAsync(parent, databaseId, backup).get();
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void restoreDatabaseExceptionTest3() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      String parent = "projects/project-8887/instances/instance-8887";
-      String databaseId = "databaseId1688905718";
-      BackupName backup = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]");
-      client.restoreDatabaseAsync(parent, databaseId, backup).get();
-      Assert.fail("No exception raised");
-    } catch (ExecutionException e) {
-    }
-  }
-
-  @Test
-  public void restoreDatabaseTest4() throws Exception {
-    Database expectedResponse =
-        Database.newBuilder()
-            .setName(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString())
-            .setCreateTime(Timestamp.newBuilder().build())
-            .setRestoreInfo(RestoreInfo.newBuilder().build())
-            .setEncryptionConfig(EncryptionConfig.newBuilder().build())
-            .addAllEncryptionInfo(new ArrayList())
-            .setVersionRetentionPeriod("versionRetentionPeriod-629783929")
-            .setEarliestVersionTime(Timestamp.newBuilder().build())
-            .setDefaultLeader("defaultLeader759009962")
-            .setDatabaseDialect(DatabaseDialect.forNumber(0))
-            .build();
-    Operation resultOperation =
-        Operation.newBuilder()
-            .setName("restoreDatabaseTest")
-            .setDone(true)
-            .setResponse(Any.pack(expectedResponse))
-            .build();
-    mockService.addResponse(resultOperation);
-
-    String parent = "projects/project-8887/instances/instance-8887";
-    String databaseId = "databaseId1688905718";
-    String backup = "backup-1396673086";
-
-    Database actualResponse = client.restoreDatabaseAsync(parent, databaseId, backup).get();
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void restoreDatabaseExceptionTest4() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      String parent = "projects/project-8887/instances/instance-8887";
-      String databaseId = "databaseId1688905718";
-      String backup = "backup-1396673086";
-      client.restoreDatabaseAsync(parent, databaseId, backup).get();
-      Assert.fail("No exception raised");
-    } catch (ExecutionException e) {
-    }
-  }
-
-  @Test
-  public void listDatabaseOperationsTest() throws Exception {
-    Operation responsesElement = Operation.newBuilder().build();
-    ListDatabaseOperationsResponse expectedResponse =
-        ListDatabaseOperationsResponse.newBuilder()
-            .setNextPageToken("")
-            .addAllOperations(Arrays.asList(responsesElement))
-            .build();
-    mockService.addResponse(expectedResponse);
-
-    InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]");
-
-    ListDatabaseOperationsPagedResponse pagedListResponse = client.listDatabaseOperations(parent);
-
-    List resources = Lists.newArrayList(pagedListResponse.iterateAll());
-
-    Assert.assertEquals(1, resources.size());
-    Assert.assertEquals(expectedResponse.getOperationsList().get(0), resources.get(0));
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void listDatabaseOperationsExceptionTest() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]");
-      client.listDatabaseOperations(parent);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void listDatabaseOperationsTest2() throws Exception {
-    Operation responsesElement = Operation.newBuilder().build();
-    ListDatabaseOperationsResponse expectedResponse =
-        ListDatabaseOperationsResponse.newBuilder()
-            .setNextPageToken("")
-            .addAllOperations(Arrays.asList(responsesElement))
-            .build();
-    mockService.addResponse(expectedResponse);
-
-    String parent = "projects/project-8887/instances/instance-8887";
-
-    ListDatabaseOperationsPagedResponse pagedListResponse = client.listDatabaseOperations(parent);
-
-    List resources = Lists.newArrayList(pagedListResponse.iterateAll());
-
-    Assert.assertEquals(1, resources.size());
-    Assert.assertEquals(expectedResponse.getOperationsList().get(0), resources.get(0));
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void listDatabaseOperationsExceptionTest2() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      String parent = "projects/project-8887/instances/instance-8887";
-      client.listDatabaseOperations(parent);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void listBackupOperationsTest() throws Exception {
-    Operation responsesElement = Operation.newBuilder().build();
-    ListBackupOperationsResponse expectedResponse =
-        ListBackupOperationsResponse.newBuilder()
-            .setNextPageToken("")
-            .addAllOperations(Arrays.asList(responsesElement))
-            .build();
-    mockService.addResponse(expectedResponse);
-
-    InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]");
-
-    ListBackupOperationsPagedResponse pagedListResponse = client.listBackupOperations(parent);
-
-    List resources = Lists.newArrayList(pagedListResponse.iterateAll());
-
-    Assert.assertEquals(1, resources.size());
-    Assert.assertEquals(expectedResponse.getOperationsList().get(0), resources.get(0));
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void listBackupOperationsExceptionTest() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]");
-      client.listBackupOperations(parent);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void listBackupOperationsTest2() throws Exception {
-    Operation responsesElement = Operation.newBuilder().build();
-    ListBackupOperationsResponse expectedResponse =
-        ListBackupOperationsResponse.newBuilder()
-            .setNextPageToken("")
-            .addAllOperations(Arrays.asList(responsesElement))
-            .build();
-    mockService.addResponse(expectedResponse);
-
-    String parent = "projects/project-8887/instances/instance-8887";
-
-    ListBackupOperationsPagedResponse pagedListResponse = client.listBackupOperations(parent);
-
-    List resources = Lists.newArrayList(pagedListResponse.iterateAll());
-
-    Assert.assertEquals(1, resources.size());
-    Assert.assertEquals(expectedResponse.getOperationsList().get(0), resources.get(0));
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void listBackupOperationsExceptionTest2() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      String parent = "projects/project-8887/instances/instance-8887";
-      client.listBackupOperations(parent);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void listDatabaseRolesTest() throws Exception {
-    DatabaseRole responsesElement = DatabaseRole.newBuilder().build();
-    ListDatabaseRolesResponse expectedResponse =
-        ListDatabaseRolesResponse.newBuilder()
-            .setNextPageToken("")
-            .addAllDatabaseRoles(Arrays.asList(responsesElement))
-            .build();
-    mockService.addResponse(expectedResponse);
-
-    DatabaseName parent = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]");
-
-    ListDatabaseRolesPagedResponse pagedListResponse = client.listDatabaseRoles(parent);
-
-    List resources = Lists.newArrayList(pagedListResponse.iterateAll());
-
-    Assert.assertEquals(1, resources.size());
-    Assert.assertEquals(expectedResponse.getDatabaseRolesList().get(0), resources.get(0));
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void listDatabaseRolesExceptionTest() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      DatabaseName parent = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]");
-      client.listDatabaseRoles(parent);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void listDatabaseRolesTest2() throws Exception {
-    DatabaseRole responsesElement = DatabaseRole.newBuilder().build();
-    ListDatabaseRolesResponse expectedResponse =
-        ListDatabaseRolesResponse.newBuilder()
-            .setNextPageToken("")
-            .addAllDatabaseRoles(Arrays.asList(responsesElement))
-            .build();
-    mockService.addResponse(expectedResponse);
-
-    String parent = "projects/project-9347/instances/instance-9347/databases/database-9347";
-
-    ListDatabaseRolesPagedResponse pagedListResponse = client.listDatabaseRoles(parent);
-
-    List resources = Lists.newArrayList(pagedListResponse.iterateAll());
-
-    Assert.assertEquals(1, resources.size());
-    Assert.assertEquals(expectedResponse.getDatabaseRolesList().get(0), resources.get(0));
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void listDatabaseRolesExceptionTest2() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      String parent = "projects/project-9347/instances/instance-9347/databases/database-9347";
-      client.listDatabaseRoles(parent);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-}
diff --git a/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminClientTest.java b/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminClientTest.java
deleted file mode 100644
index 51c780c9829..00000000000
--- a/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminClientTest.java
+++ /dev/null
@@ -1,2104 +0,0 @@
-/*
- * Copyright 2022 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.google.cloud.spanner.admin.database.v1;
-
-import static com.google.cloud.spanner.admin.database.v1.DatabaseAdminClient.ListBackupOperationsPagedResponse;
-import static com.google.cloud.spanner.admin.database.v1.DatabaseAdminClient.ListBackupsPagedResponse;
-import static com.google.cloud.spanner.admin.database.v1.DatabaseAdminClient.ListDatabaseOperationsPagedResponse;
-import static com.google.cloud.spanner.admin.database.v1.DatabaseAdminClient.ListDatabaseRolesPagedResponse;
-import static com.google.cloud.spanner.admin.database.v1.DatabaseAdminClient.ListDatabasesPagedResponse;
-
-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.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 com.google.spanner.admin.database.v1.Backup;
-import com.google.spanner.admin.database.v1.BackupName;
-import com.google.spanner.admin.database.v1.CopyBackupRequest;
-import com.google.spanner.admin.database.v1.CreateBackupRequest;
-import com.google.spanner.admin.database.v1.CreateDatabaseRequest;
-import com.google.spanner.admin.database.v1.Database;
-import com.google.spanner.admin.database.v1.DatabaseDialect;
-import com.google.spanner.admin.database.v1.DatabaseName;
-import com.google.spanner.admin.database.v1.DatabaseRole;
-import com.google.spanner.admin.database.v1.DeleteBackupRequest;
-import com.google.spanner.admin.database.v1.DropDatabaseRequest;
-import com.google.spanner.admin.database.v1.EncryptionConfig;
-import com.google.spanner.admin.database.v1.EncryptionInfo;
-import com.google.spanner.admin.database.v1.GetBackupRequest;
-import com.google.spanner.admin.database.v1.GetDatabaseDdlRequest;
-import com.google.spanner.admin.database.v1.GetDatabaseDdlResponse;
-import com.google.spanner.admin.database.v1.GetDatabaseRequest;
-import com.google.spanner.admin.database.v1.InstanceName;
-import com.google.spanner.admin.database.v1.ListBackupOperationsRequest;
-import com.google.spanner.admin.database.v1.ListBackupOperationsResponse;
-import com.google.spanner.admin.database.v1.ListBackupsRequest;
-import com.google.spanner.admin.database.v1.ListBackupsResponse;
-import com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest;
-import com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse;
-import com.google.spanner.admin.database.v1.ListDatabaseRolesRequest;
-import com.google.spanner.admin.database.v1.ListDatabaseRolesResponse;
-import com.google.spanner.admin.database.v1.ListDatabasesRequest;
-import com.google.spanner.admin.database.v1.ListDatabasesResponse;
-import com.google.spanner.admin.database.v1.RestoreDatabaseRequest;
-import com.google.spanner.admin.database.v1.RestoreInfo;
-import com.google.spanner.admin.database.v1.UpdateBackupRequest;
-import com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest;
-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 DatabaseAdminClientTest {
-  private static MockDatabaseAdmin mockDatabaseAdmin;
-  private static MockServiceHelper mockServiceHelper;
-  private LocalChannelProvider channelProvider;
-  private DatabaseAdminClient client;
-
-  @BeforeClass
-  public static void startStaticServer() {
-    mockDatabaseAdmin = new MockDatabaseAdmin();
-    mockServiceHelper =
-        new MockServiceHelper(
-            UUID.randomUUID().toString(), Arrays.asList(mockDatabaseAdmin));
-    mockServiceHelper.start();
-  }
-
-  @AfterClass
-  public static void stopServer() {
-    mockServiceHelper.stop();
-  }
-
-  @Before
-  public void setUp() throws IOException {
-    mockServiceHelper.reset();
-    channelProvider = mockServiceHelper.createChannelProvider();
-    DatabaseAdminSettings settings =
-        DatabaseAdminSettings.newBuilder()
-            .setTransportChannelProvider(channelProvider)
-            .setCredentialsProvider(NoCredentialsProvider.create())
-            .build();
-    client = DatabaseAdminClient.create(settings);
-  }
-
-  @After
-  public void tearDown() throws Exception {
-    client.close();
-  }
-
-  @Test
-  public void listDatabasesTest() throws Exception {
-    Database responsesElement = Database.newBuilder().build();
-    ListDatabasesResponse expectedResponse =
-        ListDatabasesResponse.newBuilder()
-            .setNextPageToken("")
-            .addAllDatabases(Arrays.asList(responsesElement))
-            .build();
-    mockDatabaseAdmin.addResponse(expectedResponse);
-
-    InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]");
-
-    ListDatabasesPagedResponse pagedListResponse = client.listDatabases(parent);
-
-    List resources = Lists.newArrayList(pagedListResponse.iterateAll());
-
-    Assert.assertEquals(1, resources.size());
-    Assert.assertEquals(expectedResponse.getDatabasesList().get(0), resources.get(0));
-
-    List actualRequests = mockDatabaseAdmin.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    ListDatabasesRequest actualRequest = ((ListDatabasesRequest) actualRequests.get(0));
-
-    Assert.assertEquals(parent.toString(), actualRequest.getParent());
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  public void listDatabasesExceptionTest() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
-    mockDatabaseAdmin.addException(exception);
-
-    try {
-      InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]");
-      client.listDatabases(parent);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void listDatabasesTest2() throws Exception {
-    Database responsesElement = Database.newBuilder().build();
-    ListDatabasesResponse expectedResponse =
-        ListDatabasesResponse.newBuilder()
-            .setNextPageToken("")
-            .addAllDatabases(Arrays.asList(responsesElement))
-            .build();
-    mockDatabaseAdmin.addResponse(expectedResponse);
-
-    String parent = "parent-995424086";
-
-    ListDatabasesPagedResponse pagedListResponse = client.listDatabases(parent);
-
-    List resources = Lists.newArrayList(pagedListResponse.iterateAll());
-
-    Assert.assertEquals(1, resources.size());
-    Assert.assertEquals(expectedResponse.getDatabasesList().get(0), resources.get(0));
-
-    List actualRequests = mockDatabaseAdmin.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    ListDatabasesRequest actualRequest = ((ListDatabasesRequest) actualRequests.get(0));
-
-    Assert.assertEquals(parent, actualRequest.getParent());
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  public void listDatabasesExceptionTest2() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
-    mockDatabaseAdmin.addException(exception);
-
-    try {
-      String parent = "parent-995424086";
-      client.listDatabases(parent);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void createDatabaseTest() throws Exception {
-    Database expectedResponse =
-        Database.newBuilder()
-            .setName(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString())
-            .setCreateTime(Timestamp.newBuilder().build())
-            .setRestoreInfo(RestoreInfo.newBuilder().build())
-            .setEncryptionConfig(EncryptionConfig.newBuilder().build())
-            .addAllEncryptionInfo(new ArrayList())
-            .setVersionRetentionPeriod("versionRetentionPeriod-629783929")
-            .setEarliestVersionTime(Timestamp.newBuilder().build())
-            .setDefaultLeader("defaultLeader759009962")
-            .setDatabaseDialect(DatabaseDialect.forNumber(0))
-            .build();
-    Operation resultOperation =
-        Operation.newBuilder()
-            .setName("createDatabaseTest")
-            .setDone(true)
-            .setResponse(Any.pack(expectedResponse))
-            .build();
-    mockDatabaseAdmin.addResponse(resultOperation);
-
-    InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]");
-    String createStatement = "createStatement744686547";
-
-    Database actualResponse = client.createDatabaseAsync(parent, createStatement).get();
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockDatabaseAdmin.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    CreateDatabaseRequest actualRequest = ((CreateDatabaseRequest) actualRequests.get(0));
-
-    Assert.assertEquals(parent.toString(), actualRequest.getParent());
-    Assert.assertEquals(createStatement, actualRequest.getCreateStatement());
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  public void createDatabaseExceptionTest() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
-    mockDatabaseAdmin.addException(exception);
-
-    try {
-      InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]");
-      String createStatement = "createStatement744686547";
-      client.createDatabaseAsync(parent, createStatement).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 createDatabaseTest2() throws Exception {
-    Database expectedResponse =
-        Database.newBuilder()
-            .setName(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString())
-            .setCreateTime(Timestamp.newBuilder().build())
-            .setRestoreInfo(RestoreInfo.newBuilder().build())
-            .setEncryptionConfig(EncryptionConfig.newBuilder().build())
-            .addAllEncryptionInfo(new ArrayList())
-            .setVersionRetentionPeriod("versionRetentionPeriod-629783929")
-            .setEarliestVersionTime(Timestamp.newBuilder().build())
-            .setDefaultLeader("defaultLeader759009962")
-            .setDatabaseDialect(DatabaseDialect.forNumber(0))
-            .build();
-    Operation resultOperation =
-        Operation.newBuilder()
-            .setName("createDatabaseTest")
-            .setDone(true)
-            .setResponse(Any.pack(expectedResponse))
-            .build();
-    mockDatabaseAdmin.addResponse(resultOperation);
-
-    String parent = "parent-995424086";
-    String createStatement = "createStatement744686547";
-
-    Database actualResponse = client.createDatabaseAsync(parent, createStatement).get();
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockDatabaseAdmin.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    CreateDatabaseRequest actualRequest = ((CreateDatabaseRequest) actualRequests.get(0));
-
-    Assert.assertEquals(parent, actualRequest.getParent());
-    Assert.assertEquals(createStatement, actualRequest.getCreateStatement());
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  public void createDatabaseExceptionTest2() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
-    mockDatabaseAdmin.addException(exception);
-
-    try {
-      String parent = "parent-995424086";
-      String createStatement = "createStatement744686547";
-      client.createDatabaseAsync(parent, createStatement).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 getDatabaseTest() throws Exception {
-    Database expectedResponse =
-        Database.newBuilder()
-            .setName(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString())
-            .setCreateTime(Timestamp.newBuilder().build())
-            .setRestoreInfo(RestoreInfo.newBuilder().build())
-            .setEncryptionConfig(EncryptionConfig.newBuilder().build())
-            .addAllEncryptionInfo(new ArrayList())
-            .setVersionRetentionPeriod("versionRetentionPeriod-629783929")
-            .setEarliestVersionTime(Timestamp.newBuilder().build())
-            .setDefaultLeader("defaultLeader759009962")
-            .setDatabaseDialect(DatabaseDialect.forNumber(0))
-            .build();
-    mockDatabaseAdmin.addResponse(expectedResponse);
-
-    DatabaseName name = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]");
-
-    Database actualResponse = client.getDatabase(name);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockDatabaseAdmin.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    GetDatabaseRequest actualRequest = ((GetDatabaseRequest) actualRequests.get(0));
-
-    Assert.assertEquals(name.toString(), actualRequest.getName());
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  public void getDatabaseExceptionTest() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
-    mockDatabaseAdmin.addException(exception);
-
-    try {
-      DatabaseName name = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]");
-      client.getDatabase(name);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void getDatabaseTest2() throws Exception {
-    Database expectedResponse =
-        Database.newBuilder()
-            .setName(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString())
-            .setCreateTime(Timestamp.newBuilder().build())
-            .setRestoreInfo(RestoreInfo.newBuilder().build())
-            .setEncryptionConfig(EncryptionConfig.newBuilder().build())
-            .addAllEncryptionInfo(new ArrayList())
-            .setVersionRetentionPeriod("versionRetentionPeriod-629783929")
-            .setEarliestVersionTime(Timestamp.newBuilder().build())
-            .setDefaultLeader("defaultLeader759009962")
-            .setDatabaseDialect(DatabaseDialect.forNumber(0))
-            .build();
-    mockDatabaseAdmin.addResponse(expectedResponse);
-
-    String name = "name3373707";
-
-    Database actualResponse = client.getDatabase(name);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockDatabaseAdmin.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    GetDatabaseRequest actualRequest = ((GetDatabaseRequest) actualRequests.get(0));
-
-    Assert.assertEquals(name, actualRequest.getName());
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  public void getDatabaseExceptionTest2() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
-    mockDatabaseAdmin.addException(exception);
-
-    try {
-      String name = "name3373707";
-      client.getDatabase(name);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void updateDatabaseDdlTest() throws Exception {
-    Empty expectedResponse = Empty.newBuilder().build();
-    Operation resultOperation =
-        Operation.newBuilder()
-            .setName("updateDatabaseDdlTest")
-            .setDone(true)
-            .setResponse(Any.pack(expectedResponse))
-            .build();
-    mockDatabaseAdmin.addResponse(resultOperation);
-
-    DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]");
-    List statements = new ArrayList<>();
-
-    client.updateDatabaseDdlAsync(database, statements).get();
-
-    List actualRequests = mockDatabaseAdmin.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    UpdateDatabaseDdlRequest actualRequest = ((UpdateDatabaseDdlRequest) actualRequests.get(0));
-
-    Assert.assertEquals(database.toString(), actualRequest.getDatabase());
-    Assert.assertEquals(statements, actualRequest.getStatementsList());
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  public void updateDatabaseDdlExceptionTest() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
-    mockDatabaseAdmin.addException(exception);
-
-    try {
-      DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]");
-      List statements = new ArrayList<>();
-      client.updateDatabaseDdlAsync(database, statements).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 updateDatabaseDdlTest2() throws Exception {
-    Empty expectedResponse = Empty.newBuilder().build();
-    Operation resultOperation =
-        Operation.newBuilder()
-            .setName("updateDatabaseDdlTest")
-            .setDone(true)
-            .setResponse(Any.pack(expectedResponse))
-            .build();
-    mockDatabaseAdmin.addResponse(resultOperation);
-
-    String database = "database1789464955";
-    List statements = new ArrayList<>();
-
-    client.updateDatabaseDdlAsync(database, statements).get();
-
-    List actualRequests = mockDatabaseAdmin.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    UpdateDatabaseDdlRequest actualRequest = ((UpdateDatabaseDdlRequest) actualRequests.get(0));
-
-    Assert.assertEquals(database, actualRequest.getDatabase());
-    Assert.assertEquals(statements, actualRequest.getStatementsList());
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  public void updateDatabaseDdlExceptionTest2() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
-    mockDatabaseAdmin.addException(exception);
-
-    try {
-      String database = "database1789464955";
-      List statements = new ArrayList<>();
-      client.updateDatabaseDdlAsync(database, statements).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 dropDatabaseTest() throws Exception {
-    Empty expectedResponse = Empty.newBuilder().build();
-    mockDatabaseAdmin.addResponse(expectedResponse);
-
-    DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]");
-
-    client.dropDatabase(database);
-
-    List actualRequests = mockDatabaseAdmin.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    DropDatabaseRequest actualRequest = ((DropDatabaseRequest) actualRequests.get(0));
-
-    Assert.assertEquals(database.toString(), actualRequest.getDatabase());
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  public void dropDatabaseExceptionTest() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
-    mockDatabaseAdmin.addException(exception);
-
-    try {
-      DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]");
-      client.dropDatabase(database);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void dropDatabaseTest2() throws Exception {
-    Empty expectedResponse = Empty.newBuilder().build();
-    mockDatabaseAdmin.addResponse(expectedResponse);
-
-    String database = "database1789464955";
-
-    client.dropDatabase(database);
-
-    List actualRequests = mockDatabaseAdmin.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    DropDatabaseRequest actualRequest = ((DropDatabaseRequest) actualRequests.get(0));
-
-    Assert.assertEquals(database, actualRequest.getDatabase());
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  public void dropDatabaseExceptionTest2() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
-    mockDatabaseAdmin.addException(exception);
-
-    try {
-      String database = "database1789464955";
-      client.dropDatabase(database);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void getDatabaseDdlTest() throws Exception {
-    GetDatabaseDdlResponse expectedResponse =
-        GetDatabaseDdlResponse.newBuilder().addAllStatements(new ArrayList()).build();
-    mockDatabaseAdmin.addResponse(expectedResponse);
-
-    DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]");
-
-    GetDatabaseDdlResponse actualResponse = client.getDatabaseDdl(database);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockDatabaseAdmin.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    GetDatabaseDdlRequest actualRequest = ((GetDatabaseDdlRequest) actualRequests.get(0));
-
-    Assert.assertEquals(database.toString(), actualRequest.getDatabase());
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  public void getDatabaseDdlExceptionTest() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
-    mockDatabaseAdmin.addException(exception);
-
-    try {
-      DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]");
-      client.getDatabaseDdl(database);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void getDatabaseDdlTest2() throws Exception {
-    GetDatabaseDdlResponse expectedResponse =
-        GetDatabaseDdlResponse.newBuilder().addAllStatements(new ArrayList()).build();
-    mockDatabaseAdmin.addResponse(expectedResponse);
-
-    String database = "database1789464955";
-
-    GetDatabaseDdlResponse actualResponse = client.getDatabaseDdl(database);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockDatabaseAdmin.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    GetDatabaseDdlRequest actualRequest = ((GetDatabaseDdlRequest) actualRequests.get(0));
-
-    Assert.assertEquals(database, actualRequest.getDatabase());
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  public void getDatabaseDdlExceptionTest2() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
-    mockDatabaseAdmin.addException(exception);
-
-    try {
-      String database = "database1789464955";
-      client.getDatabaseDdl(database);
-      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();
-    mockDatabaseAdmin.addResponse(expectedResponse);
-
-    ResourceName resource = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]");
-    Policy policy = Policy.newBuilder().build();
-
-    Policy actualResponse = client.setIamPolicy(resource, policy);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockDatabaseAdmin.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);
-    mockDatabaseAdmin.addException(exception);
-
-    try {
-      ResourceName resource = BackupName.of("[PROJECT]", "[INSTANCE]", "[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();
-    mockDatabaseAdmin.addResponse(expectedResponse);
-
-    String resource = "resource-341064690";
-    Policy policy = Policy.newBuilder().build();
-
-    Policy actualResponse = client.setIamPolicy(resource, policy);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockDatabaseAdmin.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);
-    mockDatabaseAdmin.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 getIamPolicyTest() throws Exception {
-    Policy expectedResponse =
-        Policy.newBuilder()
-            .setVersion(351608024)
-            .addAllBindings(new ArrayList())
-            .addAllAuditConfigs(new ArrayList())
-            .setEtag(ByteString.EMPTY)
-            .build();
-    mockDatabaseAdmin.addResponse(expectedResponse);
-
-    ResourceName resource = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]");
-
-    Policy actualResponse = client.getIamPolicy(resource);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockDatabaseAdmin.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);
-    mockDatabaseAdmin.addException(exception);
-
-    try {
-      ResourceName resource = BackupName.of("[PROJECT]", "[INSTANCE]", "[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();
-    mockDatabaseAdmin.addResponse(expectedResponse);
-
-    String resource = "resource-341064690";
-
-    Policy actualResponse = client.getIamPolicy(resource);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockDatabaseAdmin.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);
-    mockDatabaseAdmin.addException(exception);
-
-    try {
-      String resource = "resource-341064690";
-      client.getIamPolicy(resource);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void testIamPermissionsTest() throws Exception {
-    TestIamPermissionsResponse expectedResponse =
-        TestIamPermissionsResponse.newBuilder().addAllPermissions(new ArrayList()).build();
-    mockDatabaseAdmin.addResponse(expectedResponse);
-
-    ResourceName resource = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]");
-    List permissions = new ArrayList<>();
-
-    TestIamPermissionsResponse actualResponse = client.testIamPermissions(resource, permissions);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockDatabaseAdmin.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);
-    mockDatabaseAdmin.addException(exception);
-
-    try {
-      ResourceName resource = BackupName.of("[PROJECT]", "[INSTANCE]", "[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();
-    mockDatabaseAdmin.addResponse(expectedResponse);
-
-    String resource = "resource-341064690";
-    List permissions = new ArrayList<>();
-
-    TestIamPermissionsResponse actualResponse = client.testIamPermissions(resource, permissions);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockDatabaseAdmin.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);
-    mockDatabaseAdmin.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 createBackupTest() throws Exception {
-    Backup expectedResponse =
-        Backup.newBuilder()
-            .setDatabase(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString())
-            .setVersionTime(Timestamp.newBuilder().build())
-            .setExpireTime(Timestamp.newBuilder().build())
-            .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]").toString())
-            .setCreateTime(Timestamp.newBuilder().build())
-            .setSizeBytes(-1796325715)
-            .addAllReferencingDatabases(new ArrayList())
-            .setEncryptionInfo(EncryptionInfo.newBuilder().build())
-            .setDatabaseDialect(DatabaseDialect.forNumber(0))
-            .addAllReferencingBackups(new ArrayList())
-            .setMaxExpireTime(Timestamp.newBuilder().build())
-            .build();
-    Operation resultOperation =
-        Operation.newBuilder()
-            .setName("createBackupTest")
-            .setDone(true)
-            .setResponse(Any.pack(expectedResponse))
-            .build();
-    mockDatabaseAdmin.addResponse(resultOperation);
-
-    InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]");
-    Backup backup = Backup.newBuilder().build();
-    String backupId = "backupId2121930365";
-
-    Backup actualResponse = client.createBackupAsync(parent, backup, backupId).get();
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockDatabaseAdmin.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    CreateBackupRequest actualRequest = ((CreateBackupRequest) actualRequests.get(0));
-
-    Assert.assertEquals(parent.toString(), actualRequest.getParent());
-    Assert.assertEquals(backup, actualRequest.getBackup());
-    Assert.assertEquals(backupId, actualRequest.getBackupId());
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  public void createBackupExceptionTest() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
-    mockDatabaseAdmin.addException(exception);
-
-    try {
-      InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]");
-      Backup backup = Backup.newBuilder().build();
-      String backupId = "backupId2121930365";
-      client.createBackupAsync(parent, backup, backupId).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()
-            .setDatabase(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString())
-            .setVersionTime(Timestamp.newBuilder().build())
-            .setExpireTime(Timestamp.newBuilder().build())
-            .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]").toString())
-            .setCreateTime(Timestamp.newBuilder().build())
-            .setSizeBytes(-1796325715)
-            .addAllReferencingDatabases(new ArrayList())
-            .setEncryptionInfo(EncryptionInfo.newBuilder().build())
-            .setDatabaseDialect(DatabaseDialect.forNumber(0))
-            .addAllReferencingBackups(new ArrayList())
-            .setMaxExpireTime(Timestamp.newBuilder().build())
-            .build();
-    Operation resultOperation =
-        Operation.newBuilder()
-            .setName("createBackupTest")
-            .setDone(true)
-            .setResponse(Any.pack(expectedResponse))
-            .build();
-    mockDatabaseAdmin.addResponse(resultOperation);
-
-    String parent = "parent-995424086";
-    Backup backup = Backup.newBuilder().build();
-    String backupId = "backupId2121930365";
-
-    Backup actualResponse = client.createBackupAsync(parent, backup, backupId).get();
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockDatabaseAdmin.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    CreateBackupRequest actualRequest = ((CreateBackupRequest) actualRequests.get(0));
-
-    Assert.assertEquals(parent, actualRequest.getParent());
-    Assert.assertEquals(backup, actualRequest.getBackup());
-    Assert.assertEquals(backupId, actualRequest.getBackupId());
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  public void createBackupExceptionTest2() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
-    mockDatabaseAdmin.addException(exception);
-
-    try {
-      String parent = "parent-995424086";
-      Backup backup = Backup.newBuilder().build();
-      String backupId = "backupId2121930365";
-      client.createBackupAsync(parent, backup, backupId).get();
-      Assert.fail("No exception raised");
-    } catch (ExecutionException e) {
-      Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass());
-      InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause());
-      Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode());
-    }
-  }
-
-  @Test
-  public void copyBackupTest() throws Exception {
-    Backup expectedResponse =
-        Backup.newBuilder()
-            .setDatabase(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString())
-            .setVersionTime(Timestamp.newBuilder().build())
-            .setExpireTime(Timestamp.newBuilder().build())
-            .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]").toString())
-            .setCreateTime(Timestamp.newBuilder().build())
-            .setSizeBytes(-1796325715)
-            .addAllReferencingDatabases(new ArrayList())
-            .setEncryptionInfo(EncryptionInfo.newBuilder().build())
-            .setDatabaseDialect(DatabaseDialect.forNumber(0))
-            .addAllReferencingBackups(new ArrayList())
-            .setMaxExpireTime(Timestamp.newBuilder().build())
-            .build();
-    Operation resultOperation =
-        Operation.newBuilder()
-            .setName("copyBackupTest")
-            .setDone(true)
-            .setResponse(Any.pack(expectedResponse))
-            .build();
-    mockDatabaseAdmin.addResponse(resultOperation);
-
-    InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]");
-    String backupId = "backupId2121930365";
-    BackupName sourceBackup = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]");
-    Timestamp expireTime = Timestamp.newBuilder().build();
-
-    Backup actualResponse =
-        client.copyBackupAsync(parent, backupId, sourceBackup, expireTime).get();
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockDatabaseAdmin.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    CopyBackupRequest actualRequest = ((CopyBackupRequest) actualRequests.get(0));
-
-    Assert.assertEquals(parent.toString(), actualRequest.getParent());
-    Assert.assertEquals(backupId, actualRequest.getBackupId());
-    Assert.assertEquals(sourceBackup.toString(), actualRequest.getSourceBackup());
-    Assert.assertEquals(expireTime, actualRequest.getExpireTime());
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  public void copyBackupExceptionTest() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
-    mockDatabaseAdmin.addException(exception);
-
-    try {
-      InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]");
-      String backupId = "backupId2121930365";
-      BackupName sourceBackup = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]");
-      Timestamp expireTime = Timestamp.newBuilder().build();
-      client.copyBackupAsync(parent, backupId, sourceBackup, expireTime).get();
-      Assert.fail("No exception raised");
-    } catch (ExecutionException e) {
-      Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass());
-      InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause());
-      Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode());
-    }
-  }
-
-  @Test
-  public void copyBackupTest2() throws Exception {
-    Backup expectedResponse =
-        Backup.newBuilder()
-            .setDatabase(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString())
-            .setVersionTime(Timestamp.newBuilder().build())
-            .setExpireTime(Timestamp.newBuilder().build())
-            .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]").toString())
-            .setCreateTime(Timestamp.newBuilder().build())
-            .setSizeBytes(-1796325715)
-            .addAllReferencingDatabases(new ArrayList())
-            .setEncryptionInfo(EncryptionInfo.newBuilder().build())
-            .setDatabaseDialect(DatabaseDialect.forNumber(0))
-            .addAllReferencingBackups(new ArrayList())
-            .setMaxExpireTime(Timestamp.newBuilder().build())
-            .build();
-    Operation resultOperation =
-        Operation.newBuilder()
-            .setName("copyBackupTest")
-            .setDone(true)
-            .setResponse(Any.pack(expectedResponse))
-            .build();
-    mockDatabaseAdmin.addResponse(resultOperation);
-
-    InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]");
-    String backupId = "backupId2121930365";
-    String sourceBackup = "sourceBackup823134653";
-    Timestamp expireTime = Timestamp.newBuilder().build();
-
-    Backup actualResponse =
-        client.copyBackupAsync(parent, backupId, sourceBackup, expireTime).get();
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockDatabaseAdmin.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    CopyBackupRequest actualRequest = ((CopyBackupRequest) actualRequests.get(0));
-
-    Assert.assertEquals(parent.toString(), actualRequest.getParent());
-    Assert.assertEquals(backupId, actualRequest.getBackupId());
-    Assert.assertEquals(sourceBackup, actualRequest.getSourceBackup());
-    Assert.assertEquals(expireTime, actualRequest.getExpireTime());
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  public void copyBackupExceptionTest2() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
-    mockDatabaseAdmin.addException(exception);
-
-    try {
-      InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]");
-      String backupId = "backupId2121930365";
-      String sourceBackup = "sourceBackup823134653";
-      Timestamp expireTime = Timestamp.newBuilder().build();
-      client.copyBackupAsync(parent, backupId, sourceBackup, expireTime).get();
-      Assert.fail("No exception raised");
-    } catch (ExecutionException e) {
-      Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass());
-      InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause());
-      Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode());
-    }
-  }
-
-  @Test
-  public void copyBackupTest3() throws Exception {
-    Backup expectedResponse =
-        Backup.newBuilder()
-            .setDatabase(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString())
-            .setVersionTime(Timestamp.newBuilder().build())
-            .setExpireTime(Timestamp.newBuilder().build())
-            .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]").toString())
-            .setCreateTime(Timestamp.newBuilder().build())
-            .setSizeBytes(-1796325715)
-            .addAllReferencingDatabases(new ArrayList())
-            .setEncryptionInfo(EncryptionInfo.newBuilder().build())
-            .setDatabaseDialect(DatabaseDialect.forNumber(0))
-            .addAllReferencingBackups(new ArrayList())
-            .setMaxExpireTime(Timestamp.newBuilder().build())
-            .build();
-    Operation resultOperation =
-        Operation.newBuilder()
-            .setName("copyBackupTest")
-            .setDone(true)
-            .setResponse(Any.pack(expectedResponse))
-            .build();
-    mockDatabaseAdmin.addResponse(resultOperation);
-
-    String parent = "parent-995424086";
-    String backupId = "backupId2121930365";
-    BackupName sourceBackup = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]");
-    Timestamp expireTime = Timestamp.newBuilder().build();
-
-    Backup actualResponse =
-        client.copyBackupAsync(parent, backupId, sourceBackup, expireTime).get();
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockDatabaseAdmin.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    CopyBackupRequest actualRequest = ((CopyBackupRequest) actualRequests.get(0));
-
-    Assert.assertEquals(parent, actualRequest.getParent());
-    Assert.assertEquals(backupId, actualRequest.getBackupId());
-    Assert.assertEquals(sourceBackup.toString(), actualRequest.getSourceBackup());
-    Assert.assertEquals(expireTime, actualRequest.getExpireTime());
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  public void copyBackupExceptionTest3() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
-    mockDatabaseAdmin.addException(exception);
-
-    try {
-      String parent = "parent-995424086";
-      String backupId = "backupId2121930365";
-      BackupName sourceBackup = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]");
-      Timestamp expireTime = Timestamp.newBuilder().build();
-      client.copyBackupAsync(parent, backupId, sourceBackup, expireTime).get();
-      Assert.fail("No exception raised");
-    } catch (ExecutionException e) {
-      Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass());
-      InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause());
-      Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode());
-    }
-  }
-
-  @Test
-  public void copyBackupTest4() throws Exception {
-    Backup expectedResponse =
-        Backup.newBuilder()
-            .setDatabase(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString())
-            .setVersionTime(Timestamp.newBuilder().build())
-            .setExpireTime(Timestamp.newBuilder().build())
-            .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]").toString())
-            .setCreateTime(Timestamp.newBuilder().build())
-            .setSizeBytes(-1796325715)
-            .addAllReferencingDatabases(new ArrayList())
-            .setEncryptionInfo(EncryptionInfo.newBuilder().build())
-            .setDatabaseDialect(DatabaseDialect.forNumber(0))
-            .addAllReferencingBackups(new ArrayList())
-            .setMaxExpireTime(Timestamp.newBuilder().build())
-            .build();
-    Operation resultOperation =
-        Operation.newBuilder()
-            .setName("copyBackupTest")
-            .setDone(true)
-            .setResponse(Any.pack(expectedResponse))
-            .build();
-    mockDatabaseAdmin.addResponse(resultOperation);
-
-    String parent = "parent-995424086";
-    String backupId = "backupId2121930365";
-    String sourceBackup = "sourceBackup823134653";
-    Timestamp expireTime = Timestamp.newBuilder().build();
-
-    Backup actualResponse =
-        client.copyBackupAsync(parent, backupId, sourceBackup, expireTime).get();
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockDatabaseAdmin.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    CopyBackupRequest actualRequest = ((CopyBackupRequest) actualRequests.get(0));
-
-    Assert.assertEquals(parent, actualRequest.getParent());
-    Assert.assertEquals(backupId, actualRequest.getBackupId());
-    Assert.assertEquals(sourceBackup, actualRequest.getSourceBackup());
-    Assert.assertEquals(expireTime, actualRequest.getExpireTime());
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  public void copyBackupExceptionTest4() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
-    mockDatabaseAdmin.addException(exception);
-
-    try {
-      String parent = "parent-995424086";
-      String backupId = "backupId2121930365";
-      String sourceBackup = "sourceBackup823134653";
-      Timestamp expireTime = Timestamp.newBuilder().build();
-      client.copyBackupAsync(parent, backupId, sourceBackup, expireTime).get();
-      Assert.fail("No exception raised");
-    } catch (ExecutionException e) {
-      Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass());
-      InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause());
-      Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode());
-    }
-  }
-
-  @Test
-  public void getBackupTest() throws Exception {
-    Backup expectedResponse =
-        Backup.newBuilder()
-            .setDatabase(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString())
-            .setVersionTime(Timestamp.newBuilder().build())
-            .setExpireTime(Timestamp.newBuilder().build())
-            .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]").toString())
-            .setCreateTime(Timestamp.newBuilder().build())
-            .setSizeBytes(-1796325715)
-            .addAllReferencingDatabases(new ArrayList())
-            .setEncryptionInfo(EncryptionInfo.newBuilder().build())
-            .setDatabaseDialect(DatabaseDialect.forNumber(0))
-            .addAllReferencingBackups(new ArrayList())
-            .setMaxExpireTime(Timestamp.newBuilder().build())
-            .build();
-    mockDatabaseAdmin.addResponse(expectedResponse);
-
-    BackupName name = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]");
-
-    Backup actualResponse = client.getBackup(name);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockDatabaseAdmin.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);
-    mockDatabaseAdmin.addException(exception);
-
-    try {
-      BackupName name = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]");
-      client.getBackup(name);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void getBackupTest2() throws Exception {
-    Backup expectedResponse =
-        Backup.newBuilder()
-            .setDatabase(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString())
-            .setVersionTime(Timestamp.newBuilder().build())
-            .setExpireTime(Timestamp.newBuilder().build())
-            .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]").toString())
-            .setCreateTime(Timestamp.newBuilder().build())
-            .setSizeBytes(-1796325715)
-            .addAllReferencingDatabases(new ArrayList())
-            .setEncryptionInfo(EncryptionInfo.newBuilder().build())
-            .setDatabaseDialect(DatabaseDialect.forNumber(0))
-            .addAllReferencingBackups(new ArrayList())
-            .setMaxExpireTime(Timestamp.newBuilder().build())
-            .build();
-    mockDatabaseAdmin.addResponse(expectedResponse);
-
-    String name = "name3373707";
-
-    Backup actualResponse = client.getBackup(name);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockDatabaseAdmin.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);
-    mockDatabaseAdmin.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()
-            .setDatabase(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString())
-            .setVersionTime(Timestamp.newBuilder().build())
-            .setExpireTime(Timestamp.newBuilder().build())
-            .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]").toString())
-            .setCreateTime(Timestamp.newBuilder().build())
-            .setSizeBytes(-1796325715)
-            .addAllReferencingDatabases(new ArrayList())
-            .setEncryptionInfo(EncryptionInfo.newBuilder().build())
-            .setDatabaseDialect(DatabaseDialect.forNumber(0))
-            .addAllReferencingBackups(new ArrayList())
-            .setMaxExpireTime(Timestamp.newBuilder().build())
-            .build();
-    mockDatabaseAdmin.addResponse(expectedResponse);
-
-    Backup backup = Backup.newBuilder().build();
-    FieldMask updateMask = FieldMask.newBuilder().build();
-
-    Backup actualResponse = client.updateBackup(backup, updateMask);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockDatabaseAdmin.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);
-    mockDatabaseAdmin.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();
-    mockDatabaseAdmin.addResponse(expectedResponse);
-
-    BackupName name = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]");
-
-    client.deleteBackup(name);
-
-    List actualRequests = mockDatabaseAdmin.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);
-    mockDatabaseAdmin.addException(exception);
-
-    try {
-      BackupName name = BackupName.of("[PROJECT]", "[INSTANCE]", "[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();
-    mockDatabaseAdmin.addResponse(expectedResponse);
-
-    String name = "name3373707";
-
-    client.deleteBackup(name);
-
-    List actualRequests = mockDatabaseAdmin.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);
-    mockDatabaseAdmin.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();
-    mockDatabaseAdmin.addResponse(expectedResponse);
-
-    InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]");
-
-    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 = mockDatabaseAdmin.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);
-    mockDatabaseAdmin.addException(exception);
-
-    try {
-      InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]");
-      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();
-    mockDatabaseAdmin.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 = mockDatabaseAdmin.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);
-    mockDatabaseAdmin.addException(exception);
-
-    try {
-      String parent = "parent-995424086";
-      client.listBackups(parent);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void restoreDatabaseTest() throws Exception {
-    Database expectedResponse =
-        Database.newBuilder()
-            .setName(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString())
-            .setCreateTime(Timestamp.newBuilder().build())
-            .setRestoreInfo(RestoreInfo.newBuilder().build())
-            .setEncryptionConfig(EncryptionConfig.newBuilder().build())
-            .addAllEncryptionInfo(new ArrayList())
-            .setVersionRetentionPeriod("versionRetentionPeriod-629783929")
-            .setEarliestVersionTime(Timestamp.newBuilder().build())
-            .setDefaultLeader("defaultLeader759009962")
-            .setDatabaseDialect(DatabaseDialect.forNumber(0))
-            .build();
-    Operation resultOperation =
-        Operation.newBuilder()
-            .setName("restoreDatabaseTest")
-            .setDone(true)
-            .setResponse(Any.pack(expectedResponse))
-            .build();
-    mockDatabaseAdmin.addResponse(resultOperation);
-
-    InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]");
-    String databaseId = "databaseId1688905718";
-    BackupName backup = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]");
-
-    Database actualResponse = client.restoreDatabaseAsync(parent, databaseId, backup).get();
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockDatabaseAdmin.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    RestoreDatabaseRequest actualRequest = ((RestoreDatabaseRequest) actualRequests.get(0));
-
-    Assert.assertEquals(parent.toString(), actualRequest.getParent());
-    Assert.assertEquals(databaseId, actualRequest.getDatabaseId());
-    Assert.assertEquals(backup.toString(), actualRequest.getBackup());
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  public void restoreDatabaseExceptionTest() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
-    mockDatabaseAdmin.addException(exception);
-
-    try {
-      InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]");
-      String databaseId = "databaseId1688905718";
-      BackupName backup = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]");
-      client.restoreDatabaseAsync(parent, databaseId, 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 restoreDatabaseTest2() throws Exception {
-    Database expectedResponse =
-        Database.newBuilder()
-            .setName(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString())
-            .setCreateTime(Timestamp.newBuilder().build())
-            .setRestoreInfo(RestoreInfo.newBuilder().build())
-            .setEncryptionConfig(EncryptionConfig.newBuilder().build())
-            .addAllEncryptionInfo(new ArrayList())
-            .setVersionRetentionPeriod("versionRetentionPeriod-629783929")
-            .setEarliestVersionTime(Timestamp.newBuilder().build())
-            .setDefaultLeader("defaultLeader759009962")
-            .setDatabaseDialect(DatabaseDialect.forNumber(0))
-            .build();
-    Operation resultOperation =
-        Operation.newBuilder()
-            .setName("restoreDatabaseTest")
-            .setDone(true)
-            .setResponse(Any.pack(expectedResponse))
-            .build();
-    mockDatabaseAdmin.addResponse(resultOperation);
-
-    InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]");
-    String databaseId = "databaseId1688905718";
-    String backup = "backup-1396673086";
-
-    Database actualResponse = client.restoreDatabaseAsync(parent, databaseId, backup).get();
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockDatabaseAdmin.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    RestoreDatabaseRequest actualRequest = ((RestoreDatabaseRequest) actualRequests.get(0));
-
-    Assert.assertEquals(parent.toString(), actualRequest.getParent());
-    Assert.assertEquals(databaseId, actualRequest.getDatabaseId());
-    Assert.assertEquals(backup, actualRequest.getBackup());
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  public void restoreDatabaseExceptionTest2() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
-    mockDatabaseAdmin.addException(exception);
-
-    try {
-      InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]");
-      String databaseId = "databaseId1688905718";
-      String backup = "backup-1396673086";
-      client.restoreDatabaseAsync(parent, databaseId, 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 restoreDatabaseTest3() throws Exception {
-    Database expectedResponse =
-        Database.newBuilder()
-            .setName(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString())
-            .setCreateTime(Timestamp.newBuilder().build())
-            .setRestoreInfo(RestoreInfo.newBuilder().build())
-            .setEncryptionConfig(EncryptionConfig.newBuilder().build())
-            .addAllEncryptionInfo(new ArrayList())
-            .setVersionRetentionPeriod("versionRetentionPeriod-629783929")
-            .setEarliestVersionTime(Timestamp.newBuilder().build())
-            .setDefaultLeader("defaultLeader759009962")
-            .setDatabaseDialect(DatabaseDialect.forNumber(0))
-            .build();
-    Operation resultOperation =
-        Operation.newBuilder()
-            .setName("restoreDatabaseTest")
-            .setDone(true)
-            .setResponse(Any.pack(expectedResponse))
-            .build();
-    mockDatabaseAdmin.addResponse(resultOperation);
-
-    String parent = "parent-995424086";
-    String databaseId = "databaseId1688905718";
-    BackupName backup = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]");
-
-    Database actualResponse = client.restoreDatabaseAsync(parent, databaseId, backup).get();
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockDatabaseAdmin.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    RestoreDatabaseRequest actualRequest = ((RestoreDatabaseRequest) actualRequests.get(0));
-
-    Assert.assertEquals(parent, actualRequest.getParent());
-    Assert.assertEquals(databaseId, actualRequest.getDatabaseId());
-    Assert.assertEquals(backup.toString(), actualRequest.getBackup());
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  public void restoreDatabaseExceptionTest3() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
-    mockDatabaseAdmin.addException(exception);
-
-    try {
-      String parent = "parent-995424086";
-      String databaseId = "databaseId1688905718";
-      BackupName backup = BackupName.of("[PROJECT]", "[INSTANCE]", "[BACKUP]");
-      client.restoreDatabaseAsync(parent, databaseId, 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 restoreDatabaseTest4() throws Exception {
-    Database expectedResponse =
-        Database.newBuilder()
-            .setName(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString())
-            .setCreateTime(Timestamp.newBuilder().build())
-            .setRestoreInfo(RestoreInfo.newBuilder().build())
-            .setEncryptionConfig(EncryptionConfig.newBuilder().build())
-            .addAllEncryptionInfo(new ArrayList())
-            .setVersionRetentionPeriod("versionRetentionPeriod-629783929")
-            .setEarliestVersionTime(Timestamp.newBuilder().build())
-            .setDefaultLeader("defaultLeader759009962")
-            .setDatabaseDialect(DatabaseDialect.forNumber(0))
-            .build();
-    Operation resultOperation =
-        Operation.newBuilder()
-            .setName("restoreDatabaseTest")
-            .setDone(true)
-            .setResponse(Any.pack(expectedResponse))
-            .build();
-    mockDatabaseAdmin.addResponse(resultOperation);
-
-    String parent = "parent-995424086";
-    String databaseId = "databaseId1688905718";
-    String backup = "backup-1396673086";
-
-    Database actualResponse = client.restoreDatabaseAsync(parent, databaseId, backup).get();
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockDatabaseAdmin.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    RestoreDatabaseRequest actualRequest = ((RestoreDatabaseRequest) actualRequests.get(0));
-
-    Assert.assertEquals(parent, actualRequest.getParent());
-    Assert.assertEquals(databaseId, actualRequest.getDatabaseId());
-    Assert.assertEquals(backup, actualRequest.getBackup());
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  public void restoreDatabaseExceptionTest4() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
-    mockDatabaseAdmin.addException(exception);
-
-    try {
-      String parent = "parent-995424086";
-      String databaseId = "databaseId1688905718";
-      String backup = "backup-1396673086";
-      client.restoreDatabaseAsync(parent, databaseId, 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 listDatabaseOperationsTest() throws Exception {
-    Operation responsesElement = Operation.newBuilder().build();
-    ListDatabaseOperationsResponse expectedResponse =
-        ListDatabaseOperationsResponse.newBuilder()
-            .setNextPageToken("")
-            .addAllOperations(Arrays.asList(responsesElement))
-            .build();
-    mockDatabaseAdmin.addResponse(expectedResponse);
-
-    InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]");
-
-    ListDatabaseOperationsPagedResponse pagedListResponse = client.listDatabaseOperations(parent);
-
-    List resources = Lists.newArrayList(pagedListResponse.iterateAll());
-
-    Assert.assertEquals(1, resources.size());
-    Assert.assertEquals(expectedResponse.getOperationsList().get(0), resources.get(0));
-
-    List actualRequests = mockDatabaseAdmin.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    ListDatabaseOperationsRequest actualRequest =
-        ((ListDatabaseOperationsRequest) actualRequests.get(0));
-
-    Assert.assertEquals(parent.toString(), actualRequest.getParent());
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  public void listDatabaseOperationsExceptionTest() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
-    mockDatabaseAdmin.addException(exception);
-
-    try {
-      InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]");
-      client.listDatabaseOperations(parent);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void listDatabaseOperationsTest2() throws Exception {
-    Operation responsesElement = Operation.newBuilder().build();
-    ListDatabaseOperationsResponse expectedResponse =
-        ListDatabaseOperationsResponse.newBuilder()
-            .setNextPageToken("")
-            .addAllOperations(Arrays.asList(responsesElement))
-            .build();
-    mockDatabaseAdmin.addResponse(expectedResponse);
-
-    String parent = "parent-995424086";
-
-    ListDatabaseOperationsPagedResponse pagedListResponse = client.listDatabaseOperations(parent);
-
-    List resources = Lists.newArrayList(pagedListResponse.iterateAll());
-
-    Assert.assertEquals(1, resources.size());
-    Assert.assertEquals(expectedResponse.getOperationsList().get(0), resources.get(0));
-
-    List actualRequests = mockDatabaseAdmin.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    ListDatabaseOperationsRequest actualRequest =
-        ((ListDatabaseOperationsRequest) actualRequests.get(0));
-
-    Assert.assertEquals(parent, actualRequest.getParent());
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  public void listDatabaseOperationsExceptionTest2() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
-    mockDatabaseAdmin.addException(exception);
-
-    try {
-      String parent = "parent-995424086";
-      client.listDatabaseOperations(parent);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void listBackupOperationsTest() throws Exception {
-    Operation responsesElement = Operation.newBuilder().build();
-    ListBackupOperationsResponse expectedResponse =
-        ListBackupOperationsResponse.newBuilder()
-            .setNextPageToken("")
-            .addAllOperations(Arrays.asList(responsesElement))
-            .build();
-    mockDatabaseAdmin.addResponse(expectedResponse);
-
-    InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]");
-
-    ListBackupOperationsPagedResponse pagedListResponse = client.listBackupOperations(parent);
-
-    List resources = Lists.newArrayList(pagedListResponse.iterateAll());
-
-    Assert.assertEquals(1, resources.size());
-    Assert.assertEquals(expectedResponse.getOperationsList().get(0), resources.get(0));
-
-    List actualRequests = mockDatabaseAdmin.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    ListBackupOperationsRequest actualRequest =
-        ((ListBackupOperationsRequest) actualRequests.get(0));
-
-    Assert.assertEquals(parent.toString(), actualRequest.getParent());
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  public void listBackupOperationsExceptionTest() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
-    mockDatabaseAdmin.addException(exception);
-
-    try {
-      InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]");
-      client.listBackupOperations(parent);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void listBackupOperationsTest2() throws Exception {
-    Operation responsesElement = Operation.newBuilder().build();
-    ListBackupOperationsResponse expectedResponse =
-        ListBackupOperationsResponse.newBuilder()
-            .setNextPageToken("")
-            .addAllOperations(Arrays.asList(responsesElement))
-            .build();
-    mockDatabaseAdmin.addResponse(expectedResponse);
-
-    String parent = "parent-995424086";
-
-    ListBackupOperationsPagedResponse pagedListResponse = client.listBackupOperations(parent);
-
-    List resources = Lists.newArrayList(pagedListResponse.iterateAll());
-
-    Assert.assertEquals(1, resources.size());
-    Assert.assertEquals(expectedResponse.getOperationsList().get(0), resources.get(0));
-
-    List actualRequests = mockDatabaseAdmin.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    ListBackupOperationsRequest actualRequest =
-        ((ListBackupOperationsRequest) actualRequests.get(0));
-
-    Assert.assertEquals(parent, actualRequest.getParent());
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  public void listBackupOperationsExceptionTest2() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
-    mockDatabaseAdmin.addException(exception);
-
-    try {
-      String parent = "parent-995424086";
-      client.listBackupOperations(parent);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void listDatabaseRolesTest() throws Exception {
-    DatabaseRole responsesElement = DatabaseRole.newBuilder().build();
-    ListDatabaseRolesResponse expectedResponse =
-        ListDatabaseRolesResponse.newBuilder()
-            .setNextPageToken("")
-            .addAllDatabaseRoles(Arrays.asList(responsesElement))
-            .build();
-    mockDatabaseAdmin.addResponse(expectedResponse);
-
-    DatabaseName parent = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]");
-
-    ListDatabaseRolesPagedResponse pagedListResponse = client.listDatabaseRoles(parent);
-
-    List resources = Lists.newArrayList(pagedListResponse.iterateAll());
-
-    Assert.assertEquals(1, resources.size());
-    Assert.assertEquals(expectedResponse.getDatabaseRolesList().get(0), resources.get(0));
-
-    List actualRequests = mockDatabaseAdmin.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    ListDatabaseRolesRequest actualRequest = ((ListDatabaseRolesRequest) actualRequests.get(0));
-
-    Assert.assertEquals(parent.toString(), actualRequest.getParent());
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  public void listDatabaseRolesExceptionTest() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
-    mockDatabaseAdmin.addException(exception);
-
-    try {
-      DatabaseName parent = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]");
-      client.listDatabaseRoles(parent);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void listDatabaseRolesTest2() throws Exception {
-    DatabaseRole responsesElement = DatabaseRole.newBuilder().build();
-    ListDatabaseRolesResponse expectedResponse =
-        ListDatabaseRolesResponse.newBuilder()
-            .setNextPageToken("")
-            .addAllDatabaseRoles(Arrays.asList(responsesElement))
-            .build();
-    mockDatabaseAdmin.addResponse(expectedResponse);
-
-    String parent = "parent-995424086";
-
-    ListDatabaseRolesPagedResponse pagedListResponse = client.listDatabaseRoles(parent);
-
-    List resources = Lists.newArrayList(pagedListResponse.iterateAll());
-
-    Assert.assertEquals(1, resources.size());
-    Assert.assertEquals(expectedResponse.getDatabaseRolesList().get(0), resources.get(0));
-
-    List actualRequests = mockDatabaseAdmin.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    ListDatabaseRolesRequest actualRequest = ((ListDatabaseRolesRequest) actualRequests.get(0));
-
-    Assert.assertEquals(parent, actualRequest.getParent());
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  public void listDatabaseRolesExceptionTest2() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
-    mockDatabaseAdmin.addException(exception);
-
-    try {
-      String parent = "parent-995424086";
-      client.listDatabaseRoles(parent);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-}
diff --git a/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/database/v1/MockDatabaseAdmin.java b/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/database/v1/MockDatabaseAdmin.java
deleted file mode 100644
index ed3dc441156..00000000000
--- a/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/database/v1/MockDatabaseAdmin.java
+++ /dev/null
@@ -1,59 +0,0 @@
-/*
- * Copyright 2022 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.google.cloud.spanner.admin.database.v1;
-
-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 MockDatabaseAdmin implements MockGrpcService {
-  private final MockDatabaseAdminImpl serviceImpl;
-
-  public MockDatabaseAdmin() {
-    serviceImpl = new MockDatabaseAdminImpl();
-  }
-
-  @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/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/database/v1/MockDatabaseAdminImpl.java b/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/database/v1/MockDatabaseAdminImpl.java
deleted file mode 100644
index 30199947aed..00000000000
--- a/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/database/v1/MockDatabaseAdminImpl.java
+++ /dev/null
@@ -1,486 +0,0 @@
-/*
- * Copyright 2022 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.google.cloud.spanner.admin.database.v1;
-
-import com.google.api.core.BetaApi;
-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 com.google.spanner.admin.database.v1.Backup;
-import com.google.spanner.admin.database.v1.CopyBackupRequest;
-import com.google.spanner.admin.database.v1.CreateBackupRequest;
-import com.google.spanner.admin.database.v1.CreateDatabaseRequest;
-import com.google.spanner.admin.database.v1.Database;
-import com.google.spanner.admin.database.v1.DatabaseAdminGrpc.DatabaseAdminImplBase;
-import com.google.spanner.admin.database.v1.DeleteBackupRequest;
-import com.google.spanner.admin.database.v1.DropDatabaseRequest;
-import com.google.spanner.admin.database.v1.GetBackupRequest;
-import com.google.spanner.admin.database.v1.GetDatabaseDdlRequest;
-import com.google.spanner.admin.database.v1.GetDatabaseDdlResponse;
-import com.google.spanner.admin.database.v1.GetDatabaseRequest;
-import com.google.spanner.admin.database.v1.ListBackupOperationsRequest;
-import com.google.spanner.admin.database.v1.ListBackupOperationsResponse;
-import com.google.spanner.admin.database.v1.ListBackupsRequest;
-import com.google.spanner.admin.database.v1.ListBackupsResponse;
-import com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest;
-import com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse;
-import com.google.spanner.admin.database.v1.ListDatabaseRolesRequest;
-import com.google.spanner.admin.database.v1.ListDatabaseRolesResponse;
-import com.google.spanner.admin.database.v1.ListDatabasesRequest;
-import com.google.spanner.admin.database.v1.ListDatabasesResponse;
-import com.google.spanner.admin.database.v1.RestoreDatabaseRequest;
-import com.google.spanner.admin.database.v1.UpdateBackupRequest;
-import com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest;
-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 MockDatabaseAdminImpl extends DatabaseAdminImplBase {
-  private List requests;
-  private Queue responses;
-
-  public MockDatabaseAdminImpl() {
-    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 listDatabases(
-      ListDatabasesRequest request, StreamObserver responseObserver) {
-    Object response = responses.poll();
-    if (response instanceof ListDatabasesResponse) {
-      requests.add(request);
-      responseObserver.onNext(((ListDatabasesResponse) response));
-      responseObserver.onCompleted();
-    } else if (response instanceof Exception) {
-      responseObserver.onError(((Exception) response));
-    } else {
-      responseObserver.onError(
-          new IllegalArgumentException(
-              String.format(
-                  "Unrecognized response type %s for method ListDatabases, expected %s or %s",
-                  response == null ? "null" : response.getClass().getName(),
-                  ListDatabasesResponse.class.getName(),
-                  Exception.class.getName())));
-    }
-  }
-
-  @Override
-  public void createDatabase(
-      CreateDatabaseRequest 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 CreateDatabase, expected %s or %s",
-                  response == null ? "null" : response.getClass().getName(),
-                  Operation.class.getName(),
-                  Exception.class.getName())));
-    }
-  }
-
-  @Override
-  public void getDatabase(GetDatabaseRequest request, StreamObserver responseObserver) {
-    Object response = responses.poll();
-    if (response instanceof Database) {
-      requests.add(request);
-      responseObserver.onNext(((Database) response));
-      responseObserver.onCompleted();
-    } else if (response instanceof Exception) {
-      responseObserver.onError(((Exception) response));
-    } else {
-      responseObserver.onError(
-          new IllegalArgumentException(
-              String.format(
-                  "Unrecognized response type %s for method GetDatabase, expected %s or %s",
-                  response == null ? "null" : response.getClass().getName(),
-                  Database.class.getName(),
-                  Exception.class.getName())));
-    }
-  }
-
-  @Override
-  public void updateDatabaseDdl(
-      UpdateDatabaseDdlRequest 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 UpdateDatabaseDdl, expected %s or %s",
-                  response == null ? "null" : response.getClass().getName(),
-                  Operation.class.getName(),
-                  Exception.class.getName())));
-    }
-  }
-
-  @Override
-  public void dropDatabase(DropDatabaseRequest 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 DropDatabase, expected %s or %s",
-                  response == null ? "null" : response.getClass().getName(),
-                  Empty.class.getName(),
-                  Exception.class.getName())));
-    }
-  }
-
-  @Override
-  public void getDatabaseDdl(
-      GetDatabaseDdlRequest request, StreamObserver responseObserver) {
-    Object response = responses.poll();
-    if (response instanceof GetDatabaseDdlResponse) {
-      requests.add(request);
-      responseObserver.onNext(((GetDatabaseDdlResponse) response));
-      responseObserver.onCompleted();
-    } else if (response instanceof Exception) {
-      responseObserver.onError(((Exception) response));
-    } else {
-      responseObserver.onError(
-          new IllegalArgumentException(
-              String.format(
-                  "Unrecognized response type %s for method GetDatabaseDdl, expected %s or %s",
-                  response == null ? "null" : response.getClass().getName(),
-                  GetDatabaseDdlResponse.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 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 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 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 copyBackup(CopyBackupRequest request, StreamObserver responseObserver) {
-    Object response = responses.poll();
-    if (response instanceof Operation) {
-      requests.add(request);
-      responseObserver.onNext(((Operation) response));
-      responseObserver.onCompleted();
-    } else if (response instanceof Exception) {
-      responseObserver.onError(((Exception) response));
-    } else {
-      responseObserver.onError(
-          new IllegalArgumentException(
-              String.format(
-                  "Unrecognized response type %s for method CopyBackup, expected %s or %s",
-                  response == null ? "null" : response.getClass().getName(),
-                  Operation.class.getName(),
-                  Exception.class.getName())));
-    }
-  }
-
-  @Override
-  public void 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 restoreDatabase(
-      RestoreDatabaseRequest 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 RestoreDatabase, expected %s or %s",
-                  response == null ? "null" : response.getClass().getName(),
-                  Operation.class.getName(),
-                  Exception.class.getName())));
-    }
-  }
-
-  @Override
-  public void listDatabaseOperations(
-      ListDatabaseOperationsRequest request,
-      StreamObserver responseObserver) {
-    Object response = responses.poll();
-    if (response instanceof ListDatabaseOperationsResponse) {
-      requests.add(request);
-      responseObserver.onNext(((ListDatabaseOperationsResponse) response));
-      responseObserver.onCompleted();
-    } else if (response instanceof Exception) {
-      responseObserver.onError(((Exception) response));
-    } else {
-      responseObserver.onError(
-          new IllegalArgumentException(
-              String.format(
-                  "Unrecognized response type %s for method ListDatabaseOperations, expected %s or %s",
-                  response == null ? "null" : response.getClass().getName(),
-                  ListDatabaseOperationsResponse.class.getName(),
-                  Exception.class.getName())));
-    }
-  }
-
-  @Override
-  public void listBackupOperations(
-      ListBackupOperationsRequest request,
-      StreamObserver responseObserver) {
-    Object response = responses.poll();
-    if (response instanceof ListBackupOperationsResponse) {
-      requests.add(request);
-      responseObserver.onNext(((ListBackupOperationsResponse) response));
-      responseObserver.onCompleted();
-    } else if (response instanceof Exception) {
-      responseObserver.onError(((Exception) response));
-    } else {
-      responseObserver.onError(
-          new IllegalArgumentException(
-              String.format(
-                  "Unrecognized response type %s for method ListBackupOperations, expected %s or %s",
-                  response == null ? "null" : response.getClass().getName(),
-                  ListBackupOperationsResponse.class.getName(),
-                  Exception.class.getName())));
-    }
-  }
-
-  @Override
-  public void listDatabaseRoles(
-      ListDatabaseRolesRequest request,
-      StreamObserver responseObserver) {
-    Object response = responses.poll();
-    if (response instanceof ListDatabaseRolesResponse) {
-      requests.add(request);
-      responseObserver.onNext(((ListDatabaseRolesResponse) response));
-      responseObserver.onCompleted();
-    } else if (response instanceof Exception) {
-      responseObserver.onError(((Exception) response));
-    } else {
-      responseObserver.onError(
-          new IllegalArgumentException(
-              String.format(
-                  "Unrecognized response type %s for method ListDatabaseRoles, expected %s or %s",
-                  response == null ? "null" : response.getClass().getName(),
-                  ListDatabaseRolesResponse.class.getName(),
-                  Exception.class.getName())));
-    }
-  }
-}
diff --git a/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminClientHttpJsonTest.java b/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminClientHttpJsonTest.java
deleted file mode 100644
index 4088a052668..00000000000
--- a/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminClientHttpJsonTest.java
+++ /dev/null
@@ -1,1461 +0,0 @@
-/*
- * Copyright 2022 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.google.cloud.spanner.admin.instance.v1;
-
-import static com.google.cloud.spanner.admin.instance.v1.InstanceAdminClient.ListInstanceConfigOperationsPagedResponse;
-import static com.google.cloud.spanner.admin.instance.v1.InstanceAdminClient.ListInstanceConfigsPagedResponse;
-import static com.google.cloud.spanner.admin.instance.v1.InstanceAdminClient.ListInstancesPagedResponse;
-
-import com.google.api.gax.core.NoCredentialsProvider;
-import com.google.api.gax.httpjson.GaxHttpJsonProperties;
-import com.google.api.gax.httpjson.testing.MockHttpService;
-import com.google.api.gax.rpc.ApiClientHeaderProvider;
-import com.google.api.gax.rpc.ApiException;
-import com.google.api.gax.rpc.ApiExceptionFactory;
-import com.google.api.gax.rpc.InvalidArgumentException;
-import com.google.api.gax.rpc.StatusCode;
-import com.google.api.gax.rpc.testing.FakeStatusCode;
-import com.google.api.resourcenames.ResourceName;
-import com.google.cloud.spanner.admin.instance.v1.stub.HttpJsonInstanceAdminStub;
-import com.google.common.collect.Lists;
-import com.google.iam.v1.AuditConfig;
-import com.google.iam.v1.Binding;
-import com.google.iam.v1.Policy;
-import com.google.iam.v1.TestIamPermissionsResponse;
-import com.google.longrunning.Operation;
-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 com.google.spanner.admin.instance.v1.Instance;
-import com.google.spanner.admin.instance.v1.InstanceConfig;
-import com.google.spanner.admin.instance.v1.InstanceConfigName;
-import com.google.spanner.admin.instance.v1.InstanceName;
-import com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse;
-import com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse;
-import com.google.spanner.admin.instance.v1.ListInstancesResponse;
-import com.google.spanner.admin.instance.v1.ProjectName;
-import com.google.spanner.admin.instance.v1.ReplicaInfo;
-import java.io.IOException;
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.List;
-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 InstanceAdminClientHttpJsonTest {
-  private static MockHttpService mockService;
-  private static InstanceAdminClient client;
-
-  @BeforeClass
-  public static void startStaticServer() throws IOException {
-    mockService =
-        new MockHttpService(
-            HttpJsonInstanceAdminStub.getMethodDescriptors(),
-            InstanceAdminSettings.getDefaultEndpoint());
-    InstanceAdminSettings settings =
-        InstanceAdminSettings.newHttpJsonBuilder()
-            .setTransportChannelProvider(
-                InstanceAdminSettings.defaultHttpJsonTransportProviderBuilder()
-                    .setHttpTransport(mockService)
-                    .build())
-            .setCredentialsProvider(NoCredentialsProvider.create())
-            .build();
-    client = InstanceAdminClient.create(settings);
-  }
-
-  @AfterClass
-  public static void stopServer() {
-    client.close();
-  }
-
-  @Before
-  public void setUp() {}
-
-  @After
-  public void tearDown() throws Exception {
-    mockService.reset();
-  }
-
-  @Test
-  public void listInstanceConfigsTest() throws Exception {
-    InstanceConfig responsesElement = InstanceConfig.newBuilder().build();
-    ListInstanceConfigsResponse expectedResponse =
-        ListInstanceConfigsResponse.newBuilder()
-            .setNextPageToken("")
-            .addAllInstanceConfigs(Arrays.asList(responsesElement))
-            .build();
-    mockService.addResponse(expectedResponse);
-
-    ProjectName parent = ProjectName.of("[PROJECT]");
-
-    ListInstanceConfigsPagedResponse pagedListResponse = client.listInstanceConfigs(parent);
-
-    List resources = Lists.newArrayList(pagedListResponse.iterateAll());
-
-    Assert.assertEquals(1, resources.size());
-    Assert.assertEquals(expectedResponse.getInstanceConfigsList().get(0), resources.get(0));
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void listInstanceConfigsExceptionTest() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      ProjectName parent = ProjectName.of("[PROJECT]");
-      client.listInstanceConfigs(parent);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void listInstanceConfigsTest2() throws Exception {
-    InstanceConfig responsesElement = InstanceConfig.newBuilder().build();
-    ListInstanceConfigsResponse expectedResponse =
-        ListInstanceConfigsResponse.newBuilder()
-            .setNextPageToken("")
-            .addAllInstanceConfigs(Arrays.asList(responsesElement))
-            .build();
-    mockService.addResponse(expectedResponse);
-
-    String parent = "projects/project-2353";
-
-    ListInstanceConfigsPagedResponse pagedListResponse = client.listInstanceConfigs(parent);
-
-    List resources = Lists.newArrayList(pagedListResponse.iterateAll());
-
-    Assert.assertEquals(1, resources.size());
-    Assert.assertEquals(expectedResponse.getInstanceConfigsList().get(0), resources.get(0));
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void listInstanceConfigsExceptionTest2() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      String parent = "projects/project-2353";
-      client.listInstanceConfigs(parent);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void getInstanceConfigTest() throws Exception {
-    InstanceConfig expectedResponse =
-        InstanceConfig.newBuilder()
-            .setName(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString())
-            .setDisplayName("displayName1714148973")
-            .addAllReplicas(new ArrayList())
-            .addAllOptionalReplicas(new ArrayList())
-            .setBaseConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString())
-            .putAllLabels(new HashMap())
-            .setEtag("etag3123477")
-            .addAllLeaderOptions(new ArrayList())
-            .setReconciling(true)
-            .build();
-    mockService.addResponse(expectedResponse);
-
-    InstanceConfigName name = InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]");
-
-    InstanceConfig actualResponse = client.getInstanceConfig(name);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void getInstanceConfigExceptionTest() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      InstanceConfigName name = InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]");
-      client.getInstanceConfig(name);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void getInstanceConfigTest2() throws Exception {
-    InstanceConfig expectedResponse =
-        InstanceConfig.newBuilder()
-            .setName(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString())
-            .setDisplayName("displayName1714148973")
-            .addAllReplicas(new ArrayList())
-            .addAllOptionalReplicas(new ArrayList())
-            .setBaseConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString())
-            .putAllLabels(new HashMap())
-            .setEtag("etag3123477")
-            .addAllLeaderOptions(new ArrayList())
-            .setReconciling(true)
-            .build();
-    mockService.addResponse(expectedResponse);
-
-    String name = "projects/project-3640/instanceConfigs/instanceConfig-3640";
-
-    InstanceConfig actualResponse = client.getInstanceConfig(name);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void getInstanceConfigExceptionTest2() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      String name = "projects/project-3640/instanceConfigs/instanceConfig-3640";
-      client.getInstanceConfig(name);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void createInstanceConfigTest() throws Exception {
-    InstanceConfig expectedResponse =
-        InstanceConfig.newBuilder()
-            .setName(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString())
-            .setDisplayName("displayName1714148973")
-            .addAllReplicas(new ArrayList())
-            .addAllOptionalReplicas(new ArrayList())
-            .setBaseConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString())
-            .putAllLabels(new HashMap())
-            .setEtag("etag3123477")
-            .addAllLeaderOptions(new ArrayList())
-            .setReconciling(true)
-            .build();
-    Operation resultOperation =
-        Operation.newBuilder()
-            .setName("createInstanceConfigTest")
-            .setDone(true)
-            .setResponse(Any.pack(expectedResponse))
-            .build();
-    mockService.addResponse(resultOperation);
-
-    ProjectName parent = ProjectName.of("[PROJECT]");
-    InstanceConfig instanceConfig = InstanceConfig.newBuilder().build();
-    String instanceConfigId = "instanceConfigId1750947762";
-
-    InstanceConfig actualResponse =
-        client.createInstanceConfigAsync(parent, instanceConfig, instanceConfigId).get();
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void createInstanceConfigExceptionTest() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      ProjectName parent = ProjectName.of("[PROJECT]");
-      InstanceConfig instanceConfig = InstanceConfig.newBuilder().build();
-      String instanceConfigId = "instanceConfigId1750947762";
-      client.createInstanceConfigAsync(parent, instanceConfig, instanceConfigId).get();
-      Assert.fail("No exception raised");
-    } catch (ExecutionException e) {
-    }
-  }
-
-  @Test
-  public void createInstanceConfigTest2() throws Exception {
-    InstanceConfig expectedResponse =
-        InstanceConfig.newBuilder()
-            .setName(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString())
-            .setDisplayName("displayName1714148973")
-            .addAllReplicas(new ArrayList())
-            .addAllOptionalReplicas(new ArrayList())
-            .setBaseConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString())
-            .putAllLabels(new HashMap())
-            .setEtag("etag3123477")
-            .addAllLeaderOptions(new ArrayList())
-            .setReconciling(true)
-            .build();
-    Operation resultOperation =
-        Operation.newBuilder()
-            .setName("createInstanceConfigTest")
-            .setDone(true)
-            .setResponse(Any.pack(expectedResponse))
-            .build();
-    mockService.addResponse(resultOperation);
-
-    String parent = "projects/project-2353";
-    InstanceConfig instanceConfig = InstanceConfig.newBuilder().build();
-    String instanceConfigId = "instanceConfigId1750947762";
-
-    InstanceConfig actualResponse =
-        client.createInstanceConfigAsync(parent, instanceConfig, instanceConfigId).get();
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void createInstanceConfigExceptionTest2() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      String parent = "projects/project-2353";
-      InstanceConfig instanceConfig = InstanceConfig.newBuilder().build();
-      String instanceConfigId = "instanceConfigId1750947762";
-      client.createInstanceConfigAsync(parent, instanceConfig, instanceConfigId).get();
-      Assert.fail("No exception raised");
-    } catch (ExecutionException e) {
-    }
-  }
-
-  @Test
-  public void updateInstanceConfigTest() throws Exception {
-    InstanceConfig expectedResponse =
-        InstanceConfig.newBuilder()
-            .setName(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString())
-            .setDisplayName("displayName1714148973")
-            .addAllReplicas(new ArrayList())
-            .addAllOptionalReplicas(new ArrayList())
-            .setBaseConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString())
-            .putAllLabels(new HashMap())
-            .setEtag("etag3123477")
-            .addAllLeaderOptions(new ArrayList())
-            .setReconciling(true)
-            .build();
-    Operation resultOperation =
-        Operation.newBuilder()
-            .setName("updateInstanceConfigTest")
-            .setDone(true)
-            .setResponse(Any.pack(expectedResponse))
-            .build();
-    mockService.addResponse(resultOperation);
-
-    InstanceConfig instanceConfig =
-        InstanceConfig.newBuilder()
-            .setName(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString())
-            .setDisplayName("displayName1714148973")
-            .addAllReplicas(new ArrayList())
-            .addAllOptionalReplicas(new ArrayList())
-            .setBaseConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString())
-            .putAllLabels(new HashMap())
-            .setEtag("etag3123477")
-            .addAllLeaderOptions(new ArrayList())
-            .setReconciling(true)
-            .build();
-    FieldMask updateMask = FieldMask.newBuilder().build();
-
-    InstanceConfig actualResponse =
-        client.updateInstanceConfigAsync(instanceConfig, updateMask).get();
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void updateInstanceConfigExceptionTest() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      InstanceConfig instanceConfig =
-          InstanceConfig.newBuilder()
-              .setName(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString())
-              .setDisplayName("displayName1714148973")
-              .addAllReplicas(new ArrayList())
-              .addAllOptionalReplicas(new ArrayList())
-              .setBaseConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString())
-              .putAllLabels(new HashMap())
-              .setEtag("etag3123477")
-              .addAllLeaderOptions(new ArrayList())
-              .setReconciling(true)
-              .build();
-      FieldMask updateMask = FieldMask.newBuilder().build();
-      client.updateInstanceConfigAsync(instanceConfig, updateMask).get();
-      Assert.fail("No exception raised");
-    } catch (ExecutionException e) {
-    }
-  }
-
-  @Test
-  public void deleteInstanceConfigTest() throws Exception {
-    Empty expectedResponse = Empty.newBuilder().build();
-    mockService.addResponse(expectedResponse);
-
-    InstanceConfigName name = InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]");
-
-    client.deleteInstanceConfig(name);
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void deleteInstanceConfigExceptionTest() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      InstanceConfigName name = InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]");
-      client.deleteInstanceConfig(name);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void deleteInstanceConfigTest2() throws Exception {
-    Empty expectedResponse = Empty.newBuilder().build();
-    mockService.addResponse(expectedResponse);
-
-    String name = "projects/project-3640/instanceConfigs/instanceConfig-3640";
-
-    client.deleteInstanceConfig(name);
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void deleteInstanceConfigExceptionTest2() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      String name = "projects/project-3640/instanceConfigs/instanceConfig-3640";
-      client.deleteInstanceConfig(name);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void listInstanceConfigOperationsTest() throws Exception {
-    Operation responsesElement = Operation.newBuilder().build();
-    ListInstanceConfigOperationsResponse expectedResponse =
-        ListInstanceConfigOperationsResponse.newBuilder()
-            .setNextPageToken("")
-            .addAllOperations(Arrays.asList(responsesElement))
-            .build();
-    mockService.addResponse(expectedResponse);
-
-    ProjectName parent = ProjectName.of("[PROJECT]");
-
-    ListInstanceConfigOperationsPagedResponse pagedListResponse =
-        client.listInstanceConfigOperations(parent);
-
-    List resources = Lists.newArrayList(pagedListResponse.iterateAll());
-
-    Assert.assertEquals(1, resources.size());
-    Assert.assertEquals(expectedResponse.getOperationsList().get(0), resources.get(0));
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void listInstanceConfigOperationsExceptionTest() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      ProjectName parent = ProjectName.of("[PROJECT]");
-      client.listInstanceConfigOperations(parent);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void listInstanceConfigOperationsTest2() throws Exception {
-    Operation responsesElement = Operation.newBuilder().build();
-    ListInstanceConfigOperationsResponse expectedResponse =
-        ListInstanceConfigOperationsResponse.newBuilder()
-            .setNextPageToken("")
-            .addAllOperations(Arrays.asList(responsesElement))
-            .build();
-    mockService.addResponse(expectedResponse);
-
-    String parent = "projects/project-2353";
-
-    ListInstanceConfigOperationsPagedResponse pagedListResponse =
-        client.listInstanceConfigOperations(parent);
-
-    List resources = Lists.newArrayList(pagedListResponse.iterateAll());
-
-    Assert.assertEquals(1, resources.size());
-    Assert.assertEquals(expectedResponse.getOperationsList().get(0), resources.get(0));
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void listInstanceConfigOperationsExceptionTest2() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      String parent = "projects/project-2353";
-      client.listInstanceConfigOperations(parent);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void listInstancesTest() throws Exception {
-    Instance responsesElement = Instance.newBuilder().build();
-    ListInstancesResponse expectedResponse =
-        ListInstancesResponse.newBuilder()
-            .setNextPageToken("")
-            .addAllInstances(Arrays.asList(responsesElement))
-            .build();
-    mockService.addResponse(expectedResponse);
-
-    ProjectName parent = ProjectName.of("[PROJECT]");
-
-    ListInstancesPagedResponse pagedListResponse = client.listInstances(parent);
-
-    List resources = Lists.newArrayList(pagedListResponse.iterateAll());
-
-    Assert.assertEquals(1, resources.size());
-    Assert.assertEquals(expectedResponse.getInstancesList().get(0), resources.get(0));
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void listInstancesExceptionTest() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.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 {
-    Instance responsesElement = Instance.newBuilder().build();
-    ListInstancesResponse expectedResponse =
-        ListInstancesResponse.newBuilder()
-            .setNextPageToken("")
-            .addAllInstances(Arrays.asList(responsesElement))
-            .build();
-    mockService.addResponse(expectedResponse);
-
-    String parent = "projects/project-2353";
-
-    ListInstancesPagedResponse pagedListResponse = client.listInstances(parent);
-
-    List resources = Lists.newArrayList(pagedListResponse.iterateAll());
-
-    Assert.assertEquals(1, resources.size());
-    Assert.assertEquals(expectedResponse.getInstancesList().get(0), resources.get(0));
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void listInstancesExceptionTest2() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      String parent = "projects/project-2353";
-      client.listInstances(parent);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void getInstanceTest() throws Exception {
-    Instance expectedResponse =
-        Instance.newBuilder()
-            .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
-            .setConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString())
-            .setDisplayName("displayName1714148973")
-            .setNodeCount(1539922066)
-            .setProcessingUnits(-329117885)
-            .putAllLabels(new HashMap())
-            .addAllEndpointUris(new ArrayList())
-            .setCreateTime(Timestamp.newBuilder().build())
-            .setUpdateTime(Timestamp.newBuilder().build())
-            .build();
-    mockService.addResponse(expectedResponse);
-
-    InstanceName name = InstanceName.of("[PROJECT]", "[INSTANCE]");
-
-    Instance actualResponse = client.getInstance(name);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void getInstanceExceptionTest() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.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())
-            .setConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString())
-            .setDisplayName("displayName1714148973")
-            .setNodeCount(1539922066)
-            .setProcessingUnits(-329117885)
-            .putAllLabels(new HashMap())
-            .addAllEndpointUris(new ArrayList())
-            .setCreateTime(Timestamp.newBuilder().build())
-            .setUpdateTime(Timestamp.newBuilder().build())
-            .build();
-    mockService.addResponse(expectedResponse);
-
-    String name = "projects/project-3514/instances/instance-3514";
-
-    Instance actualResponse = client.getInstance(name);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void getInstanceExceptionTest2() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      String name = "projects/project-3514/instances/instance-3514";
-      client.getInstance(name);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void createInstanceTest() throws Exception {
-    Instance expectedResponse =
-        Instance.newBuilder()
-            .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
-            .setConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString())
-            .setDisplayName("displayName1714148973")
-            .setNodeCount(1539922066)
-            .setProcessingUnits(-329117885)
-            .putAllLabels(new HashMap())
-            .addAllEndpointUris(new ArrayList())
-            .setCreateTime(Timestamp.newBuilder().build())
-            .setUpdateTime(Timestamp.newBuilder().build())
-            .build();
-    Operation resultOperation =
-        Operation.newBuilder()
-            .setName("createInstanceTest")
-            .setDone(true)
-            .setResponse(Any.pack(expectedResponse))
-            .build();
-    mockService.addResponse(resultOperation);
-
-    ProjectName parent = ProjectName.of("[PROJECT]");
-    String instanceId = "instanceId902024336";
-    Instance instance = Instance.newBuilder().build();
-
-    Instance actualResponse = client.createInstanceAsync(parent, instanceId, instance).get();
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void createInstanceExceptionTest() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      ProjectName parent = ProjectName.of("[PROJECT]");
-      String instanceId = "instanceId902024336";
-      Instance instance = Instance.newBuilder().build();
-      client.createInstanceAsync(parent, instanceId, instance).get();
-      Assert.fail("No exception raised");
-    } catch (ExecutionException e) {
-    }
-  }
-
-  @Test
-  public void createInstanceTest2() throws Exception {
-    Instance expectedResponse =
-        Instance.newBuilder()
-            .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
-            .setConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString())
-            .setDisplayName("displayName1714148973")
-            .setNodeCount(1539922066)
-            .setProcessingUnits(-329117885)
-            .putAllLabels(new HashMap())
-            .addAllEndpointUris(new ArrayList())
-            .setCreateTime(Timestamp.newBuilder().build())
-            .setUpdateTime(Timestamp.newBuilder().build())
-            .build();
-    Operation resultOperation =
-        Operation.newBuilder()
-            .setName("createInstanceTest")
-            .setDone(true)
-            .setResponse(Any.pack(expectedResponse))
-            .build();
-    mockService.addResponse(resultOperation);
-
-    String parent = "projects/project-2353";
-    String instanceId = "instanceId902024336";
-    Instance instance = Instance.newBuilder().build();
-
-    Instance actualResponse = client.createInstanceAsync(parent, instanceId, instance).get();
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void createInstanceExceptionTest2() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      String parent = "projects/project-2353";
-      String instanceId = "instanceId902024336";
-      Instance instance = Instance.newBuilder().build();
-      client.createInstanceAsync(parent, instanceId, instance).get();
-      Assert.fail("No exception raised");
-    } catch (ExecutionException e) {
-    }
-  }
-
-  @Test
-  public void updateInstanceTest() throws Exception {
-    Instance expectedResponse =
-        Instance.newBuilder()
-            .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
-            .setConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString())
-            .setDisplayName("displayName1714148973")
-            .setNodeCount(1539922066)
-            .setProcessingUnits(-329117885)
-            .putAllLabels(new HashMap())
-            .addAllEndpointUris(new ArrayList())
-            .setCreateTime(Timestamp.newBuilder().build())
-            .setUpdateTime(Timestamp.newBuilder().build())
-            .build();
-    Operation resultOperation =
-        Operation.newBuilder()
-            .setName("updateInstanceTest")
-            .setDone(true)
-            .setResponse(Any.pack(expectedResponse))
-            .build();
-    mockService.addResponse(resultOperation);
-
-    Instance instance =
-        Instance.newBuilder()
-            .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
-            .setConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString())
-            .setDisplayName("displayName1714148973")
-            .setNodeCount(1539922066)
-            .setProcessingUnits(-329117885)
-            .putAllLabels(new HashMap())
-            .addAllEndpointUris(new ArrayList())
-            .setCreateTime(Timestamp.newBuilder().build())
-            .setUpdateTime(Timestamp.newBuilder().build())
-            .build();
-    FieldMask fieldMask = FieldMask.newBuilder().build();
-
-    Instance actualResponse = client.updateInstanceAsync(instance, fieldMask).get();
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void updateInstanceExceptionTest() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      Instance instance =
-          Instance.newBuilder()
-              .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
-              .setConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString())
-              .setDisplayName("displayName1714148973")
-              .setNodeCount(1539922066)
-              .setProcessingUnits(-329117885)
-              .putAllLabels(new HashMap())
-              .addAllEndpointUris(new ArrayList())
-              .setCreateTime(Timestamp.newBuilder().build())
-              .setUpdateTime(Timestamp.newBuilder().build())
-              .build();
-      FieldMask fieldMask = FieldMask.newBuilder().build();
-      client.updateInstanceAsync(instance, fieldMask).get();
-      Assert.fail("No exception raised");
-    } catch (ExecutionException e) {
-    }
-  }
-
-  @Test
-  public void deleteInstanceTest() throws Exception {
-    Empty expectedResponse = Empty.newBuilder().build();
-    mockService.addResponse(expectedResponse);
-
-    InstanceName name = InstanceName.of("[PROJECT]", "[INSTANCE]");
-
-    client.deleteInstance(name);
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void deleteInstanceExceptionTest() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.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();
-    mockService.addResponse(expectedResponse);
-
-    String name = "projects/project-3514/instances/instance-3514";
-
-    client.deleteInstance(name);
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void deleteInstanceExceptionTest2() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      String name = "projects/project-3514/instances/instance-3514";
-      client.deleteInstance(name);
-      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();
-    mockService.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 = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void setIamPolicyExceptionTest() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.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();
-    mockService.addResponse(expectedResponse);
-
-    String resource = "projects/project-3043/instances/instance-3043";
-    Policy policy = Policy.newBuilder().build();
-
-    Policy actualResponse = client.setIamPolicy(resource, policy);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void setIamPolicyExceptionTest2() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      String resource = "projects/project-3043/instances/instance-3043";
-      Policy policy = Policy.newBuilder().build();
-      client.setIamPolicy(resource, policy);
-      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();
-    mockService.addResponse(expectedResponse);
-
-    ResourceName resource = InstanceName.of("[PROJECT]", "[INSTANCE]");
-
-    Policy actualResponse = client.getIamPolicy(resource);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void getIamPolicyExceptionTest() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.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();
-    mockService.addResponse(expectedResponse);
-
-    String resource = "projects/project-3043/instances/instance-3043";
-
-    Policy actualResponse = client.getIamPolicy(resource);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void getIamPolicyExceptionTest2() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      String resource = "projects/project-3043/instances/instance-3043";
-      client.getIamPolicy(resource);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void testIamPermissionsTest() throws Exception {
-    TestIamPermissionsResponse expectedResponse =
-        TestIamPermissionsResponse.newBuilder().addAllPermissions(new ArrayList()).build();
-    mockService.addResponse(expectedResponse);
-
-    ResourceName resource = InstanceName.of("[PROJECT]", "[INSTANCE]");
-    List permissions = new ArrayList<>();
-
-    TestIamPermissionsResponse actualResponse = client.testIamPermissions(resource, permissions);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void testIamPermissionsExceptionTest() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.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();
-    mockService.addResponse(expectedResponse);
-
-    String resource = "projects/project-3043/instances/instance-3043";
-    List permissions = new ArrayList<>();
-
-    TestIamPermissionsResponse actualResponse = client.testIamPermissions(resource, permissions);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void testIamPermissionsExceptionTest2() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      String resource = "projects/project-3043/instances/instance-3043";
-      List permissions = new ArrayList<>();
-      client.testIamPermissions(resource, permissions);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-}
diff --git a/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminClientTest.java b/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminClientTest.java
deleted file mode 100644
index a120a858542..00000000000
--- a/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminClientTest.java
+++ /dev/null
@@ -1,1318 +0,0 @@
-/*
- * Copyright 2022 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.google.cloud.spanner.admin.instance.v1;
-
-import static com.google.cloud.spanner.admin.instance.v1.InstanceAdminClient.ListInstanceConfigOperationsPagedResponse;
-import static com.google.cloud.spanner.admin.instance.v1.InstanceAdminClient.ListInstanceConfigsPagedResponse;
-import static com.google.cloud.spanner.admin.instance.v1.InstanceAdminClient.ListInstancesPagedResponse;
-
-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.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 com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest;
-import com.google.spanner.admin.instance.v1.CreateInstanceRequest;
-import com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest;
-import com.google.spanner.admin.instance.v1.DeleteInstanceRequest;
-import com.google.spanner.admin.instance.v1.GetInstanceConfigRequest;
-import com.google.spanner.admin.instance.v1.GetInstanceRequest;
-import com.google.spanner.admin.instance.v1.Instance;
-import com.google.spanner.admin.instance.v1.InstanceConfig;
-import com.google.spanner.admin.instance.v1.InstanceConfigName;
-import com.google.spanner.admin.instance.v1.InstanceName;
-import com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest;
-import com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse;
-import com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest;
-import com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse;
-import com.google.spanner.admin.instance.v1.ListInstancesRequest;
-import com.google.spanner.admin.instance.v1.ListInstancesResponse;
-import com.google.spanner.admin.instance.v1.ProjectName;
-import com.google.spanner.admin.instance.v1.ReplicaInfo;
-import com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest;
-import com.google.spanner.admin.instance.v1.UpdateInstanceRequest;
-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 InstanceAdminClientTest {
-  private static MockInstanceAdmin mockInstanceAdmin;
-  private static MockServiceHelper mockServiceHelper;
-  private LocalChannelProvider channelProvider;
-  private InstanceAdminClient client;
-
-  @BeforeClass
-  public static void startStaticServer() {
-    mockInstanceAdmin = new MockInstanceAdmin();
-    mockServiceHelper =
-        new MockServiceHelper(
-            UUID.randomUUID().toString(), Arrays.asList(mockInstanceAdmin));
-    mockServiceHelper.start();
-  }
-
-  @AfterClass
-  public static void stopServer() {
-    mockServiceHelper.stop();
-  }
-
-  @Before
-  public void setUp() throws IOException {
-    mockServiceHelper.reset();
-    channelProvider = mockServiceHelper.createChannelProvider();
-    InstanceAdminSettings settings =
-        InstanceAdminSettings.newBuilder()
-            .setTransportChannelProvider(channelProvider)
-            .setCredentialsProvider(NoCredentialsProvider.create())
-            .build();
-    client = InstanceAdminClient.create(settings);
-  }
-
-  @After
-  public void tearDown() throws Exception {
-    client.close();
-  }
-
-  @Test
-  public void listInstanceConfigsTest() throws Exception {
-    InstanceConfig responsesElement = InstanceConfig.newBuilder().build();
-    ListInstanceConfigsResponse expectedResponse =
-        ListInstanceConfigsResponse.newBuilder()
-            .setNextPageToken("")
-            .addAllInstanceConfigs(Arrays.asList(responsesElement))
-            .build();
-    mockInstanceAdmin.addResponse(expectedResponse);
-
-    ProjectName parent = ProjectName.of("[PROJECT]");
-
-    ListInstanceConfigsPagedResponse pagedListResponse = client.listInstanceConfigs(parent);
-
-    List resources = Lists.newArrayList(pagedListResponse.iterateAll());
-
-    Assert.assertEquals(1, resources.size());
-    Assert.assertEquals(expectedResponse.getInstanceConfigsList().get(0), resources.get(0));
-
-    List actualRequests = mockInstanceAdmin.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    ListInstanceConfigsRequest actualRequest = ((ListInstanceConfigsRequest) actualRequests.get(0));
-
-    Assert.assertEquals(parent.toString(), actualRequest.getParent());
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  public void listInstanceConfigsExceptionTest() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
-    mockInstanceAdmin.addException(exception);
-
-    try {
-      ProjectName parent = ProjectName.of("[PROJECT]");
-      client.listInstanceConfigs(parent);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void listInstanceConfigsTest2() throws Exception {
-    InstanceConfig responsesElement = InstanceConfig.newBuilder().build();
-    ListInstanceConfigsResponse expectedResponse =
-        ListInstanceConfigsResponse.newBuilder()
-            .setNextPageToken("")
-            .addAllInstanceConfigs(Arrays.asList(responsesElement))
-            .build();
-    mockInstanceAdmin.addResponse(expectedResponse);
-
-    String parent = "parent-995424086";
-
-    ListInstanceConfigsPagedResponse pagedListResponse = client.listInstanceConfigs(parent);
-
-    List resources = Lists.newArrayList(pagedListResponse.iterateAll());
-
-    Assert.assertEquals(1, resources.size());
-    Assert.assertEquals(expectedResponse.getInstanceConfigsList().get(0), resources.get(0));
-
-    List actualRequests = mockInstanceAdmin.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    ListInstanceConfigsRequest actualRequest = ((ListInstanceConfigsRequest) actualRequests.get(0));
-
-    Assert.assertEquals(parent, actualRequest.getParent());
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  public void listInstanceConfigsExceptionTest2() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
-    mockInstanceAdmin.addException(exception);
-
-    try {
-      String parent = "parent-995424086";
-      client.listInstanceConfigs(parent);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void getInstanceConfigTest() throws Exception {
-    InstanceConfig expectedResponse =
-        InstanceConfig.newBuilder()
-            .setName(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString())
-            .setDisplayName("displayName1714148973")
-            .addAllReplicas(new ArrayList())
-            .addAllOptionalReplicas(new ArrayList())
-            .setBaseConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString())
-            .putAllLabels(new HashMap())
-            .setEtag("etag3123477")
-            .addAllLeaderOptions(new ArrayList())
-            .setReconciling(true)
-            .build();
-    mockInstanceAdmin.addResponse(expectedResponse);
-
-    InstanceConfigName name = InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]");
-
-    InstanceConfig actualResponse = client.getInstanceConfig(name);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockInstanceAdmin.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    GetInstanceConfigRequest actualRequest = ((GetInstanceConfigRequest) actualRequests.get(0));
-
-    Assert.assertEquals(name.toString(), actualRequest.getName());
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  public void getInstanceConfigExceptionTest() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
-    mockInstanceAdmin.addException(exception);
-
-    try {
-      InstanceConfigName name = InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]");
-      client.getInstanceConfig(name);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void getInstanceConfigTest2() throws Exception {
-    InstanceConfig expectedResponse =
-        InstanceConfig.newBuilder()
-            .setName(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString())
-            .setDisplayName("displayName1714148973")
-            .addAllReplicas(new ArrayList())
-            .addAllOptionalReplicas(new ArrayList())
-            .setBaseConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString())
-            .putAllLabels(new HashMap())
-            .setEtag("etag3123477")
-            .addAllLeaderOptions(new ArrayList())
-            .setReconciling(true)
-            .build();
-    mockInstanceAdmin.addResponse(expectedResponse);
-
-    String name = "name3373707";
-
-    InstanceConfig actualResponse = client.getInstanceConfig(name);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockInstanceAdmin.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    GetInstanceConfigRequest actualRequest = ((GetInstanceConfigRequest) actualRequests.get(0));
-
-    Assert.assertEquals(name, actualRequest.getName());
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  public void getInstanceConfigExceptionTest2() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
-    mockInstanceAdmin.addException(exception);
-
-    try {
-      String name = "name3373707";
-      client.getInstanceConfig(name);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void createInstanceConfigTest() throws Exception {
-    InstanceConfig expectedResponse =
-        InstanceConfig.newBuilder()
-            .setName(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString())
-            .setDisplayName("displayName1714148973")
-            .addAllReplicas(new ArrayList())
-            .addAllOptionalReplicas(new ArrayList())
-            .setBaseConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString())
-            .putAllLabels(new HashMap())
-            .setEtag("etag3123477")
-            .addAllLeaderOptions(new ArrayList())
-            .setReconciling(true)
-            .build();
-    Operation resultOperation =
-        Operation.newBuilder()
-            .setName("createInstanceConfigTest")
-            .setDone(true)
-            .setResponse(Any.pack(expectedResponse))
-            .build();
-    mockInstanceAdmin.addResponse(resultOperation);
-
-    ProjectName parent = ProjectName.of("[PROJECT]");
-    InstanceConfig instanceConfig = InstanceConfig.newBuilder().build();
-    String instanceConfigId = "instanceConfigId1750947762";
-
-    InstanceConfig actualResponse =
-        client.createInstanceConfigAsync(parent, instanceConfig, instanceConfigId).get();
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockInstanceAdmin.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    CreateInstanceConfigRequest actualRequest =
-        ((CreateInstanceConfigRequest) actualRequests.get(0));
-
-    Assert.assertEquals(parent.toString(), actualRequest.getParent());
-    Assert.assertEquals(instanceConfig, actualRequest.getInstanceConfig());
-    Assert.assertEquals(instanceConfigId, actualRequest.getInstanceConfigId());
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  public void createInstanceConfigExceptionTest() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
-    mockInstanceAdmin.addException(exception);
-
-    try {
-      ProjectName parent = ProjectName.of("[PROJECT]");
-      InstanceConfig instanceConfig = InstanceConfig.newBuilder().build();
-      String instanceConfigId = "instanceConfigId1750947762";
-      client.createInstanceConfigAsync(parent, instanceConfig, instanceConfigId).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 createInstanceConfigTest2() throws Exception {
-    InstanceConfig expectedResponse =
-        InstanceConfig.newBuilder()
-            .setName(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString())
-            .setDisplayName("displayName1714148973")
-            .addAllReplicas(new ArrayList())
-            .addAllOptionalReplicas(new ArrayList())
-            .setBaseConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString())
-            .putAllLabels(new HashMap())
-            .setEtag("etag3123477")
-            .addAllLeaderOptions(new ArrayList())
-            .setReconciling(true)
-            .build();
-    Operation resultOperation =
-        Operation.newBuilder()
-            .setName("createInstanceConfigTest")
-            .setDone(true)
-            .setResponse(Any.pack(expectedResponse))
-            .build();
-    mockInstanceAdmin.addResponse(resultOperation);
-
-    String parent = "parent-995424086";
-    InstanceConfig instanceConfig = InstanceConfig.newBuilder().build();
-    String instanceConfigId = "instanceConfigId1750947762";
-
-    InstanceConfig actualResponse =
-        client.createInstanceConfigAsync(parent, instanceConfig, instanceConfigId).get();
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockInstanceAdmin.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    CreateInstanceConfigRequest actualRequest =
-        ((CreateInstanceConfigRequest) actualRequests.get(0));
-
-    Assert.assertEquals(parent, actualRequest.getParent());
-    Assert.assertEquals(instanceConfig, actualRequest.getInstanceConfig());
-    Assert.assertEquals(instanceConfigId, actualRequest.getInstanceConfigId());
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  public void createInstanceConfigExceptionTest2() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
-    mockInstanceAdmin.addException(exception);
-
-    try {
-      String parent = "parent-995424086";
-      InstanceConfig instanceConfig = InstanceConfig.newBuilder().build();
-      String instanceConfigId = "instanceConfigId1750947762";
-      client.createInstanceConfigAsync(parent, instanceConfig, instanceConfigId).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 updateInstanceConfigTest() throws Exception {
-    InstanceConfig expectedResponse =
-        InstanceConfig.newBuilder()
-            .setName(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString())
-            .setDisplayName("displayName1714148973")
-            .addAllReplicas(new ArrayList())
-            .addAllOptionalReplicas(new ArrayList())
-            .setBaseConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString())
-            .putAllLabels(new HashMap())
-            .setEtag("etag3123477")
-            .addAllLeaderOptions(new ArrayList())
-            .setReconciling(true)
-            .build();
-    Operation resultOperation =
-        Operation.newBuilder()
-            .setName("updateInstanceConfigTest")
-            .setDone(true)
-            .setResponse(Any.pack(expectedResponse))
-            .build();
-    mockInstanceAdmin.addResponse(resultOperation);
-
-    InstanceConfig instanceConfig = InstanceConfig.newBuilder().build();
-    FieldMask updateMask = FieldMask.newBuilder().build();
-
-    InstanceConfig actualResponse =
-        client.updateInstanceConfigAsync(instanceConfig, updateMask).get();
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockInstanceAdmin.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    UpdateInstanceConfigRequest actualRequest =
-        ((UpdateInstanceConfigRequest) actualRequests.get(0));
-
-    Assert.assertEquals(instanceConfig, actualRequest.getInstanceConfig());
-    Assert.assertEquals(updateMask, actualRequest.getUpdateMask());
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  public void updateInstanceConfigExceptionTest() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
-    mockInstanceAdmin.addException(exception);
-
-    try {
-      InstanceConfig instanceConfig = InstanceConfig.newBuilder().build();
-      FieldMask updateMask = FieldMask.newBuilder().build();
-      client.updateInstanceConfigAsync(instanceConfig, 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 deleteInstanceConfigTest() throws Exception {
-    Empty expectedResponse = Empty.newBuilder().build();
-    mockInstanceAdmin.addResponse(expectedResponse);
-
-    InstanceConfigName name = InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]");
-
-    client.deleteInstanceConfig(name);
-
-    List actualRequests = mockInstanceAdmin.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    DeleteInstanceConfigRequest actualRequest =
-        ((DeleteInstanceConfigRequest) actualRequests.get(0));
-
-    Assert.assertEquals(name.toString(), actualRequest.getName());
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  public void deleteInstanceConfigExceptionTest() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
-    mockInstanceAdmin.addException(exception);
-
-    try {
-      InstanceConfigName name = InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]");
-      client.deleteInstanceConfig(name);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void deleteInstanceConfigTest2() throws Exception {
-    Empty expectedResponse = Empty.newBuilder().build();
-    mockInstanceAdmin.addResponse(expectedResponse);
-
-    String name = "name3373707";
-
-    client.deleteInstanceConfig(name);
-
-    List actualRequests = mockInstanceAdmin.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    DeleteInstanceConfigRequest actualRequest =
-        ((DeleteInstanceConfigRequest) actualRequests.get(0));
-
-    Assert.assertEquals(name, actualRequest.getName());
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  public void deleteInstanceConfigExceptionTest2() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
-    mockInstanceAdmin.addException(exception);
-
-    try {
-      String name = "name3373707";
-      client.deleteInstanceConfig(name);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void listInstanceConfigOperationsTest() throws Exception {
-    Operation responsesElement = Operation.newBuilder().build();
-    ListInstanceConfigOperationsResponse expectedResponse =
-        ListInstanceConfigOperationsResponse.newBuilder()
-            .setNextPageToken("")
-            .addAllOperations(Arrays.asList(responsesElement))
-            .build();
-    mockInstanceAdmin.addResponse(expectedResponse);
-
-    ProjectName parent = ProjectName.of("[PROJECT]");
-
-    ListInstanceConfigOperationsPagedResponse pagedListResponse =
-        client.listInstanceConfigOperations(parent);
-
-    List resources = Lists.newArrayList(pagedListResponse.iterateAll());
-
-    Assert.assertEquals(1, resources.size());
-    Assert.assertEquals(expectedResponse.getOperationsList().get(0), resources.get(0));
-
-    List actualRequests = mockInstanceAdmin.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    ListInstanceConfigOperationsRequest actualRequest =
-        ((ListInstanceConfigOperationsRequest) actualRequests.get(0));
-
-    Assert.assertEquals(parent.toString(), actualRequest.getParent());
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  public void listInstanceConfigOperationsExceptionTest() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
-    mockInstanceAdmin.addException(exception);
-
-    try {
-      ProjectName parent = ProjectName.of("[PROJECT]");
-      client.listInstanceConfigOperations(parent);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void listInstanceConfigOperationsTest2() throws Exception {
-    Operation responsesElement = Operation.newBuilder().build();
-    ListInstanceConfigOperationsResponse expectedResponse =
-        ListInstanceConfigOperationsResponse.newBuilder()
-            .setNextPageToken("")
-            .addAllOperations(Arrays.asList(responsesElement))
-            .build();
-    mockInstanceAdmin.addResponse(expectedResponse);
-
-    String parent = "parent-995424086";
-
-    ListInstanceConfigOperationsPagedResponse pagedListResponse =
-        client.listInstanceConfigOperations(parent);
-
-    List resources = Lists.newArrayList(pagedListResponse.iterateAll());
-
-    Assert.assertEquals(1, resources.size());
-    Assert.assertEquals(expectedResponse.getOperationsList().get(0), resources.get(0));
-
-    List actualRequests = mockInstanceAdmin.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    ListInstanceConfigOperationsRequest actualRequest =
-        ((ListInstanceConfigOperationsRequest) actualRequests.get(0));
-
-    Assert.assertEquals(parent, actualRequest.getParent());
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  public void listInstanceConfigOperationsExceptionTest2() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
-    mockInstanceAdmin.addException(exception);
-
-    try {
-      String parent = "parent-995424086";
-      client.listInstanceConfigOperations(parent);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void listInstancesTest() throws Exception {
-    Instance responsesElement = Instance.newBuilder().build();
-    ListInstancesResponse expectedResponse =
-        ListInstancesResponse.newBuilder()
-            .setNextPageToken("")
-            .addAllInstances(Arrays.asList(responsesElement))
-            .build();
-    mockInstanceAdmin.addResponse(expectedResponse);
-
-    ProjectName parent = ProjectName.of("[PROJECT]");
-
-    ListInstancesPagedResponse pagedListResponse = client.listInstances(parent);
-
-    List resources = Lists.newArrayList(pagedListResponse.iterateAll());
-
-    Assert.assertEquals(1, resources.size());
-    Assert.assertEquals(expectedResponse.getInstancesList().get(0), resources.get(0));
-
-    List actualRequests = mockInstanceAdmin.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);
-    mockInstanceAdmin.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 {
-    Instance responsesElement = Instance.newBuilder().build();
-    ListInstancesResponse expectedResponse =
-        ListInstancesResponse.newBuilder()
-            .setNextPageToken("")
-            .addAllInstances(Arrays.asList(responsesElement))
-            .build();
-    mockInstanceAdmin.addResponse(expectedResponse);
-
-    String parent = "parent-995424086";
-
-    ListInstancesPagedResponse pagedListResponse = client.listInstances(parent);
-
-    List resources = Lists.newArrayList(pagedListResponse.iterateAll());
-
-    Assert.assertEquals(1, resources.size());
-    Assert.assertEquals(expectedResponse.getInstancesList().get(0), resources.get(0));
-
-    List actualRequests = mockInstanceAdmin.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);
-    mockInstanceAdmin.addException(exception);
-
-    try {
-      String parent = "parent-995424086";
-      client.listInstances(parent);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void getInstanceTest() throws Exception {
-    Instance expectedResponse =
-        Instance.newBuilder()
-            .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
-            .setConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString())
-            .setDisplayName("displayName1714148973")
-            .setNodeCount(1539922066)
-            .setProcessingUnits(-329117885)
-            .putAllLabels(new HashMap())
-            .addAllEndpointUris(new ArrayList())
-            .setCreateTime(Timestamp.newBuilder().build())
-            .setUpdateTime(Timestamp.newBuilder().build())
-            .build();
-    mockInstanceAdmin.addResponse(expectedResponse);
-
-    InstanceName name = InstanceName.of("[PROJECT]", "[INSTANCE]");
-
-    Instance actualResponse = client.getInstance(name);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockInstanceAdmin.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);
-    mockInstanceAdmin.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())
-            .setConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString())
-            .setDisplayName("displayName1714148973")
-            .setNodeCount(1539922066)
-            .setProcessingUnits(-329117885)
-            .putAllLabels(new HashMap())
-            .addAllEndpointUris(new ArrayList())
-            .setCreateTime(Timestamp.newBuilder().build())
-            .setUpdateTime(Timestamp.newBuilder().build())
-            .build();
-    mockInstanceAdmin.addResponse(expectedResponse);
-
-    String name = "name3373707";
-
-    Instance actualResponse = client.getInstance(name);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockInstanceAdmin.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);
-    mockInstanceAdmin.addException(exception);
-
-    try {
-      String name = "name3373707";
-      client.getInstance(name);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void createInstanceTest() throws Exception {
-    Instance expectedResponse =
-        Instance.newBuilder()
-            .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
-            .setConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString())
-            .setDisplayName("displayName1714148973")
-            .setNodeCount(1539922066)
-            .setProcessingUnits(-329117885)
-            .putAllLabels(new HashMap())
-            .addAllEndpointUris(new ArrayList())
-            .setCreateTime(Timestamp.newBuilder().build())
-            .setUpdateTime(Timestamp.newBuilder().build())
-            .build();
-    Operation resultOperation =
-        Operation.newBuilder()
-            .setName("createInstanceTest")
-            .setDone(true)
-            .setResponse(Any.pack(expectedResponse))
-            .build();
-    mockInstanceAdmin.addResponse(resultOperation);
-
-    ProjectName parent = ProjectName.of("[PROJECT]");
-    String instanceId = "instanceId902024336";
-    Instance instance = Instance.newBuilder().build();
-
-    Instance actualResponse = client.createInstanceAsync(parent, instanceId, instance).get();
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockInstanceAdmin.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.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  public void createInstanceExceptionTest() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
-    mockInstanceAdmin.addException(exception);
-
-    try {
-      ProjectName parent = ProjectName.of("[PROJECT]");
-      String instanceId = "instanceId902024336";
-      Instance instance = Instance.newBuilder().build();
-      client.createInstanceAsync(parent, instanceId, instance).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())
-            .setConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString())
-            .setDisplayName("displayName1714148973")
-            .setNodeCount(1539922066)
-            .setProcessingUnits(-329117885)
-            .putAllLabels(new HashMap())
-            .addAllEndpointUris(new ArrayList())
-            .setCreateTime(Timestamp.newBuilder().build())
-            .setUpdateTime(Timestamp.newBuilder().build())
-            .build();
-    Operation resultOperation =
-        Operation.newBuilder()
-            .setName("createInstanceTest")
-            .setDone(true)
-            .setResponse(Any.pack(expectedResponse))
-            .build();
-    mockInstanceAdmin.addResponse(resultOperation);
-
-    String parent = "parent-995424086";
-    String instanceId = "instanceId902024336";
-    Instance instance = Instance.newBuilder().build();
-
-    Instance actualResponse = client.createInstanceAsync(parent, instanceId, instance).get();
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockInstanceAdmin.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.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  public void createInstanceExceptionTest2() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
-    mockInstanceAdmin.addException(exception);
-
-    try {
-      String parent = "parent-995424086";
-      String instanceId = "instanceId902024336";
-      Instance instance = Instance.newBuilder().build();
-      client.createInstanceAsync(parent, instanceId, instance).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 updateInstanceTest() throws Exception {
-    Instance expectedResponse =
-        Instance.newBuilder()
-            .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
-            .setConfig(InstanceConfigName.of("[PROJECT]", "[INSTANCE_CONFIG]").toString())
-            .setDisplayName("displayName1714148973")
-            .setNodeCount(1539922066)
-            .setProcessingUnits(-329117885)
-            .putAllLabels(new HashMap())
-            .addAllEndpointUris(new ArrayList())
-            .setCreateTime(Timestamp.newBuilder().build())
-            .setUpdateTime(Timestamp.newBuilder().build())
-            .build();
-    Operation resultOperation =
-        Operation.newBuilder()
-            .setName("updateInstanceTest")
-            .setDone(true)
-            .setResponse(Any.pack(expectedResponse))
-            .build();
-    mockInstanceAdmin.addResponse(resultOperation);
-
-    Instance instance = Instance.newBuilder().build();
-    FieldMask fieldMask = FieldMask.newBuilder().build();
-
-    Instance actualResponse = client.updateInstanceAsync(instance, fieldMask).get();
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockInstanceAdmin.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    UpdateInstanceRequest actualRequest = ((UpdateInstanceRequest) actualRequests.get(0));
-
-    Assert.assertEquals(instance, actualRequest.getInstance());
-    Assert.assertEquals(fieldMask, actualRequest.getFieldMask());
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  public void updateInstanceExceptionTest() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
-    mockInstanceAdmin.addException(exception);
-
-    try {
-      Instance instance = Instance.newBuilder().build();
-      FieldMask fieldMask = FieldMask.newBuilder().build();
-      client.updateInstanceAsync(instance, fieldMask).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();
-    mockInstanceAdmin.addResponse(expectedResponse);
-
-    InstanceName name = InstanceName.of("[PROJECT]", "[INSTANCE]");
-
-    client.deleteInstance(name);
-
-    List actualRequests = mockInstanceAdmin.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);
-    mockInstanceAdmin.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();
-    mockInstanceAdmin.addResponse(expectedResponse);
-
-    String name = "name3373707";
-
-    client.deleteInstance(name);
-
-    List actualRequests = mockInstanceAdmin.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);
-    mockInstanceAdmin.addException(exception);
-
-    try {
-      String name = "name3373707";
-      client.deleteInstance(name);
-      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();
-    mockInstanceAdmin.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 = mockInstanceAdmin.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);
-    mockInstanceAdmin.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();
-    mockInstanceAdmin.addResponse(expectedResponse);
-
-    String resource = "resource-341064690";
-    Policy policy = Policy.newBuilder().build();
-
-    Policy actualResponse = client.setIamPolicy(resource, policy);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockInstanceAdmin.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);
-    mockInstanceAdmin.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 getIamPolicyTest() throws Exception {
-    Policy expectedResponse =
-        Policy.newBuilder()
-            .setVersion(351608024)
-            .addAllBindings(new ArrayList())
-            .addAllAuditConfigs(new ArrayList())
-            .setEtag(ByteString.EMPTY)
-            .build();
-    mockInstanceAdmin.addResponse(expectedResponse);
-
-    ResourceName resource = InstanceName.of("[PROJECT]", "[INSTANCE]");
-
-    Policy actualResponse = client.getIamPolicy(resource);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockInstanceAdmin.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);
-    mockInstanceAdmin.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();
-    mockInstanceAdmin.addResponse(expectedResponse);
-
-    String resource = "resource-341064690";
-
-    Policy actualResponse = client.getIamPolicy(resource);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockInstanceAdmin.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);
-    mockInstanceAdmin.addException(exception);
-
-    try {
-      String resource = "resource-341064690";
-      client.getIamPolicy(resource);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void testIamPermissionsTest() throws Exception {
-    TestIamPermissionsResponse expectedResponse =
-        TestIamPermissionsResponse.newBuilder().addAllPermissions(new ArrayList()).build();
-    mockInstanceAdmin.addResponse(expectedResponse);
-
-    ResourceName resource = InstanceName.of("[PROJECT]", "[INSTANCE]");
-    List permissions = new ArrayList<>();
-
-    TestIamPermissionsResponse actualResponse = client.testIamPermissions(resource, permissions);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockInstanceAdmin.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);
-    mockInstanceAdmin.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();
-    mockInstanceAdmin.addResponse(expectedResponse);
-
-    String resource = "resource-341064690";
-    List permissions = new ArrayList<>();
-
-    TestIamPermissionsResponse actualResponse = client.testIamPermissions(resource, permissions);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockInstanceAdmin.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);
-    mockInstanceAdmin.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/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/instance/v1/MockInstanceAdmin.java b/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/instance/v1/MockInstanceAdmin.java
deleted file mode 100644
index e107d158b1e..00000000000
--- a/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/instance/v1/MockInstanceAdmin.java
+++ /dev/null
@@ -1,59 +0,0 @@
-/*
- * Copyright 2022 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.google.cloud.spanner.admin.instance.v1;
-
-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 MockInstanceAdmin implements MockGrpcService {
-  private final MockInstanceAdminImpl serviceImpl;
-
-  public MockInstanceAdmin() {
-    serviceImpl = new MockInstanceAdminImpl();
-  }
-
-  @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/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/instance/v1/MockInstanceAdminImpl.java b/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/instance/v1/MockInstanceAdminImpl.java
deleted file mode 100644
index a8372c749d2..00000000000
--- a/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/admin/instance/v1/MockInstanceAdminImpl.java
+++ /dev/null
@@ -1,377 +0,0 @@
-/*
- * Copyright 2022 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.google.cloud.spanner.admin.instance.v1;
-
-import com.google.api.core.BetaApi;
-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 com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest;
-import com.google.spanner.admin.instance.v1.CreateInstanceRequest;
-import com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest;
-import com.google.spanner.admin.instance.v1.DeleteInstanceRequest;
-import com.google.spanner.admin.instance.v1.GetInstanceConfigRequest;
-import com.google.spanner.admin.instance.v1.GetInstanceRequest;
-import com.google.spanner.admin.instance.v1.Instance;
-import com.google.spanner.admin.instance.v1.InstanceAdminGrpc.InstanceAdminImplBase;
-import com.google.spanner.admin.instance.v1.InstanceConfig;
-import com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest;
-import com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse;
-import com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest;
-import com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse;
-import com.google.spanner.admin.instance.v1.ListInstancesRequest;
-import com.google.spanner.admin.instance.v1.ListInstancesResponse;
-import com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest;
-import com.google.spanner.admin.instance.v1.UpdateInstanceRequest;
-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 MockInstanceAdminImpl extends InstanceAdminImplBase {
-  private List requests;
-  private Queue responses;
-
-  public MockInstanceAdminImpl() {
-    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 listInstanceConfigs(
-      ListInstanceConfigsRequest request,
-      StreamObserver responseObserver) {
-    Object response = responses.poll();
-    if (response instanceof ListInstanceConfigsResponse) {
-      requests.add(request);
-      responseObserver.onNext(((ListInstanceConfigsResponse) response));
-      responseObserver.onCompleted();
-    } else if (response instanceof Exception) {
-      responseObserver.onError(((Exception) response));
-    } else {
-      responseObserver.onError(
-          new IllegalArgumentException(
-              String.format(
-                  "Unrecognized response type %s for method ListInstanceConfigs, expected %s or %s",
-                  response == null ? "null" : response.getClass().getName(),
-                  ListInstanceConfigsResponse.class.getName(),
-                  Exception.class.getName())));
-    }
-  }
-
-  @Override
-  public void getInstanceConfig(
-      GetInstanceConfigRequest request, StreamObserver responseObserver) {
-    Object response = responses.poll();
-    if (response instanceof InstanceConfig) {
-      requests.add(request);
-      responseObserver.onNext(((InstanceConfig) response));
-      responseObserver.onCompleted();
-    } else if (response instanceof Exception) {
-      responseObserver.onError(((Exception) response));
-    } else {
-      responseObserver.onError(
-          new IllegalArgumentException(
-              String.format(
-                  "Unrecognized response type %s for method GetInstanceConfig, expected %s or %s",
-                  response == null ? "null" : response.getClass().getName(),
-                  InstanceConfig.class.getName(),
-                  Exception.class.getName())));
-    }
-  }
-
-  @Override
-  public void createInstanceConfig(
-      CreateInstanceConfigRequest 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 CreateInstanceConfig, expected %s or %s",
-                  response == null ? "null" : response.getClass().getName(),
-                  Operation.class.getName(),
-                  Exception.class.getName())));
-    }
-  }
-
-  @Override
-  public void updateInstanceConfig(
-      UpdateInstanceConfigRequest 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 UpdateInstanceConfig, expected %s or %s",
-                  response == null ? "null" : response.getClass().getName(),
-                  Operation.class.getName(),
-                  Exception.class.getName())));
-    }
-  }
-
-  @Override
-  public void deleteInstanceConfig(
-      DeleteInstanceConfigRequest 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 DeleteInstanceConfig, expected %s or %s",
-                  response == null ? "null" : response.getClass().getName(),
-                  Empty.class.getName(),
-                  Exception.class.getName())));
-    }
-  }
-
-  @Override
-  public void listInstanceConfigOperations(
-      ListInstanceConfigOperationsRequest request,
-      StreamObserver responseObserver) {
-    Object response = responses.poll();
-    if (response instanceof ListInstanceConfigOperationsResponse) {
-      requests.add(request);
-      responseObserver.onNext(((ListInstanceConfigOperationsResponse) response));
-      responseObserver.onCompleted();
-    } else if (response instanceof Exception) {
-      responseObserver.onError(((Exception) response));
-    } else {
-      responseObserver.onError(
-          new IllegalArgumentException(
-              String.format(
-                  "Unrecognized response type %s for method ListInstanceConfigOperations, expected %s or %s",
-                  response == null ? "null" : response.getClass().getName(),
-                  ListInstanceConfigOperationsResponse.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 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 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 updateInstance(
-      UpdateInstanceRequest 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 UpdateInstance, 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 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 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 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/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/v1/MockSpanner.java b/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/v1/MockSpanner.java
deleted file mode 100644
index 3a53cde1223..00000000000
--- a/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/v1/MockSpanner.java
+++ /dev/null
@@ -1,59 +0,0 @@
-/*
- * Copyright 2022 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.google.cloud.spanner.v1;
-
-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 MockSpanner implements MockGrpcService {
-  private final MockSpannerImpl serviceImpl;
-
-  public MockSpanner() {
-    serviceImpl = new MockSpannerImpl();
-  }
-
-  @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/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/v1/MockSpannerImpl.java b/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/v1/MockSpannerImpl.java
deleted file mode 100644
index d6176e1f277..00000000000
--- a/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/v1/MockSpannerImpl.java
+++ /dev/null
@@ -1,393 +0,0 @@
-/*
- * Copyright 2022 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.google.cloud.spanner.v1;
-
-import com.google.api.core.BetaApi;
-import com.google.protobuf.AbstractMessage;
-import com.google.protobuf.Empty;
-import com.google.spanner.v1.BatchCreateSessionsRequest;
-import com.google.spanner.v1.BatchCreateSessionsResponse;
-import com.google.spanner.v1.BeginTransactionRequest;
-import com.google.spanner.v1.CommitRequest;
-import com.google.spanner.v1.CommitResponse;
-import com.google.spanner.v1.CreateSessionRequest;
-import com.google.spanner.v1.DeleteSessionRequest;
-import com.google.spanner.v1.ExecuteBatchDmlRequest;
-import com.google.spanner.v1.ExecuteBatchDmlResponse;
-import com.google.spanner.v1.ExecuteSqlRequest;
-import com.google.spanner.v1.GetSessionRequest;
-import com.google.spanner.v1.ListSessionsRequest;
-import com.google.spanner.v1.ListSessionsResponse;
-import com.google.spanner.v1.PartialResultSet;
-import com.google.spanner.v1.PartitionQueryRequest;
-import com.google.spanner.v1.PartitionReadRequest;
-import com.google.spanner.v1.PartitionResponse;
-import com.google.spanner.v1.ReadRequest;
-import com.google.spanner.v1.ResultSet;
-import com.google.spanner.v1.RollbackRequest;
-import com.google.spanner.v1.Session;
-import com.google.spanner.v1.SpannerGrpc.SpannerImplBase;
-import com.google.spanner.v1.Transaction;
-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 MockSpannerImpl extends SpannerImplBase {
-  private List requests;
-  private Queue responses;
-
-  public MockSpannerImpl() {
-    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 createSession(
-      CreateSessionRequest request, StreamObserver responseObserver) {
-    Object response = responses.poll();
-    if (response instanceof Session) {
-      requests.add(request);
-      responseObserver.onNext(((Session) response));
-      responseObserver.onCompleted();
-    } else if (response instanceof Exception) {
-      responseObserver.onError(((Exception) response));
-    } else {
-      responseObserver.onError(
-          new IllegalArgumentException(
-              String.format(
-                  "Unrecognized response type %s for method CreateSession, expected %s or %s",
-                  response == null ? "null" : response.getClass().getName(),
-                  Session.class.getName(),
-                  Exception.class.getName())));
-    }
-  }
-
-  @Override
-  public void batchCreateSessions(
-      BatchCreateSessionsRequest request,
-      StreamObserver responseObserver) {
-    Object response = responses.poll();
-    if (response instanceof BatchCreateSessionsResponse) {
-      requests.add(request);
-      responseObserver.onNext(((BatchCreateSessionsResponse) response));
-      responseObserver.onCompleted();
-    } else if (response instanceof Exception) {
-      responseObserver.onError(((Exception) response));
-    } else {
-      responseObserver.onError(
-          new IllegalArgumentException(
-              String.format(
-                  "Unrecognized response type %s for method BatchCreateSessions, expected %s or %s",
-                  response == null ? "null" : response.getClass().getName(),
-                  BatchCreateSessionsResponse.class.getName(),
-                  Exception.class.getName())));
-    }
-  }
-
-  @Override
-  public void getSession(GetSessionRequest request, StreamObserver responseObserver) {
-    Object response = responses.poll();
-    if (response instanceof Session) {
-      requests.add(request);
-      responseObserver.onNext(((Session) response));
-      responseObserver.onCompleted();
-    } else if (response instanceof Exception) {
-      responseObserver.onError(((Exception) response));
-    } else {
-      responseObserver.onError(
-          new IllegalArgumentException(
-              String.format(
-                  "Unrecognized response type %s for method GetSession, expected %s or %s",
-                  response == null ? "null" : response.getClass().getName(),
-                  Session.class.getName(),
-                  Exception.class.getName())));
-    }
-  }
-
-  @Override
-  public void listSessions(
-      ListSessionsRequest request, StreamObserver responseObserver) {
-    Object response = responses.poll();
-    if (response instanceof ListSessionsResponse) {
-      requests.add(request);
-      responseObserver.onNext(((ListSessionsResponse) response));
-      responseObserver.onCompleted();
-    } else if (response instanceof Exception) {
-      responseObserver.onError(((Exception) response));
-    } else {
-      responseObserver.onError(
-          new IllegalArgumentException(
-              String.format(
-                  "Unrecognized response type %s for method ListSessions, expected %s or %s",
-                  response == null ? "null" : response.getClass().getName(),
-                  ListSessionsResponse.class.getName(),
-                  Exception.class.getName())));
-    }
-  }
-
-  @Override
-  public void deleteSession(DeleteSessionRequest 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 DeleteSession, expected %s or %s",
-                  response == null ? "null" : response.getClass().getName(),
-                  Empty.class.getName(),
-                  Exception.class.getName())));
-    }
-  }
-
-  @Override
-  public void executeSql(ExecuteSqlRequest request, StreamObserver responseObserver) {
-    Object response = responses.poll();
-    if (response instanceof ResultSet) {
-      requests.add(request);
-      responseObserver.onNext(((ResultSet) response));
-      responseObserver.onCompleted();
-    } else if (response instanceof Exception) {
-      responseObserver.onError(((Exception) response));
-    } else {
-      responseObserver.onError(
-          new IllegalArgumentException(
-              String.format(
-                  "Unrecognized response type %s for method ExecuteSql, expected %s or %s",
-                  response == null ? "null" : response.getClass().getName(),
-                  ResultSet.class.getName(),
-                  Exception.class.getName())));
-    }
-  }
-
-  @Override
-  public void executeStreamingSql(
-      ExecuteSqlRequest request, StreamObserver responseObserver) {
-    Object response = responses.poll();
-    if (response instanceof PartialResultSet) {
-      requests.add(request);
-      responseObserver.onNext(((PartialResultSet) response));
-      responseObserver.onCompleted();
-    } else if (response instanceof Exception) {
-      responseObserver.onError(((Exception) response));
-    } else {
-      responseObserver.onError(
-          new IllegalArgumentException(
-              String.format(
-                  "Unrecognized response type %s for method ExecuteStreamingSql, expected %s or %s",
-                  response == null ? "null" : response.getClass().getName(),
-                  PartialResultSet.class.getName(),
-                  Exception.class.getName())));
-    }
-  }
-
-  @Override
-  public void executeBatchDml(
-      ExecuteBatchDmlRequest request, StreamObserver responseObserver) {
-    Object response = responses.poll();
-    if (response instanceof ExecuteBatchDmlResponse) {
-      requests.add(request);
-      responseObserver.onNext(((ExecuteBatchDmlResponse) response));
-      responseObserver.onCompleted();
-    } else if (response instanceof Exception) {
-      responseObserver.onError(((Exception) response));
-    } else {
-      responseObserver.onError(
-          new IllegalArgumentException(
-              String.format(
-                  "Unrecognized response type %s for method ExecuteBatchDml, expected %s or %s",
-                  response == null ? "null" : response.getClass().getName(),
-                  ExecuteBatchDmlResponse.class.getName(),
-                  Exception.class.getName())));
-    }
-  }
-
-  @Override
-  public void read(ReadRequest request, StreamObserver responseObserver) {
-    Object response = responses.poll();
-    if (response instanceof ResultSet) {
-      requests.add(request);
-      responseObserver.onNext(((ResultSet) response));
-      responseObserver.onCompleted();
-    } else if (response instanceof Exception) {
-      responseObserver.onError(((Exception) response));
-    } else {
-      responseObserver.onError(
-          new IllegalArgumentException(
-              String.format(
-                  "Unrecognized response type %s for method Read, expected %s or %s",
-                  response == null ? "null" : response.getClass().getName(),
-                  ResultSet.class.getName(),
-                  Exception.class.getName())));
-    }
-  }
-
-  @Override
-  public void streamingRead(
-      ReadRequest request, StreamObserver responseObserver) {
-    Object response = responses.poll();
-    if (response instanceof PartialResultSet) {
-      requests.add(request);
-      responseObserver.onNext(((PartialResultSet) response));
-      responseObserver.onCompleted();
-    } else if (response instanceof Exception) {
-      responseObserver.onError(((Exception) response));
-    } else {
-      responseObserver.onError(
-          new IllegalArgumentException(
-              String.format(
-                  "Unrecognized response type %s for method StreamingRead, expected %s or %s",
-                  response == null ? "null" : response.getClass().getName(),
-                  PartialResultSet.class.getName(),
-                  Exception.class.getName())));
-    }
-  }
-
-  @Override
-  public void beginTransaction(
-      BeginTransactionRequest request, StreamObserver responseObserver) {
-    Object response = responses.poll();
-    if (response instanceof Transaction) {
-      requests.add(request);
-      responseObserver.onNext(((Transaction) response));
-      responseObserver.onCompleted();
-    } else if (response instanceof Exception) {
-      responseObserver.onError(((Exception) response));
-    } else {
-      responseObserver.onError(
-          new IllegalArgumentException(
-              String.format(
-                  "Unrecognized response type %s for method BeginTransaction, expected %s or %s",
-                  response == null ? "null" : response.getClass().getName(),
-                  Transaction.class.getName(),
-                  Exception.class.getName())));
-    }
-  }
-
-  @Override
-  public void commit(CommitRequest request, StreamObserver responseObserver) {
-    Object response = responses.poll();
-    if (response instanceof CommitResponse) {
-      requests.add(request);
-      responseObserver.onNext(((CommitResponse) response));
-      responseObserver.onCompleted();
-    } else if (response instanceof Exception) {
-      responseObserver.onError(((Exception) response));
-    } else {
-      responseObserver.onError(
-          new IllegalArgumentException(
-              String.format(
-                  "Unrecognized response type %s for method Commit, expected %s or %s",
-                  response == null ? "null" : response.getClass().getName(),
-                  CommitResponse.class.getName(),
-                  Exception.class.getName())));
-    }
-  }
-
-  @Override
-  public void rollback(RollbackRequest 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 Rollback, expected %s or %s",
-                  response == null ? "null" : response.getClass().getName(),
-                  Empty.class.getName(),
-                  Exception.class.getName())));
-    }
-  }
-
-  @Override
-  public void partitionQuery(
-      PartitionQueryRequest request, StreamObserver responseObserver) {
-    Object response = responses.poll();
-    if (response instanceof PartitionResponse) {
-      requests.add(request);
-      responseObserver.onNext(((PartitionResponse) response));
-      responseObserver.onCompleted();
-    } else if (response instanceof Exception) {
-      responseObserver.onError(((Exception) response));
-    } else {
-      responseObserver.onError(
-          new IllegalArgumentException(
-              String.format(
-                  "Unrecognized response type %s for method PartitionQuery, expected %s or %s",
-                  response == null ? "null" : response.getClass().getName(),
-                  PartitionResponse.class.getName(),
-                  Exception.class.getName())));
-    }
-  }
-
-  @Override
-  public void partitionRead(
-      PartitionReadRequest request, StreamObserver responseObserver) {
-    Object response = responses.poll();
-    if (response instanceof PartitionResponse) {
-      requests.add(request);
-      responseObserver.onNext(((PartitionResponse) response));
-      responseObserver.onCompleted();
-    } else if (response instanceof Exception) {
-      responseObserver.onError(((Exception) response));
-    } else {
-      responseObserver.onError(
-          new IllegalArgumentException(
-              String.format(
-                  "Unrecognized response type %s for method PartitionRead, expected %s or %s",
-                  response == null ? "null" : response.getClass().getName(),
-                  PartitionResponse.class.getName(),
-                  Exception.class.getName())));
-    }
-  }
-}
diff --git a/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/v1/SpannerClientHttpJsonTest.java b/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/v1/SpannerClientHttpJsonTest.java
deleted file mode 100644
index 04bd5df2166..00000000000
--- a/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/v1/SpannerClientHttpJsonTest.java
+++ /dev/null
@@ -1,1318 +0,0 @@
-/*
- * Copyright 2022 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.google.cloud.spanner.v1;
-
-import static com.google.cloud.spanner.v1.SpannerClient.ListSessionsPagedResponse;
-
-import com.google.api.gax.core.NoCredentialsProvider;
-import com.google.api.gax.httpjson.GaxHttpJsonProperties;
-import com.google.api.gax.httpjson.testing.MockHttpService;
-import com.google.api.gax.rpc.ApiClientHeaderProvider;
-import com.google.api.gax.rpc.ApiException;
-import com.google.api.gax.rpc.ApiExceptionFactory;
-import com.google.api.gax.rpc.InvalidArgumentException;
-import com.google.api.gax.rpc.StatusCode;
-import com.google.api.gax.rpc.testing.FakeStatusCode;
-import com.google.cloud.spanner.v1.stub.HttpJsonSpannerStub;
-import com.google.common.collect.Lists;
-import com.google.protobuf.ByteString;
-import com.google.protobuf.Empty;
-import com.google.protobuf.ListValue;
-import com.google.protobuf.Struct;
-import com.google.protobuf.Timestamp;
-import com.google.rpc.Status;
-import com.google.spanner.v1.BatchCreateSessionsResponse;
-import com.google.spanner.v1.CommitResponse;
-import com.google.spanner.v1.DatabaseName;
-import com.google.spanner.v1.ExecuteBatchDmlRequest;
-import com.google.spanner.v1.ExecuteBatchDmlResponse;
-import com.google.spanner.v1.ExecuteSqlRequest;
-import com.google.spanner.v1.KeySet;
-import com.google.spanner.v1.ListSessionsResponse;
-import com.google.spanner.v1.Mutation;
-import com.google.spanner.v1.Partition;
-import com.google.spanner.v1.PartitionOptions;
-import com.google.spanner.v1.PartitionQueryRequest;
-import com.google.spanner.v1.PartitionReadRequest;
-import com.google.spanner.v1.PartitionResponse;
-import com.google.spanner.v1.ReadRequest;
-import com.google.spanner.v1.RequestOptions;
-import com.google.spanner.v1.ResultSet;
-import com.google.spanner.v1.ResultSetMetadata;
-import com.google.spanner.v1.ResultSetStats;
-import com.google.spanner.v1.Session;
-import com.google.spanner.v1.SessionName;
-import com.google.spanner.v1.Transaction;
-import com.google.spanner.v1.TransactionOptions;
-import com.google.spanner.v1.TransactionSelector;
-import com.google.spanner.v1.Type;
-import java.io.IOException;
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.List;
-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 SpannerClientHttpJsonTest {
-  private static MockHttpService mockService;
-  private static SpannerClient client;
-
-  @BeforeClass
-  public static void startStaticServer() throws IOException {
-    mockService =
-        new MockHttpService(
-            HttpJsonSpannerStub.getMethodDescriptors(), SpannerSettings.getDefaultEndpoint());
-    SpannerSettings settings =
-        SpannerSettings.newHttpJsonBuilder()
-            .setTransportChannelProvider(
-                SpannerSettings.defaultHttpJsonTransportProviderBuilder()
-                    .setHttpTransport(mockService)
-                    .build())
-            .setCredentialsProvider(NoCredentialsProvider.create())
-            .build();
-    client = SpannerClient.create(settings);
-  }
-
-  @AfterClass
-  public static void stopServer() {
-    client.close();
-  }
-
-  @Before
-  public void setUp() {}
-
-  @After
-  public void tearDown() throws Exception {
-    mockService.reset();
-  }
-
-  @Test
-  public void createSessionTest() throws Exception {
-    Session expectedResponse =
-        Session.newBuilder()
-            .setName(
-                SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString())
-            .putAllLabels(new HashMap())
-            .setCreateTime(Timestamp.newBuilder().build())
-            .setApproximateLastUseTime(Timestamp.newBuilder().build())
-            .setCreatorRole("creatorRole-190742846")
-            .build();
-    mockService.addResponse(expectedResponse);
-
-    DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]");
-
-    Session actualResponse = client.createSession(database);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void createSessionExceptionTest() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]");
-      client.createSession(database);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void createSessionTest2() throws Exception {
-    Session expectedResponse =
-        Session.newBuilder()
-            .setName(
-                SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString())
-            .putAllLabels(new HashMap())
-            .setCreateTime(Timestamp.newBuilder().build())
-            .setApproximateLastUseTime(Timestamp.newBuilder().build())
-            .setCreatorRole("creatorRole-190742846")
-            .build();
-    mockService.addResponse(expectedResponse);
-
-    String database = "projects/project-3102/instances/instance-3102/databases/database-3102";
-
-    Session actualResponse = client.createSession(database);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void createSessionExceptionTest2() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      String database = "projects/project-3102/instances/instance-3102/databases/database-3102";
-      client.createSession(database);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void batchCreateSessionsTest() throws Exception {
-    BatchCreateSessionsResponse expectedResponse =
-        BatchCreateSessionsResponse.newBuilder().addAllSession(new ArrayList()).build();
-    mockService.addResponse(expectedResponse);
-
-    DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]");
-    int sessionCount = 185691686;
-
-    BatchCreateSessionsResponse actualResponse = client.batchCreateSessions(database, sessionCount);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void batchCreateSessionsExceptionTest() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]");
-      int sessionCount = 185691686;
-      client.batchCreateSessions(database, sessionCount);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void batchCreateSessionsTest2() throws Exception {
-    BatchCreateSessionsResponse expectedResponse =
-        BatchCreateSessionsResponse.newBuilder().addAllSession(new ArrayList()).build();
-    mockService.addResponse(expectedResponse);
-
-    String database = "projects/project-3102/instances/instance-3102/databases/database-3102";
-    int sessionCount = 185691686;
-
-    BatchCreateSessionsResponse actualResponse = client.batchCreateSessions(database, sessionCount);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void batchCreateSessionsExceptionTest2() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      String database = "projects/project-3102/instances/instance-3102/databases/database-3102";
-      int sessionCount = 185691686;
-      client.batchCreateSessions(database, sessionCount);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void getSessionTest() throws Exception {
-    Session expectedResponse =
-        Session.newBuilder()
-            .setName(
-                SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString())
-            .putAllLabels(new HashMap())
-            .setCreateTime(Timestamp.newBuilder().build())
-            .setApproximateLastUseTime(Timestamp.newBuilder().build())
-            .setCreatorRole("creatorRole-190742846")
-            .build();
-    mockService.addResponse(expectedResponse);
-
-    SessionName name = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]");
-
-    Session actualResponse = client.getSession(name);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void getSessionExceptionTest() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      SessionName name = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]");
-      client.getSession(name);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void getSessionTest2() throws Exception {
-    Session expectedResponse =
-        Session.newBuilder()
-            .setName(
-                SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString())
-            .putAllLabels(new HashMap())
-            .setCreateTime(Timestamp.newBuilder().build())
-            .setApproximateLastUseTime(Timestamp.newBuilder().build())
-            .setCreatorRole("creatorRole-190742846")
-            .build();
-    mockService.addResponse(expectedResponse);
-
-    String name =
-        "projects/project-199/instances/instance-199/databases/database-199/sessions/session-199";
-
-    Session actualResponse = client.getSession(name);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void getSessionExceptionTest2() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      String name =
-          "projects/project-199/instances/instance-199/databases/database-199/sessions/session-199";
-      client.getSession(name);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void listSessionsTest() throws Exception {
-    Session responsesElement = Session.newBuilder().build();
-    ListSessionsResponse expectedResponse =
-        ListSessionsResponse.newBuilder()
-            .setNextPageToken("")
-            .addAllSessions(Arrays.asList(responsesElement))
-            .build();
-    mockService.addResponse(expectedResponse);
-
-    DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]");
-
-    ListSessionsPagedResponse pagedListResponse = client.listSessions(database);
-
-    List resources = Lists.newArrayList(pagedListResponse.iterateAll());
-
-    Assert.assertEquals(1, resources.size());
-    Assert.assertEquals(expectedResponse.getSessionsList().get(0), resources.get(0));
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void listSessionsExceptionTest() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]");
-      client.listSessions(database);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void listSessionsTest2() throws Exception {
-    Session responsesElement = Session.newBuilder().build();
-    ListSessionsResponse expectedResponse =
-        ListSessionsResponse.newBuilder()
-            .setNextPageToken("")
-            .addAllSessions(Arrays.asList(responsesElement))
-            .build();
-    mockService.addResponse(expectedResponse);
-
-    String database = "projects/project-3102/instances/instance-3102/databases/database-3102";
-
-    ListSessionsPagedResponse pagedListResponse = client.listSessions(database);
-
-    List resources = Lists.newArrayList(pagedListResponse.iterateAll());
-
-    Assert.assertEquals(1, resources.size());
-    Assert.assertEquals(expectedResponse.getSessionsList().get(0), resources.get(0));
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void listSessionsExceptionTest2() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      String database = "projects/project-3102/instances/instance-3102/databases/database-3102";
-      client.listSessions(database);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void deleteSessionTest() throws Exception {
-    Empty expectedResponse = Empty.newBuilder().build();
-    mockService.addResponse(expectedResponse);
-
-    SessionName name = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]");
-
-    client.deleteSession(name);
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void deleteSessionExceptionTest() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      SessionName name = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]");
-      client.deleteSession(name);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void deleteSessionTest2() throws Exception {
-    Empty expectedResponse = Empty.newBuilder().build();
-    mockService.addResponse(expectedResponse);
-
-    String name =
-        "projects/project-199/instances/instance-199/databases/database-199/sessions/session-199";
-
-    client.deleteSession(name);
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void deleteSessionExceptionTest2() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      String name =
-          "projects/project-199/instances/instance-199/databases/database-199/sessions/session-199";
-      client.deleteSession(name);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void executeSqlTest() throws Exception {
-    ResultSet expectedResponse =
-        ResultSet.newBuilder()
-            .setMetadata(ResultSetMetadata.newBuilder().build())
-            .addAllRows(new ArrayList())
-            .setStats(ResultSetStats.newBuilder().build())
-            .build();
-    mockService.addResponse(expectedResponse);
-
-    ExecuteSqlRequest request =
-        ExecuteSqlRequest.newBuilder()
-            .setSession(
-                SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString())
-            .setTransaction(TransactionSelector.newBuilder().build())
-            .setSql("sql114126")
-            .setParams(Struct.newBuilder().build())
-            .putAllParamTypes(new HashMap())
-            .setResumeToken(ByteString.EMPTY)
-            .setPartitionToken(ByteString.EMPTY)
-            .setSeqno(109325920)
-            .setQueryOptions(ExecuteSqlRequest.QueryOptions.newBuilder().build())
-            .setRequestOptions(RequestOptions.newBuilder().build())
-            .setDataBoostEnabled(true)
-            .build();
-
-    ResultSet actualResponse = client.executeSql(request);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void executeSqlExceptionTest() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      ExecuteSqlRequest request =
-          ExecuteSqlRequest.newBuilder()
-              .setSession(
-                  SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString())
-              .setTransaction(TransactionSelector.newBuilder().build())
-              .setSql("sql114126")
-              .setParams(Struct.newBuilder().build())
-              .putAllParamTypes(new HashMap())
-              .setResumeToken(ByteString.EMPTY)
-              .setPartitionToken(ByteString.EMPTY)
-              .setSeqno(109325920)
-              .setQueryOptions(ExecuteSqlRequest.QueryOptions.newBuilder().build())
-              .setRequestOptions(RequestOptions.newBuilder().build())
-              .setDataBoostEnabled(true)
-              .build();
-      client.executeSql(request);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void executeStreamingSqlTest() throws Exception {}
-
-  @Test
-  public void executeStreamingSqlExceptionTest() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-  }
-
-  @Test
-  public void executeBatchDmlTest() throws Exception {
-    ExecuteBatchDmlResponse expectedResponse =
-        ExecuteBatchDmlResponse.newBuilder()
-            .addAllResultSets(new ArrayList())
-            .setStatus(Status.newBuilder().build())
-            .build();
-    mockService.addResponse(expectedResponse);
-
-    ExecuteBatchDmlRequest request =
-        ExecuteBatchDmlRequest.newBuilder()
-            .setSession(
-                SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString())
-            .setTransaction(TransactionSelector.newBuilder().build())
-            .addAllStatements(new ArrayList())
-            .setSeqno(109325920)
-            .setRequestOptions(RequestOptions.newBuilder().build())
-            .build();
-
-    ExecuteBatchDmlResponse actualResponse = client.executeBatchDml(request);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void executeBatchDmlExceptionTest() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      ExecuteBatchDmlRequest request =
-          ExecuteBatchDmlRequest.newBuilder()
-              .setSession(
-                  SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString())
-              .setTransaction(TransactionSelector.newBuilder().build())
-              .addAllStatements(new ArrayList())
-              .setSeqno(109325920)
-              .setRequestOptions(RequestOptions.newBuilder().build())
-              .build();
-      client.executeBatchDml(request);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void readTest() throws Exception {
-    ResultSet expectedResponse =
-        ResultSet.newBuilder()
-            .setMetadata(ResultSetMetadata.newBuilder().build())
-            .addAllRows(new ArrayList())
-            .setStats(ResultSetStats.newBuilder().build())
-            .build();
-    mockService.addResponse(expectedResponse);
-
-    ReadRequest request =
-        ReadRequest.newBuilder()
-            .setSession(
-                SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString())
-            .setTransaction(TransactionSelector.newBuilder().build())
-            .setTable("table110115790")
-            .setIndex("index100346066")
-            .addAllColumns(new ArrayList())
-            .setKeySet(KeySet.newBuilder().build())
-            .setLimit(102976443)
-            .setResumeToken(ByteString.EMPTY)
-            .setPartitionToken(ByteString.EMPTY)
-            .setRequestOptions(RequestOptions.newBuilder().build())
-            .setDataBoostEnabled(true)
-            .build();
-
-    ResultSet actualResponse = client.read(request);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void readExceptionTest() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      ReadRequest request =
-          ReadRequest.newBuilder()
-              .setSession(
-                  SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString())
-              .setTransaction(TransactionSelector.newBuilder().build())
-              .setTable("table110115790")
-              .setIndex("index100346066")
-              .addAllColumns(new ArrayList())
-              .setKeySet(KeySet.newBuilder().build())
-              .setLimit(102976443)
-              .setResumeToken(ByteString.EMPTY)
-              .setPartitionToken(ByteString.EMPTY)
-              .setRequestOptions(RequestOptions.newBuilder().build())
-              .setDataBoostEnabled(true)
-              .build();
-      client.read(request);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void streamingReadTest() throws Exception {}
-
-  @Test
-  public void streamingReadExceptionTest() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-  }
-
-  @Test
-  public void beginTransactionTest() throws Exception {
-    Transaction expectedResponse =
-        Transaction.newBuilder()
-            .setId(ByteString.EMPTY)
-            .setReadTimestamp(Timestamp.newBuilder().build())
-            .build();
-    mockService.addResponse(expectedResponse);
-
-    SessionName session = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]");
-    TransactionOptions options = TransactionOptions.newBuilder().build();
-
-    Transaction actualResponse = client.beginTransaction(session, options);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void beginTransactionExceptionTest() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      SessionName session = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]");
-      TransactionOptions options = TransactionOptions.newBuilder().build();
-      client.beginTransaction(session, options);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void beginTransactionTest2() throws Exception {
-    Transaction expectedResponse =
-        Transaction.newBuilder()
-            .setId(ByteString.EMPTY)
-            .setReadTimestamp(Timestamp.newBuilder().build())
-            .build();
-    mockService.addResponse(expectedResponse);
-
-    String session =
-        "projects/project-2078/instances/instance-2078/databases/database-2078/sessions/session-2078";
-    TransactionOptions options = TransactionOptions.newBuilder().build();
-
-    Transaction actualResponse = client.beginTransaction(session, options);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void beginTransactionExceptionTest2() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      String session =
-          "projects/project-2078/instances/instance-2078/databases/database-2078/sessions/session-2078";
-      TransactionOptions options = TransactionOptions.newBuilder().build();
-      client.beginTransaction(session, options);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void commitTest() throws Exception {
-    CommitResponse expectedResponse =
-        CommitResponse.newBuilder()
-            .setCommitTimestamp(Timestamp.newBuilder().build())
-            .setCommitStats(CommitResponse.CommitStats.newBuilder().build())
-            .build();
-    mockService.addResponse(expectedResponse);
-
-    SessionName session = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]");
-    ByteString transactionId = ByteString.EMPTY;
-    List mutations = new ArrayList<>();
-
-    CommitResponse actualResponse = client.commit(session, transactionId, mutations);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void commitExceptionTest() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      SessionName session = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]");
-      ByteString transactionId = ByteString.EMPTY;
-      List mutations = new ArrayList<>();
-      client.commit(session, transactionId, mutations);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void commitTest2() throws Exception {
-    CommitResponse expectedResponse =
-        CommitResponse.newBuilder()
-            .setCommitTimestamp(Timestamp.newBuilder().build())
-            .setCommitStats(CommitResponse.CommitStats.newBuilder().build())
-            .build();
-    mockService.addResponse(expectedResponse);
-
-    SessionName session = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]");
-    TransactionOptions singleUseTransaction = TransactionOptions.newBuilder().build();
-    List mutations = new ArrayList<>();
-
-    CommitResponse actualResponse = client.commit(session, singleUseTransaction, mutations);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void commitExceptionTest2() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      SessionName session = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]");
-      TransactionOptions singleUseTransaction = TransactionOptions.newBuilder().build();
-      List mutations = new ArrayList<>();
-      client.commit(session, singleUseTransaction, mutations);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void commitTest3() throws Exception {
-    CommitResponse expectedResponse =
-        CommitResponse.newBuilder()
-            .setCommitTimestamp(Timestamp.newBuilder().build())
-            .setCommitStats(CommitResponse.CommitStats.newBuilder().build())
-            .build();
-    mockService.addResponse(expectedResponse);
-
-    String session =
-        "projects/project-2078/instances/instance-2078/databases/database-2078/sessions/session-2078";
-    ByteString transactionId = ByteString.EMPTY;
-    List mutations = new ArrayList<>();
-
-    CommitResponse actualResponse = client.commit(session, transactionId, mutations);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void commitExceptionTest3() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      String session =
-          "projects/project-2078/instances/instance-2078/databases/database-2078/sessions/session-2078";
-      ByteString transactionId = ByteString.EMPTY;
-      List mutations = new ArrayList<>();
-      client.commit(session, transactionId, mutations);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void commitTest4() throws Exception {
-    CommitResponse expectedResponse =
-        CommitResponse.newBuilder()
-            .setCommitTimestamp(Timestamp.newBuilder().build())
-            .setCommitStats(CommitResponse.CommitStats.newBuilder().build())
-            .build();
-    mockService.addResponse(expectedResponse);
-
-    String session =
-        "projects/project-2078/instances/instance-2078/databases/database-2078/sessions/session-2078";
-    TransactionOptions singleUseTransaction = TransactionOptions.newBuilder().build();
-    List mutations = new ArrayList<>();
-
-    CommitResponse actualResponse = client.commit(session, singleUseTransaction, mutations);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void commitExceptionTest4() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      String session =
-          "projects/project-2078/instances/instance-2078/databases/database-2078/sessions/session-2078";
-      TransactionOptions singleUseTransaction = TransactionOptions.newBuilder().build();
-      List mutations = new ArrayList<>();
-      client.commit(session, singleUseTransaction, mutations);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void rollbackTest() throws Exception {
-    Empty expectedResponse = Empty.newBuilder().build();
-    mockService.addResponse(expectedResponse);
-
-    SessionName session = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]");
-    ByteString transactionId = ByteString.EMPTY;
-
-    client.rollback(session, transactionId);
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void rollbackExceptionTest() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      SessionName session = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]");
-      ByteString transactionId = ByteString.EMPTY;
-      client.rollback(session, transactionId);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void rollbackTest2() throws Exception {
-    Empty expectedResponse = Empty.newBuilder().build();
-    mockService.addResponse(expectedResponse);
-
-    String session =
-        "projects/project-2078/instances/instance-2078/databases/database-2078/sessions/session-2078";
-    ByteString transactionId = ByteString.EMPTY;
-
-    client.rollback(session, transactionId);
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void rollbackExceptionTest2() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      String session =
-          "projects/project-2078/instances/instance-2078/databases/database-2078/sessions/session-2078";
-      ByteString transactionId = ByteString.EMPTY;
-      client.rollback(session, transactionId);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void partitionQueryTest() throws Exception {
-    PartitionResponse expectedResponse =
-        PartitionResponse.newBuilder()
-            .addAllPartitions(new ArrayList())
-            .setTransaction(Transaction.newBuilder().build())
-            .build();
-    mockService.addResponse(expectedResponse);
-
-    PartitionQueryRequest request =
-        PartitionQueryRequest.newBuilder()
-            .setSession(
-                SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString())
-            .setTransaction(TransactionSelector.newBuilder().build())
-            .setSql("sql114126")
-            .setParams(Struct.newBuilder().build())
-            .putAllParamTypes(new HashMap())
-            .setPartitionOptions(PartitionOptions.newBuilder().build())
-            .build();
-
-    PartitionResponse actualResponse = client.partitionQuery(request);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void partitionQueryExceptionTest() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      PartitionQueryRequest request =
-          PartitionQueryRequest.newBuilder()
-              .setSession(
-                  SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString())
-              .setTransaction(TransactionSelector.newBuilder().build())
-              .setSql("sql114126")
-              .setParams(Struct.newBuilder().build())
-              .putAllParamTypes(new HashMap())
-              .setPartitionOptions(PartitionOptions.newBuilder().build())
-              .build();
-      client.partitionQuery(request);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void partitionReadTest() throws Exception {
-    PartitionResponse expectedResponse =
-        PartitionResponse.newBuilder()
-            .addAllPartitions(new ArrayList())
-            .setTransaction(Transaction.newBuilder().build())
-            .build();
-    mockService.addResponse(expectedResponse);
-
-    PartitionReadRequest request =
-        PartitionReadRequest.newBuilder()
-            .setSession(
-                SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString())
-            .setTransaction(TransactionSelector.newBuilder().build())
-            .setTable("table110115790")
-            .setIndex("index100346066")
-            .addAllColumns(new ArrayList())
-            .setKeySet(KeySet.newBuilder().build())
-            .setPartitionOptions(PartitionOptions.newBuilder().build())
-            .build();
-
-    PartitionResponse actualResponse = client.partitionRead(request);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockService.getRequestPaths();
-    Assert.assertEquals(1, actualRequests.size());
-
-    String apiClientHeaderKey =
-        mockService
-            .getRequestHeaders()
-            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
-            .iterator()
-            .next();
-    Assert.assertTrue(
-        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
-            .matcher(apiClientHeaderKey)
-            .matches());
-  }
-
-  @Test
-  public void partitionReadExceptionTest() throws Exception {
-    ApiException exception =
-        ApiExceptionFactory.createException(
-            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
-    mockService.addException(exception);
-
-    try {
-      PartitionReadRequest request =
-          PartitionReadRequest.newBuilder()
-              .setSession(
-                  SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString())
-              .setTransaction(TransactionSelector.newBuilder().build())
-              .setTable("table110115790")
-              .setIndex("index100346066")
-              .addAllColumns(new ArrayList())
-              .setKeySet(KeySet.newBuilder().build())
-              .setPartitionOptions(PartitionOptions.newBuilder().build())
-              .build();
-      client.partitionRead(request);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-}
diff --git a/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/v1/SpannerClientTest.java b/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/v1/SpannerClientTest.java
deleted file mode 100644
index 9e23c7a0523..00000000000
--- a/owl-bot-staging/v1/google-cloud-spanner/src/test/java/com/google/cloud/spanner/v1/SpannerClientTest.java
+++ /dev/null
@@ -1,1362 +0,0 @@
-/*
- * Copyright 2022 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.google.cloud.spanner.v1;
-
-import static com.google.cloud.spanner.v1.SpannerClient.ListSessionsPagedResponse;
-
-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.common.collect.Lists;
-import com.google.protobuf.AbstractMessage;
-import com.google.protobuf.ByteString;
-import com.google.protobuf.Empty;
-import com.google.protobuf.ListValue;
-import com.google.protobuf.Struct;
-import com.google.protobuf.Timestamp;
-import com.google.protobuf.Value;
-import com.google.rpc.Status;
-import com.google.spanner.v1.BatchCreateSessionsRequest;
-import com.google.spanner.v1.BatchCreateSessionsResponse;
-import com.google.spanner.v1.BeginTransactionRequest;
-import com.google.spanner.v1.CommitRequest;
-import com.google.spanner.v1.CommitResponse;
-import com.google.spanner.v1.CreateSessionRequest;
-import com.google.spanner.v1.DatabaseName;
-import com.google.spanner.v1.DeleteSessionRequest;
-import com.google.spanner.v1.ExecuteBatchDmlRequest;
-import com.google.spanner.v1.ExecuteBatchDmlResponse;
-import com.google.spanner.v1.ExecuteSqlRequest;
-import com.google.spanner.v1.GetSessionRequest;
-import com.google.spanner.v1.KeySet;
-import com.google.spanner.v1.ListSessionsRequest;
-import com.google.spanner.v1.ListSessionsResponse;
-import com.google.spanner.v1.Mutation;
-import com.google.spanner.v1.PartialResultSet;
-import com.google.spanner.v1.Partition;
-import com.google.spanner.v1.PartitionOptions;
-import com.google.spanner.v1.PartitionQueryRequest;
-import com.google.spanner.v1.PartitionReadRequest;
-import com.google.spanner.v1.PartitionResponse;
-import com.google.spanner.v1.ReadRequest;
-import com.google.spanner.v1.RequestOptions;
-import com.google.spanner.v1.ResultSet;
-import com.google.spanner.v1.ResultSetMetadata;
-import com.google.spanner.v1.ResultSetStats;
-import com.google.spanner.v1.RollbackRequest;
-import com.google.spanner.v1.Session;
-import com.google.spanner.v1.SessionName;
-import com.google.spanner.v1.Transaction;
-import com.google.spanner.v1.TransactionOptions;
-import com.google.spanner.v1.TransactionSelector;
-import com.google.spanner.v1.Type;
-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 SpannerClientTest {
-  private static MockServiceHelper mockServiceHelper;
-  private static MockSpanner mockSpanner;
-  private LocalChannelProvider channelProvider;
-  private SpannerClient client;
-
-  @BeforeClass
-  public static void startStaticServer() {
-    mockSpanner = new MockSpanner();
-    mockServiceHelper =
-        new MockServiceHelper(
-            UUID.randomUUID().toString(), Arrays.asList(mockSpanner));
-    mockServiceHelper.start();
-  }
-
-  @AfterClass
-  public static void stopServer() {
-    mockServiceHelper.stop();
-  }
-
-  @Before
-  public void setUp() throws IOException {
-    mockServiceHelper.reset();
-    channelProvider = mockServiceHelper.createChannelProvider();
-    SpannerSettings settings =
-        SpannerSettings.newBuilder()
-            .setTransportChannelProvider(channelProvider)
-            .setCredentialsProvider(NoCredentialsProvider.create())
-            .build();
-    client = SpannerClient.create(settings);
-  }
-
-  @After
-  public void tearDown() throws Exception {
-    client.close();
-  }
-
-  @Test
-  public void createSessionTest() throws Exception {
-    Session expectedResponse =
-        Session.newBuilder()
-            .setName(
-                SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString())
-            .putAllLabels(new HashMap())
-            .setCreateTime(Timestamp.newBuilder().build())
-            .setApproximateLastUseTime(Timestamp.newBuilder().build())
-            .setCreatorRole("creatorRole-190742846")
-            .build();
-    mockSpanner.addResponse(expectedResponse);
-
-    DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]");
-
-    Session actualResponse = client.createSession(database);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockSpanner.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    CreateSessionRequest actualRequest = ((CreateSessionRequest) actualRequests.get(0));
-
-    Assert.assertEquals(database.toString(), actualRequest.getDatabase());
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  public void createSessionExceptionTest() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
-    mockSpanner.addException(exception);
-
-    try {
-      DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]");
-      client.createSession(database);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void createSessionTest2() throws Exception {
-    Session expectedResponse =
-        Session.newBuilder()
-            .setName(
-                SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString())
-            .putAllLabels(new HashMap())
-            .setCreateTime(Timestamp.newBuilder().build())
-            .setApproximateLastUseTime(Timestamp.newBuilder().build())
-            .setCreatorRole("creatorRole-190742846")
-            .build();
-    mockSpanner.addResponse(expectedResponse);
-
-    String database = "database1789464955";
-
-    Session actualResponse = client.createSession(database);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockSpanner.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    CreateSessionRequest actualRequest = ((CreateSessionRequest) actualRequests.get(0));
-
-    Assert.assertEquals(database, actualRequest.getDatabase());
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  public void createSessionExceptionTest2() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
-    mockSpanner.addException(exception);
-
-    try {
-      String database = "database1789464955";
-      client.createSession(database);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void batchCreateSessionsTest() throws Exception {
-    BatchCreateSessionsResponse expectedResponse =
-        BatchCreateSessionsResponse.newBuilder().addAllSession(new ArrayList()).build();
-    mockSpanner.addResponse(expectedResponse);
-
-    DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]");
-    int sessionCount = 185691686;
-
-    BatchCreateSessionsResponse actualResponse = client.batchCreateSessions(database, sessionCount);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockSpanner.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    BatchCreateSessionsRequest actualRequest = ((BatchCreateSessionsRequest) actualRequests.get(0));
-
-    Assert.assertEquals(database.toString(), actualRequest.getDatabase());
-    Assert.assertEquals(sessionCount, actualRequest.getSessionCount());
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  public void batchCreateSessionsExceptionTest() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
-    mockSpanner.addException(exception);
-
-    try {
-      DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]");
-      int sessionCount = 185691686;
-      client.batchCreateSessions(database, sessionCount);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void batchCreateSessionsTest2() throws Exception {
-    BatchCreateSessionsResponse expectedResponse =
-        BatchCreateSessionsResponse.newBuilder().addAllSession(new ArrayList()).build();
-    mockSpanner.addResponse(expectedResponse);
-
-    String database = "database1789464955";
-    int sessionCount = 185691686;
-
-    BatchCreateSessionsResponse actualResponse = client.batchCreateSessions(database, sessionCount);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockSpanner.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    BatchCreateSessionsRequest actualRequest = ((BatchCreateSessionsRequest) actualRequests.get(0));
-
-    Assert.assertEquals(database, actualRequest.getDatabase());
-    Assert.assertEquals(sessionCount, actualRequest.getSessionCount());
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  public void batchCreateSessionsExceptionTest2() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
-    mockSpanner.addException(exception);
-
-    try {
-      String database = "database1789464955";
-      int sessionCount = 185691686;
-      client.batchCreateSessions(database, sessionCount);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void getSessionTest() throws Exception {
-    Session expectedResponse =
-        Session.newBuilder()
-            .setName(
-                SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString())
-            .putAllLabels(new HashMap())
-            .setCreateTime(Timestamp.newBuilder().build())
-            .setApproximateLastUseTime(Timestamp.newBuilder().build())
-            .setCreatorRole("creatorRole-190742846")
-            .build();
-    mockSpanner.addResponse(expectedResponse);
-
-    SessionName name = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]");
-
-    Session actualResponse = client.getSession(name);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockSpanner.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    GetSessionRequest actualRequest = ((GetSessionRequest) actualRequests.get(0));
-
-    Assert.assertEquals(name.toString(), actualRequest.getName());
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  public void getSessionExceptionTest() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
-    mockSpanner.addException(exception);
-
-    try {
-      SessionName name = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]");
-      client.getSession(name);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void getSessionTest2() throws Exception {
-    Session expectedResponse =
-        Session.newBuilder()
-            .setName(
-                SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString())
-            .putAllLabels(new HashMap())
-            .setCreateTime(Timestamp.newBuilder().build())
-            .setApproximateLastUseTime(Timestamp.newBuilder().build())
-            .setCreatorRole("creatorRole-190742846")
-            .build();
-    mockSpanner.addResponse(expectedResponse);
-
-    String name = "name3373707";
-
-    Session actualResponse = client.getSession(name);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockSpanner.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    GetSessionRequest actualRequest = ((GetSessionRequest) actualRequests.get(0));
-
-    Assert.assertEquals(name, actualRequest.getName());
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  public void getSessionExceptionTest2() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
-    mockSpanner.addException(exception);
-
-    try {
-      String name = "name3373707";
-      client.getSession(name);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void listSessionsTest() throws Exception {
-    Session responsesElement = Session.newBuilder().build();
-    ListSessionsResponse expectedResponse =
-        ListSessionsResponse.newBuilder()
-            .setNextPageToken("")
-            .addAllSessions(Arrays.asList(responsesElement))
-            .build();
-    mockSpanner.addResponse(expectedResponse);
-
-    DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]");
-
-    ListSessionsPagedResponse pagedListResponse = client.listSessions(database);
-
-    List resources = Lists.newArrayList(pagedListResponse.iterateAll());
-
-    Assert.assertEquals(1, resources.size());
-    Assert.assertEquals(expectedResponse.getSessionsList().get(0), resources.get(0));
-
-    List actualRequests = mockSpanner.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    ListSessionsRequest actualRequest = ((ListSessionsRequest) actualRequests.get(0));
-
-    Assert.assertEquals(database.toString(), actualRequest.getDatabase());
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  public void listSessionsExceptionTest() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
-    mockSpanner.addException(exception);
-
-    try {
-      DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]");
-      client.listSessions(database);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void listSessionsTest2() throws Exception {
-    Session responsesElement = Session.newBuilder().build();
-    ListSessionsResponse expectedResponse =
-        ListSessionsResponse.newBuilder()
-            .setNextPageToken("")
-            .addAllSessions(Arrays.asList(responsesElement))
-            .build();
-    mockSpanner.addResponse(expectedResponse);
-
-    String database = "database1789464955";
-
-    ListSessionsPagedResponse pagedListResponse = client.listSessions(database);
-
-    List resources = Lists.newArrayList(pagedListResponse.iterateAll());
-
-    Assert.assertEquals(1, resources.size());
-    Assert.assertEquals(expectedResponse.getSessionsList().get(0), resources.get(0));
-
-    List actualRequests = mockSpanner.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    ListSessionsRequest actualRequest = ((ListSessionsRequest) actualRequests.get(0));
-
-    Assert.assertEquals(database, actualRequest.getDatabase());
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  public void listSessionsExceptionTest2() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
-    mockSpanner.addException(exception);
-
-    try {
-      String database = "database1789464955";
-      client.listSessions(database);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void deleteSessionTest() throws Exception {
-    Empty expectedResponse = Empty.newBuilder().build();
-    mockSpanner.addResponse(expectedResponse);
-
-    SessionName name = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]");
-
-    client.deleteSession(name);
-
-    List actualRequests = mockSpanner.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    DeleteSessionRequest actualRequest = ((DeleteSessionRequest) actualRequests.get(0));
-
-    Assert.assertEquals(name.toString(), actualRequest.getName());
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  public void deleteSessionExceptionTest() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
-    mockSpanner.addException(exception);
-
-    try {
-      SessionName name = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]");
-      client.deleteSession(name);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void deleteSessionTest2() throws Exception {
-    Empty expectedResponse = Empty.newBuilder().build();
-    mockSpanner.addResponse(expectedResponse);
-
-    String name = "name3373707";
-
-    client.deleteSession(name);
-
-    List actualRequests = mockSpanner.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    DeleteSessionRequest actualRequest = ((DeleteSessionRequest) actualRequests.get(0));
-
-    Assert.assertEquals(name, actualRequest.getName());
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  public void deleteSessionExceptionTest2() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
-    mockSpanner.addException(exception);
-
-    try {
-      String name = "name3373707";
-      client.deleteSession(name);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void executeSqlTest() throws Exception {
-    ResultSet expectedResponse =
-        ResultSet.newBuilder()
-            .setMetadata(ResultSetMetadata.newBuilder().build())
-            .addAllRows(new ArrayList())
-            .setStats(ResultSetStats.newBuilder().build())
-            .build();
-    mockSpanner.addResponse(expectedResponse);
-
-    ExecuteSqlRequest request =
-        ExecuteSqlRequest.newBuilder()
-            .setSession(
-                SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString())
-            .setTransaction(TransactionSelector.newBuilder().build())
-            .setSql("sql114126")
-            .setParams(Struct.newBuilder().build())
-            .putAllParamTypes(new HashMap())
-            .setResumeToken(ByteString.EMPTY)
-            .setPartitionToken(ByteString.EMPTY)
-            .setSeqno(109325920)
-            .setQueryOptions(ExecuteSqlRequest.QueryOptions.newBuilder().build())
-            .setRequestOptions(RequestOptions.newBuilder().build())
-            .setDataBoostEnabled(true)
-            .build();
-
-    ResultSet actualResponse = client.executeSql(request);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockSpanner.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    ExecuteSqlRequest actualRequest = ((ExecuteSqlRequest) actualRequests.get(0));
-
-    Assert.assertEquals(request.getSession(), actualRequest.getSession());
-    Assert.assertEquals(request.getTransaction(), actualRequest.getTransaction());
-    Assert.assertEquals(request.getSql(), actualRequest.getSql());
-    Assert.assertEquals(request.getParams(), actualRequest.getParams());
-    Assert.assertEquals(request.getParamTypesMap(), actualRequest.getParamTypesMap());
-    Assert.assertEquals(request.getResumeToken(), actualRequest.getResumeToken());
-    Assert.assertEquals(request.getQueryMode(), actualRequest.getQueryMode());
-    Assert.assertEquals(request.getPartitionToken(), actualRequest.getPartitionToken());
-    Assert.assertEquals(request.getSeqno(), actualRequest.getSeqno());
-    Assert.assertEquals(request.getQueryOptions(), actualRequest.getQueryOptions());
-    Assert.assertEquals(request.getRequestOptions(), actualRequest.getRequestOptions());
-    Assert.assertEquals(request.getDataBoostEnabled(), actualRequest.getDataBoostEnabled());
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  public void executeSqlExceptionTest() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
-    mockSpanner.addException(exception);
-
-    try {
-      ExecuteSqlRequest request =
-          ExecuteSqlRequest.newBuilder()
-              .setSession(
-                  SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString())
-              .setTransaction(TransactionSelector.newBuilder().build())
-              .setSql("sql114126")
-              .setParams(Struct.newBuilder().build())
-              .putAllParamTypes(new HashMap())
-              .setResumeToken(ByteString.EMPTY)
-              .setPartitionToken(ByteString.EMPTY)
-              .setSeqno(109325920)
-              .setQueryOptions(ExecuteSqlRequest.QueryOptions.newBuilder().build())
-              .setRequestOptions(RequestOptions.newBuilder().build())
-              .setDataBoostEnabled(true)
-              .build();
-      client.executeSql(request);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void executeStreamingSqlTest() throws Exception {
-    PartialResultSet expectedResponse =
-        PartialResultSet.newBuilder()
-            .setMetadata(ResultSetMetadata.newBuilder().build())
-            .addAllValues(new ArrayList())
-            .setChunkedValue(true)
-            .setResumeToken(ByteString.EMPTY)
-            .setStats(ResultSetStats.newBuilder().build())
-            .build();
-    mockSpanner.addResponse(expectedResponse);
-    ExecuteSqlRequest request =
-        ExecuteSqlRequest.newBuilder()
-            .setSession(
-                SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString())
-            .setTransaction(TransactionSelector.newBuilder().build())
-            .setSql("sql114126")
-            .setParams(Struct.newBuilder().build())
-            .putAllParamTypes(new HashMap())
-            .setResumeToken(ByteString.EMPTY)
-            .setPartitionToken(ByteString.EMPTY)
-            .setSeqno(109325920)
-            .setQueryOptions(ExecuteSqlRequest.QueryOptions.newBuilder().build())
-            .setRequestOptions(RequestOptions.newBuilder().build())
-            .setDataBoostEnabled(true)
-            .build();
-
-    MockStreamObserver responseObserver = new MockStreamObserver<>();
-
-    ServerStreamingCallable callable =
-        client.executeStreamingSqlCallable();
-    callable.serverStreamingCall(request, responseObserver);
-
-    List actualResponses = responseObserver.future().get();
-    Assert.assertEquals(1, actualResponses.size());
-    Assert.assertEquals(expectedResponse, actualResponses.get(0));
-  }
-
-  @Test
-  public void executeStreamingSqlExceptionTest() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
-    mockSpanner.addException(exception);
-    ExecuteSqlRequest request =
-        ExecuteSqlRequest.newBuilder()
-            .setSession(
-                SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString())
-            .setTransaction(TransactionSelector.newBuilder().build())
-            .setSql("sql114126")
-            .setParams(Struct.newBuilder().build())
-            .putAllParamTypes(new HashMap())
-            .setResumeToken(ByteString.EMPTY)
-            .setPartitionToken(ByteString.EMPTY)
-            .setSeqno(109325920)
-            .setQueryOptions(ExecuteSqlRequest.QueryOptions.newBuilder().build())
-            .setRequestOptions(RequestOptions.newBuilder().build())
-            .setDataBoostEnabled(true)
-            .build();
-
-    MockStreamObserver responseObserver = new MockStreamObserver<>();
-
-    ServerStreamingCallable callable =
-        client.executeStreamingSqlCallable();
-    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 executeBatchDmlTest() throws Exception {
-    ExecuteBatchDmlResponse expectedResponse =
-        ExecuteBatchDmlResponse.newBuilder()
-            .addAllResultSets(new ArrayList())
-            .setStatus(Status.newBuilder().build())
-            .build();
-    mockSpanner.addResponse(expectedResponse);
-
-    ExecuteBatchDmlRequest request =
-        ExecuteBatchDmlRequest.newBuilder()
-            .setSession(
-                SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString())
-            .setTransaction(TransactionSelector.newBuilder().build())
-            .addAllStatements(new ArrayList())
-            .setSeqno(109325920)
-            .setRequestOptions(RequestOptions.newBuilder().build())
-            .build();
-
-    ExecuteBatchDmlResponse actualResponse = client.executeBatchDml(request);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockSpanner.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    ExecuteBatchDmlRequest actualRequest = ((ExecuteBatchDmlRequest) actualRequests.get(0));
-
-    Assert.assertEquals(request.getSession(), actualRequest.getSession());
-    Assert.assertEquals(request.getTransaction(), actualRequest.getTransaction());
-    Assert.assertEquals(request.getStatementsList(), actualRequest.getStatementsList());
-    Assert.assertEquals(request.getSeqno(), actualRequest.getSeqno());
-    Assert.assertEquals(request.getRequestOptions(), actualRequest.getRequestOptions());
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  public void executeBatchDmlExceptionTest() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
-    mockSpanner.addException(exception);
-
-    try {
-      ExecuteBatchDmlRequest request =
-          ExecuteBatchDmlRequest.newBuilder()
-              .setSession(
-                  SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString())
-              .setTransaction(TransactionSelector.newBuilder().build())
-              .addAllStatements(new ArrayList())
-              .setSeqno(109325920)
-              .setRequestOptions(RequestOptions.newBuilder().build())
-              .build();
-      client.executeBatchDml(request);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void readTest() throws Exception {
-    ResultSet expectedResponse =
-        ResultSet.newBuilder()
-            .setMetadata(ResultSetMetadata.newBuilder().build())
-            .addAllRows(new ArrayList())
-            .setStats(ResultSetStats.newBuilder().build())
-            .build();
-    mockSpanner.addResponse(expectedResponse);
-
-    ReadRequest request =
-        ReadRequest.newBuilder()
-            .setSession(
-                SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString())
-            .setTransaction(TransactionSelector.newBuilder().build())
-            .setTable("table110115790")
-            .setIndex("index100346066")
-            .addAllColumns(new ArrayList())
-            .setKeySet(KeySet.newBuilder().build())
-            .setLimit(102976443)
-            .setResumeToken(ByteString.EMPTY)
-            .setPartitionToken(ByteString.EMPTY)
-            .setRequestOptions(RequestOptions.newBuilder().build())
-            .setDataBoostEnabled(true)
-            .build();
-
-    ResultSet actualResponse = client.read(request);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockSpanner.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    ReadRequest actualRequest = ((ReadRequest) actualRequests.get(0));
-
-    Assert.assertEquals(request.getSession(), actualRequest.getSession());
-    Assert.assertEquals(request.getTransaction(), actualRequest.getTransaction());
-    Assert.assertEquals(request.getTable(), actualRequest.getTable());
-    Assert.assertEquals(request.getIndex(), actualRequest.getIndex());
-    Assert.assertEquals(request.getColumnsList(), actualRequest.getColumnsList());
-    Assert.assertEquals(request.getKeySet(), actualRequest.getKeySet());
-    Assert.assertEquals(request.getLimit(), actualRequest.getLimit());
-    Assert.assertEquals(request.getResumeToken(), actualRequest.getResumeToken());
-    Assert.assertEquals(request.getPartitionToken(), actualRequest.getPartitionToken());
-    Assert.assertEquals(request.getRequestOptions(), actualRequest.getRequestOptions());
-    Assert.assertEquals(request.getDataBoostEnabled(), actualRequest.getDataBoostEnabled());
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  public void readExceptionTest() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
-    mockSpanner.addException(exception);
-
-    try {
-      ReadRequest request =
-          ReadRequest.newBuilder()
-              .setSession(
-                  SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString())
-              .setTransaction(TransactionSelector.newBuilder().build())
-              .setTable("table110115790")
-              .setIndex("index100346066")
-              .addAllColumns(new ArrayList())
-              .setKeySet(KeySet.newBuilder().build())
-              .setLimit(102976443)
-              .setResumeToken(ByteString.EMPTY)
-              .setPartitionToken(ByteString.EMPTY)
-              .setRequestOptions(RequestOptions.newBuilder().build())
-              .setDataBoostEnabled(true)
-              .build();
-      client.read(request);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void streamingReadTest() throws Exception {
-    PartialResultSet expectedResponse =
-        PartialResultSet.newBuilder()
-            .setMetadata(ResultSetMetadata.newBuilder().build())
-            .addAllValues(new ArrayList())
-            .setChunkedValue(true)
-            .setResumeToken(ByteString.EMPTY)
-            .setStats(ResultSetStats.newBuilder().build())
-            .build();
-    mockSpanner.addResponse(expectedResponse);
-    ReadRequest request =
-        ReadRequest.newBuilder()
-            .setSession(
-                SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString())
-            .setTransaction(TransactionSelector.newBuilder().build())
-            .setTable("table110115790")
-            .setIndex("index100346066")
-            .addAllColumns(new ArrayList())
-            .setKeySet(KeySet.newBuilder().build())
-            .setLimit(102976443)
-            .setResumeToken(ByteString.EMPTY)
-            .setPartitionToken(ByteString.EMPTY)
-            .setRequestOptions(RequestOptions.newBuilder().build())
-            .setDataBoostEnabled(true)
-            .build();
-
-    MockStreamObserver responseObserver = new MockStreamObserver<>();
-
-    ServerStreamingCallable callable =
-        client.streamingReadCallable();
-    callable.serverStreamingCall(request, responseObserver);
-
-    List actualResponses = responseObserver.future().get();
-    Assert.assertEquals(1, actualResponses.size());
-    Assert.assertEquals(expectedResponse, actualResponses.get(0));
-  }
-
-  @Test
-  public void streamingReadExceptionTest() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
-    mockSpanner.addException(exception);
-    ReadRequest request =
-        ReadRequest.newBuilder()
-            .setSession(
-                SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString())
-            .setTransaction(TransactionSelector.newBuilder().build())
-            .setTable("table110115790")
-            .setIndex("index100346066")
-            .addAllColumns(new ArrayList())
-            .setKeySet(KeySet.newBuilder().build())
-            .setLimit(102976443)
-            .setResumeToken(ByteString.EMPTY)
-            .setPartitionToken(ByteString.EMPTY)
-            .setRequestOptions(RequestOptions.newBuilder().build())
-            .setDataBoostEnabled(true)
-            .build();
-
-    MockStreamObserver responseObserver = new MockStreamObserver<>();
-
-    ServerStreamingCallable callable =
-        client.streamingReadCallable();
-    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 beginTransactionTest() throws Exception {
-    Transaction expectedResponse =
-        Transaction.newBuilder()
-            .setId(ByteString.EMPTY)
-            .setReadTimestamp(Timestamp.newBuilder().build())
-            .build();
-    mockSpanner.addResponse(expectedResponse);
-
-    SessionName session = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]");
-    TransactionOptions options = TransactionOptions.newBuilder().build();
-
-    Transaction actualResponse = client.beginTransaction(session, options);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockSpanner.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    BeginTransactionRequest actualRequest = ((BeginTransactionRequest) actualRequests.get(0));
-
-    Assert.assertEquals(session.toString(), actualRequest.getSession());
-    Assert.assertEquals(options, actualRequest.getOptions());
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  public void beginTransactionExceptionTest() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
-    mockSpanner.addException(exception);
-
-    try {
-      SessionName session = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]");
-      TransactionOptions options = TransactionOptions.newBuilder().build();
-      client.beginTransaction(session, options);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void beginTransactionTest2() throws Exception {
-    Transaction expectedResponse =
-        Transaction.newBuilder()
-            .setId(ByteString.EMPTY)
-            .setReadTimestamp(Timestamp.newBuilder().build())
-            .build();
-    mockSpanner.addResponse(expectedResponse);
-
-    String session = "session1984987798";
-    TransactionOptions options = TransactionOptions.newBuilder().build();
-
-    Transaction actualResponse = client.beginTransaction(session, options);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockSpanner.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    BeginTransactionRequest actualRequest = ((BeginTransactionRequest) actualRequests.get(0));
-
-    Assert.assertEquals(session, actualRequest.getSession());
-    Assert.assertEquals(options, actualRequest.getOptions());
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  public void beginTransactionExceptionTest2() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
-    mockSpanner.addException(exception);
-
-    try {
-      String session = "session1984987798";
-      TransactionOptions options = TransactionOptions.newBuilder().build();
-      client.beginTransaction(session, options);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void commitTest() throws Exception {
-    CommitResponse expectedResponse =
-        CommitResponse.newBuilder()
-            .setCommitTimestamp(Timestamp.newBuilder().build())
-            .setCommitStats(CommitResponse.CommitStats.newBuilder().build())
-            .build();
-    mockSpanner.addResponse(expectedResponse);
-
-    SessionName session = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]");
-    ByteString transactionId = ByteString.EMPTY;
-    List mutations = new ArrayList<>();
-
-    CommitResponse actualResponse = client.commit(session, transactionId, mutations);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockSpanner.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    CommitRequest actualRequest = ((CommitRequest) actualRequests.get(0));
-
-    Assert.assertEquals(session.toString(), actualRequest.getSession());
-    Assert.assertEquals(transactionId, actualRequest.getTransactionId());
-    Assert.assertEquals(mutations, actualRequest.getMutationsList());
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  public void commitExceptionTest() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
-    mockSpanner.addException(exception);
-
-    try {
-      SessionName session = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]");
-      ByteString transactionId = ByteString.EMPTY;
-      List mutations = new ArrayList<>();
-      client.commit(session, transactionId, mutations);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void commitTest2() throws Exception {
-    CommitResponse expectedResponse =
-        CommitResponse.newBuilder()
-            .setCommitTimestamp(Timestamp.newBuilder().build())
-            .setCommitStats(CommitResponse.CommitStats.newBuilder().build())
-            .build();
-    mockSpanner.addResponse(expectedResponse);
-
-    SessionName session = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]");
-    TransactionOptions singleUseTransaction = TransactionOptions.newBuilder().build();
-    List mutations = new ArrayList<>();
-
-    CommitResponse actualResponse = client.commit(session, singleUseTransaction, mutations);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockSpanner.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    CommitRequest actualRequest = ((CommitRequest) actualRequests.get(0));
-
-    Assert.assertEquals(session.toString(), actualRequest.getSession());
-    Assert.assertEquals(singleUseTransaction, actualRequest.getSingleUseTransaction());
-    Assert.assertEquals(mutations, actualRequest.getMutationsList());
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  public void commitExceptionTest2() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
-    mockSpanner.addException(exception);
-
-    try {
-      SessionName session = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]");
-      TransactionOptions singleUseTransaction = TransactionOptions.newBuilder().build();
-      List mutations = new ArrayList<>();
-      client.commit(session, singleUseTransaction, mutations);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void commitTest3() throws Exception {
-    CommitResponse expectedResponse =
-        CommitResponse.newBuilder()
-            .setCommitTimestamp(Timestamp.newBuilder().build())
-            .setCommitStats(CommitResponse.CommitStats.newBuilder().build())
-            .build();
-    mockSpanner.addResponse(expectedResponse);
-
-    String session = "session1984987798";
-    ByteString transactionId = ByteString.EMPTY;
-    List mutations = new ArrayList<>();
-
-    CommitResponse actualResponse = client.commit(session, transactionId, mutations);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockSpanner.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    CommitRequest actualRequest = ((CommitRequest) actualRequests.get(0));
-
-    Assert.assertEquals(session, actualRequest.getSession());
-    Assert.assertEquals(transactionId, actualRequest.getTransactionId());
-    Assert.assertEquals(mutations, actualRequest.getMutationsList());
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  public void commitExceptionTest3() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
-    mockSpanner.addException(exception);
-
-    try {
-      String session = "session1984987798";
-      ByteString transactionId = ByteString.EMPTY;
-      List mutations = new ArrayList<>();
-      client.commit(session, transactionId, mutations);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void commitTest4() throws Exception {
-    CommitResponse expectedResponse =
-        CommitResponse.newBuilder()
-            .setCommitTimestamp(Timestamp.newBuilder().build())
-            .setCommitStats(CommitResponse.CommitStats.newBuilder().build())
-            .build();
-    mockSpanner.addResponse(expectedResponse);
-
-    String session = "session1984987798";
-    TransactionOptions singleUseTransaction = TransactionOptions.newBuilder().build();
-    List mutations = new ArrayList<>();
-
-    CommitResponse actualResponse = client.commit(session, singleUseTransaction, mutations);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockSpanner.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    CommitRequest actualRequest = ((CommitRequest) actualRequests.get(0));
-
-    Assert.assertEquals(session, actualRequest.getSession());
-    Assert.assertEquals(singleUseTransaction, actualRequest.getSingleUseTransaction());
-    Assert.assertEquals(mutations, actualRequest.getMutationsList());
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  public void commitExceptionTest4() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
-    mockSpanner.addException(exception);
-
-    try {
-      String session = "session1984987798";
-      TransactionOptions singleUseTransaction = TransactionOptions.newBuilder().build();
-      List mutations = new ArrayList<>();
-      client.commit(session, singleUseTransaction, mutations);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void rollbackTest() throws Exception {
-    Empty expectedResponse = Empty.newBuilder().build();
-    mockSpanner.addResponse(expectedResponse);
-
-    SessionName session = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]");
-    ByteString transactionId = ByteString.EMPTY;
-
-    client.rollback(session, transactionId);
-
-    List actualRequests = mockSpanner.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    RollbackRequest actualRequest = ((RollbackRequest) actualRequests.get(0));
-
-    Assert.assertEquals(session.toString(), actualRequest.getSession());
-    Assert.assertEquals(transactionId, actualRequest.getTransactionId());
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  public void rollbackExceptionTest() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
-    mockSpanner.addException(exception);
-
-    try {
-      SessionName session = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]");
-      ByteString transactionId = ByteString.EMPTY;
-      client.rollback(session, transactionId);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void rollbackTest2() throws Exception {
-    Empty expectedResponse = Empty.newBuilder().build();
-    mockSpanner.addResponse(expectedResponse);
-
-    String session = "session1984987798";
-    ByteString transactionId = ByteString.EMPTY;
-
-    client.rollback(session, transactionId);
-
-    List actualRequests = mockSpanner.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    RollbackRequest actualRequest = ((RollbackRequest) actualRequests.get(0));
-
-    Assert.assertEquals(session, actualRequest.getSession());
-    Assert.assertEquals(transactionId, actualRequest.getTransactionId());
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  public void rollbackExceptionTest2() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
-    mockSpanner.addException(exception);
-
-    try {
-      String session = "session1984987798";
-      ByteString transactionId = ByteString.EMPTY;
-      client.rollback(session, transactionId);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void partitionQueryTest() throws Exception {
-    PartitionResponse expectedResponse =
-        PartitionResponse.newBuilder()
-            .addAllPartitions(new ArrayList())
-            .setTransaction(Transaction.newBuilder().build())
-            .build();
-    mockSpanner.addResponse(expectedResponse);
-
-    PartitionQueryRequest request =
-        PartitionQueryRequest.newBuilder()
-            .setSession(
-                SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString())
-            .setTransaction(TransactionSelector.newBuilder().build())
-            .setSql("sql114126")
-            .setParams(Struct.newBuilder().build())
-            .putAllParamTypes(new HashMap())
-            .setPartitionOptions(PartitionOptions.newBuilder().build())
-            .build();
-
-    PartitionResponse actualResponse = client.partitionQuery(request);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockSpanner.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    PartitionQueryRequest actualRequest = ((PartitionQueryRequest) actualRequests.get(0));
-
-    Assert.assertEquals(request.getSession(), actualRequest.getSession());
-    Assert.assertEquals(request.getTransaction(), actualRequest.getTransaction());
-    Assert.assertEquals(request.getSql(), actualRequest.getSql());
-    Assert.assertEquals(request.getParams(), actualRequest.getParams());
-    Assert.assertEquals(request.getParamTypesMap(), actualRequest.getParamTypesMap());
-    Assert.assertEquals(request.getPartitionOptions(), actualRequest.getPartitionOptions());
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  public void partitionQueryExceptionTest() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
-    mockSpanner.addException(exception);
-
-    try {
-      PartitionQueryRequest request =
-          PartitionQueryRequest.newBuilder()
-              .setSession(
-                  SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString())
-              .setTransaction(TransactionSelector.newBuilder().build())
-              .setSql("sql114126")
-              .setParams(Struct.newBuilder().build())
-              .putAllParamTypes(new HashMap())
-              .setPartitionOptions(PartitionOptions.newBuilder().build())
-              .build();
-      client.partitionQuery(request);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-
-  @Test
-  public void partitionReadTest() throws Exception {
-    PartitionResponse expectedResponse =
-        PartitionResponse.newBuilder()
-            .addAllPartitions(new ArrayList())
-            .setTransaction(Transaction.newBuilder().build())
-            .build();
-    mockSpanner.addResponse(expectedResponse);
-
-    PartitionReadRequest request =
-        PartitionReadRequest.newBuilder()
-            .setSession(
-                SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString())
-            .setTransaction(TransactionSelector.newBuilder().build())
-            .setTable("table110115790")
-            .setIndex("index100346066")
-            .addAllColumns(new ArrayList())
-            .setKeySet(KeySet.newBuilder().build())
-            .setPartitionOptions(PartitionOptions.newBuilder().build())
-            .build();
-
-    PartitionResponse actualResponse = client.partitionRead(request);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockSpanner.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    PartitionReadRequest actualRequest = ((PartitionReadRequest) actualRequests.get(0));
-
-    Assert.assertEquals(request.getSession(), actualRequest.getSession());
-    Assert.assertEquals(request.getTransaction(), actualRequest.getTransaction());
-    Assert.assertEquals(request.getTable(), actualRequest.getTable());
-    Assert.assertEquals(request.getIndex(), actualRequest.getIndex());
-    Assert.assertEquals(request.getColumnsList(), actualRequest.getColumnsList());
-    Assert.assertEquals(request.getKeySet(), actualRequest.getKeySet());
-    Assert.assertEquals(request.getPartitionOptions(), actualRequest.getPartitionOptions());
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  public void partitionReadExceptionTest() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
-    mockSpanner.addException(exception);
-
-    try {
-      PartitionReadRequest request =
-          PartitionReadRequest.newBuilder()
-              .setSession(
-                  SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString())
-              .setTransaction(TransactionSelector.newBuilder().build())
-              .setTable("table110115790")
-              .setIndex("index100346066")
-              .addAllColumns(new ArrayList())
-              .setKeySet(KeySet.newBuilder().build())
-              .setPartitionOptions(PartitionOptions.newBuilder().build())
-              .build();
-      client.partitionRead(request);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception.
-    }
-  }
-}
diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupProto.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupProto.java
deleted file mode 100644
index 8cafd7a9282..00000000000
--- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupProto.java
+++ /dev/null
@@ -1,324 +0,0 @@
-// Generated by the protocol buffer compiler.  DO NOT EDIT!
-// source: google/spanner/admin/database/v1/backup.proto
-
-package com.google.spanner.admin.database.v1;
-
-public final class BackupProto {
-  private BackupProto() {}
-  public static void registerAllExtensions(
-      com.google.protobuf.ExtensionRegistryLite registry) {
-  }
-
-  public static void registerAllExtensions(
-      com.google.protobuf.ExtensionRegistry registry) {
-    registerAllExtensions(
-        (com.google.protobuf.ExtensionRegistryLite) registry);
-  }
-  static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_spanner_admin_database_v1_Backup_descriptor;
-  static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_spanner_admin_database_v1_Backup_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_spanner_admin_database_v1_CreateBackupRequest_descriptor;
-  static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_spanner_admin_database_v1_CreateBackupRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_spanner_admin_database_v1_CreateBackupMetadata_descriptor;
-  static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_spanner_admin_database_v1_CreateBackupMetadata_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_spanner_admin_database_v1_CopyBackupRequest_descriptor;
-  static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_spanner_admin_database_v1_CopyBackupRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_spanner_admin_database_v1_CopyBackupMetadata_descriptor;
-  static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_spanner_admin_database_v1_CopyBackupMetadata_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_spanner_admin_database_v1_UpdateBackupRequest_descriptor;
-  static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_spanner_admin_database_v1_UpdateBackupRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_spanner_admin_database_v1_GetBackupRequest_descriptor;
-  static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_spanner_admin_database_v1_GetBackupRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_spanner_admin_database_v1_DeleteBackupRequest_descriptor;
-  static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_spanner_admin_database_v1_DeleteBackupRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_spanner_admin_database_v1_ListBackupsRequest_descriptor;
-  static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_spanner_admin_database_v1_ListBackupsRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_spanner_admin_database_v1_ListBackupsResponse_descriptor;
-  static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_spanner_admin_database_v1_ListBackupsResponse_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_spanner_admin_database_v1_ListBackupOperationsRequest_descriptor;
-  static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_spanner_admin_database_v1_ListBackupOperationsRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_spanner_admin_database_v1_ListBackupOperationsResponse_descriptor;
-  static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_spanner_admin_database_v1_ListBackupOperationsResponse_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_spanner_admin_database_v1_BackupInfo_descriptor;
-  static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_spanner_admin_database_v1_BackupInfo_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_spanner_admin_database_v1_CreateBackupEncryptionConfig_descriptor;
-  static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_spanner_admin_database_v1_CreateBackupEncryptionConfig_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_spanner_admin_database_v1_CopyBackupEncryptionConfig_descriptor;
-  static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_spanner_admin_database_v1_CopyBackupEncryptionConfig_fieldAccessorTable;
-
-  public static com.google.protobuf.Descriptors.FileDescriptor
-      getDescriptor() {
-    return descriptor;
-  }
-  private static  com.google.protobuf.Descriptors.FileDescriptor
-      descriptor;
-  static {
-    java.lang.String[] descriptorData = {
-      "\n-google/spanner/admin/database/v1/backu" +
-      "p.proto\022 google.spanner.admin.database.v" +
-      "1\032\037google/api/field_behavior.proto\032\031goog" +
-      "le/api/resource.proto\032#google/longrunnin" +
-      "g/operations.proto\032 google/protobuf/fiel" +
-      "d_mask.proto\032\037google/protobuf/timestamp." +
-      "proto\032-google/spanner/admin/database/v1/" +
-      "common.proto\"\303\006\n\006Backup\0226\n\010database\030\002 \001(" +
-      "\tB$\372A!\n\037spanner.googleapis.com/Database\022" +
-      "0\n\014version_time\030\t \001(\0132\032.google.protobuf." +
-      "Timestamp\022/\n\013expire_time\030\003 \001(\0132\032.google." +
-      "protobuf.Timestamp\022\014\n\004name\030\001 \001(\t\0224\n\013crea" +
-      "te_time\030\004 \001(\0132\032.google.protobuf.Timestam" +
-      "pB\003\340A\003\022\027\n\nsize_bytes\030\005 \001(\003B\003\340A\003\022B\n\005state" +
-      "\030\006 \001(\0162..google.spanner.admin.database.v" +
-      "1.Backup.StateB\003\340A\003\022F\n\025referencing_datab" +
-      "ases\030\007 \003(\tB\'\340A\003\372A!\n\037spanner.googleapis.c" +
-      "om/Database\022N\n\017encryption_info\030\010 \001(\01320.g" +
-      "oogle.spanner.admin.database.v1.Encrypti" +
-      "onInfoB\003\340A\003\022P\n\020database_dialect\030\n \001(\01621." +
-      "google.spanner.admin.database.v1.Databas" +
-      "eDialectB\003\340A\003\022B\n\023referencing_backups\030\013 \003" +
-      "(\tB%\340A\003\372A\037\n\035spanner.googleapis.com/Backu" +
-      "p\0228\n\017max_expire_time\030\014 \001(\0132\032.google.prot" +
-      "obuf.TimestampB\003\340A\003\"7\n\005State\022\025\n\021STATE_UN" +
-      "SPECIFIED\020\000\022\014\n\010CREATING\020\001\022\t\n\005READY\020\002:\\\352A" +
-      "Y\n\035spanner.googleapis.com/Backup\0228projec" +
-      "ts/{project}/instances/{instance}/backup" +
-      "s/{backup}\"\205\002\n\023CreateBackupRequest\0227\n\006pa" +
-      "rent\030\001 \001(\tB\'\340A\002\372A!\n\037spanner.googleapis.c" +
-      "om/Instance\022\026\n\tbackup_id\030\002 \001(\tB\003\340A\002\022=\n\006b" +
-      "ackup\030\003 \001(\0132(.google.spanner.admin.datab" +
-      "ase.v1.BackupB\003\340A\002\022^\n\021encryption_config\030" +
-      "\004 \001(\0132>.google.spanner.admin.database.v1" +
-      ".CreateBackupEncryptionConfigB\003\340A\001\"\370\001\n\024C" +
-      "reateBackupMetadata\0220\n\004name\030\001 \001(\tB\"\372A\037\n\035" +
-      "spanner.googleapis.com/Backup\0226\n\010databas" +
-      "e\030\002 \001(\tB$\372A!\n\037spanner.googleapis.com/Dat" +
-      "abase\022E\n\010progress\030\003 \001(\01323.google.spanner" +
-      ".admin.database.v1.OperationProgress\022/\n\013" +
-      "cancel_time\030\004 \001(\0132\032.google.protobuf.Time" +
-      "stamp\"\266\002\n\021CopyBackupRequest\0227\n\006parent\030\001 " +
-      "\001(\tB\'\340A\002\372A!\n\037spanner.googleapis.com/Inst" +
-      "ance\022\026\n\tbackup_id\030\002 \001(\tB\003\340A\002\022<\n\rsource_b" +
-      "ackup\030\003 \001(\tB%\340A\002\372A\037\n\035spanner.googleapis." +
-      "com/Backup\0224\n\013expire_time\030\004 \001(\0132\032.google" +
-      ".protobuf.TimestampB\003\340A\002\022\\\n\021encryption_c" +
-      "onfig\030\005 \001(\0132<.google.spanner.admin.datab" +
-      "ase.v1.CopyBackupEncryptionConfigB\003\340A\001\"\371" +
-      "\001\n\022CopyBackupMetadata\0220\n\004name\030\001 \001(\tB\"\372A\037" +
-      "\n\035spanner.googleapis.com/Backup\0229\n\rsourc" +
-      "e_backup\030\002 \001(\tB\"\372A\037\n\035spanner.googleapis." +
-      "com/Backup\022E\n\010progress\030\003 \001(\01323.google.sp" +
-      "anner.admin.database.v1.OperationProgres" +
-      "s\022/\n\013cancel_time\030\004 \001(\0132\032.google.protobuf" +
-      ".Timestamp\"\212\001\n\023UpdateBackupRequest\022=\n\006ba" +
-      "ckup\030\001 \001(\0132(.google.spanner.admin.databa" +
-      "se.v1.BackupB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032" +
-      ".google.protobuf.FieldMaskB\003\340A\002\"G\n\020GetBa" +
-      "ckupRequest\0223\n\004name\030\001 \001(\tB%\340A\002\372A\037\n\035spann" +
-      "er.googleapis.com/Backup\"J\n\023DeleteBackup" +
-      "Request\0223\n\004name\030\001 \001(\tB%\340A\002\372A\037\n\035spanner.g" +
-      "oogleapis.com/Backup\"\204\001\n\022ListBackupsRequ" +
-      "est\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\n\037spanner.goo" +
-      "gleapis.com/Instance\022\016\n\006filter\030\002 \001(\t\022\021\n\t" +
-      "page_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\"i\n\023L" +
-      "istBackupsResponse\0229\n\007backups\030\001 \003(\0132(.go" +
-      "ogle.spanner.admin.database.v1.Backup\022\027\n" +
-      "\017next_page_token\030\002 \001(\t\"\215\001\n\033ListBackupOpe" +
-      "rationsRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\n\037" +
-      "spanner.googleapis.com/Instance\022\016\n\006filte" +
-      "r\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_token" +
-      "\030\004 \001(\t\"j\n\034ListBackupOperationsResponse\0221" +
-      "\n\noperations\030\001 \003(\0132\035.google.longrunning." +
-      "Operation\022\027\n\017next_page_token\030\002 \001(\t\"\342\001\n\nB" +
-      "ackupInfo\0222\n\006backup\030\001 \001(\tB\"\372A\037\n\035spanner." +
-      "googleapis.com/Backup\0220\n\014version_time\030\004 " +
-      "\001(\0132\032.google.protobuf.Timestamp\022/\n\013creat" +
-      "e_time\030\002 \001(\0132\032.google.protobuf.Timestamp" +
-      "\022=\n\017source_database\030\003 \001(\tB$\372A!\n\037spanner." +
-      "googleapis.com/Database\"\335\002\n\034CreateBackup" +
-      "EncryptionConfig\022k\n\017encryption_type\030\001 \001(" +
-      "\0162M.google.spanner.admin.database.v1.Cre" +
-      "ateBackupEncryptionConfig.EncryptionType" +
-      "B\003\340A\002\022?\n\014kms_key_name\030\002 \001(\tB)\340A\001\372A#\n!clo" +
-      "udkms.googleapis.com/CryptoKey\"\216\001\n\016Encry" +
-      "ptionType\022\037\n\033ENCRYPTION_TYPE_UNSPECIFIED" +
-      "\020\000\022\033\n\027USE_DATABASE_ENCRYPTION\020\001\022\035\n\031GOOGL" +
-      "E_DEFAULT_ENCRYPTION\020\002\022\037\n\033CUSTOMER_MANAG" +
-      "ED_ENCRYPTION\020\003\"\351\002\n\032CopyBackupEncryption" +
-      "Config\022i\n\017encryption_type\030\001 \001(\0162K.google" +
-      ".spanner.admin.database.v1.CopyBackupEnc" +
-      "ryptionConfig.EncryptionTypeB\003\340A\002\022?\n\014kms" +
-      "_key_name\030\002 \001(\tB)\340A\001\372A#\n!cloudkms.google" +
-      "apis.com/CryptoKey\"\236\001\n\016EncryptionType\022\037\n" +
-      "\033ENCRYPTION_TYPE_UNSPECIFIED\020\000\022+\n\'USE_CO" +
-      "NFIG_DEFAULT_OR_BACKUP_ENCRYPTION\020\001\022\035\n\031G" +
-      "OOGLE_DEFAULT_ENCRYPTION\020\002\022\037\n\033CUSTOMER_M" +
-      "ANAGED_ENCRYPTION\020\003B\375\001\n$com.google.spann" +
-      "er.admin.database.v1B\013BackupProtoP\001ZFclo" +
-      "ud.google.com/go/spanner/admin/database/" +
-      "apiv1/databasepb;databasepb\252\002&Google.Clo" +
-      "ud.Spanner.Admin.Database.V1\312\002&Google\\Cl" +
-      "oud\\Spanner\\Admin\\Database\\V1\352\002+Google::" +
-      "Cloud::Spanner::Admin::Database::V1b\006pro" +
-      "to3"
-    };
-    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.longrunning.OperationsProto.getDescriptor(),
-          com.google.protobuf.FieldMaskProto.getDescriptor(),
-          com.google.protobuf.TimestampProto.getDescriptor(),
-          com.google.spanner.admin.database.v1.CommonProto.getDescriptor(),
-        });
-    internal_static_google_spanner_admin_database_v1_Backup_descriptor =
-      getDescriptor().getMessageTypes().get(0);
-    internal_static_google_spanner_admin_database_v1_Backup_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_spanner_admin_database_v1_Backup_descriptor,
-        new java.lang.String[] { "Database", "VersionTime", "ExpireTime", "Name", "CreateTime", "SizeBytes", "State", "ReferencingDatabases", "EncryptionInfo", "DatabaseDialect", "ReferencingBackups", "MaxExpireTime", });
-    internal_static_google_spanner_admin_database_v1_CreateBackupRequest_descriptor =
-      getDescriptor().getMessageTypes().get(1);
-    internal_static_google_spanner_admin_database_v1_CreateBackupRequest_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_spanner_admin_database_v1_CreateBackupRequest_descriptor,
-        new java.lang.String[] { "Parent", "BackupId", "Backup", "EncryptionConfig", });
-    internal_static_google_spanner_admin_database_v1_CreateBackupMetadata_descriptor =
-      getDescriptor().getMessageTypes().get(2);
-    internal_static_google_spanner_admin_database_v1_CreateBackupMetadata_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_spanner_admin_database_v1_CreateBackupMetadata_descriptor,
-        new java.lang.String[] { "Name", "Database", "Progress", "CancelTime", });
-    internal_static_google_spanner_admin_database_v1_CopyBackupRequest_descriptor =
-      getDescriptor().getMessageTypes().get(3);
-    internal_static_google_spanner_admin_database_v1_CopyBackupRequest_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_spanner_admin_database_v1_CopyBackupRequest_descriptor,
-        new java.lang.String[] { "Parent", "BackupId", "SourceBackup", "ExpireTime", "EncryptionConfig", });
-    internal_static_google_spanner_admin_database_v1_CopyBackupMetadata_descriptor =
-      getDescriptor().getMessageTypes().get(4);
-    internal_static_google_spanner_admin_database_v1_CopyBackupMetadata_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_spanner_admin_database_v1_CopyBackupMetadata_descriptor,
-        new java.lang.String[] { "Name", "SourceBackup", "Progress", "CancelTime", });
-    internal_static_google_spanner_admin_database_v1_UpdateBackupRequest_descriptor =
-      getDescriptor().getMessageTypes().get(5);
-    internal_static_google_spanner_admin_database_v1_UpdateBackupRequest_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_spanner_admin_database_v1_UpdateBackupRequest_descriptor,
-        new java.lang.String[] { "Backup", "UpdateMask", });
-    internal_static_google_spanner_admin_database_v1_GetBackupRequest_descriptor =
-      getDescriptor().getMessageTypes().get(6);
-    internal_static_google_spanner_admin_database_v1_GetBackupRequest_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_spanner_admin_database_v1_GetBackupRequest_descriptor,
-        new java.lang.String[] { "Name", });
-    internal_static_google_spanner_admin_database_v1_DeleteBackupRequest_descriptor =
-      getDescriptor().getMessageTypes().get(7);
-    internal_static_google_spanner_admin_database_v1_DeleteBackupRequest_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_spanner_admin_database_v1_DeleteBackupRequest_descriptor,
-        new java.lang.String[] { "Name", });
-    internal_static_google_spanner_admin_database_v1_ListBackupsRequest_descriptor =
-      getDescriptor().getMessageTypes().get(8);
-    internal_static_google_spanner_admin_database_v1_ListBackupsRequest_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_spanner_admin_database_v1_ListBackupsRequest_descriptor,
-        new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", });
-    internal_static_google_spanner_admin_database_v1_ListBackupsResponse_descriptor =
-      getDescriptor().getMessageTypes().get(9);
-    internal_static_google_spanner_admin_database_v1_ListBackupsResponse_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_spanner_admin_database_v1_ListBackupsResponse_descriptor,
-        new java.lang.String[] { "Backups", "NextPageToken", });
-    internal_static_google_spanner_admin_database_v1_ListBackupOperationsRequest_descriptor =
-      getDescriptor().getMessageTypes().get(10);
-    internal_static_google_spanner_admin_database_v1_ListBackupOperationsRequest_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_spanner_admin_database_v1_ListBackupOperationsRequest_descriptor,
-        new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", });
-    internal_static_google_spanner_admin_database_v1_ListBackupOperationsResponse_descriptor =
-      getDescriptor().getMessageTypes().get(11);
-    internal_static_google_spanner_admin_database_v1_ListBackupOperationsResponse_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_spanner_admin_database_v1_ListBackupOperationsResponse_descriptor,
-        new java.lang.String[] { "Operations", "NextPageToken", });
-    internal_static_google_spanner_admin_database_v1_BackupInfo_descriptor =
-      getDescriptor().getMessageTypes().get(12);
-    internal_static_google_spanner_admin_database_v1_BackupInfo_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_spanner_admin_database_v1_BackupInfo_descriptor,
-        new java.lang.String[] { "Backup", "VersionTime", "CreateTime", "SourceDatabase", });
-    internal_static_google_spanner_admin_database_v1_CreateBackupEncryptionConfig_descriptor =
-      getDescriptor().getMessageTypes().get(13);
-    internal_static_google_spanner_admin_database_v1_CreateBackupEncryptionConfig_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_spanner_admin_database_v1_CreateBackupEncryptionConfig_descriptor,
-        new java.lang.String[] { "EncryptionType", "KmsKeyName", });
-    internal_static_google_spanner_admin_database_v1_CopyBackupEncryptionConfig_descriptor =
-      getDescriptor().getMessageTypes().get(14);
-    internal_static_google_spanner_admin_database_v1_CopyBackupEncryptionConfig_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_spanner_admin_database_v1_CopyBackupEncryptionConfig_descriptor,
-        new java.lang.String[] { "EncryptionType", "KmsKeyName", });
-    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.resourceReference);
-    com.google.protobuf.Descriptors.FileDescriptor
-        .internalUpdateFileDescriptor(descriptor, registry);
-    com.google.api.FieldBehaviorProto.getDescriptor();
-    com.google.api.ResourceProto.getDescriptor();
-    com.google.longrunning.OperationsProto.getDescriptor();
-    com.google.protobuf.FieldMaskProto.getDescriptor();
-    com.google.protobuf.TimestampProto.getDescriptor();
-    com.google.spanner.admin.database.v1.CommonProto.getDescriptor();
-  }
-
-  // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CommonProto.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CommonProto.java
deleted file mode 100644
index ed0de26e0f3..00000000000
--- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CommonProto.java
+++ /dev/null
@@ -1,117 +0,0 @@
-// Generated by the protocol buffer compiler.  DO NOT EDIT!
-// source: google/spanner/admin/database/v1/common.proto
-
-package com.google.spanner.admin.database.v1;
-
-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_spanner_admin_database_v1_OperationProgress_descriptor;
-  static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_spanner_admin_database_v1_OperationProgress_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_spanner_admin_database_v1_EncryptionConfig_descriptor;
-  static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_spanner_admin_database_v1_EncryptionConfig_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_spanner_admin_database_v1_EncryptionInfo_descriptor;
-  static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_spanner_admin_database_v1_EncryptionInfo_fieldAccessorTable;
-
-  public static com.google.protobuf.Descriptors.FileDescriptor
-      getDescriptor() {
-    return descriptor;
-  }
-  private static  com.google.protobuf.Descriptors.FileDescriptor
-      descriptor;
-  static {
-    java.lang.String[] descriptorData = {
-      "\n-google/spanner/admin/database/v1/commo" +
-      "n.proto\022 google.spanner.admin.database.v" +
-      "1\032\037google/api/field_behavior.proto\032\031goog" +
-      "le/api/resource.proto\032\037google/protobuf/t" +
-      "imestamp.proto\032\027google/rpc/status.proto\"" +
-      "\213\001\n\021OperationProgress\022\030\n\020progress_percen" +
-      "t\030\001 \001(\005\022.\n\nstart_time\030\002 \001(\0132\032.google.pro" +
-      "tobuf.Timestamp\022,\n\010end_time\030\003 \001(\0132\032.goog" +
-      "le.protobuf.Timestamp\"P\n\020EncryptionConfi" +
-      "g\022<\n\014kms_key_name\030\002 \001(\tB&\372A#\n!cloudkms.g" +
-      "oogleapis.com/CryptoKey\"\302\002\n\016EncryptionIn" +
-      "fo\022S\n\017encryption_type\030\003 \001(\01625.google.spa" +
-      "nner.admin.database.v1.EncryptionInfo.Ty" +
-      "peB\003\340A\003\0222\n\021encryption_status\030\004 \001(\0132\022.goo" +
-      "gle.rpc.StatusB\003\340A\003\022I\n\017kms_key_version\030\002" +
-      " \001(\tB0\340A\003\372A*\n(cloudkms.googleapis.com/Cr" +
-      "yptoKeyVersion\"\\\n\004Type\022\024\n\020TYPE_UNSPECIFI" +
-      "ED\020\000\022\035\n\031GOOGLE_DEFAULT_ENCRYPTION\020\001\022\037\n\033C" +
-      "USTOMER_MANAGED_ENCRYPTION\020\002*\\\n\017Database" +
-      "Dialect\022 \n\034DATABASE_DIALECT_UNSPECIFIED\020" +
-      "\000\022\027\n\023GOOGLE_STANDARD_SQL\020\001\022\016\n\nPOSTGRESQL" +
-      "\020\002B\242\004\n$com.google.spanner.admin.database" +
-      ".v1B\013CommonProtoP\001ZFcloud.google.com/go/" +
-      "spanner/admin/database/apiv1/databasepb;" +
-      "databasepb\252\002&Google.Cloud.Spanner.Admin." +
-      "Database.V1\312\002&Google\\Cloud\\Spanner\\Admin" +
-      "\\Database\\V1\352\002+Google::Cloud::Spanner::A" +
-      "dmin::Database::V1\352Ax\n!cloudkms.googleap" +
-      "is.com/CryptoKey\022Sprojects/{project}/loc" +
-      "ations/{location}/keyRings/{key_ring}/cr" +
-      "yptoKeys/{crypto_key}\352A\246\001\n(cloudkms.goog" +
-      "leapis.com/CryptoKeyVersion\022zprojects/{p" +
-      "roject}/locations/{location}/keyRings/{k" +
-      "ey_ring}/cryptoKeys/{crypto_key}/cryptoK" +
-      "eyVersions/{crypto_key_version}b\006proto3"
-    };
-    descriptor = com.google.protobuf.Descriptors.FileDescriptor
-      .internalBuildGeneratedFileFrom(descriptorData,
-        new com.google.protobuf.Descriptors.FileDescriptor[] {
-          com.google.api.FieldBehaviorProto.getDescriptor(),
-          com.google.api.ResourceProto.getDescriptor(),
-          com.google.protobuf.TimestampProto.getDescriptor(),
-          com.google.rpc.StatusProto.getDescriptor(),
-        });
-    internal_static_google_spanner_admin_database_v1_OperationProgress_descriptor =
-      getDescriptor().getMessageTypes().get(0);
-    internal_static_google_spanner_admin_database_v1_OperationProgress_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_spanner_admin_database_v1_OperationProgress_descriptor,
-        new java.lang.String[] { "ProgressPercent", "StartTime", "EndTime", });
-    internal_static_google_spanner_admin_database_v1_EncryptionConfig_descriptor =
-      getDescriptor().getMessageTypes().get(1);
-    internal_static_google_spanner_admin_database_v1_EncryptionConfig_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_spanner_admin_database_v1_EncryptionConfig_descriptor,
-        new java.lang.String[] { "KmsKeyName", });
-    internal_static_google_spanner_admin_database_v1_EncryptionInfo_descriptor =
-      getDescriptor().getMessageTypes().get(2);
-    internal_static_google_spanner_admin_database_v1_EncryptionInfo_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_spanner_admin_database_v1_EncryptionInfo_descriptor,
-        new java.lang.String[] { "EncryptionType", "EncryptionStatus", "KmsKeyVersion", });
-    com.google.protobuf.ExtensionRegistry registry =
-        com.google.protobuf.ExtensionRegistry.newInstance();
-    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
-    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.TimestampProto.getDescriptor();
-    com.google.rpc.StatusProto.getDescriptor();
-  }
-
-  // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DeleteBackupRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DeleteBackupRequestOrBuilder.java
deleted file mode 100644
index 1711c4afd92..00000000000
--- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DeleteBackupRequestOrBuilder.java
+++ /dev/null
@@ -1,33 +0,0 @@
-// Generated by the protocol buffer compiler.  DO NOT EDIT!
-// source: google/spanner/admin/database/v1/backup.proto
-
-package com.google.spanner.admin.database.v1;
-
-public interface DeleteBackupRequestOrBuilder extends
-    // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.DeleteBackupRequest)
-    com.google.protobuf.MessageOrBuilder {
-
-  /**
-   * 
-   * Required. Name of the backup to delete.
-   * Values are of the form
-   * `projects/<project>/instances/<instance>/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>/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/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DropDatabaseRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DropDatabaseRequestOrBuilder.java deleted file mode 100644 index b2863aba0e0..00000000000 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DropDatabaseRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/spanner/admin/database/v1/spanner_database_admin.proto - -package com.google.spanner.admin.database.v1; - -public interface DropDatabaseRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.DropDatabaseRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The database to be dropped.
-   * 
- * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The database. - */ - java.lang.String getDatabase(); - /** - *
-   * Required. The database to be dropped.
-   * 
- * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for database. - */ - com.google.protobuf.ByteString - getDatabaseBytes(); -} diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetBackupRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetBackupRequestOrBuilder.java deleted file mode 100644 index c5ef3219dc4..00000000000 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetBackupRequestOrBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/spanner/admin/database/v1/backup.proto - -package com.google.spanner.admin.database.v1; - -public interface GetBackupRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.GetBackupRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Name of the backup.
-   * Values are of the form
-   * `projects/<project>/instances/<instance>/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>/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/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlRequestOrBuilder.java deleted file mode 100644 index 32a5423e676..00000000000 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlRequestOrBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/spanner/admin/database/v1/spanner_database_admin.proto - -package com.google.spanner.admin.database.v1; - -public interface GetDatabaseDdlRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.GetDatabaseDdlRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The database whose schema we wish to get.
-   * Values are of the form
-   * `projects/<project>/instances/<instance>/databases/<database>`
-   * 
- * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The database. - */ - java.lang.String getDatabase(); - /** - *
-   * Required. The database whose schema we wish to get.
-   * Values are of the form
-   * `projects/<project>/instances/<instance>/databases/<database>`
-   * 
- * - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for database. - */ - com.google.protobuf.ByteString - getDatabaseBytes(); -} diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseRequestOrBuilder.java deleted file mode 100644 index 62b63534c76..00000000000 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/spanner/admin/database/v1/spanner_database_admin.proto - -package com.google.spanner.admin.database.v1; - -public interface GetDatabaseRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.GetDatabaseRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the requested database. Values are of the form
-   * `projects/<project>/instances/<instance>/databases/<database>`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the requested database. Values are of the form
-   * `projects/<project>/instances/<instance>/databases/<database>`.
-   * 
- * - * 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/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/SpannerDatabaseAdminProto.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/SpannerDatabaseAdminProto.java deleted file mode 100644 index 5db478c8e32..00000000000 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/SpannerDatabaseAdminProto.java +++ /dev/null @@ -1,541 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/spanner/admin/database/v1/spanner_database_admin.proto - -package com.google.spanner.admin.database.v1; - -public final class SpannerDatabaseAdminProto { - private SpannerDatabaseAdminProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_RestoreInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_RestoreInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_Database_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_Database_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_ListDatabasesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_ListDatabasesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_ListDatabasesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_ListDatabasesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_CreateDatabaseRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_CreateDatabaseRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_CreateDatabaseMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_CreateDatabaseMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_GetDatabaseRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_GetDatabaseRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_DropDatabaseRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_DropDatabaseRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_GetDatabaseDdlRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_GetDatabaseDdlRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_GetDatabaseDdlResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_GetDatabaseDdlResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_RestoreDatabaseRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_RestoreDatabaseRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_RestoreDatabaseEncryptionConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_RestoreDatabaseEncryptionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_RestoreDatabaseMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_RestoreDatabaseMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_OptimizeRestoredDatabaseMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_OptimizeRestoredDatabaseMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_DatabaseRole_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_DatabaseRole_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_ListDatabaseRolesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_ListDatabaseRolesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_database_v1_ListDatabaseRolesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_database_v1_ListDatabaseRolesResponse_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n=google/spanner/admin/database/v1/spann" + - "er_database_admin.proto\022 google.spanner." + - "admin.database.v1\032\034google/api/annotation" + - "s.proto\032\027google/api/client.proto\032\037google" + - "/api/field_behavior.proto\032\031google/api/re" + - "source.proto\032\036google/iam/v1/iam_policy.p" + - "roto\032\032google/iam/v1/policy.proto\032#google" + - "/longrunning/operations.proto\032\033google/pr" + - "otobuf/empty.proto\032\037google/protobuf/time" + - "stamp.proto\032-google/spanner/admin/databa" + - "se/v1/backup.proto\032-google/spanner/admin" + - "/database/v1/common.proto\"\253\001\n\013RestoreInf" + - "o\022H\n\013source_type\030\001 \001(\01623.google.spanner." + - "admin.database.v1.RestoreSourceType\022C\n\013b" + - "ackup_info\030\002 \001(\0132,.google.spanner.admin." + - "database.v1.BackupInfoH\000B\r\n\013source_info\"" + - "\220\006\n\010Database\022\021\n\004name\030\001 \001(\tB\003\340A\002\022D\n\005state" + - "\030\002 \001(\01620.google.spanner.admin.database.v" + - "1.Database.StateB\003\340A\003\0224\n\013create_time\030\003 \001" + - "(\0132\032.google.protobuf.TimestampB\003\340A\003\022H\n\014r" + - "estore_info\030\004 \001(\0132-.google.spanner.admin" + - ".database.v1.RestoreInfoB\003\340A\003\022R\n\021encrypt" + - "ion_config\030\005 \001(\01322.google.spanner.admin." + - "database.v1.EncryptionConfigB\003\340A\003\022N\n\017enc" + - "ryption_info\030\010 \003(\01320.google.spanner.admi" + - "n.database.v1.EncryptionInfoB\003\340A\003\022%\n\030ver" + - "sion_retention_period\030\006 \001(\tB\003\340A\003\022>\n\025earl" + - "iest_version_time\030\007 \001(\0132\032.google.protobu" + - "f.TimestampB\003\340A\003\022\033\n\016default_leader\030\t \001(\t" + - "B\003\340A\003\022P\n\020database_dialect\030\n \001(\01621.google" + - ".spanner.admin.database.v1.DatabaseDiale" + - "ctB\003\340A\003\"M\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022" + - "\014\n\010CREATING\020\001\022\t\n\005READY\020\002\022\024\n\020READY_OPTIMI" + - "ZING\020\003:b\352A_\n\037spanner.googleapis.com/Data" + - "base\022\202\323\344\223\002/\022-/v1/{parent=projects" + - "/*/instances/*}/databases\332A\006parent\022\244\002\n\016C" + - "reateDatabase\0227.google.spanner.admin.dat" + - "abase.v1.CreateDatabaseRequest\032\035.google." + - "longrunning.Operation\"\271\001\202\323\344\223\0022\"-/v1/{par" + - "ent=projects/*/instances/*}/databases:\001*" + - "\332A\027parent,create_statement\312Ad\n)google.sp" + - "anner.admin.database.v1.Database\0227google" + - ".spanner.admin.database.v1.CreateDatabas" + - "eMetadata\022\255\001\n\013GetDatabase\0224.google.spann" + - "er.admin.database.v1.GetDatabaseRequest\032" + - "*.google.spanner.admin.database.v1.Datab" + - "ase\"<\202\323\344\223\002/\022-/v1/{name=projects/*/instan" + - "ces/*/databases/*}\332A\004name\022\235\002\n\021UpdateData" + - "baseDdl\022:.google.spanner.admin.database." + - "v1.UpdateDatabaseDdlRequest\032\035.google.lon" + - "grunning.Operation\"\254\001\202\323\344\223\002:25/v1/{databa" + - "se=projects/*/instances/*/databases/*}/d" + - "dl:\001*\332A\023database,statements\312AS\n\025google.p" + - "rotobuf.Empty\022:google.spanner.admin.data" + - "base.v1.UpdateDatabaseDdlMetadata\022\243\001\n\014Dr" + - "opDatabase\0225.google.spanner.admin.databa" + - "se.v1.DropDatabaseRequest\032\026.google.proto" + - "buf.Empty\"D\202\323\344\223\0023*1/v1/{database=project" + - "s/*/instances/*/databases/*}\332A\010database\022" + - "\315\001\n\016GetDatabaseDdl\0227.google.spanner.admi" + - "n.database.v1.GetDatabaseDdlRequest\0328.go" + - "ogle.spanner.admin.database.v1.GetDataba" + - "seDdlResponse\"H\202\323\344\223\0027\0225/v1/{database=pro" + - "jects/*/instances/*/databases/*}/ddl\332A\010d" + - "atabase\022\353\001\n\014SetIamPolicy\022\".google.iam.v1" + - ".SetIamPolicyRequest\032\025.google.iam.v1.Pol" + - "icy\"\237\001\202\323\344\223\002\206\001\">/v1/{resource=projects/*/" + - "instances/*/databases/*}:setIamPolicy:\001*" + - "ZA\"/v1/{resource=projects/*/in" + - "stances/*/databases/*}:getIamPolicy:\001*ZA" + - "\".google.sp" + - "anner.admin.database.v1.ListBackupOperat" + - "ionsResponse\"E\202\323\344\223\0026\0224/v1/{parent=projec" + - "ts/*/instances/*}/backupOperations\332A\006par" + - "ent\022\334\001\n\021ListDatabaseRoles\022:.google.spann" + - "er.admin.database.v1.ListDatabaseRolesRe" + - "quest\032;.google.spanner.admin.database.v1" + - ".ListDatabaseRolesResponse\"N\202\323\344\223\002?\022=/v1/" + - "{parent=projects/*/instances/*/databases" + - "/*}/databaseRoles\332A\006parent\032x\312A\026spanner.g" + - "oogleapis.com\322A\\https://www.googleapis.c" + - "om/auth/cloud-platform,https://www.googl" + - "eapis.com/auth/spanner.adminB\330\002\n$com.goo" + - "gle.spanner.admin.database.v1B\031SpannerDa" + - "tabaseAdminProtoP\001ZFcloud.google.com/go/" + - "spanner/admin/database/apiv1/databasepb;" + - "databasepb\252\002&Google.Cloud.Spanner.Admin." + - "Database.V1\312\002&Google\\Cloud\\Spanner\\Admin" + - "\\Database\\V1\352\002+Google::Cloud::Spanner::A" + - "dmin::Database::V1\352AJ\n\037spanner.googleapi" + - "s.com/Instance\022\'projects/{project}/insta" + - "nces/{instance}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.iam.v1.IamPolicyProto.getDescriptor(), - com.google.iam.v1.PolicyProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.spanner.admin.database.v1.BackupProto.getDescriptor(), - com.google.spanner.admin.database.v1.CommonProto.getDescriptor(), - }); - internal_static_google_spanner_admin_database_v1_RestoreInfo_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_spanner_admin_database_v1_RestoreInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_RestoreInfo_descriptor, - new java.lang.String[] { "SourceType", "BackupInfo", "SourceInfo", }); - internal_static_google_spanner_admin_database_v1_Database_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_spanner_admin_database_v1_Database_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_Database_descriptor, - new java.lang.String[] { "Name", "State", "CreateTime", "RestoreInfo", "EncryptionConfig", "EncryptionInfo", "VersionRetentionPeriod", "EarliestVersionTime", "DefaultLeader", "DatabaseDialect", }); - internal_static_google_spanner_admin_database_v1_ListDatabasesRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_spanner_admin_database_v1_ListDatabasesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_ListDatabasesRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_spanner_admin_database_v1_ListDatabasesResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_spanner_admin_database_v1_ListDatabasesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_ListDatabasesResponse_descriptor, - new java.lang.String[] { "Databases", "NextPageToken", }); - internal_static_google_spanner_admin_database_v1_CreateDatabaseRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_spanner_admin_database_v1_CreateDatabaseRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_CreateDatabaseRequest_descriptor, - new java.lang.String[] { "Parent", "CreateStatement", "ExtraStatements", "EncryptionConfig", "DatabaseDialect", }); - internal_static_google_spanner_admin_database_v1_CreateDatabaseMetadata_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_spanner_admin_database_v1_CreateDatabaseMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_CreateDatabaseMetadata_descriptor, - new java.lang.String[] { "Database", }); - internal_static_google_spanner_admin_database_v1_GetDatabaseRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_spanner_admin_database_v1_GetDatabaseRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_GetDatabaseRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlRequest_descriptor, - new java.lang.String[] { "Database", "Statements", "OperationId", }); - internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlMetadata_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlMetadata_descriptor, - new java.lang.String[] { "Database", "Statements", "CommitTimestamps", "Throttled", "Progress", }); - internal_static_google_spanner_admin_database_v1_DropDatabaseRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_spanner_admin_database_v1_DropDatabaseRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_DropDatabaseRequest_descriptor, - new java.lang.String[] { "Database", }); - internal_static_google_spanner_admin_database_v1_GetDatabaseDdlRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_spanner_admin_database_v1_GetDatabaseDdlRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_GetDatabaseDdlRequest_descriptor, - new java.lang.String[] { "Database", }); - internal_static_google_spanner_admin_database_v1_GetDatabaseDdlResponse_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_spanner_admin_database_v1_GetDatabaseDdlResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_GetDatabaseDdlResponse_descriptor, - new java.lang.String[] { "Statements", }); - internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsRequest_descriptor, - new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", }); - internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsResponse_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsResponse_descriptor, - new java.lang.String[] { "Operations", "NextPageToken", }); - internal_static_google_spanner_admin_database_v1_RestoreDatabaseRequest_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_spanner_admin_database_v1_RestoreDatabaseRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_RestoreDatabaseRequest_descriptor, - new java.lang.String[] { "Parent", "DatabaseId", "Backup", "EncryptionConfig", "Source", }); - internal_static_google_spanner_admin_database_v1_RestoreDatabaseEncryptionConfig_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_spanner_admin_database_v1_RestoreDatabaseEncryptionConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_RestoreDatabaseEncryptionConfig_descriptor, - new java.lang.String[] { "EncryptionType", "KmsKeyName", }); - internal_static_google_spanner_admin_database_v1_RestoreDatabaseMetadata_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_spanner_admin_database_v1_RestoreDatabaseMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_RestoreDatabaseMetadata_descriptor, - new java.lang.String[] { "Name", "SourceType", "BackupInfo", "Progress", "CancelTime", "OptimizeDatabaseOperationName", "SourceInfo", }); - internal_static_google_spanner_admin_database_v1_OptimizeRestoredDatabaseMetadata_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_spanner_admin_database_v1_OptimizeRestoredDatabaseMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_OptimizeRestoredDatabaseMetadata_descriptor, - new java.lang.String[] { "Name", "Progress", }); - internal_static_google_spanner_admin_database_v1_DatabaseRole_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_spanner_admin_database_v1_DatabaseRole_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_DatabaseRole_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_spanner_admin_database_v1_ListDatabaseRolesRequest_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_spanner_admin_database_v1_ListDatabaseRolesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_ListDatabaseRolesRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_spanner_admin_database_v1_ListDatabaseRolesResponse_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_spanner_admin_database_v1_ListDatabaseRolesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_database_v1_ListDatabaseRolesResponse_descriptor, - new java.lang.String[] { "DatabaseRoles", "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.resource); - registry.add(com.google.api.ResourceProto.resourceDefinition); - 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.iam.v1.IamPolicyProto.getDescriptor(); - com.google.iam.v1.PolicyProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.spanner.admin.database.v1.BackupProto.getDescriptor(); - com.google.spanner.admin.database.v1.CommonProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CommonProto.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CommonProto.java deleted file mode 100644 index e6e3e259347..00000000000 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CommonProto.java +++ /dev/null @@ -1,60 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/spanner/admin/instance/v1/common.proto - -package com.google.spanner.admin.instance.v1; - -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_spanner_admin_instance_v1_OperationProgress_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_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/spanner/admin/instance/v1/commo" + - "n.proto\022 google.spanner.admin.instance.v" + - "1\032\037google/protobuf/timestamp.proto\"\213\001\n\021O" + - "perationProgress\022\030\n\020progress_percent\030\001 \001" + - "(\005\022.\n\nstart_time\030\002 \001(\0132\032.google.protobuf" + - ".Timestamp\022,\n\010end_time\030\003 \001(\0132\032.google.pr" + - "otobuf.TimestampB\375\001\n$com.google.spanner." + - "admin.instance.v1B\013CommonProtoP\001ZFcloud." + - "google.com/go/spanner/admin/instance/api" + - "v1/instancepb;instancepb\252\002&Google.Cloud." + - "Spanner.Admin.Instance.V1\312\002&Google\\Cloud" + - "\\Spanner\\Admin\\Instance\\V1\352\002+Google::Clo" + - "ud::Spanner::Admin::Instance::V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_spanner_admin_instance_v1_OperationProgress_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_spanner_admin_instance_v1_OperationProgress_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_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/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceRequestOrBuilder.java deleted file mode 100644 index 7cb4be1bb4b..00000000000 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/spanner/admin/instance/v1/spanner_instance_admin.proto - -package com.google.spanner.admin.instance.v1; - -public interface DeleteInstanceRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.DeleteInstanceRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The 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 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/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceConfigRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceConfigRequestOrBuilder.java deleted file mode 100644 index 7cf7102fce5..00000000000 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceConfigRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/spanner/admin/instance/v1/spanner_instance_admin.proto - -package com.google.spanner.admin.instance.v1; - -public interface GetInstanceConfigRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.GetInstanceConfigRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the requested instance configuration. Values are of
-   * the form `projects/<project>/instanceConfigs/<config>`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the requested instance configuration. Values are of
-   * the form `projects/<project>/instanceConfigs/<config>`.
-   * 
- * - * 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/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/SpannerInstanceAdminProto.java b/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/SpannerInstanceAdminProto.java deleted file mode 100644 index a79b1073b58..00000000000 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/SpannerInstanceAdminProto.java +++ /dev/null @@ -1,534 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/spanner/admin/instance/v1/spanner_instance_admin.proto - -package com.google.spanner.admin.instance.v1; - -public final class SpannerInstanceAdminProto { - private SpannerInstanceAdminProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_ReplicaInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_ReplicaInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_InstanceConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_InstanceConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_InstanceConfig_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_InstanceConfig_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_Instance_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_Instance_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_Instance_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_Instance_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_GetInstanceConfigRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_GetInstanceConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_DeleteInstanceConfigRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_DeleteInstanceConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_GetInstanceRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_GetInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_CreateInstanceRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_CreateInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_ListInstancesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_ListInstancesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_ListInstancesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_ListInstancesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_UpdateInstanceRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_UpdateInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_DeleteInstanceRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_DeleteInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_CreateInstanceMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_CreateInstanceMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_UpdateInstanceMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_UpdateInstanceMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigMetadata_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n=google/spanner/admin/instance/v1/spann" + - "er_instance_admin.proto\022 google.spanner." + - "admin.instance.v1\032\034google/api/annotation" + - "s.proto\032\027google/api/client.proto\032\037google" + - "/api/field_behavior.proto\032\031google/api/re" + - "source.proto\032\036google/iam/v1/iam_policy.p" + - "roto\032\032google/iam/v1/policy.proto\032#google" + - "/longrunning/operations.proto\032\033google/pr" + - "otobuf/empty.proto\032 google/protobuf/fiel" + - "d_mask.proto\032\037google/protobuf/timestamp." + - "proto\032-google/spanner/admin/instance/v1/" + - "common.proto\"\332\001\n\013ReplicaInfo\022\020\n\010location" + - "\030\001 \001(\t\022G\n\004type\030\002 \001(\01629.google.spanner.ad" + - "min.instance.v1.ReplicaInfo.ReplicaType\022" + - "\037\n\027default_leader_location\030\003 \001(\010\"O\n\013Repl" + - "icaType\022\024\n\020TYPE_UNSPECIFIED\020\000\022\016\n\nREAD_WR" + - "ITE\020\001\022\r\n\tREAD_ONLY\020\002\022\013\n\007WITNESS\020\003\"\276\006\n\016In" + - "stanceConfig\022\014\n\004name\030\001 \001(\t\022\024\n\014display_na" + - "me\030\002 \001(\t\022O\n\013config_type\030\005 \001(\01625.google.s" + - "panner.admin.instance.v1.InstanceConfig." + - "TypeB\003\340A\003\022?\n\010replicas\030\003 \003(\0132-.google.spa" + - "nner.admin.instance.v1.ReplicaInfo\022M\n\021op" + - "tional_replicas\030\006 \003(\0132-.google.spanner.a" + - "dmin.instance.v1.ReplicaInfoB\003\340A\003\022?\n\013bas" + - "e_config\030\007 \001(\tB*\372A\'\n%spanner.googleapis." + - "com/InstanceConfig\022L\n\006labels\030\010 \003(\0132<.goo" + - "gle.spanner.admin.instance.v1.InstanceCo" + - "nfig.LabelsEntry\022\014\n\004etag\030\t \001(\t\022\026\n\016leader" + - "_options\030\004 \003(\t\022\030\n\013reconciling\030\n \001(\010B\003\340A\003" + - "\022J\n\005state\030\013 \001(\01626.google.spanner.admin.i" + - "nstance.v1.InstanceConfig.StateB\003\340A\003\032-\n\013" + - "LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:" + - "\0028\001\"B\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\022\n\016GOO" + - "GLE_MANAGED\020\001\022\020\n\014USER_MANAGED\020\002\"7\n\005State" + - "\022\025\n\021STATE_UNSPECIFIED\020\000\022\014\n\010CREATING\020\001\022\t\n" + - "\005READY\020\002:`\352A]\n%spanner.googleapis.com/In" + - "stanceConfig\0224projects/{project}/instanc" + - "eConfigs/{instance_config}\"\355\004\n\010Instance\022" + - "\021\n\004name\030\001 \001(\tB\003\340A\002\022=\n\006config\030\002 \001(\tB-\340A\002\372" + - "A\'\n%spanner.googleapis.com/InstanceConfi" + - "g\022\031\n\014display_name\030\003 \001(\tB\003\340A\002\022\022\n\nnode_cou" + - "nt\030\005 \001(\005\022\030\n\020processing_units\030\t \001(\005\022D\n\005st" + - "ate\030\006 \001(\01620.google.spanner.admin.instanc" + - "e.v1.Instance.StateB\003\340A\003\022F\n\006labels\030\007 \003(\013" + - "26.google.spanner.admin.instance.v1.Inst" + - "ance.LabelsEntry\022\025\n\rendpoint_uris\030\010 \003(\t\022" + - "4\n\013create_time\030\013 \001(\0132\032.google.protobuf.T" + - "imestampB\003\340A\003\0224\n\013update_time\030\014 \001(\0132\032.goo" + - "gle.protobuf.TimestampB\003\340A\003\032-\n\013LabelsEnt" + - "ry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"7\n\005St" + - "ate\022\025\n\021STATE_UNSPECIFIED\020\000\022\014\n\010CREATING\020\001" + - "\022\t\n\005READY\020\002:M\352AJ\n\037spanner.googleapis.com" + - "/Instance\022\'projects/{project}/instances/" + - "{instance}\"\210\001\n\032ListInstanceConfigsReques" + - "t\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\n+cloudresource" + - "manager.googleapis.com/Project\022\021\n\tpage_s" + - "ize\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\202\001\n\033ListIn" + - "stanceConfigsResponse\022J\n\020instance_config" + - "s\030\001 \003(\01320.google.spanner.admin.instance." + - "v1.InstanceConfig\022\027\n\017next_page_token\030\002 \001" + - "(\t\"W\n\030GetInstanceConfigRequest\022;\n\004name\030\001" + - " \001(\tB-\340A\002\372A\'\n%spanner.googleapis.com/Ins" + - "tanceConfig\"\352\001\n\033CreateInstanceConfigRequ" + - "est\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\n+cloudresour" + - "cemanager.googleapis.com/Project\022\037\n\022inst" + - "ance_config_id\030\002 \001(\tB\003\340A\002\022N\n\017instance_co" + - "nfig\030\003 \001(\01320.google.spanner.admin.instan" + - "ce.v1.InstanceConfigB\003\340A\002\022\025\n\rvalidate_on" + - "ly\030\004 \001(\010\"\272\001\n\033UpdateInstanceConfigRequest" + - "\022N\n\017instance_config\030\001 \001(\01320.google.spann" + - "er.admin.instance.v1.InstanceConfigB\003\340A\002" + - "\0224\n\013update_mask\030\002 \001(\0132\032.google.protobuf." + - "FieldMaskB\003\340A\002\022\025\n\rvalidate_only\030\003 \001(\010\"\177\n" + - "\033DeleteInstanceConfigRequest\022;\n\004name\030\001 \001" + - "(\tB-\340A\002\372A\'\n%spanner.googleapis.com/Insta" + - "nceConfig\022\014\n\004etag\030\002 \001(\t\022\025\n\rvalidate_only" + - "\030\003 \001(\010\"\241\001\n#ListInstanceConfigOperationsR" + - "equest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\n+cloudres" + - "ourcemanager.googleapis.com/Project\022\016\n\006f" + - "ilter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_t" + - "oken\030\004 \001(\t\"r\n$ListInstanceConfigOperatio" + - "nsResponse\0221\n\noperations\030\001 \003(\0132\035.google." + - "longrunning.Operation\022\027\n\017next_page_token" + - "\030\002 \001(\t\"{\n\022GetInstanceRequest\0225\n\004name\030\001 \001" + - "(\tB\'\340A\002\372A!\n\037spanner.googleapis.com/Insta" + - "nce\022.\n\nfield_mask\030\002 \001(\0132\032.google.protobu" + - "f.FieldMask\"\271\001\n\025CreateInstanceRequest\022C\n" + - "\006parent\030\001 \001(\tB3\340A\002\372A-\n+cloudresourcemana" + - "ger.googleapis.com/Project\022\030\n\013instance_i" + - "d\030\002 \001(\tB\003\340A\002\022A\n\010instance\030\003 \001(\0132*.google." + - "spanner.admin.instance.v1.InstanceB\003\340A\002\"" + - "\222\001\n\024ListInstancesRequest\022C\n\006parent\030\001 \001(\t" + - "B3\340A\002\372A-\n+cloudresourcemanager.googleapi" + - "s.com/Project\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage" + - "_token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\"o\n\025ListInst" + - "ancesResponse\022=\n\tinstances\030\001 \003(\0132*.googl" + - "e.spanner.admin.instance.v1.Instance\022\027\n\017" + - "next_page_token\030\002 \001(\t\"\217\001\n\025UpdateInstance" + - "Request\022A\n\010instance\030\001 \001(\0132*.google.spann" + - "er.admin.instance.v1.InstanceB\003\340A\002\0223\n\nfi" + - "eld_mask\030\002 \001(\0132\032.google.protobuf.FieldMa" + - "skB\003\340A\002\"N\n\025DeleteInstanceRequest\0225\n\004name" + - "\030\001 \001(\tB\'\340A\002\372A!\n\037spanner.googleapis.com/I" + - "nstance\"\345\001\n\026CreateInstanceMetadata\022<\n\010in" + - "stance\030\001 \001(\0132*.google.spanner.admin.inst" + - "ance.v1.Instance\022.\n\nstart_time\030\002 \001(\0132\032.g" + - "oogle.protobuf.Timestamp\022/\n\013cancel_time\030" + - "\003 \001(\0132\032.google.protobuf.Timestamp\022,\n\010end" + - "_time\030\004 \001(\0132\032.google.protobuf.Timestamp\"" + - "\345\001\n\026UpdateInstanceMetadata\022<\n\010instance\030\001" + - " \001(\0132*.google.spanner.admin.instance.v1." + - "Instance\022.\n\nstart_time\030\002 \001(\0132\032.google.pr" + - "otobuf.Timestamp\022/\n\013cancel_time\030\003 \001(\0132\032." + - "google.protobuf.Timestamp\022,\n\010end_time\030\004 " + - "\001(\0132\032.google.protobuf.Timestamp\"\341\001\n\034Crea" + - "teInstanceConfigMetadata\022I\n\017instance_con" + - "fig\030\001 \001(\01320.google.spanner.admin.instanc" + - "e.v1.InstanceConfig\022E\n\010progress\030\002 \001(\01323." + - "google.spanner.admin.instance.v1.Operati" + - "onProgress\022/\n\013cancel_time\030\003 \001(\0132\032.google" + - ".protobuf.Timestamp\"\341\001\n\034UpdateInstanceCo" + - "nfigMetadata\022I\n\017instance_config\030\001 \001(\01320." + - "google.spanner.admin.instance.v1.Instanc" + - "eConfig\022E\n\010progress\030\002 \001(\01323.google.spann" + - "er.admin.instance.v1.OperationProgress\022/" + - "\n\013cancel_time\030\003 \001(\0132\032.google.protobuf.Ti" + - "mestamp2\362\030\n\rInstanceAdmin\022\314\001\n\023ListInstan" + - "ceConfigs\022<.google.spanner.admin.instanc" + - "e.v1.ListInstanceConfigsRequest\032=.google" + - ".spanner.admin.instance.v1.ListInstanceC" + - "onfigsResponse\"8\202\323\344\223\002)\022\'/v1/{parent=proj" + - "ects/*}/instanceConfigs\332A\006parent\022\271\001\n\021Get" + - "InstanceConfig\022:.google.spanner.admin.in" + - "stance.v1.GetInstanceConfigRequest\0320.goo" + - "gle.spanner.admin.instance.v1.InstanceCo" + - "nfig\"6\202\323\344\223\002)\022\'/v1/{name=projects/*/insta" + - "nceConfigs/*}\332A\004name\022\310\002\n\024CreateInstanceC" + - "onfig\022=.google.spanner.admin.instance.v1" + - ".CreateInstanceConfigRequest\032\035.google.lo" + - "ngrunning.Operation\"\321\001\202\323\344\223\002,\"\'/v1/{paren" + - "t=projects/*}/instanceConfigs:\001*\332A)paren" + - "t,instance_config,instance_config_id\312Ap\n" + - "/google.spanner.admin.instance.v1.Instan" + - "ceConfig\022=google.spanner.admin.instance." + - "v1.CreateInstanceConfigMetadata\022\312\002\n\024Upda" + - "teInstanceConfig\022=.google.spanner.admin." + - "instance.v1.UpdateInstanceConfigRequest\032" + - "\035.google.longrunning.Operation\"\323\001\202\323\344\223\002<2" + - "7/v1/{instance_config.name=projects/*/in" + - "stanceConfigs/*}:\001*\332A\033instance_config,up" + - "date_mask\312Ap\n/google.spanner.admin.insta" + - "nce.v1.InstanceConfig\022=google.spanner.ad" + - "min.instance.v1.UpdateInstanceConfigMeta" + - "data\022\245\001\n\024DeleteInstanceConfig\022=.google.s" + - "panner.admin.instance.v1.DeleteInstanceC" + - "onfigRequest\032\026.google.protobuf.Empty\"6\202\323" + - "\344\223\002)*\'/v1/{name=projects/*/instanceConfi" + - "gs/*}\332A\004name\022\360\001\n\034ListInstanceConfigOpera" + - "tions\022E.google.spanner.admin.instance.v1" + - ".ListInstanceConfigOperationsRequest\032F.g" + - "oogle.spanner.admin.instance.v1.ListInst" + - "anceConfigOperationsResponse\"A\202\323\344\223\0022\0220/v" + - "1/{parent=projects/*}/instanceConfigOper" + - "ations\332A\006parent\022\264\001\n\rListInstances\0226.goog" + - "le.spanner.admin.instance.v1.ListInstanc" + - "esRequest\0327.google.spanner.admin.instanc" + - "e.v1.ListInstancesResponse\"2\202\323\344\223\002#\022!/v1/" + - "{parent=projects/*}/instances\332A\006parent\022\241" + - "\001\n\013GetInstance\0224.google.spanner.admin.in" + - "stance.v1.GetInstanceRequest\032*.google.sp" + - "anner.admin.instance.v1.Instance\"0\202\323\344\223\002#" + - "\022!/v1/{name=projects/*/instances/*}\332A\004na" + - "me\022\234\002\n\016CreateInstance\0227.google.spanner.a" + - "dmin.instance.v1.CreateInstanceRequest\032\035" + - ".google.longrunning.Operation\"\261\001\202\323\344\223\002&\"!" + - "/v1/{parent=projects/*}/instances:\001*\332A\033p" + - "arent,instance_id,instance\312Ad\n)google.sp" + - "anner.admin.instance.v1.Instance\0227google" + - ".spanner.admin.instance.v1.CreateInstanc" + - "eMetadata\022\235\002\n\016UpdateInstance\0227.google.sp" + - "anner.admin.instance.v1.UpdateInstanceRe" + - "quest\032\035.google.longrunning.Operation\"\262\001\202" + - "\323\344\223\002/2*/v1/{instance.name=projects/*/ins" + - "tances/*}:\001*\332A\023instance,field_mask\312Ad\n)g" + - "oogle.spanner.admin.instance.v1.Instance" + - "\0227google.spanner.admin.instance.v1.Updat" + - "eInstanceMetadata\022\223\001\n\016DeleteInstance\0227.g" + - "oogle.spanner.admin.instance.v1.DeleteIn" + - "stanceRequest\032\026.google.protobuf.Empty\"0\202" + - "\323\344\223\002#*!/v1/{name=projects/*/instances/*}" + - "\332A\004name\022\232\001\n\014SetIamPolicy\022\".google.iam.v1" + - ".SetIamPolicyRequest\032\025.google.iam.v1.Pol" + - "icy\"O\202\323\344\223\0027\"2/v1/{resource=projects/*/in" + - "stances/*}:setIamPolicy:\001*\332A\017resource,po" + - "licy\022\223\001\n\014GetIamPolicy\022\".google.iam.v1.Ge" + - "tIamPolicyRequest\032\025.google.iam.v1.Policy" + - "\"H\202\323\344\223\0027\"2/v1/{resource=projects/*/insta" + - "nces/*}:getIamPolicy:\001*\332A\010resource\022\305\001\n\022T" + - "estIamPermissions\022(.google.iam.v1.TestIa" + - "mPermissionsRequest\032).google.iam.v1.Test" + - "IamPermissionsResponse\"Z\202\323\344\223\002=\"8/v1/{res" + - "ource=projects/*/instances/*}:testIamPer" + - "missions:\001*\332A\024resource,permissions\032x\312A\026s" + - "panner.googleapis.com\322A\\https://www.goog" + - "leapis.com/auth/cloud-platform,https://w" + - "ww.googleapis.com/auth/spanner.adminB\213\002\n" + - "$com.google.spanner.admin.instance.v1B\031S" + - "pannerInstanceAdminProtoP\001ZFcloud.google" + - ".com/go/spanner/admin/instance/apiv1/ins" + - "tancepb;instancepb\252\002&Google.Cloud.Spanne" + - "r.Admin.Instance.V1\312\002&Google\\Cloud\\Spann" + - "er\\Admin\\Instance\\V1\352\002+Google::Cloud::Sp" + - "anner::Admin::Instance::V1b\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.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(), - com.google.spanner.admin.instance.v1.CommonProto.getDescriptor(), - }); - internal_static_google_spanner_admin_instance_v1_ReplicaInfo_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_spanner_admin_instance_v1_ReplicaInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_ReplicaInfo_descriptor, - new java.lang.String[] { "Location", "Type", "DefaultLeaderLocation", }); - internal_static_google_spanner_admin_instance_v1_InstanceConfig_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_spanner_admin_instance_v1_InstanceConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_InstanceConfig_descriptor, - new java.lang.String[] { "Name", "DisplayName", "ConfigType", "Replicas", "OptionalReplicas", "BaseConfig", "Labels", "Etag", "LeaderOptions", "Reconciling", "State", }); - internal_static_google_spanner_admin_instance_v1_InstanceConfig_LabelsEntry_descriptor = - internal_static_google_spanner_admin_instance_v1_InstanceConfig_descriptor.getNestedTypes().get(0); - internal_static_google_spanner_admin_instance_v1_InstanceConfig_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_InstanceConfig_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_spanner_admin_instance_v1_Instance_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_spanner_admin_instance_v1_Instance_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_Instance_descriptor, - new java.lang.String[] { "Name", "Config", "DisplayName", "NodeCount", "ProcessingUnits", "State", "Labels", "EndpointUris", "CreateTime", "UpdateTime", }); - internal_static_google_spanner_admin_instance_v1_Instance_LabelsEntry_descriptor = - internal_static_google_spanner_admin_instance_v1_Instance_descriptor.getNestedTypes().get(0); - internal_static_google_spanner_admin_instance_v1_Instance_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_Instance_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsResponse_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsResponse_descriptor, - new java.lang.String[] { "InstanceConfigs", "NextPageToken", }); - internal_static_google_spanner_admin_instance_v1_GetInstanceConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_spanner_admin_instance_v1_GetInstanceConfigRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_GetInstanceConfigRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigRequest_descriptor, - new java.lang.String[] { "Parent", "InstanceConfigId", "InstanceConfig", "ValidateOnly", }); - internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigRequest_descriptor, - new java.lang.String[] { "InstanceConfig", "UpdateMask", "ValidateOnly", }); - internal_static_google_spanner_admin_instance_v1_DeleteInstanceConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_spanner_admin_instance_v1_DeleteInstanceConfigRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_DeleteInstanceConfigRequest_descriptor, - new java.lang.String[] { "Name", "Etag", "ValidateOnly", }); - internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsRequest_descriptor, - new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", }); - internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsResponse_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsResponse_descriptor, - new java.lang.String[] { "Operations", "NextPageToken", }); - internal_static_google_spanner_admin_instance_v1_GetInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_spanner_admin_instance_v1_GetInstanceRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_GetInstanceRequest_descriptor, - new java.lang.String[] { "Name", "FieldMask", }); - internal_static_google_spanner_admin_instance_v1_CreateInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_spanner_admin_instance_v1_CreateInstanceRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_CreateInstanceRequest_descriptor, - new java.lang.String[] { "Parent", "InstanceId", "Instance", }); - internal_static_google_spanner_admin_instance_v1_ListInstancesRequest_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_spanner_admin_instance_v1_ListInstancesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_ListInstancesRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", }); - internal_static_google_spanner_admin_instance_v1_ListInstancesResponse_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_spanner_admin_instance_v1_ListInstancesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_ListInstancesResponse_descriptor, - new java.lang.String[] { "Instances", "NextPageToken", }); - internal_static_google_spanner_admin_instance_v1_UpdateInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_spanner_admin_instance_v1_UpdateInstanceRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_UpdateInstanceRequest_descriptor, - new java.lang.String[] { "Instance", "FieldMask", }); - internal_static_google_spanner_admin_instance_v1_DeleteInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_spanner_admin_instance_v1_DeleteInstanceRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_DeleteInstanceRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_spanner_admin_instance_v1_CreateInstanceMetadata_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_spanner_admin_instance_v1_CreateInstanceMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_CreateInstanceMetadata_descriptor, - new java.lang.String[] { "Instance", "StartTime", "CancelTime", "EndTime", }); - internal_static_google_spanner_admin_instance_v1_UpdateInstanceMetadata_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_spanner_admin_instance_v1_UpdateInstanceMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_UpdateInstanceMetadata_descriptor, - new java.lang.String[] { "Instance", "StartTime", "CancelTime", "EndTime", }); - internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigMetadata_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigMetadata_descriptor, - new java.lang.String[] { "InstanceConfig", "Progress", "CancelTime", }); - internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigMetadata_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigMetadata_descriptor, - new java.lang.String[] { "InstanceConfig", "Progress", "CancelTime", }); - 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.resource); - 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.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(); - com.google.spanner.admin.instance.v1.CommonProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitResponseProto.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitResponseProto.java deleted file mode 100644 index aebcba5a155..00000000000 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitResponseProto.java +++ /dev/null @@ -1,70 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/spanner/v1/commit_response.proto - -package com.google.spanner.v1; - -public final class CommitResponseProto { - private CommitResponseProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_CommitResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_CommitResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_CommitResponse_CommitStats_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_CommitResponse_CommitStats_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n\'google/spanner/v1/commit_response.prot" + - "o\022\021google.spanner.v1\032\037google/protobuf/ti" + - "mestamp.proto\"\262\001\n\016CommitResponse\0224\n\020comm" + - "it_timestamp\030\001 \001(\0132\032.google.protobuf.Tim" + - "estamp\022C\n\014commit_stats\030\002 \001(\0132-.google.sp" + - "anner.v1.CommitResponse.CommitStats\032%\n\013C" + - "ommitStats\022\026\n\016mutation_count\030\001 \001(\003B\266\001\n\025c" + - "om.google.spanner.v1B\023CommitResponseProt" + - "oP\001Z5cloud.google.com/go/spanner/apiv1/s" + - "pannerpb;spannerpb\252\002\027Google.Cloud.Spanne" + - "r.V1\312\002\027Google\\Cloud\\Spanner\\V1\352\002\032Google:" + - ":Cloud::Spanner::V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_spanner_v1_CommitResponse_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_spanner_v1_CommitResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_v1_CommitResponse_descriptor, - new java.lang.String[] { "CommitTimestamp", "CommitStats", }); - internal_static_google_spanner_v1_CommitResponse_CommitStats_descriptor = - internal_static_google_spanner_v1_CommitResponse_descriptor.getNestedTypes().get(0); - internal_static_google_spanner_v1_CommitResponse_CommitStats_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_v1_CommitResponse_CommitStats_descriptor, - new java.lang.String[] { "MutationCount", }); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/DeleteSessionRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/DeleteSessionRequestOrBuilder.java deleted file mode 100644 index d98689a34fd..00000000000 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/DeleteSessionRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/spanner/v1/spanner.proto - -package com.google.spanner.v1; - -public interface DeleteSessionRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.spanner.v1.DeleteSessionRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the session to delete.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the session to delete.
-   * 
- * - * 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/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/GetSessionRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/GetSessionRequestOrBuilder.java deleted file mode 100644 index ff270d4eded..00000000000 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/GetSessionRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/spanner/v1/spanner.proto - -package com.google.spanner.v1; - -public interface GetSessionRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.spanner.v1.GetSessionRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the session to retrieve.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the session to retrieve.
-   * 
- * - * 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/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeysProto.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeysProto.java deleted file mode 100644 index 011458f9454..00000000000 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeysProto.java +++ /dev/null @@ -1,74 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/spanner/v1/keys.proto - -package com.google.spanner.v1; - -public final class KeysProto { - private KeysProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_KeyRange_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_KeyRange_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_KeySet_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_KeySet_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\034google/spanner/v1/keys.proto\022\021google.s" + - "panner.v1\032\034google/protobuf/struct.proto\"" + - "\364\001\n\010KeyRange\0222\n\014start_closed\030\001 \001(\0132\032.goo" + - "gle.protobuf.ListValueH\000\0220\n\nstart_open\030\002" + - " \001(\0132\032.google.protobuf.ListValueH\000\0220\n\nen" + - "d_closed\030\003 \001(\0132\032.google.protobuf.ListVal" + - "ueH\001\022.\n\010end_open\030\004 \001(\0132\032.google.protobuf" + - ".ListValueH\001B\020\n\016start_key_typeB\016\n\014end_ke" + - "y_type\"l\n\006KeySet\022(\n\004keys\030\001 \003(\0132\032.google." + - "protobuf.ListValue\022+\n\006ranges\030\002 \003(\0132\033.goo" + - "gle.spanner.v1.KeyRange\022\013\n\003all\030\003 \001(\010B\254\001\n" + - "\025com.google.spanner.v1B\tKeysProtoP\001Z5clo" + - "ud.google.com/go/spanner/apiv1/spannerpb" + - ";spannerpb\252\002\027Google.Cloud.Spanner.V1\312\002\027G" + - "oogle\\Cloud\\Spanner\\V1\352\002\032Google::Cloud::" + - "Spanner::V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.protobuf.StructProto.getDescriptor(), - }); - internal_static_google_spanner_v1_KeyRange_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_spanner_v1_KeyRange_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_v1_KeyRange_descriptor, - new java.lang.String[] { "StartClosed", "StartOpen", "EndClosed", "EndOpen", "StartKeyType", "EndKeyType", }); - internal_static_google_spanner_v1_KeySet_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_spanner_v1_KeySet_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_v1_KeySet_descriptor, - new java.lang.String[] { "Keys", "Ranges", "All", }); - com.google.protobuf.StructProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/MutationProto.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/MutationProto.java deleted file mode 100644 index 5c4409f3d0c..00000000000 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/MutationProto.java +++ /dev/null @@ -1,99 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/spanner/v1/mutation.proto - -package com.google.spanner.v1; - -public final class MutationProto { - private MutationProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_Mutation_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_Mutation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_Mutation_Write_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_Mutation_Write_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_Mutation_Delete_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_Mutation_Delete_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n google/spanner/v1/mutation.proto\022\021goog" + - "le.spanner.v1\032\037google/api/field_behavior" + - ".proto\032\034google/protobuf/struct.proto\032\034go" + - "ogle/spanner/v1/keys.proto\"\325\003\n\010Mutation\022" + - "3\n\006insert\030\001 \001(\0132!.google.spanner.v1.Muta" + - "tion.WriteH\000\0223\n\006update\030\002 \001(\0132!.google.sp" + - "anner.v1.Mutation.WriteH\000\022=\n\020insert_or_u" + - "pdate\030\003 \001(\0132!.google.spanner.v1.Mutation" + - ".WriteH\000\0224\n\007replace\030\004 \001(\0132!.google.spann" + - "er.v1.Mutation.WriteH\000\0224\n\006delete\030\005 \001(\0132\"" + - ".google.spanner.v1.Mutation.DeleteH\000\032X\n\005" + - "Write\022\022\n\005table\030\001 \001(\tB\003\340A\002\022\017\n\007columns\030\002 \003" + - "(\t\022*\n\006values\030\003 \003(\0132\032.google.protobuf.Lis" + - "tValue\032M\n\006Delete\022\022\n\005table\030\001 \001(\tB\003\340A\002\022/\n\007" + - "key_set\030\002 \001(\0132\031.google.spanner.v1.KeySet" + - "B\003\340A\002B\013\n\toperationB\260\001\n\025com.google.spanne" + - "r.v1B\rMutationProtoP\001Z5cloud.google.com/" + - "go/spanner/apiv1/spannerpb;spannerpb\252\002\027G" + - "oogle.Cloud.Spanner.V1\312\002\027Google\\Cloud\\Sp" + - "anner\\V1\352\002\032Google::Cloud::Spanner::V1b\006p" + - "roto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.protobuf.StructProto.getDescriptor(), - com.google.spanner.v1.KeysProto.getDescriptor(), - }); - internal_static_google_spanner_v1_Mutation_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_spanner_v1_Mutation_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_v1_Mutation_descriptor, - new java.lang.String[] { "Insert", "Update", "InsertOrUpdate", "Replace", "Delete", "Operation", }); - internal_static_google_spanner_v1_Mutation_Write_descriptor = - internal_static_google_spanner_v1_Mutation_descriptor.getNestedTypes().get(0); - internal_static_google_spanner_v1_Mutation_Write_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_v1_Mutation_Write_descriptor, - new java.lang.String[] { "Table", "Columns", "Values", }); - internal_static_google_spanner_v1_Mutation_Delete_descriptor = - internal_static_google_spanner_v1_Mutation_descriptor.getNestedTypes().get(1); - internal_static_google_spanner_v1_Mutation_Delete_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_v1_Mutation_Delete_descriptor, - new java.lang.String[] { "Table", "KeySet", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.protobuf.StructProto.getDescriptor(); - com.google.spanner.v1.KeysProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionOrBuilder.java deleted file mode 100644 index ed664f4b1a9..00000000000 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionOrBuilder.java +++ /dev/null @@ -1,21 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/spanner/v1/spanner.proto - -package com.google.spanner.v1; - -public interface PartitionOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.spanner.v1.Partition) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * This token can be passed to Read, StreamingRead, ExecuteSql, or
-   * ExecuteStreamingSql requests to restrict the results to those identified by
-   * this partition token.
-   * 
- * - * bytes partition_token = 1; - * @return The partitionToken. - */ - com.google.protobuf.ByteString getPartitionToken(); -} diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/QueryPlanProto.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/QueryPlanProto.java deleted file mode 100644 index bb5f6bba13a..00000000000 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/QueryPlanProto.java +++ /dev/null @@ -1,116 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/spanner/v1/query_plan.proto - -package com.google.spanner.v1; - -public final class QueryPlanProto { - private QueryPlanProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_PlanNode_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_PlanNode_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_PlanNode_ChildLink_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_PlanNode_ChildLink_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_PlanNode_ShortRepresentation_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_PlanNode_ShortRepresentation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_PlanNode_ShortRepresentation_SubqueriesEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_PlanNode_ShortRepresentation_SubqueriesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_QueryPlan_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_QueryPlan_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n\"google/spanner/v1/query_plan.proto\022\021go" + - "ogle.spanner.v1\032\034google/protobuf/struct." + - "proto\"\370\004\n\010PlanNode\022\r\n\005index\030\001 \001(\005\022.\n\004kin" + - "d\030\002 \001(\0162 .google.spanner.v1.PlanNode.Kin" + - "d\022\024\n\014display_name\030\003 \001(\t\022:\n\013child_links\030\004" + - " \003(\0132%.google.spanner.v1.PlanNode.ChildL" + - "ink\022M\n\024short_representation\030\005 \001(\0132/.goog" + - "le.spanner.v1.PlanNode.ShortRepresentati" + - "on\022)\n\010metadata\030\006 \001(\0132\027.google.protobuf.S" + - "truct\0220\n\017execution_stats\030\007 \001(\0132\027.google." + - "protobuf.Struct\032@\n\tChildLink\022\023\n\013child_in" + - "dex\030\001 \001(\005\022\014\n\004type\030\002 \001(\t\022\020\n\010variable\030\003 \001(" + - "\t\032\262\001\n\023ShortRepresentation\022\023\n\013description" + - "\030\001 \001(\t\022S\n\nsubqueries\030\002 \003(\0132?.google.span" + - "ner.v1.PlanNode.ShortRepresentation.Subq" + - "ueriesEntry\0321\n\017SubqueriesEntry\022\013\n\003key\030\001 " + - "\001(\t\022\r\n\005value\030\002 \001(\005:\0028\001\"8\n\004Kind\022\024\n\020KIND_U" + - "NSPECIFIED\020\000\022\016\n\nRELATIONAL\020\001\022\n\n\006SCALAR\020\002" + - "\"<\n\tQueryPlan\022/\n\nplan_nodes\030\001 \003(\0132\033.goog" + - "le.spanner.v1.PlanNodeB\261\001\n\025com.google.sp" + - "anner.v1B\016QueryPlanProtoP\001Z5cloud.google" + - ".com/go/spanner/apiv1/spannerpb;spannerp" + - "b\252\002\027Google.Cloud.Spanner.V1\312\002\027Google\\Clo" + - "ud\\Spanner\\V1\352\002\032Google::Cloud::Spanner::" + - "V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.protobuf.StructProto.getDescriptor(), - }); - internal_static_google_spanner_v1_PlanNode_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_spanner_v1_PlanNode_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_v1_PlanNode_descriptor, - new java.lang.String[] { "Index", "Kind", "DisplayName", "ChildLinks", "ShortRepresentation", "Metadata", "ExecutionStats", }); - internal_static_google_spanner_v1_PlanNode_ChildLink_descriptor = - internal_static_google_spanner_v1_PlanNode_descriptor.getNestedTypes().get(0); - internal_static_google_spanner_v1_PlanNode_ChildLink_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_v1_PlanNode_ChildLink_descriptor, - new java.lang.String[] { "ChildIndex", "Type", "Variable", }); - internal_static_google_spanner_v1_PlanNode_ShortRepresentation_descriptor = - internal_static_google_spanner_v1_PlanNode_descriptor.getNestedTypes().get(1); - internal_static_google_spanner_v1_PlanNode_ShortRepresentation_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_v1_PlanNode_ShortRepresentation_descriptor, - new java.lang.String[] { "Description", "Subqueries", }); - internal_static_google_spanner_v1_PlanNode_ShortRepresentation_SubqueriesEntry_descriptor = - internal_static_google_spanner_v1_PlanNode_ShortRepresentation_descriptor.getNestedTypes().get(0); - internal_static_google_spanner_v1_PlanNode_ShortRepresentation_SubqueriesEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_v1_PlanNode_ShortRepresentation_SubqueriesEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_spanner_v1_QueryPlan_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_spanner_v1_QueryPlan_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_v1_QueryPlan_descriptor, - new java.lang.String[] { "PlanNodes", }); - com.google.protobuf.StructProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetProto.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetProto.java deleted file mode 100644 index ea07faf1f06..00000000000 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetProto.java +++ /dev/null @@ -1,115 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/spanner/v1/result_set.proto - -package com.google.spanner.v1; - -public final class ResultSetProto { - private ResultSetProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_ResultSet_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_ResultSet_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_PartialResultSet_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_PartialResultSet_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_ResultSetMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_ResultSetMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_ResultSetStats_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_ResultSetStats_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n\"google/spanner/v1/result_set.proto\022\021go" + - "ogle.spanner.v1\032\034google/protobuf/struct." + - "proto\032\"google/spanner/v1/query_plan.prot" + - "o\032#google/spanner/v1/transaction.proto\032\034" + - "google/spanner/v1/type.proto\"\237\001\n\tResultS" + - "et\0226\n\010metadata\030\001 \001(\0132$.google.spanner.v1" + - ".ResultSetMetadata\022(\n\004rows\030\002 \003(\0132\032.googl" + - "e.protobuf.ListValue\0220\n\005stats\030\003 \001(\0132!.go" + - "ogle.spanner.v1.ResultSetStats\"\321\001\n\020Parti" + - "alResultSet\0226\n\010metadata\030\001 \001(\0132$.google.s" + - "panner.v1.ResultSetMetadata\022&\n\006values\030\002 " + - "\003(\0132\026.google.protobuf.Value\022\025\n\rchunked_v" + - "alue\030\003 \001(\010\022\024\n\014resume_token\030\004 \001(\014\0220\n\005stat" + - "s\030\005 \001(\0132!.google.spanner.v1.ResultSetSta" + - "ts\"\267\001\n\021ResultSetMetadata\022/\n\010row_type\030\001 \001" + - "(\0132\035.google.spanner.v1.StructType\0223\n\013tra" + - "nsaction\030\002 \001(\0132\036.google.spanner.v1.Trans" + - "action\022<\n\025undeclared_parameters\030\003 \001(\0132\035." + - "google.spanner.v1.StructType\"\271\001\n\016ResultS" + - "etStats\0220\n\nquery_plan\030\001 \001(\0132\034.google.spa" + - "nner.v1.QueryPlan\022,\n\013query_stats\030\002 \001(\0132\027" + - ".google.protobuf.Struct\022\031\n\017row_count_exa" + - "ct\030\003 \001(\003H\000\022\037\n\025row_count_lower_bound\030\004 \001(" + - "\003H\000B\013\n\trow_countB\264\001\n\025com.google.spanner." + - "v1B\016ResultSetProtoP\001Z5cloud.google.com/g" + - "o/spanner/apiv1/spannerpb;spannerpb\370\001\001\252\002" + - "\027Google.Cloud.Spanner.V1\312\002\027Google\\Cloud\\" + - "Spanner\\V1\352\002\032Google::Cloud::Spanner::V1b" + - "\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.protobuf.StructProto.getDescriptor(), - com.google.spanner.v1.QueryPlanProto.getDescriptor(), - com.google.spanner.v1.TransactionProto.getDescriptor(), - com.google.spanner.v1.TypeProto.getDescriptor(), - }); - internal_static_google_spanner_v1_ResultSet_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_spanner_v1_ResultSet_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_v1_ResultSet_descriptor, - new java.lang.String[] { "Metadata", "Rows", "Stats", }); - internal_static_google_spanner_v1_PartialResultSet_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_spanner_v1_PartialResultSet_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_v1_PartialResultSet_descriptor, - new java.lang.String[] { "Metadata", "Values", "ChunkedValue", "ResumeToken", "Stats", }); - internal_static_google_spanner_v1_ResultSetMetadata_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_spanner_v1_ResultSetMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_v1_ResultSetMetadata_descriptor, - new java.lang.String[] { "RowType", "Transaction", "UndeclaredParameters", }); - internal_static_google_spanner_v1_ResultSetStats_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_spanner_v1_ResultSetStats_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_v1_ResultSetStats_descriptor, - new java.lang.String[] { "QueryPlan", "QueryStats", "RowCountExact", "RowCountLowerBound", "RowCount", }); - com.google.protobuf.StructProto.getDescriptor(); - com.google.spanner.v1.QueryPlanProto.getDescriptor(); - com.google.spanner.v1.TransactionProto.getDescriptor(); - com.google.spanner.v1.TypeProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RollbackRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RollbackRequestOrBuilder.java deleted file mode 100644 index 1960ba89f01..00000000000 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RollbackRequestOrBuilder.java +++ /dev/null @@ -1,39 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/spanner/v1/spanner.proto - -package com.google.spanner.v1; - -public interface RollbackRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.spanner.v1.RollbackRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The session in which the transaction to roll back is running.
-   * 
- * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The session. - */ - java.lang.String getSession(); - /** - *
-   * Required. The session in which the transaction to roll back is running.
-   * 
- * - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for session. - */ - com.google.protobuf.ByteString - getSessionBytes(); - - /** - *
-   * Required. The transaction to roll back.
-   * 
- * - * bytes transaction_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return The transactionId. - */ - com.google.protobuf.ByteString getTransactionId(); -} diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SpannerProto.java b/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SpannerProto.java deleted file mode 100644 index 57e5c964fc3..00000000000 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SpannerProto.java +++ /dev/null @@ -1,583 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/spanner/v1/spanner.proto - -package com.google.spanner.v1; - -public final class SpannerProto { - private SpannerProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_CreateSessionRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_CreateSessionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_BatchCreateSessionsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_BatchCreateSessionsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_BatchCreateSessionsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_BatchCreateSessionsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_Session_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_Session_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_Session_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_Session_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_GetSessionRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_GetSessionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_ListSessionsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_ListSessionsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_ListSessionsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_ListSessionsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_DeleteSessionRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_DeleteSessionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_RequestOptions_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_RequestOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_ExecuteSqlRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_ExecuteSqlRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_ExecuteSqlRequest_QueryOptions_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_ExecuteSqlRequest_QueryOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_ExecuteSqlRequest_ParamTypesEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_ExecuteSqlRequest_ParamTypesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_ExecuteBatchDmlRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_ExecuteBatchDmlRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_ParamTypesEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_ParamTypesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_ExecuteBatchDmlResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_ExecuteBatchDmlResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_PartitionOptions_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_PartitionOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_PartitionQueryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_PartitionQueryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_PartitionQueryRequest_ParamTypesEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_PartitionQueryRequest_ParamTypesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_PartitionReadRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_PartitionReadRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_Partition_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_Partition_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_PartitionResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_PartitionResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_ReadRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_ReadRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_BeginTransactionRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_BeginTransactionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_CommitRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_CommitRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_spanner_v1_RollbackRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_spanner_v1_RollbackRequest_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\037google/spanner/v1/spanner.proto\022\021googl" + - "e.spanner.v1\032\034google/api/annotations.pro" + - "to\032\027google/api/client.proto\032\037google/api/" + - "field_behavior.proto\032\031google/api/resourc" + - "e.proto\032\033google/protobuf/empty.proto\032\034go" + - "ogle/protobuf/struct.proto\032\037google/proto" + - "buf/timestamp.proto\032\027google/rpc/status.p" + - "roto\032\'google/spanner/v1/commit_response." + - "proto\032\034google/spanner/v1/keys.proto\032 goo" + - "gle/spanner/v1/mutation.proto\032\"google/sp" + - "anner/v1/result_set.proto\032#google/spanne" + - "r/v1/transaction.proto\032\034google/spanner/v" + - "1/type.proto\"\203\001\n\024CreateSessionRequest\0229\n" + - "\010database\030\001 \001(\tB\'\340A\002\372A!\n\037spanner.googlea" + - "pis.com/Database\0220\n\007session\030\002 \001(\0132\032.goog" + - "le.spanner.v1.SessionB\003\340A\002\"\251\001\n\032BatchCrea" + - "teSessionsRequest\0229\n\010database\030\001 \001(\tB\'\340A\002" + - "\372A!\n\037spanner.googleapis.com/Database\0224\n\020" + - "session_template\030\002 \001(\0132\032.google.spanner." + - "v1.Session\022\032\n\rsession_count\030\003 \001(\005B\003\340A\002\"J" + - "\n\033BatchCreateSessionsResponse\022+\n\007session" + - "\030\001 \003(\0132\032.google.spanner.v1.Session\"\211\003\n\007S" + - "ession\022\021\n\004name\030\001 \001(\tB\003\340A\003\0226\n\006labels\030\002 \003(" + - "\0132&.google.spanner.v1.Session.LabelsEntr" + - "y\0224\n\013create_time\030\003 \001(\0132\032.google.protobuf" + - ".TimestampB\003\340A\003\022B\n\031approximate_last_use_" + - "time\030\004 \001(\0132\032.google.protobuf.TimestampB\003" + - "\340A\003\022\024\n\014creator_role\030\005 \001(\t\032-\n\013LabelsEntry" + - "\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:t\352Aq\n\036s" + - "panner.googleapis.com/Session\022Oprojects/" + - "{project}/instances/{instance}/databases" + - "/{database}/sessions/{session}\"I\n\021GetSes" + - "sionRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036spann" + - "er.googleapis.com/Session\"\207\001\n\023ListSessio" + - "nsRequest\0229\n\010database\030\001 \001(\tB\'\340A\002\372A!\n\037spa" + - "nner.googleapis.com/Database\022\021\n\tpage_siz" + - "e\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006filter\030\004 " + - "\001(\t\"]\n\024ListSessionsResponse\022,\n\010sessions\030" + - "\001 \003(\0132\032.google.spanner.v1.Session\022\027\n\017nex" + - "t_page_token\030\002 \001(\t\"L\n\024DeleteSessionReque" + - "st\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036spanner.google" + - "apis.com/Session\"\334\001\n\016RequestOptions\022<\n\010p" + - "riority\030\001 \001(\0162*.google.spanner.v1.Reques" + - "tOptions.Priority\022\023\n\013request_tag\030\002 \001(\t\022\027" + - "\n\017transaction_tag\030\003 \001(\t\"^\n\010Priority\022\030\n\024P" + - "RIORITY_UNSPECIFIED\020\000\022\020\n\014PRIORITY_LOW\020\001\022" + - "\023\n\017PRIORITY_MEDIUM\020\002\022\021\n\rPRIORITY_HIGH\020\003\"" + - "\200\006\n\021ExecuteSqlRequest\0227\n\007session\030\001 \001(\tB&" + - "\340A\002\372A \n\036spanner.googleapis.com/Session\022;" + - "\n\013transaction\030\002 \001(\0132&.google.spanner.v1." + - "TransactionSelector\022\020\n\003sql\030\003 \001(\tB\003\340A\002\022\'\n" + - "\006params\030\004 \001(\0132\027.google.protobuf.Struct\022I" + - "\n\013param_types\030\005 \003(\01324.google.spanner.v1." + - "ExecuteSqlRequest.ParamTypesEntry\022\024\n\014res" + - "ume_token\030\006 \001(\014\022B\n\nquery_mode\030\007 \001(\0162..go" + - "ogle.spanner.v1.ExecuteSqlRequest.QueryM" + - "ode\022\027\n\017partition_token\030\010 \001(\014\022\r\n\005seqno\030\t " + - "\001(\003\022H\n\rquery_options\030\n \001(\01321.google.span" + - "ner.v1.ExecuteSqlRequest.QueryOptions\022:\n" + - "\017request_options\030\013 \001(\0132!.google.spanner." + - "v1.RequestOptions\022\032\n\022data_boost_enabled\030" + - "\020 \001(\010\032O\n\014QueryOptions\022\031\n\021optimizer_versi" + - "on\030\001 \001(\t\022$\n\034optimizer_statistics_package" + - "\030\002 \001(\t\032J\n\017ParamTypesEntry\022\013\n\003key\030\001 \001(\t\022&" + - "\n\005value\030\002 \001(\0132\027.google.spanner.v1.Type:\002" + - "8\001\".\n\tQueryMode\022\n\n\006NORMAL\020\000\022\010\n\004PLAN\020\001\022\013\n" + - "\007PROFILE\020\002\"\240\004\n\026ExecuteBatchDmlRequest\0227\n" + - "\007session\030\001 \001(\tB&\340A\002\372A \n\036spanner.googleap" + - "is.com/Session\022@\n\013transaction\030\002 \001(\0132&.go" + - "ogle.spanner.v1.TransactionSelectorB\003\340A\002" + - "\022L\n\nstatements\030\003 \003(\01323.google.spanner.v1" + - ".ExecuteBatchDmlRequest.StatementB\003\340A\002\022\022" + - "\n\005seqno\030\004 \001(\003B\003\340A\002\022:\n\017request_options\030\005 " + - "\001(\0132!.google.spanner.v1.RequestOptions\032\354" + - "\001\n\tStatement\022\020\n\003sql\030\001 \001(\tB\003\340A\002\022\'\n\006params" + - "\030\002 \001(\0132\027.google.protobuf.Struct\022X\n\013param" + - "_types\030\003 \003(\0132C.google.spanner.v1.Execute" + - "BatchDmlRequest.Statement.ParamTypesEntr" + - "y\032J\n\017ParamTypesEntry\022\013\n\003key\030\001 \001(\t\022&\n\005val" + - "ue\030\002 \001(\0132\027.google.spanner.v1.Type:\0028\001\"p\n" + - "\027ExecuteBatchDmlResponse\0221\n\013result_sets\030" + - "\001 \003(\0132\034.google.spanner.v1.ResultSet\022\"\n\006s" + - "tatus\030\002 \001(\0132\022.google.rpc.Status\"H\n\020Parti" + - "tionOptions\022\034\n\024partition_size_bytes\030\001 \001(" + - "\003\022\026\n\016max_partitions\030\002 \001(\003\"\243\003\n\025PartitionQ" + - "ueryRequest\0227\n\007session\030\001 \001(\tB&\340A\002\372A \n\036sp" + - "anner.googleapis.com/Session\022;\n\013transact" + - "ion\030\002 \001(\0132&.google.spanner.v1.Transactio" + - "nSelector\022\020\n\003sql\030\003 \001(\tB\003\340A\002\022\'\n\006params\030\004 " + - "\001(\0132\027.google.protobuf.Struct\022M\n\013param_ty" + - "pes\030\005 \003(\01328.google.spanner.v1.PartitionQ" + - "ueryRequest.ParamTypesEntry\022>\n\021partition" + - "_options\030\006 \001(\0132#.google.spanner.v1.Parti" + - "tionOptions\032J\n\017ParamTypesEntry\022\013\n\003key\030\001 " + - "\001(\t\022&\n\005value\030\002 \001(\0132\027.google.spanner.v1.T" + - "ype:\0028\001\"\261\002\n\024PartitionReadRequest\0227\n\007sess" + - "ion\030\001 \001(\tB&\340A\002\372A \n\036spanner.googleapis.co" + - "m/Session\022;\n\013transaction\030\002 \001(\0132&.google." + - "spanner.v1.TransactionSelector\022\022\n\005table\030" + - "\003 \001(\tB\003\340A\002\022\r\n\005index\030\004 \001(\t\022\017\n\007columns\030\005 \003" + - "(\t\022/\n\007key_set\030\006 \001(\0132\031.google.spanner.v1." + - "KeySetB\003\340A\002\022>\n\021partition_options\030\t \001(\0132#" + - ".google.spanner.v1.PartitionOptions\"$\n\tP" + - "artition\022\027\n\017partition_token\030\001 \001(\014\"z\n\021Par" + - "titionResponse\0220\n\npartitions\030\001 \003(\0132\034.goo" + - "gle.spanner.v1.Partition\0223\n\013transaction\030" + - "\002 \001(\0132\036.google.spanner.v1.Transaction\"\203\003" + - "\n\013ReadRequest\0227\n\007session\030\001 \001(\tB&\340A\002\372A \n\036" + - "spanner.googleapis.com/Session\022;\n\013transa" + - "ction\030\002 \001(\0132&.google.spanner.v1.Transact" + - "ionSelector\022\022\n\005table\030\003 \001(\tB\003\340A\002\022\r\n\005index" + - "\030\004 \001(\t\022\024\n\007columns\030\005 \003(\tB\003\340A\002\022/\n\007key_set\030" + - "\006 \001(\0132\031.google.spanner.v1.KeySetB\003\340A\002\022\r\n" + - "\005limit\030\010 \001(\003\022\024\n\014resume_token\030\t \001(\014\022\027\n\017pa" + - "rtition_token\030\n \001(\014\022:\n\017request_options\030\013" + - " \001(\0132!.google.spanner.v1.RequestOptions\022" + - "\032\n\022data_boost_enabled\030\017 \001(\010\"\313\001\n\027BeginTra" + - "nsactionRequest\0227\n\007session\030\001 \001(\tB&\340A\002\372A " + - "\n\036spanner.googleapis.com/Session\022;\n\007opti" + - "ons\030\002 \001(\0132%.google.spanner.v1.Transactio" + - "nOptionsB\003\340A\002\022:\n\017request_options\030\003 \001(\0132!" + - ".google.spanner.v1.RequestOptions\"\303\002\n\rCo" + - "mmitRequest\0227\n\007session\030\001 \001(\tB&\340A\002\372A \n\036sp" + - "anner.googleapis.com/Session\022\030\n\016transact" + - "ion_id\030\002 \001(\014H\000\022G\n\026single_use_transaction" + - "\030\003 \001(\0132%.google.spanner.v1.TransactionOp" + - "tionsH\000\022.\n\tmutations\030\004 \003(\0132\033.google.span" + - "ner.v1.Mutation\022\033\n\023return_commit_stats\030\005" + - " \001(\010\022:\n\017request_options\030\006 \001(\0132!.google.s" + - "panner.v1.RequestOptionsB\r\n\013transaction\"" + - "g\n\017RollbackRequest\0227\n\007session\030\001 \001(\tB&\340A\002" + - "\372A \n\036spanner.googleapis.com/Session\022\033\n\016t" + - "ransaction_id\030\002 \001(\014B\003\340A\0022\300\026\n\007Spanner\022\246\001\n" + - "\rCreateSession\022\'.google.spanner.v1.Creat" + - "eSessionRequest\032\032.google.spanner.v1.Sess" + - "ion\"P\202\323\344\223\002?\":/v1/{database=projects/*/in" + - "stances/*/databases/*}/sessions:\001*\332A\010dat" + - "abase\022\340\001\n\023BatchCreateSessions\022-.google.s" + - "panner.v1.BatchCreateSessionsRequest\032..g" + - "oogle.spanner.v1.BatchCreateSessionsResp" + - "onse\"j\202\323\344\223\002K\"F/v1/{database=projects/*/i" + - "nstances/*/databases/*}/sessions:batchCr" + - "eate:\001*\332A\026database,session_count\022\227\001\n\nGet" + - "Session\022$.google.spanner.v1.GetSessionRe" + - "quest\032\032.google.spanner.v1.Session\"G\202\323\344\223\002" + - ":\0228/v1/{name=projects/*/instances/*/data" + - "bases/*/sessions/*}\332A\004name\022\256\001\n\014ListSessi" + - "ons\022&.google.spanner.v1.ListSessionsRequ" + - "est\032\'.google.spanner.v1.ListSessionsResp" + - "onse\"M\202\323\344\223\002<\022:/v1/{database=projects/*/i" + - "nstances/*/databases/*}/sessions\332A\010datab" + - "ase\022\231\001\n\rDeleteSession\022\'.google.spanner.v" + - "1.DeleteSessionRequest\032\026.google.protobuf" + - ".Empty\"G\202\323\344\223\002:*8/v1/{name=projects/*/ins" + - "tances/*/databases/*/sessions/*}\332A\004name\022" + - "\243\001\n\nExecuteSql\022$.google.spanner.v1.Execu" + - "teSqlRequest\032\034.google.spanner.v1.ResultS" + - "et\"Q\202\323\344\223\002K\"F/v1/{session=projects/*/inst" + - "ances/*/databases/*/sessions/*}:executeS" + - "ql:\001*\022\276\001\n\023ExecuteStreamingSql\022$.google.s" + - "panner.v1.ExecuteSqlRequest\032#.google.spa" + - "nner.v1.PartialResultSet\"Z\202\323\344\223\002T\"O/v1/{s" + - "ession=projects/*/instances/*/databases/" + - "*/sessions/*}:executeStreamingSql:\001*0\001\022\300" + - "\001\n\017ExecuteBatchDml\022).google.spanner.v1.E" + - "xecuteBatchDmlRequest\032*.google.spanner.v" + - "1.ExecuteBatchDmlResponse\"V\202\323\344\223\002P\"K/v1/{" + - "session=projects/*/instances/*/databases" + - "/*/sessions/*}:executeBatchDml:\001*\022\221\001\n\004Re" + - "ad\022\036.google.spanner.v1.ReadRequest\032\034.goo" + - "gle.spanner.v1.ResultSet\"K\202\323\344\223\002E\"@/v1/{s" + - "ession=projects/*/instances/*/databases/" + - "*/sessions/*}:read:\001*\022\254\001\n\rStreamingRead\022" + - "\036.google.spanner.v1.ReadRequest\032#.google" + - ".spanner.v1.PartialResultSet\"T\202\323\344\223\002N\"I/v" + - "1/{session=projects/*/instances/*/databa" + - "ses/*/sessions/*}:streamingRead:\001*0\001\022\311\001\n" + - "\020BeginTransaction\022*.google.spanner.v1.Be" + - "ginTransactionRequest\032\036.google.spanner.v" + - "1.Transaction\"i\202\323\344\223\002Q\"L/v1/{session=proj" + - "ects/*/instances/*/databases/*/sessions/" + - "*}:beginTransaction:\001*\332A\017session,options" + - "\022\353\001\n\006Commit\022 .google.spanner.v1.CommitRe" + - "quest\032!.google.spanner.v1.CommitResponse" + - "\"\233\001\202\323\344\223\002G\"B/v1/{session=projects/*/insta" + - "nces/*/databases/*/sessions/*}:commit:\001*" + - "\332A session,transaction_id,mutations\332A(se" + - "ssion,single_use_transaction,mutations\022\260" + - "\001\n\010Rollback\022\".google.spanner.v1.Rollback" + - "Request\032\026.google.protobuf.Empty\"h\202\323\344\223\002I\"" + - "D/v1/{session=projects/*/instances/*/dat" + - "abases/*/sessions/*}:rollback:\001*\332A\026sessi" + - "on,transaction_id\022\267\001\n\016PartitionQuery\022(.g" + - "oogle.spanner.v1.PartitionQueryRequest\032$" + - ".google.spanner.v1.PartitionResponse\"U\202\323" + - "\344\223\002O\"J/v1/{session=projects/*/instances/" + - "*/databases/*/sessions/*}:partitionQuery" + - ":\001*\022\264\001\n\rPartitionRead\022\'.google.spanner.v" + - "1.PartitionReadRequest\032$.google.spanner." + - "v1.PartitionResponse\"T\202\323\344\223\002N\"I/v1/{sessi" + - "on=projects/*/instances/*/databases/*/se" + - "ssions/*}:partitionRead:\001*\032w\312A\026spanner.g" + - "oogleapis.com\322A[https://www.googleapis.c" + - "om/auth/cloud-platform,https://www.googl" + - "eapis.com/auth/spanner.dataB\221\002\n\025com.goog" + - "le.spanner.v1B\014SpannerProtoP\001Z5cloud.goo" + - "gle.com/go/spanner/apiv1/spannerpb;spann" + - "erpb\252\002\027Google.Cloud.Spanner.V1\312\002\027Google\\" + - "Cloud\\Spanner\\V1\352\002\032Google::Cloud::Spanne" + - "r::V1\352A_\n\037spanner.googleapis.com/Databas" + - "e\022\n\017type_annotation\030\004 \001(\0162%.google.s" + - "panner.v1.TypeAnnotationCode\"\177\n\nStructTy" + - "pe\0223\n\006fields\030\001 \003(\0132#.google.spanner.v1.S" + - "tructType.Field\032<\n\005Field\022\014\n\004name\030\001 \001(\t\022%" + - "\n\004type\030\002 \001(\0132\027.google.spanner.v1.Type*\245\001" + - "\n\010TypeCode\022\031\n\025TYPE_CODE_UNSPECIFIED\020\000\022\010\n" + - "\004BOOL\020\001\022\t\n\005INT64\020\002\022\013\n\007FLOAT64\020\003\022\r\n\tTIMES" + - "TAMP\020\004\022\010\n\004DATE\020\005\022\n\n\006STRING\020\006\022\t\n\005BYTES\020\007\022" + - "\t\n\005ARRAY\020\010\022\n\n\006STRUCT\020\t\022\013\n\007NUMERIC\020\n\022\010\n\004J" + - "SON\020\013*X\n\022TypeAnnotationCode\022$\n TYPE_ANNO" + - "TATION_CODE_UNSPECIFIED\020\000\022\016\n\nPG_NUMERIC\020" + - "\002\022\014\n\010PG_JSONB\020\003B\254\001\n\025com.google.spanner.v" + - "1B\tTypeProtoP\001Z5cloud.google.com/go/span" + - "ner/apiv1/spannerpb;spannerpb\252\002\027Google.C" + - "loud.Spanner.V1\312\002\027Google\\Cloud\\Spanner\\V" + - "1\352\002\032Google::Cloud::Spanner::V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - }); - internal_static_google_spanner_v1_Type_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_spanner_v1_Type_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_v1_Type_descriptor, - new java.lang.String[] { "Code", "ArrayElementType", "StructType", "TypeAnnotation", }); - internal_static_google_spanner_v1_StructType_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_spanner_v1_StructType_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_v1_StructType_descriptor, - new java.lang.String[] { "Fields", }); - internal_static_google_spanner_v1_StructType_Field_descriptor = - internal_static_google_spanner_v1_StructType_descriptor.getNestedTypes().get(0); - internal_static_google_spanner_v1_StructType_Field_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_spanner_v1_StructType_Field_descriptor, - new java.lang.String[] { "Name", "Type", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/Backup.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/Backup.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/Backup.java rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/Backup.java index 5643219006a..d5132408edd 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/Backup.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/Backup.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/backup.proto package com.google.spanner.admin.database.v1; /** + * + * *
  * A backup of a Cloud Spanner database.
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.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.spanner.admin.database.v1.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() { database_ = ""; name_ = ""; @@ -30,39 +48,43 @@ private Backup() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Backup(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_Backup_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.admin.database.v1.BackupProto + .internal_static_google_spanner_admin_database_v1_Backup_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_Backup_fieldAccessorTable + return com.google.spanner.admin.database.v1.BackupProto + .internal_static_google_spanner_admin_database_v1_Backup_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.Backup.class, com.google.spanner.admin.database.v1.Backup.Builder.class); + com.google.spanner.admin.database.v1.Backup.class, + com.google.spanner.admin.database.v1.Backup.Builder.class); } /** + * + * *
    * Indicates the current state of the backup.
    * 
* * Protobuf enum {@code google.spanner.admin.database.v1.Backup.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Not specified.
      * 
@@ -71,6 +93,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.
@@ -80,6 +104,8 @@ public enum State
      */
     CREATING(1),
     /**
+     *
+     *
      * 
      * The backup is complete and ready for use.
      * 
@@ -91,6 +117,8 @@ public enum State ; /** + * + * *
      * Not specified.
      * 
@@ -99,6 +127,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.
@@ -108,6 +138,8 @@ public enum State
      */
     public static final int CREATING_VALUE = 1;
     /**
+     *
+     *
      * 
      * The backup is complete and ready for use.
      * 
@@ -116,7 +148,6 @@ public enum State */ public static final int READY_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_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.spanner.admin.database.v1.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; @@ -201,9 +232,12 @@ private State(int value) { } public static final int DATABASE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object database_ = ""; /** + * + * *
    * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
    * Name of the database from which this backup was
@@ -213,6 +247,7 @@ private State(int value) {
    * 
* * string database = 2 [(.google.api.resource_reference) = { ... } + * * @return The database. */ @java.lang.Override @@ -221,14 +256,15 @@ public java.lang.String getDatabase() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; } } /** + * + * *
    * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
    * Name of the database from which this backup was
@@ -238,16 +274,15 @@ public java.lang.String getDatabase() {
    * 
* * string database = 2 [(.google.api.resource_reference) = { ... } + * * @return The bytes for database. */ @java.lang.Override - public com.google.protobuf.ByteString - getDatabaseBytes() { + public com.google.protobuf.ByteString getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); database_ = b; return b; } else { @@ -258,6 +293,8 @@ public java.lang.String getDatabase() { public static final int VERSION_TIME_FIELD_NUMBER = 9; private com.google.protobuf.Timestamp versionTime_; /** + * + * *
    * The backup will contain an externally consistent copy of the database at
    * the timestamp specified by `version_time`. If `version_time` is not
@@ -266,6 +303,7 @@ public java.lang.String getDatabase() {
    * 
* * .google.protobuf.Timestamp version_time = 9; + * * @return Whether the versionTime field is set. */ @java.lang.Override @@ -273,6 +311,8 @@ public boolean hasVersionTime() { return versionTime_ != null; } /** + * + * *
    * The backup will contain an externally consistent copy of the database at
    * the timestamp specified by `version_time`. If `version_time` is not
@@ -281,6 +321,7 @@ public boolean hasVersionTime() {
    * 
* * .google.protobuf.Timestamp version_time = 9; + * * @return The versionTime. */ @java.lang.Override @@ -288,6 +329,8 @@ public com.google.protobuf.Timestamp getVersionTime() { return versionTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : versionTime_; } /** + * + * *
    * The backup will contain an externally consistent copy of the database at
    * the timestamp specified by `version_time`. If `version_time` is not
@@ -305,6 +348,8 @@ public com.google.protobuf.TimestampOrBuilder getVersionTimeOrBuilder() {
   public static final int EXPIRE_TIME_FIELD_NUMBER = 3;
   private com.google.protobuf.Timestamp expireTime_;
   /**
+   *
+   *
    * 
    * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
    * operation. The expiration time of the backup, with microseconds
@@ -315,6 +360,7 @@ public com.google.protobuf.TimestampOrBuilder getVersionTimeOrBuilder() {
    * 
* * .google.protobuf.Timestamp expire_time = 3; + * * @return Whether the expireTime field is set. */ @java.lang.Override @@ -322,6 +368,8 @@ public boolean hasExpireTime() { return expireTime_ != null; } /** + * + * *
    * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
    * operation. The expiration time of the backup, with microseconds
@@ -332,6 +380,7 @@ public boolean hasExpireTime() {
    * 
* * .google.protobuf.Timestamp expire_time = 3; + * * @return The expireTime. */ @java.lang.Override @@ -339,6 +388,8 @@ public com.google.protobuf.Timestamp getExpireTime() { return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } /** + * + * *
    * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
    * operation. The expiration time of the backup, with microseconds
@@ -356,9 +407,12 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Output only for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
    * Required for the [UpdateBackup][google.spanner.admin.database.v1.DatabaseAdmin.UpdateBackup] operation.
@@ -374,6 +428,7 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -382,14 +437,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 for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
    * Required for the [UpdateBackup][google.spanner.admin.database.v1.DatabaseAdmin.UpdateBackup] operation.
@@ -405,16 +461,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 { @@ -425,13 +480,17 @@ public java.lang.String getName() { public static final int CREATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
    * request is received. If the request does not specify `version_time`, the
    * `version_time` of the backup will be equivalent to the `create_time`.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -439,13 +498,17 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
    * request is received. If the request does not specify `version_time`, the
    * `version_time` of the backup will be equivalent to the `create_time`.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -453,13 +516,16 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
    * request is received. If the request does not specify `version_time`, the
    * `version_time` of the backup will be equivalent to the `create_time`.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -469,11 +535,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int SIZE_BYTES_FIELD_NUMBER = 5; private long sizeBytes_ = 0L; /** + * + * *
    * Output only. Size of the backup in bytes.
    * 
* * int64 size_bytes = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The sizeBytes. */ @java.lang.Override @@ -484,33 +553,49 @@ public long getSizeBytes() { public static final int STATE_FIELD_NUMBER = 6; private int state_ = 0; /** + * + * *
    * Output only. The current state of the backup.
    * 
* - * .google.spanner.admin.database.v1.Backup.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.Backup.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * Output only. The current state of the backup.
    * 
* - * .google.spanner.admin.database.v1.Backup.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.Backup.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.spanner.admin.database.v1.Backup.State getState() { - com.google.spanner.admin.database.v1.Backup.State result = com.google.spanner.admin.database.v1.Backup.State.forNumber(state_); + @java.lang.Override + public com.google.spanner.admin.database.v1.Backup.State getState() { + com.google.spanner.admin.database.v1.Backup.State result = + com.google.spanner.admin.database.v1.Backup.State.forNumber(state_); return result == null ? com.google.spanner.admin.database.v1.Backup.State.UNRECOGNIZED : result; } public static final int REFERENCING_DATABASES_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringList referencingDatabases_; /** + * + * *
    * Output only. The names of the restored databases that reference the backup.
    * The database names are of
@@ -521,14 +606,18 @@ public long getSizeBytes() {
    * to the backup is removed.
    * 
* - * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return A list containing the referencingDatabases. */ - public com.google.protobuf.ProtocolStringList - getReferencingDatabasesList() { + public com.google.protobuf.ProtocolStringList getReferencingDatabasesList() { return referencingDatabases_; } /** + * + * *
    * Output only. The names of the restored databases that reference the backup.
    * The database names are of
@@ -539,13 +628,18 @@ public long getSizeBytes() {
    * to the backup is removed.
    * 
* - * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The count of referencingDatabases. */ public int getReferencingDatabasesCount() { return referencingDatabases_.size(); } /** + * + * *
    * Output only. The names of the restored databases that reference the backup.
    * The database names are of
@@ -556,7 +650,10 @@ public int getReferencingDatabasesCount() {
    * to the backup is removed.
    * 
* - * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param index The index of the element to return. * @return The referencingDatabases at the given index. */ @@ -564,6 +661,8 @@ public java.lang.String getReferencingDatabases(int index) { return referencingDatabases_.get(index); } /** + * + * *
    * Output only. The names of the restored databases that reference the backup.
    * The database names are of
@@ -574,23 +673,30 @@ public java.lang.String getReferencingDatabases(int index) {
    * to the backup is removed.
    * 
* - * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param index The index of the value to return. * @return The bytes of the referencingDatabases at the given index. */ - public com.google.protobuf.ByteString - getReferencingDatabasesBytes(int index) { + public com.google.protobuf.ByteString getReferencingDatabasesBytes(int index) { return referencingDatabases_.getByteString(index); } public static final int ENCRYPTION_INFO_FIELD_NUMBER = 8; private com.google.spanner.admin.database.v1.EncryptionInfo encryptionInfo_; /** + * + * *
    * Output only. The encryption information for the backup.
    * 
* - * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the encryptionInfo field is set. */ @java.lang.Override @@ -598,59 +704,90 @@ public boolean hasEncryptionInfo() { return encryptionInfo_ != null; } /** + * + * *
    * Output only. The encryption information for the backup.
    * 
* - * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The encryptionInfo. */ @java.lang.Override public com.google.spanner.admin.database.v1.EncryptionInfo getEncryptionInfo() { - return encryptionInfo_ == null ? com.google.spanner.admin.database.v1.EncryptionInfo.getDefaultInstance() : encryptionInfo_; + return encryptionInfo_ == null + ? com.google.spanner.admin.database.v1.EncryptionInfo.getDefaultInstance() + : encryptionInfo_; } /** + * + * *
    * Output only. The encryption information for the backup.
    * 
* - * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder() { - return encryptionInfo_ == null ? com.google.spanner.admin.database.v1.EncryptionInfo.getDefaultInstance() : encryptionInfo_; + return encryptionInfo_ == null + ? com.google.spanner.admin.database.v1.EncryptionInfo.getDefaultInstance() + : encryptionInfo_; } public static final int DATABASE_DIALECT_FIELD_NUMBER = 10; private int databaseDialect_ = 0; /** + * + * *
    * Output only. The database dialect information for the backup.
    * 
* - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for databaseDialect. */ - @java.lang.Override public int getDatabaseDialectValue() { + @java.lang.Override + public int getDatabaseDialectValue() { return databaseDialect_; } /** + * + * *
    * Output only. The database dialect information for the backup.
    * 
* - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The databaseDialect. */ - @java.lang.Override public com.google.spanner.admin.database.v1.DatabaseDialect getDatabaseDialect() { - com.google.spanner.admin.database.v1.DatabaseDialect result = com.google.spanner.admin.database.v1.DatabaseDialect.forNumber(databaseDialect_); - return result == null ? com.google.spanner.admin.database.v1.DatabaseDialect.UNRECOGNIZED : result; + @java.lang.Override + public com.google.spanner.admin.database.v1.DatabaseDialect getDatabaseDialect() { + com.google.spanner.admin.database.v1.DatabaseDialect result = + com.google.spanner.admin.database.v1.DatabaseDialect.forNumber(databaseDialect_); + return result == null + ? com.google.spanner.admin.database.v1.DatabaseDialect.UNRECOGNIZED + : result; } public static final int REFERENCING_BACKUPS_FIELD_NUMBER = 11; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringList referencingBackups_; /** + * + * *
    * Output only. The names of the destination backups being created by copying
    * this source backup. The backup names are of the form
@@ -661,14 +798,18 @@ public com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder getEncryptio
    * destination backup is deleted), the reference to the backup is removed.
    * 
* - * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return A list containing the referencingBackups. */ - public com.google.protobuf.ProtocolStringList - getReferencingBackupsList() { + public com.google.protobuf.ProtocolStringList getReferencingBackupsList() { return referencingBackups_; } /** + * + * *
    * Output only. The names of the destination backups being created by copying
    * this source backup. The backup names are of the form
@@ -679,13 +820,18 @@ public com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder getEncryptio
    * destination backup is deleted), the reference to the backup is removed.
    * 
* - * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The count of referencingBackups. */ public int getReferencingBackupsCount() { return referencingBackups_.size(); } /** + * + * *
    * Output only. The names of the destination backups being created by copying
    * this source backup. The backup names are of the form
@@ -696,7 +842,10 @@ public int getReferencingBackupsCount() {
    * destination backup is deleted), the reference to the backup is removed.
    * 
* - * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param index The index of the element to return. * @return The referencingBackups at the given index. */ @@ -704,6 +853,8 @@ public java.lang.String getReferencingBackups(int index) { return referencingBackups_.get(index); } /** + * + * *
    * Output only. The names of the destination backups being created by copying
    * this source backup. The backup names are of the form
@@ -714,18 +865,22 @@ public java.lang.String getReferencingBackups(int index) {
    * destination backup is deleted), the reference to the backup is removed.
    * 
* - * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param index The index of the value to return. * @return The bytes of the referencingBackups at the given index. */ - public com.google.protobuf.ByteString - getReferencingBackupsBytes(int index) { + public com.google.protobuf.ByteString getReferencingBackupsBytes(int index) { return referencingBackups_.getByteString(index); } public static final int MAX_EXPIRE_TIME_FIELD_NUMBER = 12; private com.google.protobuf.Timestamp maxExpireTime_; /** + * + * *
    * Output only. The max allowed expiration time of the backup, with
    * microseconds granularity. A backup's expiration time can be configured in
@@ -734,7 +889,10 @@ public java.lang.String getReferencingBackups(int index) {
    * less than `Backup.max_expire_time`.
    * 
* - * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the maxExpireTime field is set. */ @java.lang.Override @@ -742,6 +900,8 @@ public boolean hasMaxExpireTime() { return maxExpireTime_ != null; } /** + * + * *
    * Output only. The max allowed expiration time of the backup, with
    * microseconds granularity. A backup's expiration time can be configured in
@@ -750,14 +910,21 @@ public boolean hasMaxExpireTime() {
    * less than `Backup.max_expire_time`.
    * 
* - * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The maxExpireTime. */ @java.lang.Override public com.google.protobuf.Timestamp getMaxExpireTime() { - return maxExpireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : maxExpireTime_; + return maxExpireTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : maxExpireTime_; } /** + * + * *
    * Output only. The max allowed expiration time of the backup, with
    * microseconds granularity. A backup's expiration time can be configured in
@@ -766,14 +933,19 @@ public com.google.protobuf.Timestamp getMaxExpireTime() {
    * less than `Backup.max_expire_time`.
    * 
* - * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getMaxExpireTimeOrBuilder() { - return maxExpireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : maxExpireTime_; + return maxExpireTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : maxExpireTime_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -785,8 +957,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_); } @@ -806,7 +977,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeEnum(6, state_); } for (int i = 0; i < referencingDatabases_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 7, referencingDatabases_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 7, referencingDatabases_.getRaw(i)); } if (encryptionInfo_ != null) { output.writeMessage(8, getEncryptionInfo()); @@ -814,7 +986,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (versionTime_ != null) { output.writeMessage(9, getVersionTime()); } - if (databaseDialect_ != com.google.spanner.admin.database.v1.DatabaseDialect.DATABASE_DIALECT_UNSPECIFIED.getNumber()) { + if (databaseDialect_ + != com.google.spanner.admin.database.v1.DatabaseDialect.DATABASE_DIALECT_UNSPECIFIED + .getNumber()) { output.writeEnum(10, databaseDialect_); } for (int i = 0; i < referencingBackups_.size(); i++) { @@ -839,20 +1013,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, database_); } if (expireTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getExpireTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getExpireTime()); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCreateTime()); } if (sizeBytes_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(5, sizeBytes_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(5, sizeBytes_); } if (state_ != com.google.spanner.admin.database.v1.Backup.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(6, state_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, state_); } { int dataSize = 0; @@ -863,16 +1033,15 @@ public int getSerializedSize() { size += 1 * getReferencingDatabasesList().size(); } if (encryptionInfo_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getEncryptionInfo()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getEncryptionInfo()); } if (versionTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getVersionTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getVersionTime()); } - if (databaseDialect_ != com.google.spanner.admin.database.v1.DatabaseDialect.DATABASE_DIALECT_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(10, databaseDialect_); + if (databaseDialect_ + != com.google.spanner.admin.database.v1.DatabaseDialect.DATABASE_DIALECT_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(10, databaseDialect_); } { int dataSize = 0; @@ -883,8 +1052,7 @@ public int getSerializedSize() { size += 1 * getReferencingBackupsList().size(); } if (maxExpireTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, getMaxExpireTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getMaxExpireTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -894,49 +1062,40 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.database.v1.Backup)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.Backup other = (com.google.spanner.admin.database.v1.Backup) obj; + com.google.spanner.admin.database.v1.Backup other = + (com.google.spanner.admin.database.v1.Backup) obj; - if (!getDatabase() - .equals(other.getDatabase())) return false; + if (!getDatabase().equals(other.getDatabase())) return false; if (hasVersionTime() != other.hasVersionTime()) return false; if (hasVersionTime()) { - if (!getVersionTime() - .equals(other.getVersionTime())) return false; + if (!getVersionTime().equals(other.getVersionTime())) 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 (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) 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 (getSizeBytes() - != other.getSizeBytes()) return false; + if (getSizeBytes() != other.getSizeBytes()) return false; if (state_ != other.state_) return false; - if (!getReferencingDatabasesList() - .equals(other.getReferencingDatabasesList())) return false; + if (!getReferencingDatabasesList().equals(other.getReferencingDatabasesList())) 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 (databaseDialect_ != other.databaseDialect_) return false; - if (!getReferencingBackupsList() - .equals(other.getReferencingBackupsList())) return false; + if (!getReferencingBackupsList().equals(other.getReferencingBackupsList())) return false; if (hasMaxExpireTime() != other.hasMaxExpireTime()) return false; if (hasMaxExpireTime()) { - if (!getMaxExpireTime() - .equals(other.getMaxExpireTime())) return false; + if (!getMaxExpireTime().equals(other.getMaxExpireTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -966,8 +1125,7 @@ public int hashCode() { hash = (53 * hash) + getCreateTime().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 (getReferencingDatabasesCount() > 0) { @@ -993,130 +1151,136 @@ public int hashCode() { return hash; } - public static com.google.spanner.admin.database.v1.Backup parseFrom( - java.nio.ByteBuffer data) + public static com.google.spanner.admin.database.v1.Backup parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.Backup parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.Backup parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.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.spanner.admin.database.v1.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.spanner.admin.database.v1.Backup parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.spanner.admin.database.v1.Backup parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.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.spanner.admin.database.v1.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.spanner.admin.database.v1.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 Spanner database.
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.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.spanner.admin.database.v1.Backup) com.google.spanner.admin.database.v1.BackupOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_Backup_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.admin.database.v1.BackupProto + .internal_static_google_spanner_admin_database_v1_Backup_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_Backup_fieldAccessorTable + return com.google.spanner.admin.database.v1.BackupProto + .internal_static_google_spanner_admin_database_v1_Backup_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.Backup.class, com.google.spanner.admin.database.v1.Backup.Builder.class); + com.google.spanner.admin.database.v1.Backup.class, + com.google.spanner.admin.database.v1.Backup.Builder.class); } // Construct using com.google.spanner.admin.database.v1.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(); @@ -1159,9 +1323,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_Backup_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.spanner.admin.database.v1.BackupProto + .internal_static_google_spanner_admin_database_v1_Backup_descriptor; } @java.lang.Override @@ -1180,9 +1344,12 @@ public com.google.spanner.admin.database.v1.Backup build() { @java.lang.Override public com.google.spanner.admin.database.v1.Backup buildPartial() { - com.google.spanner.admin.database.v1.Backup result = new com.google.spanner.admin.database.v1.Backup(this); + com.google.spanner.admin.database.v1.Backup result = + new com.google.spanner.admin.database.v1.Backup(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -1206,22 +1373,17 @@ private void buildPartial0(com.google.spanner.admin.database.v1.Backup result) { result.database_ = database_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.versionTime_ = versionTimeBuilder_ == null - ? versionTime_ - : versionTimeBuilder_.build(); + result.versionTime_ = + versionTimeBuilder_ == null ? versionTime_ : versionTimeBuilder_.build(); } 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.name_ = name_; } if (((from_bitField0_ & 0x00000010) != 0)) { - result.createTime_ = createTimeBuilder_ == null - ? createTime_ - : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000020) != 0)) { result.sizeBytes_ = sizeBytes_; @@ -1230,17 +1392,15 @@ private void buildPartial0(com.google.spanner.admin.database.v1.Backup result) { result.state_ = state_; } if (((from_bitField0_ & 0x00000100) != 0)) { - result.encryptionInfo_ = encryptionInfoBuilder_ == null - ? encryptionInfo_ - : encryptionInfoBuilder_.build(); + result.encryptionInfo_ = + encryptionInfoBuilder_ == null ? encryptionInfo_ : encryptionInfoBuilder_.build(); } if (((from_bitField0_ & 0x00000200) != 0)) { result.databaseDialect_ = databaseDialect_; } if (((from_bitField0_ & 0x00000800) != 0)) { - result.maxExpireTime_ = maxExpireTimeBuilder_ == null - ? maxExpireTime_ - : maxExpireTimeBuilder_.build(); + result.maxExpireTime_ = + maxExpireTimeBuilder_ == null ? maxExpireTime_ : maxExpireTimeBuilder_.build(); } } @@ -1248,38 +1408,39 @@ private void buildPartial0(com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.Backup) { - return mergeFrom((com.google.spanner.admin.database.v1.Backup)other); + return mergeFrom((com.google.spanner.admin.database.v1.Backup) other); } else { super.mergeFrom(other); return this; @@ -1368,84 +1529,87 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 10 - case 18: { - database_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 18 - case 26: { - input.readMessage( - getExpireTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 34 - case 40: { - sizeBytes_ = input.readInt64(); - bitField0_ |= 0x00000020; - break; - } // case 40 - case 48: { - state_ = input.readEnum(); - bitField0_ |= 0x00000040; - break; - } // case 48 - case 58: { - java.lang.String s = input.readStringRequireUtf8(); - ensureReferencingDatabasesIsMutable(); - referencingDatabases_.add(s); - break; - } // case 58 - case 66: { - input.readMessage( - getEncryptionInfoFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000100; - break; - } // case 66 - case 74: { - input.readMessage( - getVersionTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 74 - case 80: { - databaseDialect_ = input.readEnum(); - bitField0_ |= 0x00000200; - break; - } // case 80 - case 90: { - java.lang.String s = input.readStringRequireUtf8(); - ensureReferencingBackupsIsMutable(); - referencingBackups_.add(s); - break; - } // case 90 - case 98: { - input.readMessage( - getMaxExpireTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000800; - break; - } // case 98 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 10 + case 18: + { + database_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 18 + case 26: + { + input.readMessage(getExpireTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 34 + case 40: + { + sizeBytes_ = input.readInt64(); + bitField0_ |= 0x00000020; + break; + } // case 40 + case 48: + { + state_ = input.readEnum(); + bitField0_ |= 0x00000040; + break; + } // case 48 + case 58: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureReferencingDatabasesIsMutable(); + referencingDatabases_.add(s); + break; + } // case 58 + case 66: + { + input.readMessage(getEncryptionInfoFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000100; + break; + } // case 66 + case 74: + { + input.readMessage(getVersionTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 74 + case 80: + { + databaseDialect_ = input.readEnum(); + bitField0_ |= 0x00000200; + break; + } // case 80 + case 90: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureReferencingBackupsIsMutable(); + referencingBackups_.add(s); + break; + } // case 90 + case 98: + { + input.readMessage(getMaxExpireTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000800; + break; + } // case 98 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1455,10 +1619,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object database_ = ""; /** + * + * *
      * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
      * Name of the database from which this backup was
@@ -1468,13 +1635,13 @@ public Builder mergeFrom(
      * 
* * string database = 2 [(.google.api.resource_reference) = { ... } + * * @return The database. */ public java.lang.String getDatabase() { java.lang.Object ref = database_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; @@ -1483,6 +1650,8 @@ public java.lang.String getDatabase() { } } /** + * + * *
      * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
      * Name of the database from which this backup was
@@ -1492,15 +1661,14 @@ public java.lang.String getDatabase() {
      * 
* * string database = 2 [(.google.api.resource_reference) = { ... } + * * @return The bytes for database. */ - public com.google.protobuf.ByteString - getDatabaseBytes() { + public com.google.protobuf.ByteString getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); database_ = b; return b; } else { @@ -1508,6 +1676,8 @@ public java.lang.String getDatabase() { } } /** + * + * *
      * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
      * Name of the database from which this backup was
@@ -1517,18 +1687,22 @@ public java.lang.String getDatabase() {
      * 
* * string database = 2 [(.google.api.resource_reference) = { ... } + * * @param value The database to set. * @return This builder for chaining. */ - public Builder setDatabase( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDatabase(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } database_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
      * Name of the database from which this backup was
@@ -1538,6 +1712,7 @@ public Builder setDatabase(
      * 
* * string database = 2 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearDatabase() { @@ -1547,6 +1722,8 @@ public Builder clearDatabase() { return this; } /** + * + * *
      * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
      * Name of the database from which this backup was
@@ -1556,12 +1733,14 @@ public Builder clearDatabase() {
      * 
* * string database = 2 [(.google.api.resource_reference) = { ... } + * * @param value The bytes for database to set. * @return This builder for chaining. */ - public Builder setDatabaseBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); database_ = value; bitField0_ |= 0x00000001; @@ -1571,8 +1750,13 @@ public Builder setDatabaseBytes( private com.google.protobuf.Timestamp versionTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> versionTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + versionTimeBuilder_; /** + * + * *
      * The backup will contain an externally consistent copy of the database at
      * the timestamp specified by `version_time`. If `version_time` is not
@@ -1581,12 +1765,15 @@ public Builder setDatabaseBytes(
      * 
* * .google.protobuf.Timestamp version_time = 9; + * * @return Whether the versionTime field is set. */ public boolean hasVersionTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The backup will contain an externally consistent copy of the database at
      * the timestamp specified by `version_time`. If `version_time` is not
@@ -1595,16 +1782,21 @@ public boolean hasVersionTime() {
      * 
* * .google.protobuf.Timestamp version_time = 9; + * * @return The versionTime. */ public com.google.protobuf.Timestamp getVersionTime() { if (versionTimeBuilder_ == null) { - return versionTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : versionTime_; + return versionTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : versionTime_; } else { return versionTimeBuilder_.getMessage(); } } /** + * + * *
      * The backup will contain an externally consistent copy of the database at
      * the timestamp specified by `version_time`. If `version_time` is not
@@ -1628,6 +1820,8 @@ public Builder setVersionTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The backup will contain an externally consistent copy of the database at
      * the timestamp specified by `version_time`. If `version_time` is not
@@ -1637,8 +1831,7 @@ public Builder setVersionTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp version_time = 9;
      */
-    public Builder setVersionTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setVersionTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (versionTimeBuilder_ == null) {
         versionTime_ = builderForValue.build();
       } else {
@@ -1649,6 +1842,8 @@ public Builder setVersionTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The backup will contain an externally consistent copy of the database at
      * the timestamp specified by `version_time`. If `version_time` is not
@@ -1660,9 +1855,9 @@ public Builder setVersionTime(
      */
     public Builder mergeVersionTime(com.google.protobuf.Timestamp value) {
       if (versionTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0) &&
-          versionTime_ != null &&
-          versionTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0)
+            && versionTime_ != null
+            && versionTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getVersionTimeBuilder().mergeFrom(value);
         } else {
           versionTime_ = value;
@@ -1675,6 +1870,8 @@ public Builder mergeVersionTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The backup will contain an externally consistent copy of the database at
      * the timestamp specified by `version_time`. If `version_time` is not
@@ -1695,6 +1892,8 @@ public Builder clearVersionTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The backup will contain an externally consistent copy of the database at
      * the timestamp specified by `version_time`. If `version_time` is not
@@ -1710,6 +1909,8 @@ public com.google.protobuf.Timestamp.Builder getVersionTimeBuilder() {
       return getVersionTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The backup will contain an externally consistent copy of the database at
      * the timestamp specified by `version_time`. If `version_time` is not
@@ -1723,11 +1924,14 @@ public com.google.protobuf.TimestampOrBuilder getVersionTimeOrBuilder() {
       if (versionTimeBuilder_ != null) {
         return versionTimeBuilder_.getMessageOrBuilder();
       } else {
-        return versionTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : versionTime_;
+        return versionTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : versionTime_;
       }
     }
     /**
+     *
+     *
      * 
      * The backup will contain an externally consistent copy of the database at
      * the timestamp specified by `version_time`. If `version_time` is not
@@ -1738,14 +1942,17 @@ public com.google.protobuf.TimestampOrBuilder getVersionTimeOrBuilder() {
      * .google.protobuf.Timestamp version_time = 9;
      */
     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>
         getVersionTimeFieldBuilder() {
       if (versionTimeBuilder_ == null) {
-        versionTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getVersionTime(),
-                getParentForChildren(),
-                isClean());
+        versionTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getVersionTime(), getParentForChildren(), isClean());
         versionTime_ = null;
       }
       return versionTimeBuilder_;
@@ -1753,8 +1960,13 @@ public com.google.protobuf.TimestampOrBuilder getVersionTimeOrBuilder() {
 
     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 for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
      * operation. The expiration time of the backup, with microseconds
@@ -1765,12 +1977,15 @@ public com.google.protobuf.TimestampOrBuilder getVersionTimeOrBuilder() {
      * 
* * .google.protobuf.Timestamp expire_time = 3; + * * @return Whether the expireTime field is set. */ public boolean hasExpireTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
      * operation. The expiration time of the backup, with microseconds
@@ -1781,16 +1996,21 @@ public boolean hasExpireTime() {
      * 
* * .google.protobuf.Timestamp expire_time = 3; + * * @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 for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
      * operation. The expiration time of the backup, with microseconds
@@ -1816,6 +2036,8 @@ public Builder setExpireTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
      * operation. The expiration time of the backup, with microseconds
@@ -1827,8 +2049,7 @@ public Builder setExpireTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp expire_time = 3;
      */
-    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 {
@@ -1839,6 +2060,8 @@ public Builder setExpireTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
      * operation. The expiration time of the backup, with microseconds
@@ -1852,9 +2075,9 @@ public Builder setExpireTime(
      */
     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;
@@ -1867,6 +2090,8 @@ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
      * operation. The expiration time of the backup, with microseconds
@@ -1889,6 +2114,8 @@ public Builder clearExpireTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
      * operation. The expiration time of the backup, with microseconds
@@ -1906,6 +2133,8 @@ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() {
       return getExpireTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
      * operation. The expiration time of the backup, with microseconds
@@ -1921,11 +2150,14 @@ 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 for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
      * operation. The expiration time of the backup, with microseconds
@@ -1938,14 +2170,17 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
      * .google.protobuf.Timestamp expire_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>
         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_;
@@ -1953,6 +2188,8 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
      * Required for the [UpdateBackup][google.spanner.admin.database.v1.DatabaseAdmin.UpdateBackup] operation.
@@ -1968,13 +2205,13 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
      * 
* * 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; @@ -1983,6 +2220,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
      * Required for the [UpdateBackup][google.spanner.admin.database.v1.DatabaseAdmin.UpdateBackup] operation.
@@ -1998,15 +2237,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 { @@ -2014,6 +2252,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
      * Required for the [UpdateBackup][google.spanner.admin.database.v1.DatabaseAdmin.UpdateBackup] operation.
@@ -2029,18 +2269,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_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Output only for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
      * Required for the [UpdateBackup][google.spanner.admin.database.v1.DatabaseAdmin.UpdateBackup] operation.
@@ -2056,6 +2300,7 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -2065,6 +2310,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
      * Required for the [UpdateBackup][google.spanner.admin.database.v1.DatabaseAdmin.UpdateBackup] operation.
@@ -2080,12 +2327,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_ |= 0x00000008; @@ -2095,45 +2344,64 @@ public Builder setNameBytes( 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 the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
      * request is received. If the request does not specify `version_time`, the
      * `version_time` of the backup will be equivalent to the `create_time`.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * Output only. The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
      * request is received. If the request does not specify `version_time`, the
      * `version_time` of the backup will be equivalent to the `create_time`.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @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 the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
      * request is received. If the request does not specify `version_time`, the
      * `version_time` of the backup will be equivalent to the `create_time`.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -2149,16 +2417,19 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
      * request is received. If the request does not specify `version_time`, the
      * `version_time` of the backup will be equivalent to the `create_time`.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - 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 { @@ -2169,19 +2440,23 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
      * request is received. If the request does not specify `version_time`, the
      * `version_time` of the backup will be equivalent to the `create_time`.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -2194,13 +2469,17 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
      * request is received. If the request does not specify `version_time`, the
      * `version_time` of the backup will be equivalent to the `create_time`.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000010); @@ -2213,13 +2492,17 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
      * request is received. If the request does not specify `version_time`, the
      * `version_time` of the backup will be equivalent to the `create_time`.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000010; @@ -2227,52 +2510,67 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
      * request is received. If the request does not specify `version_time`, the
      * `version_time` of the backup will be equivalent to the `create_time`.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ 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 the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
      * request is received. If the request does not specify `version_time`, the
      * `version_time` of the backup will be equivalent to the `create_time`.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ 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 long sizeBytes_ ; + private long sizeBytes_; /** + * + * *
      * Output only. Size of the backup in bytes.
      * 
* * int64 size_bytes = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The sizeBytes. */ @java.lang.Override @@ -2280,27 +2578,33 @@ public long getSizeBytes() { return sizeBytes_; } /** + * + * *
      * Output only. Size of the backup in bytes.
      * 
* * int64 size_bytes = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The sizeBytes to set. * @return This builder for chaining. */ public Builder setSizeBytes(long value) { - + sizeBytes_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Output only. Size of the backup in bytes.
      * 
* * int64 size_bytes = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearSizeBytes() { @@ -2312,22 +2616,33 @@ public Builder clearSizeBytes() { private int state_ = 0; /** + * + * *
      * Output only. The current state of the backup.
      * 
* - * .google.spanner.admin.database.v1.Backup.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.Backup.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * Output only. The current state of the backup.
      * 
* - * .google.spanner.admin.database.v1.Backup.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.Backup.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -2338,24 +2653,37 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
      * Output only. The current state of the backup.
      * 
* - * .google.spanner.admin.database.v1.Backup.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.Backup.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.spanner.admin.database.v1.Backup.State getState() { - com.google.spanner.admin.database.v1.Backup.State result = com.google.spanner.admin.database.v1.Backup.State.forNumber(state_); - return result == null ? com.google.spanner.admin.database.v1.Backup.State.UNRECOGNIZED : result; + com.google.spanner.admin.database.v1.Backup.State result = + com.google.spanner.admin.database.v1.Backup.State.forNumber(state_); + return result == null + ? com.google.spanner.admin.database.v1.Backup.State.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. The current state of the backup.
      * 
* - * .google.spanner.admin.database.v1.Backup.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.Backup.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ @@ -2369,11 +2697,16 @@ public Builder setState(com.google.spanner.admin.database.v1.Backup.State value) return this; } /** + * + * *
      * Output only. The current state of the backup.
      * 
* - * .google.spanner.admin.database.v1.Backup.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.Backup.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { @@ -2383,14 +2716,18 @@ public Builder clearState() { return this; } - private com.google.protobuf.LazyStringList referencingDatabases_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList referencingDatabases_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureReferencingDatabasesIsMutable() { if (!((bitField0_ & 0x00000080) != 0)) { referencingDatabases_ = new com.google.protobuf.LazyStringArrayList(referencingDatabases_); bitField0_ |= 0x00000080; - } + } } /** + * + * *
      * Output only. The names of the restored databases that reference the backup.
      * The database names are of
@@ -2401,14 +2738,18 @@ private void ensureReferencingDatabasesIsMutable() {
      * to the backup is removed.
      * 
* - * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return A list containing the referencingDatabases. */ - public com.google.protobuf.ProtocolStringList - getReferencingDatabasesList() { + public com.google.protobuf.ProtocolStringList getReferencingDatabasesList() { return referencingDatabases_.getUnmodifiableView(); } /** + * + * *
      * Output only. The names of the restored databases that reference the backup.
      * The database names are of
@@ -2419,13 +2760,18 @@ private void ensureReferencingDatabasesIsMutable() {
      * to the backup is removed.
      * 
* - * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The count of referencingDatabases. */ public int getReferencingDatabasesCount() { return referencingDatabases_.size(); } /** + * + * *
      * Output only. The names of the restored databases that reference the backup.
      * The database names are of
@@ -2436,7 +2782,10 @@ public int getReferencingDatabasesCount() {
      * to the backup is removed.
      * 
* - * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param index The index of the element to return. * @return The referencingDatabases at the given index. */ @@ -2444,6 +2793,8 @@ public java.lang.String getReferencingDatabases(int index) { return referencingDatabases_.get(index); } /** + * + * *
      * Output only. The names of the restored databases that reference the backup.
      * The database names are of
@@ -2454,15 +2805,19 @@ public java.lang.String getReferencingDatabases(int index) {
      * to the backup is removed.
      * 
* - * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param index The index of the value to return. * @return The bytes of the referencingDatabases at the given index. */ - public com.google.protobuf.ByteString - getReferencingDatabasesBytes(int index) { + public com.google.protobuf.ByteString getReferencingDatabasesBytes(int index) { return referencingDatabases_.getByteString(index); } /** + * + * *
      * Output only. The names of the restored databases that reference the backup.
      * The database names are of
@@ -2473,20 +2828,26 @@ public java.lang.String getReferencingDatabases(int index) {
      * to the backup is removed.
      * 
* - * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param index The index to set the value at. * @param value The referencingDatabases to set. * @return This builder for chaining. */ - public Builder setReferencingDatabases( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setReferencingDatabases(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureReferencingDatabasesIsMutable(); referencingDatabases_.set(index, value); onChanged(); return this; } /** + * + * *
      * Output only. The names of the restored databases that reference the backup.
      * The database names are of
@@ -2497,19 +2858,25 @@ public Builder setReferencingDatabases(
      * to the backup is removed.
      * 
* - * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The referencingDatabases to add. * @return This builder for chaining. */ - public Builder addReferencingDatabases( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addReferencingDatabases(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureReferencingDatabasesIsMutable(); referencingDatabases_.add(value); onChanged(); return this; } /** + * + * *
      * Output only. The names of the restored databases that reference the backup.
      * The database names are of
@@ -2520,19 +2887,22 @@ public Builder addReferencingDatabases(
      * to the backup is removed.
      * 
* - * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param values The referencingDatabases to add. * @return This builder for chaining. */ - public Builder addAllReferencingDatabases( - java.lang.Iterable values) { + public Builder addAllReferencingDatabases(java.lang.Iterable values) { ensureReferencingDatabasesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, referencingDatabases_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, referencingDatabases_); onChanged(); return this; } /** + * + * *
      * Output only. The names of the restored databases that reference the backup.
      * The database names are of
@@ -2543,7 +2913,10 @@ public Builder addAllReferencingDatabases(
      * to the backup is removed.
      * 
* - * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearReferencingDatabases() { @@ -2553,6 +2926,8 @@ public Builder clearReferencingDatabases() { return this; } /** + * + * *
      * Output only. The names of the restored databases that reference the backup.
      * The database names are of
@@ -2563,13 +2938,17 @@ public Builder clearReferencingDatabases() {
      * to the backup is removed.
      * 
* - * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes of the referencingDatabases to add. * @return This builder for chaining. */ - public Builder addReferencingDatabasesBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addReferencingDatabasesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureReferencingDatabasesIsMutable(); referencingDatabases_.add(value); @@ -2579,39 +2958,58 @@ public Builder addReferencingDatabasesBytes( private com.google.spanner.admin.database.v1.EncryptionInfo encryptionInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.EncryptionInfo, com.google.spanner.admin.database.v1.EncryptionInfo.Builder, com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder> encryptionInfoBuilder_; + com.google.spanner.admin.database.v1.EncryptionInfo, + com.google.spanner.admin.database.v1.EncryptionInfo.Builder, + com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder> + encryptionInfoBuilder_; /** + * + * *
      * Output only. The encryption information for the backup.
      * 
* - * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the encryptionInfo field is set. */ public boolean hasEncryptionInfo() { return ((bitField0_ & 0x00000100) != 0); } /** + * + * *
      * Output only. The encryption information for the backup.
      * 
* - * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The encryptionInfo. */ public com.google.spanner.admin.database.v1.EncryptionInfo getEncryptionInfo() { if (encryptionInfoBuilder_ == null) { - return encryptionInfo_ == null ? com.google.spanner.admin.database.v1.EncryptionInfo.getDefaultInstance() : encryptionInfo_; + return encryptionInfo_ == null + ? com.google.spanner.admin.database.v1.EncryptionInfo.getDefaultInstance() + : encryptionInfo_; } else { return encryptionInfoBuilder_.getMessage(); } } /** + * + * *
      * Output only. The encryption information for the backup.
      * 
* - * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setEncryptionInfo(com.google.spanner.admin.database.v1.EncryptionInfo value) { if (encryptionInfoBuilder_ == null) { @@ -2627,11 +3025,15 @@ public Builder setEncryptionInfo(com.google.spanner.admin.database.v1.Encryption return this; } /** + * + * *
      * Output only. The encryption information for the backup.
      * 
* - * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setEncryptionInfo( com.google.spanner.admin.database.v1.EncryptionInfo.Builder builderForValue) { @@ -2645,17 +3047,22 @@ public Builder setEncryptionInfo( return this; } /** + * + * *
      * Output only. The encryption information for the backup.
      * 
* - * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeEncryptionInfo(com.google.spanner.admin.database.v1.EncryptionInfo value) { if (encryptionInfoBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0) && - encryptionInfo_ != null && - encryptionInfo_ != com.google.spanner.admin.database.v1.EncryptionInfo.getDefaultInstance()) { + if (((bitField0_ & 0x00000100) != 0) + && encryptionInfo_ != null + && encryptionInfo_ + != com.google.spanner.admin.database.v1.EncryptionInfo.getDefaultInstance()) { getEncryptionInfoBuilder().mergeFrom(value); } else { encryptionInfo_ = value; @@ -2668,11 +3075,15 @@ public Builder mergeEncryptionInfo(com.google.spanner.admin.database.v1.Encrypti return this; } /** + * + * *
      * Output only. The encryption information for the backup.
      * 
* - * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearEncryptionInfo() { bitField0_ = (bitField0_ & ~0x00000100); @@ -2685,11 +3096,15 @@ public Builder clearEncryptionInfo() { return this; } /** + * + * *
      * Output only. The encryption information for the backup.
      * 
* - * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.spanner.admin.database.v1.EncryptionInfo.Builder getEncryptionInfoBuilder() { bitField0_ |= 0x00000100; @@ -2697,36 +3112,49 @@ public com.google.spanner.admin.database.v1.EncryptionInfo.Builder getEncryption return getEncryptionInfoFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The encryption information for the backup.
      * 
* - * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder() { + public com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder + getEncryptionInfoOrBuilder() { if (encryptionInfoBuilder_ != null) { return encryptionInfoBuilder_.getMessageOrBuilder(); } else { - return encryptionInfo_ == null ? - com.google.spanner.admin.database.v1.EncryptionInfo.getDefaultInstance() : encryptionInfo_; + return encryptionInfo_ == null + ? com.google.spanner.admin.database.v1.EncryptionInfo.getDefaultInstance() + : encryptionInfo_; } } /** + * + * *
      * Output only. The encryption information for the backup.
      * 
* - * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.EncryptionInfo, com.google.spanner.admin.database.v1.EncryptionInfo.Builder, com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder> + com.google.spanner.admin.database.v1.EncryptionInfo, + com.google.spanner.admin.database.v1.EncryptionInfo.Builder, + com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder> getEncryptionInfoFieldBuilder() { if (encryptionInfoBuilder_ == null) { - encryptionInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.EncryptionInfo, com.google.spanner.admin.database.v1.EncryptionInfo.Builder, com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder>( - getEncryptionInfo(), - getParentForChildren(), - isClean()); + encryptionInfoBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.admin.database.v1.EncryptionInfo, + com.google.spanner.admin.database.v1.EncryptionInfo.Builder, + com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder>( + getEncryptionInfo(), getParentForChildren(), isClean()); encryptionInfo_ = null; } return encryptionInfoBuilder_; @@ -2734,22 +3162,33 @@ public com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder getEncryptio private int databaseDialect_ = 0; /** + * + * *
      * Output only. The database dialect information for the backup.
      * 
* - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for databaseDialect. */ - @java.lang.Override public int getDatabaseDialectValue() { + @java.lang.Override + public int getDatabaseDialectValue() { return databaseDialect_; } /** + * + * *
      * Output only. The database dialect information for the backup.
      * 
* - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for databaseDialect to set. * @return This builder for chaining. */ @@ -2760,24 +3199,37 @@ public Builder setDatabaseDialectValue(int value) { return this; } /** + * + * *
      * Output only. The database dialect information for the backup.
      * 
* - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The databaseDialect. */ @java.lang.Override public com.google.spanner.admin.database.v1.DatabaseDialect getDatabaseDialect() { - com.google.spanner.admin.database.v1.DatabaseDialect result = com.google.spanner.admin.database.v1.DatabaseDialect.forNumber(databaseDialect_); - return result == null ? com.google.spanner.admin.database.v1.DatabaseDialect.UNRECOGNIZED : result; + com.google.spanner.admin.database.v1.DatabaseDialect result = + com.google.spanner.admin.database.v1.DatabaseDialect.forNumber(databaseDialect_); + return result == null + ? com.google.spanner.admin.database.v1.DatabaseDialect.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. The database dialect information for the backup.
      * 
* - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The databaseDialect to set. * @return This builder for chaining. */ @@ -2791,11 +3243,16 @@ public Builder setDatabaseDialect(com.google.spanner.admin.database.v1.DatabaseD return this; } /** + * + * *
      * Output only. The database dialect information for the backup.
      * 
* - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearDatabaseDialect() { @@ -2805,14 +3262,18 @@ public Builder clearDatabaseDialect() { return this; } - private com.google.protobuf.LazyStringList referencingBackups_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList referencingBackups_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureReferencingBackupsIsMutable() { if (!((bitField0_ & 0x00000400) != 0)) { referencingBackups_ = new com.google.protobuf.LazyStringArrayList(referencingBackups_); bitField0_ |= 0x00000400; - } + } } /** + * + * *
      * Output only. The names of the destination backups being created by copying
      * this source backup. The backup names are of the form
@@ -2823,14 +3284,18 @@ private void ensureReferencingBackupsIsMutable() {
      * destination backup is deleted), the reference to the backup is removed.
      * 
* - * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return A list containing the referencingBackups. */ - public com.google.protobuf.ProtocolStringList - getReferencingBackupsList() { + public com.google.protobuf.ProtocolStringList getReferencingBackupsList() { return referencingBackups_.getUnmodifiableView(); } /** + * + * *
      * Output only. The names of the destination backups being created by copying
      * this source backup. The backup names are of the form
@@ -2841,13 +3306,18 @@ private void ensureReferencingBackupsIsMutable() {
      * destination backup is deleted), the reference to the backup is removed.
      * 
* - * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The count of referencingBackups. */ public int getReferencingBackupsCount() { return referencingBackups_.size(); } /** + * + * *
      * Output only. The names of the destination backups being created by copying
      * this source backup. The backup names are of the form
@@ -2858,7 +3328,10 @@ public int getReferencingBackupsCount() {
      * destination backup is deleted), the reference to the backup is removed.
      * 
* - * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param index The index of the element to return. * @return The referencingBackups at the given index. */ @@ -2866,6 +3339,8 @@ public java.lang.String getReferencingBackups(int index) { return referencingBackups_.get(index); } /** + * + * *
      * Output only. The names of the destination backups being created by copying
      * this source backup. The backup names are of the form
@@ -2876,15 +3351,19 @@ public java.lang.String getReferencingBackups(int index) {
      * destination backup is deleted), the reference to the backup is removed.
      * 
* - * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param index The index of the value to return. * @return The bytes of the referencingBackups at the given index. */ - public com.google.protobuf.ByteString - getReferencingBackupsBytes(int index) { + public com.google.protobuf.ByteString getReferencingBackupsBytes(int index) { return referencingBackups_.getByteString(index); } /** + * + * *
      * Output only. The names of the destination backups being created by copying
      * this source backup. The backup names are of the form
@@ -2895,20 +3374,26 @@ public java.lang.String getReferencingBackups(int index) {
      * destination backup is deleted), the reference to the backup is removed.
      * 
* - * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param index The index to set the value at. * @param value The referencingBackups to set. * @return This builder for chaining. */ - public Builder setReferencingBackups( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setReferencingBackups(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureReferencingBackupsIsMutable(); referencingBackups_.set(index, value); onChanged(); return this; } /** + * + * *
      * Output only. The names of the destination backups being created by copying
      * this source backup. The backup names are of the form
@@ -2919,19 +3404,25 @@ public Builder setReferencingBackups(
      * destination backup is deleted), the reference to the backup is removed.
      * 
* - * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The referencingBackups to add. * @return This builder for chaining. */ - public Builder addReferencingBackups( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addReferencingBackups(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureReferencingBackupsIsMutable(); referencingBackups_.add(value); onChanged(); return this; } /** + * + * *
      * Output only. The names of the destination backups being created by copying
      * this source backup. The backup names are of the form
@@ -2942,19 +3433,22 @@ public Builder addReferencingBackups(
      * destination backup is deleted), the reference to the backup is removed.
      * 
* - * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param values The referencingBackups to add. * @return This builder for chaining. */ - public Builder addAllReferencingBackups( - java.lang.Iterable values) { + public Builder addAllReferencingBackups(java.lang.Iterable values) { ensureReferencingBackupsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, referencingBackups_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, referencingBackups_); onChanged(); return this; } /** + * + * *
      * Output only. The names of the destination backups being created by copying
      * this source backup. The backup names are of the form
@@ -2965,7 +3459,10 @@ public Builder addAllReferencingBackups(
      * destination backup is deleted), the reference to the backup is removed.
      * 
* - * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearReferencingBackups() { @@ -2975,6 +3472,8 @@ public Builder clearReferencingBackups() { return this; } /** + * + * *
      * Output only. The names of the destination backups being created by copying
      * this source backup. The backup names are of the form
@@ -2985,13 +3484,17 @@ public Builder clearReferencingBackups() {
      * destination backup is deleted), the reference to the backup is removed.
      * 
* - * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes of the referencingBackups to add. * @return This builder for chaining. */ - public Builder addReferencingBackupsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addReferencingBackupsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureReferencingBackupsIsMutable(); referencingBackups_.add(value); @@ -3001,8 +3504,13 @@ public Builder addReferencingBackupsBytes( private com.google.protobuf.Timestamp maxExpireTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> maxExpireTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + maxExpireTimeBuilder_; /** + * + * *
      * Output only. The max allowed expiration time of the backup, with
      * microseconds granularity. A backup's expiration time can be configured in
@@ -3011,13 +3519,18 @@ public Builder addReferencingBackupsBytes(
      * less than `Backup.max_expire_time`.
      * 
* - * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the maxExpireTime field is set. */ public boolean hasMaxExpireTime() { return ((bitField0_ & 0x00000800) != 0); } /** + * + * *
      * Output only. The max allowed expiration time of the backup, with
      * microseconds granularity. A backup's expiration time can be configured in
@@ -3026,17 +3539,24 @@ public boolean hasMaxExpireTime() {
      * less than `Backup.max_expire_time`.
      * 
* - * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The maxExpireTime. */ public com.google.protobuf.Timestamp getMaxExpireTime() { if (maxExpireTimeBuilder_ == null) { - return maxExpireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : maxExpireTime_; + return maxExpireTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : maxExpireTime_; } else { return maxExpireTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The max allowed expiration time of the backup, with
      * microseconds granularity. A backup's expiration time can be configured in
@@ -3045,7 +3565,9 @@ public com.google.protobuf.Timestamp getMaxExpireTime() {
      * less than `Backup.max_expire_time`.
      * 
* - * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setMaxExpireTime(com.google.protobuf.Timestamp value) { if (maxExpireTimeBuilder_ == null) { @@ -3061,6 +3583,8 @@ public Builder setMaxExpireTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The max allowed expiration time of the backup, with
      * microseconds granularity. A backup's expiration time can be configured in
@@ -3069,10 +3593,11 @@ public Builder setMaxExpireTime(com.google.protobuf.Timestamp value) {
      * less than `Backup.max_expire_time`.
      * 
* - * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setMaxExpireTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setMaxExpireTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (maxExpireTimeBuilder_ == null) { maxExpireTime_ = builderForValue.build(); } else { @@ -3083,6 +3608,8 @@ public Builder setMaxExpireTime( return this; } /** + * + * *
      * Output only. The max allowed expiration time of the backup, with
      * microseconds granularity. A backup's expiration time can be configured in
@@ -3091,13 +3618,15 @@ public Builder setMaxExpireTime(
      * less than `Backup.max_expire_time`.
      * 
* - * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeMaxExpireTime(com.google.protobuf.Timestamp value) { if (maxExpireTimeBuilder_ == null) { - if (((bitField0_ & 0x00000800) != 0) && - maxExpireTime_ != null && - maxExpireTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000800) != 0) + && maxExpireTime_ != null + && maxExpireTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getMaxExpireTimeBuilder().mergeFrom(value); } else { maxExpireTime_ = value; @@ -3110,6 +3639,8 @@ public Builder mergeMaxExpireTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The max allowed expiration time of the backup, with
      * microseconds granularity. A backup's expiration time can be configured in
@@ -3118,7 +3649,9 @@ public Builder mergeMaxExpireTime(com.google.protobuf.Timestamp value) {
      * less than `Backup.max_expire_time`.
      * 
* - * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearMaxExpireTime() { bitField0_ = (bitField0_ & ~0x00000800); @@ -3131,6 +3664,8 @@ public Builder clearMaxExpireTime() { return this; } /** + * + * *
      * Output only. The max allowed expiration time of the backup, with
      * microseconds granularity. A backup's expiration time can be configured in
@@ -3139,7 +3674,9 @@ public Builder clearMaxExpireTime() {
      * less than `Backup.max_expire_time`.
      * 
* - * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getMaxExpireTimeBuilder() { bitField0_ |= 0x00000800; @@ -3147,6 +3684,8 @@ public com.google.protobuf.Timestamp.Builder getMaxExpireTimeBuilder() { return getMaxExpireTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The max allowed expiration time of the backup, with
      * microseconds granularity. A backup's expiration time can be configured in
@@ -3155,17 +3694,22 @@ public com.google.protobuf.Timestamp.Builder getMaxExpireTimeBuilder() {
      * less than `Backup.max_expire_time`.
      * 
* - * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getMaxExpireTimeOrBuilder() { if (maxExpireTimeBuilder_ != null) { return maxExpireTimeBuilder_.getMessageOrBuilder(); } else { - return maxExpireTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : maxExpireTime_; + return maxExpireTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : maxExpireTime_; } } /** + * + * *
      * Output only. The max allowed expiration time of the backup, with
      * microseconds granularity. A backup's expiration time can be configured in
@@ -3174,24 +3718,29 @@ public com.google.protobuf.TimestampOrBuilder getMaxExpireTimeOrBuilder() {
      * less than `Backup.max_expire_time`.
      * 
* - * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp max_expire_time = 12 [(.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> getMaxExpireTimeFieldBuilder() { if (maxExpireTimeBuilder_ == null) { - maxExpireTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getMaxExpireTime(), - getParentForChildren(), - isClean()); + maxExpireTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getMaxExpireTime(), getParentForChildren(), isClean()); maxExpireTime_ = null; } return maxExpireTimeBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3201,12 +3750,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.Backup) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.Backup) private static final com.google.spanner.admin.database.v1.Backup DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.Backup(); } @@ -3215,27 +3764,27 @@ public static com.google.spanner.admin.database.v1.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; @@ -3250,6 +3799,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.Backup getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupInfo.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupInfo.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupInfo.java rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupInfo.java index 1ac901593e6..978bcbcccb9 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupInfo.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupInfo.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/backup.proto package com.google.spanner.admin.database.v1; /** + * + * *
  * Information about a backup.
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.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.spanner.admin.database.v1.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_ = ""; sourceDatabase_ = ""; @@ -26,38 +44,43 @@ private BackupInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BackupInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_BackupInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.admin.database.v1.BackupProto + .internal_static_google_spanner_admin_database_v1_BackupInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_BackupInfo_fieldAccessorTable + return com.google.spanner.admin.database.v1.BackupProto + .internal_static_google_spanner_admin_database_v1_BackupInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.BackupInfo.class, com.google.spanner.admin.database.v1.BackupInfo.Builder.class); + com.google.spanner.admin.database.v1.BackupInfo.class, + com.google.spanner.admin.database.v1.BackupInfo.Builder.class); } public static final int BACKUP_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object backup_ = ""; /** + * + * *
    * Name of the backup.
    * 
* * string backup = 1 [(.google.api.resource_reference) = { ... } + * * @return The backup. */ @java.lang.Override @@ -66,29 +89,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; } } /** + * + * *
    * Name of the backup.
    * 
* * string backup = 1 [(.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 = 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 { @@ -99,6 +122,8 @@ public java.lang.String getBackup() { public static final int VERSION_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp versionTime_; /** + * + * *
    * The backup contains an externally consistent copy of `source_database` at
    * the timestamp specified by `version_time`. If the
@@ -108,6 +133,7 @@ public java.lang.String getBackup() {
    * 
* * .google.protobuf.Timestamp version_time = 4; + * * @return Whether the versionTime field is set. */ @java.lang.Override @@ -115,6 +141,8 @@ public boolean hasVersionTime() { return versionTime_ != null; } /** + * + * *
    * The backup contains an externally consistent copy of `source_database` at
    * the timestamp specified by `version_time`. If the
@@ -124,6 +152,7 @@ public boolean hasVersionTime() {
    * 
* * .google.protobuf.Timestamp version_time = 4; + * * @return The versionTime. */ @java.lang.Override @@ -131,6 +160,8 @@ public com.google.protobuf.Timestamp getVersionTime() { return versionTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : versionTime_; } /** + * + * *
    * The backup contains an externally consistent copy of `source_database` at
    * the timestamp specified by `version_time`. If the
@@ -149,12 +180,15 @@ public com.google.protobuf.TimestampOrBuilder getVersionTimeOrBuilder() {
   public static final int CREATE_TIME_FIELD_NUMBER = 2;
   private com.google.protobuf.Timestamp createTime_;
   /**
+   *
+   *
    * 
    * The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was
    * received.
    * 
* * .google.protobuf.Timestamp create_time = 2; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -162,12 +196,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was
    * received.
    * 
* * .google.protobuf.Timestamp create_time = 2; + * * @return The createTime. */ @java.lang.Override @@ -175,6 +212,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was
    * received.
@@ -188,14 +227,18 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
   }
 
   public static final int SOURCE_DATABASE_FIELD_NUMBER = 3;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object sourceDatabase_ = "";
   /**
+   *
+   *
    * 
    * Name of the database the backup was created from.
    * 
* * string source_database = 3 [(.google.api.resource_reference) = { ... } + * * @return The sourceDatabase. */ @java.lang.Override @@ -204,29 +247,29 @@ public java.lang.String getSourceDatabase() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceDatabase_ = s; return s; } } /** + * + * *
    * Name of the database the backup was created from.
    * 
* * string source_database = 3 [(.google.api.resource_reference) = { ... } + * * @return The bytes for sourceDatabase. */ @java.lang.Override - public com.google.protobuf.ByteString - getSourceDatabaseBytes() { + public com.google.protobuf.ByteString getSourceDatabaseBytes() { java.lang.Object ref = sourceDatabase_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sourceDatabase_ = b; return b; } else { @@ -235,6 +278,7 @@ public java.lang.String getSourceDatabase() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -246,8 +290,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_); } @@ -273,15 +316,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, backup_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCreateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceDatabase_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, sourceDatabase_); } if (versionTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getVersionTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getVersionTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -291,27 +332,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.spanner.admin.database.v1.BackupInfo)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.BackupInfo other = (com.google.spanner.admin.database.v1.BackupInfo) obj; + com.google.spanner.admin.database.v1.BackupInfo other = + (com.google.spanner.admin.database.v1.BackupInfo) obj; - if (!getBackup() - .equals(other.getBackup())) return false; + if (!getBackup().equals(other.getBackup())) return false; if (hasVersionTime() != other.hasVersionTime()) return false; if (hasVersionTime()) { - if (!getVersionTime() - .equals(other.getVersionTime())) return false; + if (!getVersionTime().equals(other.getVersionTime())) 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 (!getSourceDatabase() - .equals(other.getSourceDatabase())) return false; + if (!getSourceDatabase().equals(other.getSourceDatabase())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -340,130 +378,136 @@ public int hashCode() { return hash; } - public static com.google.spanner.admin.database.v1.BackupInfo parseFrom( - java.nio.ByteBuffer data) + public static com.google.spanner.admin.database.v1.BackupInfo parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.BackupInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.BackupInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.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.spanner.admin.database.v1.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.spanner.admin.database.v1.BackupInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.spanner.admin.database.v1.BackupInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.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.spanner.admin.database.v1.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.spanner.admin.database.v1.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.spanner.admin.database.v1.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.spanner.admin.database.v1.BackupInfo) com.google.spanner.admin.database.v1.BackupInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_BackupInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.admin.database.v1.BackupProto + .internal_static_google_spanner_admin_database_v1_BackupInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_BackupInfo_fieldAccessorTable + return com.google.spanner.admin.database.v1.BackupProto + .internal_static_google_spanner_admin_database_v1_BackupInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.BackupInfo.class, com.google.spanner.admin.database.v1.BackupInfo.Builder.class); + com.google.spanner.admin.database.v1.BackupInfo.class, + com.google.spanner.admin.database.v1.BackupInfo.Builder.class); } // Construct using com.google.spanner.admin.database.v1.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(); @@ -484,9 +528,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_BackupInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.spanner.admin.database.v1.BackupProto + .internal_static_google_spanner_admin_database_v1_BackupInfo_descriptor; } @java.lang.Override @@ -505,8 +549,11 @@ public com.google.spanner.admin.database.v1.BackupInfo build() { @java.lang.Override public com.google.spanner.admin.database.v1.BackupInfo buildPartial() { - com.google.spanner.admin.database.v1.BackupInfo result = new com.google.spanner.admin.database.v1.BackupInfo(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.spanner.admin.database.v1.BackupInfo result = + new com.google.spanner.admin.database.v1.BackupInfo(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -517,14 +564,11 @@ private void buildPartial0(com.google.spanner.admin.database.v1.BackupInfo resul result.backup_ = backup_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.versionTime_ = versionTimeBuilder_ == null - ? versionTime_ - : versionTimeBuilder_.build(); + result.versionTime_ = + versionTimeBuilder_ == null ? versionTime_ : versionTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.createTime_ = createTimeBuilder_ == null - ? createTime_ - : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.sourceDatabase_ = sourceDatabase_; @@ -535,38 +579,39 @@ private void buildPartial0(com.google.spanner.admin.database.v1.BackupInfo 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.spanner.admin.database.v1.BackupInfo) { - return mergeFrom((com.google.spanner.admin.database.v1.BackupInfo)other); + return mergeFrom((com.google.spanner.admin.database.v1.BackupInfo) other); } else { super.mergeFrom(other); return this; @@ -574,7 +619,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.admin.database.v1.BackupInfo other) { - if (other == com.google.spanner.admin.database.v1.BackupInfo.getDefaultInstance()) return this; + if (other == com.google.spanner.admin.database.v1.BackupInfo.getDefaultInstance()) + return this; if (!other.getBackup().isEmpty()) { backup_ = other.backup_; bitField0_ |= 0x00000001; @@ -617,36 +663,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - backup_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 18 - case 26: { - sourceDatabase_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 26 - case 34: { - input.readMessage( - getVersionTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - 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(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 18 + case 26: + { + sourceDatabase_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 26 + case 34: + { + input.readMessage(getVersionTimeFieldBuilder().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) { @@ -656,22 +703,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object backup_ = ""; /** + * + * *
      * Name of the backup.
      * 
* * string backup = 1 [(.google.api.resource_reference) = { ... } + * * @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; @@ -680,20 +730,21 @@ public java.lang.String getBackup() { } } /** + * + * *
      * Name of the backup.
      * 
* * string backup = 1 [(.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 = 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 { @@ -701,28 +752,35 @@ public java.lang.String getBackup() { } } /** + * + * *
      * Name of the backup.
      * 
* * string backup = 1 [(.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(); + } backup_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Name of the backup.
      * 
* * string backup = 1 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearBackup() { @@ -732,17 +790,21 @@ public Builder clearBackup() { return this; } /** + * + * *
      * Name of the backup.
      * 
* * string backup = 1 [(.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); backup_ = value; bitField0_ |= 0x00000001; @@ -752,8 +814,13 @@ public Builder setBackupBytes( private com.google.protobuf.Timestamp versionTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> versionTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + versionTimeBuilder_; /** + * + * *
      * The backup contains an externally consistent copy of `source_database` at
      * the timestamp specified by `version_time`. If the
@@ -763,12 +830,15 @@ public Builder setBackupBytes(
      * 
* * .google.protobuf.Timestamp version_time = 4; + * * @return Whether the versionTime field is set. */ public boolean hasVersionTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The backup contains an externally consistent copy of `source_database` at
      * the timestamp specified by `version_time`. If the
@@ -778,16 +848,21 @@ public boolean hasVersionTime() {
      * 
* * .google.protobuf.Timestamp version_time = 4; + * * @return The versionTime. */ public com.google.protobuf.Timestamp getVersionTime() { if (versionTimeBuilder_ == null) { - return versionTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : versionTime_; + return versionTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : versionTime_; } else { return versionTimeBuilder_.getMessage(); } } /** + * + * *
      * The backup contains an externally consistent copy of `source_database` at
      * the timestamp specified by `version_time`. If the
@@ -812,6 +887,8 @@ public Builder setVersionTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The backup contains an externally consistent copy of `source_database` at
      * the timestamp specified by `version_time`. If the
@@ -822,8 +899,7 @@ public Builder setVersionTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp version_time = 4;
      */
-    public Builder setVersionTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setVersionTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (versionTimeBuilder_ == null) {
         versionTime_ = builderForValue.build();
       } else {
@@ -834,6 +910,8 @@ public Builder setVersionTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The backup contains an externally consistent copy of `source_database` at
      * the timestamp specified by `version_time`. If the
@@ -846,9 +924,9 @@ public Builder setVersionTime(
      */
     public Builder mergeVersionTime(com.google.protobuf.Timestamp value) {
       if (versionTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0) &&
-          versionTime_ != null &&
-          versionTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0)
+            && versionTime_ != null
+            && versionTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getVersionTimeBuilder().mergeFrom(value);
         } else {
           versionTime_ = value;
@@ -861,6 +939,8 @@ public Builder mergeVersionTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The backup contains an externally consistent copy of `source_database` at
      * the timestamp specified by `version_time`. If the
@@ -882,6 +962,8 @@ public Builder clearVersionTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The backup contains an externally consistent copy of `source_database` at
      * the timestamp specified by `version_time`. If the
@@ -898,6 +980,8 @@ public com.google.protobuf.Timestamp.Builder getVersionTimeBuilder() {
       return getVersionTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The backup contains an externally consistent copy of `source_database` at
      * the timestamp specified by `version_time`. If the
@@ -912,11 +996,14 @@ public com.google.protobuf.TimestampOrBuilder getVersionTimeOrBuilder() {
       if (versionTimeBuilder_ != null) {
         return versionTimeBuilder_.getMessageOrBuilder();
       } else {
-        return versionTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : versionTime_;
+        return versionTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : versionTime_;
       }
     }
     /**
+     *
+     *
      * 
      * The backup contains an externally consistent copy of `source_database` at
      * the timestamp specified by `version_time`. If the
@@ -928,14 +1015,17 @@ public com.google.protobuf.TimestampOrBuilder getVersionTimeOrBuilder() {
      * .google.protobuf.Timestamp version_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>
         getVersionTimeFieldBuilder() {
       if (versionTimeBuilder_ == null) {
-        versionTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getVersionTime(),
-                getParentForChildren(),
-                isClean());
+        versionTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getVersionTime(), getParentForChildren(), isClean());
         versionTime_ = null;
       }
       return versionTimeBuilder_;
@@ -943,36 +1033,49 @@ public com.google.protobuf.TimestampOrBuilder getVersionTimeOrBuilder() {
 
     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_;
     /**
+     *
+     *
      * 
      * The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was
      * received.
      * 
* * .google.protobuf.Timestamp create_time = 2; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was
      * received.
      * 
* * .google.protobuf.Timestamp create_time = 2; + * * @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(); } } /** + * + * *
      * The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was
      * received.
@@ -994,6 +1097,8 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was
      * received.
@@ -1001,8 +1106,7 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp create_time = 2;
      */
-    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 {
@@ -1013,6 +1117,8 @@ public Builder setCreateTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was
      * received.
@@ -1022,9 +1128,9 @@ public Builder setCreateTime(
      */
     public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
       if (createTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0) &&
-          createTime_ != null &&
-          createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0)
+            && createTime_ != null
+            && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getCreateTimeBuilder().mergeFrom(value);
         } else {
           createTime_ = value;
@@ -1037,6 +1143,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was
      * received.
@@ -1055,6 +1163,8 @@ public Builder clearCreateTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was
      * received.
@@ -1068,6 +1178,8 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() {
       return getCreateTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was
      * received.
@@ -1079,11 +1191,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_;
       }
     }
     /**
+     *
+     *
      * 
      * The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was
      * received.
@@ -1092,14 +1207,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * .google.protobuf.Timestamp create_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>
         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_;
@@ -1107,18 +1225,20 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
 
     private java.lang.Object sourceDatabase_ = "";
     /**
+     *
+     *
      * 
      * Name of the database the backup was created from.
      * 
* * string source_database = 3 [(.google.api.resource_reference) = { ... } + * * @return The sourceDatabase. */ public java.lang.String getSourceDatabase() { java.lang.Object ref = sourceDatabase_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceDatabase_ = s; return s; @@ -1127,20 +1247,21 @@ public java.lang.String getSourceDatabase() { } } /** + * + * *
      * Name of the database the backup was created from.
      * 
* * string source_database = 3 [(.google.api.resource_reference) = { ... } + * * @return The bytes for sourceDatabase. */ - public com.google.protobuf.ByteString - getSourceDatabaseBytes() { + public com.google.protobuf.ByteString getSourceDatabaseBytes() { java.lang.Object ref = sourceDatabase_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sourceDatabase_ = b; return b; } else { @@ -1148,28 +1269,35 @@ public java.lang.String getSourceDatabase() { } } /** + * + * *
      * Name of the database the backup was created from.
      * 
* * string source_database = 3 [(.google.api.resource_reference) = { ... } + * * @param value The sourceDatabase to set. * @return This builder for chaining. */ - public Builder setSourceDatabase( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSourceDatabase(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } sourceDatabase_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Name of the database the backup was created from.
      * 
* * string source_database = 3 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearSourceDatabase() { @@ -1179,26 +1307,30 @@ public Builder clearSourceDatabase() { return this; } /** + * + * *
      * Name of the database the backup was created from.
      * 
* * string source_database = 3 [(.google.api.resource_reference) = { ... } + * * @param value The bytes for sourceDatabase to set. * @return This builder for chaining. */ - public Builder setSourceDatabaseBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSourceDatabaseBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); sourceDatabase_ = 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); } @@ -1208,12 +1340,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.BackupInfo) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.BackupInfo) private static final com.google.spanner.admin.database.v1.BackupInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.BackupInfo(); } @@ -1222,27 +1354,27 @@ public static com.google.spanner.admin.database.v1.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; @@ -1257,6 +1389,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.BackupInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupInfoOrBuilder.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupInfoOrBuilder.java similarity index 80% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupInfoOrBuilder.java rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupInfoOrBuilder.java index 5cad0cc423e..0d3766f1a33 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupInfoOrBuilder.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupInfoOrBuilder.java @@ -1,33 +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/spanner/admin/database/v1/backup.proto package com.google.spanner.admin.database.v1; -public interface BackupInfoOrBuilder extends +public interface BackupInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.BackupInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Name of the backup.
    * 
* * string backup = 1 [(.google.api.resource_reference) = { ... } + * * @return The backup. */ java.lang.String getBackup(); /** + * + * *
    * Name of the backup.
    * 
* * string backup = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for backup. */ - com.google.protobuf.ByteString - getBackupBytes(); + com.google.protobuf.ByteString getBackupBytes(); /** + * + * *
    * The backup contains an externally consistent copy of `source_database` at
    * the timestamp specified by `version_time`. If the
@@ -37,10 +60,13 @@ public interface BackupInfoOrBuilder extends
    * 
* * .google.protobuf.Timestamp version_time = 4; + * * @return Whether the versionTime field is set. */ boolean hasVersionTime(); /** + * + * *
    * The backup contains an externally consistent copy of `source_database` at
    * the timestamp specified by `version_time`. If the
@@ -50,10 +76,13 @@ public interface BackupInfoOrBuilder extends
    * 
* * .google.protobuf.Timestamp version_time = 4; + * * @return The versionTime. */ com.google.protobuf.Timestamp getVersionTime(); /** + * + * *
    * The backup contains an externally consistent copy of `source_database` at
    * the timestamp specified by `version_time`. If the
@@ -67,26 +96,34 @@ public interface BackupInfoOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getVersionTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was
    * received.
    * 
* * .google.protobuf.Timestamp create_time = 2; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was
    * received.
    * 
* * .google.protobuf.Timestamp create_time = 2; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was
    * received.
@@ -97,22 +134,27 @@ public interface BackupInfoOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Name of the database the backup was created from.
    * 
* * string source_database = 3 [(.google.api.resource_reference) = { ... } + * * @return The sourceDatabase. */ java.lang.String getSourceDatabase(); /** + * + * *
    * Name of the database the backup was created from.
    * 
* * string source_database = 3 [(.google.api.resource_reference) = { ... } + * * @return The bytes for sourceDatabase. */ - com.google.protobuf.ByteString - getSourceDatabaseBytes(); + com.google.protobuf.ByteString getSourceDatabaseBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupName.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupName.java similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupName.java rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupOrBuilder.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupOrBuilder.java similarity index 78% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupOrBuilder.java rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupOrBuilder.java index 12028d40783..e3fe5ccf08c 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupOrBuilder.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/backup.proto package com.google.spanner.admin.database.v1; -public interface BackupOrBuilder extends +public interface BackupOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.Backup) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
    * Name of the database from which this backup was
@@ -17,10 +35,13 @@ public interface BackupOrBuilder extends
    * 
* * string database = 2 [(.google.api.resource_reference) = { ... } + * * @return The database. */ java.lang.String getDatabase(); /** + * + * *
    * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
    * Name of the database from which this backup was
@@ -30,12 +51,14 @@ public interface BackupOrBuilder extends
    * 
* * string database = 2 [(.google.api.resource_reference) = { ... } + * * @return The bytes for database. */ - com.google.protobuf.ByteString - getDatabaseBytes(); + com.google.protobuf.ByteString getDatabaseBytes(); /** + * + * *
    * The backup will contain an externally consistent copy of the database at
    * the timestamp specified by `version_time`. If `version_time` is not
@@ -44,10 +67,13 @@ public interface BackupOrBuilder extends
    * 
* * .google.protobuf.Timestamp version_time = 9; + * * @return Whether the versionTime field is set. */ boolean hasVersionTime(); /** + * + * *
    * The backup will contain an externally consistent copy of the database at
    * the timestamp specified by `version_time`. If `version_time` is not
@@ -56,10 +82,13 @@ public interface BackupOrBuilder extends
    * 
* * .google.protobuf.Timestamp version_time = 9; + * * @return The versionTime. */ com.google.protobuf.Timestamp getVersionTime(); /** + * + * *
    * The backup will contain an externally consistent copy of the database at
    * the timestamp specified by `version_time`. If `version_time` is not
@@ -72,6 +101,8 @@ public interface BackupOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getVersionTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
    * operation. The expiration time of the backup, with microseconds
@@ -82,10 +113,13 @@ public interface BackupOrBuilder extends
    * 
* * .google.protobuf.Timestamp expire_time = 3; + * * @return Whether the expireTime field is set. */ boolean hasExpireTime(); /** + * + * *
    * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
    * operation. The expiration time of the backup, with microseconds
@@ -96,10 +130,13 @@ public interface BackupOrBuilder extends
    * 
* * .google.protobuf.Timestamp expire_time = 3; + * * @return The expireTime. */ com.google.protobuf.Timestamp getExpireTime(); /** + * + * *
    * Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
    * operation. The expiration time of the backup, with microseconds
@@ -114,6 +151,8 @@ public interface BackupOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
    * Required for the [UpdateBackup][google.spanner.admin.database.v1.DatabaseAdmin.UpdateBackup] operation.
@@ -129,10 +168,13 @@ public interface BackupOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
    * Required for the [UpdateBackup][google.spanner.admin.database.v1.DatabaseAdmin.UpdateBackup] operation.
@@ -148,74 +190,100 @@ public interface BackupOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Output only. The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
    * request is received. If the request does not specify `version_time`, the
    * `version_time` of the backup will be equivalent to the `create_time`.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
    * request is received. If the request does not specify `version_time`, the
    * `version_time` of the backup will be equivalent to the `create_time`.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]
    * request is received. If the request does not specify `version_time`, the
    * `version_time` of the backup will be equivalent to the `create_time`.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. Size of the backup in bytes.
    * 
* * int64 size_bytes = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The sizeBytes. */ long getSizeBytes(); /** + * + * *
    * Output only. The current state of the backup.
    * 
* - * .google.spanner.admin.database.v1.Backup.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.Backup.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. The current state of the backup.
    * 
* - * .google.spanner.admin.database.v1.Backup.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.Backup.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.spanner.admin.database.v1.Backup.State getState(); /** + * + * *
    * Output only. The names of the restored databases that reference the backup.
    * The database names are of
@@ -226,12 +294,16 @@ public interface BackupOrBuilder extends
    * to the backup is removed.
    * 
* - * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return A list containing the referencingDatabases. */ - java.util.List - getReferencingDatabasesList(); + java.util.List getReferencingDatabasesList(); /** + * + * *
    * Output only. The names of the restored databases that reference the backup.
    * The database names are of
@@ -242,11 +314,16 @@ public interface BackupOrBuilder extends
    * to the backup is removed.
    * 
* - * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The count of referencingDatabases. */ int getReferencingDatabasesCount(); /** + * + * *
    * Output only. The names of the restored databases that reference the backup.
    * The database names are of
@@ -257,12 +334,17 @@ public interface BackupOrBuilder extends
    * to the backup is removed.
    * 
* - * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param index The index of the element to return. * @return The referencingDatabases at the given index. */ java.lang.String getReferencingDatabases(int index); /** + * + * *
    * Output only. The names of the restored databases that reference the backup.
    * The database names are of
@@ -273,60 +355,88 @@ public interface BackupOrBuilder extends
    * to the backup is removed.
    * 
* - * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * repeated string referencing_databases = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param index The index of the value to return. * @return The bytes of the referencingDatabases at the given index. */ - com.google.protobuf.ByteString - getReferencingDatabasesBytes(int index); + com.google.protobuf.ByteString getReferencingDatabasesBytes(int index); /** + * + * *
    * Output only. The encryption information for the backup.
    * 
* - * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the encryptionInfo field is set. */ boolean hasEncryptionInfo(); /** + * + * *
    * Output only. The encryption information for the backup.
    * 
* - * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The encryptionInfo. */ com.google.spanner.admin.database.v1.EncryptionInfo getEncryptionInfo(); /** + * + * *
    * Output only. The encryption information for the backup.
    * 
* - * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder(); /** + * + * *
    * Output only. The database dialect information for the backup.
    * 
* - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for databaseDialect. */ int getDatabaseDialectValue(); /** + * + * *
    * Output only. The database dialect information for the backup.
    * 
* - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The databaseDialect. */ com.google.spanner.admin.database.v1.DatabaseDialect getDatabaseDialect(); /** + * + * *
    * Output only. The names of the destination backups being created by copying
    * this source backup. The backup names are of the form
@@ -337,12 +447,16 @@ public interface BackupOrBuilder extends
    * destination backup is deleted), the reference to the backup is removed.
    * 
* - * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return A list containing the referencingBackups. */ - java.util.List - getReferencingBackupsList(); + java.util.List getReferencingBackupsList(); /** + * + * *
    * Output only. The names of the destination backups being created by copying
    * this source backup. The backup names are of the form
@@ -353,11 +467,16 @@ public interface BackupOrBuilder extends
    * destination backup is deleted), the reference to the backup is removed.
    * 
* - * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The count of referencingBackups. */ int getReferencingBackupsCount(); /** + * + * *
    * Output only. The names of the destination backups being created by copying
    * this source backup. The backup names are of the form
@@ -368,12 +487,17 @@ public interface BackupOrBuilder extends
    * destination backup is deleted), the reference to the backup is removed.
    * 
* - * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param index The index of the element to return. * @return The referencingBackups at the given index. */ java.lang.String getReferencingBackups(int index); /** + * + * *
    * Output only. The names of the destination backups being created by copying
    * this source backup. The backup names are of the form
@@ -384,14 +508,18 @@ public interface BackupOrBuilder extends
    * destination backup is deleted), the reference to the backup is removed.
    * 
* - * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param index The index of the value to return. * @return The bytes of the referencingBackups at the given index. */ - com.google.protobuf.ByteString - getReferencingBackupsBytes(int index); + com.google.protobuf.ByteString getReferencingBackupsBytes(int index); /** + * + * *
    * Output only. The max allowed expiration time of the backup, with
    * microseconds granularity. A backup's expiration time can be configured in
@@ -400,11 +528,16 @@ public interface BackupOrBuilder extends
    * less than `Backup.max_expire_time`.
    * 
* - * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the maxExpireTime field is set. */ boolean hasMaxExpireTime(); /** + * + * *
    * Output only. The max allowed expiration time of the backup, with
    * microseconds granularity. A backup's expiration time can be configured in
@@ -413,11 +546,16 @@ public interface BackupOrBuilder extends
    * less than `Backup.max_expire_time`.
    * 
* - * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The maxExpireTime. */ com.google.protobuf.Timestamp getMaxExpireTime(); /** + * + * *
    * Output only. The max allowed expiration time of the backup, with
    * microseconds granularity. A backup's expiration time can be configured in
@@ -426,7 +564,9 @@ public interface BackupOrBuilder extends
    * less than `Backup.max_expire_time`.
    * 
* - * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp max_expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getMaxExpireTimeOrBuilder(); } diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupProto.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupProto.java new file mode 100644 index 00000000000..0d0d3d7b1d3 --- /dev/null +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/BackupProto.java @@ -0,0 +1,364 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/spanner/admin/database/v1/backup.proto + +package com.google.spanner.admin.database.v1; + +public final class BackupProto { + private BackupProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_Backup_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_Backup_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_CreateBackupRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_CreateBackupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_CreateBackupMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_CreateBackupMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_CopyBackupRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_CopyBackupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_CopyBackupMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_CopyBackupMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_UpdateBackupRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_UpdateBackupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_GetBackupRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_GetBackupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_DeleteBackupRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_DeleteBackupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_ListBackupsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_ListBackupsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_ListBackupsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_ListBackupsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_ListBackupOperationsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_ListBackupOperationsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_ListBackupOperationsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_ListBackupOperationsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_BackupInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_BackupInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_CreateBackupEncryptionConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_CreateBackupEncryptionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_CopyBackupEncryptionConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_CopyBackupEncryptionConfig_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n-google/spanner/admin/database/v1/backu" + + "p.proto\022 google.spanner.admin.database.v" + + "1\032\037google/api/field_behavior.proto\032\031goog" + + "le/api/resource.proto\032#google/longrunnin" + + "g/operations.proto\032 google/protobuf/fiel" + + "d_mask.proto\032\037google/protobuf/timestamp." + + "proto\032-google/spanner/admin/database/v1/" + + "common.proto\"\303\006\n\006Backup\0226\n\010database\030\002 \001(" + + "\tB$\372A!\n\037spanner.googleapis.com/Database\022" + + "0\n\014version_time\030\t \001(\0132\032.google.protobuf." + + "Timestamp\022/\n\013expire_time\030\003 \001(\0132\032.google." + + "protobuf.Timestamp\022\014\n\004name\030\001 \001(\t\0224\n\013crea" + + "te_time\030\004 \001(\0132\032.google.protobuf.Timestam" + + "pB\003\340A\003\022\027\n\nsize_bytes\030\005 \001(\003B\003\340A\003\022B\n\005state" + + "\030\006 \001(\0162..google.spanner.admin.database.v" + + "1.Backup.StateB\003\340A\003\022F\n\025referencing_datab" + + "ases\030\007 \003(\tB\'\340A\003\372A!\n\037spanner.googleapis.c" + + "om/Database\022N\n\017encryption_info\030\010 \001(\01320.g" + + "oogle.spanner.admin.database.v1.Encrypti" + + "onInfoB\003\340A\003\022P\n\020database_dialect\030\n \001(\01621." + + "google.spanner.admin.database.v1.Databas" + + "eDialectB\003\340A\003\022B\n\023referencing_backups\030\013 \003" + + "(\tB%\340A\003\372A\037\n\035spanner.googleapis.com/Backu" + + "p\0228\n\017max_expire_time\030\014 \001(\0132\032.google.prot" + + "obuf.TimestampB\003\340A\003\"7\n\005State\022\025\n\021STATE_UN" + + "SPECIFIED\020\000\022\014\n\010CREATING\020\001\022\t\n\005READY\020\002:\\\352A" + + "Y\n\035spanner.googleapis.com/Backup\0228projec" + + "ts/{project}/instances/{instance}/backup" + + "s/{backup}\"\205\002\n\023CreateBackupRequest\0227\n\006pa" + + "rent\030\001 \001(\tB\'\340A\002\372A!\n\037spanner.googleapis.c" + + "om/Instance\022\026\n\tbackup_id\030\002 \001(\tB\003\340A\002\022=\n\006b" + + "ackup\030\003 \001(\0132(.google.spanner.admin.datab" + + "ase.v1.BackupB\003\340A\002\022^\n\021encryption_config\030" + + "\004 \001(\0132>.google.spanner.admin.database.v1" + + ".CreateBackupEncryptionConfigB\003\340A\001\"\370\001\n\024C" + + "reateBackupMetadata\0220\n\004name\030\001 \001(\tB\"\372A\037\n\035" + + "spanner.googleapis.com/Backup\0226\n\010databas" + + "e\030\002 \001(\tB$\372A!\n\037spanner.googleapis.com/Dat" + + "abase\022E\n\010progress\030\003 \001(\01323.google.spanner" + + ".admin.database.v1.OperationProgress\022/\n\013" + + "cancel_time\030\004 \001(\0132\032.google.protobuf.Time" + + "stamp\"\266\002\n\021CopyBackupRequest\0227\n\006parent\030\001 " + + "\001(\tB\'\340A\002\372A!\n\037spanner.googleapis.com/Inst" + + "ance\022\026\n\tbackup_id\030\002 \001(\tB\003\340A\002\022<\n\rsource_b" + + "ackup\030\003 \001(\tB%\340A\002\372A\037\n\035spanner.googleapis." + + "com/Backup\0224\n\013expire_time\030\004 \001(\0132\032.google" + + ".protobuf.TimestampB\003\340A\002\022\\\n\021encryption_c" + + "onfig\030\005 \001(\0132<.google.spanner.admin.datab" + + "ase.v1.CopyBackupEncryptionConfigB\003\340A\001\"\371" + + "\001\n\022CopyBackupMetadata\0220\n\004name\030\001 \001(\tB\"\372A\037" + + "\n\035spanner.googleapis.com/Backup\0229\n\rsourc" + + "e_backup\030\002 \001(\tB\"\372A\037\n\035spanner.googleapis." + + "com/Backup\022E\n\010progress\030\003 \001(\01323.google.sp" + + "anner.admin.database.v1.OperationProgres" + + "s\022/\n\013cancel_time\030\004 \001(\0132\032.google.protobuf" + + ".Timestamp\"\212\001\n\023UpdateBackupRequest\022=\n\006ba" + + "ckup\030\001 \001(\0132(.google.spanner.admin.databa" + + "se.v1.BackupB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032" + + ".google.protobuf.FieldMaskB\003\340A\002\"G\n\020GetBa" + + "ckupRequest\0223\n\004name\030\001 \001(\tB%\340A\002\372A\037\n\035spann" + + "er.googleapis.com/Backup\"J\n\023DeleteBackup" + + "Request\0223\n\004name\030\001 \001(\tB%\340A\002\372A\037\n\035spanner.g" + + "oogleapis.com/Backup\"\204\001\n\022ListBackupsRequ" + + "est\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\n\037spanner.goo" + + "gleapis.com/Instance\022\016\n\006filter\030\002 \001(\t\022\021\n\t" + + "page_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\"i\n\023L" + + "istBackupsResponse\0229\n\007backups\030\001 \003(\0132(.go" + + "ogle.spanner.admin.database.v1.Backup\022\027\n" + + "\017next_page_token\030\002 \001(\t\"\215\001\n\033ListBackupOpe" + + "rationsRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\n\037" + + "spanner.googleapis.com/Instance\022\016\n\006filte" + + "r\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_token" + + "\030\004 \001(\t\"j\n\034ListBackupOperationsResponse\0221" + + "\n\noperations\030\001 \003(\0132\035.google.longrunning." + + "Operation\022\027\n\017next_page_token\030\002 \001(\t\"\342\001\n\nB" + + "ackupInfo\0222\n\006backup\030\001 \001(\tB\"\372A\037\n\035spanner." + + "googleapis.com/Backup\0220\n\014version_time\030\004 " + + "\001(\0132\032.google.protobuf.Timestamp\022/\n\013creat" + + "e_time\030\002 \001(\0132\032.google.protobuf.Timestamp" + + "\022=\n\017source_database\030\003 \001(\tB$\372A!\n\037spanner." + + "googleapis.com/Database\"\335\002\n\034CreateBackup" + + "EncryptionConfig\022k\n\017encryption_type\030\001 \001(" + + "\0162M.google.spanner.admin.database.v1.Cre" + + "ateBackupEncryptionConfig.EncryptionType" + + "B\003\340A\002\022?\n\014kms_key_name\030\002 \001(\tB)\340A\001\372A#\n!clo" + + "udkms.googleapis.com/CryptoKey\"\216\001\n\016Encry" + + "ptionType\022\037\n\033ENCRYPTION_TYPE_UNSPECIFIED" + + "\020\000\022\033\n\027USE_DATABASE_ENCRYPTION\020\001\022\035\n\031GOOGL" + + "E_DEFAULT_ENCRYPTION\020\002\022\037\n\033CUSTOMER_MANAG" + + "ED_ENCRYPTION\020\003\"\351\002\n\032CopyBackupEncryption" + + "Config\022i\n\017encryption_type\030\001 \001(\0162K.google" + + ".spanner.admin.database.v1.CopyBackupEnc" + + "ryptionConfig.EncryptionTypeB\003\340A\002\022?\n\014kms" + + "_key_name\030\002 \001(\tB)\340A\001\372A#\n!cloudkms.google" + + "apis.com/CryptoKey\"\236\001\n\016EncryptionType\022\037\n" + + "\033ENCRYPTION_TYPE_UNSPECIFIED\020\000\022+\n\'USE_CO" + + "NFIG_DEFAULT_OR_BACKUP_ENCRYPTION\020\001\022\035\n\031G" + + "OOGLE_DEFAULT_ENCRYPTION\020\002\022\037\n\033CUSTOMER_M" + + "ANAGED_ENCRYPTION\020\003B\375\001\n$com.google.spann" + + "er.admin.database.v1B\013BackupProtoP\001ZFclo" + + "ud.google.com/go/spanner/admin/database/" + + "apiv1/databasepb;databasepb\252\002&Google.Clo" + + "ud.Spanner.Admin.Database.V1\312\002&Google\\Cl" + + "oud\\Spanner\\Admin\\Database\\V1\352\002+Google::" + + "Cloud::Spanner::Admin::Database::V1b\006pro" + + "to3" + }; + 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.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.spanner.admin.database.v1.CommonProto.getDescriptor(), + }); + internal_static_google_spanner_admin_database_v1_Backup_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_spanner_admin_database_v1_Backup_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_Backup_descriptor, + new java.lang.String[] { + "Database", + "VersionTime", + "ExpireTime", + "Name", + "CreateTime", + "SizeBytes", + "State", + "ReferencingDatabases", + "EncryptionInfo", + "DatabaseDialect", + "ReferencingBackups", + "MaxExpireTime", + }); + internal_static_google_spanner_admin_database_v1_CreateBackupRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_spanner_admin_database_v1_CreateBackupRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_CreateBackupRequest_descriptor, + new java.lang.String[] { + "Parent", "BackupId", "Backup", "EncryptionConfig", + }); + internal_static_google_spanner_admin_database_v1_CreateBackupMetadata_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_spanner_admin_database_v1_CreateBackupMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_CreateBackupMetadata_descriptor, + new java.lang.String[] { + "Name", "Database", "Progress", "CancelTime", + }); + internal_static_google_spanner_admin_database_v1_CopyBackupRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_spanner_admin_database_v1_CopyBackupRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_CopyBackupRequest_descriptor, + new java.lang.String[] { + "Parent", "BackupId", "SourceBackup", "ExpireTime", "EncryptionConfig", + }); + internal_static_google_spanner_admin_database_v1_CopyBackupMetadata_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_spanner_admin_database_v1_CopyBackupMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_CopyBackupMetadata_descriptor, + new java.lang.String[] { + "Name", "SourceBackup", "Progress", "CancelTime", + }); + internal_static_google_spanner_admin_database_v1_UpdateBackupRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_spanner_admin_database_v1_UpdateBackupRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_UpdateBackupRequest_descriptor, + new java.lang.String[] { + "Backup", "UpdateMask", + }); + internal_static_google_spanner_admin_database_v1_GetBackupRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_spanner_admin_database_v1_GetBackupRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_GetBackupRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_spanner_admin_database_v1_DeleteBackupRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_spanner_admin_database_v1_DeleteBackupRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_DeleteBackupRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_spanner_admin_database_v1_ListBackupsRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_spanner_admin_database_v1_ListBackupsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_ListBackupsRequest_descriptor, + new java.lang.String[] { + "Parent", "Filter", "PageSize", "PageToken", + }); + internal_static_google_spanner_admin_database_v1_ListBackupsResponse_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_spanner_admin_database_v1_ListBackupsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_ListBackupsResponse_descriptor, + new java.lang.String[] { + "Backups", "NextPageToken", + }); + internal_static_google_spanner_admin_database_v1_ListBackupOperationsRequest_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_spanner_admin_database_v1_ListBackupOperationsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_ListBackupOperationsRequest_descriptor, + new java.lang.String[] { + "Parent", "Filter", "PageSize", "PageToken", + }); + internal_static_google_spanner_admin_database_v1_ListBackupOperationsResponse_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_spanner_admin_database_v1_ListBackupOperationsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_ListBackupOperationsResponse_descriptor, + new java.lang.String[] { + "Operations", "NextPageToken", + }); + internal_static_google_spanner_admin_database_v1_BackupInfo_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_spanner_admin_database_v1_BackupInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_BackupInfo_descriptor, + new java.lang.String[] { + "Backup", "VersionTime", "CreateTime", "SourceDatabase", + }); + internal_static_google_spanner_admin_database_v1_CreateBackupEncryptionConfig_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_spanner_admin_database_v1_CreateBackupEncryptionConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_CreateBackupEncryptionConfig_descriptor, + new java.lang.String[] { + "EncryptionType", "KmsKeyName", + }); + internal_static_google_spanner_admin_database_v1_CopyBackupEncryptionConfig_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_spanner_admin_database_v1_CopyBackupEncryptionConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_CopyBackupEncryptionConfig_descriptor, + new java.lang.String[] { + "EncryptionType", "KmsKeyName", + }); + 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.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.spanner.admin.database.v1.CommonProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CommonProto.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CommonProto.java new file mode 100644 index 00000000000..a381d3c5122 --- /dev/null +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CommonProto.java @@ -0,0 +1,134 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/spanner/admin/database/v1/common.proto + +package com.google.spanner.admin.database.v1; + +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_spanner_admin_database_v1_OperationProgress_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_OperationProgress_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_EncryptionConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_EncryptionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_EncryptionInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_EncryptionInfo_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n-google/spanner/admin/database/v1/commo" + + "n.proto\022 google.spanner.admin.database.v" + + "1\032\037google/api/field_behavior.proto\032\031goog" + + "le/api/resource.proto\032\037google/protobuf/t" + + "imestamp.proto\032\027google/rpc/status.proto\"" + + "\213\001\n\021OperationProgress\022\030\n\020progress_percen" + + "t\030\001 \001(\005\022.\n\nstart_time\030\002 \001(\0132\032.google.pro" + + "tobuf.Timestamp\022,\n\010end_time\030\003 \001(\0132\032.goog" + + "le.protobuf.Timestamp\"P\n\020EncryptionConfi" + + "g\022<\n\014kms_key_name\030\002 \001(\tB&\372A#\n!cloudkms.g" + + "oogleapis.com/CryptoKey\"\302\002\n\016EncryptionIn" + + "fo\022S\n\017encryption_type\030\003 \001(\01625.google.spa" + + "nner.admin.database.v1.EncryptionInfo.Ty" + + "peB\003\340A\003\0222\n\021encryption_status\030\004 \001(\0132\022.goo" + + "gle.rpc.StatusB\003\340A\003\022I\n\017kms_key_version\030\002" + + " \001(\tB0\340A\003\372A*\n(cloudkms.googleapis.com/Cr" + + "yptoKeyVersion\"\\\n\004Type\022\024\n\020TYPE_UNSPECIFI" + + "ED\020\000\022\035\n\031GOOGLE_DEFAULT_ENCRYPTION\020\001\022\037\n\033C" + + "USTOMER_MANAGED_ENCRYPTION\020\002*\\\n\017Database" + + "Dialect\022 \n\034DATABASE_DIALECT_UNSPECIFIED\020" + + "\000\022\027\n\023GOOGLE_STANDARD_SQL\020\001\022\016\n\nPOSTGRESQL" + + "\020\002B\242\004\n$com.google.spanner.admin.database" + + ".v1B\013CommonProtoP\001ZFcloud.google.com/go/" + + "spanner/admin/database/apiv1/databasepb;" + + "databasepb\252\002&Google.Cloud.Spanner.Admin." + + "Database.V1\312\002&Google\\Cloud\\Spanner\\Admin" + + "\\Database\\V1\352\002+Google::Cloud::Spanner::A" + + "dmin::Database::V1\352Ax\n!cloudkms.googleap" + + "is.com/CryptoKey\022Sprojects/{project}/loc" + + "ations/{location}/keyRings/{key_ring}/cr" + + "yptoKeys/{crypto_key}\352A\246\001\n(cloudkms.goog" + + "leapis.com/CryptoKeyVersion\022zprojects/{p" + + "roject}/locations/{location}/keyRings/{k" + + "ey_ring}/cryptoKeys/{crypto_key}/cryptoK" + + "eyVersions/{crypto_key_version}b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_spanner_admin_database_v1_OperationProgress_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_spanner_admin_database_v1_OperationProgress_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_OperationProgress_descriptor, + new java.lang.String[] { + "ProgressPercent", "StartTime", "EndTime", + }); + internal_static_google_spanner_admin_database_v1_EncryptionConfig_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_spanner_admin_database_v1_EncryptionConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_EncryptionConfig_descriptor, + new java.lang.String[] { + "KmsKeyName", + }); + internal_static_google_spanner_admin_database_v1_EncryptionInfo_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_spanner_admin_database_v1_EncryptionInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_EncryptionInfo_descriptor, + new java.lang.String[] { + "EncryptionType", "EncryptionStatus", "KmsKeyVersion", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + 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.TimestampProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupEncryptionConfig.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupEncryptionConfig.java similarity index 62% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupEncryptionConfig.java rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupEncryptionConfig.java index 7cb7272c2b3..3b571fd926b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupEncryptionConfig.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupEncryptionConfig.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/backup.proto package com.google.spanner.admin.database.v1; /** + * + * *
  * Encryption configuration for the copied backup.
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.CopyBackupEncryptionConfig} */ -public final class CopyBackupEncryptionConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CopyBackupEncryptionConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.CopyBackupEncryptionConfig) CopyBackupEncryptionConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CopyBackupEncryptionConfig.newBuilder() to construct. private CopyBackupEncryptionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CopyBackupEncryptionConfig() { encryptionType_ = 0; kmsKeyName_ = ""; @@ -26,39 +44,44 @@ private CopyBackupEncryptionConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CopyBackupEncryptionConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CopyBackupEncryptionConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.admin.database.v1.BackupProto + .internal_static_google_spanner_admin_database_v1_CopyBackupEncryptionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CopyBackupEncryptionConfig_fieldAccessorTable + return com.google.spanner.admin.database.v1.BackupProto + .internal_static_google_spanner_admin_database_v1_CopyBackupEncryptionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.class, com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.Builder.class); + com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.class, + com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.Builder.class); } /** + * + * *
    * Encryption types for the backup.
    * 
* - * Protobuf enum {@code google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType} + * Protobuf enum {@code + * google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType} */ - public enum EncryptionType - implements com.google.protobuf.ProtocolMessageEnum { + public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified. Do not use.
      * 
@@ -67,6 +90,8 @@ public enum EncryptionType */ ENCRYPTION_TYPE_UNSPECIFIED(0), /** + * + * *
      * This is the default option for [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup]
      * when [encryption_config][google.spanner.admin.database.v1.CopyBackupEncryptionConfig] is not specified.
@@ -78,6 +103,8 @@ public enum EncryptionType
      */
     USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION(1),
     /**
+     *
+     *
      * 
      * Use Google default encryption.
      * 
@@ -86,6 +113,8 @@ public enum EncryptionType */ GOOGLE_DEFAULT_ENCRYPTION(2), /** + * + * *
      * Use customer managed encryption. If specified, `kms_key_name`
      * must contain a valid Cloud KMS key.
@@ -98,6 +127,8 @@ public enum EncryptionType
     ;
 
     /**
+     *
+     *
      * 
      * Unspecified. Do not use.
      * 
@@ -106,6 +137,8 @@ public enum EncryptionType */ public static final int ENCRYPTION_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * This is the default option for [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup]
      * when [encryption_config][google.spanner.admin.database.v1.CopyBackupEncryptionConfig] is not specified.
@@ -117,6 +150,8 @@ public enum EncryptionType
      */
     public static final int USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION_VALUE = 1;
     /**
+     *
+     *
      * 
      * Use Google default encryption.
      * 
@@ -125,6 +160,8 @@ public enum EncryptionType */ public static final int GOOGLE_DEFAULT_ENCRYPTION_VALUE = 2; /** + * + * *
      * Use customer managed encryption. If specified, `kms_key_name`
      * must contain a valid Cloud KMS key.
@@ -134,7 +171,6 @@ public enum EncryptionType
      */
     public static final int CUSTOMER_MANAGED_ENCRYPTION_VALUE = 3;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -159,50 +195,53 @@ public static EncryptionType valueOf(int value) {
      */
     public static EncryptionType forNumber(int value) {
       switch (value) {
-        case 0: return ENCRYPTION_TYPE_UNSPECIFIED;
-        case 1: return USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION;
-        case 2: return GOOGLE_DEFAULT_ENCRYPTION;
-        case 3: return CUSTOMER_MANAGED_ENCRYPTION;
-        default: return null;
+        case 0:
+          return ENCRYPTION_TYPE_UNSPECIFIED;
+        case 1:
+          return USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION;
+        case 2:
+          return GOOGLE_DEFAULT_ENCRYPTION;
+        case 3:
+          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() {
-      return com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.getDescriptor().getEnumTypes().get(0);
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+      return com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.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;
@@ -222,33 +261,54 @@ private EncryptionType(int value) {
   public static final int ENCRYPTION_TYPE_FIELD_NUMBER = 1;
   private int encryptionType_ = 0;
   /**
+   *
+   *
    * 
    * Required. The encryption type of the backup.
    * 
* - * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for encryptionType. */ - @java.lang.Override public int getEncryptionTypeValue() { + @java.lang.Override + public int getEncryptionTypeValue() { return encryptionType_; } /** + * + * *
    * Required. The encryption type of the backup.
    * 
* - * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The encryptionType. */ - @java.lang.Override public com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType getEncryptionType() { - com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType result = com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType.forNumber(encryptionType_); - return result == null ? com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType + getEncryptionType() { + com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType result = + com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType.forNumber( + encryptionType_); + return result == null + ? com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType + .UNRECOGNIZED + : result; } public static final int KMS_KEY_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object kmsKeyName_ = ""; /** + * + * *
    * Optional. The Cloud KMS key that will be used to protect the backup.
    * This field should be set only when
@@ -257,7 +317,10 @@ private EncryptionType(int value) {
    * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
    * 
* - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The kmsKeyName. */ @java.lang.Override @@ -266,14 +329,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; } } /** + * + * *
    * Optional. The Cloud KMS key that will be used to protect the backup.
    * This field should be set only when
@@ -282,17 +346,18 @@ public java.lang.String getKmsKeyName() {
    * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
    * 
* - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.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 { @@ -301,6 +366,7 @@ public java.lang.String getKmsKeyName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -312,9 +378,11 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (encryptionType_ != com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType.ENCRYPTION_TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (encryptionType_ + != com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType + .ENCRYPTION_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, encryptionType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyName_)) { @@ -329,9 +397,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (encryptionType_ != com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType.ENCRYPTION_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, encryptionType_); + if (encryptionType_ + != com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType + .ENCRYPTION_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, encryptionType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, kmsKeyName_); @@ -344,16 +414,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.spanner.admin.database.v1.CopyBackupEncryptionConfig)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig other = (com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig) obj; + com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig other = + (com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig) obj; if (encryptionType_ != other.encryptionType_) return false; - if (!getKmsKeyName() - .equals(other.getKmsKeyName())) return false; + if (!getKmsKeyName().equals(other.getKmsKeyName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -375,129 +445,136 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig prototype) { + + public static Builder newBuilder( + com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 configuration for the copied backup.
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.CopyBackupEncryptionConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.CopyBackupEncryptionConfig) com.google.spanner.admin.database.v1.CopyBackupEncryptionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CopyBackupEncryptionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.admin.database.v1.BackupProto + .internal_static_google_spanner_admin_database_v1_CopyBackupEncryptionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CopyBackupEncryptionConfig_fieldAccessorTable + return com.google.spanner.admin.database.v1.BackupProto + .internal_static_google_spanner_admin_database_v1_CopyBackupEncryptionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.class, com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.Builder.class); + com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.class, + com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.Builder.class); } // Construct using com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -508,13 +585,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CopyBackupEncryptionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.spanner.admin.database.v1.BackupProto + .internal_static_google_spanner_admin_database_v1_CopyBackupEncryptionConfig_descriptor; } @java.lang.Override - public com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig getDefaultInstanceForType() { + public com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig + getDefaultInstanceForType() { return com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.getDefaultInstance(); } @@ -529,13 +607,17 @@ public com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig build() { @java.lang.Override public com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig buildPartial() { - com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig result = new com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig result = + new com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig result) { + private void buildPartial0( + com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.encryptionType_ = encryptionType_; @@ -549,46 +631,50 @@ private void buildPartial0(com.google.spanner.admin.database.v1.CopyBackupEncryp public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig) { - return mergeFrom((com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig)other); + return mergeFrom((com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig other) { - if (other == com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig other) { + if (other + == com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.getDefaultInstance()) + return this; if (other.encryptionType_ != 0) { setEncryptionTypeValue(other.getEncryptionTypeValue()); } @@ -623,22 +709,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - encryptionType_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - kmsKeyName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + encryptionType_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + kmsKeyName_ = 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) { @@ -648,26 +737,38 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int encryptionType_ = 0; /** + * + * *
      * Required. The encryption type of the backup.
      * 
* - * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for encryptionType. */ - @java.lang.Override public int getEncryptionTypeValue() { + @java.lang.Override + public int getEncryptionTypeValue() { return encryptionType_; } /** + * + * *
      * Required. The encryption type of the backup.
      * 
* - * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for encryptionType to set. * @return This builder for chaining. */ @@ -678,28 +779,45 @@ public Builder setEncryptionTypeValue(int value) { return this; } /** + * + * *
      * Required. The encryption type of the backup.
      * 
* - * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The encryptionType. */ @java.lang.Override - public com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType getEncryptionType() { - com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType result = com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType.forNumber(encryptionType_); - return result == null ? com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType.UNRECOGNIZED : result; + public com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType + getEncryptionType() { + com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType result = + com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType.forNumber( + encryptionType_); + return result == null + ? com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType + .UNRECOGNIZED + : result; } /** + * + * *
      * Required. The encryption type of the backup.
      * 
* - * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The encryptionType to set. * @return This builder for chaining. */ - public Builder setEncryptionType(com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType value) { + public Builder setEncryptionType( + com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType value) { if (value == null) { throw new NullPointerException(); } @@ -709,11 +827,16 @@ public Builder setEncryptionType(com.google.spanner.admin.database.v1.CopyBackup return this; } /** + * + * *
      * Required. The encryption type of the backup.
      * 
* - * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearEncryptionType() { @@ -725,6 +848,8 @@ public Builder clearEncryptionType() { private java.lang.Object kmsKeyName_ = ""; /** + * + * *
      * Optional. The Cloud KMS key that will be used to protect the backup.
      * This field should be set only when
@@ -733,14 +858,16 @@ public Builder clearEncryptionType() {
      * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
      * 
* - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.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; @@ -749,6 +876,8 @@ public java.lang.String getKmsKeyName() { } } /** + * + * *
      * Optional. The Cloud KMS key that will be used to protect the backup.
      * This field should be set only when
@@ -757,16 +886,17 @@ public java.lang.String getKmsKeyName() {
      * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
      * 
* - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.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 { @@ -774,6 +904,8 @@ public java.lang.String getKmsKeyName() { } } /** + * + * *
      * Optional. The Cloud KMS key that will be used to protect the backup.
      * This field should be set only when
@@ -782,19 +914,25 @@ public java.lang.String getKmsKeyName() {
      * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
      * 
* - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.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_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. The Cloud KMS key that will be used to protect the backup.
      * This field should be set only when
@@ -803,7 +941,10 @@ public Builder setKmsKeyName(
      * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
      * 
* - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearKmsKeyName() { @@ -813,6 +954,8 @@ public Builder clearKmsKeyName() { return this; } /** + * + * *
      * Optional. The Cloud KMS key that will be used to protect the backup.
      * This field should be set only when
@@ -821,22 +964,26 @@ public Builder clearKmsKeyName() {
      * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
      * 
* - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.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_ |= 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); } @@ -846,41 +993,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.CopyBackupEncryptionConfig) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.CopyBackupEncryptionConfig) - private static final com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig DEFAULT_INSTANCE; + private static final com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig(); } - public static com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig getDefaultInstance() { + public static com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CopyBackupEncryptionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CopyBackupEncryptionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -892,9 +1041,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig getDefaultInstanceForType() { + public com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupEncryptionConfigOrBuilder.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupEncryptionConfigOrBuilder.java similarity index 53% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupEncryptionConfigOrBuilder.java rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupEncryptionConfigOrBuilder.java index 3b70bee0df7..a6117dfb660 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupEncryptionConfigOrBuilder.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupEncryptionConfigOrBuilder.java @@ -1,32 +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/spanner/admin/database/v1/backup.proto package com.google.spanner.admin.database.v1; -public interface CopyBackupEncryptionConfigOrBuilder extends +public interface CopyBackupEncryptionConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.CopyBackupEncryptionConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The encryption type of the backup.
    * 
* - * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for encryptionType. */ int getEncryptionTypeValue(); /** + * + * *
    * Required. The encryption type of the backup.
    * 
* - * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The encryptionType. */ - com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType getEncryptionType(); + com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType + getEncryptionType(); /** + * + * *
    * Optional. The Cloud KMS key that will be used to protect the backup.
    * This field should be set only when
@@ -35,11 +64,16 @@ public interface CopyBackupEncryptionConfigOrBuilder extends
    * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
    * 
* - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The kmsKeyName. */ java.lang.String getKmsKeyName(); /** + * + * *
    * Optional. The Cloud KMS key that will be used to protect the backup.
    * This field should be set only when
@@ -48,9 +82,11 @@ public interface CopyBackupEncryptionConfigOrBuilder extends
    * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
    * 
* - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for kmsKeyName. */ - com.google.protobuf.ByteString - getKmsKeyNameBytes(); + com.google.protobuf.ByteString getKmsKeyNameBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupMetadata.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupMetadata.java similarity index 76% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupMetadata.java rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupMetadata.java index 19b78d08b22..f2bc437a1ad 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupMetadata.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupMetadata.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/backup.proto package com.google.spanner.admin.database.v1; /** + * + * *
  * Metadata type for the google.longrunning.Operation returned by
  * [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.spanner.admin.database.v1.CopyBackupMetadata}
  */
-public final class CopyBackupMetadata extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CopyBackupMetadata extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.CopyBackupMetadata)
     CopyBackupMetadataOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CopyBackupMetadata.newBuilder() to construct.
   private CopyBackupMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private CopyBackupMetadata() {
     name_ = "";
     sourceBackup_ = "";
@@ -27,33 +45,37 @@ private CopyBackupMetadata() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CopyBackupMetadata();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CopyBackupMetadata_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.spanner.admin.database.v1.BackupProto
+        .internal_static_google_spanner_admin_database_v1_CopyBackupMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CopyBackupMetadata_fieldAccessorTable
+    return com.google.spanner.admin.database.v1.BackupProto
+        .internal_static_google_spanner_admin_database_v1_CopyBackupMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.database.v1.CopyBackupMetadata.class, com.google.spanner.admin.database.v1.CopyBackupMetadata.Builder.class);
+            com.google.spanner.admin.database.v1.CopyBackupMetadata.class,
+            com.google.spanner.admin.database.v1.CopyBackupMetadata.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * The name of the backup being created through the copy operation.
    * Values are of the form
@@ -61,6 +83,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1 [(.google.api.resource_reference) = { ... } + * * @return The name. */ @java.lang.Override @@ -69,14 +92,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 name of the backup being created through the copy operation.
    * Values are of the form
@@ -84,16 +108,15 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -102,9 +125,12 @@ public java.lang.String getName() { } public static final int SOURCE_BACKUP_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object sourceBackup_ = ""; /** + * + * *
    * The name of the source backup that is being copied.
    * Values are of the form
@@ -112,6 +138,7 @@ public java.lang.String getName() {
    * 
* * string source_backup = 2 [(.google.api.resource_reference) = { ... } + * * @return The sourceBackup. */ @java.lang.Override @@ -120,14 +147,15 @@ public java.lang.String getSourceBackup() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceBackup_ = s; return s; } } /** + * + * *
    * The name of the source backup that is being copied.
    * Values are of the form
@@ -135,16 +163,15 @@ public java.lang.String getSourceBackup() {
    * 
* * string source_backup = 2 [(.google.api.resource_reference) = { ... } + * * @return The bytes for sourceBackup. */ @java.lang.Override - public com.google.protobuf.ByteString - getSourceBackupBytes() { + public com.google.protobuf.ByteString getSourceBackupBytes() { java.lang.Object ref = sourceBackup_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sourceBackup_ = b; return b; } else { @@ -155,12 +182,15 @@ public java.lang.String getSourceBackup() { public static final int PROGRESS_FIELD_NUMBER = 3; private com.google.spanner.admin.database.v1.OperationProgress progress_; /** + * + * *
    * The progress of the
    * [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.
    * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 3; + * * @return Whether the progress field is set. */ @java.lang.Override @@ -168,19 +198,26 @@ public boolean hasProgress() { return progress_ != null; } /** + * + * *
    * The progress of the
    * [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.
    * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 3; + * * @return The progress. */ @java.lang.Override public com.google.spanner.admin.database.v1.OperationProgress getProgress() { - return progress_ == null ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() : progress_; + return progress_ == null + ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() + : progress_; } /** + * + * *
    * The progress of the
    * [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.
@@ -190,12 +227,16 @@ public com.google.spanner.admin.database.v1.OperationProgress getProgress() {
    */
   @java.lang.Override
   public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgressOrBuilder() {
-    return progress_ == null ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() : progress_;
+    return progress_ == null
+        ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance()
+        : progress_;
   }
 
   public static final int CANCEL_TIME_FIELD_NUMBER = 4;
   private com.google.protobuf.Timestamp cancelTime_;
   /**
+   *
+   *
    * 
    * The time at which cancellation of CopyBackup operation was received.
    * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -212,6 +253,7 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre
    * 
* * .google.protobuf.Timestamp cancel_time = 4; + * * @return Whether the cancelTime field is set. */ @java.lang.Override @@ -219,6 +261,8 @@ public boolean hasCancelTime() { return cancelTime_ != null; } /** + * + * *
    * The time at which cancellation of CopyBackup operation was received.
    * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -235,6 +279,7 @@ public boolean hasCancelTime() {
    * 
* * .google.protobuf.Timestamp cancel_time = 4; + * * @return The cancelTime. */ @java.lang.Override @@ -242,6 +287,8 @@ public com.google.protobuf.Timestamp getCancelTime() { return cancelTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : cancelTime_; } /** + * + * *
    * The time at which cancellation of CopyBackup operation was received.
    * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -265,6 +312,7 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -276,8 +324,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_);
     }
@@ -306,12 +353,10 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, sourceBackup_);
     }
     if (progress_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getProgress());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getProgress());
     }
     if (cancelTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, getCancelTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCancelTime());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -321,26 +366,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.spanner.admin.database.v1.CopyBackupMetadata)) {
       return super.equals(obj);
     }
-    com.google.spanner.admin.database.v1.CopyBackupMetadata other = (com.google.spanner.admin.database.v1.CopyBackupMetadata) obj;
+    com.google.spanner.admin.database.v1.CopyBackupMetadata other =
+        (com.google.spanner.admin.database.v1.CopyBackupMetadata) obj;
 
-    if (!getName()
-        .equals(other.getName())) return false;
-    if (!getSourceBackup()
-        .equals(other.getSourceBackup())) return false;
+    if (!getName().equals(other.getName())) return false;
+    if (!getSourceBackup().equals(other.getSourceBackup())) 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 (hasCancelTime() != other.hasCancelTime()) return false;
     if (hasCancelTime()) {
-      if (!getCancelTime()
-          .equals(other.getCancelTime())) return false;
+      if (!getCancelTime().equals(other.getCancelTime())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -371,96 +413,104 @@ public int hashCode() {
   }
 
   public static com.google.spanner.admin.database.v1.CopyBackupMetadata parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.spanner.admin.database.v1.CopyBackupMetadata parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.spanner.admin.database.v1.CopyBackupMetadata parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.spanner.admin.database.v1.CopyBackupMetadata parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.spanner.admin.database.v1.CopyBackupMetadata parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.spanner.admin.database.v1.CopyBackupMetadata parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.spanner.admin.database.v1.CopyBackupMetadata parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.spanner.admin.database.v1.CopyBackupMetadata parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.spanner.admin.database.v1.CopyBackupMetadata parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.spanner.admin.database.v1.CopyBackupMetadata parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.spanner.admin.database.v1.CopyBackupMetadata parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.spanner.admin.database.v1.CopyBackupMetadata parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.spanner.admin.database.v1.CopyBackupMetadata parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.spanner.admin.database.v1.CopyBackupMetadata parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.spanner.admin.database.v1.CopyBackupMetadata prototype) {
+
+  public static Builder newBuilder(
+      com.google.spanner.admin.database.v1.CopyBackupMetadata prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Metadata type for the google.longrunning.Operation returned by
    * [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup].
@@ -468,33 +518,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.spanner.admin.database.v1.CopyBackupMetadata}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.CopyBackupMetadata)
       com.google.spanner.admin.database.v1.CopyBackupMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CopyBackupMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.spanner.admin.database.v1.BackupProto
+          .internal_static_google_spanner_admin_database_v1_CopyBackupMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CopyBackupMetadata_fieldAccessorTable
+      return com.google.spanner.admin.database.v1.BackupProto
+          .internal_static_google_spanner_admin_database_v1_CopyBackupMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.database.v1.CopyBackupMetadata.class, com.google.spanner.admin.database.v1.CopyBackupMetadata.Builder.class);
+              com.google.spanner.admin.database.v1.CopyBackupMetadata.class,
+              com.google.spanner.admin.database.v1.CopyBackupMetadata.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.database.v1.CopyBackupMetadata.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -515,9 +564,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CopyBackupMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.spanner.admin.database.v1.BackupProto
+          .internal_static_google_spanner_admin_database_v1_CopyBackupMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -536,8 +585,11 @@ public com.google.spanner.admin.database.v1.CopyBackupMetadata build() {
 
     @java.lang.Override
     public com.google.spanner.admin.database.v1.CopyBackupMetadata buildPartial() {
-      com.google.spanner.admin.database.v1.CopyBackupMetadata result = new com.google.spanner.admin.database.v1.CopyBackupMetadata(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.spanner.admin.database.v1.CopyBackupMetadata result =
+          new com.google.spanner.admin.database.v1.CopyBackupMetadata(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -551,14 +603,10 @@ private void buildPartial0(com.google.spanner.admin.database.v1.CopyBackupMetada
         result.sourceBackup_ = sourceBackup_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.progress_ = progressBuilder_ == null
-            ? progress_
-            : progressBuilder_.build();
+        result.progress_ = progressBuilder_ == null ? progress_ : progressBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.cancelTime_ = cancelTimeBuilder_ == null
-            ? cancelTime_
-            : cancelTimeBuilder_.build();
+        result.cancelTime_ = cancelTimeBuilder_ == null ? cancelTime_ : cancelTimeBuilder_.build();
       }
     }
 
@@ -566,38 +614,39 @@ private void buildPartial0(com.google.spanner.admin.database.v1.CopyBackupMetada
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.database.v1.CopyBackupMetadata) {
-        return mergeFrom((com.google.spanner.admin.database.v1.CopyBackupMetadata)other);
+        return mergeFrom((com.google.spanner.admin.database.v1.CopyBackupMetadata) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -605,7 +654,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.spanner.admin.database.v1.CopyBackupMetadata other) {
-      if (other == com.google.spanner.admin.database.v1.CopyBackupMetadata.getDefaultInstance()) return this;
+      if (other == com.google.spanner.admin.database.v1.CopyBackupMetadata.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -648,36 +698,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              sourceBackup_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getProgressFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getCancelTimeFieldBuilder().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:
+              {
+                sourceBackup_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getProgressFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(getCancelTimeFieldBuilder().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) {
@@ -687,10 +738,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * The name of the backup being created through the copy operation.
      * Values are of the form
@@ -698,13 +752,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -713,6 +767,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the backup being created through the copy operation.
      * Values are of the form
@@ -720,15 +776,14 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -736,6 +791,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the backup being created through the copy operation.
      * Values are of the form
@@ -743,18 +800,22 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The name of the backup being created through the copy operation.
      * Values are of the form
@@ -762,6 +823,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearName() { @@ -771,6 +833,8 @@ public Builder clearName() { return this; } /** + * + * *
      * The name of the backup being created through the copy operation.
      * Values are of the form
@@ -778,12 +842,14 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -793,6 +859,8 @@ public Builder setNameBytes( private java.lang.Object sourceBackup_ = ""; /** + * + * *
      * The name of the source backup that is being copied.
      * Values are of the form
@@ -800,13 +868,13 @@ public Builder setNameBytes(
      * 
* * string source_backup = 2 [(.google.api.resource_reference) = { ... } + * * @return The sourceBackup. */ public java.lang.String getSourceBackup() { java.lang.Object ref = sourceBackup_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceBackup_ = s; return s; @@ -815,6 +883,8 @@ public java.lang.String getSourceBackup() { } } /** + * + * *
      * The name of the source backup that is being copied.
      * Values are of the form
@@ -822,15 +892,14 @@ public java.lang.String getSourceBackup() {
      * 
* * string source_backup = 2 [(.google.api.resource_reference) = { ... } + * * @return The bytes for sourceBackup. */ - public com.google.protobuf.ByteString - getSourceBackupBytes() { + public com.google.protobuf.ByteString getSourceBackupBytes() { java.lang.Object ref = sourceBackup_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sourceBackup_ = b; return b; } else { @@ -838,6 +907,8 @@ public java.lang.String getSourceBackup() { } } /** + * + * *
      * The name of the source backup that is being copied.
      * Values are of the form
@@ -845,18 +916,22 @@ public java.lang.String getSourceBackup() {
      * 
* * string source_backup = 2 [(.google.api.resource_reference) = { ... } + * * @param value The sourceBackup to set. * @return This builder for chaining. */ - public Builder setSourceBackup( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSourceBackup(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } sourceBackup_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The name of the source backup that is being copied.
      * Values are of the form
@@ -864,6 +939,7 @@ public Builder setSourceBackup(
      * 
* * string source_backup = 2 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearSourceBackup() { @@ -873,6 +949,8 @@ public Builder clearSourceBackup() { return this; } /** + * + * *
      * The name of the source backup that is being copied.
      * Values are of the form
@@ -880,12 +958,14 @@ public Builder clearSourceBackup() {
      * 
* * string source_backup = 2 [(.google.api.resource_reference) = { ... } + * * @param value The bytes for sourceBackup to set. * @return This builder for chaining. */ - public Builder setSourceBackupBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSourceBackupBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); sourceBackup_ = value; bitField0_ |= 0x00000002; @@ -895,36 +975,49 @@ public Builder setSourceBackupBytes( private com.google.spanner.admin.database.v1.OperationProgress progress_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.OperationProgress, com.google.spanner.admin.database.v1.OperationProgress.Builder, com.google.spanner.admin.database.v1.OperationProgressOrBuilder> progressBuilder_; + com.google.spanner.admin.database.v1.OperationProgress, + com.google.spanner.admin.database.v1.OperationProgress.Builder, + com.google.spanner.admin.database.v1.OperationProgressOrBuilder> + progressBuilder_; /** + * + * *
      * The progress of the
      * [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.
      * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 3; + * * @return Whether the progress field is set. */ public boolean hasProgress() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * The progress of the
      * [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.
      * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 3; + * * @return The progress. */ public com.google.spanner.admin.database.v1.OperationProgress getProgress() { if (progressBuilder_ == null) { - return progress_ == null ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() : progress_; + return progress_ == null + ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() + : progress_; } else { return progressBuilder_.getMessage(); } } /** + * + * *
      * The progress of the
      * [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.
@@ -946,6 +1039,8 @@ public Builder setProgress(com.google.spanner.admin.database.v1.OperationProgres
       return this;
     }
     /**
+     *
+     *
      * 
      * The progress of the
      * [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.
@@ -965,6 +1060,8 @@ public Builder setProgress(
       return this;
     }
     /**
+     *
+     *
      * 
      * The progress of the
      * [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.
@@ -974,9 +1071,10 @@ public Builder setProgress(
      */
     public Builder mergeProgress(com.google.spanner.admin.database.v1.OperationProgress value) {
       if (progressBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0) &&
-          progress_ != null &&
-          progress_ != com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0)
+            && progress_ != null
+            && progress_
+                != com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance()) {
           getProgressBuilder().mergeFrom(value);
         } else {
           progress_ = value;
@@ -989,6 +1087,8 @@ public Builder mergeProgress(com.google.spanner.admin.database.v1.OperationProgr
       return this;
     }
     /**
+     *
+     *
      * 
      * The progress of the
      * [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.
@@ -1007,6 +1107,8 @@ public Builder clearProgress() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The progress of the
      * [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.
@@ -1020,6 +1122,8 @@ public com.google.spanner.admin.database.v1.OperationProgress.Builder getProgres
       return getProgressFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The progress of the
      * [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.
@@ -1031,11 +1135,14 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre
       if (progressBuilder_ != null) {
         return progressBuilder_.getMessageOrBuilder();
       } else {
-        return progress_ == null ?
-            com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() : progress_;
+        return progress_ == null
+            ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance()
+            : progress_;
       }
     }
     /**
+     *
+     *
      * 
      * The progress of the
      * [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.
@@ -1044,14 +1151,17 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre
      * .google.spanner.admin.database.v1.OperationProgress progress = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.spanner.admin.database.v1.OperationProgress, com.google.spanner.admin.database.v1.OperationProgress.Builder, com.google.spanner.admin.database.v1.OperationProgressOrBuilder> 
+            com.google.spanner.admin.database.v1.OperationProgress,
+            com.google.spanner.admin.database.v1.OperationProgress.Builder,
+            com.google.spanner.admin.database.v1.OperationProgressOrBuilder>
         getProgressFieldBuilder() {
       if (progressBuilder_ == null) {
-        progressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.admin.database.v1.OperationProgress, com.google.spanner.admin.database.v1.OperationProgress.Builder, com.google.spanner.admin.database.v1.OperationProgressOrBuilder>(
-                getProgress(),
-                getParentForChildren(),
-                isClean());
+        progressBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.spanner.admin.database.v1.OperationProgress,
+                com.google.spanner.admin.database.v1.OperationProgress.Builder,
+                com.google.spanner.admin.database.v1.OperationProgressOrBuilder>(
+                getProgress(), getParentForChildren(), isClean());
         progress_ = null;
       }
       return progressBuilder_;
@@ -1059,8 +1169,13 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre
 
     private com.google.protobuf.Timestamp cancelTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> cancelTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        cancelTimeBuilder_;
     /**
+     *
+     *
      * 
      * The time at which cancellation of CopyBackup operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1077,12 +1192,15 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre
      * 
* * .google.protobuf.Timestamp cancel_time = 4; + * * @return Whether the cancelTime field is set. */ public boolean hasCancelTime() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * The time at which cancellation of CopyBackup operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1099,16 +1217,21 @@ public boolean hasCancelTime() {
      * 
* * .google.protobuf.Timestamp cancel_time = 4; + * * @return The cancelTime. */ public com.google.protobuf.Timestamp getCancelTime() { if (cancelTimeBuilder_ == null) { - return cancelTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : cancelTime_; + return cancelTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : cancelTime_; } else { return cancelTimeBuilder_.getMessage(); } } /** + * + * *
      * The time at which cancellation of CopyBackup operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1140,6 +1263,8 @@ public Builder setCancelTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which cancellation of CopyBackup operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1157,8 +1282,7 @@ public Builder setCancelTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp cancel_time = 4;
      */
-    public Builder setCancelTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setCancelTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (cancelTimeBuilder_ == null) {
         cancelTime_ = builderForValue.build();
       } else {
@@ -1169,6 +1293,8 @@ public Builder setCancelTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which cancellation of CopyBackup operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1188,9 +1314,9 @@ public Builder setCancelTime(
      */
     public Builder mergeCancelTime(com.google.protobuf.Timestamp value) {
       if (cancelTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000008) != 0) &&
-          cancelTime_ != null &&
-          cancelTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0)
+            && cancelTime_ != null
+            && cancelTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getCancelTimeBuilder().mergeFrom(value);
         } else {
           cancelTime_ = value;
@@ -1203,6 +1329,8 @@ public Builder mergeCancelTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which cancellation of CopyBackup operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1231,6 +1359,8 @@ public Builder clearCancelTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which cancellation of CopyBackup operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1254,6 +1384,8 @@ public com.google.protobuf.Timestamp.Builder getCancelTimeBuilder() {
       return getCancelTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time at which cancellation of CopyBackup operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1275,11 +1407,14 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
       if (cancelTimeBuilder_ != null) {
         return cancelTimeBuilder_.getMessageOrBuilder();
       } else {
-        return cancelTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : cancelTime_;
+        return cancelTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : cancelTime_;
       }
     }
     /**
+     *
+     *
      * 
      * The time at which cancellation of CopyBackup operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1298,21 +1433,24 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
      * .google.protobuf.Timestamp cancel_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>
         getCancelTimeFieldBuilder() {
       if (cancelTimeBuilder_ == null) {
-        cancelTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getCancelTime(),
-                getParentForChildren(),
-                isClean());
+        cancelTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getCancelTime(), getParentForChildren(), isClean());
         cancelTime_ = null;
       }
       return cancelTimeBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1322,12 +1460,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.CopyBackupMetadata)
   }
 
   // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.CopyBackupMetadata)
   private static final com.google.spanner.admin.database.v1.CopyBackupMetadata DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.CopyBackupMetadata();
   }
@@ -1336,27 +1474,27 @@ public static com.google.spanner.admin.database.v1.CopyBackupMetadata getDefault
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public CopyBackupMetadata parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public CopyBackupMetadata parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1371,6 +1509,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.spanner.admin.database.v1.CopyBackupMetadata getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupMetadataOrBuilder.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupMetadataOrBuilder.java
similarity index 86%
rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupMetadataOrBuilder.java
rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupMetadataOrBuilder.java
index accee2ff1fd..f977fe6fb38 100644
--- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupMetadataOrBuilder.java
+++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupMetadataOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/admin/database/v1/backup.proto
 
 package com.google.spanner.admin.database.v1;
 
-public interface CopyBackupMetadataOrBuilder extends
+public interface CopyBackupMetadataOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.CopyBackupMetadata)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The name of the backup being created through the copy operation.
    * Values are of the form
@@ -15,10 +33,13 @@ public interface CopyBackupMetadataOrBuilder extends
    * 
* * string name = 1 [(.google.api.resource_reference) = { ... } + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the backup being created through the copy operation.
    * Values are of the form
@@ -26,12 +47,14 @@ public interface CopyBackupMetadataOrBuilder extends
    * 
* * string name = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The name of the source backup that is being copied.
    * Values are of the form
@@ -39,10 +62,13 @@ public interface CopyBackupMetadataOrBuilder extends
    * 
* * string source_backup = 2 [(.google.api.resource_reference) = { ... } + * * @return The sourceBackup. */ java.lang.String getSourceBackup(); /** + * + * *
    * The name of the source backup that is being copied.
    * Values are of the form
@@ -50,32 +76,40 @@ public interface CopyBackupMetadataOrBuilder extends
    * 
* * string source_backup = 2 [(.google.api.resource_reference) = { ... } + * * @return The bytes for sourceBackup. */ - com.google.protobuf.ByteString - getSourceBackupBytes(); + com.google.protobuf.ByteString getSourceBackupBytes(); /** + * + * *
    * The progress of the
    * [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.
    * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 3; + * * @return Whether the progress field is set. */ boolean hasProgress(); /** + * + * *
    * The progress of the
    * [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.
    * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 3; + * * @return The progress. */ com.google.spanner.admin.database.v1.OperationProgress getProgress(); /** + * + * *
    * The progress of the
    * [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.
@@ -86,6 +120,8 @@ public interface CopyBackupMetadataOrBuilder extends
   com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgressOrBuilder();
 
   /**
+   *
+   *
    * 
    * The time at which cancellation of CopyBackup operation was received.
    * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -102,10 +138,13 @@ public interface CopyBackupMetadataOrBuilder extends
    * 
* * .google.protobuf.Timestamp cancel_time = 4; + * * @return Whether the cancelTime field is set. */ boolean hasCancelTime(); /** + * + * *
    * The time at which cancellation of CopyBackup operation was received.
    * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -122,10 +161,13 @@ public interface CopyBackupMetadataOrBuilder extends
    * 
* * .google.protobuf.Timestamp cancel_time = 4; + * * @return The cancelTime. */ com.google.protobuf.Timestamp getCancelTime(); /** + * + * *
    * The time at which cancellation of CopyBackup operation was received.
    * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupRequest.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupRequest.java
similarity index 69%
rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupRequest.java
rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupRequest.java
index 733ab75e2d2..810c5043ce9 100644
--- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupRequest.java
+++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupRequest.java
@@ -1,24 +1,42 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/admin/database/v1/backup.proto
 
 package com.google.spanner.admin.database.v1;
 
 /**
+ *
+ *
  * 
  * The request for [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup].
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.CopyBackupRequest} */ -public final class CopyBackupRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CopyBackupRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.CopyBackupRequest) CopyBackupRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CopyBackupRequest.newBuilder() to construct. private CopyBackupRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CopyBackupRequest() { parent_ = ""; backupId_ = ""; @@ -27,39 +45,46 @@ private CopyBackupRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CopyBackupRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CopyBackupRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.admin.database.v1.BackupProto + .internal_static_google_spanner_admin_database_v1_CopyBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CopyBackupRequest_fieldAccessorTable + return com.google.spanner.admin.database.v1.BackupProto + .internal_static_google_spanner_admin_database_v1_CopyBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.CopyBackupRequest.class, com.google.spanner.admin.database.v1.CopyBackupRequest.Builder.class); + com.google.spanner.admin.database.v1.CopyBackupRequest.class, + com.google.spanner.admin.database.v1.CopyBackupRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The name of the destination instance that will contain the backup copy.
    * Values are of the form: `projects/<project>/instances/<instance>`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -68,30 +93,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 name of the destination instance that will contain the backup copy.
    * Values are of the form: `projects/<project>/instances/<instance>`.
    * 
* - * string parent = 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 BACKUP_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object backupId_ = ""; /** + * + * *
    * Required. The id of the backup copy.
    * The `backup_id` appended to `parent` forms the full backup_uri of the form
@@ -110,6 +140,7 @@ public java.lang.String getParent() {
    * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The backupId. */ @java.lang.Override @@ -118,14 +149,15 @@ public java.lang.String getBackupId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); backupId_ = s; return s; } } /** + * + * *
    * Required. The id of the backup copy.
    * The `backup_id` appended to `parent` forms the full backup_uri of the form
@@ -133,16 +165,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 { @@ -151,9 +182,12 @@ public java.lang.String getBackupId() { } public static final int SOURCE_BACKUP_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object sourceBackup_ = ""; /** + * + * *
    * Required. The source backup to be copied.
    * The source backup needs to be in READY state for it to be copied.
@@ -163,7 +197,10 @@ public java.lang.String getBackupId() {
    * `projects/<project>/instances/<instance>/backups/<backup>`.
    * 
* - * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The sourceBackup. */ @java.lang.Override @@ -172,14 +209,15 @@ public java.lang.String getSourceBackup() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceBackup_ = s; return s; } } /** + * + * *
    * Required. The source backup to be copied.
    * The source backup needs to be in READY state for it to be copied.
@@ -189,17 +227,18 @@ public java.lang.String getSourceBackup() {
    * `projects/<project>/instances/<instance>/backups/<backup>`.
    * 
* - * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for sourceBackup. */ @java.lang.Override - public com.google.protobuf.ByteString - getSourceBackupBytes() { + public com.google.protobuf.ByteString getSourceBackupBytes() { java.lang.Object ref = sourceBackup_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sourceBackup_ = b; return b; } else { @@ -210,6 +249,8 @@ public java.lang.String getSourceBackup() { public static final int EXPIRE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp expireTime_; /** + * + * *
    * Required. The expiration time of the backup in microsecond granularity.
    * The expiration time must be at least 6 hours and at most 366 days
@@ -218,7 +259,9 @@ public java.lang.String getSourceBackup() {
    * to free the resources used by the backup.
    * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the expireTime field is set. */ @java.lang.Override @@ -226,6 +269,8 @@ public boolean hasExpireTime() { return expireTime_ != null; } /** + * + * *
    * Required. The expiration time of the backup in microsecond granularity.
    * The expiration time must be at least 6 hours and at most 366 days
@@ -234,7 +279,9 @@ public boolean hasExpireTime() {
    * to free the resources used by the backup.
    * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The expireTime. */ @java.lang.Override @@ -242,6 +289,8 @@ public com.google.protobuf.Timestamp getExpireTime() { return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } /** + * + * *
    * Required. The expiration time of the backup in microsecond granularity.
    * The expiration time must be at least 6 hours and at most 366 days
@@ -250,7 +299,8 @@ public com.google.protobuf.Timestamp getExpireTime() {
    * to free the resources used by the backup.
    * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { @@ -260,6 +310,8 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { public static final int ENCRYPTION_CONFIG_FIELD_NUMBER = 5; private com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryptionConfig_; /** + * + * *
    * Optional. The encryption configuration used to encrypt the backup. If this field is
    * not specified, the backup will use the same
@@ -268,7 +320,10 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
    * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
    * 
* - * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the encryptionConfig field is set. */ @java.lang.Override @@ -276,6 +331,8 @@ public boolean hasEncryptionConfig() { return encryptionConfig_ != null; } /** + * + * *
    * Optional. The encryption configuration used to encrypt the backup. If this field is
    * not specified, the backup will use the same
@@ -284,14 +341,21 @@ public boolean hasEncryptionConfig() {
    * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
    * 
* - * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The encryptionConfig. */ @java.lang.Override public com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig getEncryptionConfig() { - return encryptionConfig_ == null ? com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.getDefaultInstance() : encryptionConfig_; + return encryptionConfig_ == null + ? com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.getDefaultInstance() + : encryptionConfig_; } /** + * + * *
    * Optional. The encryption configuration used to encrypt the backup. If this field is
    * not specified, the backup will use the same
@@ -300,14 +364,20 @@ public com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig getEncryp
    * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
    * 
* - * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.spanner.admin.database.v1.CopyBackupEncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { - return encryptionConfig_ == null ? com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.getDefaultInstance() : encryptionConfig_; + public com.google.spanner.admin.database.v1.CopyBackupEncryptionConfigOrBuilder + getEncryptionConfigOrBuilder() { + return encryptionConfig_ == null + ? com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.getDefaultInstance() + : encryptionConfig_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -319,8 +389,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_); } @@ -355,12 +424,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, sourceBackup_); } if (expireTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getExpireTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getExpireTime()); } if (encryptionConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getEncryptionConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getEncryptionConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -370,28 +437,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.spanner.admin.database.v1.CopyBackupRequest)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.CopyBackupRequest other = (com.google.spanner.admin.database.v1.CopyBackupRequest) obj; + com.google.spanner.admin.database.v1.CopyBackupRequest other = + (com.google.spanner.admin.database.v1.CopyBackupRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getBackupId() - .equals(other.getBackupId())) return false; - if (!getSourceBackup() - .equals(other.getSourceBackup())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getBackupId().equals(other.getBackupId())) return false; + if (!getSourceBackup().equals(other.getSourceBackup())) return false; if (hasExpireTime() != other.hasExpireTime()) return false; if (hasExpireTime()) { - if (!getExpireTime() - .equals(other.getExpireTime())) return false; + if (!getExpireTime().equals(other.getExpireTime())) return false; } if (hasEncryptionConfig() != other.hasEncryptionConfig()) return false; if (hasEncryptionConfig()) { - if (!getEncryptionConfig() - .equals(other.getEncryptionConfig())) return false; + if (!getEncryptionConfig().equals(other.getEncryptionConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -424,129 +487,136 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.CopyBackupRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.CopyBackupRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.admin.database.v1.CopyBackupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.CopyBackupRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.admin.database.v1.CopyBackupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.CopyBackupRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.CopyBackupRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.spanner.admin.database.v1.CopyBackupRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.CopyBackupRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.CopyBackupRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.spanner.admin.database.v1.CopyBackupRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.CopyBackupRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.spanner.admin.database.v1.CopyBackupRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.CopyBackupRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.admin.database.v1.CopyBackupRequest prototype) { + + public static Builder newBuilder( + com.google.spanner.admin.database.v1.CopyBackupRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request for [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup].
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.CopyBackupRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.CopyBackupRequest) com.google.spanner.admin.database.v1.CopyBackupRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CopyBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.admin.database.v1.BackupProto + .internal_static_google_spanner_admin_database_v1_CopyBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CopyBackupRequest_fieldAccessorTable + return com.google.spanner.admin.database.v1.BackupProto + .internal_static_google_spanner_admin_database_v1_CopyBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.CopyBackupRequest.class, com.google.spanner.admin.database.v1.CopyBackupRequest.Builder.class); + com.google.spanner.admin.database.v1.CopyBackupRequest.class, + com.google.spanner.admin.database.v1.CopyBackupRequest.Builder.class); } // Construct using com.google.spanner.admin.database.v1.CopyBackupRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -568,9 +638,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CopyBackupRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.spanner.admin.database.v1.BackupProto + .internal_static_google_spanner_admin_database_v1_CopyBackupRequest_descriptor; } @java.lang.Override @@ -589,8 +659,11 @@ public com.google.spanner.admin.database.v1.CopyBackupRequest build() { @java.lang.Override public com.google.spanner.admin.database.v1.CopyBackupRequest buildPartial() { - com.google.spanner.admin.database.v1.CopyBackupRequest result = new com.google.spanner.admin.database.v1.CopyBackupRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.spanner.admin.database.v1.CopyBackupRequest result = + new com.google.spanner.admin.database.v1.CopyBackupRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -607,14 +680,11 @@ private void buildPartial0(com.google.spanner.admin.database.v1.CopyBackupReques result.sourceBackup_ = sourceBackup_; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.expireTime_ = expireTimeBuilder_ == null - ? expireTime_ - : expireTimeBuilder_.build(); + result.expireTime_ = expireTimeBuilder_ == null ? expireTime_ : expireTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { - result.encryptionConfig_ = encryptionConfigBuilder_ == null - ? encryptionConfig_ - : encryptionConfigBuilder_.build(); + result.encryptionConfig_ = + encryptionConfigBuilder_ == null ? encryptionConfig_ : encryptionConfigBuilder_.build(); } } @@ -622,38 +692,39 @@ private void buildPartial0(com.google.spanner.admin.database.v1.CopyBackupReques public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.admin.database.v1.CopyBackupRequest) { - return mergeFrom((com.google.spanner.admin.database.v1.CopyBackupRequest)other); + return mergeFrom((com.google.spanner.admin.database.v1.CopyBackupRequest) other); } else { super.mergeFrom(other); return this; @@ -661,7 +732,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.admin.database.v1.CopyBackupRequest other) { - if (other == com.google.spanner.admin.database.v1.CopyBackupRequest.getDefaultInstance()) return this; + if (other == com.google.spanner.admin.database.v1.CopyBackupRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -709,41 +781,44 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - backupId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - sourceBackup_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - input.readMessage( - getExpireTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - input.readMessage( - getEncryptionConfigFieldBuilder().getBuilder(), - extensionRegistry); - 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: + { + backupId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + sourceBackup_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + input.readMessage(getExpireTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + input.readMessage( + getEncryptionConfigFieldBuilder().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) { @@ -753,23 +828,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The name of the destination instance that will contain the backup copy.
      * Values are of the form: `projects/<project>/instances/<instance>`.
      * 
* - * string parent = 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; @@ -778,21 +858,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the destination instance that will contain the backup copy.
      * Values are of the form: `projects/<project>/instances/<instance>`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -800,30 +883,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the destination instance that will contain the backup copy.
      * Values are of the form: `projects/<project>/instances/<instance>`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the destination instance that will contain the backup copy.
      * Values are of the form: `projects/<project>/instances/<instance>`.
      * 
* - * string 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() { @@ -833,18 +927,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The name of the destination instance that will contain the backup copy.
      * Values are of the form: `projects/<project>/instances/<instance>`.
      * 
* - * 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; @@ -854,6 +954,8 @@ public Builder setParentBytes( private java.lang.Object backupId_ = ""; /** + * + * *
      * Required. The id of the backup copy.
      * The `backup_id` appended to `parent` forms the full backup_uri of the form
@@ -861,13 +963,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; @@ -876,6 +978,8 @@ public java.lang.String getBackupId() { } } /** + * + * *
      * Required. The id of the backup copy.
      * The `backup_id` appended to `parent` forms the full backup_uri of the form
@@ -883,15 +987,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 { @@ -899,6 +1002,8 @@ public java.lang.String getBackupId() { } } /** + * + * *
      * Required. The id of the backup copy.
      * The `backup_id` appended to `parent` forms the full backup_uri of the form
@@ -906,18 +1011,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 copy.
      * The `backup_id` appended to `parent` forms the full backup_uri of the form
@@ -925,6 +1034,7 @@ public Builder setBackupId(
      * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearBackupId() { @@ -934,6 +1044,8 @@ public Builder clearBackupId() { return this; } /** + * + * *
      * Required. The id of the backup copy.
      * The `backup_id` appended to `parent` forms the full backup_uri of the form
@@ -941,12 +1053,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; @@ -956,6 +1070,8 @@ public Builder setBackupIdBytes( private java.lang.Object sourceBackup_ = ""; /** + * + * *
      * Required. The source backup to be copied.
      * The source backup needs to be in READY state for it to be copied.
@@ -965,14 +1081,16 @@ public Builder setBackupIdBytes(
      * `projects/<project>/instances/<instance>/backups/<backup>`.
      * 
* - * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The sourceBackup. */ public java.lang.String getSourceBackup() { java.lang.Object ref = sourceBackup_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceBackup_ = s; return s; @@ -981,6 +1099,8 @@ public java.lang.String getSourceBackup() { } } /** + * + * *
      * Required. The source backup to be copied.
      * The source backup needs to be in READY state for it to be copied.
@@ -990,16 +1110,17 @@ public java.lang.String getSourceBackup() {
      * `projects/<project>/instances/<instance>/backups/<backup>`.
      * 
* - * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for sourceBackup. */ - public com.google.protobuf.ByteString - getSourceBackupBytes() { + public com.google.protobuf.ByteString getSourceBackupBytes() { java.lang.Object ref = sourceBackup_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sourceBackup_ = b; return b; } else { @@ -1007,6 +1128,8 @@ public java.lang.String getSourceBackup() { } } /** + * + * *
      * Required. The source backup to be copied.
      * The source backup needs to be in READY state for it to be copied.
@@ -1016,19 +1139,25 @@ public java.lang.String getSourceBackup() {
      * `projects/<project>/instances/<instance>/backups/<backup>`.
      * 
* - * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The sourceBackup to set. * @return This builder for chaining. */ - public Builder setSourceBackup( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSourceBackup(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } sourceBackup_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Required. The source backup to be copied.
      * The source backup needs to be in READY state for it to be copied.
@@ -1038,7 +1167,10 @@ public Builder setSourceBackup(
      * `projects/<project>/instances/<instance>/backups/<backup>`.
      * 
* - * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearSourceBackup() { @@ -1048,6 +1180,8 @@ public Builder clearSourceBackup() { return this; } /** + * + * *
      * Required. The source backup to be copied.
      * The source backup needs to be in READY state for it to be copied.
@@ -1057,13 +1191,17 @@ public Builder clearSourceBackup() {
      * `projects/<project>/instances/<instance>/backups/<backup>`.
      * 
* - * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for sourceBackup to set. * @return This builder for chaining. */ - public Builder setSourceBackupBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSourceBackupBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); sourceBackup_ = value; bitField0_ |= 0x00000004; @@ -1073,8 +1211,13 @@ public Builder setSourceBackupBytes( 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 in microsecond granularity.
      * The expiration time must be at least 6 hours and at most 366 days
@@ -1083,13 +1226,17 @@ public Builder setSourceBackupBytes(
      * to free the resources used by the backup.
      * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the expireTime field is set. */ public boolean hasExpireTime() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Required. The expiration time of the backup in microsecond granularity.
      * The expiration time must be at least 6 hours and at most 366 days
@@ -1098,17 +1245,23 @@ public boolean hasExpireTime() {
      * to free the resources used by the backup.
      * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The expireTime. */ public com.google.protobuf.Timestamp getExpireTime() { if (expireTimeBuilder_ == null) { - return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; + return expireTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : expireTime_; } else { return expireTimeBuilder_.getMessage(); } } /** + * + * *
      * Required. The expiration time of the backup in microsecond granularity.
      * The expiration time must be at least 6 hours and at most 366 days
@@ -1117,7 +1270,8 @@ public com.google.protobuf.Timestamp getExpireTime() {
      * to free the resources used by the backup.
      * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setExpireTime(com.google.protobuf.Timestamp value) { if (expireTimeBuilder_ == null) { @@ -1133,6 +1287,8 @@ public Builder setExpireTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Required. The expiration time of the backup in microsecond granularity.
      * The expiration time must be at least 6 hours and at most 366 days
@@ -1141,10 +1297,10 @@ public Builder setExpireTime(com.google.protobuf.Timestamp value) {
      * to free the resources used by the backup.
      * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setExpireTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (expireTimeBuilder_ == null) { expireTime_ = builderForValue.build(); } else { @@ -1155,6 +1311,8 @@ public Builder setExpireTime( return this; } /** + * + * *
      * Required. The expiration time of the backup in microsecond granularity.
      * The expiration time must be at least 6 hours and at most 366 days
@@ -1163,13 +1321,14 @@ public Builder setExpireTime(
      * to free the resources used by the backup.
      * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { if (expireTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - expireTime_ != null && - expireTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && expireTime_ != null + && expireTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getExpireTimeBuilder().mergeFrom(value); } else { expireTime_ = value; @@ -1182,6 +1341,8 @@ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Required. The expiration time of the backup in microsecond granularity.
      * The expiration time must be at least 6 hours and at most 366 days
@@ -1190,7 +1351,8 @@ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) {
      * to free the resources used by the backup.
      * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearExpireTime() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1203,6 +1365,8 @@ public Builder clearExpireTime() { return this; } /** + * + * *
      * Required. The expiration time of the backup in microsecond granularity.
      * The expiration time must be at least 6 hours and at most 366 days
@@ -1211,7 +1375,8 @@ public Builder clearExpireTime() {
      * to free the resources used by the backup.
      * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() { bitField0_ |= 0x00000008; @@ -1219,6 +1384,8 @@ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() { return getExpireTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The expiration time of the backup in microsecond granularity.
      * The expiration time must be at least 6 hours and at most 366 days
@@ -1227,17 +1394,21 @@ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() {
      * to free the resources used by the backup.
      * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { if (expireTimeBuilder_ != null) { return expireTimeBuilder_.getMessageOrBuilder(); } else { - return expireTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; + return expireTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : expireTime_; } } /** + * + * *
      * Required. The expiration time of the backup in microsecond granularity.
      * The expiration time must be at least 6 hours and at most 366 days
@@ -1246,17 +1417,21 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
      * to free the resources used by the backup.
      * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getExpireTimeFieldBuilder() { if (expireTimeBuilder_ == null) { - expireTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getExpireTime(), - getParentForChildren(), - isClean()); + expireTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getExpireTime(), getParentForChildren(), isClean()); expireTime_ = null; } return expireTimeBuilder_; @@ -1264,8 +1439,13 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { private com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryptionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig, com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.Builder, com.google.spanner.admin.database.v1.CopyBackupEncryptionConfigOrBuilder> encryptionConfigBuilder_; + com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig, + com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.Builder, + com.google.spanner.admin.database.v1.CopyBackupEncryptionConfigOrBuilder> + encryptionConfigBuilder_; /** + * + * *
      * Optional. The encryption configuration used to encrypt the backup. If this field is
      * not specified, the backup will use the same
@@ -1274,13 +1454,18 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
      * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
      * 
* - * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the encryptionConfig field is set. */ public boolean hasEncryptionConfig() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * Optional. The encryption configuration used to encrypt the backup. If this field is
      * not specified, the backup will use the same
@@ -1289,17 +1474,24 @@ public boolean hasEncryptionConfig() {
      * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
      * 
* - * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The encryptionConfig. */ public com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig getEncryptionConfig() { if (encryptionConfigBuilder_ == null) { - return encryptionConfig_ == null ? com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.getDefaultInstance() : encryptionConfig_; + return encryptionConfig_ == null + ? com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.getDefaultInstance() + : encryptionConfig_; } else { return encryptionConfigBuilder_.getMessage(); } } /** + * + * *
      * Optional. The encryption configuration used to encrypt the backup. If this field is
      * not specified, the backup will use the same
@@ -1308,9 +1500,12 @@ public com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig getEncryp
      * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
      * 
* - * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setEncryptionConfig(com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig value) { + public Builder setEncryptionConfig( + com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig value) { if (encryptionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1324,6 +1519,8 @@ public Builder setEncryptionConfig(com.google.spanner.admin.database.v1.CopyBack return this; } /** + * + * *
      * Optional. The encryption configuration used to encrypt the backup. If this field is
      * not specified, the backup will use the same
@@ -1332,7 +1529,9 @@ public Builder setEncryptionConfig(com.google.spanner.admin.database.v1.CopyBack
      * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
      * 
* - * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setEncryptionConfig( com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.Builder builderForValue) { @@ -1346,6 +1545,8 @@ public Builder setEncryptionConfig( return this; } /** + * + * *
      * Optional. The encryption configuration used to encrypt the backup. If this field is
      * not specified, the backup will use the same
@@ -1354,13 +1555,18 @@ public Builder setEncryptionConfig(
      * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
      * 
* - * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder mergeEncryptionConfig(com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig value) { + public Builder mergeEncryptionConfig( + com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig value) { if (encryptionConfigBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) && - encryptionConfig_ != null && - encryptionConfig_ != com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) + && encryptionConfig_ != null + && encryptionConfig_ + != com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig + .getDefaultInstance()) { getEncryptionConfigBuilder().mergeFrom(value); } else { encryptionConfig_ = value; @@ -1373,6 +1579,8 @@ public Builder mergeEncryptionConfig(com.google.spanner.admin.database.v1.CopyBa return this; } /** + * + * *
      * Optional. The encryption configuration used to encrypt the backup. If this field is
      * not specified, the backup will use the same
@@ -1381,7 +1589,9 @@ public Builder mergeEncryptionConfig(com.google.spanner.admin.database.v1.CopyBa
      * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
      * 
* - * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearEncryptionConfig() { bitField0_ = (bitField0_ & ~0x00000010); @@ -1394,6 +1604,8 @@ public Builder clearEncryptionConfig() { return this; } /** + * + * *
      * Optional. The encryption configuration used to encrypt the backup. If this field is
      * not specified, the backup will use the same
@@ -1402,14 +1614,19 @@ public Builder clearEncryptionConfig() {
      * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
      * 
* - * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.Builder getEncryptionConfigBuilder() { + public com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.Builder + getEncryptionConfigBuilder() { bitField0_ |= 0x00000010; onChanged(); return getEncryptionConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. The encryption configuration used to encrypt the backup. If this field is
      * not specified, the backup will use the same
@@ -1418,17 +1635,23 @@ public com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.Builder g
      * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
      * 
* - * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.spanner.admin.database.v1.CopyBackupEncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { + public com.google.spanner.admin.database.v1.CopyBackupEncryptionConfigOrBuilder + getEncryptionConfigOrBuilder() { if (encryptionConfigBuilder_ != null) { return encryptionConfigBuilder_.getMessageOrBuilder(); } else { - return encryptionConfig_ == null ? - com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.getDefaultInstance() : encryptionConfig_; + return encryptionConfig_ == null + ? com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.getDefaultInstance() + : encryptionConfig_; } } /** + * + * *
      * Optional. The encryption configuration used to encrypt the backup. If this field is
      * not specified, the backup will use the same
@@ -1437,24 +1660,29 @@ public com.google.spanner.admin.database.v1.CopyBackupEncryptionConfigOrBuilder
      * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
      * 
* - * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig, com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.Builder, com.google.spanner.admin.database.v1.CopyBackupEncryptionConfigOrBuilder> + com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig, + com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.Builder, + com.google.spanner.admin.database.v1.CopyBackupEncryptionConfigOrBuilder> getEncryptionConfigFieldBuilder() { if (encryptionConfigBuilder_ == null) { - encryptionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig, com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.Builder, com.google.spanner.admin.database.v1.CopyBackupEncryptionConfigOrBuilder>( - getEncryptionConfig(), - getParentForChildren(), - isClean()); + encryptionConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig, + com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig.Builder, + com.google.spanner.admin.database.v1.CopyBackupEncryptionConfigOrBuilder>( + 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); } @@ -1464,12 +1692,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.CopyBackupRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.CopyBackupRequest) private static final com.google.spanner.admin.database.v1.CopyBackupRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.CopyBackupRequest(); } @@ -1478,27 +1706,27 @@ public static com.google.spanner.admin.database.v1.CopyBackupRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CopyBackupRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CopyBackupRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1513,6 +1741,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.CopyBackupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupRequestOrBuilder.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupRequestOrBuilder.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupRequestOrBuilder.java rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupRequestOrBuilder.java index 5e59d2e357b..5a8be05a57e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupRequestOrBuilder.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CopyBackupRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/backup.proto package com.google.spanner.admin.database.v1; -public interface CopyBackupRequestOrBuilder extends +public interface CopyBackupRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.CopyBackupRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the destination instance that will contain the backup copy.
    * Values are of the form: `projects/<project>/instances/<instance>`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The name of the destination instance that will contain the backup copy.
    * Values are of the form: `projects/<project>/instances/<instance>`.
    * 
* - * string parent = 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 copy.
    * The `backup_id` appended to `parent` forms the full backup_uri of the form
@@ -37,10 +64,13 @@ public interface CopyBackupRequestOrBuilder extends
    * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The backupId. */ java.lang.String getBackupId(); /** + * + * *
    * Required. The id of the backup copy.
    * The `backup_id` appended to `parent` forms the full backup_uri of the form
@@ -48,12 +78,14 @@ public interface CopyBackupRequestOrBuilder 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 source backup to be copied.
    * The source backup needs to be in READY state for it to be copied.
@@ -63,11 +95,16 @@ public interface CopyBackupRequestOrBuilder extends
    * `projects/<project>/instances/<instance>/backups/<backup>`.
    * 
* - * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The sourceBackup. */ java.lang.String getSourceBackup(); /** + * + * *
    * Required. The source backup to be copied.
    * The source backup needs to be in READY state for it to be copied.
@@ -77,13 +114,17 @@ public interface CopyBackupRequestOrBuilder extends
    * `projects/<project>/instances/<instance>/backups/<backup>`.
    * 
* - * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for sourceBackup. */ - com.google.protobuf.ByteString - getSourceBackupBytes(); + com.google.protobuf.ByteString getSourceBackupBytes(); /** + * + * *
    * Required. The expiration time of the backup in microsecond granularity.
    * The expiration time must be at least 6 hours and at most 366 days
@@ -92,11 +133,15 @@ public interface CopyBackupRequestOrBuilder extends
    * to free the resources used by the backup.
    * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the expireTime field is set. */ boolean hasExpireTime(); /** + * + * *
    * Required. The expiration time of the backup in microsecond granularity.
    * The expiration time must be at least 6 hours and at most 366 days
@@ -105,11 +150,15 @@ public interface CopyBackupRequestOrBuilder extends
    * to free the resources used by the backup.
    * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The expireTime. */ com.google.protobuf.Timestamp getExpireTime(); /** + * + * *
    * Required. The expiration time of the backup in microsecond granularity.
    * The expiration time must be at least 6 hours and at most 366 days
@@ -118,11 +167,14 @@ public interface CopyBackupRequestOrBuilder extends
    * to free the resources used by the backup.
    * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder(); /** + * + * *
    * Optional. The encryption configuration used to encrypt the backup. If this field is
    * not specified, the backup will use the same
@@ -131,11 +183,16 @@ public interface CopyBackupRequestOrBuilder extends
    * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
    * 
* - * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the encryptionConfig field is set. */ boolean hasEncryptionConfig(); /** + * + * *
    * Optional. The encryption configuration used to encrypt the backup. If this field is
    * not specified, the backup will use the same
@@ -144,11 +201,16 @@ public interface CopyBackupRequestOrBuilder extends
    * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
    * 
* - * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The encryptionConfig. */ com.google.spanner.admin.database.v1.CopyBackupEncryptionConfig getEncryptionConfig(); /** + * + * *
    * Optional. The encryption configuration used to encrypt the backup. If this field is
    * not specified, the backup will use the same
@@ -157,7 +219,10 @@ public interface CopyBackupRequestOrBuilder extends
    * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
    * 
* - * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.spanner.admin.database.v1.CopyBackupEncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.spanner.admin.database.v1.CopyBackupEncryptionConfigOrBuilder getEncryptionConfigOrBuilder(); + com.google.spanner.admin.database.v1.CopyBackupEncryptionConfigOrBuilder + getEncryptionConfigOrBuilder(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupEncryptionConfig.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupEncryptionConfig.java similarity index 61% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupEncryptionConfig.java rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupEncryptionConfig.java index fdc88c019c0..1381514795c 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupEncryptionConfig.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupEncryptionConfig.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/backup.proto package com.google.spanner.admin.database.v1; /** + * + * *
  * Encryption configuration for the backup to create.
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.CreateBackupEncryptionConfig} */ -public final class CreateBackupEncryptionConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateBackupEncryptionConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.CreateBackupEncryptionConfig) CreateBackupEncryptionConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateBackupEncryptionConfig.newBuilder() to construct. private CreateBackupEncryptionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateBackupEncryptionConfig() { encryptionType_ = 0; kmsKeyName_ = ""; @@ -26,39 +44,44 @@ private CreateBackupEncryptionConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateBackupEncryptionConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CreateBackupEncryptionConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.admin.database.v1.BackupProto + .internal_static_google_spanner_admin_database_v1_CreateBackupEncryptionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CreateBackupEncryptionConfig_fieldAccessorTable + return com.google.spanner.admin.database.v1.BackupProto + .internal_static_google_spanner_admin_database_v1_CreateBackupEncryptionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.class, com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.Builder.class); + com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.class, + com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.Builder.class); } /** + * + * *
    * Encryption types for the backup.
    * 
* - * Protobuf enum {@code google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType} + * Protobuf enum {@code + * google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType} */ - public enum EncryptionType - implements com.google.protobuf.ProtocolMessageEnum { + public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified. Do not use.
      * 
@@ -67,6 +90,8 @@ public enum EncryptionType */ ENCRYPTION_TYPE_UNSPECIFIED(0), /** + * + * *
      * Use the same encryption configuration as the database. This is the
      * default option when
@@ -79,6 +104,8 @@ public enum EncryptionType
      */
     USE_DATABASE_ENCRYPTION(1),
     /**
+     *
+     *
      * 
      * Use Google default encryption.
      * 
@@ -87,6 +114,8 @@ public enum EncryptionType */ GOOGLE_DEFAULT_ENCRYPTION(2), /** + * + * *
      * Use customer managed encryption. If specified, `kms_key_name`
      * must contain a valid Cloud KMS key.
@@ -99,6 +128,8 @@ public enum EncryptionType
     ;
 
     /**
+     *
+     *
      * 
      * Unspecified. Do not use.
      * 
@@ -107,6 +138,8 @@ public enum EncryptionType */ public static final int ENCRYPTION_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Use the same encryption configuration as the database. This is the
      * default option when
@@ -119,6 +152,8 @@ public enum EncryptionType
      */
     public static final int USE_DATABASE_ENCRYPTION_VALUE = 1;
     /**
+     *
+     *
      * 
      * Use Google default encryption.
      * 
@@ -127,6 +162,8 @@ public enum EncryptionType */ public static final int GOOGLE_DEFAULT_ENCRYPTION_VALUE = 2; /** + * + * *
      * Use customer managed encryption. If specified, `kms_key_name`
      * must contain a valid Cloud KMS key.
@@ -136,7 +173,6 @@ public enum EncryptionType
      */
     public static final int CUSTOMER_MANAGED_ENCRYPTION_VALUE = 3;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -161,50 +197,53 @@ public static EncryptionType valueOf(int value) {
      */
     public static EncryptionType forNumber(int value) {
       switch (value) {
-        case 0: return ENCRYPTION_TYPE_UNSPECIFIED;
-        case 1: return USE_DATABASE_ENCRYPTION;
-        case 2: return GOOGLE_DEFAULT_ENCRYPTION;
-        case 3: return CUSTOMER_MANAGED_ENCRYPTION;
-        default: return null;
+        case 0:
+          return ENCRYPTION_TYPE_UNSPECIFIED;
+        case 1:
+          return USE_DATABASE_ENCRYPTION;
+        case 2:
+          return GOOGLE_DEFAULT_ENCRYPTION;
+        case 3:
+          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() {
-      return com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.getDescriptor().getEnumTypes().get(0);
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+      return com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.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;
@@ -224,33 +263,54 @@ private EncryptionType(int value) {
   public static final int ENCRYPTION_TYPE_FIELD_NUMBER = 1;
   private int encryptionType_ = 0;
   /**
+   *
+   *
    * 
    * Required. The encryption type of the backup.
    * 
* - * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for encryptionType. */ - @java.lang.Override public int getEncryptionTypeValue() { + @java.lang.Override + public int getEncryptionTypeValue() { return encryptionType_; } /** + * + * *
    * Required. The encryption type of the backup.
    * 
* - * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The encryptionType. */ - @java.lang.Override public com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType getEncryptionType() { - com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType result = com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType.forNumber(encryptionType_); - return result == null ? com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType + getEncryptionType() { + com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType result = + com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType.forNumber( + encryptionType_); + return result == null + ? com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType + .UNRECOGNIZED + : result; } public static final int KMS_KEY_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object kmsKeyName_ = ""; /** + * + * *
    * Optional. The Cloud KMS key that will be used to protect the backup.
    * This field should be set only when
@@ -259,7 +319,10 @@ private EncryptionType(int value) {
    * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
    * 
* - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The kmsKeyName. */ @java.lang.Override @@ -268,14 +331,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; } } /** + * + * *
    * Optional. The Cloud KMS key that will be used to protect the backup.
    * This field should be set only when
@@ -284,17 +348,18 @@ public java.lang.String getKmsKeyName() {
    * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
    * 
* - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.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 { @@ -303,6 +368,7 @@ public java.lang.String getKmsKeyName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -314,9 +380,11 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (encryptionType_ != com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType.ENCRYPTION_TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (encryptionType_ + != com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType + .ENCRYPTION_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, encryptionType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyName_)) { @@ -331,9 +399,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (encryptionType_ != com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType.ENCRYPTION_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, encryptionType_); + if (encryptionType_ + != com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType + .ENCRYPTION_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, encryptionType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, kmsKeyName_); @@ -346,16 +416,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.spanner.admin.database.v1.CreateBackupEncryptionConfig)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig other = (com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig) obj; + com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig other = + (com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig) obj; if (encryptionType_ != other.encryptionType_) return false; - if (!getKmsKeyName() - .equals(other.getKmsKeyName())) return false; + if (!getKmsKeyName().equals(other.getKmsKeyName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -377,129 +447,138 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig 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.spanner.admin.database.v1.CreateBackupEncryptionConfig + 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.spanner.admin.database.v1.CreateBackupEncryptionConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig prototype) { + + public static Builder newBuilder( + com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 configuration for the backup to create.
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.CreateBackupEncryptionConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.CreateBackupEncryptionConfig) com.google.spanner.admin.database.v1.CreateBackupEncryptionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CreateBackupEncryptionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.admin.database.v1.BackupProto + .internal_static_google_spanner_admin_database_v1_CreateBackupEncryptionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CreateBackupEncryptionConfig_fieldAccessorTable + return com.google.spanner.admin.database.v1.BackupProto + .internal_static_google_spanner_admin_database_v1_CreateBackupEncryptionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.class, com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.Builder.class); + com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.class, + com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.Builder.class); } - // Construct using com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.newBuilder() - private Builder() { + // Construct using + // com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.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(); @@ -510,13 +589,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CreateBackupEncryptionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.spanner.admin.database.v1.BackupProto + .internal_static_google_spanner_admin_database_v1_CreateBackupEncryptionConfig_descriptor; } @java.lang.Override - public com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig getDefaultInstanceForType() { + public com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig + getDefaultInstanceForType() { return com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.getDefaultInstance(); } @@ -531,13 +611,17 @@ public com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig build() @java.lang.Override public com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig buildPartial() { - com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig result = new com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig result = + new com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig result) { + private void buildPartial0( + com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.encryptionType_ = encryptionType_; @@ -551,46 +635,50 @@ private void buildPartial0(com.google.spanner.admin.database.v1.CreateBackupEncr public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig) { - return mergeFrom((com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig)other); + return mergeFrom((com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig other) { - if (other == com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig other) { + if (other + == com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.getDefaultInstance()) + return this; if (other.encryptionType_ != 0) { setEncryptionTypeValue(other.getEncryptionTypeValue()); } @@ -625,22 +713,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - encryptionType_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - kmsKeyName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + encryptionType_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + kmsKeyName_ = 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) { @@ -650,26 +741,38 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int encryptionType_ = 0; /** + * + * *
      * Required. The encryption type of the backup.
      * 
* - * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for encryptionType. */ - @java.lang.Override public int getEncryptionTypeValue() { + @java.lang.Override + public int getEncryptionTypeValue() { return encryptionType_; } /** + * + * *
      * Required. The encryption type of the backup.
      * 
* - * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for encryptionType to set. * @return This builder for chaining. */ @@ -680,28 +783,45 @@ public Builder setEncryptionTypeValue(int value) { return this; } /** + * + * *
      * Required. The encryption type of the backup.
      * 
* - * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The encryptionType. */ @java.lang.Override - public com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType getEncryptionType() { - com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType result = com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType.forNumber(encryptionType_); - return result == null ? com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType.UNRECOGNIZED : result; + public com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType + getEncryptionType() { + com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType result = + com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType + .forNumber(encryptionType_); + return result == null + ? com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType + .UNRECOGNIZED + : result; } /** + * + * *
      * Required. The encryption type of the backup.
      * 
* - * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The encryptionType to set. * @return This builder for chaining. */ - public Builder setEncryptionType(com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType value) { + public Builder setEncryptionType( + com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType value) { if (value == null) { throw new NullPointerException(); } @@ -711,11 +831,16 @@ public Builder setEncryptionType(com.google.spanner.admin.database.v1.CreateBack return this; } /** + * + * *
      * Required. The encryption type of the backup.
      * 
* - * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearEncryptionType() { @@ -727,6 +852,8 @@ public Builder clearEncryptionType() { private java.lang.Object kmsKeyName_ = ""; /** + * + * *
      * Optional. The Cloud KMS key that will be used to protect the backup.
      * This field should be set only when
@@ -735,14 +862,16 @@ public Builder clearEncryptionType() {
      * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
      * 
* - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.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; @@ -751,6 +880,8 @@ public java.lang.String getKmsKeyName() { } } /** + * + * *
      * Optional. The Cloud KMS key that will be used to protect the backup.
      * This field should be set only when
@@ -759,16 +890,17 @@ public java.lang.String getKmsKeyName() {
      * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
      * 
* - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.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 { @@ -776,6 +908,8 @@ public java.lang.String getKmsKeyName() { } } /** + * + * *
      * Optional. The Cloud KMS key that will be used to protect the backup.
      * This field should be set only when
@@ -784,19 +918,25 @@ public java.lang.String getKmsKeyName() {
      * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
      * 
* - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.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_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. The Cloud KMS key that will be used to protect the backup.
      * This field should be set only when
@@ -805,7 +945,10 @@ public Builder setKmsKeyName(
      * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
      * 
* - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearKmsKeyName() { @@ -815,6 +958,8 @@ public Builder clearKmsKeyName() { return this; } /** + * + * *
      * Optional. The Cloud KMS key that will be used to protect the backup.
      * This field should be set only when
@@ -823,22 +968,26 @@ public Builder clearKmsKeyName() {
      * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
      * 
* - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.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_ |= 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); } @@ -848,41 +997,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.CreateBackupEncryptionConfig) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.CreateBackupEncryptionConfig) - private static final com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig DEFAULT_INSTANCE; + private static final com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig(); } - public static com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig getDefaultInstance() { + public static com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateBackupEncryptionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateBackupEncryptionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -894,9 +1045,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig getDefaultInstanceForType() { + public com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupEncryptionConfigOrBuilder.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupEncryptionConfigOrBuilder.java similarity index 53% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupEncryptionConfigOrBuilder.java rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupEncryptionConfigOrBuilder.java index aa86c2f029a..ecefb88dc0d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupEncryptionConfigOrBuilder.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupEncryptionConfigOrBuilder.java @@ -1,32 +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/spanner/admin/database/v1/backup.proto package com.google.spanner.admin.database.v1; -public interface CreateBackupEncryptionConfigOrBuilder extends +public interface CreateBackupEncryptionConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.CreateBackupEncryptionConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The encryption type of the backup.
    * 
* - * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for encryptionType. */ int getEncryptionTypeValue(); /** + * + * *
    * Required. The encryption type of the backup.
    * 
* - * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The encryptionType. */ - com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType getEncryptionType(); + com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType + getEncryptionType(); /** + * + * *
    * Optional. The Cloud KMS key that will be used to protect the backup.
    * This field should be set only when
@@ -35,11 +64,16 @@ public interface CreateBackupEncryptionConfigOrBuilder extends
    * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
    * 
* - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The kmsKeyName. */ java.lang.String getKmsKeyName(); /** + * + * *
    * Optional. The Cloud KMS key that will be used to protect the backup.
    * This field should be set only when
@@ -48,9 +82,11 @@ public interface CreateBackupEncryptionConfigOrBuilder extends
    * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
    * 
* - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for kmsKeyName. */ - com.google.protobuf.ByteString - getKmsKeyNameBytes(); + com.google.protobuf.ByteString getKmsKeyNameBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupMetadata.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupMetadata.java similarity index 75% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupMetadata.java rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupMetadata.java index 7be7d0e8226..c534895357a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupMetadata.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupMetadata.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/backup.proto package com.google.spanner.admin.database.v1; /** + * + * *
  * Metadata type for the operation returned by
  * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.spanner.admin.database.v1.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.spanner.admin.database.v1.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_ = "";
     database_ = "";
@@ -27,38 +45,43 @@ private CreateBackupMetadata() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CreateBackupMetadata();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CreateBackupMetadata_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.spanner.admin.database.v1.BackupProto
+        .internal_static_google_spanner_admin_database_v1_CreateBackupMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CreateBackupMetadata_fieldAccessorTable
+    return com.google.spanner.admin.database.v1.BackupProto
+        .internal_static_google_spanner_admin_database_v1_CreateBackupMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.database.v1.CreateBackupMetadata.class, com.google.spanner.admin.database.v1.CreateBackupMetadata.Builder.class);
+            com.google.spanner.admin.database.v1.CreateBackupMetadata.class,
+            com.google.spanner.admin.database.v1.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 [(.google.api.resource_reference) = { ... } + * * @return The name. */ @java.lang.Override @@ -67,29 +90,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 [(.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 { @@ -98,14 +121,18 @@ public java.lang.String getName() { } public static final int DATABASE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object database_ = ""; /** + * + * *
    * The name of the database the backup is created from.
    * 
* * string database = 2 [(.google.api.resource_reference) = { ... } + * * @return The database. */ @java.lang.Override @@ -114,29 +141,29 @@ public java.lang.String getDatabase() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; } } /** + * + * *
    * The name of the database the backup is created from.
    * 
* * string database = 2 [(.google.api.resource_reference) = { ... } + * * @return The bytes for database. */ @java.lang.Override - public com.google.protobuf.ByteString - getDatabaseBytes() { + public com.google.protobuf.ByteString getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); database_ = b; return b; } else { @@ -147,12 +174,15 @@ public java.lang.String getDatabase() { public static final int PROGRESS_FIELD_NUMBER = 3; private com.google.spanner.admin.database.v1.OperationProgress progress_; /** + * + * *
    * The progress of the
    * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
    * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 3; + * * @return Whether the progress field is set. */ @java.lang.Override @@ -160,19 +190,26 @@ public boolean hasProgress() { return progress_ != null; } /** + * + * *
    * The progress of the
    * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
    * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 3; + * * @return The progress. */ @java.lang.Override public com.google.spanner.admin.database.v1.OperationProgress getProgress() { - return progress_ == null ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() : progress_; + return progress_ == null + ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() + : progress_; } /** + * + * *
    * The progress of the
    * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
@@ -182,12 +219,16 @@ public com.google.spanner.admin.database.v1.OperationProgress getProgress() {
    */
   @java.lang.Override
   public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgressOrBuilder() {
-    return progress_ == null ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() : progress_;
+    return progress_ == null
+        ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance()
+        : progress_;
   }
 
   public static final int CANCEL_TIME_FIELD_NUMBER = 4;
   private com.google.protobuf.Timestamp cancelTime_;
   /**
+   *
+   *
    * 
    * The time at which cancellation of this operation was received.
    * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -204,6 +245,7 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre
    * 
* * .google.protobuf.Timestamp cancel_time = 4; + * * @return Whether the cancelTime field is set. */ @java.lang.Override @@ -211,6 +253,8 @@ public boolean hasCancelTime() { return cancelTime_ != null; } /** + * + * *
    * The time at which cancellation of this operation was received.
    * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -227,6 +271,7 @@ public boolean hasCancelTime() {
    * 
* * .google.protobuf.Timestamp cancel_time = 4; + * * @return The cancelTime. */ @java.lang.Override @@ -234,6 +279,8 @@ public com.google.protobuf.Timestamp getCancelTime() { return cancelTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : cancelTime_; } /** + * + * *
    * The time at which cancellation of this operation was received.
    * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -257,6 +304,7 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -268,8 +316,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_);
     }
@@ -298,12 +345,10 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, database_);
     }
     if (progress_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getProgress());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getProgress());
     }
     if (cancelTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, getCancelTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCancelTime());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -313,26 +358,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.spanner.admin.database.v1.CreateBackupMetadata)) {
       return super.equals(obj);
     }
-    com.google.spanner.admin.database.v1.CreateBackupMetadata other = (com.google.spanner.admin.database.v1.CreateBackupMetadata) obj;
+    com.google.spanner.admin.database.v1.CreateBackupMetadata other =
+        (com.google.spanner.admin.database.v1.CreateBackupMetadata) obj;
 
-    if (!getName()
-        .equals(other.getName())) return false;
-    if (!getDatabase()
-        .equals(other.getDatabase())) return false;
+    if (!getName().equals(other.getName())) return false;
+    if (!getDatabase().equals(other.getDatabase())) 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 (hasCancelTime() != other.hasCancelTime()) return false;
     if (hasCancelTime()) {
-      if (!getCancelTime()
-          .equals(other.getCancelTime())) return false;
+      if (!getCancelTime().equals(other.getCancelTime())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -363,96 +405,104 @@ public int hashCode() {
   }
 
   public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.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.spanner.admin.database.v1.CreateBackupMetadata parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.CreateBackupMetadata parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.CreateBackupMetadata parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.spanner.admin.database.v1.CreateBackupMetadata parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.CreateBackupMetadata parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.spanner.admin.database.v1.CreateBackupMetadata parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.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.spanner.admin.database.v1.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.spanner.admin.database.v1.CreateBackupMetadata prototype) {
+
+  public static Builder newBuilder(
+      com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.DatabaseAdmin.CreateBackup].
@@ -460,33 +510,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.spanner.admin.database.v1.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.spanner.admin.database.v1.CreateBackupMetadata)
       com.google.spanner.admin.database.v1.CreateBackupMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CreateBackupMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.spanner.admin.database.v1.BackupProto
+          .internal_static_google_spanner_admin_database_v1_CreateBackupMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CreateBackupMetadata_fieldAccessorTable
+      return com.google.spanner.admin.database.v1.BackupProto
+          .internal_static_google_spanner_admin_database_v1_CreateBackupMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.database.v1.CreateBackupMetadata.class, com.google.spanner.admin.database.v1.CreateBackupMetadata.Builder.class);
+              com.google.spanner.admin.database.v1.CreateBackupMetadata.class,
+              com.google.spanner.admin.database.v1.CreateBackupMetadata.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.database.v1.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();
@@ -507,9 +556,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CreateBackupMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.spanner.admin.database.v1.BackupProto
+          .internal_static_google_spanner_admin_database_v1_CreateBackupMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -528,8 +577,11 @@ public com.google.spanner.admin.database.v1.CreateBackupMetadata build() {
 
     @java.lang.Override
     public com.google.spanner.admin.database.v1.CreateBackupMetadata buildPartial() {
-      com.google.spanner.admin.database.v1.CreateBackupMetadata result = new com.google.spanner.admin.database.v1.CreateBackupMetadata(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.spanner.admin.database.v1.CreateBackupMetadata result =
+          new com.google.spanner.admin.database.v1.CreateBackupMetadata(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -543,14 +595,10 @@ private void buildPartial0(com.google.spanner.admin.database.v1.CreateBackupMeta
         result.database_ = database_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.progress_ = progressBuilder_ == null
-            ? progress_
-            : progressBuilder_.build();
+        result.progress_ = progressBuilder_ == null ? progress_ : progressBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.cancelTime_ = cancelTimeBuilder_ == null
-            ? cancelTime_
-            : cancelTimeBuilder_.build();
+        result.cancelTime_ = cancelTimeBuilder_ == null ? cancelTime_ : cancelTimeBuilder_.build();
       }
     }
 
@@ -558,38 +606,39 @@ private void buildPartial0(com.google.spanner.admin.database.v1.CreateBackupMeta
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.database.v1.CreateBackupMetadata) {
-        return mergeFrom((com.google.spanner.admin.database.v1.CreateBackupMetadata)other);
+        return mergeFrom((com.google.spanner.admin.database.v1.CreateBackupMetadata) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -597,7 +646,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.spanner.admin.database.v1.CreateBackupMetadata other) {
-      if (other == com.google.spanner.admin.database.v1.CreateBackupMetadata.getDefaultInstance()) return this;
+      if (other == com.google.spanner.admin.database.v1.CreateBackupMetadata.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -640,36 +690,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              database_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getProgressFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getCancelTimeFieldBuilder().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:
+              {
+                database_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getProgressFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(getCancelTimeFieldBuilder().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) {
@@ -679,22 +730,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 [(.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,20 +757,21 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the backup being created.
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -724,28 +779,35 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the backup being created.
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The name of the backup being created.
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearName() { @@ -755,17 +817,21 @@ public Builder clearName() { return this; } /** + * + * *
      * The name of the backup being created.
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -775,18 +841,20 @@ public Builder setNameBytes( private java.lang.Object database_ = ""; /** + * + * *
      * The name of the database the backup is created from.
      * 
* * string database = 2 [(.google.api.resource_reference) = { ... } + * * @return The database. */ public java.lang.String getDatabase() { java.lang.Object ref = database_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; @@ -795,20 +863,21 @@ public java.lang.String getDatabase() { } } /** + * + * *
      * The name of the database the backup is created from.
      * 
* * string database = 2 [(.google.api.resource_reference) = { ... } + * * @return The bytes for database. */ - public com.google.protobuf.ByteString - getDatabaseBytes() { + public com.google.protobuf.ByteString getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); database_ = b; return b; } else { @@ -816,28 +885,35 @@ public java.lang.String getDatabase() { } } /** + * + * *
      * The name of the database the backup is created from.
      * 
* * string database = 2 [(.google.api.resource_reference) = { ... } + * * @param value The database to set. * @return This builder for chaining. */ - public Builder setDatabase( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDatabase(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } database_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The name of the database the backup is created from.
      * 
* * string database = 2 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearDatabase() { @@ -847,17 +923,21 @@ public Builder clearDatabase() { return this; } /** + * + * *
      * The name of the database the backup is created from.
      * 
* * string database = 2 [(.google.api.resource_reference) = { ... } + * * @param value The bytes for database to set. * @return This builder for chaining. */ - public Builder setDatabaseBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); database_ = value; bitField0_ |= 0x00000002; @@ -867,36 +947,49 @@ public Builder setDatabaseBytes( private com.google.spanner.admin.database.v1.OperationProgress progress_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.OperationProgress, com.google.spanner.admin.database.v1.OperationProgress.Builder, com.google.spanner.admin.database.v1.OperationProgressOrBuilder> progressBuilder_; + com.google.spanner.admin.database.v1.OperationProgress, + com.google.spanner.admin.database.v1.OperationProgress.Builder, + com.google.spanner.admin.database.v1.OperationProgressOrBuilder> + progressBuilder_; /** + * + * *
      * The progress of the
      * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
      * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 3; + * * @return Whether the progress field is set. */ public boolean hasProgress() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * The progress of the
      * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
      * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 3; + * * @return The progress. */ public com.google.spanner.admin.database.v1.OperationProgress getProgress() { if (progressBuilder_ == null) { - return progress_ == null ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() : progress_; + return progress_ == null + ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() + : progress_; } else { return progressBuilder_.getMessage(); } } /** + * + * *
      * The progress of the
      * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
@@ -918,6 +1011,8 @@ public Builder setProgress(com.google.spanner.admin.database.v1.OperationProgres
       return this;
     }
     /**
+     *
+     *
      * 
      * The progress of the
      * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
@@ -937,6 +1032,8 @@ public Builder setProgress(
       return this;
     }
     /**
+     *
+     *
      * 
      * The progress of the
      * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
@@ -946,9 +1043,10 @@ public Builder setProgress(
      */
     public Builder mergeProgress(com.google.spanner.admin.database.v1.OperationProgress value) {
       if (progressBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0) &&
-          progress_ != null &&
-          progress_ != com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0)
+            && progress_ != null
+            && progress_
+                != com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance()) {
           getProgressBuilder().mergeFrom(value);
         } else {
           progress_ = value;
@@ -961,6 +1059,8 @@ public Builder mergeProgress(com.google.spanner.admin.database.v1.OperationProgr
       return this;
     }
     /**
+     *
+     *
      * 
      * The progress of the
      * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
@@ -979,6 +1079,8 @@ public Builder clearProgress() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The progress of the
      * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
@@ -992,6 +1094,8 @@ public com.google.spanner.admin.database.v1.OperationProgress.Builder getProgres
       return getProgressFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The progress of the
      * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
@@ -1003,11 +1107,14 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre
       if (progressBuilder_ != null) {
         return progressBuilder_.getMessageOrBuilder();
       } else {
-        return progress_ == null ?
-            com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() : progress_;
+        return progress_ == null
+            ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance()
+            : progress_;
       }
     }
     /**
+     *
+     *
      * 
      * The progress of the
      * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
@@ -1016,14 +1123,17 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre
      * .google.spanner.admin.database.v1.OperationProgress progress = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.spanner.admin.database.v1.OperationProgress, com.google.spanner.admin.database.v1.OperationProgress.Builder, com.google.spanner.admin.database.v1.OperationProgressOrBuilder> 
+            com.google.spanner.admin.database.v1.OperationProgress,
+            com.google.spanner.admin.database.v1.OperationProgress.Builder,
+            com.google.spanner.admin.database.v1.OperationProgressOrBuilder>
         getProgressFieldBuilder() {
       if (progressBuilder_ == null) {
-        progressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.admin.database.v1.OperationProgress, com.google.spanner.admin.database.v1.OperationProgress.Builder, com.google.spanner.admin.database.v1.OperationProgressOrBuilder>(
-                getProgress(),
-                getParentForChildren(),
-                isClean());
+        progressBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.spanner.admin.database.v1.OperationProgress,
+                com.google.spanner.admin.database.v1.OperationProgress.Builder,
+                com.google.spanner.admin.database.v1.OperationProgressOrBuilder>(
+                getProgress(), getParentForChildren(), isClean());
         progress_ = null;
       }
       return progressBuilder_;
@@ -1031,8 +1141,13 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre
 
     private com.google.protobuf.Timestamp cancelTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> cancelTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        cancelTimeBuilder_;
     /**
+     *
+     *
      * 
      * The time at which cancellation of this operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1049,12 +1164,15 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre
      * 
* * .google.protobuf.Timestamp cancel_time = 4; + * * @return Whether the cancelTime field is set. */ public boolean hasCancelTime() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * The time at which cancellation of this operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1071,16 +1189,21 @@ public boolean hasCancelTime() {
      * 
* * .google.protobuf.Timestamp cancel_time = 4; + * * @return The cancelTime. */ public com.google.protobuf.Timestamp getCancelTime() { if (cancelTimeBuilder_ == null) { - return cancelTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : cancelTime_; + return cancelTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : cancelTime_; } else { return cancelTimeBuilder_.getMessage(); } } /** + * + * *
      * The time at which cancellation of this operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1112,6 +1235,8 @@ public Builder setCancelTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which cancellation of this operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1129,8 +1254,7 @@ public Builder setCancelTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp cancel_time = 4;
      */
-    public Builder setCancelTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setCancelTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (cancelTimeBuilder_ == null) {
         cancelTime_ = builderForValue.build();
       } else {
@@ -1141,6 +1265,8 @@ public Builder setCancelTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which cancellation of this operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1160,9 +1286,9 @@ public Builder setCancelTime(
      */
     public Builder mergeCancelTime(com.google.protobuf.Timestamp value) {
       if (cancelTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000008) != 0) &&
-          cancelTime_ != null &&
-          cancelTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0)
+            && cancelTime_ != null
+            && cancelTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getCancelTimeBuilder().mergeFrom(value);
         } else {
           cancelTime_ = value;
@@ -1175,6 +1301,8 @@ public Builder mergeCancelTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which cancellation of this operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1203,6 +1331,8 @@ public Builder clearCancelTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which cancellation of this operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1226,6 +1356,8 @@ public com.google.protobuf.Timestamp.Builder getCancelTimeBuilder() {
       return getCancelTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time at which cancellation of this operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1247,11 +1379,14 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
       if (cancelTimeBuilder_ != null) {
         return cancelTimeBuilder_.getMessageOrBuilder();
       } else {
-        return cancelTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : cancelTime_;
+        return cancelTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : cancelTime_;
       }
     }
     /**
+     *
+     *
      * 
      * The time at which cancellation of this operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1270,21 +1405,24 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
      * .google.protobuf.Timestamp cancel_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>
         getCancelTimeFieldBuilder() {
       if (cancelTimeBuilder_ == null) {
-        cancelTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getCancelTime(),
-                getParentForChildren(),
-                isClean());
+        cancelTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getCancelTime(), getParentForChildren(), isClean());
         cancelTime_ = null;
       }
       return cancelTimeBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1294,12 +1432,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.CreateBackupMetadata)
   }
 
   // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.CreateBackupMetadata)
   private static final com.google.spanner.admin.database.v1.CreateBackupMetadata DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.CreateBackupMetadata();
   }
@@ -1308,27 +1446,27 @@ public static com.google.spanner.admin.database.v1.CreateBackupMetadata getDefau
     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;
@@ -1343,6 +1481,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.spanner.admin.database.v1.CreateBackupMetadata getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupMetadataOrBuilder.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupMetadataOrBuilder.java
similarity index 85%
rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupMetadataOrBuilder.java
rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupMetadataOrBuilder.java
index d9e4aa26cfd..5ca2529e2f3 100644
--- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupMetadataOrBuilder.java
+++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupMetadataOrBuilder.java
@@ -1,73 +1,107 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/admin/database/v1/backup.proto
 
 package com.google.spanner.admin.database.v1;
 
-public interface CreateBackupMetadataOrBuilder extends
+public interface CreateBackupMetadataOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.CreateBackupMetadata)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The name of the backup being created.
    * 
* * string name = 1 [(.google.api.resource_reference) = { ... } + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the backup being created.
    * 
* * string name = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The name of the database the backup is created from.
    * 
* * string database = 2 [(.google.api.resource_reference) = { ... } + * * @return The database. */ java.lang.String getDatabase(); /** + * + * *
    * The name of the database the backup is created from.
    * 
* * string database = 2 [(.google.api.resource_reference) = { ... } + * * @return The bytes for database. */ - com.google.protobuf.ByteString - getDatabaseBytes(); + com.google.protobuf.ByteString getDatabaseBytes(); /** + * + * *
    * The progress of the
    * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
    * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 3; + * * @return Whether the progress field is set. */ boolean hasProgress(); /** + * + * *
    * The progress of the
    * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
    * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 3; + * * @return The progress. */ com.google.spanner.admin.database.v1.OperationProgress getProgress(); /** + * + * *
    * The progress of the
    * [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation.
@@ -78,6 +112,8 @@ public interface CreateBackupMetadataOrBuilder extends
   com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgressOrBuilder();
 
   /**
+   *
+   *
    * 
    * The time at which cancellation of this operation was received.
    * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -94,10 +130,13 @@ public interface CreateBackupMetadataOrBuilder extends
    * 
* * .google.protobuf.Timestamp cancel_time = 4; + * * @return Whether the cancelTime field is set. */ boolean hasCancelTime(); /** + * + * *
    * The time at which cancellation of this operation was received.
    * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -114,10 +153,13 @@ public interface CreateBackupMetadataOrBuilder extends
    * 
* * .google.protobuf.Timestamp cancel_time = 4; + * * @return The cancelTime. */ com.google.protobuf.Timestamp getCancelTime(); /** + * + * *
    * The time at which cancellation of this operation was received.
    * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupRequest.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupRequest.java
similarity index 65%
rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupRequest.java
rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupRequest.java
index 99e9480f7e4..96197d756b5 100644
--- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupRequest.java
+++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupRequest.java
@@ -1,24 +1,42 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/admin/database/v1/backup.proto
 
 package com.google.spanner.admin.database.v1;
 
 /**
+ *
+ *
  * 
  * The request for [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup].
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.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.spanner.admin.database.v1.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,33 +44,37 @@ private CreateBackupRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateBackupRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CreateBackupRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.admin.database.v1.BackupProto + .internal_static_google_spanner_admin_database_v1_CreateBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CreateBackupRequest_fieldAccessorTable + return com.google.spanner.admin.database.v1.BackupProto + .internal_static_google_spanner_admin_database_v1_CreateBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.CreateBackupRequest.class, com.google.spanner.admin.database.v1.CreateBackupRequest.Builder.class); + com.google.spanner.admin.database.v1.CreateBackupRequest.class, + com.google.spanner.admin.database.v1.CreateBackupRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The name of the instance in which the backup will be
    * created. This must be the same instance that contains the database the
@@ -62,7 +84,10 @@ protected java.lang.Object newInstance(
    * `projects/<project>/instances/<instance>`.
    * 
* - * string parent = 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 name of the instance in which the backup will be
    * created. This must be the same instance that contains the database the
@@ -88,17 +114,18 @@ public java.lang.String getParent() {
    * `projects/<project>/instances/<instance>`.
    * 
* - * string parent = 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 { @@ -107,9 +134,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` appended to
    * `parent` forms the full backup name of the form
@@ -117,6 +147,7 @@ public java.lang.String getParent() {
    * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The backupId. */ @java.lang.Override @@ -125,14 +156,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` appended to
    * `parent` forms the full backup name of the form
@@ -140,16 +172,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 { @@ -160,11 +191,16 @@ public java.lang.String getBackupId() { public static final int BACKUP_FIELD_NUMBER = 3; private com.google.spanner.admin.database.v1.Backup backup_; /** + * + * *
    * Required. The backup to create.
    * 
* - * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the backup field is set. */ @java.lang.Override @@ -172,32 +208,47 @@ public boolean hasBackup() { return backup_ != null; } /** + * + * *
    * Required. The backup to create.
    * 
* - * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The backup. */ @java.lang.Override public com.google.spanner.admin.database.v1.Backup getBackup() { - return backup_ == null ? com.google.spanner.admin.database.v1.Backup.getDefaultInstance() : backup_; + return backup_ == null + ? com.google.spanner.admin.database.v1.Backup.getDefaultInstance() + : backup_; } /** + * + * *
    * Required. The backup to create.
    * 
* - * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.spanner.admin.database.v1.BackupOrBuilder getBackupOrBuilder() { - return backup_ == null ? com.google.spanner.admin.database.v1.Backup.getDefaultInstance() : backup_; + return backup_ == null + ? com.google.spanner.admin.database.v1.Backup.getDefaultInstance() + : backup_; } public static final int ENCRYPTION_CONFIG_FIELD_NUMBER = 4; private com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryptionConfig_; /** + * + * *
    * Optional. The encryption configuration used to encrypt the backup. If this field is
    * not specified, the backup will use the same
@@ -206,7 +257,10 @@ public com.google.spanner.admin.database.v1.BackupOrBuilder getBackupOrBuilder()
    * `USE_DATABASE_ENCRYPTION`.
    * 
* - * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the encryptionConfig field is set. */ @java.lang.Override @@ -214,6 +268,8 @@ public boolean hasEncryptionConfig() { return encryptionConfig_ != null; } /** + * + * *
    * Optional. The encryption configuration used to encrypt the backup. If this field is
    * not specified, the backup will use the same
@@ -222,14 +278,21 @@ public boolean hasEncryptionConfig() {
    * `USE_DATABASE_ENCRYPTION`.
    * 
* - * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The encryptionConfig. */ @java.lang.Override public com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig getEncryptionConfig() { - return encryptionConfig_ == null ? com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.getDefaultInstance() : encryptionConfig_; + return encryptionConfig_ == null + ? com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.getDefaultInstance() + : encryptionConfig_; } /** + * + * *
    * Optional. The encryption configuration used to encrypt the backup. If this field is
    * not specified, the backup will use the same
@@ -238,14 +301,20 @@ public com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig getEncr
    * `USE_DATABASE_ENCRYPTION`.
    * 
* - * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.spanner.admin.database.v1.CreateBackupEncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { - return encryptionConfig_ == null ? com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.getDefaultInstance() : encryptionConfig_; + public com.google.spanner.admin.database.v1.CreateBackupEncryptionConfigOrBuilder + getEncryptionConfigOrBuilder() { + return encryptionConfig_ == null + ? com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.getDefaultInstance() + : encryptionConfig_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -257,8 +326,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_); } @@ -287,12 +355,10 @@ 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()); } if (encryptionConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getEncryptionConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getEncryptionConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -302,26 +368,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.spanner.admin.database.v1.CreateBackupRequest)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.CreateBackupRequest other = (com.google.spanner.admin.database.v1.CreateBackupRequest) obj; + com.google.spanner.admin.database.v1.CreateBackupRequest other = + (com.google.spanner.admin.database.v1.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 (hasEncryptionConfig() != other.hasEncryptionConfig()) return false; if (hasEncryptionConfig()) { - if (!getEncryptionConfig() - .equals(other.getEncryptionConfig())) return false; + if (!getEncryptionConfig().equals(other.getEncryptionConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -352,129 +415,136 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.CreateBackupRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.CreateBackupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.CreateBackupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.CreateBackupRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.spanner.admin.database.v1.CreateBackupRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.CreateBackupRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.spanner.admin.database.v1.CreateBackupRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.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.spanner.admin.database.v1.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.spanner.admin.database.v1.CreateBackupRequest prototype) { + + public static Builder newBuilder( + com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.DatabaseAdmin.CreateBackup].
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.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.spanner.admin.database.v1.CreateBackupRequest) com.google.spanner.admin.database.v1.CreateBackupRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CreateBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.admin.database.v1.BackupProto + .internal_static_google_spanner_admin_database_v1_CreateBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CreateBackupRequest_fieldAccessorTable + return com.google.spanner.admin.database.v1.BackupProto + .internal_static_google_spanner_admin_database_v1_CreateBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.CreateBackupRequest.class, com.google.spanner.admin.database.v1.CreateBackupRequest.Builder.class); + com.google.spanner.admin.database.v1.CreateBackupRequest.class, + com.google.spanner.admin.database.v1.CreateBackupRequest.Builder.class); } // Construct using com.google.spanner.admin.database.v1.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(); @@ -495,9 +565,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_CreateBackupRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.spanner.admin.database.v1.BackupProto + .internal_static_google_spanner_admin_database_v1_CreateBackupRequest_descriptor; } @java.lang.Override @@ -516,8 +586,11 @@ public com.google.spanner.admin.database.v1.CreateBackupRequest build() { @java.lang.Override public com.google.spanner.admin.database.v1.CreateBackupRequest buildPartial() { - com.google.spanner.admin.database.v1.CreateBackupRequest result = new com.google.spanner.admin.database.v1.CreateBackupRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.spanner.admin.database.v1.CreateBackupRequest result = + new com.google.spanner.admin.database.v1.CreateBackupRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -531,14 +604,11 @@ private void buildPartial0(com.google.spanner.admin.database.v1.CreateBackupRequ result.backupId_ = backupId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.backup_ = backupBuilder_ == null - ? backup_ - : backupBuilder_.build(); + result.backup_ = backupBuilder_ == null ? backup_ : backupBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { - result.encryptionConfig_ = encryptionConfigBuilder_ == null - ? encryptionConfig_ - : encryptionConfigBuilder_.build(); + result.encryptionConfig_ = + encryptionConfigBuilder_ == null ? encryptionConfig_ : encryptionConfigBuilder_.build(); } } @@ -546,38 +616,39 @@ private void buildPartial0(com.google.spanner.admin.database.v1.CreateBackupRequ public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.admin.database.v1.CreateBackupRequest) { - return mergeFrom((com.google.spanner.admin.database.v1.CreateBackupRequest)other); + return mergeFrom((com.google.spanner.admin.database.v1.CreateBackupRequest) other); } else { super.mergeFrom(other); return this; @@ -585,7 +656,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.admin.database.v1.CreateBackupRequest other) { - if (other == com.google.spanner.admin.database.v1.CreateBackupRequest.getDefaultInstance()) return this; + if (other == com.google.spanner.admin.database.v1.CreateBackupRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -628,36 +700,38 @@ 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 - case 34: { - input.readMessage( - getEncryptionConfigFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + backupId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getBackupFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + input.readMessage( + getEncryptionConfigFieldBuilder().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) { @@ -667,10 +741,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The name of the instance in which the backup will be
      * created. This must be the same instance that contains the database the
@@ -680,14 +757,16 @@ public Builder mergeFrom(
      * `projects/<project>/instances/<instance>`.
      * 
* - * string parent = 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; @@ -696,6 +775,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the instance in which the backup will be
      * created. This must be the same instance that contains the database the
@@ -705,16 +786,17 @@ public java.lang.String getParent() {
      * `projects/<project>/instances/<instance>`.
      * 
* - * string parent = 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 { @@ -722,6 +804,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the instance in which the backup will be
      * created. This must be the same instance that contains the database the
@@ -731,19 +815,25 @@ public java.lang.String getParent() {
      * `projects/<project>/instances/<instance>`.
      * 
* - * 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 the backup will be
      * created. This must be the same instance that contains the database the
@@ -753,7 +843,10 @@ public Builder setParent(
      * `projects/<project>/instances/<instance>`.
      * 
* - * string 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() { @@ -763,6 +856,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The name of the instance in which the backup will be
      * created. This must be the same instance that contains the database the
@@ -772,13 +867,17 @@ public Builder clearParent() {
      * `projects/<project>/instances/<instance>`.
      * 
* - * 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; @@ -788,6 +887,8 @@ public Builder setParentBytes( private java.lang.Object backupId_ = ""; /** + * + * *
      * Required. The id of the backup to be created. The `backup_id` appended to
      * `parent` forms the full backup name of the form
@@ -795,13 +896,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; @@ -810,6 +911,8 @@ public java.lang.String getBackupId() { } } /** + * + * *
      * Required. The id of the backup to be created. The `backup_id` appended to
      * `parent` forms the full backup name of the form
@@ -817,15 +920,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 { @@ -833,6 +935,8 @@ public java.lang.String getBackupId() { } } /** + * + * *
      * Required. The id of the backup to be created. The `backup_id` appended to
      * `parent` forms the full backup name of the form
@@ -840,18 +944,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` appended to
      * `parent` forms the full backup name of the form
@@ -859,6 +967,7 @@ public Builder setBackupId(
      * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearBackupId() { @@ -868,6 +977,8 @@ public Builder clearBackupId() { return this; } /** + * + * *
      * Required. The id of the backup to be created. The `backup_id` appended to
      * `parent` forms the full backup name of the form
@@ -875,12 +986,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; @@ -890,39 +1003,58 @@ public Builder setBackupIdBytes( private com.google.spanner.admin.database.v1.Backup backup_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.Backup, com.google.spanner.admin.database.v1.Backup.Builder, com.google.spanner.admin.database.v1.BackupOrBuilder> backupBuilder_; + com.google.spanner.admin.database.v1.Backup, + com.google.spanner.admin.database.v1.Backup.Builder, + com.google.spanner.admin.database.v1.BackupOrBuilder> + backupBuilder_; /** + * + * *
      * Required. The backup to create.
      * 
* - * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.database.v1.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.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The backup. */ public com.google.spanner.admin.database.v1.Backup getBackup() { if (backupBuilder_ == null) { - return backup_ == null ? com.google.spanner.admin.database.v1.Backup.getDefaultInstance() : backup_; + return backup_ == null + ? com.google.spanner.admin.database.v1.Backup.getDefaultInstance() + : backup_; } else { return backupBuilder_.getMessage(); } } /** + * + * *
      * Required. The backup to create.
      * 
* - * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setBackup(com.google.spanner.admin.database.v1.Backup value) { if (backupBuilder_ == null) { @@ -938,14 +1070,17 @@ public Builder setBackup(com.google.spanner.admin.database.v1.Backup value) { return this; } /** + * + * *
      * Required. The backup to create.
      * 
* - * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setBackup( - com.google.spanner.admin.database.v1.Backup.Builder builderForValue) { + public Builder setBackup(com.google.spanner.admin.database.v1.Backup.Builder builderForValue) { if (backupBuilder_ == null) { backup_ = builderForValue.build(); } else { @@ -956,17 +1091,21 @@ public Builder setBackup( return this; } /** + * + * *
      * Required. The backup to create.
      * 
* - * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeBackup(com.google.spanner.admin.database.v1.Backup value) { if (backupBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - backup_ != null && - backup_ != com.google.spanner.admin.database.v1.Backup.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && backup_ != null + && backup_ != com.google.spanner.admin.database.v1.Backup.getDefaultInstance()) { getBackupBuilder().mergeFrom(value); } else { backup_ = value; @@ -979,11 +1118,15 @@ public Builder mergeBackup(com.google.spanner.admin.database.v1.Backup value) { return this; } /** + * + * *
      * Required. The backup to create.
      * 
* - * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearBackup() { bitField0_ = (bitField0_ & ~0x00000004); @@ -996,11 +1139,15 @@ public Builder clearBackup() { return this; } /** + * + * *
      * Required. The backup to create.
      * 
* - * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.spanner.admin.database.v1.Backup.Builder getBackupBuilder() { bitField0_ |= 0x00000004; @@ -1008,36 +1155,48 @@ public com.google.spanner.admin.database.v1.Backup.Builder getBackupBuilder() { return getBackupFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The backup to create.
      * 
* - * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.spanner.admin.database.v1.BackupOrBuilder getBackupOrBuilder() { if (backupBuilder_ != null) { return backupBuilder_.getMessageOrBuilder(); } else { - return backup_ == null ? - com.google.spanner.admin.database.v1.Backup.getDefaultInstance() : backup_; + return backup_ == null + ? com.google.spanner.admin.database.v1.Backup.getDefaultInstance() + : backup_; } } /** + * + * *
      * Required. The backup to create.
      * 
* - * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.Backup, com.google.spanner.admin.database.v1.Backup.Builder, com.google.spanner.admin.database.v1.BackupOrBuilder> + com.google.spanner.admin.database.v1.Backup, + com.google.spanner.admin.database.v1.Backup.Builder, + com.google.spanner.admin.database.v1.BackupOrBuilder> getBackupFieldBuilder() { if (backupBuilder_ == null) { - backupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.Backup, com.google.spanner.admin.database.v1.Backup.Builder, com.google.spanner.admin.database.v1.BackupOrBuilder>( - getBackup(), - getParentForChildren(), - isClean()); + backupBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.admin.database.v1.Backup, + com.google.spanner.admin.database.v1.Backup.Builder, + com.google.spanner.admin.database.v1.BackupOrBuilder>( + getBackup(), getParentForChildren(), isClean()); backup_ = null; } return backupBuilder_; @@ -1045,8 +1204,13 @@ public com.google.spanner.admin.database.v1.BackupOrBuilder getBackupOrBuilder() private com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryptionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig, com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.Builder, com.google.spanner.admin.database.v1.CreateBackupEncryptionConfigOrBuilder> encryptionConfigBuilder_; + com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig, + com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.Builder, + com.google.spanner.admin.database.v1.CreateBackupEncryptionConfigOrBuilder> + encryptionConfigBuilder_; /** + * + * *
      * Optional. The encryption configuration used to encrypt the backup. If this field is
      * not specified, the backup will use the same
@@ -1055,13 +1219,18 @@ public com.google.spanner.admin.database.v1.BackupOrBuilder getBackupOrBuilder()
      * `USE_DATABASE_ENCRYPTION`.
      * 
* - * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the encryptionConfig field is set. */ public boolean hasEncryptionConfig() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Optional. The encryption configuration used to encrypt the backup. If this field is
      * not specified, the backup will use the same
@@ -1070,17 +1239,24 @@ public boolean hasEncryptionConfig() {
      * `USE_DATABASE_ENCRYPTION`.
      * 
* - * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The encryptionConfig. */ public com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig getEncryptionConfig() { if (encryptionConfigBuilder_ == null) { - return encryptionConfig_ == null ? com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.getDefaultInstance() : encryptionConfig_; + return encryptionConfig_ == null + ? com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.getDefaultInstance() + : encryptionConfig_; } else { return encryptionConfigBuilder_.getMessage(); } } /** + * + * *
      * Optional. The encryption configuration used to encrypt the backup. If this field is
      * not specified, the backup will use the same
@@ -1089,9 +1265,12 @@ public com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig getEncr
      * `USE_DATABASE_ENCRYPTION`.
      * 
* - * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setEncryptionConfig(com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig value) { + public Builder setEncryptionConfig( + com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig value) { if (encryptionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1105,6 +1284,8 @@ public Builder setEncryptionConfig(com.google.spanner.admin.database.v1.CreateBa return this; } /** + * + * *
      * Optional. The encryption configuration used to encrypt the backup. If this field is
      * not specified, the backup will use the same
@@ -1113,7 +1294,9 @@ public Builder setEncryptionConfig(com.google.spanner.admin.database.v1.CreateBa
      * `USE_DATABASE_ENCRYPTION`.
      * 
* - * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setEncryptionConfig( com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.Builder builderForValue) { @@ -1127,6 +1310,8 @@ public Builder setEncryptionConfig( return this; } /** + * + * *
      * Optional. The encryption configuration used to encrypt the backup. If this field is
      * not specified, the backup will use the same
@@ -1135,13 +1320,18 @@ public Builder setEncryptionConfig(
      * `USE_DATABASE_ENCRYPTION`.
      * 
* - * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder mergeEncryptionConfig(com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig value) { + public Builder mergeEncryptionConfig( + com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig value) { if (encryptionConfigBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - encryptionConfig_ != null && - encryptionConfig_ != com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && encryptionConfig_ != null + && encryptionConfig_ + != com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig + .getDefaultInstance()) { getEncryptionConfigBuilder().mergeFrom(value); } else { encryptionConfig_ = value; @@ -1154,6 +1344,8 @@ public Builder mergeEncryptionConfig(com.google.spanner.admin.database.v1.Create return this; } /** + * + * *
      * Optional. The encryption configuration used to encrypt the backup. If this field is
      * not specified, the backup will use the same
@@ -1162,7 +1354,9 @@ public Builder mergeEncryptionConfig(com.google.spanner.admin.database.v1.Create
      * `USE_DATABASE_ENCRYPTION`.
      * 
* - * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearEncryptionConfig() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1175,6 +1369,8 @@ public Builder clearEncryptionConfig() { return this; } /** + * + * *
      * Optional. The encryption configuration used to encrypt the backup. If this field is
      * not specified, the backup will use the same
@@ -1183,14 +1379,19 @@ public Builder clearEncryptionConfig() {
      * `USE_DATABASE_ENCRYPTION`.
      * 
* - * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.Builder getEncryptionConfigBuilder() { + public com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.Builder + getEncryptionConfigBuilder() { bitField0_ |= 0x00000008; onChanged(); return getEncryptionConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. The encryption configuration used to encrypt the backup. If this field is
      * not specified, the backup will use the same
@@ -1199,17 +1400,23 @@ public com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.Builder
      * `USE_DATABASE_ENCRYPTION`.
      * 
* - * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.spanner.admin.database.v1.CreateBackupEncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { + public com.google.spanner.admin.database.v1.CreateBackupEncryptionConfigOrBuilder + getEncryptionConfigOrBuilder() { if (encryptionConfigBuilder_ != null) { return encryptionConfigBuilder_.getMessageOrBuilder(); } else { - return encryptionConfig_ == null ? - com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.getDefaultInstance() : encryptionConfig_; + return encryptionConfig_ == null + ? com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.getDefaultInstance() + : encryptionConfig_; } } /** + * + * *
      * Optional. The encryption configuration used to encrypt the backup. If this field is
      * not specified, the backup will use the same
@@ -1218,24 +1425,29 @@ public com.google.spanner.admin.database.v1.CreateBackupEncryptionConfigOrBuilde
      * `USE_DATABASE_ENCRYPTION`.
      * 
* - * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig, com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.Builder, com.google.spanner.admin.database.v1.CreateBackupEncryptionConfigOrBuilder> + com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig, + com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.Builder, + com.google.spanner.admin.database.v1.CreateBackupEncryptionConfigOrBuilder> getEncryptionConfigFieldBuilder() { if (encryptionConfigBuilder_ == null) { - encryptionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig, com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.Builder, com.google.spanner.admin.database.v1.CreateBackupEncryptionConfigOrBuilder>( - getEncryptionConfig(), - getParentForChildren(), - isClean()); + encryptionConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig, + com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig.Builder, + com.google.spanner.admin.database.v1.CreateBackupEncryptionConfigOrBuilder>( + 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); } @@ -1245,12 +1457,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.CreateBackupRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.CreateBackupRequest) private static final com.google.spanner.admin.database.v1.CreateBackupRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.CreateBackupRequest(); } @@ -1259,27 +1471,27 @@ public static com.google.spanner.admin.database.v1.CreateBackupRequest getDefaul 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; @@ -1294,6 +1506,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.CreateBackupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupRequestOrBuilder.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupRequestOrBuilder.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupRequestOrBuilder.java rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupRequestOrBuilder.java index 0751e6271df..533a7441a76 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupRequestOrBuilder.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateBackupRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/backup.proto package com.google.spanner.admin.database.v1; -public interface CreateBackupRequestOrBuilder extends +public interface CreateBackupRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.CreateBackupRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the instance in which the backup will be
    * created. This must be the same instance that contains the database the
@@ -17,11 +35,16 @@ public interface CreateBackupRequestOrBuilder extends
    * `projects/<project>/instances/<instance>`.
    * 
* - * string parent = 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 the backup will be
    * created. This must be the same instance that contains the database the
@@ -31,13 +54,17 @@ public interface CreateBackupRequestOrBuilder extends
    * `projects/<project>/instances/<instance>`.
    * 
* - * string parent = 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` appended to
    * `parent` forms the full backup name of the form
@@ -45,10 +72,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` appended to
    * `parent` forms the full backup name of the form
@@ -56,39 +86,55 @@ 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.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the backup field is set. */ boolean hasBackup(); /** + * + * *
    * Required. The backup to create.
    * 
* - * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The backup. */ com.google.spanner.admin.database.v1.Backup getBackup(); /** + * + * *
    * Required. The backup to create.
    * 
* - * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.database.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.spanner.admin.database.v1.BackupOrBuilder getBackupOrBuilder(); /** + * + * *
    * Optional. The encryption configuration used to encrypt the backup. If this field is
    * not specified, the backup will use the same
@@ -97,11 +143,16 @@ public interface CreateBackupRequestOrBuilder extends
    * `USE_DATABASE_ENCRYPTION`.
    * 
* - * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the encryptionConfig field is set. */ boolean hasEncryptionConfig(); /** + * + * *
    * Optional. The encryption configuration used to encrypt the backup. If this field is
    * not specified, the backup will use the same
@@ -110,11 +161,16 @@ public interface CreateBackupRequestOrBuilder extends
    * `USE_DATABASE_ENCRYPTION`.
    * 
* - * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The encryptionConfig. */ com.google.spanner.admin.database.v1.CreateBackupEncryptionConfig getEncryptionConfig(); /** + * + * *
    * Optional. The encryption configuration used to encrypt the backup. If this field is
    * not specified, the backup will use the same
@@ -123,7 +179,10 @@ public interface CreateBackupRequestOrBuilder extends
    * `USE_DATABASE_ENCRYPTION`.
    * 
* - * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.spanner.admin.database.v1.CreateBackupEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.spanner.admin.database.v1.CreateBackupEncryptionConfigOrBuilder getEncryptionConfigOrBuilder(); + com.google.spanner.admin.database.v1.CreateBackupEncryptionConfigOrBuilder + getEncryptionConfigOrBuilder(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseMetadata.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseMetadata.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseMetadata.java rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseMetadata.java index d0081731d35..b24893c407a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseMetadata.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseMetadata.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/spanner_database_admin.proto package com.google.spanner.admin.database.v1; /** + * + * *
  * Metadata type for the operation returned by
  * [CreateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.CreateDatabase].
@@ -11,53 +28,59 @@
  *
  * Protobuf type {@code google.spanner.admin.database.v1.CreateDatabaseMetadata}
  */
-public final class CreateDatabaseMetadata extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CreateDatabaseMetadata extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.CreateDatabaseMetadata)
     CreateDatabaseMetadataOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CreateDatabaseMetadata.newBuilder() to construct.
   private CreateDatabaseMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private CreateDatabaseMetadata() {
     database_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CreateDatabaseMetadata();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_CreateDatabaseMetadata_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
+        .internal_static_google_spanner_admin_database_v1_CreateDatabaseMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_CreateDatabaseMetadata_fieldAccessorTable
+    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
+        .internal_static_google_spanner_admin_database_v1_CreateDatabaseMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.database.v1.CreateDatabaseMetadata.class, com.google.spanner.admin.database.v1.CreateDatabaseMetadata.Builder.class);
+            com.google.spanner.admin.database.v1.CreateDatabaseMetadata.class,
+            com.google.spanner.admin.database.v1.CreateDatabaseMetadata.Builder.class);
   }
 
   public static final int DATABASE_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object database_ = "";
   /**
+   *
+   *
    * 
    * The database being created.
    * 
* * string database = 1 [(.google.api.resource_reference) = { ... } + * * @return The database. */ @java.lang.Override @@ -66,29 +89,29 @@ public java.lang.String getDatabase() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; } } /** + * + * *
    * The database being created.
    * 
* * string database = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for database. */ @java.lang.Override - public com.google.protobuf.ByteString - getDatabaseBytes() { + public com.google.protobuf.ByteString getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); database_ = b; return b; } else { @@ -97,6 +120,7 @@ public java.lang.String getDatabase() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -108,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(database_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, database_); } @@ -133,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.spanner.admin.database.v1.CreateDatabaseMetadata)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.CreateDatabaseMetadata other = (com.google.spanner.admin.database.v1.CreateDatabaseMetadata) obj; + com.google.spanner.admin.database.v1.CreateDatabaseMetadata other = + (com.google.spanner.admin.database.v1.CreateDatabaseMetadata) obj; - if (!getDatabase() - .equals(other.getDatabase())) return false; + if (!getDatabase().equals(other.getDatabase())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -161,96 +184,104 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.CreateDatabaseMetadata parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.CreateDatabaseMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.admin.database.v1.CreateDatabaseMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.CreateDatabaseMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.admin.database.v1.CreateDatabaseMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.CreateDatabaseMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.CreateDatabaseMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.spanner.admin.database.v1.CreateDatabaseMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.CreateDatabaseMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.CreateDatabaseMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.spanner.admin.database.v1.CreateDatabaseMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.CreateDatabaseMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.spanner.admin.database.v1.CreateDatabaseMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.CreateDatabaseMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.admin.database.v1.CreateDatabaseMetadata prototype) { + + public static Builder newBuilder( + com.google.spanner.admin.database.v1.CreateDatabaseMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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
    * [CreateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.CreateDatabase].
@@ -258,33 +289,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.spanner.admin.database.v1.CreateDatabaseMetadata}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.CreateDatabaseMetadata)
       com.google.spanner.admin.database.v1.CreateDatabaseMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_CreateDatabaseMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
+          .internal_static_google_spanner_admin_database_v1_CreateDatabaseMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_CreateDatabaseMetadata_fieldAccessorTable
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
+          .internal_static_google_spanner_admin_database_v1_CreateDatabaseMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.database.v1.CreateDatabaseMetadata.class, com.google.spanner.admin.database.v1.CreateDatabaseMetadata.Builder.class);
+              com.google.spanner.admin.database.v1.CreateDatabaseMetadata.class,
+              com.google.spanner.admin.database.v1.CreateDatabaseMetadata.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.database.v1.CreateDatabaseMetadata.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        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 +324,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_CreateDatabaseMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
+          .internal_static_google_spanner_admin_database_v1_CreateDatabaseMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -315,8 +345,11 @@ public com.google.spanner.admin.database.v1.CreateDatabaseMetadata build() {
 
     @java.lang.Override
     public com.google.spanner.admin.database.v1.CreateDatabaseMetadata buildPartial() {
-      com.google.spanner.admin.database.v1.CreateDatabaseMetadata result = new com.google.spanner.admin.database.v1.CreateDatabaseMetadata(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.spanner.admin.database.v1.CreateDatabaseMetadata result =
+          new com.google.spanner.admin.database.v1.CreateDatabaseMetadata(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -332,38 +365,39 @@ private void buildPartial0(com.google.spanner.admin.database.v1.CreateDatabaseMe
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.database.v1.CreateDatabaseMetadata) {
-        return mergeFrom((com.google.spanner.admin.database.v1.CreateDatabaseMetadata)other);
+        return mergeFrom((com.google.spanner.admin.database.v1.CreateDatabaseMetadata) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -371,7 +405,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.spanner.admin.database.v1.CreateDatabaseMetadata other) {
-      if (other == com.google.spanner.admin.database.v1.CreateDatabaseMetadata.getDefaultInstance()) return this;
+      if (other == com.google.spanner.admin.database.v1.CreateDatabaseMetadata.getDefaultInstance())
+        return this;
       if (!other.getDatabase().isEmpty()) {
         database_ = other.database_;
         bitField0_ |= 0x00000001;
@@ -403,17 +438,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              database_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                database_ = 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) {
@@ -423,22 +460,25 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object database_ = "";
     /**
+     *
+     *
      * 
      * The database being created.
      * 
* * string database = 1 [(.google.api.resource_reference) = { ... } + * * @return The database. */ public java.lang.String getDatabase() { java.lang.Object ref = database_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; @@ -447,20 +487,21 @@ public java.lang.String getDatabase() { } } /** + * + * *
      * The database being created.
      * 
* * string database = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for database. */ - public com.google.protobuf.ByteString - getDatabaseBytes() { + public com.google.protobuf.ByteString getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); database_ = b; return b; } else { @@ -468,28 +509,35 @@ public java.lang.String getDatabase() { } } /** + * + * *
      * The database being created.
      * 
* * string database = 1 [(.google.api.resource_reference) = { ... } + * * @param value The database to set. * @return This builder for chaining. */ - public Builder setDatabase( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDatabase(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } database_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The database being created.
      * 
* * string database = 1 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearDatabase() { @@ -499,26 +547,30 @@ public Builder clearDatabase() { return this; } /** + * + * *
      * The database being created.
      * 
* * string database = 1 [(.google.api.resource_reference) = { ... } + * * @param value The bytes for database to set. * @return This builder for chaining. */ - public Builder setDatabaseBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); database_ = 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); } @@ -528,12 +580,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.CreateDatabaseMetadata) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.CreateDatabaseMetadata) private static final com.google.spanner.admin.database.v1.CreateDatabaseMetadata DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.CreateDatabaseMetadata(); } @@ -542,27 +594,27 @@ public static com.google.spanner.admin.database.v1.CreateDatabaseMetadata getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateDatabaseMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateDatabaseMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -577,6 +629,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.CreateDatabaseMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseMetadataOrBuilder.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseMetadataOrBuilder.java similarity index 50% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseMetadataOrBuilder.java rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseMetadataOrBuilder.java index be3ab217717..ce1922985d9 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseMetadataOrBuilder.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseMetadataOrBuilder.java @@ -1,29 +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/spanner/admin/database/v1/spanner_database_admin.proto package com.google.spanner.admin.database.v1; -public interface CreateDatabaseMetadataOrBuilder extends +public interface CreateDatabaseMetadataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.CreateDatabaseMetadata) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The database being created.
    * 
* * string database = 1 [(.google.api.resource_reference) = { ... } + * * @return The database. */ java.lang.String getDatabase(); /** + * + * *
    * The database being created.
    * 
* * string database = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for database. */ - com.google.protobuf.ByteString - getDatabaseBytes(); + com.google.protobuf.ByteString getDatabaseBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseRequest.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseRequest.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseRequest.java rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseRequest.java index 7b3023ec129..e393b538ff4 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseRequest.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/spanner_database_admin.proto package com.google.spanner.admin.database.v1; /** + * + * *
  * The request for [CreateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.CreateDatabase].
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.CreateDatabaseRequest} */ -public final class CreateDatabaseRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateDatabaseRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.CreateDatabaseRequest) CreateDatabaseRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateDatabaseRequest.newBuilder() to construct. private CreateDatabaseRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateDatabaseRequest() { parent_ = ""; createStatement_ = ""; @@ -28,39 +46,46 @@ private CreateDatabaseRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateDatabaseRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_CreateDatabaseRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto + .internal_static_google_spanner_admin_database_v1_CreateDatabaseRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_CreateDatabaseRequest_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto + .internal_static_google_spanner_admin_database_v1_CreateDatabaseRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.CreateDatabaseRequest.class, com.google.spanner.admin.database.v1.CreateDatabaseRequest.Builder.class); + com.google.spanner.admin.database.v1.CreateDatabaseRequest.class, + com.google.spanner.admin.database.v1.CreateDatabaseRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The name of the instance that will serve the new database.
    * Values are of the form `projects/<project>/instances/<instance>`.
    * 
* - * string parent = 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 +94,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 name of the instance that will serve the new database.
    * Values are of the form `projects/<project>/instances/<instance>`.
    * 
* - * string parent = 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,9 +128,12 @@ public java.lang.String getParent() { } public static final int CREATE_STATEMENT_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object createStatement_ = ""; /** + * + * *
    * Required. A `CREATE DATABASE` statement, which specifies the ID of the
    * new database.  The database ID must conform to the regular expression
@@ -113,6 +143,7 @@ public java.lang.String getParent() {
    * 
* * string create_statement = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The createStatement. */ @java.lang.Override @@ -121,14 +152,15 @@ public java.lang.String getCreateStatement() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); createStatement_ = s; return s; } } /** + * + * *
    * Required. A `CREATE DATABASE` statement, which specifies the ID of the
    * new database.  The database ID must conform to the regular expression
@@ -138,16 +170,15 @@ public java.lang.String getCreateStatement() {
    * 
* * string create_statement = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for createStatement. */ @java.lang.Override - public com.google.protobuf.ByteString - getCreateStatementBytes() { + public com.google.protobuf.ByteString getCreateStatementBytes() { java.lang.Object ref = createStatement_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); createStatement_ = b; return b; } else { @@ -156,9 +187,12 @@ public java.lang.String getCreateStatement() { } public static final int EXTRA_STATEMENTS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringList extraStatements_; /** + * + * *
    * Optional. A list of DDL statements to run inside the newly created
    * database. Statements can create tables, indexes, etc. These
@@ -167,13 +201,15 @@ public java.lang.String getCreateStatement() {
    * 
* * repeated string extra_statements = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the extraStatements. */ - public com.google.protobuf.ProtocolStringList - getExtraStatementsList() { + public com.google.protobuf.ProtocolStringList getExtraStatementsList() { return extraStatements_; } /** + * + * *
    * Optional. A list of DDL statements to run inside the newly created
    * database. Statements can create tables, indexes, etc. These
@@ -182,12 +218,15 @@ public java.lang.String getCreateStatement() {
    * 
* * repeated string extra_statements = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of extraStatements. */ public int getExtraStatementsCount() { return extraStatements_.size(); } /** + * + * *
    * Optional. A list of DDL statements to run inside the newly created
    * database. Statements can create tables, indexes, etc. These
@@ -196,6 +235,7 @@ public int getExtraStatementsCount() {
    * 
* * repeated string extra_statements = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The extraStatements at the given index. */ @@ -203,6 +243,8 @@ public java.lang.String getExtraStatements(int index) { return extraStatements_.get(index); } /** + * + * *
    * Optional. A list of DDL statements to run inside the newly created
    * database. Statements can create tables, indexes, etc. These
@@ -211,24 +253,29 @@ public java.lang.String getExtraStatements(int index) {
    * 
* * repeated string extra_statements = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the extraStatements at the given index. */ - public com.google.protobuf.ByteString - getExtraStatementsBytes(int index) { + public com.google.protobuf.ByteString getExtraStatementsBytes(int index) { return extraStatements_.getByteString(index); } public static final int ENCRYPTION_CONFIG_FIELD_NUMBER = 4; private com.google.spanner.admin.database.v1.EncryptionConfig encryptionConfig_; /** + * + * *
    * Optional. The encryption configuration for the database. If this field is not
    * specified, Cloud Spanner will encrypt/decrypt all data at rest using
    * Google default encryption.
    * 
* - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the encryptionConfig field is set. */ @java.lang.Override @@ -236,60 +283,90 @@ public boolean hasEncryptionConfig() { return encryptionConfig_ != null; } /** + * + * *
    * Optional. The encryption configuration for the database. If this field is not
    * specified, Cloud Spanner will encrypt/decrypt all data at rest using
    * Google default encryption.
    * 
* - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The encryptionConfig. */ @java.lang.Override public com.google.spanner.admin.database.v1.EncryptionConfig getEncryptionConfig() { - return encryptionConfig_ == null ? com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance() : encryptionConfig_; + return encryptionConfig_ == null + ? com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance() + : encryptionConfig_; } /** + * + * *
    * Optional. The encryption configuration for the database. If this field is not
    * specified, Cloud Spanner will encrypt/decrypt all data at rest using
    * Google default encryption.
    * 
* - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { - return encryptionConfig_ == null ? com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance() : encryptionConfig_; + public com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder + getEncryptionConfigOrBuilder() { + return encryptionConfig_ == null + ? com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance() + : encryptionConfig_; } public static final int DATABASE_DIALECT_FIELD_NUMBER = 5; private int databaseDialect_ = 0; /** + * + * *
    * Optional. The dialect of the Cloud Spanner Database.
    * 
* - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for databaseDialect. */ - @java.lang.Override public int getDatabaseDialectValue() { + @java.lang.Override + public int getDatabaseDialectValue() { return databaseDialect_; } /** + * + * *
    * Optional. The dialect of the Cloud Spanner Database.
    * 
* - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The databaseDialect. */ - @java.lang.Override public com.google.spanner.admin.database.v1.DatabaseDialect getDatabaseDialect() { - com.google.spanner.admin.database.v1.DatabaseDialect result = com.google.spanner.admin.database.v1.DatabaseDialect.forNumber(databaseDialect_); - return result == null ? com.google.spanner.admin.database.v1.DatabaseDialect.UNRECOGNIZED : result; + @java.lang.Override + public com.google.spanner.admin.database.v1.DatabaseDialect getDatabaseDialect() { + com.google.spanner.admin.database.v1.DatabaseDialect result = + com.google.spanner.admin.database.v1.DatabaseDialect.forNumber(databaseDialect_); + return result == null + ? com.google.spanner.admin.database.v1.DatabaseDialect.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -301,8 +378,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_); } @@ -315,7 +391,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (encryptionConfig_ != null) { output.writeMessage(4, getEncryptionConfig()); } - if (databaseDialect_ != com.google.spanner.admin.database.v1.DatabaseDialect.DATABASE_DIALECT_UNSPECIFIED.getNumber()) { + if (databaseDialect_ + != com.google.spanner.admin.database.v1.DatabaseDialect.DATABASE_DIALECT_UNSPECIFIED + .getNumber()) { output.writeEnum(5, databaseDialect_); } getUnknownFields().writeTo(output); @@ -342,12 +420,12 @@ public int getSerializedSize() { size += 1 * getExtraStatementsList().size(); } if (encryptionConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getEncryptionConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getEncryptionConfig()); } - if (databaseDialect_ != com.google.spanner.admin.database.v1.DatabaseDialect.DATABASE_DIALECT_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, databaseDialect_); + if (databaseDialect_ + != com.google.spanner.admin.database.v1.DatabaseDialect.DATABASE_DIALECT_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, databaseDialect_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -357,23 +435,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.spanner.admin.database.v1.CreateDatabaseRequest)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.CreateDatabaseRequest other = (com.google.spanner.admin.database.v1.CreateDatabaseRequest) obj; + com.google.spanner.admin.database.v1.CreateDatabaseRequest other = + (com.google.spanner.admin.database.v1.CreateDatabaseRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getCreateStatement() - .equals(other.getCreateStatement())) return false; - if (!getExtraStatementsList() - .equals(other.getExtraStatementsList())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getCreateStatement().equals(other.getCreateStatement())) return false; + if (!getExtraStatementsList().equals(other.getExtraStatementsList())) 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 (databaseDialect_ != other.databaseDialect_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -407,129 +482,136 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.CreateDatabaseRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.CreateDatabaseRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.admin.database.v1.CreateDatabaseRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.CreateDatabaseRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.admin.database.v1.CreateDatabaseRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.CreateDatabaseRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.CreateDatabaseRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.spanner.admin.database.v1.CreateDatabaseRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.CreateDatabaseRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.CreateDatabaseRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.spanner.admin.database.v1.CreateDatabaseRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.CreateDatabaseRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.spanner.admin.database.v1.CreateDatabaseRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.CreateDatabaseRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.admin.database.v1.CreateDatabaseRequest prototype) { + + public static Builder newBuilder( + com.google.spanner.admin.database.v1.CreateDatabaseRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [CreateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.CreateDatabase].
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.CreateDatabaseRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.CreateDatabaseRequest) com.google.spanner.admin.database.v1.CreateDatabaseRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_CreateDatabaseRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto + .internal_static_google_spanner_admin_database_v1_CreateDatabaseRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_CreateDatabaseRequest_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto + .internal_static_google_spanner_admin_database_v1_CreateDatabaseRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.CreateDatabaseRequest.class, com.google.spanner.admin.database.v1.CreateDatabaseRequest.Builder.class); + com.google.spanner.admin.database.v1.CreateDatabaseRequest.class, + com.google.spanner.admin.database.v1.CreateDatabaseRequest.Builder.class); } // Construct using com.google.spanner.admin.database.v1.CreateDatabaseRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -548,9 +630,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_CreateDatabaseRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto + .internal_static_google_spanner_admin_database_v1_CreateDatabaseRequest_descriptor; } @java.lang.Override @@ -569,14 +651,18 @@ public com.google.spanner.admin.database.v1.CreateDatabaseRequest build() { @java.lang.Override public com.google.spanner.admin.database.v1.CreateDatabaseRequest buildPartial() { - com.google.spanner.admin.database.v1.CreateDatabaseRequest result = new com.google.spanner.admin.database.v1.CreateDatabaseRequest(this); + com.google.spanner.admin.database.v1.CreateDatabaseRequest result = + new com.google.spanner.admin.database.v1.CreateDatabaseRequest(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.spanner.admin.database.v1.CreateDatabaseRequest result) { + private void buildPartialRepeatedFields( + com.google.spanner.admin.database.v1.CreateDatabaseRequest result) { if (((bitField0_ & 0x00000004) != 0)) { extraStatements_ = extraStatements_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000004); @@ -593,9 +679,8 @@ private void buildPartial0(com.google.spanner.admin.database.v1.CreateDatabaseRe result.createStatement_ = createStatement_; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.encryptionConfig_ = encryptionConfigBuilder_ == null - ? encryptionConfig_ - : encryptionConfigBuilder_.build(); + result.encryptionConfig_ = + encryptionConfigBuilder_ == null ? encryptionConfig_ : encryptionConfigBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { result.databaseDialect_ = databaseDialect_; @@ -606,38 +691,39 @@ private void buildPartial0(com.google.spanner.admin.database.v1.CreateDatabaseRe public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.admin.database.v1.CreateDatabaseRequest) { - return mergeFrom((com.google.spanner.admin.database.v1.CreateDatabaseRequest)other); + return mergeFrom((com.google.spanner.admin.database.v1.CreateDatabaseRequest) other); } else { super.mergeFrom(other); return this; @@ -645,7 +731,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.admin.database.v1.CreateDatabaseRequest other) { - if (other == com.google.spanner.admin.database.v1.CreateDatabaseRequest.getDefaultInstance()) return this; + if (other == com.google.spanner.admin.database.v1.CreateDatabaseRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -698,40 +785,45 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - createStatement_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureExtraStatementsIsMutable(); - extraStatements_.add(s); - break; - } // case 26 - case 34: { - input.readMessage( - getEncryptionConfigFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 40: { - databaseDialect_ = input.readEnum(); - bitField0_ |= 0x00000010; - break; - } // case 40 - 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: + { + createStatement_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureExtraStatementsIsMutable(); + extraStatements_.add(s); + break; + } // case 26 + case 34: + { + input.readMessage( + getEncryptionConfigFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: + { + databaseDialect_ = input.readEnum(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -741,23 +833,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The name of the instance that will serve the new database.
      * Values are of the form `projects/<project>/instances/<instance>`.
      * 
* - * string parent = 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; @@ -766,21 +863,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the instance that will serve the new database.
      * Values are of the form `projects/<project>/instances/<instance>`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -788,30 +888,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the instance that will serve the new database.
      * Values are of the form `projects/<project>/instances/<instance>`.
      * 
* - * 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 that will serve the new database.
      * Values are of the form `projects/<project>/instances/<instance>`.
      * 
* - * string 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() { @@ -821,18 +932,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The name of the instance that will serve the new database.
      * Values are of the form `projects/<project>/instances/<instance>`.
      * 
* - * 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; @@ -842,6 +959,8 @@ public Builder setParentBytes( private java.lang.Object createStatement_ = ""; /** + * + * *
      * Required. A `CREATE DATABASE` statement, which specifies the ID of the
      * new database.  The database ID must conform to the regular expression
@@ -851,13 +970,13 @@ public Builder setParentBytes(
      * 
* * string create_statement = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The createStatement. */ public java.lang.String getCreateStatement() { java.lang.Object ref = createStatement_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); createStatement_ = s; return s; @@ -866,6 +985,8 @@ public java.lang.String getCreateStatement() { } } /** + * + * *
      * Required. A `CREATE DATABASE` statement, which specifies the ID of the
      * new database.  The database ID must conform to the regular expression
@@ -875,15 +996,14 @@ public java.lang.String getCreateStatement() {
      * 
* * string create_statement = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for createStatement. */ - public com.google.protobuf.ByteString - getCreateStatementBytes() { + public com.google.protobuf.ByteString getCreateStatementBytes() { java.lang.Object ref = createStatement_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); createStatement_ = b; return b; } else { @@ -891,6 +1011,8 @@ public java.lang.String getCreateStatement() { } } /** + * + * *
      * Required. A `CREATE DATABASE` statement, which specifies the ID of the
      * new database.  The database ID must conform to the regular expression
@@ -900,18 +1022,22 @@ public java.lang.String getCreateStatement() {
      * 
* * string create_statement = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The createStatement to set. * @return This builder for chaining. */ - public Builder setCreateStatement( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCreateStatement(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } createStatement_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. A `CREATE DATABASE` statement, which specifies the ID of the
      * new database.  The database ID must conform to the regular expression
@@ -921,6 +1047,7 @@ public Builder setCreateStatement(
      * 
* * string create_statement = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearCreateStatement() { @@ -930,6 +1057,8 @@ public Builder clearCreateStatement() { return this; } /** + * + * *
      * Required. A `CREATE DATABASE` statement, which specifies the ID of the
      * new database.  The database ID must conform to the regular expression
@@ -939,12 +1068,14 @@ public Builder clearCreateStatement() {
      * 
* * string create_statement = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for createStatement to set. * @return This builder for chaining. */ - public Builder setCreateStatementBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCreateStatementBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); createStatement_ = value; bitField0_ |= 0x00000002; @@ -952,14 +1083,18 @@ public Builder setCreateStatementBytes( return this; } - private com.google.protobuf.LazyStringList extraStatements_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList extraStatements_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureExtraStatementsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { extraStatements_ = new com.google.protobuf.LazyStringArrayList(extraStatements_); bitField0_ |= 0x00000004; - } + } } /** + * + * *
      * Optional. A list of DDL statements to run inside the newly created
      * database. Statements can create tables, indexes, etc. These
@@ -968,13 +1103,15 @@ private void ensureExtraStatementsIsMutable() {
      * 
* * repeated string extra_statements = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the extraStatements. */ - public com.google.protobuf.ProtocolStringList - getExtraStatementsList() { + public com.google.protobuf.ProtocolStringList getExtraStatementsList() { return extraStatements_.getUnmodifiableView(); } /** + * + * *
      * Optional. A list of DDL statements to run inside the newly created
      * database. Statements can create tables, indexes, etc. These
@@ -983,12 +1120,15 @@ private void ensureExtraStatementsIsMutable() {
      * 
* * repeated string extra_statements = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of extraStatements. */ public int getExtraStatementsCount() { return extraStatements_.size(); } /** + * + * *
      * Optional. A list of DDL statements to run inside the newly created
      * database. Statements can create tables, indexes, etc. These
@@ -997,6 +1137,7 @@ public int getExtraStatementsCount() {
      * 
* * repeated string extra_statements = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The extraStatements at the given index. */ @@ -1004,6 +1145,8 @@ public java.lang.String getExtraStatements(int index) { return extraStatements_.get(index); } /** + * + * *
      * Optional. A list of DDL statements to run inside the newly created
      * database. Statements can create tables, indexes, etc. These
@@ -1012,14 +1155,16 @@ public java.lang.String getExtraStatements(int index) {
      * 
* * repeated string extra_statements = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the extraStatements at the given index. */ - public com.google.protobuf.ByteString - getExtraStatementsBytes(int index) { + public com.google.protobuf.ByteString getExtraStatementsBytes(int index) { return extraStatements_.getByteString(index); } /** + * + * *
      * Optional. A list of DDL statements to run inside the newly created
      * database. Statements can create tables, indexes, etc. These
@@ -1028,19 +1173,23 @@ public java.lang.String getExtraStatements(int index) {
      * 
* * repeated string extra_statements = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index to set the value at. * @param value The extraStatements to set. * @return This builder for chaining. */ - public Builder setExtraStatements( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setExtraStatements(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureExtraStatementsIsMutable(); extraStatements_.set(index, value); onChanged(); return this; } /** + * + * *
      * Optional. A list of DDL statements to run inside the newly created
      * database. Statements can create tables, indexes, etc. These
@@ -1049,18 +1198,22 @@ public Builder setExtraStatements(
      * 
* * repeated string extra_statements = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The extraStatements to add. * @return This builder for chaining. */ - public Builder addExtraStatements( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addExtraStatements(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureExtraStatementsIsMutable(); extraStatements_.add(value); onChanged(); return this; } /** + * + * *
      * Optional. A list of DDL statements to run inside the newly created
      * database. Statements can create tables, indexes, etc. These
@@ -1069,18 +1222,19 @@ public Builder addExtraStatements(
      * 
* * repeated string extra_statements = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param values The extraStatements to add. * @return This builder for chaining. */ - public Builder addAllExtraStatements( - java.lang.Iterable values) { + public Builder addAllExtraStatements(java.lang.Iterable values) { ensureExtraStatementsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, extraStatements_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, extraStatements_); onChanged(); return this; } /** + * + * *
      * Optional. A list of DDL statements to run inside the newly created
      * database. Statements can create tables, indexes, etc. These
@@ -1089,6 +1243,7 @@ public Builder addAllExtraStatements(
      * 
* * repeated string extra_statements = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearExtraStatements() { @@ -1098,6 +1253,8 @@ public Builder clearExtraStatements() { return this; } /** + * + * *
      * Optional. A list of DDL statements to run inside the newly created
      * database. Statements can create tables, indexes, etc. These
@@ -1106,12 +1263,14 @@ public Builder clearExtraStatements() {
      * 
* * repeated string extra_statements = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes of the extraStatements to add. * @return This builder for chaining. */ - public Builder addExtraStatementsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addExtraStatementsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureExtraStatementsIsMutable(); extraStatements_.add(value); @@ -1121,47 +1280,67 @@ public Builder addExtraStatementsBytes( private com.google.spanner.admin.database.v1.EncryptionConfig encryptionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.EncryptionConfig, com.google.spanner.admin.database.v1.EncryptionConfig.Builder, com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder> encryptionConfigBuilder_; + com.google.spanner.admin.database.v1.EncryptionConfig, + com.google.spanner.admin.database.v1.EncryptionConfig.Builder, + com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder> + encryptionConfigBuilder_; /** + * + * *
      * Optional. The encryption configuration for the database. If this field is not
      * specified, Cloud Spanner will encrypt/decrypt all data at rest using
      * Google default encryption.
      * 
* - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the encryptionConfig field is set. */ public boolean hasEncryptionConfig() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Optional. The encryption configuration for the database. If this field is not
      * specified, Cloud Spanner will encrypt/decrypt all data at rest using
      * Google default encryption.
      * 
* - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The encryptionConfig. */ public com.google.spanner.admin.database.v1.EncryptionConfig getEncryptionConfig() { if (encryptionConfigBuilder_ == null) { - return encryptionConfig_ == null ? com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance() : encryptionConfig_; + return encryptionConfig_ == null + ? com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance() + : encryptionConfig_; } else { return encryptionConfigBuilder_.getMessage(); } } /** + * + * *
      * Optional. The encryption configuration for the database. If this field is not
      * specified, Cloud Spanner will encrypt/decrypt all data at rest using
      * Google default encryption.
      * 
* - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setEncryptionConfig(com.google.spanner.admin.database.v1.EncryptionConfig value) { + public Builder setEncryptionConfig( + com.google.spanner.admin.database.v1.EncryptionConfig value) { if (encryptionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1175,13 +1354,17 @@ public Builder setEncryptionConfig(com.google.spanner.admin.database.v1.Encrypti return this; } /** + * + * *
      * Optional. The encryption configuration for the database. If this field is not
      * specified, Cloud Spanner will encrypt/decrypt all data at rest using
      * Google default encryption.
      * 
* - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setEncryptionConfig( com.google.spanner.admin.database.v1.EncryptionConfig.Builder builderForValue) { @@ -1195,19 +1378,25 @@ public Builder setEncryptionConfig( return this; } /** + * + * *
      * Optional. The encryption configuration for the database. If this field is not
      * specified, Cloud Spanner will encrypt/decrypt all data at rest using
      * Google default encryption.
      * 
* - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder mergeEncryptionConfig(com.google.spanner.admin.database.v1.EncryptionConfig value) { + public Builder mergeEncryptionConfig( + com.google.spanner.admin.database.v1.EncryptionConfig value) { if (encryptionConfigBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - encryptionConfig_ != null && - encryptionConfig_ != com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && encryptionConfig_ != null + && encryptionConfig_ + != com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance()) { getEncryptionConfigBuilder().mergeFrom(value); } else { encryptionConfig_ = value; @@ -1220,13 +1409,17 @@ public Builder mergeEncryptionConfig(com.google.spanner.admin.database.v1.Encryp return this; } /** + * + * *
      * Optional. The encryption configuration for the database. If this field is not
      * specified, Cloud Spanner will encrypt/decrypt all data at rest using
      * Google default encryption.
      * 
* - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearEncryptionConfig() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1239,54 +1432,72 @@ public Builder clearEncryptionConfig() { return this; } /** + * + * *
      * Optional. The encryption configuration for the database. If this field is not
      * specified, Cloud Spanner will encrypt/decrypt all data at rest using
      * Google default encryption.
      * 
* - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.spanner.admin.database.v1.EncryptionConfig.Builder getEncryptionConfigBuilder() { + public com.google.spanner.admin.database.v1.EncryptionConfig.Builder + getEncryptionConfigBuilder() { bitField0_ |= 0x00000008; onChanged(); return getEncryptionConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. The encryption configuration for the database. If this field is not
      * specified, Cloud Spanner will encrypt/decrypt all data at rest using
      * Google default encryption.
      * 
* - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { + public com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder + getEncryptionConfigOrBuilder() { if (encryptionConfigBuilder_ != null) { return encryptionConfigBuilder_.getMessageOrBuilder(); } else { - return encryptionConfig_ == null ? - com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance() : encryptionConfig_; + return encryptionConfig_ == null + ? com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance() + : encryptionConfig_; } } /** + * + * *
      * Optional. The encryption configuration for the database. If this field is not
      * specified, Cloud Spanner will encrypt/decrypt all data at rest using
      * Google default encryption.
      * 
* - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.EncryptionConfig, com.google.spanner.admin.database.v1.EncryptionConfig.Builder, com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder> + com.google.spanner.admin.database.v1.EncryptionConfig, + com.google.spanner.admin.database.v1.EncryptionConfig.Builder, + com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder> getEncryptionConfigFieldBuilder() { if (encryptionConfigBuilder_ == null) { - encryptionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.EncryptionConfig, com.google.spanner.admin.database.v1.EncryptionConfig.Builder, com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder>( - getEncryptionConfig(), - getParentForChildren(), - isClean()); + encryptionConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.admin.database.v1.EncryptionConfig, + com.google.spanner.admin.database.v1.EncryptionConfig.Builder, + com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder>( + getEncryptionConfig(), getParentForChildren(), isClean()); encryptionConfig_ = null; } return encryptionConfigBuilder_; @@ -1294,22 +1505,33 @@ public com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder getEncrypt private int databaseDialect_ = 0; /** + * + * *
      * Optional. The dialect of the Cloud Spanner Database.
      * 
* - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for databaseDialect. */ - @java.lang.Override public int getDatabaseDialectValue() { + @java.lang.Override + public int getDatabaseDialectValue() { return databaseDialect_; } /** + * + * *
      * Optional. The dialect of the Cloud Spanner Database.
      * 
* - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for databaseDialect to set. * @return This builder for chaining. */ @@ -1320,24 +1542,37 @@ public Builder setDatabaseDialectValue(int value) { return this; } /** + * + * *
      * Optional. The dialect of the Cloud Spanner Database.
      * 
* - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The databaseDialect. */ @java.lang.Override public com.google.spanner.admin.database.v1.DatabaseDialect getDatabaseDialect() { - com.google.spanner.admin.database.v1.DatabaseDialect result = com.google.spanner.admin.database.v1.DatabaseDialect.forNumber(databaseDialect_); - return result == null ? com.google.spanner.admin.database.v1.DatabaseDialect.UNRECOGNIZED : result; + com.google.spanner.admin.database.v1.DatabaseDialect result = + com.google.spanner.admin.database.v1.DatabaseDialect.forNumber(databaseDialect_); + return result == null + ? com.google.spanner.admin.database.v1.DatabaseDialect.UNRECOGNIZED + : result; } /** + * + * *
      * Optional. The dialect of the Cloud Spanner Database.
      * 
* - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The databaseDialect to set. * @return This builder for chaining. */ @@ -1351,11 +1586,16 @@ public Builder setDatabaseDialect(com.google.spanner.admin.database.v1.DatabaseD return this; } /** + * + * *
      * Optional. The dialect of the Cloud Spanner Database.
      * 
* - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearDatabaseDialect() { @@ -1364,9 +1604,9 @@ public Builder clearDatabaseDialect() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1376,12 +1616,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.CreateDatabaseRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.CreateDatabaseRequest) private static final com.google.spanner.admin.database.v1.CreateDatabaseRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.CreateDatabaseRequest(); } @@ -1390,27 +1630,27 @@ public static com.google.spanner.admin.database.v1.CreateDatabaseRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateDatabaseRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateDatabaseRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1425,6 +1665,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.CreateDatabaseRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseRequestOrBuilder.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseRequestOrBuilder.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseRequestOrBuilder.java rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseRequestOrBuilder.java index c05c8c7df33..537e9c161fa 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseRequestOrBuilder.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/spanner_database_admin.proto package com.google.spanner.admin.database.v1; -public interface CreateDatabaseRequestOrBuilder extends +public interface CreateDatabaseRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.CreateDatabaseRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the instance that will serve the new database.
    * Values are of the form `projects/<project>/instances/<instance>`.
    * 
* - * string parent = 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 that will serve the new database.
    * Values are of the form `projects/<project>/instances/<instance>`.
    * 
* - * string parent = 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. A `CREATE DATABASE` statement, which specifies the ID of the
    * new database.  The database ID must conform to the regular expression
@@ -39,10 +66,13 @@ public interface CreateDatabaseRequestOrBuilder extends
    * 
* * string create_statement = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The createStatement. */ java.lang.String getCreateStatement(); /** + * + * *
    * Required. A `CREATE DATABASE` statement, which specifies the ID of the
    * new database.  The database ID must conform to the regular expression
@@ -52,12 +82,14 @@ public interface CreateDatabaseRequestOrBuilder extends
    * 
* * string create_statement = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for createStatement. */ - com.google.protobuf.ByteString - getCreateStatementBytes(); + com.google.protobuf.ByteString getCreateStatementBytes(); /** + * + * *
    * Optional. A list of DDL statements to run inside the newly created
    * database. Statements can create tables, indexes, etc. These
@@ -66,11 +98,13 @@ public interface CreateDatabaseRequestOrBuilder extends
    * 
* * repeated string extra_statements = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the extraStatements. */ - java.util.List - getExtraStatementsList(); + java.util.List getExtraStatementsList(); /** + * + * *
    * Optional. A list of DDL statements to run inside the newly created
    * database. Statements can create tables, indexes, etc. These
@@ -79,10 +113,13 @@ public interface CreateDatabaseRequestOrBuilder extends
    * 
* * repeated string extra_statements = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of extraStatements. */ int getExtraStatementsCount(); /** + * + * *
    * Optional. A list of DDL statements to run inside the newly created
    * database. Statements can create tables, indexes, etc. These
@@ -91,11 +128,14 @@ public interface CreateDatabaseRequestOrBuilder extends
    * 
* * repeated string extra_statements = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The extraStatements at the given index. */ java.lang.String getExtraStatements(int index); /** + * + * *
    * Optional. A list of DDL statements to run inside the newly created
    * database. Statements can create tables, indexes, etc. These
@@ -104,60 +144,84 @@ public interface CreateDatabaseRequestOrBuilder extends
    * 
* * repeated string extra_statements = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the extraStatements at the given index. */ - com.google.protobuf.ByteString - getExtraStatementsBytes(int index); + com.google.protobuf.ByteString getExtraStatementsBytes(int index); /** + * + * *
    * Optional. The encryption configuration for the database. If this field is not
    * specified, Cloud Spanner will encrypt/decrypt all data at rest using
    * Google default encryption.
    * 
* - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the encryptionConfig field is set. */ boolean hasEncryptionConfig(); /** + * + * *
    * Optional. The encryption configuration for the database. If this field is not
    * specified, Cloud Spanner will encrypt/decrypt all data at rest using
    * Google default encryption.
    * 
* - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The encryptionConfig. */ com.google.spanner.admin.database.v1.EncryptionConfig getEncryptionConfig(); /** + * + * *
    * Optional. The encryption configuration for the database. If this field is not
    * specified, Cloud Spanner will encrypt/decrypt all data at rest using
    * Google default encryption.
    * 
* - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder(); /** + * + * *
    * Optional. The dialect of the Cloud Spanner Database.
    * 
* - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for databaseDialect. */ int getDatabaseDialectValue(); /** + * + * *
    * Optional. The dialect of the Cloud Spanner Database.
    * 
* - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The databaseDialect. */ com.google.spanner.admin.database.v1.DatabaseDialect getDatabaseDialect(); diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/Database.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/Database.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/Database.java rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/Database.java index 2e1bfaa4109..5473f4bc7fd 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/Database.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/Database.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/spanner_database_admin.proto package com.google.spanner.admin.database.v1; /** + * + * *
  * A Cloud Spanner database.
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.Database} */ -public final class Database extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Database extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.Database) DatabaseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Database.newBuilder() to construct. private Database(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Database() { name_ = ""; state_ = 0; @@ -30,39 +48,43 @@ private Database() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Database(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_Database_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto + .internal_static_google_spanner_admin_database_v1_Database_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_Database_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto + .internal_static_google_spanner_admin_database_v1_Database_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.Database.class, com.google.spanner.admin.database.v1.Database.Builder.class); + com.google.spanner.admin.database.v1.Database.class, + com.google.spanner.admin.database.v1.Database.Builder.class); } /** + * + * *
    * Indicates the current state of the database.
    * 
* * Protobuf enum {@code google.spanner.admin.database.v1.Database.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Not specified.
      * 
@@ -71,6 +93,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The database is still being created. Operations on the database may fail
      * with `FAILED_PRECONDITION` in this state.
@@ -80,6 +104,8 @@ public enum State
      */
     CREATING(1),
     /**
+     *
+     *
      * 
      * The database is fully created and ready for use.
      * 
@@ -88,6 +114,8 @@ public enum State */ READY(2), /** + * + * *
      * The database is fully created and ready for use, but is still
      * being optimized for performance and cannot handle full load.
@@ -105,6 +133,8 @@ public enum State
     ;
 
     /**
+     *
+     *
      * 
      * Not specified.
      * 
@@ -113,6 +143,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The database is still being created. Operations on the database may fail
      * with `FAILED_PRECONDITION` in this state.
@@ -122,6 +154,8 @@ public enum State
      */
     public static final int CREATING_VALUE = 1;
     /**
+     *
+     *
      * 
      * The database is fully created and ready for use.
      * 
@@ -130,6 +164,8 @@ public enum State */ public static final int READY_VALUE = 2; /** + * + * *
      * The database is fully created and ready for use, but is still
      * being optimized for performance and cannot handle full load.
@@ -144,7 +180,6 @@ public enum State
      */
     public static final int READY_OPTIMIZING_VALUE = 3;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -169,50 +204,51 @@ 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;
-        case 3: return READY_OPTIMIZING;
-        default: return null;
+        case 0:
+          return STATE_UNSPECIFIED;
+        case 1:
+          return CREATING;
+        case 2:
+          return READY;
+        case 3:
+          return READY_OPTIMIZING;
+        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.spanner.admin.database.v1.Database.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;
@@ -230,9 +266,12 @@ private State(int value) {
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Required. The name of the database. Values are of the form
    * `projects/<project>/instances/<instance>/databases/<database>`,
@@ -242,6 +281,7 @@ private State(int value) {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -250,14 +290,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; } } /** + * + * *
    * Required. The name of the database. Values are of the form
    * `projects/<project>/instances/<instance>/databases/<database>`,
@@ -267,16 +308,15 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -287,37 +327,56 @@ public java.lang.String getName() { public static final int STATE_FIELD_NUMBER = 2; private int state_ = 0; /** + * + * *
    * Output only. The current database state.
    * 
* - * .google.spanner.admin.database.v1.Database.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.Database.State state = 2 [(.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 database state.
    * 
* - * .google.spanner.admin.database.v1.Database.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.Database.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.spanner.admin.database.v1.Database.State getState() { - com.google.spanner.admin.database.v1.Database.State result = com.google.spanner.admin.database.v1.Database.State.forNumber(state_); - return result == null ? com.google.spanner.admin.database.v1.Database.State.UNRECOGNIZED : result; + @java.lang.Override + public com.google.spanner.admin.database.v1.Database.State getState() { + com.google.spanner.admin.database.v1.Database.State result = + com.google.spanner.admin.database.v1.Database.State.forNumber(state_); + return result == null + ? com.google.spanner.admin.database.v1.Database.State.UNRECOGNIZED + : result; } public static final int CREATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. If exists, the time at which the database creation started.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -325,11 +384,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. If exists, the time at which the database creation started.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -337,11 +400,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. If exists, the time at which the database creation started.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -351,12 +417,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int RESTORE_INFO_FIELD_NUMBER = 4; private com.google.spanner.admin.database.v1.RestoreInfo restoreInfo_; /** + * + * *
    * Output only. Applicable only for restored databases. Contains information
    * about the restore source.
    * 
* - * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the restoreInfo field is set. */ @java.lang.Override @@ -364,34 +435,49 @@ public boolean hasRestoreInfo() { return restoreInfo_ != null; } /** + * + * *
    * Output only. Applicable only for restored databases. Contains information
    * about the restore source.
    * 
* - * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The restoreInfo. */ @java.lang.Override public com.google.spanner.admin.database.v1.RestoreInfo getRestoreInfo() { - return restoreInfo_ == null ? com.google.spanner.admin.database.v1.RestoreInfo.getDefaultInstance() : restoreInfo_; + return restoreInfo_ == null + ? com.google.spanner.admin.database.v1.RestoreInfo.getDefaultInstance() + : restoreInfo_; } /** + * + * *
    * Output only. Applicable only for restored databases. Contains information
    * about the restore source.
    * 
* - * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.spanner.admin.database.v1.RestoreInfoOrBuilder getRestoreInfoOrBuilder() { - return restoreInfo_ == null ? com.google.spanner.admin.database.v1.RestoreInfo.getDefaultInstance() : restoreInfo_; + return restoreInfo_ == null + ? com.google.spanner.admin.database.v1.RestoreInfo.getDefaultInstance() + : restoreInfo_; } public static final int ENCRYPTION_CONFIG_FIELD_NUMBER = 5; private com.google.spanner.admin.database.v1.EncryptionConfig encryptionConfig_; /** + * + * *
    * Output only. For databases that are using customer managed encryption, this
    * field contains the encryption configuration for the database.
@@ -399,7 +485,10 @@ public com.google.spanner.admin.database.v1.RestoreInfoOrBuilder getRestoreInfoO
    * this field is empty.
    * 
* - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the encryptionConfig field is set. */ @java.lang.Override @@ -407,6 +496,8 @@ public boolean hasEncryptionConfig() { return encryptionConfig_ != null; } /** + * + * *
    * Output only. For databases that are using customer managed encryption, this
    * field contains the encryption configuration for the database.
@@ -414,14 +505,21 @@ public boolean hasEncryptionConfig() {
    * this field is empty.
    * 
* - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The encryptionConfig. */ @java.lang.Override public com.google.spanner.admin.database.v1.EncryptionConfig getEncryptionConfig() { - return encryptionConfig_ == null ? com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance() : encryptionConfig_; + return encryptionConfig_ == null + ? com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance() + : encryptionConfig_; } /** + * + * *
    * Output only. For databases that are using customer managed encryption, this
    * field contains the encryption configuration for the database.
@@ -429,17 +527,25 @@ public com.google.spanner.admin.database.v1.EncryptionConfig getEncryptionConfig
    * this field is empty.
    * 
* - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { - return encryptionConfig_ == null ? com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance() : encryptionConfig_; + public com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder + getEncryptionConfigOrBuilder() { + return encryptionConfig_ == null + ? com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance() + : encryptionConfig_; } public static final int ENCRYPTION_INFO_FIELD_NUMBER = 8; + @SuppressWarnings("serial") private java.util.List encryptionInfo_; /** + * + * *
    * Output only. For databases that are using customer managed encryption, this
    * field contains the encryption information for the database, such as
@@ -450,13 +556,18 @@ public com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder getEncrypt
    * from when a key version is being used and when it appears in this field.
    * 
* - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List getEncryptionInfoList() { + public java.util.List + getEncryptionInfoList() { return encryptionInfo_; } /** + * + * *
    * Output only. For databases that are using customer managed encryption, this
    * field contains the encryption information for the database, such as
@@ -467,14 +578,18 @@ public java.util.List getEn
    * from when a key version is being used and when it appears in this field.
    * 
* - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List + public java.util.List getEncryptionInfoOrBuilderList() { return encryptionInfo_; } /** + * + * *
    * Output only. For databases that are using customer managed encryption, this
    * field contains the encryption information for the database, such as
@@ -485,13 +600,17 @@ public java.util.List getEn
    * from when a key version is being used and when it appears in this field.
    * 
* - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public int getEncryptionInfoCount() { return encryptionInfo_.size(); } /** + * + * *
    * Output only. For databases that are using customer managed encryption, this
    * field contains the encryption information for the database, such as
@@ -502,13 +621,17 @@ public int getEncryptionInfoCount() {
    * from when a key version is being used and when it appears in this field.
    * 
* - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.spanner.admin.database.v1.EncryptionInfo getEncryptionInfo(int index) { return encryptionInfo_.get(index); } /** + * + * *
    * Output only. For databases that are using customer managed encryption, this
    * field contains the encryption information for the database, such as
@@ -519,7 +642,9 @@ public com.google.spanner.admin.database.v1.EncryptionInfo getEncryptionInfo(int
    * from when a key version is being used and when it appears in this field.
    * 
* - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder( @@ -528,9 +653,12 @@ public com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder getEncryptio } public static final int VERSION_RETENTION_PERIOD_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object versionRetentionPeriod_ = ""; /** + * + * *
    * Output only. The period in which Cloud Spanner retains all versions of data
    * for the database. This is the same as the value of version_retention_period
@@ -540,6 +668,7 @@ public com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder getEncryptio
    * 
* * string version_retention_period = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The versionRetentionPeriod. */ @java.lang.Override @@ -548,14 +677,15 @@ public java.lang.String getVersionRetentionPeriod() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); versionRetentionPeriod_ = s; return s; } } /** + * + * *
    * Output only. The period in which Cloud Spanner retains all versions of data
    * for the database. This is the same as the value of version_retention_period
@@ -565,16 +695,15 @@ public java.lang.String getVersionRetentionPeriod() {
    * 
* * string version_retention_period = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for versionRetentionPeriod. */ @java.lang.Override - public com.google.protobuf.ByteString - getVersionRetentionPeriodBytes() { + public com.google.protobuf.ByteString getVersionRetentionPeriodBytes() { java.lang.Object ref = versionRetentionPeriod_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); versionRetentionPeriod_ = b; return b; } else { @@ -585,6 +714,8 @@ public java.lang.String getVersionRetentionPeriod() { public static final int EARLIEST_VERSION_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp earliestVersionTime_; /** + * + * *
    * Output only. Earliest timestamp at which older versions of the data can be
    * read. This value is continuously updated by Cloud Spanner and becomes stale
@@ -593,7 +724,10 @@ public java.lang.String getVersionRetentionPeriod() {
    * the moment when you initiate the recovery.
    * 
* - * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the earliestVersionTime field is set. */ @java.lang.Override @@ -601,6 +735,8 @@ public boolean hasEarliestVersionTime() { return earliestVersionTime_ != null; } /** + * + * *
    * Output only. Earliest timestamp at which older versions of the data can be
    * read. This value is continuously updated by Cloud Spanner and becomes stale
@@ -609,14 +745,21 @@ public boolean hasEarliestVersionTime() {
    * the moment when you initiate the recovery.
    * 
* - * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The earliestVersionTime. */ @java.lang.Override public com.google.protobuf.Timestamp getEarliestVersionTime() { - return earliestVersionTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : earliestVersionTime_; + return earliestVersionTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : earliestVersionTime_; } /** + * + * *
    * Output only. Earliest timestamp at which older versions of the data can be
    * read. This value is continuously updated by Cloud Spanner and becomes stale
@@ -625,17 +768,24 @@ public com.google.protobuf.Timestamp getEarliestVersionTime() {
    * the moment when you initiate the recovery.
    * 
* - * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEarliestVersionTimeOrBuilder() { - return earliestVersionTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : earliestVersionTime_; + return earliestVersionTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : earliestVersionTime_; } public static final int DEFAULT_LEADER_FIELD_NUMBER = 9; + @SuppressWarnings("serial") private volatile java.lang.Object defaultLeader_ = ""; /** + * + * *
    * Output only. The read-write region which contains the database's leader
    * replicas.
@@ -645,6 +795,7 @@ public com.google.protobuf.TimestampOrBuilder getEarliestVersionTimeOrBuilder()
    * 
* * string default_leader = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The defaultLeader. */ @java.lang.Override @@ -653,14 +804,15 @@ public java.lang.String getDefaultLeader() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultLeader_ = s; return s; } } /** + * + * *
    * Output only. The read-write region which contains the database's leader
    * replicas.
@@ -670,16 +822,15 @@ public java.lang.String getDefaultLeader() {
    * 
* * string default_leader = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for defaultLeader. */ @java.lang.Override - public com.google.protobuf.ByteString - getDefaultLeaderBytes() { + public com.google.protobuf.ByteString getDefaultLeaderBytes() { java.lang.Object ref = defaultLeader_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); defaultLeader_ = b; return b; } else { @@ -690,30 +841,46 @@ public java.lang.String getDefaultLeader() { public static final int DATABASE_DIALECT_FIELD_NUMBER = 10; private int databaseDialect_ = 0; /** + * + * *
    * Output only. The dialect of the Cloud Spanner Database.
    * 
* - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for databaseDialect. */ - @java.lang.Override public int getDatabaseDialectValue() { + @java.lang.Override + public int getDatabaseDialectValue() { return databaseDialect_; } /** + * + * *
    * Output only. The dialect of the Cloud Spanner Database.
    * 
* - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The databaseDialect. */ - @java.lang.Override public com.google.spanner.admin.database.v1.DatabaseDialect getDatabaseDialect() { - com.google.spanner.admin.database.v1.DatabaseDialect result = com.google.spanner.admin.database.v1.DatabaseDialect.forNumber(databaseDialect_); - return result == null ? com.google.spanner.admin.database.v1.DatabaseDialect.UNRECOGNIZED : result; + @java.lang.Override + public com.google.spanner.admin.database.v1.DatabaseDialect getDatabaseDialect() { + com.google.spanner.admin.database.v1.DatabaseDialect result = + com.google.spanner.admin.database.v1.DatabaseDialect.forNumber(databaseDialect_); + return result == null + ? com.google.spanner.admin.database.v1.DatabaseDialect.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -725,12 +892,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 (state_ != com.google.spanner.admin.database.v1.Database.State.STATE_UNSPECIFIED.getNumber()) { + if (state_ + != com.google.spanner.admin.database.v1.Database.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(2, state_); } if (createTime_ != null) { @@ -754,7 +921,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultLeader_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, defaultLeader_); } - if (databaseDialect_ != com.google.spanner.admin.database.v1.DatabaseDialect.DATABASE_DIALECT_UNSPECIFIED.getNumber()) { + if (databaseDialect_ + != com.google.spanner.admin.database.v1.DatabaseDialect.DATABASE_DIALECT_UNSPECIFIED + .getNumber()) { output.writeEnum(10, databaseDialect_); } getUnknownFields().writeTo(output); @@ -769,39 +938,35 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (state_ != com.google.spanner.admin.database.v1.Database.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, state_); + if (state_ + != com.google.spanner.admin.database.v1.Database.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, state_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCreateTime()); } if (restoreInfo_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getRestoreInfo()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getRestoreInfo()); } if (encryptionConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getEncryptionConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getEncryptionConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(versionRetentionPeriod_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, versionRetentionPeriod_); } if (earliestVersionTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getEarliestVersionTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getEarliestVersionTime()); } for (int i = 0; i < encryptionInfo_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, encryptionInfo_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, encryptionInfo_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultLeader_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, defaultLeader_); } - if (databaseDialect_ != com.google.spanner.admin.database.v1.DatabaseDialect.DATABASE_DIALECT_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(10, databaseDialect_); + if (databaseDialect_ + != com.google.spanner.admin.database.v1.DatabaseDialect.DATABASE_DIALECT_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(10, databaseDialect_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -811,42 +976,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.spanner.admin.database.v1.Database)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.Database other = (com.google.spanner.admin.database.v1.Database) obj; + com.google.spanner.admin.database.v1.Database other = + (com.google.spanner.admin.database.v1.Database) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (state_ != other.state_) 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 (hasRestoreInfo() != other.hasRestoreInfo()) return false; if (hasRestoreInfo()) { - if (!getRestoreInfo() - .equals(other.getRestoreInfo())) return false; + if (!getRestoreInfo().equals(other.getRestoreInfo())) 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 (!getEncryptionInfoList() - .equals(other.getEncryptionInfoList())) return false; - if (!getVersionRetentionPeriod() - .equals(other.getVersionRetentionPeriod())) return false; + if (!getEncryptionInfoList().equals(other.getEncryptionInfoList())) return false; + if (!getVersionRetentionPeriod().equals(other.getVersionRetentionPeriod())) return false; if (hasEarliestVersionTime() != other.hasEarliestVersionTime()) return false; if (hasEarliestVersionTime()) { - if (!getEarliestVersionTime() - .equals(other.getEarliestVersionTime())) return false; + if (!getEarliestVersionTime().equals(other.getEarliestVersionTime())) return false; } - if (!getDefaultLeader() - .equals(other.getDefaultLeader())) return false; + if (!getDefaultLeader().equals(other.getDefaultLeader())) return false; if (databaseDialect_ != other.databaseDialect_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -894,130 +1052,136 @@ public int hashCode() { return hash; } - public static com.google.spanner.admin.database.v1.Database parseFrom( - java.nio.ByteBuffer data) + public static com.google.spanner.admin.database.v1.Database parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.Database parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.admin.database.v1.Database parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.Database parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.admin.database.v1.Database parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.Database parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.admin.database.v1.Database parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.Database parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.Database parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.spanner.admin.database.v1.Database parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.Database parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.spanner.admin.database.v1.Database parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.Database parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.spanner.admin.database.v1.Database prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 Cloud Spanner database.
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.Database} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.Database) com.google.spanner.admin.database.v1.DatabaseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_Database_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto + .internal_static_google_spanner_admin_database_v1_Database_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_Database_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto + .internal_static_google_spanner_admin_database_v1_Database_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.Database.class, com.google.spanner.admin.database.v1.Database.Builder.class); + com.google.spanner.admin.database.v1.Database.class, + com.google.spanner.admin.database.v1.Database.Builder.class); } // Construct using com.google.spanner.admin.database.v1.Database.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1058,9 +1222,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_Database_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto + .internal_static_google_spanner_admin_database_v1_Database_descriptor; } @java.lang.Override @@ -1079,9 +1243,12 @@ public com.google.spanner.admin.database.v1.Database build() { @java.lang.Override public com.google.spanner.admin.database.v1.Database buildPartial() { - com.google.spanner.admin.database.v1.Database result = new com.google.spanner.admin.database.v1.Database(this); + com.google.spanner.admin.database.v1.Database result = + new com.google.spanner.admin.database.v1.Database(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -1107,27 +1274,24 @@ private void buildPartial0(com.google.spanner.admin.database.v1.Database result) result.state_ = state_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.createTime_ = createTimeBuilder_ == null - ? createTime_ - : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { - result.restoreInfo_ = restoreInfoBuilder_ == null - ? restoreInfo_ - : restoreInfoBuilder_.build(); + result.restoreInfo_ = + restoreInfoBuilder_ == null ? restoreInfo_ : restoreInfoBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { - result.encryptionConfig_ = encryptionConfigBuilder_ == null - ? encryptionConfig_ - : encryptionConfigBuilder_.build(); + result.encryptionConfig_ = + encryptionConfigBuilder_ == null ? encryptionConfig_ : encryptionConfigBuilder_.build(); } if (((from_bitField0_ & 0x00000040) != 0)) { result.versionRetentionPeriod_ = versionRetentionPeriod_; } if (((from_bitField0_ & 0x00000080) != 0)) { - result.earliestVersionTime_ = earliestVersionTimeBuilder_ == null - ? earliestVersionTime_ - : earliestVersionTimeBuilder_.build(); + result.earliestVersionTime_ = + earliestVersionTimeBuilder_ == null + ? earliestVersionTime_ + : earliestVersionTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000100) != 0)) { result.defaultLeader_ = defaultLeader_; @@ -1141,38 +1305,39 @@ private void buildPartial0(com.google.spanner.admin.database.v1.Database 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.spanner.admin.database.v1.Database) { - return mergeFrom((com.google.spanner.admin.database.v1.Database)other); + return mergeFrom((com.google.spanner.admin.database.v1.Database) other); } else { super.mergeFrom(other); return this; @@ -1216,9 +1381,10 @@ public Builder mergeFrom(com.google.spanner.admin.database.v1.Database other) { encryptionInfoBuilder_ = null; encryptionInfo_ = other.encryptionInfo_; bitField0_ = (bitField0_ & ~0x00000020); - encryptionInfoBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getEncryptionInfoFieldBuilder() : null; + encryptionInfoBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getEncryptionInfoFieldBuilder() + : null; } else { encryptionInfoBuilder_.addAllMessages(other.encryptionInfo_); } @@ -1266,78 +1432,83 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - state_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - input.readMessage( - getRestoreInfoFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - input.readMessage( - getEncryptionConfigFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: { - versionRetentionPeriod_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 50 - case 58: { - input.readMessage( - getEarliestVersionTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000080; - break; - } // case 58 - case 66: { - com.google.spanner.admin.database.v1.EncryptionInfo m = - input.readMessage( - com.google.spanner.admin.database.v1.EncryptionInfo.parser(), - extensionRegistry); - if (encryptionInfoBuilder_ == null) { - ensureEncryptionInfoIsMutable(); - encryptionInfo_.add(m); - } else { - encryptionInfoBuilder_.addMessage(m); - } - break; - } // case 66 - case 74: { - defaultLeader_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000100; - break; - } // case 74 - case 80: { - databaseDialect_ = input.readEnum(); - bitField0_ |= 0x00000200; - break; - } // case 80 - 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: + { + state_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + input.readMessage(getRestoreInfoFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + input.readMessage( + getEncryptionConfigFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: + { + versionRetentionPeriod_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 50 + case 58: + { + input.readMessage( + getEarliestVersionTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000080; + break; + } // case 58 + case 66: + { + com.google.spanner.admin.database.v1.EncryptionInfo m = + input.readMessage( + com.google.spanner.admin.database.v1.EncryptionInfo.parser(), + extensionRegistry); + if (encryptionInfoBuilder_ == null) { + ensureEncryptionInfoIsMutable(); + encryptionInfo_.add(m); + } else { + encryptionInfoBuilder_.addMessage(m); + } + break; + } // case 66 + case 74: + { + defaultLeader_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000100; + break; + } // case 74 + case 80: + { + databaseDialect_ = input.readEnum(); + bitField0_ |= 0x00000200; + break; + } // case 80 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1347,10 +1518,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the database. Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>`,
@@ -1360,13 +1534,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -1375,6 +1549,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the database. Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>`,
@@ -1384,15 +1560,14 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -1400,6 +1575,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the database. Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>`,
@@ -1409,18 +1586,22 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 name of the database. Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>`,
@@ -1430,6 +1611,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1439,6 +1621,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the database. Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>`,
@@ -1448,12 +1632,14 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -1463,22 +1649,33 @@ public Builder setNameBytes( private int state_ = 0; /** + * + * *
      * Output only. The current database state.
      * 
* - * .google.spanner.admin.database.v1.Database.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.Database.State state = 2 [(.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 database state.
      * 
* - * .google.spanner.admin.database.v1.Database.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.Database.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -1489,24 +1686,37 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
      * Output only. The current database state.
      * 
* - * .google.spanner.admin.database.v1.Database.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.Database.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.spanner.admin.database.v1.Database.State getState() { - com.google.spanner.admin.database.v1.Database.State result = com.google.spanner.admin.database.v1.Database.State.forNumber(state_); - return result == null ? com.google.spanner.admin.database.v1.Database.State.UNRECOGNIZED : result; + com.google.spanner.admin.database.v1.Database.State result = + com.google.spanner.admin.database.v1.Database.State.forNumber(state_); + return result == null + ? com.google.spanner.admin.database.v1.Database.State.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. The current database state.
      * 
* - * .google.spanner.admin.database.v1.Database.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.Database.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ @@ -1520,11 +1730,16 @@ public Builder setState(com.google.spanner.admin.database.v1.Database.State valu return this; } /** + * + * *
      * Output only. The current database state.
      * 
* - * .google.spanner.admin.database.v1.Database.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.Database.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { @@ -1536,39 +1751,58 @@ public Builder clearState() { 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. If exists, the time at which the database creation started.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Output only. If exists, the time at which the database creation started.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @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. If exists, the time at which the database creation started.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1584,14 +1818,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. If exists, the time at which the database creation started.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - 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 { @@ -1602,17 +1839,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. If exists, the time at which the database creation started.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -1625,11 +1866,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. If exists, the time at which the database creation started.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1642,11 +1887,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. If exists, the time at which the database creation started.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000004; @@ -1654,36 +1903,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. If exists, the time at which the database creation started.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ 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. If exists, the time at which the database creation started.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ 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_; @@ -1691,42 +1952,61 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.spanner.admin.database.v1.RestoreInfo restoreInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.RestoreInfo, com.google.spanner.admin.database.v1.RestoreInfo.Builder, com.google.spanner.admin.database.v1.RestoreInfoOrBuilder> restoreInfoBuilder_; + com.google.spanner.admin.database.v1.RestoreInfo, + com.google.spanner.admin.database.v1.RestoreInfo.Builder, + com.google.spanner.admin.database.v1.RestoreInfoOrBuilder> + restoreInfoBuilder_; /** + * + * *
      * Output only. Applicable only for restored databases. Contains information
      * about the restore source.
      * 
* - * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the restoreInfo field is set. */ public boolean hasRestoreInfo() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Output only. Applicable only for restored databases. Contains information
      * about the restore source.
      * 
* - * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The restoreInfo. */ public com.google.spanner.admin.database.v1.RestoreInfo getRestoreInfo() { if (restoreInfoBuilder_ == null) { - return restoreInfo_ == null ? com.google.spanner.admin.database.v1.RestoreInfo.getDefaultInstance() : restoreInfo_; + return restoreInfo_ == null + ? com.google.spanner.admin.database.v1.RestoreInfo.getDefaultInstance() + : restoreInfo_; } else { return restoreInfoBuilder_.getMessage(); } } /** + * + * *
      * Output only. Applicable only for restored databases. Contains information
      * about the restore source.
      * 
* - * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setRestoreInfo(com.google.spanner.admin.database.v1.RestoreInfo value) { if (restoreInfoBuilder_ == null) { @@ -1742,12 +2022,16 @@ public Builder setRestoreInfo(com.google.spanner.admin.database.v1.RestoreInfo v return this; } /** + * + * *
      * Output only. Applicable only for restored databases. Contains information
      * about the restore source.
      * 
* - * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setRestoreInfo( com.google.spanner.admin.database.v1.RestoreInfo.Builder builderForValue) { @@ -1761,18 +2045,23 @@ public Builder setRestoreInfo( return this; } /** + * + * *
      * Output only. Applicable only for restored databases. Contains information
      * about the restore source.
      * 
* - * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeRestoreInfo(com.google.spanner.admin.database.v1.RestoreInfo value) { if (restoreInfoBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - restoreInfo_ != null && - restoreInfo_ != com.google.spanner.admin.database.v1.RestoreInfo.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && restoreInfo_ != null + && restoreInfo_ + != com.google.spanner.admin.database.v1.RestoreInfo.getDefaultInstance()) { getRestoreInfoBuilder().mergeFrom(value); } else { restoreInfo_ = value; @@ -1785,12 +2074,16 @@ public Builder mergeRestoreInfo(com.google.spanner.admin.database.v1.RestoreInfo return this; } /** + * + * *
      * Output only. Applicable only for restored databases. Contains information
      * about the restore source.
      * 
* - * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearRestoreInfo() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1803,12 +2096,16 @@ public Builder clearRestoreInfo() { return this; } /** + * + * *
      * Output only. Applicable only for restored databases. Contains information
      * about the restore source.
      * 
* - * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.spanner.admin.database.v1.RestoreInfo.Builder getRestoreInfoBuilder() { bitField0_ |= 0x00000008; @@ -1816,38 +2113,50 @@ public com.google.spanner.admin.database.v1.RestoreInfo.Builder getRestoreInfoBu return getRestoreInfoFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Applicable only for restored databases. Contains information
      * about the restore source.
      * 
* - * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.spanner.admin.database.v1.RestoreInfoOrBuilder getRestoreInfoOrBuilder() { if (restoreInfoBuilder_ != null) { return restoreInfoBuilder_.getMessageOrBuilder(); } else { - return restoreInfo_ == null ? - com.google.spanner.admin.database.v1.RestoreInfo.getDefaultInstance() : restoreInfo_; + return restoreInfo_ == null + ? com.google.spanner.admin.database.v1.RestoreInfo.getDefaultInstance() + : restoreInfo_; } } /** + * + * *
      * Output only. Applicable only for restored databases. Contains information
      * about the restore source.
      * 
* - * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.RestoreInfo, com.google.spanner.admin.database.v1.RestoreInfo.Builder, com.google.spanner.admin.database.v1.RestoreInfoOrBuilder> + com.google.spanner.admin.database.v1.RestoreInfo, + com.google.spanner.admin.database.v1.RestoreInfo.Builder, + com.google.spanner.admin.database.v1.RestoreInfoOrBuilder> getRestoreInfoFieldBuilder() { if (restoreInfoBuilder_ == null) { - restoreInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.RestoreInfo, com.google.spanner.admin.database.v1.RestoreInfo.Builder, com.google.spanner.admin.database.v1.RestoreInfoOrBuilder>( - getRestoreInfo(), - getParentForChildren(), - isClean()); + restoreInfoBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.admin.database.v1.RestoreInfo, + com.google.spanner.admin.database.v1.RestoreInfo.Builder, + com.google.spanner.admin.database.v1.RestoreInfoOrBuilder>( + getRestoreInfo(), getParentForChildren(), isClean()); restoreInfo_ = null; } return restoreInfoBuilder_; @@ -1855,8 +2164,13 @@ public com.google.spanner.admin.database.v1.RestoreInfoOrBuilder getRestoreInfoO private com.google.spanner.admin.database.v1.EncryptionConfig encryptionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.EncryptionConfig, com.google.spanner.admin.database.v1.EncryptionConfig.Builder, com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder> encryptionConfigBuilder_; + com.google.spanner.admin.database.v1.EncryptionConfig, + com.google.spanner.admin.database.v1.EncryptionConfig.Builder, + com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder> + encryptionConfigBuilder_; /** + * + * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption configuration for the database.
@@ -1864,13 +2178,18 @@ public com.google.spanner.admin.database.v1.RestoreInfoOrBuilder getRestoreInfoO
      * this field is empty.
      * 
* - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the encryptionConfig field is set. */ public boolean hasEncryptionConfig() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption configuration for the database.
@@ -1878,17 +2197,24 @@ public boolean hasEncryptionConfig() {
      * this field is empty.
      * 
* - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The encryptionConfig. */ public com.google.spanner.admin.database.v1.EncryptionConfig getEncryptionConfig() { if (encryptionConfigBuilder_ == null) { - return encryptionConfig_ == null ? com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance() : encryptionConfig_; + return encryptionConfig_ == null + ? com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance() + : encryptionConfig_; } else { return encryptionConfigBuilder_.getMessage(); } } /** + * + * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption configuration for the database.
@@ -1896,9 +2222,12 @@ public com.google.spanner.admin.database.v1.EncryptionConfig getEncryptionConfig
      * this field is empty.
      * 
* - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setEncryptionConfig(com.google.spanner.admin.database.v1.EncryptionConfig value) { + public Builder setEncryptionConfig( + com.google.spanner.admin.database.v1.EncryptionConfig value) { if (encryptionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1912,6 +2241,8 @@ public Builder setEncryptionConfig(com.google.spanner.admin.database.v1.Encrypti return this; } /** + * + * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption configuration for the database.
@@ -1919,7 +2250,9 @@ public Builder setEncryptionConfig(com.google.spanner.admin.database.v1.Encrypti
      * this field is empty.
      * 
* - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setEncryptionConfig( com.google.spanner.admin.database.v1.EncryptionConfig.Builder builderForValue) { @@ -1933,6 +2266,8 @@ public Builder setEncryptionConfig( return this; } /** + * + * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption configuration for the database.
@@ -1940,13 +2275,17 @@ public Builder setEncryptionConfig(
      * this field is empty.
      * 
* - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder mergeEncryptionConfig(com.google.spanner.admin.database.v1.EncryptionConfig value) { + public Builder mergeEncryptionConfig( + com.google.spanner.admin.database.v1.EncryptionConfig value) { if (encryptionConfigBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) && - encryptionConfig_ != null && - encryptionConfig_ != com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) + && encryptionConfig_ != null + && encryptionConfig_ + != com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance()) { getEncryptionConfigBuilder().mergeFrom(value); } else { encryptionConfig_ = value; @@ -1959,6 +2298,8 @@ public Builder mergeEncryptionConfig(com.google.spanner.admin.database.v1.Encryp return this; } /** + * + * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption configuration for the database.
@@ -1966,7 +2307,9 @@ public Builder mergeEncryptionConfig(com.google.spanner.admin.database.v1.Encryp
      * this field is empty.
      * 
* - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearEncryptionConfig() { bitField0_ = (bitField0_ & ~0x00000010); @@ -1979,6 +2322,8 @@ public Builder clearEncryptionConfig() { return this; } /** + * + * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption configuration for the database.
@@ -1986,14 +2331,19 @@ public Builder clearEncryptionConfig() {
      * this field is empty.
      * 
* - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.spanner.admin.database.v1.EncryptionConfig.Builder getEncryptionConfigBuilder() { + public com.google.spanner.admin.database.v1.EncryptionConfig.Builder + getEncryptionConfigBuilder() { bitField0_ |= 0x00000010; onChanged(); return getEncryptionConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption configuration for the database.
@@ -2001,17 +2351,23 @@ public com.google.spanner.admin.database.v1.EncryptionConfig.Builder getEncrypti
      * this field is empty.
      * 
* - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { + public com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder + getEncryptionConfigOrBuilder() { if (encryptionConfigBuilder_ != null) { return encryptionConfigBuilder_.getMessageOrBuilder(); } else { - return encryptionConfig_ == null ? - com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance() : encryptionConfig_; + return encryptionConfig_ == null + ? com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance() + : encryptionConfig_; } } /** + * + * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption configuration for the database.
@@ -2019,35 +2375,48 @@ public com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder getEncrypt
      * this field is empty.
      * 
* - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.EncryptionConfig, com.google.spanner.admin.database.v1.EncryptionConfig.Builder, com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder> + com.google.spanner.admin.database.v1.EncryptionConfig, + com.google.spanner.admin.database.v1.EncryptionConfig.Builder, + com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder> getEncryptionConfigFieldBuilder() { if (encryptionConfigBuilder_ == null) { - encryptionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.EncryptionConfig, com.google.spanner.admin.database.v1.EncryptionConfig.Builder, com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder>( - getEncryptionConfig(), - getParentForChildren(), - isClean()); + encryptionConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.admin.database.v1.EncryptionConfig, + com.google.spanner.admin.database.v1.EncryptionConfig.Builder, + com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder>( + getEncryptionConfig(), getParentForChildren(), isClean()); encryptionConfig_ = null; } return encryptionConfigBuilder_; } private java.util.List encryptionInfo_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureEncryptionInfoIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { - encryptionInfo_ = new java.util.ArrayList(encryptionInfo_); + encryptionInfo_ = + new java.util.ArrayList( + encryptionInfo_); bitField0_ |= 0x00000020; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.admin.database.v1.EncryptionInfo, com.google.spanner.admin.database.v1.EncryptionInfo.Builder, com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder> encryptionInfoBuilder_; + com.google.spanner.admin.database.v1.EncryptionInfo, + com.google.spanner.admin.database.v1.EncryptionInfo.Builder, + com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder> + encryptionInfoBuilder_; /** + * + * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption information for the database, such as
@@ -2058,9 +2427,12 @@ private void ensureEncryptionInfoIsMutable() {
      * from when a key version is being used and when it appears in this field.
      * 
* - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List getEncryptionInfoList() { + public java.util.List + getEncryptionInfoList() { if (encryptionInfoBuilder_ == null) { return java.util.Collections.unmodifiableList(encryptionInfo_); } else { @@ -2068,6 +2440,8 @@ public java.util.List getEn } } /** + * + * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption information for the database, such as
@@ -2078,7 +2452,9 @@ public java.util.List getEn
      * from when a key version is being used and when it appears in this field.
      * 
* - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public int getEncryptionInfoCount() { if (encryptionInfoBuilder_ == null) { @@ -2088,6 +2464,8 @@ public int getEncryptionInfoCount() { } } /** + * + * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption information for the database, such as
@@ -2098,7 +2476,9 @@ public int getEncryptionInfoCount() {
      * from when a key version is being used and when it appears in this field.
      * 
* - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.spanner.admin.database.v1.EncryptionInfo getEncryptionInfo(int index) { if (encryptionInfoBuilder_ == null) { @@ -2108,6 +2488,8 @@ public com.google.spanner.admin.database.v1.EncryptionInfo getEncryptionInfo(int } } /** + * + * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption information for the database, such as
@@ -2118,7 +2500,9 @@ public com.google.spanner.admin.database.v1.EncryptionInfo getEncryptionInfo(int
      * from when a key version is being used and when it appears in this field.
      * 
* - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setEncryptionInfo( int index, com.google.spanner.admin.database.v1.EncryptionInfo value) { @@ -2135,6 +2519,8 @@ public Builder setEncryptionInfo( return this; } /** + * + * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption information for the database, such as
@@ -2145,7 +2531,9 @@ public Builder setEncryptionInfo(
      * from when a key version is being used and when it appears in this field.
      * 
* - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setEncryptionInfo( int index, com.google.spanner.admin.database.v1.EncryptionInfo.Builder builderForValue) { @@ -2159,6 +2547,8 @@ public Builder setEncryptionInfo( return this; } /** + * + * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption information for the database, such as
@@ -2169,7 +2559,9 @@ public Builder setEncryptionInfo(
      * from when a key version is being used and when it appears in this field.
      * 
* - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addEncryptionInfo(com.google.spanner.admin.database.v1.EncryptionInfo value) { if (encryptionInfoBuilder_ == null) { @@ -2185,6 +2577,8 @@ public Builder addEncryptionInfo(com.google.spanner.admin.database.v1.Encryption return this; } /** + * + * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption information for the database, such as
@@ -2195,7 +2589,9 @@ public Builder addEncryptionInfo(com.google.spanner.admin.database.v1.Encryption
      * from when a key version is being used and when it appears in this field.
      * 
* - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addEncryptionInfo( int index, com.google.spanner.admin.database.v1.EncryptionInfo value) { @@ -2212,6 +2608,8 @@ public Builder addEncryptionInfo( return this; } /** + * + * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption information for the database, such as
@@ -2222,7 +2620,9 @@ public Builder addEncryptionInfo(
      * from when a key version is being used and when it appears in this field.
      * 
* - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addEncryptionInfo( com.google.spanner.admin.database.v1.EncryptionInfo.Builder builderForValue) { @@ -2236,6 +2636,8 @@ public Builder addEncryptionInfo( return this; } /** + * + * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption information for the database, such as
@@ -2246,7 +2648,9 @@ public Builder addEncryptionInfo(
      * from when a key version is being used and when it appears in this field.
      * 
* - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addEncryptionInfo( int index, com.google.spanner.admin.database.v1.EncryptionInfo.Builder builderForValue) { @@ -2260,6 +2664,8 @@ public Builder addEncryptionInfo( return this; } /** + * + * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption information for the database, such as
@@ -2270,14 +2676,15 @@ public Builder addEncryptionInfo(
      * from when a key version is being used and when it appears in this field.
      * 
* - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.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); @@ -2285,6 +2692,8 @@ public Builder addAllEncryptionInfo( return this; } /** + * + * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption information for the database, such as
@@ -2295,7 +2704,9 @@ public Builder addAllEncryptionInfo(
      * from when a key version is being used and when it appears in this field.
      * 
* - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearEncryptionInfo() { if (encryptionInfoBuilder_ == null) { @@ -2308,6 +2719,8 @@ public Builder clearEncryptionInfo() { return this; } /** + * + * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption information for the database, such as
@@ -2318,7 +2731,9 @@ public Builder clearEncryptionInfo() {
      * from when a key version is being used and when it appears in this field.
      * 
* - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder removeEncryptionInfo(int index) { if (encryptionInfoBuilder_ == null) { @@ -2331,6 +2746,8 @@ public Builder removeEncryptionInfo(int index) { return this; } /** + * + * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption information for the database, such as
@@ -2341,13 +2758,17 @@ public Builder removeEncryptionInfo(int index) {
      * from when a key version is being used and when it appears in this field.
      * 
* - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.spanner.admin.database.v1.EncryptionInfo.Builder getEncryptionInfoBuilder( int index) { return getEncryptionInfoFieldBuilder().getBuilder(index); } /** + * + * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption information for the database, such as
@@ -2358,16 +2779,21 @@ public com.google.spanner.admin.database.v1.EncryptionInfo.Builder getEncryption
      * from when a key version is being used and when it appears in this field.
      * 
* - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder( int index) { if (encryptionInfoBuilder_ == null) { - return encryptionInfo_.get(index); } else { + return encryptionInfo_.get(index); + } else { return encryptionInfoBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption information for the database, such as
@@ -2378,10 +2804,12 @@ public com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder getEncryptio
      * from when a key version is being used and when it appears in this field.
      * 
* - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getEncryptionInfoOrBuilderList() { + public java.util.List + getEncryptionInfoOrBuilderList() { if (encryptionInfoBuilder_ != null) { return encryptionInfoBuilder_.getMessageOrBuilderList(); } else { @@ -2389,6 +2817,8 @@ public com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder getEncryptio } } /** + * + * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption information for the database, such as
@@ -2399,13 +2829,17 @@ public com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder getEncryptio
      * from when a key version is being used and when it appears in this field.
      * 
* - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.spanner.admin.database.v1.EncryptionInfo.Builder addEncryptionInfoBuilder() { - return getEncryptionInfoFieldBuilder().addBuilder( - com.google.spanner.admin.database.v1.EncryptionInfo.getDefaultInstance()); + return getEncryptionInfoFieldBuilder() + .addBuilder(com.google.spanner.admin.database.v1.EncryptionInfo.getDefaultInstance()); } /** + * + * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption information for the database, such as
@@ -2416,14 +2850,19 @@ public com.google.spanner.admin.database.v1.EncryptionInfo.Builder addEncryption
      * from when a key version is being used and when it appears in this field.
      * 
* - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.spanner.admin.database.v1.EncryptionInfo.Builder addEncryptionInfoBuilder( int index) { - return getEncryptionInfoFieldBuilder().addBuilder( - index, com.google.spanner.admin.database.v1.EncryptionInfo.getDefaultInstance()); + return getEncryptionInfoFieldBuilder() + .addBuilder( + index, com.google.spanner.admin.database.v1.EncryptionInfo.getDefaultInstance()); } /** + * + * *
      * Output only. For databases that are using customer managed encryption, this
      * field contains the encryption information for the database, such as
@@ -2434,18 +2873,26 @@ public com.google.spanner.admin.database.v1.EncryptionInfo.Builder addEncryption
      * from when a key version is being used and when it appears in this field.
      * 
* - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.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.spanner.admin.database.v1.EncryptionInfo, com.google.spanner.admin.database.v1.EncryptionInfo.Builder, com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder> + com.google.spanner.admin.database.v1.EncryptionInfo, + com.google.spanner.admin.database.v1.EncryptionInfo.Builder, + com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder> getEncryptionInfoFieldBuilder() { if (encryptionInfoBuilder_ == null) { - encryptionInfoBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.admin.database.v1.EncryptionInfo, com.google.spanner.admin.database.v1.EncryptionInfo.Builder, com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder>( + encryptionInfoBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.spanner.admin.database.v1.EncryptionInfo, + com.google.spanner.admin.database.v1.EncryptionInfo.Builder, + com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder>( encryptionInfo_, ((bitField0_ & 0x00000020) != 0), getParentForChildren(), @@ -2457,6 +2904,8 @@ public com.google.spanner.admin.database.v1.EncryptionInfo.Builder addEncryption private java.lang.Object versionRetentionPeriod_ = ""; /** + * + * *
      * Output only. The period in which Cloud Spanner retains all versions of data
      * for the database. This is the same as the value of version_retention_period
@@ -2465,14 +2914,15 @@ public com.google.spanner.admin.database.v1.EncryptionInfo.Builder addEncryption
      * if not set.
      * 
* - * string version_retention_period = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string version_retention_period = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The versionRetentionPeriod. */ public java.lang.String getVersionRetentionPeriod() { java.lang.Object ref = versionRetentionPeriod_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); versionRetentionPeriod_ = s; return s; @@ -2481,6 +2931,8 @@ public java.lang.String getVersionRetentionPeriod() { } } /** + * + * *
      * Output only. The period in which Cloud Spanner retains all versions of data
      * for the database. This is the same as the value of version_retention_period
@@ -2489,16 +2941,16 @@ public java.lang.String getVersionRetentionPeriod() {
      * if not set.
      * 
* - * string version_retention_period = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string version_retention_period = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bytes for versionRetentionPeriod. */ - public com.google.protobuf.ByteString - getVersionRetentionPeriodBytes() { + public com.google.protobuf.ByteString getVersionRetentionPeriodBytes() { java.lang.Object ref = versionRetentionPeriod_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); versionRetentionPeriod_ = b; return b; } else { @@ -2506,6 +2958,8 @@ public java.lang.String getVersionRetentionPeriod() { } } /** + * + * *
      * Output only. The period in which Cloud Spanner retains all versions of data
      * for the database. This is the same as the value of version_retention_period
@@ -2514,19 +2968,24 @@ public java.lang.String getVersionRetentionPeriod() {
      * if not set.
      * 
* - * string version_retention_period = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string version_retention_period = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The versionRetentionPeriod to set. * @return This builder for chaining. */ - public Builder setVersionRetentionPeriod( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setVersionRetentionPeriod(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } versionRetentionPeriod_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * *
      * Output only. The period in which Cloud Spanner retains all versions of data
      * for the database. This is the same as the value of version_retention_period
@@ -2535,7 +2994,9 @@ public Builder setVersionRetentionPeriod(
      * if not set.
      * 
* - * string version_retention_period = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string version_retention_period = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearVersionRetentionPeriod() { @@ -2545,6 +3006,8 @@ public Builder clearVersionRetentionPeriod() { return this; } /** + * + * *
      * Output only. The period in which Cloud Spanner retains all versions of data
      * for the database. This is the same as the value of version_retention_period
@@ -2553,13 +3016,16 @@ public Builder clearVersionRetentionPeriod() {
      * if not set.
      * 
* - * string version_retention_period = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string version_retention_period = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The bytes for versionRetentionPeriod to set. * @return This builder for chaining. */ - public Builder setVersionRetentionPeriodBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setVersionRetentionPeriodBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); versionRetentionPeriod_ = value; bitField0_ |= 0x00000040; @@ -2569,8 +3035,13 @@ public Builder setVersionRetentionPeriodBytes( private com.google.protobuf.Timestamp earliestVersionTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> earliestVersionTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + earliestVersionTimeBuilder_; /** + * + * *
      * Output only. Earliest timestamp at which older versions of the data can be
      * read. This value is continuously updated by Cloud Spanner and becomes stale
@@ -2579,13 +3050,18 @@ public Builder setVersionRetentionPeriodBytes(
      * the moment when you initiate the recovery.
      * 
* - * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the earliestVersionTime field is set. */ public boolean hasEarliestVersionTime() { return ((bitField0_ & 0x00000080) != 0); } /** + * + * *
      * Output only. Earliest timestamp at which older versions of the data can be
      * read. This value is continuously updated by Cloud Spanner and becomes stale
@@ -2594,17 +3070,24 @@ public boolean hasEarliestVersionTime() {
      * the moment when you initiate the recovery.
      * 
* - * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The earliestVersionTime. */ public com.google.protobuf.Timestamp getEarliestVersionTime() { if (earliestVersionTimeBuilder_ == null) { - return earliestVersionTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : earliestVersionTime_; + return earliestVersionTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : earliestVersionTime_; } else { return earliestVersionTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Earliest timestamp at which older versions of the data can be
      * read. This value is continuously updated by Cloud Spanner and becomes stale
@@ -2613,7 +3096,9 @@ public com.google.protobuf.Timestamp getEarliestVersionTime() {
      * the moment when you initiate the recovery.
      * 
* - * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setEarliestVersionTime(com.google.protobuf.Timestamp value) { if (earliestVersionTimeBuilder_ == null) { @@ -2629,6 +3114,8 @@ public Builder setEarliestVersionTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Earliest timestamp at which older versions of the data can be
      * read. This value is continuously updated by Cloud Spanner and becomes stale
@@ -2637,10 +3124,11 @@ public Builder setEarliestVersionTime(com.google.protobuf.Timestamp value) {
      * the moment when you initiate the recovery.
      * 
* - * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setEarliestVersionTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEarliestVersionTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (earliestVersionTimeBuilder_ == null) { earliestVersionTime_ = builderForValue.build(); } else { @@ -2651,6 +3139,8 @@ public Builder setEarliestVersionTime( return this; } /** + * + * *
      * Output only. Earliest timestamp at which older versions of the data can be
      * read. This value is continuously updated by Cloud Spanner and becomes stale
@@ -2659,13 +3149,15 @@ public Builder setEarliestVersionTime(
      * the moment when you initiate the recovery.
      * 
* - * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeEarliestVersionTime(com.google.protobuf.Timestamp value) { if (earliestVersionTimeBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0) && - earliestVersionTime_ != null && - earliestVersionTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000080) != 0) + && earliestVersionTime_ != null + && earliestVersionTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEarliestVersionTimeBuilder().mergeFrom(value); } else { earliestVersionTime_ = value; @@ -2678,6 +3170,8 @@ public Builder mergeEarliestVersionTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Earliest timestamp at which older versions of the data can be
      * read. This value is continuously updated by Cloud Spanner and becomes stale
@@ -2686,7 +3180,9 @@ public Builder mergeEarliestVersionTime(com.google.protobuf.Timestamp value) {
      * the moment when you initiate the recovery.
      * 
* - * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearEarliestVersionTime() { bitField0_ = (bitField0_ & ~0x00000080); @@ -2699,6 +3195,8 @@ public Builder clearEarliestVersionTime() { return this; } /** + * + * *
      * Output only. Earliest timestamp at which older versions of the data can be
      * read. This value is continuously updated by Cloud Spanner and becomes stale
@@ -2707,7 +3205,9 @@ public Builder clearEarliestVersionTime() {
      * the moment when you initiate the recovery.
      * 
* - * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getEarliestVersionTimeBuilder() { bitField0_ |= 0x00000080; @@ -2715,6 +3215,8 @@ public com.google.protobuf.Timestamp.Builder getEarliestVersionTimeBuilder() { return getEarliestVersionTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Earliest timestamp at which older versions of the data can be
      * read. This value is continuously updated by Cloud Spanner and becomes stale
@@ -2723,17 +3225,22 @@ public com.google.protobuf.Timestamp.Builder getEarliestVersionTimeBuilder() {
      * the moment when you initiate the recovery.
      * 
* - * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getEarliestVersionTimeOrBuilder() { if (earliestVersionTimeBuilder_ != null) { return earliestVersionTimeBuilder_.getMessageOrBuilder(); } else { - return earliestVersionTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : earliestVersionTime_; + return earliestVersionTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : earliestVersionTime_; } } /** + * + * *
      * Output only. Earliest timestamp at which older versions of the data can be
      * read. This value is continuously updated by Cloud Spanner and becomes stale
@@ -2742,17 +3249,22 @@ public com.google.protobuf.TimestampOrBuilder getEarliestVersionTimeOrBuilder()
      * the moment when you initiate the recovery.
      * 
* - * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ 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> getEarliestVersionTimeFieldBuilder() { if (earliestVersionTimeBuilder_ == null) { - earliestVersionTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getEarliestVersionTime(), - getParentForChildren(), - isClean()); + earliestVersionTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getEarliestVersionTime(), getParentForChildren(), isClean()); earliestVersionTime_ = null; } return earliestVersionTimeBuilder_; @@ -2760,6 +3272,8 @@ public com.google.protobuf.TimestampOrBuilder getEarliestVersionTimeOrBuilder() private java.lang.Object defaultLeader_ = ""; /** + * + * *
      * Output only. The read-write region which contains the database's leader
      * replicas.
@@ -2769,13 +3283,13 @@ public com.google.protobuf.TimestampOrBuilder getEarliestVersionTimeOrBuilder()
      * 
* * string default_leader = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The defaultLeader. */ public java.lang.String getDefaultLeader() { java.lang.Object ref = defaultLeader_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultLeader_ = s; return s; @@ -2784,6 +3298,8 @@ public java.lang.String getDefaultLeader() { } } /** + * + * *
      * Output only. The read-write region which contains the database's leader
      * replicas.
@@ -2793,15 +3309,14 @@ public java.lang.String getDefaultLeader() {
      * 
* * string default_leader = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for defaultLeader. */ - public com.google.protobuf.ByteString - getDefaultLeaderBytes() { + public com.google.protobuf.ByteString getDefaultLeaderBytes() { java.lang.Object ref = defaultLeader_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); defaultLeader_ = b; return b; } else { @@ -2809,6 +3324,8 @@ public java.lang.String getDefaultLeader() { } } /** + * + * *
      * Output only. The read-write region which contains the database's leader
      * replicas.
@@ -2818,18 +3335,22 @@ public java.lang.String getDefaultLeader() {
      * 
* * string default_leader = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The defaultLeader to set. * @return This builder for chaining. */ - public Builder setDefaultLeader( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDefaultLeader(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } defaultLeader_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** + * + * *
      * Output only. The read-write region which contains the database's leader
      * replicas.
@@ -2839,6 +3360,7 @@ public Builder setDefaultLeader(
      * 
* * string default_leader = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearDefaultLeader() { @@ -2848,6 +3370,8 @@ public Builder clearDefaultLeader() { return this; } /** + * + * *
      * Output only. The read-write region which contains the database's leader
      * replicas.
@@ -2857,12 +3381,14 @@ public Builder clearDefaultLeader() {
      * 
* * string default_leader = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for defaultLeader to set. * @return This builder for chaining. */ - public Builder setDefaultLeaderBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDefaultLeaderBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); defaultLeader_ = value; bitField0_ |= 0x00000100; @@ -2872,22 +3398,33 @@ public Builder setDefaultLeaderBytes( private int databaseDialect_ = 0; /** + * + * *
      * Output only. The dialect of the Cloud Spanner Database.
      * 
* - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for databaseDialect. */ - @java.lang.Override public int getDatabaseDialectValue() { + @java.lang.Override + public int getDatabaseDialectValue() { return databaseDialect_; } /** + * + * *
      * Output only. The dialect of the Cloud Spanner Database.
      * 
* - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for databaseDialect to set. * @return This builder for chaining. */ @@ -2898,24 +3435,37 @@ public Builder setDatabaseDialectValue(int value) { return this; } /** + * + * *
      * Output only. The dialect of the Cloud Spanner Database.
      * 
* - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The databaseDialect. */ @java.lang.Override public com.google.spanner.admin.database.v1.DatabaseDialect getDatabaseDialect() { - com.google.spanner.admin.database.v1.DatabaseDialect result = com.google.spanner.admin.database.v1.DatabaseDialect.forNumber(databaseDialect_); - return result == null ? com.google.spanner.admin.database.v1.DatabaseDialect.UNRECOGNIZED : result; + com.google.spanner.admin.database.v1.DatabaseDialect result = + com.google.spanner.admin.database.v1.DatabaseDialect.forNumber(databaseDialect_); + return result == null + ? com.google.spanner.admin.database.v1.DatabaseDialect.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. The dialect of the Cloud Spanner Database.
      * 
* - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The databaseDialect to set. * @return This builder for chaining. */ @@ -2929,11 +3479,16 @@ public Builder setDatabaseDialect(com.google.spanner.admin.database.v1.DatabaseD return this; } /** + * + * *
      * Output only. The dialect of the Cloud Spanner Database.
      * 
* - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearDatabaseDialect() { @@ -2942,9 +3497,9 @@ public Builder clearDatabaseDialect() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2954,12 +3509,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.Database) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.Database) private static final com.google.spanner.admin.database.v1.Database DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.Database(); } @@ -2968,27 +3523,27 @@ public static com.google.spanner.admin.database.v1.Database getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Database parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Database parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3003,6 +3558,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.Database getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseDialect.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseDialect.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseDialect.java rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseDialect.java index a779d975852..b2898046416 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseDialect.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseDialect.java @@ -1,18 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/common.proto package com.google.spanner.admin.database.v1; /** + * + * *
  * Indicates the dialect type of a database.
  * 
* * Protobuf enum {@code google.spanner.admin.database.v1.DatabaseDialect} */ -public enum DatabaseDialect - implements com.google.protobuf.ProtocolMessageEnum { +public enum DatabaseDialect implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Default value. This value will create a database with the
    * GOOGLE_STANDARD_SQL dialect.
@@ -22,6 +40,8 @@ public enum DatabaseDialect
    */
   DATABASE_DIALECT_UNSPECIFIED(0),
   /**
+   *
+   *
    * 
    * Google standard SQL.
    * 
@@ -30,6 +50,8 @@ public enum DatabaseDialect */ GOOGLE_STANDARD_SQL(1), /** + * + * *
    * PostgreSQL supported SQL.
    * 
@@ -41,6 +63,8 @@ public enum DatabaseDialect ; /** + * + * *
    * Default value. This value will create a database with the
    * GOOGLE_STANDARD_SQL dialect.
@@ -50,6 +74,8 @@ public enum DatabaseDialect
    */
   public static final int DATABASE_DIALECT_UNSPECIFIED_VALUE = 0;
   /**
+   *
+   *
    * 
    * Google standard SQL.
    * 
@@ -58,6 +84,8 @@ public enum DatabaseDialect */ public static final int GOOGLE_STANDARD_SQL_VALUE = 1; /** + * + * *
    * PostgreSQL supported SQL.
    * 
@@ -66,7 +94,6 @@ public enum DatabaseDialect */ public static final int POSTGRESQL_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -91,49 +118,49 @@ public static DatabaseDialect valueOf(int value) { */ public static DatabaseDialect forNumber(int value) { switch (value) { - case 0: return DATABASE_DIALECT_UNSPECIFIED; - case 1: return GOOGLE_STANDARD_SQL; - case 2: return POSTGRESQL; - default: return null; + case 0: + return DATABASE_DIALECT_UNSPECIFIED; + case 1: + return GOOGLE_STANDARD_SQL; + case 2: + return POSTGRESQL; + 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< - DatabaseDialect> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public DatabaseDialect findValueByNumber(int number) { - return DatabaseDialect.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 DatabaseDialect findValueByNumber(int number) { + return DatabaseDialect.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.spanner.admin.database.v1.CommonProto.getDescriptor().getEnumTypes().get(0); } private static final DatabaseDialect[] VALUES = values(); - public static DatabaseDialect valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static DatabaseDialect 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; @@ -149,4 +176,3 @@ private DatabaseDialect(int value) { // @@protoc_insertion_point(enum_scope:google.spanner.admin.database.v1.DatabaseDialect) } - diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseName.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseName.java similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseName.java rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseOrBuilder.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseOrBuilder.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseOrBuilder.java rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseOrBuilder.java index 1cb57230fe7..de9373a0f9e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseOrBuilder.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/spanner_database_admin.proto package com.google.spanner.admin.database.v1; -public interface DatabaseOrBuilder extends +public interface DatabaseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.Database) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the database. Values are of the form
    * `projects/<project>/instances/<instance>/databases/<database>`,
@@ -17,10 +35,13 @@ public interface DatabaseOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The name of the database. Values are of the form
    * `projects/<project>/instances/<instance>/databases/<database>`,
@@ -30,88 +51,125 @@ public interface DatabaseOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Output only. The current database state.
    * 
* - * .google.spanner.admin.database.v1.Database.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.Database.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. The current database state.
    * 
* - * .google.spanner.admin.database.v1.Database.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.Database.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.spanner.admin.database.v1.Database.State getState(); /** + * + * *
    * Output only. If exists, the time at which the database creation started.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. If exists, the time at which the database creation started.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. If exists, the time at which the database creation started.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. Applicable only for restored databases. Contains information
    * about the restore source.
    * 
* - * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the restoreInfo field is set. */ boolean hasRestoreInfo(); /** + * + * *
    * Output only. Applicable only for restored databases. Contains information
    * about the restore source.
    * 
* - * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The restoreInfo. */ com.google.spanner.admin.database.v1.RestoreInfo getRestoreInfo(); /** + * + * *
    * Output only. Applicable only for restored databases. Contains information
    * about the restore source.
    * 
* - * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.RestoreInfo restore_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.spanner.admin.database.v1.RestoreInfoOrBuilder getRestoreInfoOrBuilder(); /** + * + * *
    * Output only. For databases that are using customer managed encryption, this
    * field contains the encryption configuration for the database.
@@ -119,11 +177,16 @@ public interface DatabaseOrBuilder extends
    * this field is empty.
    * 
* - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the encryptionConfig field is set. */ boolean hasEncryptionConfig(); /** + * + * *
    * Output only. For databases that are using customer managed encryption, this
    * field contains the encryption configuration for the database.
@@ -131,11 +194,16 @@ public interface DatabaseOrBuilder extends
    * this field is empty.
    * 
* - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The encryptionConfig. */ com.google.spanner.admin.database.v1.EncryptionConfig getEncryptionConfig(); /** + * + * *
    * Output only. For databases that are using customer managed encryption, this
    * field contains the encryption configuration for the database.
@@ -143,11 +211,15 @@ public interface DatabaseOrBuilder extends
    * this field is empty.
    * 
* - * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder(); /** + * + * *
    * Output only. For databases that are using customer managed encryption, this
    * field contains the encryption information for the database, such as
@@ -158,11 +230,14 @@ public interface DatabaseOrBuilder extends
    * from when a key version is being used and when it appears in this field.
    * 
* - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List - getEncryptionInfoList(); + java.util.List getEncryptionInfoList(); /** + * + * *
    * Output only. For databases that are using customer managed encryption, this
    * field contains the encryption information for the database, such as
@@ -173,10 +248,14 @@ public interface DatabaseOrBuilder extends
    * from when a key version is being used and when it appears in this field.
    * 
* - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.spanner.admin.database.v1.EncryptionInfo getEncryptionInfo(int index); /** + * + * *
    * Output only. For databases that are using customer managed encryption, this
    * field contains the encryption information for the database, such as
@@ -187,10 +266,14 @@ public interface DatabaseOrBuilder extends
    * from when a key version is being used and when it appears in this field.
    * 
* - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ int getEncryptionInfoCount(); /** + * + * *
    * Output only. For databases that are using customer managed encryption, this
    * field contains the encryption information for the database, such as
@@ -201,11 +284,15 @@ public interface DatabaseOrBuilder extends
    * from when a key version is being used and when it appears in this field.
    * 
* - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List + java.util.List getEncryptionInfoOrBuilderList(); /** + * + * *
    * Output only. For databases that are using customer managed encryption, this
    * field contains the encryption information for the database, such as
@@ -216,12 +303,16 @@ public interface DatabaseOrBuilder extends
    * from when a key version is being used and when it appears in this field.
    * 
* - * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.spanner.admin.database.v1.EncryptionInfo encryption_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder( int index); /** + * + * *
    * Output only. The period in which Cloud Spanner retains all versions of data
    * for the database. This is the same as the value of version_retention_period
@@ -231,10 +322,13 @@ com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder getEncryptionInfoOr
    * 
* * string version_retention_period = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The versionRetentionPeriod. */ java.lang.String getVersionRetentionPeriod(); /** + * + * *
    * Output only. The period in which Cloud Spanner retains all versions of data
    * for the database. This is the same as the value of version_retention_period
@@ -244,12 +338,14 @@ com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder getEncryptionInfoOr
    * 
* * string version_retention_period = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for versionRetentionPeriod. */ - com.google.protobuf.ByteString - getVersionRetentionPeriodBytes(); + com.google.protobuf.ByteString getVersionRetentionPeriodBytes(); /** + * + * *
    * Output only. Earliest timestamp at which older versions of the data can be
    * read. This value is continuously updated by Cloud Spanner and becomes stale
@@ -258,11 +354,16 @@ com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder getEncryptionInfoOr
    * the moment when you initiate the recovery.
    * 
* - * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the earliestVersionTime field is set. */ boolean hasEarliestVersionTime(); /** + * + * *
    * Output only. Earliest timestamp at which older versions of the data can be
    * read. This value is continuously updated by Cloud Spanner and becomes stale
@@ -271,11 +372,16 @@ com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder getEncryptionInfoOr
    * the moment when you initiate the recovery.
    * 
* - * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The earliestVersionTime. */ com.google.protobuf.Timestamp getEarliestVersionTime(); /** + * + * *
    * Output only. Earliest timestamp at which older versions of the data can be
    * read. This value is continuously updated by Cloud Spanner and becomes stale
@@ -284,11 +390,15 @@ com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder getEncryptionInfoOr
    * the moment when you initiate the recovery.
    * 
* - * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp earliest_version_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getEarliestVersionTimeOrBuilder(); /** + * + * *
    * Output only. The read-write region which contains the database's leader
    * replicas.
@@ -298,10 +408,13 @@ com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder getEncryptionInfoOr
    * 
* * string default_leader = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The defaultLeader. */ java.lang.String getDefaultLeader(); /** + * + * *
    * Output only. The read-write region which contains the database's leader
    * replicas.
@@ -311,26 +424,36 @@ com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder getEncryptionInfoOr
    * 
* * string default_leader = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for defaultLeader. */ - com.google.protobuf.ByteString - getDefaultLeaderBytes(); + com.google.protobuf.ByteString getDefaultLeaderBytes(); /** + * + * *
    * Output only. The dialect of the Cloud Spanner Database.
    * 
* - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for databaseDialect. */ int getDatabaseDialectValue(); /** + * + * *
    * Output only. The dialect of the Cloud Spanner Database.
    * 
* - * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.DatabaseDialect database_dialect = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The databaseDialect. */ com.google.spanner.admin.database.v1.DatabaseDialect getDatabaseDialect(); diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseRole.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseRole.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseRole.java rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseRole.java index a67e08332e7..42caf41f84f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseRole.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseRole.java @@ -1,57 +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/spanner/admin/database/v1/spanner_database_admin.proto package com.google.spanner.admin.database.v1; /** + * + * *
  * A Cloud Spanner database role.
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.DatabaseRole} */ -public final class DatabaseRole extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DatabaseRole extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.DatabaseRole) DatabaseRoleOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DatabaseRole.newBuilder() to construct. private DatabaseRole(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DatabaseRole() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DatabaseRole(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_DatabaseRole_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto + .internal_static_google_spanner_admin_database_v1_DatabaseRole_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_DatabaseRole_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto + .internal_static_google_spanner_admin_database_v1_DatabaseRole_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.DatabaseRole.class, com.google.spanner.admin.database.v1.DatabaseRole.Builder.class); + com.google.spanner.admin.database.v1.DatabaseRole.class, + com.google.spanner.admin.database.v1.DatabaseRole.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the database role. Values are of the form
    * `projects/<project>/instances/<instance>/databases/<database>/databaseRoles/
@@ -61,6 +83,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -69,14 +92,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; } } /** + * + * *
    * Required. The name of the database role. Values are of the form
    * `projects/<project>/instances/<instance>/databases/<database>/databaseRoles/
@@ -86,16 +110,15 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -104,6 +127,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -115,8 +139,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -140,15 +163,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.database.v1.DatabaseRole)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.DatabaseRole other = (com.google.spanner.admin.database.v1.DatabaseRole) obj; + com.google.spanner.admin.database.v1.DatabaseRole other = + (com.google.spanner.admin.database.v1.DatabaseRole) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -168,129 +191,135 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.DatabaseRole parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.DatabaseRole parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.admin.database.v1.DatabaseRole parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.DatabaseRole parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.admin.database.v1.DatabaseRole parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.DatabaseRole parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.DatabaseRole parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.spanner.admin.database.v1.DatabaseRole parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.DatabaseRole parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.DatabaseRole parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.spanner.admin.database.v1.DatabaseRole parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.DatabaseRole parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.spanner.admin.database.v1.DatabaseRole parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.DatabaseRole parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.spanner.admin.database.v1.DatabaseRole prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 Cloud Spanner database role.
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.DatabaseRole} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.DatabaseRole) com.google.spanner.admin.database.v1.DatabaseRoleOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_DatabaseRole_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto + .internal_static_google_spanner_admin_database_v1_DatabaseRole_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_DatabaseRole_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto + .internal_static_google_spanner_admin_database_v1_DatabaseRole_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.DatabaseRole.class, com.google.spanner.admin.database.v1.DatabaseRole.Builder.class); + com.google.spanner.admin.database.v1.DatabaseRole.class, + com.google.spanner.admin.database.v1.DatabaseRole.Builder.class); } // Construct using com.google.spanner.admin.database.v1.DatabaseRole.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -300,9 +329,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_DatabaseRole_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto + .internal_static_google_spanner_admin_database_v1_DatabaseRole_descriptor; } @java.lang.Override @@ -321,8 +350,11 @@ public com.google.spanner.admin.database.v1.DatabaseRole build() { @java.lang.Override public com.google.spanner.admin.database.v1.DatabaseRole buildPartial() { - com.google.spanner.admin.database.v1.DatabaseRole result = new com.google.spanner.admin.database.v1.DatabaseRole(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.spanner.admin.database.v1.DatabaseRole result = + new com.google.spanner.admin.database.v1.DatabaseRole(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -338,38 +370,39 @@ private void buildPartial0(com.google.spanner.admin.database.v1.DatabaseRole 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.spanner.admin.database.v1.DatabaseRole) { - return mergeFrom((com.google.spanner.admin.database.v1.DatabaseRole)other); + return mergeFrom((com.google.spanner.admin.database.v1.DatabaseRole) other); } else { super.mergeFrom(other); return this; @@ -377,7 +410,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.admin.database.v1.DatabaseRole other) { - if (other == com.google.spanner.admin.database.v1.DatabaseRole.getDefaultInstance()) return this; + if (other == com.google.spanner.admin.database.v1.DatabaseRole.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -409,17 +443,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) { @@ -429,10 +465,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the database role. Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>/databaseRoles/
@@ -442,13 +481,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -457,6 +496,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the database role. Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>/databaseRoles/
@@ -466,15 +507,14 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -482,6 +522,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the database role. Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>/databaseRoles/
@@ -491,18 +533,22 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 name of the database role. Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>/databaseRoles/
@@ -512,6 +558,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -521,6 +568,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the database role. Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>/databaseRoles/
@@ -530,21 +579,23 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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); } @@ -554,12 +605,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.DatabaseRole) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.DatabaseRole) private static final com.google.spanner.admin.database.v1.DatabaseRole DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.DatabaseRole(); } @@ -568,27 +619,27 @@ public static com.google.spanner.admin.database.v1.DatabaseRole getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DatabaseRole parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DatabaseRole parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -603,6 +654,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.DatabaseRole getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseRoleOrBuilder.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseRoleOrBuilder.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseRoleOrBuilder.java rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseRoleOrBuilder.java index 44df2a12eed..293fe0f672c 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseRoleOrBuilder.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseRoleOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/spanner_database_admin.proto package com.google.spanner.admin.database.v1; -public interface DatabaseRoleOrBuilder extends +public interface DatabaseRoleOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.DatabaseRole) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the database role. Values are of the form
    * `projects/<project>/instances/<instance>/databases/<database>/databaseRoles/
@@ -17,10 +35,13 @@ public interface DatabaseRoleOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The name of the database role. Values are of the form
    * `projects/<project>/instances/<instance>/databases/<database>/databaseRoles/
@@ -30,8 +51,8 @@ public interface DatabaseRoleOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DeleteBackupRequest.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DeleteBackupRequest.java similarity index 63% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DeleteBackupRequest.java rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DeleteBackupRequest.java index 5051abf31df..e095273e163 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DeleteBackupRequest.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DeleteBackupRequest.java @@ -1,64 +1,89 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/backup.proto package com.google.spanner.admin.database.v1; /** + * + * *
  * The request for [DeleteBackup][google.spanner.admin.database.v1.DatabaseAdmin.DeleteBackup].
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.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.spanner.admin.database.v1.DeleteBackupRequest) DeleteBackupRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteBackupRequest.newBuilder() to construct. private DeleteBackupRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteBackupRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteBackupRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_DeleteBackupRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.admin.database.v1.BackupProto + .internal_static_google_spanner_admin_database_v1_DeleteBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_DeleteBackupRequest_fieldAccessorTable + return com.google.spanner.admin.database.v1.BackupProto + .internal_static_google_spanner_admin_database_v1_DeleteBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.DeleteBackupRequest.class, com.google.spanner.admin.database.v1.DeleteBackupRequest.Builder.class); + com.google.spanner.admin.database.v1.DeleteBackupRequest.class, + com.google.spanner.admin.database.v1.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>/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 @@ -67,31 +92,33 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. Name of the backup to delete.
    * Values are of the form
    * `projects/<project>/instances/<instance>/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 { @@ -100,6 +127,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -111,8 +139,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -136,15 +163,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.database.v1.DeleteBackupRequest)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.DeleteBackupRequest other = (com.google.spanner.admin.database.v1.DeleteBackupRequest) obj; + com.google.spanner.admin.database.v1.DeleteBackupRequest other = + (com.google.spanner.admin.database.v1.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; } @@ -164,129 +191,136 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.DeleteBackupRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.DeleteBackupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.DeleteBackupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.DeleteBackupRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.spanner.admin.database.v1.DeleteBackupRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.DeleteBackupRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.spanner.admin.database.v1.DeleteBackupRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.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.spanner.admin.database.v1.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.spanner.admin.database.v1.DeleteBackupRequest prototype) { + + public static Builder newBuilder( + com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.DatabaseAdmin.DeleteBackup].
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.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.spanner.admin.database.v1.DeleteBackupRequest) com.google.spanner.admin.database.v1.DeleteBackupRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_DeleteBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.admin.database.v1.BackupProto + .internal_static_google_spanner_admin_database_v1_DeleteBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_DeleteBackupRequest_fieldAccessorTable + return com.google.spanner.admin.database.v1.BackupProto + .internal_static_google_spanner_admin_database_v1_DeleteBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.DeleteBackupRequest.class, com.google.spanner.admin.database.v1.DeleteBackupRequest.Builder.class); + com.google.spanner.admin.database.v1.DeleteBackupRequest.class, + com.google.spanner.admin.database.v1.DeleteBackupRequest.Builder.class); } // Construct using com.google.spanner.admin.database.v1.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(); @@ -296,9 +330,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_DeleteBackupRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.spanner.admin.database.v1.BackupProto + .internal_static_google_spanner_admin_database_v1_DeleteBackupRequest_descriptor; } @java.lang.Override @@ -317,8 +351,11 @@ public com.google.spanner.admin.database.v1.DeleteBackupRequest build() { @java.lang.Override public com.google.spanner.admin.database.v1.DeleteBackupRequest buildPartial() { - com.google.spanner.admin.database.v1.DeleteBackupRequest result = new com.google.spanner.admin.database.v1.DeleteBackupRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.spanner.admin.database.v1.DeleteBackupRequest result = + new com.google.spanner.admin.database.v1.DeleteBackupRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -334,38 +371,39 @@ private void buildPartial0(com.google.spanner.admin.database.v1.DeleteBackupRequ public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.admin.database.v1.DeleteBackupRequest) { - return mergeFrom((com.google.spanner.admin.database.v1.DeleteBackupRequest)other); + return mergeFrom((com.google.spanner.admin.database.v1.DeleteBackupRequest) other); } else { super.mergeFrom(other); return this; @@ -373,7 +411,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.admin.database.v1.DeleteBackupRequest other) { - if (other == com.google.spanner.admin.database.v1.DeleteBackupRequest.getDefaultInstance()) return this; + if (other == com.google.spanner.admin.database.v1.DeleteBackupRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -405,17 +444,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) { @@ -425,24 +466,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>/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; @@ -451,22 +497,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the backup to delete.
      * Values are of the form
      * `projects/<project>/instances/<instance>/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 { @@ -474,32 +523,43 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the backup to delete.
      * Values are of the form
      * `projects/<project>/instances/<instance>/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>/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() { @@ -509,28 +569,34 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Name of the backup to delete.
      * Values are of the form
      * `projects/<project>/instances/<instance>/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); } @@ -540,12 +606,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.DeleteBackupRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.DeleteBackupRequest) private static final com.google.spanner.admin.database.v1.DeleteBackupRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.DeleteBackupRequest(); } @@ -554,27 +620,27 @@ public static com.google.spanner.admin.database.v1.DeleteBackupRequest getDefaul 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; @@ -589,6 +655,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.DeleteBackupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DeleteBackupRequestOrBuilder.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DeleteBackupRequestOrBuilder.java new file mode 100644 index 00000000000..8aff1d1bced --- /dev/null +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DeleteBackupRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/spanner/admin/database/v1/backup.proto + +package com.google.spanner.admin.database.v1; + +public interface DeleteBackupRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.DeleteBackupRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Name of the backup to delete.
+   * Values are of the form
+   * `projects/<project>/instances/<instance>/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>/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/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DropDatabaseRequest.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DropDatabaseRequest.java similarity index 63% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DropDatabaseRequest.java rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DropDatabaseRequest.java index d93ff449f13..2aea18dad1a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DropDatabaseRequest.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DropDatabaseRequest.java @@ -1,62 +1,87 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/spanner_database_admin.proto package com.google.spanner.admin.database.v1; /** + * + * *
  * The request for [DropDatabase][google.spanner.admin.database.v1.DatabaseAdmin.DropDatabase].
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.DropDatabaseRequest} */ -public final class DropDatabaseRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DropDatabaseRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.DropDatabaseRequest) DropDatabaseRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DropDatabaseRequest.newBuilder() to construct. private DropDatabaseRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DropDatabaseRequest() { database_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DropDatabaseRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_DropDatabaseRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto + .internal_static_google_spanner_admin_database_v1_DropDatabaseRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_DropDatabaseRequest_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto + .internal_static_google_spanner_admin_database_v1_DropDatabaseRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.DropDatabaseRequest.class, com.google.spanner.admin.database.v1.DropDatabaseRequest.Builder.class); + com.google.spanner.admin.database.v1.DropDatabaseRequest.class, + com.google.spanner.admin.database.v1.DropDatabaseRequest.Builder.class); } public static final int DATABASE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object database_ = ""; /** + * + * *
    * Required. The database to be dropped.
    * 
* - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The database. */ @java.lang.Override @@ -65,29 +90,31 @@ public java.lang.String getDatabase() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; } } /** + * + * *
    * Required. The database to be dropped.
    * 
* - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for database. */ @java.lang.Override - public com.google.protobuf.ByteString - getDatabaseBytes() { + public com.google.protobuf.ByteString getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); database_ = b; return b; } else { @@ -96,6 +123,7 @@ public java.lang.String getDatabase() { } 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(database_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, database_); } @@ -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.spanner.admin.database.v1.DropDatabaseRequest)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.DropDatabaseRequest other = (com.google.spanner.admin.database.v1.DropDatabaseRequest) obj; + com.google.spanner.admin.database.v1.DropDatabaseRequest other = + (com.google.spanner.admin.database.v1.DropDatabaseRequest) obj; - if (!getDatabase() - .equals(other.getDatabase())) return false; + if (!getDatabase().equals(other.getDatabase())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -160,129 +187,136 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.DropDatabaseRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.DropDatabaseRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.admin.database.v1.DropDatabaseRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.DropDatabaseRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.admin.database.v1.DropDatabaseRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.DropDatabaseRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.DropDatabaseRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.spanner.admin.database.v1.DropDatabaseRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.DropDatabaseRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.DropDatabaseRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.spanner.admin.database.v1.DropDatabaseRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.DropDatabaseRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.spanner.admin.database.v1.DropDatabaseRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.DropDatabaseRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.admin.database.v1.DropDatabaseRequest prototype) { + + public static Builder newBuilder( + com.google.spanner.admin.database.v1.DropDatabaseRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [DropDatabase][google.spanner.admin.database.v1.DatabaseAdmin.DropDatabase].
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.DropDatabaseRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.DropDatabaseRequest) com.google.spanner.admin.database.v1.DropDatabaseRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_DropDatabaseRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto + .internal_static_google_spanner_admin_database_v1_DropDatabaseRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_DropDatabaseRequest_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto + .internal_static_google_spanner_admin_database_v1_DropDatabaseRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.DropDatabaseRequest.class, com.google.spanner.admin.database.v1.DropDatabaseRequest.Builder.class); + com.google.spanner.admin.database.v1.DropDatabaseRequest.class, + com.google.spanner.admin.database.v1.DropDatabaseRequest.Builder.class); } // Construct using com.google.spanner.admin.database.v1.DropDatabaseRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - 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 +326,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_DropDatabaseRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto + .internal_static_google_spanner_admin_database_v1_DropDatabaseRequest_descriptor; } @java.lang.Override @@ -313,8 +347,11 @@ public com.google.spanner.admin.database.v1.DropDatabaseRequest build() { @java.lang.Override public com.google.spanner.admin.database.v1.DropDatabaseRequest buildPartial() { - com.google.spanner.admin.database.v1.DropDatabaseRequest result = new com.google.spanner.admin.database.v1.DropDatabaseRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.spanner.admin.database.v1.DropDatabaseRequest result = + new com.google.spanner.admin.database.v1.DropDatabaseRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -330,38 +367,39 @@ private void buildPartial0(com.google.spanner.admin.database.v1.DropDatabaseRequ public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.admin.database.v1.DropDatabaseRequest) { - return mergeFrom((com.google.spanner.admin.database.v1.DropDatabaseRequest)other); + return mergeFrom((com.google.spanner.admin.database.v1.DropDatabaseRequest) other); } else { super.mergeFrom(other); return this; @@ -369,7 +407,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.admin.database.v1.DropDatabaseRequest other) { - if (other == com.google.spanner.admin.database.v1.DropDatabaseRequest.getDefaultInstance()) return this; + if (other == com.google.spanner.admin.database.v1.DropDatabaseRequest.getDefaultInstance()) + return this; if (!other.getDatabase().isEmpty()) { database_ = other.database_; bitField0_ |= 0x00000001; @@ -401,17 +440,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - database_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + database_ = 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) { @@ -421,22 +462,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object database_ = ""; /** + * + * *
      * Required. The database to be dropped.
      * 
* - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The database. */ public java.lang.String getDatabase() { java.lang.Object ref = database_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; @@ -445,20 +491,23 @@ public java.lang.String getDatabase() { } } /** + * + * *
      * Required. The database to be dropped.
      * 
* - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for database. */ - public com.google.protobuf.ByteString - getDatabaseBytes() { + public com.google.protobuf.ByteString getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); database_ = b; return b; } else { @@ -466,28 +515,39 @@ public java.lang.String getDatabase() { } } /** + * + * *
      * Required. The database to be dropped.
      * 
* - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The database to set. * @return This builder for chaining. */ - public Builder setDatabase( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDatabase(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } database_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The database to be dropped.
      * 
* - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearDatabase() { @@ -497,26 +557,32 @@ public Builder clearDatabase() { return this; } /** + * + * *
      * Required. The database to be dropped.
      * 
* - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for database to set. * @return This builder for chaining. */ - public Builder setDatabaseBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); database_ = 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); } @@ -526,12 +592,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.DropDatabaseRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.DropDatabaseRequest) private static final com.google.spanner.admin.database.v1.DropDatabaseRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.DropDatabaseRequest(); } @@ -540,27 +606,27 @@ public static com.google.spanner.admin.database.v1.DropDatabaseRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DropDatabaseRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DropDatabaseRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -575,6 +641,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.DropDatabaseRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DropDatabaseRequestOrBuilder.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DropDatabaseRequestOrBuilder.java new file mode 100644 index 00000000000..be7aca5e0b5 --- /dev/null +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DropDatabaseRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/spanner/admin/database/v1/spanner_database_admin.proto + +package com.google.spanner.admin.database.v1; + +public interface DropDatabaseRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.DropDatabaseRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The database to be dropped.
+   * 
+ * + * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The database. + */ + java.lang.String getDatabase(); + /** + * + * + *
+   * Required. The database to be dropped.
+   * 
+ * + * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for database. + */ + com.google.protobuf.ByteString getDatabaseBytes(); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionConfig.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionConfig.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionConfig.java rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionConfig.java index 7a096848280..1ef8ecc89c4 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionConfig.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionConfig.java @@ -1,57 +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/spanner/admin/database/v1/common.proto package com.google.spanner.admin.database.v1; /** + * + * *
  * Encryption configuration for a Cloud Spanner database.
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.EncryptionConfig} */ -public final class EncryptionConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class EncryptionConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.EncryptionConfig) EncryptionConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use EncryptionConfig.newBuilder() to construct. private EncryptionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private EncryptionConfig() { kmsKeyName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new EncryptionConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.admin.database.v1.CommonProto.internal_static_google_spanner_admin_database_v1_EncryptionConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.admin.database.v1.CommonProto + .internal_static_google_spanner_admin_database_v1_EncryptionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.CommonProto.internal_static_google_spanner_admin_database_v1_EncryptionConfig_fieldAccessorTable + return com.google.spanner.admin.database.v1.CommonProto + .internal_static_google_spanner_admin_database_v1_EncryptionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.EncryptionConfig.class, com.google.spanner.admin.database.v1.EncryptionConfig.Builder.class); + com.google.spanner.admin.database.v1.EncryptionConfig.class, + com.google.spanner.admin.database.v1.EncryptionConfig.Builder.class); } public static final int KMS_KEY_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object kmsKeyName_ = ""; /** + * + * *
    * The Cloud KMS key to be used for encrypting and decrypting
    * the database. Values are of the form
@@ -59,6 +81,7 @@ protected java.lang.Object newInstance(
    * 
* * string kms_key_name = 2 [(.google.api.resource_reference) = { ... } + * * @return The kmsKeyName. */ @java.lang.Override @@ -67,14 +90,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; } } /** + * + * *
    * The Cloud KMS key to be used for encrypting and decrypting
    * the database. Values are of the form
@@ -82,16 +106,15 @@ public java.lang.String getKmsKeyName() {
    * 
* * string kms_key_name = 2 [(.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 { @@ -100,6 +123,7 @@ public java.lang.String getKmsKeyName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -111,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(kmsKeyName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, kmsKeyName_); } @@ -136,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.spanner.admin.database.v1.EncryptionConfig)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.EncryptionConfig other = (com.google.spanner.admin.database.v1.EncryptionConfig) obj; + com.google.spanner.admin.database.v1.EncryptionConfig other = + (com.google.spanner.admin.database.v1.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; } @@ -164,129 +187,136 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.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.spanner.admin.database.v1.EncryptionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.EncryptionConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.EncryptionConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.spanner.admin.database.v1.EncryptionConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.EncryptionConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.spanner.admin.database.v1.EncryptionConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.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.spanner.admin.database.v1.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.spanner.admin.database.v1.EncryptionConfig prototype) { + + public static Builder newBuilder( + com.google.spanner.admin.database.v1.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 - protected 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 configuration for a Cloud Spanner database.
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.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.spanner.admin.database.v1.EncryptionConfig) com.google.spanner.admin.database.v1.EncryptionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.admin.database.v1.CommonProto.internal_static_google_spanner_admin_database_v1_EncryptionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.admin.database.v1.CommonProto + .internal_static_google_spanner_admin_database_v1_EncryptionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.CommonProto.internal_static_google_spanner_admin_database_v1_EncryptionConfig_fieldAccessorTable + return com.google.spanner.admin.database.v1.CommonProto + .internal_static_google_spanner_admin_database_v1_EncryptionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.EncryptionConfig.class, com.google.spanner.admin.database.v1.EncryptionConfig.Builder.class); + com.google.spanner.admin.database.v1.EncryptionConfig.class, + com.google.spanner.admin.database.v1.EncryptionConfig.Builder.class); } // Construct using com.google.spanner.admin.database.v1.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(); @@ -296,9 +326,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.spanner.admin.database.v1.CommonProto.internal_static_google_spanner_admin_database_v1_EncryptionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.spanner.admin.database.v1.CommonProto + .internal_static_google_spanner_admin_database_v1_EncryptionConfig_descriptor; } @java.lang.Override @@ -317,8 +347,11 @@ public com.google.spanner.admin.database.v1.EncryptionConfig build() { @java.lang.Override public com.google.spanner.admin.database.v1.EncryptionConfig buildPartial() { - com.google.spanner.admin.database.v1.EncryptionConfig result = new com.google.spanner.admin.database.v1.EncryptionConfig(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.spanner.admin.database.v1.EncryptionConfig result = + new com.google.spanner.admin.database.v1.EncryptionConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -334,38 +367,39 @@ private void buildPartial0(com.google.spanner.admin.database.v1.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) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.admin.database.v1.EncryptionConfig) { - return mergeFrom((com.google.spanner.admin.database.v1.EncryptionConfig)other); + return mergeFrom((com.google.spanner.admin.database.v1.EncryptionConfig) other); } else { super.mergeFrom(other); return this; @@ -373,7 +407,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.admin.database.v1.EncryptionConfig other) { - if (other == com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance()) return this; + if (other == com.google.spanner.admin.database.v1.EncryptionConfig.getDefaultInstance()) + return this; if (!other.getKmsKeyName().isEmpty()) { kmsKeyName_ = other.kmsKeyName_; bitField0_ |= 0x00000001; @@ -405,17 +440,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: { - kmsKeyName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 18: + { + kmsKeyName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + 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) { @@ -425,10 +462,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object kmsKeyName_ = ""; /** + * + * *
      * The Cloud KMS key to be used for encrypting and decrypting
      * the database. Values are of the form
@@ -436,13 +476,13 @@ public Builder mergeFrom(
      * 
* * string kms_key_name = 2 [(.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; @@ -451,6 +491,8 @@ public java.lang.String getKmsKeyName() { } } /** + * + * *
      * The Cloud KMS key to be used for encrypting and decrypting
      * the database. Values are of the form
@@ -458,15 +500,14 @@ public java.lang.String getKmsKeyName() {
      * 
* * string kms_key_name = 2 [(.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 { @@ -474,6 +515,8 @@ public java.lang.String getKmsKeyName() { } } /** + * + * *
      * The Cloud KMS key to be used for encrypting and decrypting
      * the database. Values are of the form
@@ -481,18 +524,22 @@ public java.lang.String getKmsKeyName() {
      * 
* * string kms_key_name = 2 [(.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; } /** + * + * *
      * The Cloud KMS key to be used for encrypting and decrypting
      * the database. Values are of the form
@@ -500,6 +547,7 @@ public Builder setKmsKeyName(
      * 
* * string kms_key_name = 2 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearKmsKeyName() { @@ -509,6 +557,8 @@ public Builder clearKmsKeyName() { return this; } /** + * + * *
      * The Cloud KMS key to be used for encrypting and decrypting
      * the database. Values are of the form
@@ -516,21 +566,23 @@ public Builder clearKmsKeyName() {
      * 
* * string kms_key_name = 2 [(.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) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -540,12 +592,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.EncryptionConfig) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.EncryptionConfig) private static final com.google.spanner.admin.database.v1.EncryptionConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.EncryptionConfig(); } @@ -554,27 +606,27 @@ public static com.google.spanner.admin.database.v1.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; @@ -589,6 +641,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.EncryptionConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionConfigOrBuilder.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionConfigOrBuilder.java similarity index 60% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionConfigOrBuilder.java rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionConfigOrBuilder.java index 561389b55d0..f3638c5eb90 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionConfigOrBuilder.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionConfigOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/common.proto package com.google.spanner.admin.database.v1; -public interface EncryptionConfigOrBuilder extends +public interface EncryptionConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.EncryptionConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The Cloud KMS key to be used for encrypting and decrypting
    * the database. Values are of the form
@@ -15,10 +33,13 @@ public interface EncryptionConfigOrBuilder extends
    * 
* * string kms_key_name = 2 [(.google.api.resource_reference) = { ... } + * * @return The kmsKeyName. */ java.lang.String getKmsKeyName(); /** + * + * *
    * The Cloud KMS key to be used for encrypting and decrypting
    * the database. Values are of the form
@@ -26,8 +47,8 @@ public interface EncryptionConfigOrBuilder extends
    * 
* * string kms_key_name = 2 [(.google.api.resource_reference) = { ... } + * * @return The bytes for kmsKeyName. */ - com.google.protobuf.ByteString - getKmsKeyNameBytes(); + com.google.protobuf.ByteString getKmsKeyNameBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionInfo.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionInfo.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionInfo.java rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionInfo.java index 86f9789c99a..87cecf2d4a4 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionInfo.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionInfo.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/common.proto package com.google.spanner.admin.database.v1; /** + * + * *
  * Encryption information for a Cloud Spanner database or backup.
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.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.spanner.admin.database.v1.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_ = ""; @@ -26,39 +44,43 @@ private EncryptionInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new EncryptionInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.admin.database.v1.CommonProto.internal_static_google_spanner_admin_database_v1_EncryptionInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.admin.database.v1.CommonProto + .internal_static_google_spanner_admin_database_v1_EncryptionInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.CommonProto.internal_static_google_spanner_admin_database_v1_EncryptionInfo_fieldAccessorTable + return com.google.spanner.admin.database.v1.CommonProto + .internal_static_google_spanner_admin_database_v1_EncryptionInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.EncryptionInfo.class, com.google.spanner.admin.database.v1.EncryptionInfo.Builder.class); + com.google.spanner.admin.database.v1.EncryptionInfo.class, + com.google.spanner.admin.database.v1.EncryptionInfo.Builder.class); } /** + * + * *
    * Possible encryption types.
    * 
* * Protobuf enum {@code google.spanner.admin.database.v1.EncryptionInfo.Type} */ - public enum Type - implements com.google.protobuf.ProtocolMessageEnum { + public enum Type implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Encryption type was not specified, though data at rest remains encrypted.
      * 
@@ -67,6 +89,8 @@ public enum Type */ TYPE_UNSPECIFIED(0), /** + * + * *
      * The data is encrypted at rest with a key that is
      * fully managed by Google. No key version or status will be populated.
@@ -77,6 +101,8 @@ public enum Type
      */
     GOOGLE_DEFAULT_ENCRYPTION(1),
     /**
+     *
+     *
      * 
      * The data is encrypted at rest with a key that is
      * managed by the customer. The active version of the key. `kms_key_version`
@@ -90,6 +116,8 @@ public enum Type
     ;
 
     /**
+     *
+     *
      * 
      * Encryption type was not specified, though data at rest remains encrypted.
      * 
@@ -98,6 +126,8 @@ public enum Type */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The data is encrypted at rest with a key that is
      * fully managed by Google. No key version or status will be populated.
@@ -108,6 +138,8 @@ public enum Type
      */
     public static final int GOOGLE_DEFAULT_ENCRYPTION_VALUE = 1;
     /**
+     *
+     *
      * 
      * The data is encrypted at rest with a key that is
      * managed by the customer. The active version of the key. `kms_key_version`
@@ -118,7 +150,6 @@ public enum Type
      */
     public static final int CUSTOMER_MANAGED_ENCRYPTION_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -143,49 +174,51 @@ public static Type valueOf(int value) {
      */
     public static Type forNumber(int value) {
       switch (value) {
-        case 0: return TYPE_UNSPECIFIED;
-        case 1: return GOOGLE_DEFAULT_ENCRYPTION;
-        case 2: return CUSTOMER_MANAGED_ENCRYPTION;
-        default: return null;
+        case 0:
+          return 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<
-        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.spanner.admin.database.v1.EncryptionInfo.getDescriptor().getEnumTypes().get(0);
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+      return com.google.spanner.admin.database.v1.EncryptionInfo.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;
@@ -205,39 +238,58 @@ private Type(int value) {
   public static final int ENCRYPTION_TYPE_FIELD_NUMBER = 3;
   private int encryptionType_ = 0;
   /**
+   *
+   *
    * 
    * Output only. The type of encryption.
    * 
* - * .google.spanner.admin.database.v1.EncryptionInfo.Type encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.EncryptionInfo.Type 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.
    * 
* - * .google.spanner.admin.database.v1.EncryptionInfo.Type encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.EncryptionInfo.Type encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The encryptionType. */ - @java.lang.Override public com.google.spanner.admin.database.v1.EncryptionInfo.Type getEncryptionType() { - com.google.spanner.admin.database.v1.EncryptionInfo.Type result = com.google.spanner.admin.database.v1.EncryptionInfo.Type.forNumber(encryptionType_); - return result == null ? com.google.spanner.admin.database.v1.EncryptionInfo.Type.UNRECOGNIZED : result; + @java.lang.Override + public com.google.spanner.admin.database.v1.EncryptionInfo.Type getEncryptionType() { + com.google.spanner.admin.database.v1.EncryptionInfo.Type result = + com.google.spanner.admin.database.v1.EncryptionInfo.Type.forNumber(encryptionType_); + return result == null + ? com.google.spanner.admin.database.v1.EncryptionInfo.Type.UNRECOGNIZED + : result; } public static final int ENCRYPTION_STATUS_FIELD_NUMBER = 4; private com.google.rpc.Status encryptionStatus_; /** + * + * *
    * Output only. If present, the status of a recent encrypt/decrypt call on underlying data
    * for this database or backup. Regardless of status, data is always encrypted
    * at rest.
    * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the encryptionStatus field is set. */ @java.lang.Override @@ -245,43 +297,60 @@ public boolean hasEncryptionStatus() { return encryptionStatus_ != null; } /** + * + * *
    * Output only. If present, the status of a recent encrypt/decrypt call on underlying data
    * for this database or backup. Regardless of status, data is always encrypted
    * at rest.
    * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .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. If present, the status of a recent encrypt/decrypt call on underlying data
    * for this database or backup. Regardless of status, data is always encrypted
    * at rest.
    * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .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. A Cloud KMS key version that is being used to protect the database or
    * backup.
    * 
* - * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The kmsKeyVersion. */ @java.lang.Override @@ -290,30 +359,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. A Cloud KMS key version that is being used to protect the database or
    * backup.
    * 
* - * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * 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 { @@ -322,6 +393,7 @@ public java.lang.String getKmsKeyVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -333,12 +405,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.spanner.admin.database.v1.EncryptionInfo.Type.TYPE_UNSPECIFIED.getNumber()) { + if (encryptionType_ + != com.google.spanner.admin.database.v1.EncryptionInfo.Type.TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(3, encryptionType_); } if (encryptionStatus_ != null) { @@ -356,13 +428,12 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, kmsKeyVersion_); } - if (encryptionType_ != com.google.spanner.admin.database.v1.EncryptionInfo.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, encryptionType_); + if (encryptionType_ + != com.google.spanner.admin.database.v1.EncryptionInfo.Type.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; @@ -372,21 +443,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.spanner.admin.database.v1.EncryptionInfo)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.EncryptionInfo other = (com.google.spanner.admin.database.v1.EncryptionInfo) obj; + com.google.spanner.admin.database.v1.EncryptionInfo other = + (com.google.spanner.admin.database.v1.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; } @@ -412,129 +482,135 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.EncryptionInfo parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.EncryptionInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.EncryptionInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.EncryptionInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.spanner.admin.database.v1.EncryptionInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.EncryptionInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.spanner.admin.database.v1.EncryptionInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.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.spanner.admin.database.v1.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.spanner.admin.database.v1.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 Cloud Spanner database or backup.
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.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.spanner.admin.database.v1.EncryptionInfo) com.google.spanner.admin.database.v1.EncryptionInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.admin.database.v1.CommonProto.internal_static_google_spanner_admin_database_v1_EncryptionInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.admin.database.v1.CommonProto + .internal_static_google_spanner_admin_database_v1_EncryptionInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.CommonProto.internal_static_google_spanner_admin_database_v1_EncryptionInfo_fieldAccessorTable + return com.google.spanner.admin.database.v1.CommonProto + .internal_static_google_spanner_admin_database_v1_EncryptionInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.EncryptionInfo.class, com.google.spanner.admin.database.v1.EncryptionInfo.Builder.class); + com.google.spanner.admin.database.v1.EncryptionInfo.class, + com.google.spanner.admin.database.v1.EncryptionInfo.Builder.class); } // Construct using com.google.spanner.admin.database.v1.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(); @@ -550,9 +626,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.spanner.admin.database.v1.CommonProto.internal_static_google_spanner_admin_database_v1_EncryptionInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.spanner.admin.database.v1.CommonProto + .internal_static_google_spanner_admin_database_v1_EncryptionInfo_descriptor; } @java.lang.Override @@ -571,8 +647,11 @@ public com.google.spanner.admin.database.v1.EncryptionInfo build() { @java.lang.Override public com.google.spanner.admin.database.v1.EncryptionInfo buildPartial() { - com.google.spanner.admin.database.v1.EncryptionInfo result = new com.google.spanner.admin.database.v1.EncryptionInfo(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.spanner.admin.database.v1.EncryptionInfo result = + new com.google.spanner.admin.database.v1.EncryptionInfo(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -583,9 +662,8 @@ private void buildPartial0(com.google.spanner.admin.database.v1.EncryptionInfo r 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_; @@ -596,38 +674,39 @@ private void buildPartial0(com.google.spanner.admin.database.v1.EncryptionInfo 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.spanner.admin.database.v1.EncryptionInfo) { - return mergeFrom((com.google.spanner.admin.database.v1.EncryptionInfo)other); + return mergeFrom((com.google.spanner.admin.database.v1.EncryptionInfo) other); } else { super.mergeFrom(other); return this; @@ -635,7 +714,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.admin.database.v1.EncryptionInfo other) { - if (other == com.google.spanner.admin.database.v1.EncryptionInfo.getDefaultInstance()) return this; + if (other == com.google.spanner.admin.database.v1.EncryptionInfo.getDefaultInstance()) + return this; if (other.encryptionType_ != 0) { setEncryptionTypeValue(other.getEncryptionTypeValue()); } @@ -673,29 +753,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) { @@ -705,26 +788,38 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int encryptionType_ = 0; /** + * + * *
      * Output only. The type of encryption.
      * 
* - * .google.spanner.admin.database.v1.EncryptionInfo.Type encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.EncryptionInfo.Type 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.
      * 
* - * .google.spanner.admin.database.v1.EncryptionInfo.Type encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.EncryptionInfo.Type 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. */ @@ -735,28 +830,42 @@ public Builder setEncryptionTypeValue(int value) { return this; } /** + * + * *
      * Output only. The type of encryption.
      * 
* - * .google.spanner.admin.database.v1.EncryptionInfo.Type encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.EncryptionInfo.Type encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The encryptionType. */ @java.lang.Override public com.google.spanner.admin.database.v1.EncryptionInfo.Type getEncryptionType() { - com.google.spanner.admin.database.v1.EncryptionInfo.Type result = com.google.spanner.admin.database.v1.EncryptionInfo.Type.forNumber(encryptionType_); - return result == null ? com.google.spanner.admin.database.v1.EncryptionInfo.Type.UNRECOGNIZED : result; + com.google.spanner.admin.database.v1.EncryptionInfo.Type result = + com.google.spanner.admin.database.v1.EncryptionInfo.Type.forNumber(encryptionType_); + return result == null + ? com.google.spanner.admin.database.v1.EncryptionInfo.Type.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. The type of encryption.
      * 
* - * .google.spanner.admin.database.v1.EncryptionInfo.Type encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.EncryptionInfo.Type 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.spanner.admin.database.v1.EncryptionInfo.Type value) { + public Builder setEncryptionType( + com.google.spanner.admin.database.v1.EncryptionInfo.Type value) { if (value == null) { throw new NullPointerException(); } @@ -766,11 +875,16 @@ public Builder setEncryptionType(com.google.spanner.admin.database.v1.Encryption return this; } /** + * + * *
      * Output only. The type of encryption.
      * 
* - * .google.spanner.admin.database.v1.EncryptionInfo.Type encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.EncryptionInfo.Type encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearEncryptionType() { @@ -782,45 +896,59 @@ 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. If present, the status of a recent encrypt/decrypt call on underlying data
      * for this database or backup. Regardless of status, data is always encrypted
      * at rest.
      * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .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. If present, the status of a recent encrypt/decrypt call on underlying data
      * for this database or backup. Regardless of status, data is always encrypted
      * at rest.
      * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .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. If present, the status of a recent encrypt/decrypt call on underlying data
      * for this database or backup. Regardless of status, data is always encrypted
      * at rest.
      * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setEncryptionStatus(com.google.rpc.Status value) { if (encryptionStatusBuilder_ == null) { @@ -836,16 +964,18 @@ public Builder setEncryptionStatus(com.google.rpc.Status value) { return this; } /** + * + * *
      * Output only. If present, the status of a recent encrypt/decrypt call on underlying data
      * for this database or backup. Regardless of status, data is always encrypted
      * at rest.
      * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .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 { @@ -856,19 +986,22 @@ public Builder setEncryptionStatus( return this; } /** + * + * *
      * Output only. If present, the status of a recent encrypt/decrypt call on underlying data
      * for this database or backup. Regardless of status, data is always encrypted
      * at rest.
      * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .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; @@ -881,13 +1014,16 @@ public Builder mergeEncryptionStatus(com.google.rpc.Status value) { return this; } /** + * + * *
      * Output only. If present, the status of a recent encrypt/decrypt call on underlying data
      * for this database or backup. Regardless of status, data is always encrypted
      * at rest.
      * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearEncryptionStatus() { bitField0_ = (bitField0_ & ~0x00000002); @@ -900,13 +1036,16 @@ public Builder clearEncryptionStatus() { return this; } /** + * + * *
      * Output only. If present, the status of a recent encrypt/decrypt call on underlying data
      * for this database or backup. Regardless of status, data is always encrypted
      * at rest.
      * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.rpc.Status.Builder getEncryptionStatusBuilder() { bitField0_ |= 0x00000002; @@ -914,40 +1053,48 @@ public com.google.rpc.Status.Builder getEncryptionStatusBuilder() { return getEncryptionStatusFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. If present, the status of a recent encrypt/decrypt call on underlying data
      * for this database or backup. Regardless of status, data is always encrypted
      * at rest.
      * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .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. If present, the status of a recent encrypt/decrypt call on underlying data
      * for this database or backup. Regardless of status, data is always encrypted
      * at rest.
      * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .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_; @@ -955,19 +1102,23 @@ public com.google.rpc.StatusOrBuilder getEncryptionStatusOrBuilder() { private java.lang.Object kmsKeyVersion_ = ""; /** + * + * *
      * Output only. A Cloud KMS key version that is being used to protect the database or
      * backup.
      * 
* - * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * 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; @@ -976,21 +1127,24 @@ public java.lang.String getKmsKeyVersion() { } } /** + * + * *
      * Output only. A Cloud KMS key version that is being used to protect the database or
      * backup.
      * 
* - * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * 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 { @@ -998,30 +1152,41 @@ public java.lang.String getKmsKeyVersion() { } } /** + * + * *
      * Output only. A Cloud KMS key version that is being used to protect the database or
      * backup.
      * 
* - * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * 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. A Cloud KMS key version that is being used to protect the database or
      * backup.
      * 
* - * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearKmsKeyVersion() { @@ -1031,27 +1196,33 @@ public Builder clearKmsKeyVersion() { return this; } /** + * + * *
      * Output only. A Cloud KMS key version that is being used to protect the database or
      * backup.
      * 
* - * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * 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); } @@ -1061,12 +1232,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.EncryptionInfo) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.EncryptionInfo) private static final com.google.spanner.admin.database.v1.EncryptionInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.EncryptionInfo(); } @@ -1075,27 +1246,27 @@ public static com.google.spanner.admin.database.v1.EncryptionInfo getDefaultInst 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; @@ -1110,6 +1281,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.EncryptionInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionInfoOrBuilder.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionInfoOrBuilder.java similarity index 58% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionInfoOrBuilder.java rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionInfoOrBuilder.java index dc087afb67a..279ae23ffc2 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionInfoOrBuilder.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/EncryptionInfoOrBuilder.java @@ -1,83 +1,129 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/common.proto package com.google.spanner.admin.database.v1; -public interface EncryptionInfoOrBuilder extends +public interface EncryptionInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.EncryptionInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The type of encryption.
    * 
* - * .google.spanner.admin.database.v1.EncryptionInfo.Type encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.EncryptionInfo.Type 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.
    * 
* - * .google.spanner.admin.database.v1.EncryptionInfo.Type encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.database.v1.EncryptionInfo.Type encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The encryptionType. */ com.google.spanner.admin.database.v1.EncryptionInfo.Type getEncryptionType(); /** + * + * *
    * Output only. If present, the status of a recent encrypt/decrypt call on underlying data
    * for this database or backup. Regardless of status, data is always encrypted
    * at rest.
    * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the encryptionStatus field is set. */ boolean hasEncryptionStatus(); /** + * + * *
    * Output only. If present, the status of a recent encrypt/decrypt call on underlying data
    * for this database or backup. Regardless of status, data is always encrypted
    * at rest.
    * 
* - * .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. If present, the status of a recent encrypt/decrypt call on underlying data
    * for this database or backup. Regardless of status, data is always encrypted
    * at rest.
    * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.rpc.StatusOrBuilder getEncryptionStatusOrBuilder(); /** + * + * *
    * Output only. A Cloud KMS key version that is being used to protect the database or
    * backup.
    * 
* - * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The kmsKeyVersion. */ java.lang.String getKmsKeyVersion(); /** + * + * *
    * Output only. A Cloud KMS key version that is being used to protect the database or
    * backup.
    * 
* - * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * 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/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetBackupRequest.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetBackupRequest.java similarity index 62% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetBackupRequest.java rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetBackupRequest.java index e97cd55d1df..7f3cad81b14 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetBackupRequest.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetBackupRequest.java @@ -1,64 +1,89 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/backup.proto package com.google.spanner.admin.database.v1; /** + * + * *
  * The request for [GetBackup][google.spanner.admin.database.v1.DatabaseAdmin.GetBackup].
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.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.spanner.admin.database.v1.GetBackupRequest) GetBackupRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetBackupRequest.newBuilder() to construct. private GetBackupRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetBackupRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetBackupRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_GetBackupRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.admin.database.v1.BackupProto + .internal_static_google_spanner_admin_database_v1_GetBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_GetBackupRequest_fieldAccessorTable + return com.google.spanner.admin.database.v1.BackupProto + .internal_static_google_spanner_admin_database_v1_GetBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.GetBackupRequest.class, com.google.spanner.admin.database.v1.GetBackupRequest.Builder.class); + com.google.spanner.admin.database.v1.GetBackupRequest.class, + com.google.spanner.admin.database.v1.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>/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 @@ -67,31 +92,33 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. Name of the backup.
    * Values are of the form
    * `projects/<project>/instances/<instance>/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 { @@ -100,6 +127,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -111,8 +139,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -136,15 +163,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.database.v1.GetBackupRequest)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.GetBackupRequest other = (com.google.spanner.admin.database.v1.GetBackupRequest) obj; + com.google.spanner.admin.database.v1.GetBackupRequest other = + (com.google.spanner.admin.database.v1.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; } @@ -164,129 +191,136 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.GetBackupRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.GetBackupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.GetBackupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.GetBackupRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.spanner.admin.database.v1.GetBackupRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.GetBackupRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.spanner.admin.database.v1.GetBackupRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.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.spanner.admin.database.v1.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.spanner.admin.database.v1.GetBackupRequest prototype) { + + public static Builder newBuilder( + com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.DatabaseAdmin.GetBackup].
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.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.spanner.admin.database.v1.GetBackupRequest) com.google.spanner.admin.database.v1.GetBackupRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_GetBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.admin.database.v1.BackupProto + .internal_static_google_spanner_admin_database_v1_GetBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_GetBackupRequest_fieldAccessorTable + return com.google.spanner.admin.database.v1.BackupProto + .internal_static_google_spanner_admin_database_v1_GetBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.GetBackupRequest.class, com.google.spanner.admin.database.v1.GetBackupRequest.Builder.class); + com.google.spanner.admin.database.v1.GetBackupRequest.class, + com.google.spanner.admin.database.v1.GetBackupRequest.Builder.class); } // Construct using com.google.spanner.admin.database.v1.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(); @@ -296,9 +330,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_GetBackupRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.spanner.admin.database.v1.BackupProto + .internal_static_google_spanner_admin_database_v1_GetBackupRequest_descriptor; } @java.lang.Override @@ -317,8 +351,11 @@ public com.google.spanner.admin.database.v1.GetBackupRequest build() { @java.lang.Override public com.google.spanner.admin.database.v1.GetBackupRequest buildPartial() { - com.google.spanner.admin.database.v1.GetBackupRequest result = new com.google.spanner.admin.database.v1.GetBackupRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.spanner.admin.database.v1.GetBackupRequest result = + new com.google.spanner.admin.database.v1.GetBackupRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -334,38 +371,39 @@ private void buildPartial0(com.google.spanner.admin.database.v1.GetBackupRequest public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.admin.database.v1.GetBackupRequest) { - return mergeFrom((com.google.spanner.admin.database.v1.GetBackupRequest)other); + return mergeFrom((com.google.spanner.admin.database.v1.GetBackupRequest) other); } else { super.mergeFrom(other); return this; @@ -373,7 +411,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.admin.database.v1.GetBackupRequest other) { - if (other == com.google.spanner.admin.database.v1.GetBackupRequest.getDefaultInstance()) return this; + if (other == com.google.spanner.admin.database.v1.GetBackupRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -405,17 +444,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) { @@ -425,24 +466,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>/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; @@ -451,22 +497,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the backup.
      * Values are of the form
      * `projects/<project>/instances/<instance>/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 { @@ -474,32 +523,43 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the backup.
      * Values are of the form
      * `projects/<project>/instances/<instance>/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>/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() { @@ -509,28 +569,34 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Name of the backup.
      * Values are of the form
      * `projects/<project>/instances/<instance>/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); } @@ -540,12 +606,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.GetBackupRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.GetBackupRequest) private static final com.google.spanner.admin.database.v1.GetBackupRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.GetBackupRequest(); } @@ -554,27 +620,27 @@ public static com.google.spanner.admin.database.v1.GetBackupRequest getDefaultIn 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; @@ -589,6 +655,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.GetBackupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetBackupRequestOrBuilder.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetBackupRequestOrBuilder.java new file mode 100644 index 00000000000..d27620cd0fc --- /dev/null +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetBackupRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/spanner/admin/database/v1/backup.proto + +package com.google.spanner.admin.database.v1; + +public interface GetBackupRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.GetBackupRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Name of the backup.
+   * Values are of the form
+   * `projects/<project>/instances/<instance>/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>/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/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlRequest.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlRequest.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlRequest.java rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlRequest.java index eab3f4f8c6d..528e3bb5d78 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlRequest.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlRequest.java @@ -1,64 +1,89 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/spanner_database_admin.proto package com.google.spanner.admin.database.v1; /** + * + * *
  * The request for [GetDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.GetDatabaseDdl].
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.GetDatabaseDdlRequest} */ -public final class GetDatabaseDdlRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetDatabaseDdlRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.GetDatabaseDdlRequest) GetDatabaseDdlRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetDatabaseDdlRequest.newBuilder() to construct. private GetDatabaseDdlRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetDatabaseDdlRequest() { database_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetDatabaseDdlRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_GetDatabaseDdlRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto + .internal_static_google_spanner_admin_database_v1_GetDatabaseDdlRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_GetDatabaseDdlRequest_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto + .internal_static_google_spanner_admin_database_v1_GetDatabaseDdlRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.GetDatabaseDdlRequest.class, com.google.spanner.admin.database.v1.GetDatabaseDdlRequest.Builder.class); + com.google.spanner.admin.database.v1.GetDatabaseDdlRequest.class, + com.google.spanner.admin.database.v1.GetDatabaseDdlRequest.Builder.class); } public static final int DATABASE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object database_ = ""; /** + * + * *
    * Required. The database whose schema we wish to get.
    * Values are of the form
    * `projects/<project>/instances/<instance>/databases/<database>`
    * 
* - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The database. */ @java.lang.Override @@ -67,31 +92,33 @@ public java.lang.String getDatabase() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; } } /** + * + * *
    * Required. The database whose schema we wish to get.
    * Values are of the form
    * `projects/<project>/instances/<instance>/databases/<database>`
    * 
* - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for database. */ @java.lang.Override - public com.google.protobuf.ByteString - getDatabaseBytes() { + public com.google.protobuf.ByteString getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); database_ = b; return b; } else { @@ -100,6 +127,7 @@ public java.lang.String getDatabase() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -111,8 +139,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(database_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, database_); } @@ -136,15 +163,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.database.v1.GetDatabaseDdlRequest)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.GetDatabaseDdlRequest other = (com.google.spanner.admin.database.v1.GetDatabaseDdlRequest) obj; + com.google.spanner.admin.database.v1.GetDatabaseDdlRequest other = + (com.google.spanner.admin.database.v1.GetDatabaseDdlRequest) obj; - if (!getDatabase() - .equals(other.getDatabase())) return false; + if (!getDatabase().equals(other.getDatabase())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -164,129 +191,136 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.GetDatabaseDdlRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.GetDatabaseDdlRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.admin.database.v1.GetDatabaseDdlRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.GetDatabaseDdlRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.admin.database.v1.GetDatabaseDdlRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.GetDatabaseDdlRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.GetDatabaseDdlRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.spanner.admin.database.v1.GetDatabaseDdlRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.GetDatabaseDdlRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.GetDatabaseDdlRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.spanner.admin.database.v1.GetDatabaseDdlRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.GetDatabaseDdlRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.spanner.admin.database.v1.GetDatabaseDdlRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.GetDatabaseDdlRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.admin.database.v1.GetDatabaseDdlRequest prototype) { + + public static Builder newBuilder( + com.google.spanner.admin.database.v1.GetDatabaseDdlRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [GetDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.GetDatabaseDdl].
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.GetDatabaseDdlRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.GetDatabaseDdlRequest) com.google.spanner.admin.database.v1.GetDatabaseDdlRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_GetDatabaseDdlRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto + .internal_static_google_spanner_admin_database_v1_GetDatabaseDdlRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_GetDatabaseDdlRequest_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto + .internal_static_google_spanner_admin_database_v1_GetDatabaseDdlRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.GetDatabaseDdlRequest.class, com.google.spanner.admin.database.v1.GetDatabaseDdlRequest.Builder.class); + com.google.spanner.admin.database.v1.GetDatabaseDdlRequest.class, + com.google.spanner.admin.database.v1.GetDatabaseDdlRequest.Builder.class); } // Construct using com.google.spanner.admin.database.v1.GetDatabaseDdlRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -296,9 +330,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_GetDatabaseDdlRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto + .internal_static_google_spanner_admin_database_v1_GetDatabaseDdlRequest_descriptor; } @java.lang.Override @@ -317,8 +351,11 @@ public com.google.spanner.admin.database.v1.GetDatabaseDdlRequest build() { @java.lang.Override public com.google.spanner.admin.database.v1.GetDatabaseDdlRequest buildPartial() { - com.google.spanner.admin.database.v1.GetDatabaseDdlRequest result = new com.google.spanner.admin.database.v1.GetDatabaseDdlRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.spanner.admin.database.v1.GetDatabaseDdlRequest result = + new com.google.spanner.admin.database.v1.GetDatabaseDdlRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -334,38 +371,39 @@ private void buildPartial0(com.google.spanner.admin.database.v1.GetDatabaseDdlRe public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.admin.database.v1.GetDatabaseDdlRequest) { - return mergeFrom((com.google.spanner.admin.database.v1.GetDatabaseDdlRequest)other); + return mergeFrom((com.google.spanner.admin.database.v1.GetDatabaseDdlRequest) other); } else { super.mergeFrom(other); return this; @@ -373,7 +411,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.admin.database.v1.GetDatabaseDdlRequest other) { - if (other == com.google.spanner.admin.database.v1.GetDatabaseDdlRequest.getDefaultInstance()) return this; + if (other == com.google.spanner.admin.database.v1.GetDatabaseDdlRequest.getDefaultInstance()) + return this; if (!other.getDatabase().isEmpty()) { database_ = other.database_; bitField0_ |= 0x00000001; @@ -405,17 +444,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - database_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + database_ = 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) { @@ -425,24 +466,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object database_ = ""; /** + * + * *
      * Required. The database whose schema we wish to get.
      * Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>`
      * 
* - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The database. */ public java.lang.String getDatabase() { java.lang.Object ref = database_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; @@ -451,22 +497,25 @@ public java.lang.String getDatabase() { } } /** + * + * *
      * Required. The database whose schema we wish to get.
      * Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>`
      * 
* - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for database. */ - public com.google.protobuf.ByteString - getDatabaseBytes() { + public com.google.protobuf.ByteString getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); database_ = b; return b; } else { @@ -474,32 +523,43 @@ public java.lang.String getDatabase() { } } /** + * + * *
      * Required. The database whose schema we wish to get.
      * Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>`
      * 
* - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The database to set. * @return This builder for chaining. */ - public Builder setDatabase( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDatabase(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } database_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The database whose schema we wish to get.
      * Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>`
      * 
* - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearDatabase() { @@ -509,28 +569,34 @@ public Builder clearDatabase() { return this; } /** + * + * *
      * Required. The database whose schema we wish to get.
      * Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>`
      * 
* - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for database to set. * @return This builder for chaining. */ - public Builder setDatabaseBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); database_ = 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); } @@ -540,12 +606,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.GetDatabaseDdlRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.GetDatabaseDdlRequest) private static final com.google.spanner.admin.database.v1.GetDatabaseDdlRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.GetDatabaseDdlRequest(); } @@ -554,27 +620,27 @@ public static com.google.spanner.admin.database.v1.GetDatabaseDdlRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetDatabaseDdlRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetDatabaseDdlRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -589,6 +655,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.GetDatabaseDdlRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlRequestOrBuilder.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlRequestOrBuilder.java new file mode 100644 index 00000000000..2469460dc3e --- /dev/null +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/spanner/admin/database/v1/spanner_database_admin.proto + +package com.google.spanner.admin.database.v1; + +public interface GetDatabaseDdlRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.GetDatabaseDdlRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The database whose schema we wish to get.
+   * Values are of the form
+   * `projects/<project>/instances/<instance>/databases/<database>`
+   * 
+ * + * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The database. + */ + java.lang.String getDatabase(); + /** + * + * + *
+   * Required. The database whose schema we wish to get.
+   * Values are of the form
+   * `projects/<project>/instances/<instance>/databases/<database>`
+   * 
+ * + * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for database. + */ + com.google.protobuf.ByteString getDatabaseBytes(); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlResponse.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlResponse.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlResponse.java rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlResponse.java index 55763a680df..c4ad5e76da3 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlResponse.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlResponse.java @@ -1,88 +1,116 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/spanner_database_admin.proto package com.google.spanner.admin.database.v1; /** + * + * *
  * The response for [GetDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.GetDatabaseDdl].
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.GetDatabaseDdlResponse} */ -public final class GetDatabaseDdlResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetDatabaseDdlResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.GetDatabaseDdlResponse) GetDatabaseDdlResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetDatabaseDdlResponse.newBuilder() to construct. private GetDatabaseDdlResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetDatabaseDdlResponse() { statements_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetDatabaseDdlResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_GetDatabaseDdlResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto + .internal_static_google_spanner_admin_database_v1_GetDatabaseDdlResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_GetDatabaseDdlResponse_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto + .internal_static_google_spanner_admin_database_v1_GetDatabaseDdlResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.GetDatabaseDdlResponse.class, com.google.spanner.admin.database.v1.GetDatabaseDdlResponse.Builder.class); + com.google.spanner.admin.database.v1.GetDatabaseDdlResponse.class, + com.google.spanner.admin.database.v1.GetDatabaseDdlResponse.Builder.class); } public static final int STATEMENTS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringList statements_; /** + * + * *
    * A list of formatted DDL statements defining the schema of the database
    * specified in the request.
    * 
* * repeated string statements = 1; + * * @return A list containing the statements. */ - public com.google.protobuf.ProtocolStringList - getStatementsList() { + public com.google.protobuf.ProtocolStringList getStatementsList() { return statements_; } /** + * + * *
    * A list of formatted DDL statements defining the schema of the database
    * specified in the request.
    * 
* * repeated string statements = 1; + * * @return The count of statements. */ public int getStatementsCount() { return statements_.size(); } /** + * + * *
    * A list of formatted DDL statements defining the schema of the database
    * specified in the request.
    * 
* * repeated string statements = 1; + * * @param index The index of the element to return. * @return The statements at the given index. */ @@ -90,21 +118,24 @@ public java.lang.String getStatements(int index) { return statements_.get(index); } /** + * + * *
    * A list of formatted DDL statements defining the schema of the database
    * specified in the request.
    * 
* * repeated string statements = 1; + * * @param index The index of the value to return. * @return The bytes of the statements at the given index. */ - public com.google.protobuf.ByteString - getStatementsBytes(int index) { + public com.google.protobuf.ByteString getStatementsBytes(int index) { return statements_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -116,8 +147,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 < statements_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, statements_.getRaw(i)); } @@ -146,15 +176,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.spanner.admin.database.v1.GetDatabaseDdlResponse)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.GetDatabaseDdlResponse other = (com.google.spanner.admin.database.v1.GetDatabaseDdlResponse) obj; + com.google.spanner.admin.database.v1.GetDatabaseDdlResponse other = + (com.google.spanner.admin.database.v1.GetDatabaseDdlResponse) obj; - if (!getStatementsList() - .equals(other.getStatementsList())) return false; + if (!getStatementsList().equals(other.getStatementsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -176,129 +206,136 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.GetDatabaseDdlResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.GetDatabaseDdlResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.admin.database.v1.GetDatabaseDdlResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.GetDatabaseDdlResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.admin.database.v1.GetDatabaseDdlResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.GetDatabaseDdlResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.GetDatabaseDdlResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.spanner.admin.database.v1.GetDatabaseDdlResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.GetDatabaseDdlResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.GetDatabaseDdlResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.spanner.admin.database.v1.GetDatabaseDdlResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.GetDatabaseDdlResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.spanner.admin.database.v1.GetDatabaseDdlResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.GetDatabaseDdlResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.admin.database.v1.GetDatabaseDdlResponse prototype) { + + public static Builder newBuilder( + com.google.spanner.admin.database.v1.GetDatabaseDdlResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [GetDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.GetDatabaseDdl].
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.GetDatabaseDdlResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.GetDatabaseDdlResponse) com.google.spanner.admin.database.v1.GetDatabaseDdlResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_GetDatabaseDdlResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto + .internal_static_google_spanner_admin_database_v1_GetDatabaseDdlResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_GetDatabaseDdlResponse_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto + .internal_static_google_spanner_admin_database_v1_GetDatabaseDdlResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.GetDatabaseDdlResponse.class, com.google.spanner.admin.database.v1.GetDatabaseDdlResponse.Builder.class); + com.google.spanner.admin.database.v1.GetDatabaseDdlResponse.class, + com.google.spanner.admin.database.v1.GetDatabaseDdlResponse.Builder.class); } // Construct using com.google.spanner.admin.database.v1.GetDatabaseDdlResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -309,9 +346,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_GetDatabaseDdlResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto + .internal_static_google_spanner_admin_database_v1_GetDatabaseDdlResponse_descriptor; } @java.lang.Override @@ -330,14 +367,18 @@ public com.google.spanner.admin.database.v1.GetDatabaseDdlResponse build() { @java.lang.Override public com.google.spanner.admin.database.v1.GetDatabaseDdlResponse buildPartial() { - com.google.spanner.admin.database.v1.GetDatabaseDdlResponse result = new com.google.spanner.admin.database.v1.GetDatabaseDdlResponse(this); + com.google.spanner.admin.database.v1.GetDatabaseDdlResponse result = + new com.google.spanner.admin.database.v1.GetDatabaseDdlResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.spanner.admin.database.v1.GetDatabaseDdlResponse result) { + private void buildPartialRepeatedFields( + com.google.spanner.admin.database.v1.GetDatabaseDdlResponse result) { if (((bitField0_ & 0x00000001) != 0)) { statements_ = statements_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); @@ -353,38 +394,39 @@ private void buildPartial0(com.google.spanner.admin.database.v1.GetDatabaseDdlRe public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.admin.database.v1.GetDatabaseDdlResponse) { - return mergeFrom((com.google.spanner.admin.database.v1.GetDatabaseDdlResponse)other); + return mergeFrom((com.google.spanner.admin.database.v1.GetDatabaseDdlResponse) other); } else { super.mergeFrom(other); return this; @@ -392,7 +434,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.admin.database.v1.GetDatabaseDdlResponse other) { - if (other == com.google.spanner.admin.database.v1.GetDatabaseDdlResponse.getDefaultInstance()) return this; + if (other == com.google.spanner.admin.database.v1.GetDatabaseDdlResponse.getDefaultInstance()) + return this; if (!other.statements_.isEmpty()) { if (statements_.isEmpty()) { statements_ = other.statements_; @@ -429,18 +472,20 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - ensureStatementsIsMutable(); - statements_.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(); + ensureStatementsIsMutable(); + statements_.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) { @@ -450,47 +495,58 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private com.google.protobuf.LazyStringList statements_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList statements_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureStatementsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { statements_ = new com.google.protobuf.LazyStringArrayList(statements_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * A list of formatted DDL statements defining the schema of the database
      * specified in the request.
      * 
* * repeated string statements = 1; + * * @return A list containing the statements. */ - public com.google.protobuf.ProtocolStringList - getStatementsList() { + public com.google.protobuf.ProtocolStringList getStatementsList() { return statements_.getUnmodifiableView(); } /** + * + * *
      * A list of formatted DDL statements defining the schema of the database
      * specified in the request.
      * 
* * repeated string statements = 1; + * * @return The count of statements. */ public int getStatementsCount() { return statements_.size(); } /** + * + * *
      * A list of formatted DDL statements defining the schema of the database
      * specified in the request.
      * 
* * repeated string statements = 1; + * * @param index The index of the element to return. * @return The statements at the given index. */ @@ -498,81 +554,95 @@ public java.lang.String getStatements(int index) { return statements_.get(index); } /** + * + * *
      * A list of formatted DDL statements defining the schema of the database
      * specified in the request.
      * 
* * repeated string statements = 1; + * * @param index The index of the value to return. * @return The bytes of the statements at the given index. */ - public com.google.protobuf.ByteString - getStatementsBytes(int index) { + public com.google.protobuf.ByteString getStatementsBytes(int index) { return statements_.getByteString(index); } /** + * + * *
      * A list of formatted DDL statements defining the schema of the database
      * specified in the request.
      * 
* * repeated string statements = 1; + * * @param index The index to set the value at. * @param value The statements to set. * @return This builder for chaining. */ - public Builder setStatements( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setStatements(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureStatementsIsMutable(); statements_.set(index, value); onChanged(); return this; } /** + * + * *
      * A list of formatted DDL statements defining the schema of the database
      * specified in the request.
      * 
* * repeated string statements = 1; + * * @param value The statements to add. * @return This builder for chaining. */ - public Builder addStatements( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addStatements(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureStatementsIsMutable(); statements_.add(value); onChanged(); return this; } /** + * + * *
      * A list of formatted DDL statements defining the schema of the database
      * specified in the request.
      * 
* * repeated string statements = 1; + * * @param values The statements to add. * @return This builder for chaining. */ - public Builder addAllStatements( - java.lang.Iterable values) { + public Builder addAllStatements(java.lang.Iterable values) { ensureStatementsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, statements_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, statements_); onChanged(); return this; } /** + * + * *
      * A list of formatted DDL statements defining the schema of the database
      * specified in the request.
      * 
* * repeated string statements = 1; + * * @return This builder for chaining. */ public Builder clearStatements() { @@ -582,27 +652,31 @@ public Builder clearStatements() { return this; } /** + * + * *
      * A list of formatted DDL statements defining the schema of the database
      * specified in the request.
      * 
* * repeated string statements = 1; + * * @param value The bytes of the statements to add. * @return This builder for chaining. */ - public Builder addStatementsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addStatementsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureStatementsIsMutable(); statements_.add(value); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -612,12 +686,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.GetDatabaseDdlResponse) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.GetDatabaseDdlResponse) private static final com.google.spanner.admin.database.v1.GetDatabaseDdlResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.GetDatabaseDdlResponse(); } @@ -626,27 +700,27 @@ public static com.google.spanner.admin.database.v1.GetDatabaseDdlResponse getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetDatabaseDdlResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetDatabaseDdlResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,6 +735,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.GetDatabaseDdlResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlResponseOrBuilder.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlResponseOrBuilder.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlResponseOrBuilder.java rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlResponseOrBuilder.java index c014b59441c..28f7fb2cc5c 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlResponseOrBuilder.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlResponseOrBuilder.java @@ -1,54 +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/spanner/admin/database/v1/spanner_database_admin.proto package com.google.spanner.admin.database.v1; -public interface GetDatabaseDdlResponseOrBuilder extends +public interface GetDatabaseDdlResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.GetDatabaseDdlResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A list of formatted DDL statements defining the schema of the database
    * specified in the request.
    * 
* * repeated string statements = 1; + * * @return A list containing the statements. */ - java.util.List - getStatementsList(); + java.util.List getStatementsList(); /** + * + * *
    * A list of formatted DDL statements defining the schema of the database
    * specified in the request.
    * 
* * repeated string statements = 1; + * * @return The count of statements. */ int getStatementsCount(); /** + * + * *
    * A list of formatted DDL statements defining the schema of the database
    * specified in the request.
    * 
* * repeated string statements = 1; + * * @param index The index of the element to return. * @return The statements at the given index. */ java.lang.String getStatements(int index); /** + * + * *
    * A list of formatted DDL statements defining the schema of the database
    * specified in the request.
    * 
* * repeated string statements = 1; + * * @param index The index of the value to return. * @return The bytes of the statements at the given index. */ - com.google.protobuf.ByteString - getStatementsBytes(int index); + com.google.protobuf.ByteString getStatementsBytes(int index); } diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseRequest.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseRequest.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseRequest.java rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseRequest.java index cce0f26dafb..2a501d6d7cf 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseRequest.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseRequest.java @@ -1,63 +1,88 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/spanner_database_admin.proto package com.google.spanner.admin.database.v1; /** + * + * *
  * The request for [GetDatabase][google.spanner.admin.database.v1.DatabaseAdmin.GetDatabase].
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.GetDatabaseRequest} */ -public final class GetDatabaseRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetDatabaseRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.GetDatabaseRequest) GetDatabaseRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetDatabaseRequest.newBuilder() to construct. private GetDatabaseRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetDatabaseRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetDatabaseRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_GetDatabaseRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto + .internal_static_google_spanner_admin_database_v1_GetDatabaseRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_GetDatabaseRequest_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto + .internal_static_google_spanner_admin_database_v1_GetDatabaseRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.GetDatabaseRequest.class, com.google.spanner.admin.database.v1.GetDatabaseRequest.Builder.class); + com.google.spanner.admin.database.v1.GetDatabaseRequest.class, + com.google.spanner.admin.database.v1.GetDatabaseRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the requested database. Values are of the form
    * `projects/<project>/instances/<instance>/databases/<database>`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -66,30 +91,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 name of the requested database. Values are of the form
    * `projects/<project>/instances/<instance>/databases/<database>`.
    * 
* - * string name = 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 { @@ -98,6 +125,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -109,8 +137,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -134,15 +161,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.database.v1.GetDatabaseRequest)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.GetDatabaseRequest other = (com.google.spanner.admin.database.v1.GetDatabaseRequest) obj; + com.google.spanner.admin.database.v1.GetDatabaseRequest other = + (com.google.spanner.admin.database.v1.GetDatabaseRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -162,129 +189,136 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.GetDatabaseRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.GetDatabaseRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.admin.database.v1.GetDatabaseRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.GetDatabaseRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.admin.database.v1.GetDatabaseRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.GetDatabaseRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.GetDatabaseRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.spanner.admin.database.v1.GetDatabaseRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.GetDatabaseRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.GetDatabaseRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.spanner.admin.database.v1.GetDatabaseRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.GetDatabaseRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.spanner.admin.database.v1.GetDatabaseRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.GetDatabaseRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.admin.database.v1.GetDatabaseRequest prototype) { + + public static Builder newBuilder( + com.google.spanner.admin.database.v1.GetDatabaseRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [GetDatabase][google.spanner.admin.database.v1.DatabaseAdmin.GetDatabase].
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.GetDatabaseRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.GetDatabaseRequest) com.google.spanner.admin.database.v1.GetDatabaseRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_GetDatabaseRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto + .internal_static_google_spanner_admin_database_v1_GetDatabaseRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_GetDatabaseRequest_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto + .internal_static_google_spanner_admin_database_v1_GetDatabaseRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.GetDatabaseRequest.class, com.google.spanner.admin.database.v1.GetDatabaseRequest.Builder.class); + com.google.spanner.admin.database.v1.GetDatabaseRequest.class, + com.google.spanner.admin.database.v1.GetDatabaseRequest.Builder.class); } // Construct using com.google.spanner.admin.database.v1.GetDatabaseRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - 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 +328,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_GetDatabaseRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto + .internal_static_google_spanner_admin_database_v1_GetDatabaseRequest_descriptor; } @java.lang.Override @@ -315,8 +349,11 @@ public com.google.spanner.admin.database.v1.GetDatabaseRequest build() { @java.lang.Override public com.google.spanner.admin.database.v1.GetDatabaseRequest buildPartial() { - com.google.spanner.admin.database.v1.GetDatabaseRequest result = new com.google.spanner.admin.database.v1.GetDatabaseRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.spanner.admin.database.v1.GetDatabaseRequest result = + new com.google.spanner.admin.database.v1.GetDatabaseRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -332,38 +369,39 @@ private void buildPartial0(com.google.spanner.admin.database.v1.GetDatabaseReque public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.admin.database.v1.GetDatabaseRequest) { - return mergeFrom((com.google.spanner.admin.database.v1.GetDatabaseRequest)other); + return mergeFrom((com.google.spanner.admin.database.v1.GetDatabaseRequest) other); } else { super.mergeFrom(other); return this; @@ -371,7 +409,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.admin.database.v1.GetDatabaseRequest other) { - if (other == com.google.spanner.admin.database.v1.GetDatabaseRequest.getDefaultInstance()) return this; + if (other == com.google.spanner.admin.database.v1.GetDatabaseRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -403,17 +442,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) { @@ -423,23 +464,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the requested database. Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>`.
      * 
* - * string name = 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,21 +494,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the requested database. Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>`.
      * 
* - * string name = 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 { @@ -470,30 +519,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the requested database. Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>`.
      * 
* - * 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 name of the requested database. Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>`.
      * 
* - * string 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() { @@ -503,27 +563,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the requested database. Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>`.
      * 
* - * 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); } @@ -533,12 +599,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.GetDatabaseRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.GetDatabaseRequest) private static final com.google.spanner.admin.database.v1.GetDatabaseRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.GetDatabaseRequest(); } @@ -547,27 +613,27 @@ public static com.google.spanner.admin.database.v1.GetDatabaseRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetDatabaseRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetDatabaseRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -582,6 +648,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.GetDatabaseRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseRequestOrBuilder.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseRequestOrBuilder.java new file mode 100644 index 00000000000..dcbddc2f882 --- /dev/null +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/spanner/admin/database/v1/spanner_database_admin.proto + +package com.google.spanner.admin.database.v1; + +public interface GetDatabaseRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.GetDatabaseRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the requested database. Values are of the form
+   * `projects/<project>/instances/<instance>/databases/<database>`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the requested database. Values are of the form
+   * `projects/<project>/instances/<instance>/databases/<database>`.
+   * 
+ * + * + * 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/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/InstanceName.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/InstanceName.java similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/InstanceName.java rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/InstanceName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsRequest.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsRequest.java similarity index 81% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsRequest.java rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsRequest.java index 178e89d3e35..5426f3dd857 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsRequest.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/backup.proto package com.google.spanner.admin.database.v1; /** + * + * *
  * The request for
  * [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.spanner.admin.database.v1.ListBackupOperationsRequest}
  */
-public final class ListBackupOperationsRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ListBackupOperationsRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.ListBackupOperationsRequest)
     ListBackupOperationsRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ListBackupOperationsRequest.newBuilder() to construct.
   private ListBackupOperationsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ListBackupOperationsRequest() {
     parent_ = "";
     filter_ = "";
@@ -28,39 +46,46 @@ private ListBackupOperationsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListBackupOperationsRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_ListBackupOperationsRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.spanner.admin.database.v1.BackupProto
+        .internal_static_google_spanner_admin_database_v1_ListBackupOperationsRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_ListBackupOperationsRequest_fieldAccessorTable
+    return com.google.spanner.admin.database.v1.BackupProto
+        .internal_static_google_spanner_admin_database_v1_ListBackupOperationsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.database.v1.ListBackupOperationsRequest.class, com.google.spanner.admin.database.v1.ListBackupOperationsRequest.Builder.class);
+            com.google.spanner.admin.database.v1.ListBackupOperationsRequest.class,
+            com.google.spanner.admin.database.v1.ListBackupOperationsRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
+   *
+   *
    * 
    * Required. The instance of the backup operations. Values are of
    * the form `projects/<project>/instances/<instance>`.
    * 
* - * string parent = 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 +94,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 instance of the backup operations. Values are of
    * the form `projects/<project>/instances/<instance>`.
    * 
* - * string parent = 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,9 +128,12 @@ public java.lang.String getParent() { } public static final int FILTER_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** + * + * *
    * An expression that filters the list of returned backup operations.
    * A filter expression consists of a field name, a
@@ -168,6 +198,7 @@ public java.lang.String getParent() {
    * 
* * string filter = 2; + * * @return The filter. */ @java.lang.Override @@ -176,14 +207,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; } } /** + * + * *
    * An expression that filters the list of returned backup operations.
    * A filter expression consists of a field name, a
@@ -248,16 +280,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 { @@ -268,12 +299,15 @@ public java.lang.String getFilter() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_ = 0; /** + * + * *
    * Number of operations to be returned in the response. If 0 or
    * less, defaults to the server's maximum allowed page size.
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -282,9 +316,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.database.v1.ListBackupOperationsResponse.next_page_token]
@@ -293,6 +330,7 @@ public int getPageSize() {
    * 
* * string page_token = 4; + * * @return The pageToken. */ @java.lang.Override @@ -301,14 +339,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.spanner.admin.database.v1.ListBackupOperationsResponse.next_page_token]
@@ -317,16 +356,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; + * * @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 { @@ -335,6 +373,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -346,8 +385,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_); } @@ -376,8 +414,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filter_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -390,21 +427,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.spanner.admin.database.v1.ListBackupOperationsRequest)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.ListBackupOperationsRequest other = (com.google.spanner.admin.database.v1.ListBackupOperationsRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + com.google.spanner.admin.database.v1.ListBackupOperationsRequest other = + (com.google.spanner.admin.database.v1.ListBackupOperationsRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -430,96 +464,104 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.ListBackupOperationsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.ListBackupOperationsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.admin.database.v1.ListBackupOperationsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.ListBackupOperationsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.ListBackupOperationsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.spanner.admin.database.v1.ListBackupOperationsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.ListBackupOperationsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.ListBackupOperationsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.spanner.admin.database.v1.ListBackupOperationsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.ListBackupOperationsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.ListBackupOperationsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.spanner.admin.database.v1.ListBackupOperationsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.ListBackupOperationsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.spanner.admin.database.v1.ListBackupOperationsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.ListBackupOperationsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.admin.database.v1.ListBackupOperationsRequest prototype) { + + public static Builder newBuilder( + com.google.spanner.admin.database.v1.ListBackupOperationsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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
    * [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations].
@@ -527,33 +569,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.spanner.admin.database.v1.ListBackupOperationsRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.ListBackupOperationsRequest)
       com.google.spanner.admin.database.v1.ListBackupOperationsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_ListBackupOperationsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.spanner.admin.database.v1.BackupProto
+          .internal_static_google_spanner_admin_database_v1_ListBackupOperationsRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_ListBackupOperationsRequest_fieldAccessorTable
+      return com.google.spanner.admin.database.v1.BackupProto
+          .internal_static_google_spanner_admin_database_v1_ListBackupOperationsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.database.v1.ListBackupOperationsRequest.class, com.google.spanner.admin.database.v1.ListBackupOperationsRequest.Builder.class);
+              com.google.spanner.admin.database.v1.ListBackupOperationsRequest.class,
+              com.google.spanner.admin.database.v1.ListBackupOperationsRequest.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.database.v1.ListBackupOperationsRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        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,13 +607,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_ListBackupOperationsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.spanner.admin.database.v1.BackupProto
+          .internal_static_google_spanner_admin_database_v1_ListBackupOperationsRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.spanner.admin.database.v1.ListBackupOperationsRequest getDefaultInstanceForType() {
+    public com.google.spanner.admin.database.v1.ListBackupOperationsRequest
+        getDefaultInstanceForType() {
       return com.google.spanner.admin.database.v1.ListBackupOperationsRequest.getDefaultInstance();
     }
 
@@ -587,13 +629,17 @@ public com.google.spanner.admin.database.v1.ListBackupOperationsRequest build()
 
     @java.lang.Override
     public com.google.spanner.admin.database.v1.ListBackupOperationsRequest buildPartial() {
-      com.google.spanner.admin.database.v1.ListBackupOperationsRequest result = new com.google.spanner.admin.database.v1.ListBackupOperationsRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.spanner.admin.database.v1.ListBackupOperationsRequest result =
+          new com.google.spanner.admin.database.v1.ListBackupOperationsRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.spanner.admin.database.v1.ListBackupOperationsRequest result) {
+    private void buildPartial0(
+        com.google.spanner.admin.database.v1.ListBackupOperationsRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.parent_ = parent_;
@@ -613,46 +659,50 @@ private void buildPartial0(com.google.spanner.admin.database.v1.ListBackupOperat
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.database.v1.ListBackupOperationsRequest) {
-        return mergeFrom((com.google.spanner.admin.database.v1.ListBackupOperationsRequest)other);
+        return mergeFrom((com.google.spanner.admin.database.v1.ListBackupOperationsRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.spanner.admin.database.v1.ListBackupOperationsRequest other) {
-      if (other == com.google.spanner.admin.database.v1.ListBackupOperationsRequest.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.spanner.admin.database.v1.ListBackupOperationsRequest other) {
+      if (other
+          == com.google.spanner.admin.database.v1.ListBackupOperationsRequest.getDefaultInstance())
+        return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -697,32 +747,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 24: {
-              pageSize_ = input.readInt32();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 24
-            case 34: {
-              pageToken_ = input.readStringRequireUtf8();
-              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:
+              {
+                filter_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 24:
+              {
+                pageSize_ = input.readInt32();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 24
+            case 34:
+              {
+                pageToken_ = 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) {
@@ -732,23 +787,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. The instance of the backup operations. Values are of
      * the form `projects/<project>/instances/<instance>`.
      * 
* - * string parent = 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; @@ -757,21 +817,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The instance of the backup operations. Values are of
      * the form `projects/<project>/instances/<instance>`.
      * 
* - * string parent = 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 { @@ -779,30 +842,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The instance of the backup operations. Values are of
      * the form `projects/<project>/instances/<instance>`.
      * 
* - * 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 instance of the backup operations. Values are of
      * the form `projects/<project>/instances/<instance>`.
      * 
* - * string 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() { @@ -812,18 +886,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The instance of the backup operations. Values are of
      * the form `projects/<project>/instances/<instance>`.
      * 
* - * 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; @@ -833,6 +913,8 @@ public Builder setParentBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * An expression that filters the list of returned backup operations.
      * A filter expression consists of a field name, a
@@ -897,13 +979,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; @@ -912,6 +994,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * An expression that filters the list of returned backup operations.
      * A filter expression consists of a field name, a
@@ -976,15 +1060,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 { @@ -992,6 +1075,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * An expression that filters the list of returned backup operations.
      * A filter expression consists of a field name, a
@@ -1056,18 +1141,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; } /** + * + * *
      * An expression that filters the list of returned backup operations.
      * A filter expression consists of a field name, a
@@ -1132,6 +1221,7 @@ public Builder setFilter(
      * 
* * string filter = 2; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1141,6 +1231,8 @@ public Builder clearFilter() { return this; } /** + * + * *
      * An expression that filters the list of returned backup operations.
      * A filter expression consists of a field name, a
@@ -1205,12 +1297,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; @@ -1218,14 +1312,17 @@ public Builder setFilterBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Number of operations to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -1233,29 +1330,35 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Number of operations to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 3; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Number of operations to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 3; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -1267,6 +1370,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListBackupOperationsResponse.next_page_token]
@@ -1275,13 +1380,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4; + * * @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; @@ -1290,6 +1395,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListBackupOperationsResponse.next_page_token]
@@ -1298,15 +1405,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @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 { @@ -1314,6 +1420,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListBackupOperationsResponse.next_page_token]
@@ -1322,18 +1430,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @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; } /** + * + * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListBackupOperationsResponse.next_page_token]
@@ -1342,6 +1454,7 @@ public Builder setPageToken(
      * 
* * string page_token = 4; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1351,6 +1464,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListBackupOperationsResponse.next_page_token]
@@ -1359,21 +1474,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; + * * @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); } @@ -1383,41 +1500,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.ListBackupOperationsRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.ListBackupOperationsRequest) - private static final com.google.spanner.admin.database.v1.ListBackupOperationsRequest DEFAULT_INSTANCE; + private static final com.google.spanner.admin.database.v1.ListBackupOperationsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.ListBackupOperationsRequest(); } - public static com.google.spanner.admin.database.v1.ListBackupOperationsRequest getDefaultInstance() { + public static com.google.spanner.admin.database.v1.ListBackupOperationsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListBackupOperationsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListBackupOperationsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1429,9 +1548,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.spanner.admin.database.v1.ListBackupOperationsRequest getDefaultInstanceForType() { + public com.google.spanner.admin.database.v1.ListBackupOperationsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsRequestOrBuilder.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsRequestOrBuilder.java similarity index 89% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsRequestOrBuilder.java rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsRequestOrBuilder.java index 92cc48e094e..4d862ccc097 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsRequestOrBuilder.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/backup.proto package com.google.spanner.admin.database.v1; -public interface ListBackupOperationsRequestOrBuilder extends +public interface ListBackupOperationsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.ListBackupOperationsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The instance of the backup operations. Values are of
    * the form `projects/<project>/instances/<instance>`.
    * 
* - * string parent = 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 instance of the backup operations. Values are of
    * the form `projects/<project>/instances/<instance>`.
    * 
* - * string parent = 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(); /** + * + * *
    * An expression that filters the list of returned backup operations.
    * A filter expression consists of a field name, a
@@ -94,10 +121,13 @@ public interface ListBackupOperationsRequestOrBuilder extends
    * 
* * string filter = 2; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * An expression that filters the list of returned backup operations.
    * A filter expression consists of a field name, a
@@ -162,23 +192,28 @@ public interface ListBackupOperationsRequestOrBuilder extends
    * 
* * string filter = 2; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Number of operations to be returned in the response. If 0 or
    * less, defaults to the server's maximum allowed page size.
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.database.v1.ListBackupOperationsResponse.next_page_token]
@@ -187,10 +222,13 @@ public interface ListBackupOperationsRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.database.v1.ListBackupOperationsResponse.next_page_token]
@@ -199,8 +237,8 @@ public interface ListBackupOperationsRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsResponse.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsResponse.java similarity index 77% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsResponse.java rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsResponse.java index 003f0ea7270..a1a12ed3bf8 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsResponse.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsResponse.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/backup.proto package com.google.spanner.admin.database.v1; /** + * + * *
  * The response for
  * [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.spanner.admin.database.v1.ListBackupOperationsResponse}
  */
-public final class ListBackupOperationsResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ListBackupOperationsResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.ListBackupOperationsResponse)
     ListBackupOperationsResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ListBackupOperationsResponse.newBuilder() to construct.
   private ListBackupOperationsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ListBackupOperationsResponse() {
     operations_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -27,33 +45,37 @@ private ListBackupOperationsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListBackupOperationsResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_ListBackupOperationsResponse_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.spanner.admin.database.v1.BackupProto
+        .internal_static_google_spanner_admin_database_v1_ListBackupOperationsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_ListBackupOperationsResponse_fieldAccessorTable
+    return com.google.spanner.admin.database.v1.BackupProto
+        .internal_static_google_spanner_admin_database_v1_ListBackupOperationsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.database.v1.ListBackupOperationsResponse.class, com.google.spanner.admin.database.v1.ListBackupOperationsResponse.Builder.class);
+            com.google.spanner.admin.database.v1.ListBackupOperationsResponse.class,
+            com.google.spanner.admin.database.v1.ListBackupOperationsResponse.Builder.class);
   }
 
   public static final int OPERATIONS_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private java.util.List operations_;
   /**
+   *
+   *
    * 
    * The list of matching backup [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -73,6 +95,8 @@ public java.util.List getOperationsList() {
     return operations_;
   }
   /**
+   *
+   *
    * 
    * The list of matching backup [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -88,11 +112,13 @@ public java.util.List getOperationsList() {
    * repeated .google.longrunning.Operation operations = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getOperationsOrBuilderList() {
     return operations_;
   }
   /**
+   *
+   *
    * 
    * The list of matching backup [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -112,6 +138,8 @@ public int getOperationsCount() {
     return operations_.size();
   }
   /**
+   *
+   *
    * 
    * The list of matching backup [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -131,6 +159,8 @@ public com.google.longrunning.Operation getOperations(int index) {
     return operations_.get(index);
   }
   /**
+   *
+   *
    * 
    * The list of matching backup [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -146,15 +176,17 @@ public com.google.longrunning.Operation getOperations(int index) {
    * repeated .google.longrunning.Operation operations = 1;
    */
   @java.lang.Override
-  public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(
-      int index) {
+  public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(int index) {
     return operations_.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
    * [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations]
@@ -162,6 +194,7 @@ public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -170,14 +203,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
    * [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations]
@@ -185,16 +219,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 { @@ -203,6 +236,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -214,8 +248,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 < operations_.size(); i++) { output.writeMessage(1, operations_.get(i)); } @@ -232,8 +265,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < operations_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, operations_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, operations_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -246,17 +278,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.spanner.admin.database.v1.ListBackupOperationsResponse)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.ListBackupOperationsResponse other = (com.google.spanner.admin.database.v1.ListBackupOperationsResponse) obj; + com.google.spanner.admin.database.v1.ListBackupOperationsResponse other = + (com.google.spanner.admin.database.v1.ListBackupOperationsResponse) obj; - if (!getOperationsList() - .equals(other.getOperationsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getOperationsList().equals(other.getOperationsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -280,96 +311,105 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.ListBackupOperationsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.ListBackupOperationsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.admin.database.v1.ListBackupOperationsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.ListBackupOperationsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.ListBackupOperationsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.spanner.admin.database.v1.ListBackupOperationsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.ListBackupOperationsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.ListBackupOperationsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.spanner.admin.database.v1.ListBackupOperationsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.ListBackupOperationsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.ListBackupOperationsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.spanner.admin.database.v1.ListBackupOperationsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.ListBackupOperationsResponse 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.spanner.admin.database.v1.ListBackupOperationsResponse + 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.spanner.admin.database.v1.ListBackupOperationsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.ListBackupOperationsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.admin.database.v1.ListBackupOperationsResponse prototype) { + + public static Builder newBuilder( + com.google.spanner.admin.database.v1.ListBackupOperationsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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
    * [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations].
@@ -377,33 +417,33 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.spanner.admin.database.v1.ListBackupOperationsResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.ListBackupOperationsResponse)
       com.google.spanner.admin.database.v1.ListBackupOperationsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_ListBackupOperationsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.spanner.admin.database.v1.BackupProto
+          .internal_static_google_spanner_admin_database_v1_ListBackupOperationsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_ListBackupOperationsResponse_fieldAccessorTable
+      return com.google.spanner.admin.database.v1.BackupProto
+          .internal_static_google_spanner_admin_database_v1_ListBackupOperationsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.database.v1.ListBackupOperationsResponse.class, com.google.spanner.admin.database.v1.ListBackupOperationsResponse.Builder.class);
+              com.google.spanner.admin.database.v1.ListBackupOperationsResponse.class,
+              com.google.spanner.admin.database.v1.ListBackupOperationsResponse.Builder.class);
     }
 
-    // Construct using com.google.spanner.admin.database.v1.ListBackupOperationsResponse.newBuilder()
-    private Builder() {
+    // Construct using
+    // com.google.spanner.admin.database.v1.ListBackupOperationsResponse.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();
@@ -420,13 +460,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_ListBackupOperationsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.spanner.admin.database.v1.BackupProto
+          .internal_static_google_spanner_admin_database_v1_ListBackupOperationsResponse_descriptor;
     }
 
     @java.lang.Override
-    public com.google.spanner.admin.database.v1.ListBackupOperationsResponse getDefaultInstanceForType() {
+    public com.google.spanner.admin.database.v1.ListBackupOperationsResponse
+        getDefaultInstanceForType() {
       return com.google.spanner.admin.database.v1.ListBackupOperationsResponse.getDefaultInstance();
     }
 
@@ -441,14 +482,18 @@ public com.google.spanner.admin.database.v1.ListBackupOperationsResponse build()
 
     @java.lang.Override
     public com.google.spanner.admin.database.v1.ListBackupOperationsResponse buildPartial() {
-      com.google.spanner.admin.database.v1.ListBackupOperationsResponse result = new com.google.spanner.admin.database.v1.ListBackupOperationsResponse(this);
+      com.google.spanner.admin.database.v1.ListBackupOperationsResponse result =
+          new com.google.spanner.admin.database.v1.ListBackupOperationsResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.spanner.admin.database.v1.ListBackupOperationsResponse result) {
+    private void buildPartialRepeatedFields(
+        com.google.spanner.admin.database.v1.ListBackupOperationsResponse result) {
       if (operationsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           operations_ = java.util.Collections.unmodifiableList(operations_);
@@ -460,7 +505,8 @@ private void buildPartialRepeatedFields(com.google.spanner.admin.database.v1.Lis
       }
     }
 
-    private void buildPartial0(com.google.spanner.admin.database.v1.ListBackupOperationsResponse result) {
+    private void buildPartial0(
+        com.google.spanner.admin.database.v1.ListBackupOperationsResponse result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000002) != 0)) {
         result.nextPageToken_ = nextPageToken_;
@@ -471,46 +517,50 @@ private void buildPartial0(com.google.spanner.admin.database.v1.ListBackupOperat
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.database.v1.ListBackupOperationsResponse) {
-        return mergeFrom((com.google.spanner.admin.database.v1.ListBackupOperationsResponse)other);
+        return mergeFrom((com.google.spanner.admin.database.v1.ListBackupOperationsResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.spanner.admin.database.v1.ListBackupOperationsResponse other) {
-      if (other == com.google.spanner.admin.database.v1.ListBackupOperationsResponse.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.spanner.admin.database.v1.ListBackupOperationsResponse other) {
+      if (other
+          == com.google.spanner.admin.database.v1.ListBackupOperationsResponse.getDefaultInstance())
+        return this;
       if (operationsBuilder_ == null) {
         if (!other.operations_.isEmpty()) {
           if (operations_.isEmpty()) {
@@ -529,9 +579,10 @@ public Builder mergeFrom(com.google.spanner.admin.database.v1.ListBackupOperatio
             operationsBuilder_ = null;
             operations_ = other.operations_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            operationsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getOperationsFieldBuilder() : null;
+            operationsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getOperationsFieldBuilder()
+                    : null;
           } else {
             operationsBuilder_.addAllMessages(other.operations_);
           }
@@ -568,30 +619,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.longrunning.Operation m =
-                  input.readMessage(
-                      com.google.longrunning.Operation.parser(),
-                      extensionRegistry);
-              if (operationsBuilder_ == null) {
-                ensureOperationsIsMutable();
-                operations_.add(m);
-              } else {
-                operationsBuilder_.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.longrunning.Operation m =
+                    input.readMessage(com.google.longrunning.Operation.parser(), extensionRegistry);
+                if (operationsBuilder_ == null) {
+                  ensureOperationsIsMutable();
+                  operations_.add(m);
+                } else {
+                  operationsBuilder_.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) {
@@ -601,21 +653,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.util.List operations_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureOperationsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         operations_ = new java.util.ArrayList(operations_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.longrunning.Operation, com.google.longrunning.Operation.Builder, com.google.longrunning.OperationOrBuilder> operationsBuilder_;
+            com.google.longrunning.Operation,
+            com.google.longrunning.Operation.Builder,
+            com.google.longrunning.OperationOrBuilder>
+        operationsBuilder_;
 
     /**
+     *
+     *
      * 
      * The list of matching backup [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -638,6 +697,8 @@ public java.util.List getOperationsList() {
       }
     }
     /**
+     *
+     *
      * 
      * The list of matching backup [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -660,6 +721,8 @@ public int getOperationsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The list of matching backup [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -682,6 +745,8 @@ public com.google.longrunning.Operation getOperations(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The list of matching backup [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -696,8 +761,7 @@ public com.google.longrunning.Operation getOperations(int index) {
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public Builder setOperations(
-        int index, com.google.longrunning.Operation value) {
+    public Builder setOperations(int index, com.google.longrunning.Operation value) {
       if (operationsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -711,6 +775,8 @@ public Builder setOperations(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of matching backup [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -737,6 +803,8 @@ public Builder setOperations(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of matching backup [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -765,6 +833,8 @@ public Builder addOperations(com.google.longrunning.Operation value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of matching backup [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -779,8 +849,7 @@ public Builder addOperations(com.google.longrunning.Operation value) {
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public Builder addOperations(
-        int index, com.google.longrunning.Operation value) {
+    public Builder addOperations(int index, com.google.longrunning.Operation value) {
       if (operationsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -794,6 +863,8 @@ public Builder addOperations(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of matching backup [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -808,8 +879,7 @@ public Builder addOperations(
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public Builder addOperations(
-        com.google.longrunning.Operation.Builder builderForValue) {
+    public Builder addOperations(com.google.longrunning.Operation.Builder builderForValue) {
       if (operationsBuilder_ == null) {
         ensureOperationsIsMutable();
         operations_.add(builderForValue.build());
@@ -820,6 +890,8 @@ public Builder addOperations(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of matching backup [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -846,6 +918,8 @@ public Builder addOperations(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of matching backup [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -864,8 +938,7 @@ public Builder addAllOperations(
         java.lang.Iterable values) {
       if (operationsBuilder_ == null) {
         ensureOperationsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, operations_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, operations_);
         onChanged();
       } else {
         operationsBuilder_.addAllMessages(values);
@@ -873,6 +946,8 @@ public Builder addAllOperations(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of matching backup [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -898,6 +973,8 @@ public Builder clearOperations() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of matching backup [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -923,6 +1000,8 @@ public Builder removeOperations(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of matching backup [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -937,11 +1016,12 @@ public Builder removeOperations(int index) {
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public com.google.longrunning.Operation.Builder getOperationsBuilder(
-        int index) {
+    public com.google.longrunning.Operation.Builder getOperationsBuilder(int index) {
       return getOperationsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The list of matching backup [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -956,14 +1036,16 @@ public com.google.longrunning.Operation.Builder getOperationsBuilder(
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(
-        int index) {
+    public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(int index) {
       if (operationsBuilder_ == null) {
-        return operations_.get(index);  } else {
+        return operations_.get(index);
+      } else {
         return operationsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The list of matching backup [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -978,8 +1060,8 @@ public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public java.util.List 
-         getOperationsOrBuilderList() {
+    public java.util.List
+        getOperationsOrBuilderList() {
       if (operationsBuilder_ != null) {
         return operationsBuilder_.getMessageOrBuilderList();
       } else {
@@ -987,6 +1069,8 @@ public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * The list of matching backup [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -1002,10 +1086,12 @@ public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(
      * repeated .google.longrunning.Operation operations = 1;
      */
     public com.google.longrunning.Operation.Builder addOperationsBuilder() {
-      return getOperationsFieldBuilder().addBuilder(
-          com.google.longrunning.Operation.getDefaultInstance());
+      return getOperationsFieldBuilder()
+          .addBuilder(com.google.longrunning.Operation.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The list of matching backup [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -1020,12 +1106,13 @@ public com.google.longrunning.Operation.Builder addOperationsBuilder() {
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public com.google.longrunning.Operation.Builder addOperationsBuilder(
-        int index) {
-      return getOperationsFieldBuilder().addBuilder(
-          index, com.google.longrunning.Operation.getDefaultInstance());
+    public com.google.longrunning.Operation.Builder addOperationsBuilder(int index) {
+      return getOperationsFieldBuilder()
+          .addBuilder(index, com.google.longrunning.Operation.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The list of matching backup [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -1040,20 +1127,22 @@ public com.google.longrunning.Operation.Builder addOperationsBuilder(
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public java.util.List 
-         getOperationsBuilderList() {
+    public java.util.List getOperationsBuilderList() {
       return getOperationsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.longrunning.Operation, com.google.longrunning.Operation.Builder, com.google.longrunning.OperationOrBuilder> 
+            com.google.longrunning.Operation,
+            com.google.longrunning.Operation.Builder,
+            com.google.longrunning.OperationOrBuilder>
         getOperationsFieldBuilder() {
       if (operationsBuilder_ == null) {
-        operationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.longrunning.Operation, com.google.longrunning.Operation.Builder, com.google.longrunning.OperationOrBuilder>(
-                operations_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        operationsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.longrunning.Operation,
+                com.google.longrunning.Operation.Builder,
+                com.google.longrunning.OperationOrBuilder>(
+                operations_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         operations_ = null;
       }
       return operationsBuilder_;
@@ -1061,6 +1150,8 @@ public com.google.longrunning.Operation.Builder addOperationsBuilder(
 
     private java.lang.Object nextPageToken_ = "";
     /**
+     *
+     *
      * 
      * `next_page_token` can be sent in a subsequent
      * [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations]
@@ -1068,13 +1159,13 @@ public com.google.longrunning.Operation.Builder addOperationsBuilder(
      * 
* * 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; @@ -1083,6 +1174,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * `next_page_token` can be sent in a subsequent
      * [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations]
@@ -1090,15 +1183,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 { @@ -1106,6 +1198,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * `next_page_token` can be sent in a subsequent
      * [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations]
@@ -1113,18 +1207,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
      * [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations]
@@ -1132,6 +1230,7 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1141,6 +1240,8 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * `next_page_token` can be sent in a subsequent
      * [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations]
@@ -1148,21 +1249,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); } @@ -1172,41 +1275,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.ListBackupOperationsResponse) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.ListBackupOperationsResponse) - private static final com.google.spanner.admin.database.v1.ListBackupOperationsResponse DEFAULT_INSTANCE; + private static final com.google.spanner.admin.database.v1.ListBackupOperationsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.ListBackupOperationsResponse(); } - public static com.google.spanner.admin.database.v1.ListBackupOperationsResponse getDefaultInstance() { + public static com.google.spanner.admin.database.v1.ListBackupOperationsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListBackupOperationsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListBackupOperationsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,9 +1323,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.spanner.admin.database.v1.ListBackupOperationsResponse getDefaultInstanceForType() { + public com.google.spanner.admin.database.v1.ListBackupOperationsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsResponseOrBuilder.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsResponseOrBuilder.java similarity index 83% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsResponseOrBuilder.java rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsResponseOrBuilder.java index 783e808323e..f170588152b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsResponseOrBuilder.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupOperationsResponseOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/backup.proto package com.google.spanner.admin.database.v1; -public interface ListBackupOperationsResponseOrBuilder extends +public interface ListBackupOperationsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.ListBackupOperationsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The list of matching backup [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -22,9 +40,10 @@ public interface ListBackupOperationsResponseOrBuilder extends
    *
    * repeated .google.longrunning.Operation operations = 1;
    */
-  java.util.List 
-      getOperationsList();
+  java.util.List getOperationsList();
   /**
+   *
+   *
    * 
    * The list of matching backup [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -41,6 +60,8 @@ public interface ListBackupOperationsResponseOrBuilder extends
    */
   com.google.longrunning.Operation getOperations(int index);
   /**
+   *
+   *
    * 
    * The list of matching backup [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -57,6 +78,8 @@ public interface ListBackupOperationsResponseOrBuilder extends
    */
   int getOperationsCount();
   /**
+   *
+   *
    * 
    * The list of matching backup [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -71,9 +94,10 @@ public interface ListBackupOperationsResponseOrBuilder extends
    *
    * repeated .google.longrunning.Operation operations = 1;
    */
-  java.util.List 
-      getOperationsOrBuilderList();
+  java.util.List getOperationsOrBuilderList();
   /**
+   *
+   *
    * 
    * The list of matching backup [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -88,10 +112,11 @@ public interface ListBackupOperationsResponseOrBuilder extends
    *
    * repeated .google.longrunning.Operation operations = 1;
    */
-  com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(
-      int index);
+  com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * `next_page_token` can be sent in a subsequent
    * [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations]
@@ -99,10 +124,13 @@ com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * `next_page_token` can be sent in a subsequent
    * [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations]
@@ -110,8 +138,8 @@ com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(
    * 
* * 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/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsRequest.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsRequest.java similarity index 76% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsRequest.java rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsRequest.java index 3f2d1b62ecd..0140292e32b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsRequest.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/backup.proto package com.google.spanner.admin.database.v1; /** + * + * *
  * The request for [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups].
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.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.spanner.admin.database.v1.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_ = ""; @@ -27,39 +45,46 @@ private ListBackupsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListBackupsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_ListBackupsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.admin.database.v1.BackupProto + .internal_static_google_spanner_admin_database_v1_ListBackupsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_ListBackupsRequest_fieldAccessorTable + return com.google.spanner.admin.database.v1.BackupProto + .internal_static_google_spanner_admin_database_v1_ListBackupsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.ListBackupsRequest.class, com.google.spanner.admin.database.v1.ListBackupsRequest.Builder.class); + com.google.spanner.admin.database.v1.ListBackupsRequest.class, + com.google.spanner.admin.database.v1.ListBackupsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The instance to list backups from.  Values are of the
    * form `projects/<project>/instances/<instance>`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -68,30 +93,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 instance to list backups from.  Values are of the
    * form `projects/<project>/instances/<instance>`.
    * 
* - * string parent = 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_ = ""; /** + * + * *
    * An expression that filters the list of returned backups.
    * A filter expression consists of a field name, a comparison operator, and a
@@ -136,6 +166,7 @@ public java.lang.String getParent() {
    * 
* * string filter = 2; + * * @return The filter. */ @java.lang.Override @@ -144,14 +175,15 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * An expression that filters the list of returned backups.
    * A filter expression consists of a field name, a comparison operator, and a
@@ -185,16 +217,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 { @@ -205,12 +236,15 @@ public java.lang.String getFilter() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; 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 = 3; + * * @return The pageSize. */ @java.lang.Override @@ -219,9 +253,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.database.v1.ListBackupsResponse.next_page_token] from a
@@ -230,6 +267,7 @@ public int getPageSize() {
    * 
* * string page_token = 4; + * * @return The pageToken. */ @java.lang.Override @@ -238,14 +276,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.spanner.admin.database.v1.ListBackupsResponse.next_page_token] from a
@@ -254,16 +293,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; + * * @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 { @@ -272,6 +310,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -283,8 +322,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_); } @@ -313,8 +351,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filter_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -327,21 +364,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.spanner.admin.database.v1.ListBackupsRequest)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.ListBackupsRequest other = (com.google.spanner.admin.database.v1.ListBackupsRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + com.google.spanner.admin.database.v1.ListBackupsRequest other = + (com.google.spanner.admin.database.v1.ListBackupsRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -367,129 +401,136 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.ListBackupsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.ListBackupsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.ListBackupsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.ListBackupsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.spanner.admin.database.v1.ListBackupsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.ListBackupsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.spanner.admin.database.v1.ListBackupsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.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.spanner.admin.database.v1.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.spanner.admin.database.v1.ListBackupsRequest prototype) { + + public static Builder newBuilder( + com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.DatabaseAdmin.ListBackups].
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.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.spanner.admin.database.v1.ListBackupsRequest) com.google.spanner.admin.database.v1.ListBackupsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_ListBackupsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.admin.database.v1.BackupProto + .internal_static_google_spanner_admin_database_v1_ListBackupsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_ListBackupsRequest_fieldAccessorTable + return com.google.spanner.admin.database.v1.BackupProto + .internal_static_google_spanner_admin_database_v1_ListBackupsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.ListBackupsRequest.class, com.google.spanner.admin.database.v1.ListBackupsRequest.Builder.class); + com.google.spanner.admin.database.v1.ListBackupsRequest.class, + com.google.spanner.admin.database.v1.ListBackupsRequest.Builder.class); } // Construct using com.google.spanner.admin.database.v1.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(); @@ -502,9 +543,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_ListBackupsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.spanner.admin.database.v1.BackupProto + .internal_static_google_spanner_admin_database_v1_ListBackupsRequest_descriptor; } @java.lang.Override @@ -523,8 +564,11 @@ public com.google.spanner.admin.database.v1.ListBackupsRequest build() { @java.lang.Override public com.google.spanner.admin.database.v1.ListBackupsRequest buildPartial() { - com.google.spanner.admin.database.v1.ListBackupsRequest result = new com.google.spanner.admin.database.v1.ListBackupsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.spanner.admin.database.v1.ListBackupsRequest result = + new com.google.spanner.admin.database.v1.ListBackupsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -549,38 +593,39 @@ private void buildPartial0(com.google.spanner.admin.database.v1.ListBackupsReque public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.admin.database.v1.ListBackupsRequest) { - return mergeFrom((com.google.spanner.admin.database.v1.ListBackupsRequest)other); + return mergeFrom((com.google.spanner.admin.database.v1.ListBackupsRequest) other); } else { super.mergeFrom(other); return this; @@ -588,7 +633,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.admin.database.v1.ListBackupsRequest other) { - if (other == com.google.spanner.admin.database.v1.ListBackupsRequest.getDefaultInstance()) return this; + if (other == com.google.spanner.admin.database.v1.ListBackupsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -633,32 +679,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 24: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: { - pageToken_ = input.readStringRequireUtf8(); - 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: + { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: + { + pageToken_ = 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) { @@ -668,23 +719,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The instance to list backups from.  Values are of the
      * form `projects/<project>/instances/<instance>`.
      * 
* - * string parent = 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; @@ -693,21 +749,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The instance to list backups from.  Values are of the
      * form `projects/<project>/instances/<instance>`.
      * 
* - * string parent = 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 { @@ -715,30 +774,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The instance to list backups from.  Values are of the
      * form `projects/<project>/instances/<instance>`.
      * 
* - * 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 instance to list backups from.  Values are of the
      * form `projects/<project>/instances/<instance>`.
      * 
* - * string 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() { @@ -748,18 +818,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The instance to list backups from.  Values are of the
      * form `projects/<project>/instances/<instance>`.
      * 
* - * 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,6 +845,8 @@ public Builder setParentBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * An expression that filters the list of returned backups.
      * A filter expression consists of a field name, a comparison operator, and a
@@ -802,13 +880,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; @@ -817,6 +895,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * An expression that filters the list of returned backups.
      * A filter expression consists of a field name, a comparison operator, and a
@@ -850,15 +930,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 { @@ -866,6 +945,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * An expression that filters the list of returned backups.
      * A filter expression consists of a field name, a comparison operator, and a
@@ -899,18 +980,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; } /** + * + * *
      * An expression that filters the list of returned backups.
      * A filter expression consists of a field name, a comparison operator, and a
@@ -944,6 +1029,7 @@ public Builder setFilter(
      * 
* * string filter = 2; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -953,6 +1039,8 @@ public Builder clearFilter() { return this; } /** + * + * *
      * An expression that filters the list of returned backups.
      * A filter expression consists of a field name, a comparison operator, and a
@@ -986,12 +1074,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; @@ -999,14 +1089,17 @@ public Builder setFilterBytes( 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 = 3; + * * @return The pageSize. */ @java.lang.Override @@ -1014,29 +1107,35 @@ 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 = 3; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Number of backups to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 3; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -1048,6 +1147,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListBackupsResponse.next_page_token] from a
@@ -1056,13 +1157,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4; + * * @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; @@ -1071,6 +1172,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListBackupsResponse.next_page_token] from a
@@ -1079,15 +1182,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @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 { @@ -1095,6 +1197,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListBackupsResponse.next_page_token] from a
@@ -1103,18 +1207,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @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; } /** + * + * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListBackupsResponse.next_page_token] from a
@@ -1123,6 +1231,7 @@ public Builder setPageToken(
      * 
* * string page_token = 4; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1132,6 +1241,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListBackupsResponse.next_page_token] from a
@@ -1140,21 +1251,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; + * * @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); } @@ -1164,12 +1277,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.ListBackupsRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.ListBackupsRequest) private static final com.google.spanner.admin.database.v1.ListBackupsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.ListBackupsRequest(); } @@ -1178,27 +1291,27 @@ public static com.google.spanner.admin.database.v1.ListBackupsRequest getDefault 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; @@ -1213,6 +1326,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.ListBackupsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsRequestOrBuilder.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsRequestOrBuilder.java similarity index 82% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsRequestOrBuilder.java rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsRequestOrBuilder.java index a3fc2c80340..4ea911b53ce 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsRequestOrBuilder.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/backup.proto package com.google.spanner.admin.database.v1; -public interface ListBackupsRequestOrBuilder extends +public interface ListBackupsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.ListBackupsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The instance to list backups from.  Values are of the
    * form `projects/<project>/instances/<instance>`.
    * 
* - * string parent = 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 instance to list backups from.  Values are of the
    * form `projects/<project>/instances/<instance>`.
    * 
* - * string parent = 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(); /** + * + * *
    * An expression that filters the list of returned backups.
    * A filter expression consists of a field name, a comparison operator, and a
@@ -63,10 +90,13 @@ public interface ListBackupsRequestOrBuilder extends
    * 
* * string filter = 2; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * An expression that filters the list of returned backups.
    * A filter expression consists of a field name, a comparison operator, and a
@@ -100,23 +130,28 @@ public interface ListBackupsRequestOrBuilder extends
    * 
* * string filter = 2; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * 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 = 3; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.database.v1.ListBackupsResponse.next_page_token] from a
@@ -125,10 +160,13 @@ public interface ListBackupsRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.database.v1.ListBackupsResponse.next_page_token] from a
@@ -137,8 +175,8 @@ public interface ListBackupsRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsResponse.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsResponse.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsResponse.java rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsResponse.java index be58e2bf96b..e320ee4aba2 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsResponse.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/backup.proto package com.google.spanner.admin.database.v1; /** + * + * *
  * The response for [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups].
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.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.spanner.admin.database.v1.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,33 +44,37 @@ private ListBackupsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListBackupsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_ListBackupsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.admin.database.v1.BackupProto + .internal_static_google_spanner_admin_database_v1_ListBackupsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_ListBackupsResponse_fieldAccessorTable + return com.google.spanner.admin.database.v1.BackupProto + .internal_static_google_spanner_admin_database_v1_ListBackupsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.ListBackupsResponse.class, com.google.spanner.admin.database.v1.ListBackupsResponse.Builder.class); + com.google.spanner.admin.database.v1.ListBackupsResponse.class, + com.google.spanner.admin.database.v1.ListBackupsResponse.Builder.class); } public static final int BACKUPS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List backups_; /** + * + * *
    * The list of matching backups. Backups returned are ordered by `create_time`
    * in descending order, starting from the most recent `create_time`.
@@ -65,6 +87,8 @@ public java.util.List getBackupsLis
     return backups_;
   }
   /**
+   *
+   *
    * 
    * The list of matching backups. Backups returned are ordered by `create_time`
    * in descending order, starting from the most recent `create_time`.
@@ -73,11 +97,13 @@ public java.util.List getBackupsLis
    * repeated .google.spanner.admin.database.v1.Backup backups = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getBackupsOrBuilderList() {
     return backups_;
   }
   /**
+   *
+   *
    * 
    * The list of matching backups. Backups returned are ordered by `create_time`
    * in descending order, starting from the most recent `create_time`.
@@ -90,6 +116,8 @@ public int getBackupsCount() {
     return backups_.size();
   }
   /**
+   *
+   *
    * 
    * The list of matching backups. Backups returned are ordered by `create_time`
    * in descending order, starting from the most recent `create_time`.
@@ -102,6 +130,8 @@ public com.google.spanner.admin.database.v1.Backup getBackups(int index) {
     return backups_.get(index);
   }
   /**
+   *
+   *
    * 
    * The list of matching backups. Backups returned are ordered by `create_time`
    * in descending order, starting from the most recent `create_time`.
@@ -110,15 +140,17 @@ public com.google.spanner.admin.database.v1.Backup getBackups(int index) {
    * repeated .google.spanner.admin.database.v1.Backup backups = 1;
    */
   @java.lang.Override
-  public com.google.spanner.admin.database.v1.BackupOrBuilder getBackupsOrBuilder(
-      int index) {
+  public com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.DatabaseAdmin.ListBackups] call to fetch more
@@ -126,6 +158,7 @@ public com.google.spanner.admin.database.v1.BackupOrBuilder getBackupsOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -134,14 +167,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.spanner.admin.database.v1.DatabaseAdmin.ListBackups] call to fetch more
@@ -149,16 +183,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 { @@ -167,6 +200,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -178,8 +212,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)); } @@ -196,8 +229,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_); @@ -210,17 +242,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.spanner.admin.database.v1.ListBackupsResponse)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.ListBackupsResponse other = (com.google.spanner.admin.database.v1.ListBackupsResponse) obj; + com.google.spanner.admin.database.v1.ListBackupsResponse other = + (com.google.spanner.admin.database.v1.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; } @@ -244,129 +275,136 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.ListBackupsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.ListBackupsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.ListBackupsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.ListBackupsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.spanner.admin.database.v1.ListBackupsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.ListBackupsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.spanner.admin.database.v1.ListBackupsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.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.spanner.admin.database.v1.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.spanner.admin.database.v1.ListBackupsResponse prototype) { + + public static Builder newBuilder( + com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.DatabaseAdmin.ListBackups].
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.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.spanner.admin.database.v1.ListBackupsResponse) com.google.spanner.admin.database.v1.ListBackupsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_ListBackupsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.admin.database.v1.BackupProto + .internal_static_google_spanner_admin_database_v1_ListBackupsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_ListBackupsResponse_fieldAccessorTable + return com.google.spanner.admin.database.v1.BackupProto + .internal_static_google_spanner_admin_database_v1_ListBackupsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.ListBackupsResponse.class, com.google.spanner.admin.database.v1.ListBackupsResponse.Builder.class); + com.google.spanner.admin.database.v1.ListBackupsResponse.class, + com.google.spanner.admin.database.v1.ListBackupsResponse.Builder.class); } // Construct using com.google.spanner.admin.database.v1.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(); @@ -383,9 +421,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_ListBackupsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.spanner.admin.database.v1.BackupProto + .internal_static_google_spanner_admin_database_v1_ListBackupsResponse_descriptor; } @java.lang.Override @@ -404,14 +442,18 @@ public com.google.spanner.admin.database.v1.ListBackupsResponse build() { @java.lang.Override public com.google.spanner.admin.database.v1.ListBackupsResponse buildPartial() { - com.google.spanner.admin.database.v1.ListBackupsResponse result = new com.google.spanner.admin.database.v1.ListBackupsResponse(this); + com.google.spanner.admin.database.v1.ListBackupsResponse result = + new com.google.spanner.admin.database.v1.ListBackupsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.spanner.admin.database.v1.ListBackupsResponse result) { + private void buildPartialRepeatedFields( + com.google.spanner.admin.database.v1.ListBackupsResponse result) { if (backupsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { backups_ = java.util.Collections.unmodifiableList(backups_); @@ -434,38 +476,39 @@ private void buildPartial0(com.google.spanner.admin.database.v1.ListBackupsRespo public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.admin.database.v1.ListBackupsResponse) { - return mergeFrom((com.google.spanner.admin.database.v1.ListBackupsResponse)other); + return mergeFrom((com.google.spanner.admin.database.v1.ListBackupsResponse) other); } else { super.mergeFrom(other); return this; @@ -473,7 +516,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.admin.database.v1.ListBackupsResponse other) { - if (other == com.google.spanner.admin.database.v1.ListBackupsResponse.getDefaultInstance()) return this; + if (other == com.google.spanner.admin.database.v1.ListBackupsResponse.getDefaultInstance()) + return this; if (backupsBuilder_ == null) { if (!other.backups_.isEmpty()) { if (backups_.isEmpty()) { @@ -492,9 +536,10 @@ public Builder mergeFrom(com.google.spanner.admin.database.v1.ListBackupsRespons 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_); } @@ -531,30 +576,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.spanner.admin.database.v1.Backup m = - input.readMessage( - com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.Backup m = + input.readMessage( + com.google.spanner.admin.database.v1.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) { @@ -564,21 +611,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.spanner.admin.database.v1.Backup, com.google.spanner.admin.database.v1.Backup.Builder, com.google.spanner.admin.database.v1.BackupOrBuilder> backupsBuilder_; + com.google.spanner.admin.database.v1.Backup, + com.google.spanner.admin.database.v1.Backup.Builder, + com.google.spanner.admin.database.v1.BackupOrBuilder> + backupsBuilder_; /** + * + * *
      * The list of matching backups. Backups returned are ordered by `create_time`
      * in descending order, starting from the most recent `create_time`.
@@ -594,6 +648,8 @@ public java.util.List getBackupsLis
       }
     }
     /**
+     *
+     *
      * 
      * The list of matching backups. Backups returned are ordered by `create_time`
      * in descending order, starting from the most recent `create_time`.
@@ -609,6 +665,8 @@ public int getBackupsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The list of matching backups. Backups returned are ordered by `create_time`
      * in descending order, starting from the most recent `create_time`.
@@ -624,6 +682,8 @@ public com.google.spanner.admin.database.v1.Backup getBackups(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The list of matching backups. Backups returned are ordered by `create_time`
      * in descending order, starting from the most recent `create_time`.
@@ -631,8 +691,7 @@ public com.google.spanner.admin.database.v1.Backup getBackups(int index) {
      *
      * repeated .google.spanner.admin.database.v1.Backup backups = 1;
      */
-    public Builder setBackups(
-        int index, com.google.spanner.admin.database.v1.Backup value) {
+    public Builder setBackups(int index, com.google.spanner.admin.database.v1.Backup value) {
       if (backupsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -646,6 +705,8 @@ public Builder setBackups(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of matching backups. Backups returned are ordered by `create_time`
      * in descending order, starting from the most recent `create_time`.
@@ -665,6 +726,8 @@ public Builder setBackups(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of matching backups. Backups returned are ordered by `create_time`
      * in descending order, starting from the most recent `create_time`.
@@ -686,6 +749,8 @@ public Builder addBackups(com.google.spanner.admin.database.v1.Backup value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of matching backups. Backups returned are ordered by `create_time`
      * in descending order, starting from the most recent `create_time`.
@@ -693,8 +758,7 @@ public Builder addBackups(com.google.spanner.admin.database.v1.Backup value) {
      *
      * repeated .google.spanner.admin.database.v1.Backup backups = 1;
      */
-    public Builder addBackups(
-        int index, com.google.spanner.admin.database.v1.Backup value) {
+    public Builder addBackups(int index, com.google.spanner.admin.database.v1.Backup value) {
       if (backupsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -708,6 +772,8 @@ public Builder addBackups(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of matching backups. Backups returned are ordered by `create_time`
      * in descending order, starting from the most recent `create_time`.
@@ -715,8 +781,7 @@ public Builder addBackups(
      *
      * repeated .google.spanner.admin.database.v1.Backup backups = 1;
      */
-    public Builder addBackups(
-        com.google.spanner.admin.database.v1.Backup.Builder builderForValue) {
+    public Builder addBackups(com.google.spanner.admin.database.v1.Backup.Builder builderForValue) {
       if (backupsBuilder_ == null) {
         ensureBackupsIsMutable();
         backups_.add(builderForValue.build());
@@ -727,6 +792,8 @@ public Builder addBackups(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of matching backups. Backups returned are ordered by `create_time`
      * in descending order, starting from the most recent `create_time`.
@@ -746,6 +813,8 @@ public Builder addBackups(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of matching backups. Backups returned are ordered by `create_time`
      * in descending order, starting from the most recent `create_time`.
@@ -757,8 +826,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);
@@ -766,6 +834,8 @@ public Builder addAllBackups(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of matching backups. Backups returned are ordered by `create_time`
      * in descending order, starting from the most recent `create_time`.
@@ -784,6 +854,8 @@ public Builder clearBackups() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of matching backups. Backups returned are ordered by `create_time`
      * in descending order, starting from the most recent `create_time`.
@@ -802,6 +874,8 @@ public Builder removeBackups(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of matching backups. Backups returned are ordered by `create_time`
      * in descending order, starting from the most recent `create_time`.
@@ -809,11 +883,12 @@ public Builder removeBackups(int index) {
      *
      * repeated .google.spanner.admin.database.v1.Backup backups = 1;
      */
-    public com.google.spanner.admin.database.v1.Backup.Builder getBackupsBuilder(
-        int index) {
+    public com.google.spanner.admin.database.v1.Backup.Builder getBackupsBuilder(int index) {
       return getBackupsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The list of matching backups. Backups returned are ordered by `create_time`
      * in descending order, starting from the most recent `create_time`.
@@ -821,14 +896,16 @@ public com.google.spanner.admin.database.v1.Backup.Builder getBackupsBuilder(
      *
      * repeated .google.spanner.admin.database.v1.Backup backups = 1;
      */
-    public com.google.spanner.admin.database.v1.BackupOrBuilder getBackupsOrBuilder(
-        int index) {
+    public com.google.spanner.admin.database.v1.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. Backups returned are ordered by `create_time`
      * in descending order, starting from the most recent `create_time`.
@@ -836,8 +913,8 @@ public com.google.spanner.admin.database.v1.BackupOrBuilder getBackupsOrBuilder(
      *
      * repeated .google.spanner.admin.database.v1.Backup backups = 1;
      */
-    public java.util.List 
-         getBackupsOrBuilderList() {
+    public java.util.List
+        getBackupsOrBuilderList() {
       if (backupsBuilder_ != null) {
         return backupsBuilder_.getMessageOrBuilderList();
       } else {
@@ -845,6 +922,8 @@ public com.google.spanner.admin.database.v1.BackupOrBuilder getBackupsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * The list of matching backups. Backups returned are ordered by `create_time`
      * in descending order, starting from the most recent `create_time`.
@@ -853,10 +932,12 @@ public com.google.spanner.admin.database.v1.BackupOrBuilder getBackupsOrBuilder(
      * repeated .google.spanner.admin.database.v1.Backup backups = 1;
      */
     public com.google.spanner.admin.database.v1.Backup.Builder addBackupsBuilder() {
-      return getBackupsFieldBuilder().addBuilder(
-          com.google.spanner.admin.database.v1.Backup.getDefaultInstance());
+      return getBackupsFieldBuilder()
+          .addBuilder(com.google.spanner.admin.database.v1.Backup.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The list of matching backups. Backups returned are ordered by `create_time`
      * in descending order, starting from the most recent `create_time`.
@@ -864,12 +945,13 @@ public com.google.spanner.admin.database.v1.Backup.Builder addBackupsBuilder() {
      *
      * repeated .google.spanner.admin.database.v1.Backup backups = 1;
      */
-    public com.google.spanner.admin.database.v1.Backup.Builder addBackupsBuilder(
-        int index) {
-      return getBackupsFieldBuilder().addBuilder(
-          index, com.google.spanner.admin.database.v1.Backup.getDefaultInstance());
+    public com.google.spanner.admin.database.v1.Backup.Builder addBackupsBuilder(int index) {
+      return getBackupsFieldBuilder()
+          .addBuilder(index, com.google.spanner.admin.database.v1.Backup.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The list of matching backups. Backups returned are ordered by `create_time`
      * in descending order, starting from the most recent `create_time`.
@@ -877,20 +959,23 @@ public com.google.spanner.admin.database.v1.Backup.Builder addBackupsBuilder(
      *
      * repeated .google.spanner.admin.database.v1.Backup backups = 1;
      */
-    public java.util.List 
-         getBackupsBuilderList() {
+    public java.util.List
+        getBackupsBuilderList() {
       return getBackupsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.spanner.admin.database.v1.Backup, com.google.spanner.admin.database.v1.Backup.Builder, com.google.spanner.admin.database.v1.BackupOrBuilder> 
+            com.google.spanner.admin.database.v1.Backup,
+            com.google.spanner.admin.database.v1.Backup.Builder,
+            com.google.spanner.admin.database.v1.BackupOrBuilder>
         getBackupsFieldBuilder() {
       if (backupsBuilder_ == null) {
-        backupsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.spanner.admin.database.v1.Backup, com.google.spanner.admin.database.v1.Backup.Builder, com.google.spanner.admin.database.v1.BackupOrBuilder>(
-                backups_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        backupsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.spanner.admin.database.v1.Backup,
+                com.google.spanner.admin.database.v1.Backup.Builder,
+                com.google.spanner.admin.database.v1.BackupOrBuilder>(
+                backups_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         backups_ = null;
       }
       return backupsBuilder_;
@@ -898,6 +983,8 @@ public com.google.spanner.admin.database.v1.Backup.Builder addBackupsBuilder(
 
     private java.lang.Object nextPageToken_ = "";
     /**
+     *
+     *
      * 
      * `next_page_token` can be sent in a subsequent
      * [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups] call to fetch more
@@ -905,13 +992,13 @@ public com.google.spanner.admin.database.v1.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; @@ -920,6 +1007,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * `next_page_token` can be sent in a subsequent
      * [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups] call to fetch more
@@ -927,15 +1016,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 { @@ -943,6 +1031,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * `next_page_token` can be sent in a subsequent
      * [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups] call to fetch more
@@ -950,18 +1040,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.spanner.admin.database.v1.DatabaseAdmin.ListBackups] call to fetch more
@@ -969,6 +1063,7 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -978,6 +1073,8 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * `next_page_token` can be sent in a subsequent
      * [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups] call to fetch more
@@ -985,21 +1082,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); } @@ -1009,12 +1108,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.ListBackupsResponse) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.ListBackupsResponse) private static final com.google.spanner.admin.database.v1.ListBackupsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.ListBackupsResponse(); } @@ -1023,27 +1122,27 @@ public static com.google.spanner.admin.database.v1.ListBackupsResponse getDefaul 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; @@ -1058,6 +1157,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.ListBackupsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsResponseOrBuilder.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsResponseOrBuilder.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsResponseOrBuilder.java rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsResponseOrBuilder.java index ed99d72751d..fe5c302a0e8 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsResponseOrBuilder.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListBackupsResponseOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/backup.proto package com.google.spanner.admin.database.v1; -public interface ListBackupsResponseOrBuilder extends +public interface ListBackupsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.ListBackupsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The list of matching backups. Backups returned are ordered by `create_time`
    * in descending order, starting from the most recent `create_time`.
@@ -15,9 +33,10 @@ public interface ListBackupsResponseOrBuilder extends
    *
    * repeated .google.spanner.admin.database.v1.Backup backups = 1;
    */
-  java.util.List 
-      getBackupsList();
+  java.util.List getBackupsList();
   /**
+   *
+   *
    * 
    * The list of matching backups. Backups returned are ordered by `create_time`
    * in descending order, starting from the most recent `create_time`.
@@ -27,6 +46,8 @@ public interface ListBackupsResponseOrBuilder extends
    */
   com.google.spanner.admin.database.v1.Backup getBackups(int index);
   /**
+   *
+   *
    * 
    * The list of matching backups. Backups returned are ordered by `create_time`
    * in descending order, starting from the most recent `create_time`.
@@ -36,6 +57,8 @@ public interface ListBackupsResponseOrBuilder extends
    */
   int getBackupsCount();
   /**
+   *
+   *
    * 
    * The list of matching backups. Backups returned are ordered by `create_time`
    * in descending order, starting from the most recent `create_time`.
@@ -43,9 +66,11 @@ public interface ListBackupsResponseOrBuilder extends
    *
    * repeated .google.spanner.admin.database.v1.Backup backups = 1;
    */
-  java.util.List 
+  java.util.List
       getBackupsOrBuilderList();
   /**
+   *
+   *
    * 
    * The list of matching backups. Backups returned are ordered by `create_time`
    * in descending order, starting from the most recent `create_time`.
@@ -53,10 +78,11 @@ public interface ListBackupsResponseOrBuilder extends
    *
    * repeated .google.spanner.admin.database.v1.Backup backups = 1;
    */
-  com.google.spanner.admin.database.v1.BackupOrBuilder getBackupsOrBuilder(
-      int index);
+  com.google.spanner.admin.database.v1.BackupOrBuilder getBackupsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * `next_page_token` can be sent in a subsequent
    * [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups] call to fetch more
@@ -64,10 +90,13 @@ com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.DatabaseAdmin.ListBackups] call to fetch more
@@ -75,8 +104,8 @@ com.google.spanner.admin.database.v1.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/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsRequest.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsRequest.java similarity index 77% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsRequest.java rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsRequest.java index d3120532eb6..9bf375def87 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsRequest.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/spanner_database_admin.proto package com.google.spanner.admin.database.v1; /** + * + * *
  * The request for
  * [ListDatabaseOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.spanner.admin.database.v1.ListDatabaseOperationsRequest}
  */
-public final class ListDatabaseOperationsRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ListDatabaseOperationsRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.ListDatabaseOperationsRequest)
     ListDatabaseOperationsRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ListDatabaseOperationsRequest.newBuilder() to construct.
   private ListDatabaseOperationsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ListDatabaseOperationsRequest() {
     parent_ = "";
     filter_ = "";
@@ -28,39 +46,46 @@ private ListDatabaseOperationsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListDatabaseOperationsRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
+        .internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsRequest_fieldAccessorTable
+    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
+        .internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest.class, com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest.Builder.class);
+            com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest.class,
+            com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
+   *
+   *
    * 
    * Required. The instance of the database operations.
    * Values are of the form `projects/<project>/instances/<instance>`.
    * 
* - * string parent = 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 +94,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 instance of the database operations.
    * Values are of the form `projects/<project>/instances/<instance>`.
    * 
* - * string parent = 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,9 +128,12 @@ public java.lang.String getParent() { } public static final int FILTER_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** + * + * *
    * An expression that filters the list of returned operations.
    * A filter expression consists of a field name, a
@@ -144,6 +174,7 @@ public java.lang.String getParent() {
    * 
* * string filter = 2; + * * @return The filter. */ @java.lang.Override @@ -152,14 +183,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; } } /** + * + * *
    * An expression that filters the list of returned operations.
    * A filter expression consists of a field name, a
@@ -200,16 +232,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 { @@ -220,12 +251,15 @@ public java.lang.String getFilter() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_ = 0; /** + * + * *
    * Number of operations to be returned in the response. If 0 or
    * less, defaults to the server's maximum allowed page size.
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -234,9 +268,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.database.v1.ListDatabaseOperationsResponse.next_page_token]
@@ -245,6 +282,7 @@ public int getPageSize() {
    * 
* * string page_token = 4; + * * @return The pageToken. */ @java.lang.Override @@ -253,14 +291,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.spanner.admin.database.v1.ListDatabaseOperationsResponse.next_page_token]
@@ -269,16 +308,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; + * * @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 { @@ -287,6 +325,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -298,8 +337,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_); } @@ -328,8 +366,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filter_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -342,21 +379,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.spanner.admin.database.v1.ListDatabaseOperationsRequest)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest other = (com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest other = + (com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -382,96 +416,105 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest 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.spanner.admin.database.v1.ListDatabaseOperationsRequest + 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.spanner.admin.database.v1.ListDatabaseOperationsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest prototype) { + + public static Builder newBuilder( + com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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
    * [ListDatabaseOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations].
@@ -479,33 +522,33 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.spanner.admin.database.v1.ListDatabaseOperationsRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.ListDatabaseOperationsRequest)
       com.google.spanner.admin.database.v1.ListDatabaseOperationsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
+          .internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsRequest_fieldAccessorTable
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
+          .internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest.class, com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest.Builder.class);
+              com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest.class,
+              com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest.Builder.class);
     }
 
-    // Construct using com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest.newBuilder()
-    private Builder() {
+    // Construct using
+    // com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest.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();
@@ -518,14 +561,16 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
+          .internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest getDefaultInstanceForType() {
-      return com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest.getDefaultInstance();
+    public com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest
+        getDefaultInstanceForType() {
+      return com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest
+          .getDefaultInstance();
     }
 
     @java.lang.Override
@@ -539,13 +584,17 @@ public com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest build(
 
     @java.lang.Override
     public com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest buildPartial() {
-      com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest result = new com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest result =
+          new com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest result) {
+    private void buildPartial0(
+        com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.parent_ = parent_;
@@ -565,46 +614,51 @@ private void buildPartial0(com.google.spanner.admin.database.v1.ListDatabaseOper
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest) {
-        return mergeFrom((com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest)other);
+        return mergeFrom(
+            (com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest other) {
-      if (other == com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest other) {
+      if (other
+          == com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest
+              .getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -649,32 +703,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 24: {
-              pageSize_ = input.readInt32();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 24
-            case 34: {
-              pageToken_ = input.readStringRequireUtf8();
-              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:
+              {
+                filter_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 24:
+              {
+                pageSize_ = input.readInt32();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 24
+            case 34:
+              {
+                pageToken_ = 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) {
@@ -684,23 +743,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. The instance of the database operations.
      * Values are of the form `projects/<project>/instances/<instance>`.
      * 
* - * string parent = 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; @@ -709,21 +773,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The instance of the database operations.
      * Values are of the form `projects/<project>/instances/<instance>`.
      * 
* - * string parent = 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 { @@ -731,30 +798,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The instance of the database operations.
      * Values are of the form `projects/<project>/instances/<instance>`.
      * 
* - * 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 instance of the database operations.
      * Values are of the form `projects/<project>/instances/<instance>`.
      * 
* - * string 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() { @@ -764,18 +842,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The instance of the database operations.
      * Values are of the form `projects/<project>/instances/<instance>`.
      * 
* - * 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; @@ -785,6 +869,8 @@ public Builder setParentBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * An expression that filters the list of returned operations.
      * A filter expression consists of a field name, a
@@ -825,13 +911,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; @@ -840,6 +926,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * An expression that filters the list of returned operations.
      * A filter expression consists of a field name, a
@@ -880,15 +968,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 { @@ -896,6 +983,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * An expression that filters the list of returned operations.
      * A filter expression consists of a field name, a
@@ -936,18 +1025,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; } /** + * + * *
      * An expression that filters the list of returned operations.
      * A filter expression consists of a field name, a
@@ -988,6 +1081,7 @@ public Builder setFilter(
      * 
* * string filter = 2; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -997,6 +1091,8 @@ public Builder clearFilter() { return this; } /** + * + * *
      * An expression that filters the list of returned operations.
      * A filter expression consists of a field name, a
@@ -1037,12 +1133,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; @@ -1050,14 +1148,17 @@ public Builder setFilterBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Number of operations to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -1065,29 +1166,35 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Number of operations to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 3; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Number of operations to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 3; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -1099,6 +1206,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListDatabaseOperationsResponse.next_page_token]
@@ -1107,13 +1216,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4; + * * @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; @@ -1122,6 +1231,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListDatabaseOperationsResponse.next_page_token]
@@ -1130,15 +1241,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @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 { @@ -1146,6 +1256,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListDatabaseOperationsResponse.next_page_token]
@@ -1154,18 +1266,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @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; } /** + * + * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListDatabaseOperationsResponse.next_page_token]
@@ -1174,6 +1290,7 @@ public Builder setPageToken(
      * 
* * string page_token = 4; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1183,6 +1300,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListDatabaseOperationsResponse.next_page_token]
@@ -1191,21 +1310,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; + * * @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); } @@ -1215,41 +1336,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.ListDatabaseOperationsRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.ListDatabaseOperationsRequest) - private static final com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest DEFAULT_INSTANCE; + private static final com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest(); } - public static com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest getDefaultInstance() { + public static com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDatabaseOperationsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDatabaseOperationsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1261,9 +1384,8 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest getDefaultInstanceForType() { + public com.google.spanner.admin.database.v1.ListDatabaseOperationsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsRequestOrBuilder.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsRequestOrBuilder.java similarity index 85% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsRequestOrBuilder.java rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsRequestOrBuilder.java index 9dac6e6a6f1..e020307e57f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsRequestOrBuilder.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/spanner_database_admin.proto package com.google.spanner.admin.database.v1; -public interface ListDatabaseOperationsRequestOrBuilder extends +public interface ListDatabaseOperationsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.ListDatabaseOperationsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The instance of the database operations.
    * Values are of the form `projects/<project>/instances/<instance>`.
    * 
* - * string parent = 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 instance of the database operations.
    * Values are of the form `projects/<project>/instances/<instance>`.
    * 
* - * string parent = 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(); /** + * + * *
    * An expression that filters the list of returned operations.
    * A filter expression consists of a field name, a
@@ -70,10 +97,13 @@ public interface ListDatabaseOperationsRequestOrBuilder extends
    * 
* * string filter = 2; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * An expression that filters the list of returned operations.
    * A filter expression consists of a field name, a
@@ -114,23 +144,28 @@ public interface ListDatabaseOperationsRequestOrBuilder extends
    * 
* * string filter = 2; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Number of operations to be returned in the response. If 0 or
    * less, defaults to the server's maximum allowed page size.
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.database.v1.ListDatabaseOperationsResponse.next_page_token]
@@ -139,10 +174,13 @@ public interface ListDatabaseOperationsRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.database.v1.ListDatabaseOperationsResponse.next_page_token]
@@ -151,8 +189,8 @@ public interface ListDatabaseOperationsRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsResponse.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsResponse.java similarity index 74% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsResponse.java rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsResponse.java index 780f58d523d..763faff8830 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsResponse.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsResponse.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/spanner_database_admin.proto package com.google.spanner.admin.database.v1; /** + * + * *
  * The response for
  * [ListDatabaseOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations].
@@ -11,15 +28,17 @@
  *
  * Protobuf type {@code google.spanner.admin.database.v1.ListDatabaseOperationsResponse}
  */
-public final class ListDatabaseOperationsResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ListDatabaseOperationsResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.ListDatabaseOperationsResponse)
     ListDatabaseOperationsResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ListDatabaseOperationsResponse.newBuilder() to construct.
-  private ListDatabaseOperationsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private ListDatabaseOperationsResponse(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ListDatabaseOperationsResponse() {
     operations_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -27,33 +46,37 @@ private ListDatabaseOperationsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListDatabaseOperationsResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsResponse_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
+        .internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsResponse_fieldAccessorTable
+    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
+        .internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse.class, com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse.Builder.class);
+            com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse.class,
+            com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse.Builder.class);
   }
 
   public static final int OPERATIONS_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private java.util.List operations_;
   /**
+   *
+   *
    * 
    * The list of matching database [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -69,6 +92,8 @@ public java.util.List getOperationsList() {
     return operations_;
   }
   /**
+   *
+   *
    * 
    * The list of matching database [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -80,11 +105,13 @@ public java.util.List getOperationsList() {
    * repeated .google.longrunning.Operation operations = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getOperationsOrBuilderList() {
     return operations_;
   }
   /**
+   *
+   *
    * 
    * The list of matching database [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -100,6 +127,8 @@ public int getOperationsCount() {
     return operations_.size();
   }
   /**
+   *
+   *
    * 
    * The list of matching database [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -115,6 +144,8 @@ public com.google.longrunning.Operation getOperations(int index) {
     return operations_.get(index);
   }
   /**
+   *
+   *
    * 
    * The list of matching database [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -126,15 +157,17 @@ public com.google.longrunning.Operation getOperations(int index) {
    * repeated .google.longrunning.Operation operations = 1;
    */
   @java.lang.Override
-  public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(
-      int index) {
+  public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(int index) {
     return operations_.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
    * [ListDatabaseOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations]
@@ -142,6 +175,7 @@ public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -150,14 +184,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
    * [ListDatabaseOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations]
@@ -165,16 +200,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 { @@ -183,6 +217,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -194,8 +229,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 < operations_.size(); i++) { output.writeMessage(1, operations_.get(i)); } @@ -212,8 +246,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < operations_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, operations_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, operations_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -226,17 +259,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.spanner.admin.database.v1.ListDatabaseOperationsResponse)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse other = (com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse) obj; + com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse other = + (com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse) obj; - if (!getOperationsList() - .equals(other.getOperationsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getOperationsList().equals(other.getOperationsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -260,96 +292,105 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse 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.spanner.admin.database.v1.ListDatabaseOperationsResponse + 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.spanner.admin.database.v1.ListDatabaseOperationsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse prototype) { + + public static Builder newBuilder( + com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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
    * [ListDatabaseOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations].
@@ -357,33 +398,33 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.spanner.admin.database.v1.ListDatabaseOperationsResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.ListDatabaseOperationsResponse)
       com.google.spanner.admin.database.v1.ListDatabaseOperationsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
+          .internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsResponse_fieldAccessorTable
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
+          .internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse.class, com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse.Builder.class);
+              com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse.class,
+              com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse.Builder.class);
     }
 
-    // Construct using com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse.newBuilder()
-    private Builder() {
+    // Construct using
+    // com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse.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();
@@ -400,14 +441,16 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
+          .internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsResponse_descriptor;
     }
 
     @java.lang.Override
-    public com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse getDefaultInstanceForType() {
-      return com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse.getDefaultInstance();
+    public com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse
+        getDefaultInstanceForType() {
+      return com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse
+          .getDefaultInstance();
     }
 
     @java.lang.Override
@@ -421,14 +464,18 @@ public com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse build
 
     @java.lang.Override
     public com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse buildPartial() {
-      com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse result = new com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse(this);
+      com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse result =
+          new com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse result) {
+    private void buildPartialRepeatedFields(
+        com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse result) {
       if (operationsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           operations_ = java.util.Collections.unmodifiableList(operations_);
@@ -440,7 +487,8 @@ private void buildPartialRepeatedFields(com.google.spanner.admin.database.v1.Lis
       }
     }
 
-    private void buildPartial0(com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse result) {
+    private void buildPartial0(
+        com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000002) != 0)) {
         result.nextPageToken_ = nextPageToken_;
@@ -451,46 +499,51 @@ private void buildPartial0(com.google.spanner.admin.database.v1.ListDatabaseOper
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse) {
-        return mergeFrom((com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse)other);
+        return mergeFrom(
+            (com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse other) {
-      if (other == com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse other) {
+      if (other
+          == com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse
+              .getDefaultInstance()) return this;
       if (operationsBuilder_ == null) {
         if (!other.operations_.isEmpty()) {
           if (operations_.isEmpty()) {
@@ -509,9 +562,10 @@ public Builder mergeFrom(com.google.spanner.admin.database.v1.ListDatabaseOperat
             operationsBuilder_ = null;
             operations_ = other.operations_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            operationsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getOperationsFieldBuilder() : null;
+            operationsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getOperationsFieldBuilder()
+                    : null;
           } else {
             operationsBuilder_.addAllMessages(other.operations_);
           }
@@ -548,30 +602,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.longrunning.Operation m =
-                  input.readMessage(
-                      com.google.longrunning.Operation.parser(),
-                      extensionRegistry);
-              if (operationsBuilder_ == null) {
-                ensureOperationsIsMutable();
-                operations_.add(m);
-              } else {
-                operationsBuilder_.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.longrunning.Operation m =
+                    input.readMessage(com.google.longrunning.Operation.parser(), extensionRegistry);
+                if (operationsBuilder_ == null) {
+                  ensureOperationsIsMutable();
+                  operations_.add(m);
+                } else {
+                  operationsBuilder_.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) {
@@ -581,21 +636,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.util.List operations_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureOperationsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         operations_ = new java.util.ArrayList(operations_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.longrunning.Operation, com.google.longrunning.Operation.Builder, com.google.longrunning.OperationOrBuilder> operationsBuilder_;
+            com.google.longrunning.Operation,
+            com.google.longrunning.Operation.Builder,
+            com.google.longrunning.OperationOrBuilder>
+        operationsBuilder_;
 
     /**
+     *
+     *
      * 
      * The list of matching database [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -614,6 +676,8 @@ public java.util.List getOperationsList() {
       }
     }
     /**
+     *
+     *
      * 
      * The list of matching database [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -632,6 +696,8 @@ public int getOperationsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The list of matching database [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -650,6 +716,8 @@ public com.google.longrunning.Operation getOperations(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The list of matching database [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -660,8 +728,7 @@ public com.google.longrunning.Operation getOperations(int index) {
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public Builder setOperations(
-        int index, com.google.longrunning.Operation value) {
+    public Builder setOperations(int index, com.google.longrunning.Operation value) {
       if (operationsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -675,6 +742,8 @@ public Builder setOperations(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of matching database [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -697,6 +766,8 @@ public Builder setOperations(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of matching database [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -721,6 +792,8 @@ public Builder addOperations(com.google.longrunning.Operation value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of matching database [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -731,8 +804,7 @@ public Builder addOperations(com.google.longrunning.Operation value) {
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public Builder addOperations(
-        int index, com.google.longrunning.Operation value) {
+    public Builder addOperations(int index, com.google.longrunning.Operation value) {
       if (operationsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -746,6 +818,8 @@ public Builder addOperations(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of matching database [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -756,8 +830,7 @@ public Builder addOperations(
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public Builder addOperations(
-        com.google.longrunning.Operation.Builder builderForValue) {
+    public Builder addOperations(com.google.longrunning.Operation.Builder builderForValue) {
       if (operationsBuilder_ == null) {
         ensureOperationsIsMutable();
         operations_.add(builderForValue.build());
@@ -768,6 +841,8 @@ public Builder addOperations(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of matching database [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -790,6 +865,8 @@ public Builder addOperations(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of matching database [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -804,8 +881,7 @@ public Builder addAllOperations(
         java.lang.Iterable values) {
       if (operationsBuilder_ == null) {
         ensureOperationsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, operations_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, operations_);
         onChanged();
       } else {
         operationsBuilder_.addAllMessages(values);
@@ -813,6 +889,8 @@ public Builder addAllOperations(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of matching database [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -834,6 +912,8 @@ public Builder clearOperations() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of matching database [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -855,6 +935,8 @@ public Builder removeOperations(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of matching database [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -865,11 +947,12 @@ public Builder removeOperations(int index) {
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public com.google.longrunning.Operation.Builder getOperationsBuilder(
-        int index) {
+    public com.google.longrunning.Operation.Builder getOperationsBuilder(int index) {
       return getOperationsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The list of matching database [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -880,14 +963,16 @@ public com.google.longrunning.Operation.Builder getOperationsBuilder(
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(
-        int index) {
+    public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(int index) {
       if (operationsBuilder_ == null) {
-        return operations_.get(index);  } else {
+        return operations_.get(index);
+      } else {
         return operationsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The list of matching database [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -898,8 +983,8 @@ public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public java.util.List 
-         getOperationsOrBuilderList() {
+    public java.util.List
+        getOperationsOrBuilderList() {
       if (operationsBuilder_ != null) {
         return operationsBuilder_.getMessageOrBuilderList();
       } else {
@@ -907,6 +992,8 @@ public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * The list of matching database [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -918,10 +1005,12 @@ public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(
      * repeated .google.longrunning.Operation operations = 1;
      */
     public com.google.longrunning.Operation.Builder addOperationsBuilder() {
-      return getOperationsFieldBuilder().addBuilder(
-          com.google.longrunning.Operation.getDefaultInstance());
+      return getOperationsFieldBuilder()
+          .addBuilder(com.google.longrunning.Operation.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The list of matching database [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -932,12 +1021,13 @@ public com.google.longrunning.Operation.Builder addOperationsBuilder() {
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public com.google.longrunning.Operation.Builder addOperationsBuilder(
-        int index) {
-      return getOperationsFieldBuilder().addBuilder(
-          index, com.google.longrunning.Operation.getDefaultInstance());
+    public com.google.longrunning.Operation.Builder addOperationsBuilder(int index) {
+      return getOperationsFieldBuilder()
+          .addBuilder(index, com.google.longrunning.Operation.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The list of matching database [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -948,20 +1038,22 @@ public com.google.longrunning.Operation.Builder addOperationsBuilder(
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public java.util.List 
-         getOperationsBuilderList() {
+    public java.util.List getOperationsBuilderList() {
       return getOperationsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.longrunning.Operation, com.google.longrunning.Operation.Builder, com.google.longrunning.OperationOrBuilder> 
+            com.google.longrunning.Operation,
+            com.google.longrunning.Operation.Builder,
+            com.google.longrunning.OperationOrBuilder>
         getOperationsFieldBuilder() {
       if (operationsBuilder_ == null) {
-        operationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.longrunning.Operation, com.google.longrunning.Operation.Builder, com.google.longrunning.OperationOrBuilder>(
-                operations_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        operationsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.longrunning.Operation,
+                com.google.longrunning.Operation.Builder,
+                com.google.longrunning.OperationOrBuilder>(
+                operations_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         operations_ = null;
       }
       return operationsBuilder_;
@@ -969,6 +1061,8 @@ public com.google.longrunning.Operation.Builder addOperationsBuilder(
 
     private java.lang.Object nextPageToken_ = "";
     /**
+     *
+     *
      * 
      * `next_page_token` can be sent in a subsequent
      * [ListDatabaseOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations]
@@ -976,13 +1070,13 @@ public com.google.longrunning.Operation.Builder addOperationsBuilder(
      * 
* * 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; @@ -991,6 +1085,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * `next_page_token` can be sent in a subsequent
      * [ListDatabaseOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations]
@@ -998,15 +1094,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 { @@ -1014,6 +1109,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * `next_page_token` can be sent in a subsequent
      * [ListDatabaseOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations]
@@ -1021,18 +1118,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
      * [ListDatabaseOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations]
@@ -1040,6 +1141,7 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1049,6 +1151,8 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * `next_page_token` can be sent in a subsequent
      * [ListDatabaseOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations]
@@ -1056,21 +1160,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); } @@ -1080,41 +1186,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.ListDatabaseOperationsResponse) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.ListDatabaseOperationsResponse) - private static final com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse DEFAULT_INSTANCE; + private static final com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse(); } - public static com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse getDefaultInstance() { + public static com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDatabaseOperationsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDatabaseOperationsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1126,9 +1234,8 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse getDefaultInstanceForType() { + public com.google.spanner.admin.database.v1.ListDatabaseOperationsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsResponseOrBuilder.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsResponseOrBuilder.java similarity index 78% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsResponseOrBuilder.java rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsResponseOrBuilder.java index fee7430e1b8..786c6fc2317 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsResponseOrBuilder.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseOperationsResponseOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/spanner_database_admin.proto package com.google.spanner.admin.database.v1; -public interface ListDatabaseOperationsResponseOrBuilder extends +public interface ListDatabaseOperationsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.ListDatabaseOperationsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The list of matching database [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -18,9 +36,10 @@ public interface ListDatabaseOperationsResponseOrBuilder extends
    *
    * repeated .google.longrunning.Operation operations = 1;
    */
-  java.util.List 
-      getOperationsList();
+  java.util.List getOperationsList();
   /**
+   *
+   *
    * 
    * The list of matching database [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -33,6 +52,8 @@ public interface ListDatabaseOperationsResponseOrBuilder extends
    */
   com.google.longrunning.Operation getOperations(int index);
   /**
+   *
+   *
    * 
    * The list of matching database [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -45,6 +66,8 @@ public interface ListDatabaseOperationsResponseOrBuilder extends
    */
   int getOperationsCount();
   /**
+   *
+   *
    * 
    * The list of matching database [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -55,9 +78,10 @@ public interface ListDatabaseOperationsResponseOrBuilder extends
    *
    * repeated .google.longrunning.Operation operations = 1;
    */
-  java.util.List 
-      getOperationsOrBuilderList();
+  java.util.List getOperationsOrBuilderList();
   /**
+   *
+   *
    * 
    * The list of matching database [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -68,10 +92,11 @@ public interface ListDatabaseOperationsResponseOrBuilder extends
    *
    * repeated .google.longrunning.Operation operations = 1;
    */
-  com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(
-      int index);
+  com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * `next_page_token` can be sent in a subsequent
    * [ListDatabaseOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations]
@@ -79,10 +104,13 @@ com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * `next_page_token` can be sent in a subsequent
    * [ListDatabaseOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations]
@@ -90,8 +118,8 @@ com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(
    * 
* * 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/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesRequest.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesRequest.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesRequest.java rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesRequest.java index f5f05e15433..4b7453090ce 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesRequest.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/spanner_database_admin.proto package com.google.spanner.admin.database.v1; /** + * + * *
  * The request for [ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles].
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.ListDatabaseRolesRequest} */ -public final class ListDatabaseRolesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListDatabaseRolesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.ListDatabaseRolesRequest) ListDatabaseRolesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListDatabaseRolesRequest.newBuilder() to construct. private ListDatabaseRolesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListDatabaseRolesRequest() { parent_ = ""; pageToken_ = ""; @@ -26,40 +44,47 @@ private ListDatabaseRolesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListDatabaseRolesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabaseRolesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto + .internal_static_google_spanner_admin_database_v1_ListDatabaseRolesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabaseRolesRequest_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto + .internal_static_google_spanner_admin_database_v1_ListDatabaseRolesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.ListDatabaseRolesRequest.class, com.google.spanner.admin.database.v1.ListDatabaseRolesRequest.Builder.class); + com.google.spanner.admin.database.v1.ListDatabaseRolesRequest.class, + com.google.spanner.admin.database.v1.ListDatabaseRolesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The database whose roles should be listed.
    * Values are of the form
    * `projects/<project>/instances/<instance>/databases/<database>/databaseRoles`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -68,31 +93,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 database whose roles should be listed.
    * Values are of the form
    * `projects/<project>/instances/<instance>/databases/<database>/databaseRoles`.
    * 
* - * string parent = 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 { @@ -103,12 +130,15 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * Number of database roles to be returned in the response. If 0 or less,
    * defaults to the server's maximum allowed page size.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -117,9 +147,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.database.v1.ListDatabaseRolesResponse.next_page_token] from a
@@ -127,6 +160,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -135,14 +169,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.spanner.admin.database.v1.ListDatabaseRolesResponse.next_page_token] from a
@@ -150,16 +185,15 @@ public java.lang.String getPageToken() {
    * 
* * 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 { @@ -168,6 +202,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,8 +214,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_); } @@ -203,8 +237,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_); @@ -217,19 +250,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.spanner.admin.database.v1.ListDatabaseRolesRequest)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.ListDatabaseRolesRequest other = (com.google.spanner.admin.database.v1.ListDatabaseRolesRequest) obj; + com.google.spanner.admin.database.v1.ListDatabaseRolesRequest other = + (com.google.spanner.admin.database.v1.ListDatabaseRolesRequest) 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; } @@ -253,129 +284,136 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.ListDatabaseRolesRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.ListDatabaseRolesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.admin.database.v1.ListDatabaseRolesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.ListDatabaseRolesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.admin.database.v1.ListDatabaseRolesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.ListDatabaseRolesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.ListDatabaseRolesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.spanner.admin.database.v1.ListDatabaseRolesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.ListDatabaseRolesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.ListDatabaseRolesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.spanner.admin.database.v1.ListDatabaseRolesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.ListDatabaseRolesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.spanner.admin.database.v1.ListDatabaseRolesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.ListDatabaseRolesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.admin.database.v1.ListDatabaseRolesRequest prototype) { + + public static Builder newBuilder( + com.google.spanner.admin.database.v1.ListDatabaseRolesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles].
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.ListDatabaseRolesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.ListDatabaseRolesRequest) com.google.spanner.admin.database.v1.ListDatabaseRolesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabaseRolesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto + .internal_static_google_spanner_admin_database_v1_ListDatabaseRolesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabaseRolesRequest_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto + .internal_static_google_spanner_admin_database_v1_ListDatabaseRolesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.ListDatabaseRolesRequest.class, com.google.spanner.admin.database.v1.ListDatabaseRolesRequest.Builder.class); + com.google.spanner.admin.database.v1.ListDatabaseRolesRequest.class, + com.google.spanner.admin.database.v1.ListDatabaseRolesRequest.Builder.class); } // Construct using com.google.spanner.admin.database.v1.ListDatabaseRolesRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - 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,13 +425,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabaseRolesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto + .internal_static_google_spanner_admin_database_v1_ListDatabaseRolesRequest_descriptor; } @java.lang.Override - public com.google.spanner.admin.database.v1.ListDatabaseRolesRequest getDefaultInstanceForType() { + public com.google.spanner.admin.database.v1.ListDatabaseRolesRequest + getDefaultInstanceForType() { return com.google.spanner.admin.database.v1.ListDatabaseRolesRequest.getDefaultInstance(); } @@ -408,13 +447,17 @@ public com.google.spanner.admin.database.v1.ListDatabaseRolesRequest build() { @java.lang.Override public com.google.spanner.admin.database.v1.ListDatabaseRolesRequest buildPartial() { - com.google.spanner.admin.database.v1.ListDatabaseRolesRequest result = new com.google.spanner.admin.database.v1.ListDatabaseRolesRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.spanner.admin.database.v1.ListDatabaseRolesRequest result = + new com.google.spanner.admin.database.v1.ListDatabaseRolesRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.spanner.admin.database.v1.ListDatabaseRolesRequest result) { + private void buildPartial0( + com.google.spanner.admin.database.v1.ListDatabaseRolesRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -431,38 +474,39 @@ private void buildPartial0(com.google.spanner.admin.database.v1.ListDatabaseRole public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.admin.database.v1.ListDatabaseRolesRequest) { - return mergeFrom((com.google.spanner.admin.database.v1.ListDatabaseRolesRequest)other); + return mergeFrom((com.google.spanner.admin.database.v1.ListDatabaseRolesRequest) other); } else { super.mergeFrom(other); return this; @@ -470,7 +514,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.admin.database.v1.ListDatabaseRolesRequest other) { - if (other == com.google.spanner.admin.database.v1.ListDatabaseRolesRequest.getDefaultInstance()) return this; + if (other + == com.google.spanner.admin.database.v1.ListDatabaseRolesRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -510,27 +556,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) { @@ -540,24 +590,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The database whose roles should be listed.
      * Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>/databaseRoles`.
      * 
* - * string parent = 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; @@ -566,22 +621,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The database whose roles should be listed.
      * Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>/databaseRoles`.
      * 
* - * string parent = 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,32 +647,43 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The database whose roles should be listed.
      * Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>/databaseRoles`.
      * 
* - * 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 database whose roles should be listed.
      * Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>/databaseRoles`.
      * 
* - * string 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() { @@ -624,19 +693,25 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The database whose roles should be listed.
      * Values are of the form
      * `projects/<project>/instances/<instance>/databases/<database>/databaseRoles`.
      * 
* - * 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; @@ -644,14 +719,17 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Number of database roles to be returned in the response. If 0 or less,
      * defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -659,29 +737,35 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Number of database roles to be returned in the response. If 0 or less,
      * defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Number of database roles to be returned in the response. If 0 or less,
      * defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -693,6 +777,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListDatabaseRolesResponse.next_page_token] from a
@@ -700,13 +786,13 @@ public Builder clearPageSize() {
      * 
* * 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; @@ -715,6 +801,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListDatabaseRolesResponse.next_page_token] from a
@@ -722,15 +810,14 @@ public java.lang.String getPageToken() {
      * 
* * 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 { @@ -738,6 +825,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListDatabaseRolesResponse.next_page_token] from a
@@ -745,18 +834,22 @@ public java.lang.String getPageToken() {
      * 
* * 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; } /** + * + * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListDatabaseRolesResponse.next_page_token] from a
@@ -764,6 +857,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -773,6 +867,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListDatabaseRolesResponse.next_page_token] from a
@@ -780,21 +876,23 @@ public Builder clearPageToken() {
      * 
* * 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); } @@ -804,12 +902,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.ListDatabaseRolesRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.ListDatabaseRolesRequest) - private static final com.google.spanner.admin.database.v1.ListDatabaseRolesRequest DEFAULT_INSTANCE; + private static final com.google.spanner.admin.database.v1.ListDatabaseRolesRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.ListDatabaseRolesRequest(); } @@ -818,27 +917,27 @@ public static com.google.spanner.admin.database.v1.ListDatabaseRolesRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDatabaseRolesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDatabaseRolesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -853,6 +952,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.ListDatabaseRolesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesRequestOrBuilder.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesRequestOrBuilder.java similarity index 63% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesRequestOrBuilder.java rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesRequestOrBuilder.java index 68535413a63..c9537a1b835 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesRequestOrBuilder.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesRequestOrBuilder.java @@ -1,48 +1,78 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/spanner_database_admin.proto package com.google.spanner.admin.database.v1; -public interface ListDatabaseRolesRequestOrBuilder extends +public interface ListDatabaseRolesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.ListDatabaseRolesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The database whose roles should be listed.
    * Values are of the form
    * `projects/<project>/instances/<instance>/databases/<database>/databaseRoles`.
    * 
* - * string parent = 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 database whose roles should be listed.
    * Values are of the form
    * `projects/<project>/instances/<instance>/databases/<database>/databaseRoles`.
    * 
* - * string parent = 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(); /** + * + * *
    * Number of database roles to be returned in the response. If 0 or less,
    * defaults to the server's maximum allowed page size.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.database.v1.ListDatabaseRolesResponse.next_page_token] from a
@@ -50,10 +80,13 @@ public interface ListDatabaseRolesRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.database.v1.ListDatabaseRolesResponse.next_page_token] from a
@@ -61,8 +94,8 @@ public interface ListDatabaseRolesRequestOrBuilder extends
    * 
* * 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/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesResponse.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesResponse.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesResponse.java rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesResponse.java index 1e7c67eea88..ac539aa5acf 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesResponse.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/spanner_database_admin.proto package com.google.spanner.admin.database.v1; /** + * + * *
  * The response for [ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles].
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.ListDatabaseRolesResponse} */ -public final class ListDatabaseRolesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListDatabaseRolesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.ListDatabaseRolesResponse) ListDatabaseRolesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListDatabaseRolesResponse.newBuilder() to construct. private ListDatabaseRolesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListDatabaseRolesResponse() { databaseRoles_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,33 +44,37 @@ private ListDatabaseRolesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListDatabaseRolesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabaseRolesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto + .internal_static_google_spanner_admin_database_v1_ListDatabaseRolesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabaseRolesResponse_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto + .internal_static_google_spanner_admin_database_v1_ListDatabaseRolesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.ListDatabaseRolesResponse.class, com.google.spanner.admin.database.v1.ListDatabaseRolesResponse.Builder.class); + com.google.spanner.admin.database.v1.ListDatabaseRolesResponse.class, + com.google.spanner.admin.database.v1.ListDatabaseRolesResponse.Builder.class); } public static final int DATABASE_ROLES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List databaseRoles_; /** + * + * *
    * Database roles that matched the request.
    * 
@@ -64,6 +86,8 @@ public java.util.List getData return databaseRoles_; } /** + * + * *
    * Database roles that matched the request.
    * 
@@ -71,11 +95,13 @@ public java.util.List getData * repeated .google.spanner.admin.database.v1.DatabaseRole database_roles = 1; */ @java.lang.Override - public java.util.List + public java.util.List getDatabaseRolesOrBuilderList() { return databaseRoles_; } /** + * + * *
    * Database roles that matched the request.
    * 
@@ -87,6 +113,8 @@ public int getDatabaseRolesCount() { return databaseRoles_.size(); } /** + * + * *
    * Database roles that matched the request.
    * 
@@ -98,6 +126,8 @@ public com.google.spanner.admin.database.v1.DatabaseRole getDatabaseRoles(int in return databaseRoles_.get(index); } /** + * + * *
    * Database roles that matched the request.
    * 
@@ -111,9 +141,12 @@ public com.google.spanner.admin.database.v1.DatabaseRoleOrBuilder getDatabaseRol } 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
    * [ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles]
@@ -121,6 +154,7 @@ public com.google.spanner.admin.database.v1.DatabaseRoleOrBuilder getDatabaseRol
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -129,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; } } /** + * + * *
    * `next_page_token` can be sent in a subsequent
    * [ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles]
@@ -144,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 { @@ -162,6 +196,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -173,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 < databaseRoles_.size(); i++) { output.writeMessage(1, databaseRoles_.get(i)); } @@ -191,8 +225,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < databaseRoles_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, databaseRoles_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, databaseRoles_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -205,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.spanner.admin.database.v1.ListDatabaseRolesResponse)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.ListDatabaseRolesResponse other = (com.google.spanner.admin.database.v1.ListDatabaseRolesResponse) obj; + com.google.spanner.admin.database.v1.ListDatabaseRolesResponse other = + (com.google.spanner.admin.database.v1.ListDatabaseRolesResponse) obj; - if (!getDatabaseRolesList() - .equals(other.getDatabaseRolesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getDatabaseRolesList().equals(other.getDatabaseRolesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -239,129 +271,136 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.ListDatabaseRolesResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.ListDatabaseRolesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.admin.database.v1.ListDatabaseRolesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.ListDatabaseRolesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.ListDatabaseRolesResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.spanner.admin.database.v1.ListDatabaseRolesResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.ListDatabaseRolesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.ListDatabaseRolesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.spanner.admin.database.v1.ListDatabaseRolesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.ListDatabaseRolesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.ListDatabaseRolesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.spanner.admin.database.v1.ListDatabaseRolesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.ListDatabaseRolesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.spanner.admin.database.v1.ListDatabaseRolesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.ListDatabaseRolesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.admin.database.v1.ListDatabaseRolesResponse prototype) { + + public static Builder newBuilder( + com.google.spanner.admin.database.v1.ListDatabaseRolesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles].
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.ListDatabaseRolesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.ListDatabaseRolesResponse) com.google.spanner.admin.database.v1.ListDatabaseRolesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabaseRolesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto + .internal_static_google_spanner_admin_database_v1_ListDatabaseRolesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabaseRolesResponse_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto + .internal_static_google_spanner_admin_database_v1_ListDatabaseRolesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.ListDatabaseRolesResponse.class, com.google.spanner.admin.database.v1.ListDatabaseRolesResponse.Builder.class); + com.google.spanner.admin.database.v1.ListDatabaseRolesResponse.class, + com.google.spanner.admin.database.v1.ListDatabaseRolesResponse.Builder.class); } // Construct using com.google.spanner.admin.database.v1.ListDatabaseRolesResponse.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -378,13 +417,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabaseRolesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto + .internal_static_google_spanner_admin_database_v1_ListDatabaseRolesResponse_descriptor; } @java.lang.Override - public com.google.spanner.admin.database.v1.ListDatabaseRolesResponse getDefaultInstanceForType() { + public com.google.spanner.admin.database.v1.ListDatabaseRolesResponse + getDefaultInstanceForType() { return com.google.spanner.admin.database.v1.ListDatabaseRolesResponse.getDefaultInstance(); } @@ -399,14 +439,18 @@ public com.google.spanner.admin.database.v1.ListDatabaseRolesResponse build() { @java.lang.Override public com.google.spanner.admin.database.v1.ListDatabaseRolesResponse buildPartial() { - com.google.spanner.admin.database.v1.ListDatabaseRolesResponse result = new com.google.spanner.admin.database.v1.ListDatabaseRolesResponse(this); + com.google.spanner.admin.database.v1.ListDatabaseRolesResponse result = + new com.google.spanner.admin.database.v1.ListDatabaseRolesResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.spanner.admin.database.v1.ListDatabaseRolesResponse result) { + private void buildPartialRepeatedFields( + com.google.spanner.admin.database.v1.ListDatabaseRolesResponse result) { if (databaseRolesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { databaseRoles_ = java.util.Collections.unmodifiableList(databaseRoles_); @@ -418,7 +462,8 @@ private void buildPartialRepeatedFields(com.google.spanner.admin.database.v1.Lis } } - private void buildPartial0(com.google.spanner.admin.database.v1.ListDatabaseRolesResponse result) { + private void buildPartial0( + com.google.spanner.admin.database.v1.ListDatabaseRolesResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -429,38 +474,39 @@ private void buildPartial0(com.google.spanner.admin.database.v1.ListDatabaseRole public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.admin.database.v1.ListDatabaseRolesResponse) { - return mergeFrom((com.google.spanner.admin.database.v1.ListDatabaseRolesResponse)other); + return mergeFrom((com.google.spanner.admin.database.v1.ListDatabaseRolesResponse) other); } else { super.mergeFrom(other); return this; @@ -468,7 +514,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.admin.database.v1.ListDatabaseRolesResponse other) { - if (other == com.google.spanner.admin.database.v1.ListDatabaseRolesResponse.getDefaultInstance()) return this; + if (other + == com.google.spanner.admin.database.v1.ListDatabaseRolesResponse.getDefaultInstance()) + return this; if (databaseRolesBuilder_ == null) { if (!other.databaseRoles_.isEmpty()) { if (databaseRoles_.isEmpty()) { @@ -487,9 +535,10 @@ public Builder mergeFrom(com.google.spanner.admin.database.v1.ListDatabaseRolesR databaseRolesBuilder_ = null; databaseRoles_ = other.databaseRoles_; bitField0_ = (bitField0_ & ~0x00000001); - databaseRolesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getDatabaseRolesFieldBuilder() : null; + databaseRolesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getDatabaseRolesFieldBuilder() + : null; } else { databaseRolesBuilder_.addAllMessages(other.databaseRoles_); } @@ -526,30 +575,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.spanner.admin.database.v1.DatabaseRole m = - input.readMessage( - com.google.spanner.admin.database.v1.DatabaseRole.parser(), - extensionRegistry); - if (databaseRolesBuilder_ == null) { - ensureDatabaseRolesIsMutable(); - databaseRoles_.add(m); - } else { - databaseRolesBuilder_.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.spanner.admin.database.v1.DatabaseRole m = + input.readMessage( + com.google.spanner.admin.database.v1.DatabaseRole.parser(), + extensionRegistry); + if (databaseRolesBuilder_ == null) { + ensureDatabaseRolesIsMutable(); + databaseRoles_.add(m); + } else { + databaseRolesBuilder_.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) { @@ -559,28 +611,38 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List databaseRoles_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureDatabaseRolesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - databaseRoles_ = new java.util.ArrayList(databaseRoles_); + databaseRoles_ = + new java.util.ArrayList( + databaseRoles_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.admin.database.v1.DatabaseRole, com.google.spanner.admin.database.v1.DatabaseRole.Builder, com.google.spanner.admin.database.v1.DatabaseRoleOrBuilder> databaseRolesBuilder_; + com.google.spanner.admin.database.v1.DatabaseRole, + com.google.spanner.admin.database.v1.DatabaseRole.Builder, + com.google.spanner.admin.database.v1.DatabaseRoleOrBuilder> + databaseRolesBuilder_; /** + * + * *
      * Database roles that matched the request.
      * 
* * repeated .google.spanner.admin.database.v1.DatabaseRole database_roles = 1; */ - public java.util.List getDatabaseRolesList() { + public java.util.List + getDatabaseRolesList() { if (databaseRolesBuilder_ == null) { return java.util.Collections.unmodifiableList(databaseRoles_); } else { @@ -588,6 +650,8 @@ public java.util.List getData } } /** + * + * *
      * Database roles that matched the request.
      * 
@@ -602,6 +666,8 @@ public int getDatabaseRolesCount() { } } /** + * + * *
      * Database roles that matched the request.
      * 
@@ -616,6 +682,8 @@ public com.google.spanner.admin.database.v1.DatabaseRole getDatabaseRoles(int in } } /** + * + * *
      * Database roles that matched the request.
      * 
@@ -637,6 +705,8 @@ public Builder setDatabaseRoles( return this; } /** + * + * *
      * Database roles that matched the request.
      * 
@@ -655,6 +725,8 @@ public Builder setDatabaseRoles( return this; } /** + * + * *
      * Database roles that matched the request.
      * 
@@ -675,6 +747,8 @@ public Builder addDatabaseRoles(com.google.spanner.admin.database.v1.DatabaseRol return this; } /** + * + * *
      * Database roles that matched the request.
      * 
@@ -696,6 +770,8 @@ public Builder addDatabaseRoles( return this; } /** + * + * *
      * Database roles that matched the request.
      * 
@@ -714,6 +790,8 @@ public Builder addDatabaseRoles( return this; } /** + * + * *
      * Database roles that matched the request.
      * 
@@ -732,6 +810,8 @@ public Builder addDatabaseRoles( return this; } /** + * + * *
      * Database roles that matched the request.
      * 
@@ -742,8 +822,7 @@ public Builder addAllDatabaseRoles( java.lang.Iterable values) { if (databaseRolesBuilder_ == null) { ensureDatabaseRolesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, databaseRoles_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, databaseRoles_); onChanged(); } else { databaseRolesBuilder_.addAllMessages(values); @@ -751,6 +830,8 @@ public Builder addAllDatabaseRoles( return this; } /** + * + * *
      * Database roles that matched the request.
      * 
@@ -768,6 +849,8 @@ public Builder clearDatabaseRoles() { return this; } /** + * + * *
      * Database roles that matched the request.
      * 
@@ -785,6 +868,8 @@ public Builder removeDatabaseRoles(int index) { return this; } /** + * + * *
      * Database roles that matched the request.
      * 
@@ -796,6 +881,8 @@ public com.google.spanner.admin.database.v1.DatabaseRole.Builder getDatabaseRole return getDatabaseRolesFieldBuilder().getBuilder(index); } /** + * + * *
      * Database roles that matched the request.
      * 
@@ -805,19 +892,22 @@ public com.google.spanner.admin.database.v1.DatabaseRole.Builder getDatabaseRole public com.google.spanner.admin.database.v1.DatabaseRoleOrBuilder getDatabaseRolesOrBuilder( int index) { if (databaseRolesBuilder_ == null) { - return databaseRoles_.get(index); } else { + return databaseRoles_.get(index); + } else { return databaseRolesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Database roles that matched the request.
      * 
* * repeated .google.spanner.admin.database.v1.DatabaseRole database_roles = 1; */ - public java.util.List - getDatabaseRolesOrBuilderList() { + public java.util.List + getDatabaseRolesOrBuilderList() { if (databaseRolesBuilder_ != null) { return databaseRolesBuilder_.getMessageOrBuilderList(); } else { @@ -825,6 +915,8 @@ public com.google.spanner.admin.database.v1.DatabaseRoleOrBuilder getDatabaseRol } } /** + * + * *
      * Database roles that matched the request.
      * 
@@ -832,10 +924,12 @@ public com.google.spanner.admin.database.v1.DatabaseRoleOrBuilder getDatabaseRol * repeated .google.spanner.admin.database.v1.DatabaseRole database_roles = 1; */ public com.google.spanner.admin.database.v1.DatabaseRole.Builder addDatabaseRolesBuilder() { - return getDatabaseRolesFieldBuilder().addBuilder( - com.google.spanner.admin.database.v1.DatabaseRole.getDefaultInstance()); + return getDatabaseRolesFieldBuilder() + .addBuilder(com.google.spanner.admin.database.v1.DatabaseRole.getDefaultInstance()); } /** + * + * *
      * Database roles that matched the request.
      * 
@@ -844,26 +938,35 @@ public com.google.spanner.admin.database.v1.DatabaseRole.Builder addDatabaseRole */ public com.google.spanner.admin.database.v1.DatabaseRole.Builder addDatabaseRolesBuilder( int index) { - return getDatabaseRolesFieldBuilder().addBuilder( - index, com.google.spanner.admin.database.v1.DatabaseRole.getDefaultInstance()); + return getDatabaseRolesFieldBuilder() + .addBuilder( + index, com.google.spanner.admin.database.v1.DatabaseRole.getDefaultInstance()); } /** + * + * *
      * Database roles that matched the request.
      * 
* * repeated .google.spanner.admin.database.v1.DatabaseRole database_roles = 1; */ - public java.util.List - getDatabaseRolesBuilderList() { + public java.util.List + getDatabaseRolesBuilderList() { return getDatabaseRolesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.admin.database.v1.DatabaseRole, com.google.spanner.admin.database.v1.DatabaseRole.Builder, com.google.spanner.admin.database.v1.DatabaseRoleOrBuilder> + com.google.spanner.admin.database.v1.DatabaseRole, + com.google.spanner.admin.database.v1.DatabaseRole.Builder, + com.google.spanner.admin.database.v1.DatabaseRoleOrBuilder> getDatabaseRolesFieldBuilder() { if (databaseRolesBuilder_ == null) { - databaseRolesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.admin.database.v1.DatabaseRole, com.google.spanner.admin.database.v1.DatabaseRole.Builder, com.google.spanner.admin.database.v1.DatabaseRoleOrBuilder>( + databaseRolesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.spanner.admin.database.v1.DatabaseRole, + com.google.spanner.admin.database.v1.DatabaseRole.Builder, + com.google.spanner.admin.database.v1.DatabaseRoleOrBuilder>( databaseRoles_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -875,6 +978,8 @@ public com.google.spanner.admin.database.v1.DatabaseRole.Builder addDatabaseRole private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * `next_page_token` can be sent in a subsequent
      * [ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles]
@@ -882,13 +987,13 @@ public com.google.spanner.admin.database.v1.DatabaseRole.Builder addDatabaseRole
      * 
* * 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; @@ -897,6 +1002,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * `next_page_token` can be sent in a subsequent
      * [ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles]
@@ -904,15 +1011,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 { @@ -920,6 +1026,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * `next_page_token` can be sent in a subsequent
      * [ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles]
@@ -927,18 +1035,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
      * [ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles]
@@ -946,6 +1058,7 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -955,6 +1068,8 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * `next_page_token` can be sent in a subsequent
      * [ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles]
@@ -962,21 +1077,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); } @@ -986,41 +1103,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.ListDatabaseRolesResponse) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.ListDatabaseRolesResponse) - private static final com.google.spanner.admin.database.v1.ListDatabaseRolesResponse DEFAULT_INSTANCE; + private static final com.google.spanner.admin.database.v1.ListDatabaseRolesResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.ListDatabaseRolesResponse(); } - public static com.google.spanner.admin.database.v1.ListDatabaseRolesResponse getDefaultInstance() { + public static com.google.spanner.admin.database.v1.ListDatabaseRolesResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDatabaseRolesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDatabaseRolesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,9 +1151,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.spanner.admin.database.v1.ListDatabaseRolesResponse getDefaultInstanceForType() { + public com.google.spanner.admin.database.v1.ListDatabaseRolesResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesResponseOrBuilder.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesResponseOrBuilder.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesResponseOrBuilder.java rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesResponseOrBuilder.java index 9e8beb567f3..2189d1d743a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesResponseOrBuilder.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabaseRolesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/spanner_database_admin.proto package com.google.spanner.admin.database.v1; -public interface ListDatabaseRolesResponseOrBuilder extends +public interface ListDatabaseRolesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.ListDatabaseRolesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Database roles that matched the request.
    * 
* * repeated .google.spanner.admin.database.v1.DatabaseRole database_roles = 1; */ - java.util.List - getDatabaseRolesList(); + java.util.List getDatabaseRolesList(); /** + * + * *
    * Database roles that matched the request.
    * 
@@ -25,6 +44,8 @@ public interface ListDatabaseRolesResponseOrBuilder extends */ com.google.spanner.admin.database.v1.DatabaseRole getDatabaseRoles(int index); /** + * + * *
    * Database roles that matched the request.
    * 
@@ -33,25 +54,30 @@ public interface ListDatabaseRolesResponseOrBuilder extends */ int getDatabaseRolesCount(); /** + * + * *
    * Database roles that matched the request.
    * 
* * repeated .google.spanner.admin.database.v1.DatabaseRole database_roles = 1; */ - java.util.List + java.util.List getDatabaseRolesOrBuilderList(); /** + * + * *
    * Database roles that matched the request.
    * 
* * repeated .google.spanner.admin.database.v1.DatabaseRole database_roles = 1; */ - com.google.spanner.admin.database.v1.DatabaseRoleOrBuilder getDatabaseRolesOrBuilder( - int index); + com.google.spanner.admin.database.v1.DatabaseRoleOrBuilder getDatabaseRolesOrBuilder(int index); /** + * + * *
    * `next_page_token` can be sent in a subsequent
    * [ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles]
@@ -59,10 +85,13 @@ com.google.spanner.admin.database.v1.DatabaseRoleOrBuilder getDatabaseRolesOrBui
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * `next_page_token` can be sent in a subsequent
    * [ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles]
@@ -70,8 +99,8 @@ com.google.spanner.admin.database.v1.DatabaseRoleOrBuilder getDatabaseRolesOrBui
    * 
* * 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/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesRequest.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesRequest.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesRequest.java rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesRequest.java index 5711ed95ee8..eac171f8df9 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesRequest.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/spanner_database_admin.proto package com.google.spanner.admin.database.v1; /** + * + * *
  * The request for [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases].
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.ListDatabasesRequest} */ -public final class ListDatabasesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListDatabasesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.ListDatabasesRequest) ListDatabasesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListDatabasesRequest.newBuilder() to construct. private ListDatabasesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListDatabasesRequest() { parent_ = ""; pageToken_ = ""; @@ -26,39 +44,46 @@ private ListDatabasesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListDatabasesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabasesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto + .internal_static_google_spanner_admin_database_v1_ListDatabasesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabasesRequest_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto + .internal_static_google_spanner_admin_database_v1_ListDatabasesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.ListDatabasesRequest.class, com.google.spanner.admin.database.v1.ListDatabasesRequest.Builder.class); + com.google.spanner.admin.database.v1.ListDatabasesRequest.class, + com.google.spanner.admin.database.v1.ListDatabasesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The instance whose databases 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 @@ -67,30 +92,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The instance whose databases 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 { @@ -101,12 +128,15 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_ = 0; /** + * + * *
    * Number of databases to be returned in the response. If 0 or less,
    * defaults to the server's maximum allowed page size.
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -115,9 +145,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.database.v1.ListDatabasesResponse.next_page_token] from a
@@ -125,6 +158,7 @@ public int getPageSize() {
    * 
* * string page_token = 4; + * * @return The pageToken. */ @java.lang.Override @@ -133,14 +167,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.spanner.admin.database.v1.ListDatabasesResponse.next_page_token] from a
@@ -148,16 +183,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; + * * @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 { @@ -166,6 +200,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -177,8 +212,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_); } @@ -201,8 +235,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -215,19 +248,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.spanner.admin.database.v1.ListDatabasesRequest)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.ListDatabasesRequest other = (com.google.spanner.admin.database.v1.ListDatabasesRequest) obj; + com.google.spanner.admin.database.v1.ListDatabasesRequest other = + (com.google.spanner.admin.database.v1.ListDatabasesRequest) 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; } @@ -251,129 +282,136 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.ListDatabasesRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.ListDatabasesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.admin.database.v1.ListDatabasesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.ListDatabasesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.admin.database.v1.ListDatabasesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.ListDatabasesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.ListDatabasesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.spanner.admin.database.v1.ListDatabasesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.ListDatabasesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.ListDatabasesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.spanner.admin.database.v1.ListDatabasesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.ListDatabasesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.spanner.admin.database.v1.ListDatabasesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.ListDatabasesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.admin.database.v1.ListDatabasesRequest prototype) { + + public static Builder newBuilder( + com.google.spanner.admin.database.v1.ListDatabasesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases].
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.ListDatabasesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.ListDatabasesRequest) com.google.spanner.admin.database.v1.ListDatabasesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabasesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto + .internal_static_google_spanner_admin_database_v1_ListDatabasesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabasesRequest_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto + .internal_static_google_spanner_admin_database_v1_ListDatabasesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.ListDatabasesRequest.class, com.google.spanner.admin.database.v1.ListDatabasesRequest.Builder.class); + com.google.spanner.admin.database.v1.ListDatabasesRequest.class, + com.google.spanner.admin.database.v1.ListDatabasesRequest.Builder.class); } // Construct using com.google.spanner.admin.database.v1.ListDatabasesRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -385,9 +423,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabasesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto + .internal_static_google_spanner_admin_database_v1_ListDatabasesRequest_descriptor; } @java.lang.Override @@ -406,8 +444,11 @@ public com.google.spanner.admin.database.v1.ListDatabasesRequest build() { @java.lang.Override public com.google.spanner.admin.database.v1.ListDatabasesRequest buildPartial() { - com.google.spanner.admin.database.v1.ListDatabasesRequest result = new com.google.spanner.admin.database.v1.ListDatabasesRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.spanner.admin.database.v1.ListDatabasesRequest result = + new com.google.spanner.admin.database.v1.ListDatabasesRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -429,38 +470,39 @@ private void buildPartial0(com.google.spanner.admin.database.v1.ListDatabasesReq public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.admin.database.v1.ListDatabasesRequest) { - return mergeFrom((com.google.spanner.admin.database.v1.ListDatabasesRequest)other); + return mergeFrom((com.google.spanner.admin.database.v1.ListDatabasesRequest) other); } else { super.mergeFrom(other); return this; @@ -468,7 +510,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.admin.database.v1.ListDatabasesRequest other) { - if (other == com.google.spanner.admin.database.v1.ListDatabasesRequest.getDefaultInstance()) return this; + if (other == com.google.spanner.admin.database.v1.ListDatabasesRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -508,27 +551,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 24: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 24 - case 34: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - 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 24: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 24 + case 34: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + 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) { @@ -538,23 +585,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The instance whose databases 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; @@ -563,21 +615,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The instance whose databases 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 { @@ -585,30 +640,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The instance whose databases 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 instance whose databases 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() { @@ -618,18 +684,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The instance whose databases 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; @@ -637,14 +709,17 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Number of databases to be returned in the response. If 0 or less,
      * defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -652,29 +727,35 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Number of databases to be returned in the response. If 0 or less,
      * defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 3; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Number of databases to be returned in the response. If 0 or less,
      * defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 3; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -686,6 +767,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListDatabasesResponse.next_page_token] from a
@@ -693,13 +776,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4; + * * @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; @@ -708,6 +791,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListDatabasesResponse.next_page_token] from a
@@ -715,15 +800,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @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 { @@ -731,6 +815,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListDatabasesResponse.next_page_token] from a
@@ -738,18 +824,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @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; } /** + * + * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListDatabasesResponse.next_page_token] from a
@@ -757,6 +847,7 @@ public Builder setPageToken(
      * 
* * string page_token = 4; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -766,6 +857,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.database.v1.ListDatabasesResponse.next_page_token] from a
@@ -773,21 +866,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; + * * @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); } @@ -797,12 +892,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.ListDatabasesRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.ListDatabasesRequest) private static final com.google.spanner.admin.database.v1.ListDatabasesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.ListDatabasesRequest(); } @@ -811,27 +906,27 @@ public static com.google.spanner.admin.database.v1.ListDatabasesRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDatabasesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDatabasesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -846,6 +941,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.ListDatabasesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesRequestOrBuilder.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesRequestOrBuilder.java similarity index 62% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesRequestOrBuilder.java rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesRequestOrBuilder.java index 68aa03254af..89cfe991ec2 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesRequestOrBuilder.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesRequestOrBuilder.java @@ -1,46 +1,76 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/spanner_database_admin.proto package com.google.spanner.admin.database.v1; -public interface ListDatabasesRequestOrBuilder extends +public interface ListDatabasesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.ListDatabasesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The instance whose databases 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 instance whose databases 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(); /** + * + * *
    * Number of databases to be returned in the response. If 0 or less,
    * defaults to the server's maximum allowed page size.
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.database.v1.ListDatabasesResponse.next_page_token] from a
@@ -48,10 +78,13 @@ public interface ListDatabasesRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.database.v1.ListDatabasesResponse.next_page_token] from a
@@ -59,8 +92,8 @@ public interface ListDatabasesRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesResponse.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesResponse.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesResponse.java rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesResponse.java index 0ea5493b721..dd3ce964137 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesResponse.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/spanner_database_admin.proto package com.google.spanner.admin.database.v1; /** + * + * *
  * The response for [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases].
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.ListDatabasesResponse} */ -public final class ListDatabasesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListDatabasesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.ListDatabasesResponse) ListDatabasesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListDatabasesResponse.newBuilder() to construct. private ListDatabasesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListDatabasesResponse() { databases_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,33 +44,37 @@ private ListDatabasesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListDatabasesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabasesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto + .internal_static_google_spanner_admin_database_v1_ListDatabasesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabasesResponse_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto + .internal_static_google_spanner_admin_database_v1_ListDatabasesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.ListDatabasesResponse.class, com.google.spanner.admin.database.v1.ListDatabasesResponse.Builder.class); + com.google.spanner.admin.database.v1.ListDatabasesResponse.class, + com.google.spanner.admin.database.v1.ListDatabasesResponse.Builder.class); } public static final int DATABASES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List databases_; /** + * + * *
    * Databases that matched the request.
    * 
@@ -64,6 +86,8 @@ public java.util.List getDatabase return databases_; } /** + * + * *
    * Databases that matched the request.
    * 
@@ -71,11 +95,13 @@ public java.util.List getDatabase * repeated .google.spanner.admin.database.v1.Database databases = 1; */ @java.lang.Override - public java.util.List + public java.util.List getDatabasesOrBuilderList() { return databases_; } /** + * + * *
    * Databases that matched the request.
    * 
@@ -87,6 +113,8 @@ public int getDatabasesCount() { return databases_.size(); } /** + * + * *
    * Databases that matched the request.
    * 
@@ -98,6 +126,8 @@ public com.google.spanner.admin.database.v1.Database getDatabases(int index) { return databases_.get(index); } /** + * + * *
    * Databases that matched the request.
    * 
@@ -105,15 +135,17 @@ public com.google.spanner.admin.database.v1.Database getDatabases(int index) { * repeated .google.spanner.admin.database.v1.Database databases = 1; */ @java.lang.Override - public com.google.spanner.admin.database.v1.DatabaseOrBuilder getDatabasesOrBuilder( - int index) { + public com.google.spanner.admin.database.v1.DatabaseOrBuilder getDatabasesOrBuilder(int index) { return databases_.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
    * [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases] call to fetch more
@@ -121,6 +153,7 @@ public com.google.spanner.admin.database.v1.DatabaseOrBuilder getDatabasesOrBuil
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -129,14 +162,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
    * [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases] call to fetch more
@@ -144,16 +178,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 { @@ -162,6 +195,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -173,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 { for (int i = 0; i < databases_.size(); i++) { output.writeMessage(1, databases_.get(i)); } @@ -191,8 +224,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < databases_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, databases_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, databases_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -205,17 +237,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.spanner.admin.database.v1.ListDatabasesResponse)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.ListDatabasesResponse other = (com.google.spanner.admin.database.v1.ListDatabasesResponse) obj; + com.google.spanner.admin.database.v1.ListDatabasesResponse other = + (com.google.spanner.admin.database.v1.ListDatabasesResponse) obj; - if (!getDatabasesList() - .equals(other.getDatabasesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getDatabasesList().equals(other.getDatabasesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -239,129 +270,136 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.ListDatabasesResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.ListDatabasesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.admin.database.v1.ListDatabasesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.ListDatabasesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.admin.database.v1.ListDatabasesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.ListDatabasesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.ListDatabasesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.spanner.admin.database.v1.ListDatabasesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.ListDatabasesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.ListDatabasesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.spanner.admin.database.v1.ListDatabasesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.ListDatabasesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.spanner.admin.database.v1.ListDatabasesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.ListDatabasesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.admin.database.v1.ListDatabasesResponse prototype) { + + public static Builder newBuilder( + com.google.spanner.admin.database.v1.ListDatabasesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases].
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.ListDatabasesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.ListDatabasesResponse) com.google.spanner.admin.database.v1.ListDatabasesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabasesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto + .internal_static_google_spanner_admin_database_v1_ListDatabasesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabasesResponse_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto + .internal_static_google_spanner_admin_database_v1_ListDatabasesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.ListDatabasesResponse.class, com.google.spanner.admin.database.v1.ListDatabasesResponse.Builder.class); + com.google.spanner.admin.database.v1.ListDatabasesResponse.class, + com.google.spanner.admin.database.v1.ListDatabasesResponse.Builder.class); } // Construct using com.google.spanner.admin.database.v1.ListDatabasesResponse.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +416,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_ListDatabasesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto + .internal_static_google_spanner_admin_database_v1_ListDatabasesResponse_descriptor; } @java.lang.Override @@ -399,14 +437,18 @@ public com.google.spanner.admin.database.v1.ListDatabasesResponse build() { @java.lang.Override public com.google.spanner.admin.database.v1.ListDatabasesResponse buildPartial() { - com.google.spanner.admin.database.v1.ListDatabasesResponse result = new com.google.spanner.admin.database.v1.ListDatabasesResponse(this); + com.google.spanner.admin.database.v1.ListDatabasesResponse result = + new com.google.spanner.admin.database.v1.ListDatabasesResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.spanner.admin.database.v1.ListDatabasesResponse result) { + private void buildPartialRepeatedFields( + com.google.spanner.admin.database.v1.ListDatabasesResponse result) { if (databasesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { databases_ = java.util.Collections.unmodifiableList(databases_); @@ -429,38 +471,39 @@ private void buildPartial0(com.google.spanner.admin.database.v1.ListDatabasesRes public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.admin.database.v1.ListDatabasesResponse) { - return mergeFrom((com.google.spanner.admin.database.v1.ListDatabasesResponse)other); + return mergeFrom((com.google.spanner.admin.database.v1.ListDatabasesResponse) other); } else { super.mergeFrom(other); return this; @@ -468,7 +511,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.admin.database.v1.ListDatabasesResponse other) { - if (other == com.google.spanner.admin.database.v1.ListDatabasesResponse.getDefaultInstance()) return this; + if (other == com.google.spanner.admin.database.v1.ListDatabasesResponse.getDefaultInstance()) + return this; if (databasesBuilder_ == null) { if (!other.databases_.isEmpty()) { if (databases_.isEmpty()) { @@ -487,9 +531,10 @@ public Builder mergeFrom(com.google.spanner.admin.database.v1.ListDatabasesRespo databasesBuilder_ = null; databases_ = other.databases_; bitField0_ = (bitField0_ & ~0x00000001); - databasesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getDatabasesFieldBuilder() : null; + databasesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getDatabasesFieldBuilder() + : null; } else { databasesBuilder_.addAllMessages(other.databases_); } @@ -526,30 +571,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.spanner.admin.database.v1.Database m = - input.readMessage( - com.google.spanner.admin.database.v1.Database.parser(), - extensionRegistry); - if (databasesBuilder_ == null) { - ensureDatabasesIsMutable(); - databases_.add(m); - } else { - databasesBuilder_.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.spanner.admin.database.v1.Database m = + input.readMessage( + com.google.spanner.admin.database.v1.Database.parser(), extensionRegistry); + if (databasesBuilder_ == null) { + ensureDatabasesIsMutable(); + databases_.add(m); + } else { + databasesBuilder_.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) { @@ -559,21 +606,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List databases_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureDatabasesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - databases_ = new java.util.ArrayList(databases_); + databases_ = + new java.util.ArrayList(databases_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.admin.database.v1.Database, com.google.spanner.admin.database.v1.Database.Builder, com.google.spanner.admin.database.v1.DatabaseOrBuilder> databasesBuilder_; + com.google.spanner.admin.database.v1.Database, + com.google.spanner.admin.database.v1.Database.Builder, + com.google.spanner.admin.database.v1.DatabaseOrBuilder> + databasesBuilder_; /** + * + * *
      * Databases that matched the request.
      * 
@@ -588,6 +643,8 @@ public java.util.List getDatabase } } /** + * + * *
      * Databases that matched the request.
      * 
@@ -602,6 +659,8 @@ public int getDatabasesCount() { } } /** + * + * *
      * Databases that matched the request.
      * 
@@ -616,14 +675,15 @@ public com.google.spanner.admin.database.v1.Database getDatabases(int index) { } } /** + * + * *
      * Databases that matched the request.
      * 
* * repeated .google.spanner.admin.database.v1.Database databases = 1; */ - public Builder setDatabases( - int index, com.google.spanner.admin.database.v1.Database value) { + public Builder setDatabases(int index, com.google.spanner.admin.database.v1.Database value) { if (databasesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -637,6 +697,8 @@ public Builder setDatabases( return this; } /** + * + * *
      * Databases that matched the request.
      * 
@@ -655,6 +717,8 @@ public Builder setDatabases( return this; } /** + * + * *
      * Databases that matched the request.
      * 
@@ -675,14 +739,15 @@ public Builder addDatabases(com.google.spanner.admin.database.v1.Database value) return this; } /** + * + * *
      * Databases that matched the request.
      * 
* * repeated .google.spanner.admin.database.v1.Database databases = 1; */ - public Builder addDatabases( - int index, com.google.spanner.admin.database.v1.Database value) { + public Builder addDatabases(int index, com.google.spanner.admin.database.v1.Database value) { if (databasesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -696,6 +761,8 @@ public Builder addDatabases( return this; } /** + * + * *
      * Databases that matched the request.
      * 
@@ -714,6 +781,8 @@ public Builder addDatabases( return this; } /** + * + * *
      * Databases that matched the request.
      * 
@@ -732,6 +801,8 @@ public Builder addDatabases( return this; } /** + * + * *
      * Databases that matched the request.
      * 
@@ -742,8 +813,7 @@ public Builder addAllDatabases( java.lang.Iterable values) { if (databasesBuilder_ == null) { ensureDatabasesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, databases_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, databases_); onChanged(); } else { databasesBuilder_.addAllMessages(values); @@ -751,6 +821,8 @@ public Builder addAllDatabases( return this; } /** + * + * *
      * Databases that matched the request.
      * 
@@ -768,6 +840,8 @@ public Builder clearDatabases() { return this; } /** + * + * *
      * Databases that matched the request.
      * 
@@ -785,39 +859,44 @@ public Builder removeDatabases(int index) { return this; } /** + * + * *
      * Databases that matched the request.
      * 
* * repeated .google.spanner.admin.database.v1.Database databases = 1; */ - public com.google.spanner.admin.database.v1.Database.Builder getDatabasesBuilder( - int index) { + public com.google.spanner.admin.database.v1.Database.Builder getDatabasesBuilder(int index) { return getDatabasesFieldBuilder().getBuilder(index); } /** + * + * *
      * Databases that matched the request.
      * 
* * repeated .google.spanner.admin.database.v1.Database databases = 1; */ - public com.google.spanner.admin.database.v1.DatabaseOrBuilder getDatabasesOrBuilder( - int index) { + public com.google.spanner.admin.database.v1.DatabaseOrBuilder getDatabasesOrBuilder(int index) { if (databasesBuilder_ == null) { - return databases_.get(index); } else { + return databases_.get(index); + } else { return databasesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Databases that matched the request.
      * 
* * repeated .google.spanner.admin.database.v1.Database databases = 1; */ - public java.util.List - getDatabasesOrBuilderList() { + public java.util.List + getDatabasesOrBuilderList() { if (databasesBuilder_ != null) { return databasesBuilder_.getMessageOrBuilderList(); } else { @@ -825,6 +904,8 @@ public com.google.spanner.admin.database.v1.DatabaseOrBuilder getDatabasesOrBuil } } /** + * + * *
      * Databases that matched the request.
      * 
@@ -832,42 +913,48 @@ public com.google.spanner.admin.database.v1.DatabaseOrBuilder getDatabasesOrBuil * repeated .google.spanner.admin.database.v1.Database databases = 1; */ public com.google.spanner.admin.database.v1.Database.Builder addDatabasesBuilder() { - return getDatabasesFieldBuilder().addBuilder( - com.google.spanner.admin.database.v1.Database.getDefaultInstance()); + return getDatabasesFieldBuilder() + .addBuilder(com.google.spanner.admin.database.v1.Database.getDefaultInstance()); } /** + * + * *
      * Databases that matched the request.
      * 
* * repeated .google.spanner.admin.database.v1.Database databases = 1; */ - public com.google.spanner.admin.database.v1.Database.Builder addDatabasesBuilder( - int index) { - return getDatabasesFieldBuilder().addBuilder( - index, com.google.spanner.admin.database.v1.Database.getDefaultInstance()); + public com.google.spanner.admin.database.v1.Database.Builder addDatabasesBuilder(int index) { + return getDatabasesFieldBuilder() + .addBuilder(index, com.google.spanner.admin.database.v1.Database.getDefaultInstance()); } /** + * + * *
      * Databases that matched the request.
      * 
* * repeated .google.spanner.admin.database.v1.Database databases = 1; */ - public java.util.List - getDatabasesBuilderList() { + public java.util.List + getDatabasesBuilderList() { return getDatabasesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.admin.database.v1.Database, com.google.spanner.admin.database.v1.Database.Builder, com.google.spanner.admin.database.v1.DatabaseOrBuilder> + com.google.spanner.admin.database.v1.Database, + com.google.spanner.admin.database.v1.Database.Builder, + com.google.spanner.admin.database.v1.DatabaseOrBuilder> getDatabasesFieldBuilder() { if (databasesBuilder_ == null) { - databasesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.admin.database.v1.Database, com.google.spanner.admin.database.v1.Database.Builder, com.google.spanner.admin.database.v1.DatabaseOrBuilder>( - databases_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + databasesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.spanner.admin.database.v1.Database, + com.google.spanner.admin.database.v1.Database.Builder, + com.google.spanner.admin.database.v1.DatabaseOrBuilder>( + databases_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); databases_ = null; } return databasesBuilder_; @@ -875,6 +962,8 @@ public com.google.spanner.admin.database.v1.Database.Builder addDatabasesBuilder private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * `next_page_token` can be sent in a subsequent
      * [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases] call to fetch more
@@ -882,13 +971,13 @@ public com.google.spanner.admin.database.v1.Database.Builder addDatabasesBuilder
      * 
* * 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; @@ -897,6 +986,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * `next_page_token` can be sent in a subsequent
      * [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases] call to fetch more
@@ -904,15 +995,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 { @@ -920,6 +1010,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * `next_page_token` can be sent in a subsequent
      * [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases] call to fetch more
@@ -927,18 +1019,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
      * [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases] call to fetch more
@@ -946,6 +1042,7 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -955,6 +1052,8 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * `next_page_token` can be sent in a subsequent
      * [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases] call to fetch more
@@ -962,21 +1061,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); } @@ -986,12 +1087,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.ListDatabasesResponse) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.ListDatabasesResponse) private static final com.google.spanner.admin.database.v1.ListDatabasesResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.ListDatabasesResponse(); } @@ -1000,27 +1101,27 @@ public static com.google.spanner.admin.database.v1.ListDatabasesResponse getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDatabasesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDatabasesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,6 +1136,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.ListDatabasesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesResponseOrBuilder.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesResponseOrBuilder.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesResponseOrBuilder.java rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesResponseOrBuilder.java index 89cf2e809a2..e6b6facc0bb 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesResponseOrBuilder.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/spanner_database_admin.proto package com.google.spanner.admin.database.v1; -public interface ListDatabasesResponseOrBuilder extends +public interface ListDatabasesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.ListDatabasesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Databases that matched the request.
    * 
* * repeated .google.spanner.admin.database.v1.Database databases = 1; */ - java.util.List - getDatabasesList(); + java.util.List getDatabasesList(); /** + * + * *
    * Databases that matched the request.
    * 
@@ -25,6 +44,8 @@ public interface ListDatabasesResponseOrBuilder extends */ com.google.spanner.admin.database.v1.Database getDatabases(int index); /** + * + * *
    * Databases that matched the request.
    * 
@@ -33,25 +54,30 @@ public interface ListDatabasesResponseOrBuilder extends */ int getDatabasesCount(); /** + * + * *
    * Databases that matched the request.
    * 
* * repeated .google.spanner.admin.database.v1.Database databases = 1; */ - java.util.List + java.util.List getDatabasesOrBuilderList(); /** + * + * *
    * Databases that matched the request.
    * 
* * repeated .google.spanner.admin.database.v1.Database databases = 1; */ - com.google.spanner.admin.database.v1.DatabaseOrBuilder getDatabasesOrBuilder( - int index); + com.google.spanner.admin.database.v1.DatabaseOrBuilder getDatabasesOrBuilder(int index); /** + * + * *
    * `next_page_token` can be sent in a subsequent
    * [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases] call to fetch more
@@ -59,10 +85,13 @@ com.google.spanner.admin.database.v1.DatabaseOrBuilder getDatabasesOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * `next_page_token` can be sent in a subsequent
    * [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases] call to fetch more
@@ -70,8 +99,8 @@ com.google.spanner.admin.database.v1.DatabaseOrBuilder getDatabasesOrBuilder(
    * 
* * 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/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/OperationProgress.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/OperationProgress.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/OperationProgress.java rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/OperationProgress.java index a005f0227be..dceff032df0 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/OperationProgress.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/OperationProgress.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/common.proto package com.google.spanner.admin.database.v1; /** + * + * *
  * Encapsulates progress related information for a Cloud Spanner long
  * running operation.
@@ -11,52 +28,56 @@
  *
  * Protobuf type {@code google.spanner.admin.database.v1.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.spanner.admin.database.v1.OperationProgress)
     OperationProgressOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use OperationProgress.newBuilder() to construct.
   private OperationProgress(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private OperationProgress() {
-  }
+
+  private OperationProgress() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new OperationProgress();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.spanner.admin.database.v1.CommonProto.internal_static_google_spanner_admin_database_v1_OperationProgress_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.spanner.admin.database.v1.CommonProto
+        .internal_static_google_spanner_admin_database_v1_OperationProgress_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.database.v1.CommonProto.internal_static_google_spanner_admin_database_v1_OperationProgress_fieldAccessorTable
+    return com.google.spanner.admin.database.v1.CommonProto
+        .internal_static_google_spanner_admin_database_v1_OperationProgress_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.database.v1.OperationProgress.class, com.google.spanner.admin.database.v1.OperationProgress.Builder.class);
+            com.google.spanner.admin.database.v1.OperationProgress.class,
+            com.google.spanner.admin.database.v1.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 @@ -67,11 +88,14 @@ public int getProgressPercent() { public static final int START_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp startTime_; /** + * + * *
    * Time the request was received.
    * 
* * .google.protobuf.Timestamp start_time = 2; + * * @return Whether the startTime field is set. */ @java.lang.Override @@ -79,11 +103,14 @@ public boolean hasStartTime() { return startTime_ != null; } /** + * + * *
    * Time the request was received.
    * 
* * .google.protobuf.Timestamp start_time = 2; + * * @return The startTime. */ @java.lang.Override @@ -91,6 +118,8 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
    * Time the request was received.
    * 
@@ -105,12 +134,15 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp endTime_; /** + * + * *
    * If set, the time at which this operation failed or was completed
    * successfully.
    * 
* * .google.protobuf.Timestamp end_time = 3; + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -118,12 +150,15 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
    * If set, the time at which this operation failed or was completed
    * successfully.
    * 
* * .google.protobuf.Timestamp end_time = 3; + * * @return The endTime. */ @java.lang.Override @@ -131,6 +166,8 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * If set, the time at which this operation failed or was completed
    * successfully.
@@ -144,6 +181,7 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -155,8 +193,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (progressPercent_ != 0) {
       output.writeInt32(1, progressPercent_);
     }
@@ -176,16 +213,13 @@ public int getSerializedSize() {
 
     size = 0;
     if (progressPercent_ != 0) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeInt32Size(1, progressPercent_);
+      size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, progressPercent_);
     }
     if (startTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getStartTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStartTime());
     }
     if (endTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getEndTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getEndTime());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -195,24 +229,22 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.spanner.admin.database.v1.OperationProgress)) {
       return super.equals(obj);
     }
-    com.google.spanner.admin.database.v1.OperationProgress other = (com.google.spanner.admin.database.v1.OperationProgress) obj;
+    com.google.spanner.admin.database.v1.OperationProgress other =
+        (com.google.spanner.admin.database.v1.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;
@@ -241,96 +273,104 @@ public int hashCode() {
   }
 
   public static com.google.spanner.admin.database.v1.OperationProgress parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.OperationProgress parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.OperationProgress parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.OperationProgress parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.spanner.admin.database.v1.OperationProgress parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.OperationProgress parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.spanner.admin.database.v1.OperationProgress parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.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.spanner.admin.database.v1.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.spanner.admin.database.v1.OperationProgress prototype) {
+
+  public static Builder newBuilder(
+      com.google.spanner.admin.database.v1.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 Spanner long
    * running operation.
@@ -338,33 +378,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.spanner.admin.database.v1.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.spanner.admin.database.v1.OperationProgress)
       com.google.spanner.admin.database.v1.OperationProgressOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.spanner.admin.database.v1.CommonProto.internal_static_google_spanner_admin_database_v1_OperationProgress_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.spanner.admin.database.v1.CommonProto
+          .internal_static_google_spanner_admin_database_v1_OperationProgress_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.database.v1.CommonProto.internal_static_google_spanner_admin_database_v1_OperationProgress_fieldAccessorTable
+      return com.google.spanner.admin.database.v1.CommonProto
+          .internal_static_google_spanner_admin_database_v1_OperationProgress_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.database.v1.OperationProgress.class, com.google.spanner.admin.database.v1.OperationProgress.Builder.class);
+              com.google.spanner.admin.database.v1.OperationProgress.class,
+              com.google.spanner.admin.database.v1.OperationProgress.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.database.v1.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();
@@ -384,9 +423,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.spanner.admin.database.v1.CommonProto.internal_static_google_spanner_admin_database_v1_OperationProgress_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.spanner.admin.database.v1.CommonProto
+          .internal_static_google_spanner_admin_database_v1_OperationProgress_descriptor;
     }
 
     @java.lang.Override
@@ -405,8 +444,11 @@ public com.google.spanner.admin.database.v1.OperationProgress build() {
 
     @java.lang.Override
     public com.google.spanner.admin.database.v1.OperationProgress buildPartial() {
-      com.google.spanner.admin.database.v1.OperationProgress result = new com.google.spanner.admin.database.v1.OperationProgress(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.spanner.admin.database.v1.OperationProgress result =
+          new com.google.spanner.admin.database.v1.OperationProgress(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -417,14 +459,10 @@ private void buildPartial0(com.google.spanner.admin.database.v1.OperationProgres
         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();
       }
     }
 
@@ -432,38 +470,39 @@ private void buildPartial0(com.google.spanner.admin.database.v1.OperationProgres
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.database.v1.OperationProgress) {
-        return mergeFrom((com.google.spanner.admin.database.v1.OperationProgress)other);
+        return mergeFrom((com.google.spanner.admin.database.v1.OperationProgress) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -471,7 +510,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.spanner.admin.database.v1.OperationProgress other) {
-      if (other == com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance()) return this;
+      if (other == com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance())
+        return this;
       if (other.getProgressPercent() != 0) {
         setProgressPercent(other.getProgressPercent());
       }
@@ -507,31 +547,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) {
@@ -541,16 +581,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 @@ -558,29 +602,35 @@ public int getProgressPercent() { return progressPercent_; } /** + * + * *
      * Percent completion of the operation.
      * Values are between 0 and 100 inclusive.
      * 
* * int32 progress_percent = 1; + * * @param value The progressPercent to set. * @return This builder for chaining. */ public Builder setProgressPercent(int value) { - + progressPercent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Percent completion of the operation.
      * Values are between 0 and 100 inclusive.
      * 
* * int32 progress_percent = 1; + * * @return This builder for chaining. */ public Builder clearProgressPercent() { @@ -592,24 +642,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() { @@ -620,6 +679,8 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
      * Time the request was received.
      * 
@@ -640,14 +701,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 { @@ -658,6 +720,8 @@ public Builder setStartTime( return this; } /** + * + * *
      * Time the request was received.
      * 
@@ -666,9 +730,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; @@ -681,6 +745,8 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time the request was received.
      * 
@@ -698,6 +764,8 @@ public Builder clearStartTime() { return this; } /** + * + * *
      * Time the request was received.
      * 
@@ -710,6 +778,8 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Time the request was received.
      * 
@@ -720,11 +790,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.
      * 
@@ -732,14 +803,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_; @@ -747,26 +821,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() { @@ -777,6 +860,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -798,6 +883,8 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -805,8 +892,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 {
@@ -817,6 +903,8 @@ public Builder setEndTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -826,9 +914,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;
@@ -841,6 +929,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -859,6 +949,8 @@ public Builder clearEndTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -872,6 +964,8 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
       return getEndTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -883,11 +977,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.
@@ -896,21 +991,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);
     }
 
@@ -920,12 +1018,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.OperationProgress)
   }
 
   // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.OperationProgress)
   private static final com.google.spanner.admin.database.v1.OperationProgress DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.OperationProgress();
   }
@@ -934,27 +1032,27 @@ public static com.google.spanner.admin.database.v1.OperationProgress getDefaultI
     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;
@@ -969,6 +1067,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.spanner.admin.database.v1.OperationProgress getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/OperationProgressOrBuilder.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/OperationProgressOrBuilder.java
similarity index 72%
rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/OperationProgressOrBuilder.java
rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/OperationProgressOrBuilder.java
index cc929a5437a..df76dbaca01 100644
--- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/OperationProgressOrBuilder.java
+++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/OperationProgressOrBuilder.java
@@ -1,42 +1,69 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/admin/database/v1/common.proto
 
 package com.google.spanner.admin.database.v1;
 
-public interface OperationProgressOrBuilder extends
+public interface OperationProgressOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.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/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/OptimizeRestoredDatabaseMetadata.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/OptimizeRestoredDatabaseMetadata.java
similarity index 65%
rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/OptimizeRestoredDatabaseMetadata.java
rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/OptimizeRestoredDatabaseMetadata.java
index 1f64009f00b..ce652f5318f 100644
--- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/OptimizeRestoredDatabaseMetadata.java
+++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/OptimizeRestoredDatabaseMetadata.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/admin/database/v1/spanner_database_admin.proto
 
 package com.google.spanner.admin.database.v1;
 
 /**
+ *
+ *
  * 
  * Metadata type for the long-running operation used to track the progress
  * of optimizations performed on a newly restored database. This long-running
@@ -13,53 +30,60 @@
  *
  * Protobuf type {@code google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata}
  */
-public final class OptimizeRestoredDatabaseMetadata extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class OptimizeRestoredDatabaseMetadata extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata)
     OptimizeRestoredDatabaseMetadataOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use OptimizeRestoredDatabaseMetadata.newBuilder() to construct.
-  private OptimizeRestoredDatabaseMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private OptimizeRestoredDatabaseMetadata(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private OptimizeRestoredDatabaseMetadata() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new OptimizeRestoredDatabaseMetadata();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_OptimizeRestoredDatabaseMetadata_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
+        .internal_static_google_spanner_admin_database_v1_OptimizeRestoredDatabaseMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_OptimizeRestoredDatabaseMetadata_fieldAccessorTable
+    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
+        .internal_static_google_spanner_admin_database_v1_OptimizeRestoredDatabaseMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata.class, com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata.Builder.class);
+            com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata.class,
+            com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Name of the restored database being optimized.
    * 
* * string name = 1 [(.google.api.resource_reference) = { ... } + * * @return The name. */ @java.lang.Override @@ -68,29 +92,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 database being optimized.
    * 
* * string name = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -101,11 +125,14 @@ public java.lang.String getName() { public static final int PROGRESS_FIELD_NUMBER = 2; private com.google.spanner.admin.database.v1.OperationProgress progress_; /** + * + * *
    * The progress of the post-restore optimizations.
    * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 2; + * * @return Whether the progress field is set. */ @java.lang.Override @@ -113,18 +140,25 @@ public boolean hasProgress() { return progress_ != null; } /** + * + * *
    * The progress of the post-restore optimizations.
    * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 2; + * * @return The progress. */ @java.lang.Override public com.google.spanner.admin.database.v1.OperationProgress getProgress() { - return progress_ == null ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() : progress_; + return progress_ == null + ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() + : progress_; } /** + * + * *
    * The progress of the post-restore optimizations.
    * 
@@ -133,10 +167,13 @@ public com.google.spanner.admin.database.v1.OperationProgress getProgress() { */ @java.lang.Override public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgressOrBuilder() { - return progress_ == null ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() : progress_; + return progress_ == null + ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() + : progress_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -148,8 +185,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -169,8 +205,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; @@ -180,19 +215,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.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata other = (com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata) obj; + com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata other = + (com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata) 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; @@ -217,96 +251,105 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata 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.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata + 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.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata prototype) { + + public static Builder newBuilder( + com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 database. This long-running
@@ -316,33 +359,33 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata)
       com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_OptimizeRestoredDatabaseMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
+          .internal_static_google_spanner_admin_database_v1_OptimizeRestoredDatabaseMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_OptimizeRestoredDatabaseMetadata_fieldAccessorTable
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
+          .internal_static_google_spanner_admin_database_v1_OptimizeRestoredDatabaseMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata.class, com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata.Builder.class);
+              com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata.class,
+              com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata.Builder.class);
     }
 
-    // Construct using com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata.newBuilder()
-    private Builder() {
+    // Construct using
+    // com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata.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();
@@ -357,14 +400,16 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_OptimizeRestoredDatabaseMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
+          .internal_static_google_spanner_admin_database_v1_OptimizeRestoredDatabaseMetadata_descriptor;
     }
 
     @java.lang.Override
-    public com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata getDefaultInstanceForType() {
-      return com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata.getDefaultInstance();
+    public com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata
+        getDefaultInstanceForType() {
+      return com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata
+          .getDefaultInstance();
     }
 
     @java.lang.Override
@@ -378,21 +423,23 @@ public com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata bui
 
     @java.lang.Override
     public com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata buildPartial() {
-      com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata result = new com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata result =
+          new com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata result) {
+    private void buildPartial0(
+        com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.name_ = name_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.progress_ = progressBuilder_ == null
-            ? progress_
-            : progressBuilder_.build();
+        result.progress_ = progressBuilder_ == null ? progress_ : progressBuilder_.build();
       }
     }
 
@@ -400,46 +447,51 @@ private void buildPartial0(com.google.spanner.admin.database.v1.OptimizeRestored
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata) {
-        return mergeFrom((com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata)other);
+        return mergeFrom(
+            (com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata other) {
-      if (other == com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata other) {
+      if (other
+          == com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata
+              .getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -474,24 +526,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) {
@@ -501,22 +554,25 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Name of the restored database being optimized.
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -525,20 +581,21 @@ public java.lang.String getName() { } } /** + * + * *
      * Name of the restored database being optimized.
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -546,28 +603,35 @@ public java.lang.String getName() { } } /** + * + * *
      * Name of the restored database being optimized.
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Name of the restored database being optimized.
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearName() { @@ -577,17 +641,21 @@ public Builder clearName() { return this; } /** + * + * *
      * Name of the restored database being optimized.
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -597,34 +665,47 @@ public Builder setNameBytes( private com.google.spanner.admin.database.v1.OperationProgress progress_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.OperationProgress, com.google.spanner.admin.database.v1.OperationProgress.Builder, com.google.spanner.admin.database.v1.OperationProgressOrBuilder> progressBuilder_; + com.google.spanner.admin.database.v1.OperationProgress, + com.google.spanner.admin.database.v1.OperationProgress.Builder, + com.google.spanner.admin.database.v1.OperationProgressOrBuilder> + progressBuilder_; /** + * + * *
      * The progress of the post-restore optimizations.
      * 
* * .google.spanner.admin.database.v1.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.spanner.admin.database.v1.OperationProgress progress = 2; + * * @return The progress. */ public com.google.spanner.admin.database.v1.OperationProgress getProgress() { if (progressBuilder_ == null) { - return progress_ == null ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() : progress_; + return progress_ == null + ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() + : progress_; } else { return progressBuilder_.getMessage(); } } /** + * + * *
      * The progress of the post-restore optimizations.
      * 
@@ -645,6 +726,8 @@ public Builder setProgress(com.google.spanner.admin.database.v1.OperationProgres return this; } /** + * + * *
      * The progress of the post-restore optimizations.
      * 
@@ -663,6 +746,8 @@ public Builder setProgress( return this; } /** + * + * *
      * The progress of the post-restore optimizations.
      * 
@@ -671,9 +756,10 @@ public Builder setProgress( */ public Builder mergeProgress(com.google.spanner.admin.database.v1.OperationProgress value) { if (progressBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - progress_ != null && - progress_ != com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && progress_ != null + && progress_ + != com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance()) { getProgressBuilder().mergeFrom(value); } else { progress_ = value; @@ -686,6 +772,8 @@ public Builder mergeProgress(com.google.spanner.admin.database.v1.OperationProgr return this; } /** + * + * *
      * The progress of the post-restore optimizations.
      * 
@@ -703,6 +791,8 @@ public Builder clearProgress() { return this; } /** + * + * *
      * The progress of the post-restore optimizations.
      * 
@@ -715,6 +805,8 @@ public com.google.spanner.admin.database.v1.OperationProgress.Builder getProgres return getProgressFieldBuilder().getBuilder(); } /** + * + * *
      * The progress of the post-restore optimizations.
      * 
@@ -725,11 +817,14 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre if (progressBuilder_ != null) { return progressBuilder_.getMessageOrBuilder(); } else { - return progress_ == null ? - com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() : progress_; + return progress_ == null + ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() + : progress_; } } /** + * + * *
      * The progress of the post-restore optimizations.
      * 
@@ -737,21 +832,24 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre * .google.spanner.admin.database.v1.OperationProgress progress = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.OperationProgress, com.google.spanner.admin.database.v1.OperationProgress.Builder, com.google.spanner.admin.database.v1.OperationProgressOrBuilder> + com.google.spanner.admin.database.v1.OperationProgress, + com.google.spanner.admin.database.v1.OperationProgress.Builder, + com.google.spanner.admin.database.v1.OperationProgressOrBuilder> getProgressFieldBuilder() { if (progressBuilder_ == null) { - progressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.OperationProgress, com.google.spanner.admin.database.v1.OperationProgress.Builder, com.google.spanner.admin.database.v1.OperationProgressOrBuilder>( - getProgress(), - getParentForChildren(), - isClean()); + progressBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.admin.database.v1.OperationProgress, + com.google.spanner.admin.database.v1.OperationProgress.Builder, + com.google.spanner.admin.database.v1.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); } @@ -761,41 +859,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata) - private static final com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata DEFAULT_INSTANCE; + private static final com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata(); } - public static com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata getDefaultInstance() { + public static com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OptimizeRestoredDatabaseMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OptimizeRestoredDatabaseMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,9 +907,8 @@ public com.google.protobuf.Parser getParserFor } @java.lang.Override - public com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata getDefaultInstanceForType() { + public com.google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/OptimizeRestoredDatabaseMetadataOrBuilder.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/OptimizeRestoredDatabaseMetadataOrBuilder.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/OptimizeRestoredDatabaseMetadataOrBuilder.java rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/OptimizeRestoredDatabaseMetadataOrBuilder.java index 615d387a94e..0606518a011 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/OptimizeRestoredDatabaseMetadataOrBuilder.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/OptimizeRestoredDatabaseMetadataOrBuilder.java @@ -1,51 +1,80 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/spanner_database_admin.proto package com.google.spanner.admin.database.v1; -public interface OptimizeRestoredDatabaseMetadataOrBuilder extends +public interface OptimizeRestoredDatabaseMetadataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Name of the restored database being optimized.
    * 
* * string name = 1 [(.google.api.resource_reference) = { ... } + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Name of the restored database being optimized.
    * 
* * string name = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The progress of the post-restore optimizations.
    * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 2; + * * @return Whether the progress field is set. */ boolean hasProgress(); /** + * + * *
    * The progress of the post-restore optimizations.
    * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 2; + * * @return The progress. */ com.google.spanner.admin.database.v1.OperationProgress getProgress(); /** + * + * *
    * The progress of the post-restore optimizations.
    * 
diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseEncryptionConfig.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseEncryptionConfig.java similarity index 61% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseEncryptionConfig.java rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseEncryptionConfig.java index 92fee1b81c7..54aa3135f07 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseEncryptionConfig.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseEncryptionConfig.java @@ -1,24 +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/spanner/admin/database/v1/spanner_database_admin.proto package com.google.spanner.admin.database.v1; /** + * + * *
  * Encryption configuration for the restored database.
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig} */ -public final class RestoreDatabaseEncryptionConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RestoreDatabaseEncryptionConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig) RestoreDatabaseEncryptionConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RestoreDatabaseEncryptionConfig.newBuilder() to construct. - private RestoreDatabaseEncryptionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private RestoreDatabaseEncryptionConfig( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RestoreDatabaseEncryptionConfig() { encryptionType_ = 0; kmsKeyName_ = ""; @@ -26,39 +45,44 @@ private RestoreDatabaseEncryptionConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RestoreDatabaseEncryptionConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_RestoreDatabaseEncryptionConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto + .internal_static_google_spanner_admin_database_v1_RestoreDatabaseEncryptionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_RestoreDatabaseEncryptionConfig_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto + .internal_static_google_spanner_admin_database_v1_RestoreDatabaseEncryptionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.class, com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.Builder.class); + com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.class, + com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.Builder.class); } /** + * + * *
    * Encryption types for the database to be restored.
    * 
* - * Protobuf enum {@code google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType} + * Protobuf enum {@code + * google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType} */ - public enum EncryptionType - implements com.google.protobuf.ProtocolMessageEnum { + public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified. Do not use.
      * 
@@ -67,6 +91,8 @@ public enum EncryptionType */ ENCRYPTION_TYPE_UNSPECIFIED(0), /** + * + * *
      * This is the default option when
      * [encryption_config][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig] is not specified.
@@ -76,6 +102,8 @@ public enum EncryptionType
      */
     USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION(1),
     /**
+     *
+     *
      * 
      * Use Google default encryption.
      * 
@@ -84,6 +112,8 @@ public enum EncryptionType */ GOOGLE_DEFAULT_ENCRYPTION(2), /** + * + * *
      * Use customer managed encryption. If specified, `kms_key_name` must
      * must contain a valid Cloud KMS key.
@@ -96,6 +126,8 @@ public enum EncryptionType
     ;
 
     /**
+     *
+     *
      * 
      * Unspecified. Do not use.
      * 
@@ -104,6 +136,8 @@ public enum EncryptionType */ public static final int ENCRYPTION_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * This is the default option when
      * [encryption_config][google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig] is not specified.
@@ -113,6 +147,8 @@ public enum EncryptionType
      */
     public static final int USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION_VALUE = 1;
     /**
+     *
+     *
      * 
      * Use Google default encryption.
      * 
@@ -121,6 +157,8 @@ public enum EncryptionType */ public static final int GOOGLE_DEFAULT_ENCRYPTION_VALUE = 2; /** + * + * *
      * Use customer managed encryption. If specified, `kms_key_name` must
      * must contain a valid Cloud KMS key.
@@ -130,7 +168,6 @@ public enum EncryptionType
      */
     public static final int CUSTOMER_MANAGED_ENCRYPTION_VALUE = 3;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -155,50 +192,53 @@ public static EncryptionType valueOf(int value) {
      */
     public static EncryptionType forNumber(int value) {
       switch (value) {
-        case 0: return ENCRYPTION_TYPE_UNSPECIFIED;
-        case 1: return USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION;
-        case 2: return GOOGLE_DEFAULT_ENCRYPTION;
-        case 3: return CUSTOMER_MANAGED_ENCRYPTION;
-        default: return null;
+        case 0:
+          return ENCRYPTION_TYPE_UNSPECIFIED;
+        case 1:
+          return USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION;
+        case 2:
+          return GOOGLE_DEFAULT_ENCRYPTION;
+        case 3:
+          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() {
-      return com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.getDescriptor().getEnumTypes().get(0);
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+      return com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.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;
@@ -218,33 +258,54 @@ private EncryptionType(int value) {
   public static final int ENCRYPTION_TYPE_FIELD_NUMBER = 1;
   private int encryptionType_ = 0;
   /**
+   *
+   *
    * 
    * Required. The encryption type of the restored database.
    * 
* - * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for encryptionType. */ - @java.lang.Override public int getEncryptionTypeValue() { + @java.lang.Override + public int getEncryptionTypeValue() { return encryptionType_; } /** + * + * *
    * Required. The encryption type of the restored database.
    * 
* - * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The encryptionType. */ - @java.lang.Override public com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType getEncryptionType() { - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType result = com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType.forNumber(encryptionType_); - return result == null ? com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType + getEncryptionType() { + com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType result = + com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType + .forNumber(encryptionType_); + return result == null + ? com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType + .UNRECOGNIZED + : result; } public static final int KMS_KEY_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object kmsKeyName_ = ""; /** + * + * *
    * Optional. The Cloud KMS key that will be used to encrypt/decrypt the restored
    * database. This field should be set only when
@@ -253,7 +314,10 @@ private EncryptionType(int value) {
    * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
    * 
* - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The kmsKeyName. */ @java.lang.Override @@ -262,14 +326,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; } } /** + * + * *
    * Optional. The Cloud KMS key that will be used to encrypt/decrypt the restored
    * database. This field should be set only when
@@ -278,17 +343,18 @@ public java.lang.String getKmsKeyName() {
    * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
    * 
* - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.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 { @@ -297,6 +363,7 @@ public java.lang.String getKmsKeyName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -308,9 +375,11 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (encryptionType_ != com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType.ENCRYPTION_TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (encryptionType_ + != com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType + .ENCRYPTION_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, encryptionType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyName_)) { @@ -325,9 +394,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (encryptionType_ != com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType.ENCRYPTION_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, encryptionType_); + if (encryptionType_ + != com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType + .ENCRYPTION_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, encryptionType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, kmsKeyName_); @@ -340,16 +411,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.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig other = (com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig) obj; + com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig other = + (com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig) obj; if (encryptionType_ != other.encryptionType_) return false; - if (!getKmsKeyName() - .equals(other.getKmsKeyName())) return false; + if (!getKmsKeyName().equals(other.getKmsKeyName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -371,129 +442,138 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig 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.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig + 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.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig prototype) { + + public static Builder newBuilder( + com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 configuration for the restored database.
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig) com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_RestoreDatabaseEncryptionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto + .internal_static_google_spanner_admin_database_v1_RestoreDatabaseEncryptionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_RestoreDatabaseEncryptionConfig_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto + .internal_static_google_spanner_admin_database_v1_RestoreDatabaseEncryptionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.class, com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.Builder.class); + com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.class, + com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.Builder.class); } - // Construct using com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.newBuilder() - private Builder() { + // Construct using + // com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.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(); @@ -504,14 +584,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_RestoreDatabaseEncryptionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto + .internal_static_google_spanner_admin_database_v1_RestoreDatabaseEncryptionConfig_descriptor; } @java.lang.Override - public com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig getDefaultInstanceForType() { - return com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.getDefaultInstance(); + public com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig + getDefaultInstanceForType() { + return com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig + .getDefaultInstance(); } @java.lang.Override @@ -525,13 +607,17 @@ public com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig buil @java.lang.Override public com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig buildPartial() { - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig result = new com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig result = + new com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig result) { + private void buildPartial0( + com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.encryptionType_ = encryptionType_; @@ -545,46 +631,51 @@ private void buildPartial0(com.google.spanner.admin.database.v1.RestoreDatabaseE public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig) { - return mergeFrom((com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig)other); + return mergeFrom( + (com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig other) { - if (other == com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig other) { + if (other + == com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig + .getDefaultInstance()) return this; if (other.encryptionType_ != 0) { setEncryptionTypeValue(other.getEncryptionTypeValue()); } @@ -619,22 +710,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - encryptionType_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - kmsKeyName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + encryptionType_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + kmsKeyName_ = 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) { @@ -644,26 +738,38 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int encryptionType_ = 0; /** + * + * *
      * Required. The encryption type of the restored database.
      * 
* - * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for encryptionType. */ - @java.lang.Override public int getEncryptionTypeValue() { + @java.lang.Override + public int getEncryptionTypeValue() { return encryptionType_; } /** + * + * *
      * Required. The encryption type of the restored database.
      * 
* - * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for encryptionType to set. * @return This builder for chaining. */ @@ -674,28 +780,45 @@ public Builder setEncryptionTypeValue(int value) { return this; } /** + * + * *
      * Required. The encryption type of the restored database.
      * 
* - * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The encryptionType. */ @java.lang.Override - public com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType getEncryptionType() { - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType result = com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType.forNumber(encryptionType_); - return result == null ? com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType.UNRECOGNIZED : result; + public com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType + getEncryptionType() { + com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType result = + com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType + .forNumber(encryptionType_); + return result == null + ? com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType + .UNRECOGNIZED + : result; } /** + * + * *
      * Required. The encryption type of the restored database.
      * 
* - * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The encryptionType to set. * @return This builder for chaining. */ - public Builder setEncryptionType(com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType value) { + public Builder setEncryptionType( + com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType value) { if (value == null) { throw new NullPointerException(); } @@ -705,11 +828,16 @@ public Builder setEncryptionType(com.google.spanner.admin.database.v1.RestoreDat return this; } /** + * + * *
      * Required. The encryption type of the restored database.
      * 
* - * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearEncryptionType() { @@ -721,6 +849,8 @@ public Builder clearEncryptionType() { private java.lang.Object kmsKeyName_ = ""; /** + * + * *
      * Optional. The Cloud KMS key that will be used to encrypt/decrypt the restored
      * database. This field should be set only when
@@ -729,14 +859,16 @@ public Builder clearEncryptionType() {
      * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
      * 
* - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.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; @@ -745,6 +877,8 @@ public java.lang.String getKmsKeyName() { } } /** + * + * *
      * Optional. The Cloud KMS key that will be used to encrypt/decrypt the restored
      * database. This field should be set only when
@@ -753,16 +887,17 @@ public java.lang.String getKmsKeyName() {
      * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
      * 
* - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.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 { @@ -770,6 +905,8 @@ public java.lang.String getKmsKeyName() { } } /** + * + * *
      * Optional. The Cloud KMS key that will be used to encrypt/decrypt the restored
      * database. This field should be set only when
@@ -778,19 +915,25 @@ public java.lang.String getKmsKeyName() {
      * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
      * 
* - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.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_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. The Cloud KMS key that will be used to encrypt/decrypt the restored
      * database. This field should be set only when
@@ -799,7 +942,10 @@ public Builder setKmsKeyName(
      * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
      * 
* - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearKmsKeyName() { @@ -809,6 +955,8 @@ public Builder clearKmsKeyName() { return this; } /** + * + * *
      * Optional. The Cloud KMS key that will be used to encrypt/decrypt the restored
      * database. This field should be set only when
@@ -817,22 +965,26 @@ public Builder clearKmsKeyName() {
      * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
      * 
* - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.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_ |= 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); } @@ -842,41 +994,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig) - private static final com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig DEFAULT_INSTANCE; + private static final com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig(); } - public static com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig getDefaultInstance() { + public static com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RestoreDatabaseEncryptionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RestoreDatabaseEncryptionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,9 +1042,8 @@ public com.google.protobuf.Parser getParserForT } @java.lang.Override - public com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig getDefaultInstanceForType() { + public com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseEncryptionConfigOrBuilder.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseEncryptionConfigOrBuilder.java similarity index 54% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseEncryptionConfigOrBuilder.java rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseEncryptionConfigOrBuilder.java index 7ee03fbb6fa..a3915b2a6f4 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseEncryptionConfigOrBuilder.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseEncryptionConfigOrBuilder.java @@ -1,32 +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/spanner/admin/database/v1/spanner_database_admin.proto package com.google.spanner.admin.database.v1; -public interface RestoreDatabaseEncryptionConfigOrBuilder extends +public interface RestoreDatabaseEncryptionConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The encryption type of the restored database.
    * 
* - * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for encryptionType. */ int getEncryptionTypeValue(); /** + * + * *
    * Required. The encryption type of the restored database.
    * 
* - * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType encryption_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The encryptionType. */ - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType getEncryptionType(); + com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.EncryptionType + getEncryptionType(); /** + * + * *
    * Optional. The Cloud KMS key that will be used to encrypt/decrypt the restored
    * database. This field should be set only when
@@ -35,11 +64,16 @@ public interface RestoreDatabaseEncryptionConfigOrBuilder extends
    * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
    * 
* - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The kmsKeyName. */ java.lang.String getKmsKeyName(); /** + * + * *
    * Optional. The Cloud KMS key that will be used to encrypt/decrypt the restored
    * database. This field should be set only when
@@ -48,9 +82,11 @@ public interface RestoreDatabaseEncryptionConfigOrBuilder extends
    * `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`.
    * 
* - * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * string kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for kmsKeyName. */ - com.google.protobuf.ByteString - getKmsKeyNameBytes(); + com.google.protobuf.ByteString getKmsKeyNameBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseMetadata.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseMetadata.java similarity index 77% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseMetadata.java rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseMetadata.java index 9edc2541857..0225666e1ff 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseMetadata.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseMetadata.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/spanner_database_admin.proto package com.google.spanner.admin.database.v1; /** + * + * *
  * Metadata type for the long-running operation returned by
  * [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.spanner.admin.database.v1.RestoreDatabaseMetadata}
  */
-public final class RestoreDatabaseMetadata extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RestoreDatabaseMetadata extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.RestoreDatabaseMetadata)
     RestoreDatabaseMetadataOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RestoreDatabaseMetadata.newBuilder() to construct.
   private RestoreDatabaseMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private RestoreDatabaseMetadata() {
     name_ = "";
     sourceType_ = 0;
@@ -28,37 +46,41 @@ private RestoreDatabaseMetadata() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RestoreDatabaseMetadata();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_RestoreDatabaseMetadata_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
+        .internal_static_google_spanner_admin_database_v1_RestoreDatabaseMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_RestoreDatabaseMetadata_fieldAccessorTable
+    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
+        .internal_static_google_spanner_admin_database_v1_RestoreDatabaseMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.database.v1.RestoreDatabaseMetadata.class, com.google.spanner.admin.database.v1.RestoreDatabaseMetadata.Builder.class);
+            com.google.spanner.admin.database.v1.RestoreDatabaseMetadata.class,
+            com.google.spanner.admin.database.v1.RestoreDatabaseMetadata.Builder.class);
   }
 
   private int sourceInfoCase_ = 0;
   private java.lang.Object sourceInfo_;
+
   public enum SourceInfoCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     BACKUP_INFO(3),
     SOURCEINFO_NOT_SET(0);
     private final int value;
+
     private SourceInfoCase(int value) {
       this.value = value;
     }
@@ -74,31 +96,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 database being created and restored to.
    * 
* * string name = 1 [(.google.api.resource_reference) = { ... } + * * @return The name. */ @java.lang.Override @@ -107,29 +135,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 database being created and restored to.
    * 
* * string name = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -140,36 +168,50 @@ 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.spanner.admin.database.v1.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.spanner.admin.database.v1.RestoreSourceType source_type = 2; + * * @return The sourceType. */ - @java.lang.Override public com.google.spanner.admin.database.v1.RestoreSourceType getSourceType() { - com.google.spanner.admin.database.v1.RestoreSourceType result = com.google.spanner.admin.database.v1.RestoreSourceType.forNumber(sourceType_); - return result == null ? com.google.spanner.admin.database.v1.RestoreSourceType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.spanner.admin.database.v1.RestoreSourceType getSourceType() { + com.google.spanner.admin.database.v1.RestoreSourceType result = + com.google.spanner.admin.database.v1.RestoreSourceType.forNumber(sourceType_); + return result == null + ? com.google.spanner.admin.database.v1.RestoreSourceType.UNRECOGNIZED + : result; } public static final int BACKUP_INFO_FIELD_NUMBER = 3; /** + * + * *
    * Information about the backup used to restore the database.
    * 
* * .google.spanner.admin.database.v1.BackupInfo backup_info = 3; + * * @return Whether the backupInfo field is set. */ @java.lang.Override @@ -177,21 +219,26 @@ public boolean hasBackupInfo() { return sourceInfoCase_ == 3; } /** + * + * *
    * Information about the backup used to restore the database.
    * 
* * .google.spanner.admin.database.v1.BackupInfo backup_info = 3; + * * @return The backupInfo. */ @java.lang.Override public com.google.spanner.admin.database.v1.BackupInfo getBackupInfo() { if (sourceInfoCase_ == 3) { - return (com.google.spanner.admin.database.v1.BackupInfo) sourceInfo_; + return (com.google.spanner.admin.database.v1.BackupInfo) sourceInfo_; } return com.google.spanner.admin.database.v1.BackupInfo.getDefaultInstance(); } /** + * + * *
    * Information about the backup used to restore the database.
    * 
@@ -201,7 +248,7 @@ public com.google.spanner.admin.database.v1.BackupInfo getBackupInfo() { @java.lang.Override public com.google.spanner.admin.database.v1.BackupInfoOrBuilder getBackupInfoOrBuilder() { if (sourceInfoCase_ == 3) { - return (com.google.spanner.admin.database.v1.BackupInfo) sourceInfo_; + return (com.google.spanner.admin.database.v1.BackupInfo) sourceInfo_; } return com.google.spanner.admin.database.v1.BackupInfo.getDefaultInstance(); } @@ -209,6 +256,8 @@ public com.google.spanner.admin.database.v1.BackupInfoOrBuilder getBackupInfoOrB public static final int PROGRESS_FIELD_NUMBER = 4; private com.google.spanner.admin.database.v1.OperationProgress progress_; /** + * + * *
    * The progress of the
    * [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase]
@@ -216,6 +265,7 @@ public com.google.spanner.admin.database.v1.BackupInfoOrBuilder getBackupInfoOrB
    * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 4; + * * @return Whether the progress field is set. */ @java.lang.Override @@ -223,6 +273,8 @@ public boolean hasProgress() { return progress_ != null; } /** + * + * *
    * The progress of the
    * [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase]
@@ -230,13 +282,18 @@ public boolean hasProgress() {
    * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 4; + * * @return The progress. */ @java.lang.Override public com.google.spanner.admin.database.v1.OperationProgress getProgress() { - return progress_ == null ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() : progress_; + return progress_ == null + ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() + : progress_; } /** + * + * *
    * The progress of the
    * [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase]
@@ -247,12 +304,16 @@ public com.google.spanner.admin.database.v1.OperationProgress getProgress() {
    */
   @java.lang.Override
   public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgressOrBuilder() {
-    return progress_ == null ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() : progress_;
+    return progress_ == null
+        ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance()
+        : progress_;
   }
 
   public static final int CANCEL_TIME_FIELD_NUMBER = 5;
   private com.google.protobuf.Timestamp cancelTime_;
   /**
+   *
+   *
    * 
    * The time at which cancellation of this operation was received.
    * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -268,6 +329,7 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre
    * 
* * .google.protobuf.Timestamp cancel_time = 5; + * * @return Whether the cancelTime field is set. */ @java.lang.Override @@ -275,6 +337,8 @@ public boolean hasCancelTime() { return cancelTime_ != null; } /** + * + * *
    * The time at which cancellation of this operation was received.
    * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -290,6 +354,7 @@ public boolean hasCancelTime() {
    * 
* * .google.protobuf.Timestamp cancel_time = 5; + * * @return The cancelTime. */ @java.lang.Override @@ -297,6 +362,8 @@ public com.google.protobuf.Timestamp getCancelTime() { return cancelTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : cancelTime_; } /** + * + * *
    * The time at which cancellation of this operation was received.
    * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -319,9 +386,12 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
   }
 
   public static final int OPTIMIZE_DATABASE_OPERATION_NAME_FIELD_NUMBER = 6;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object optimizeDatabaseOperationName_ = "";
   /**
+   *
+   *
    * 
    * 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
@@ -337,6 +407,7 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
    * 
* * string optimize_database_operation_name = 6; + * * @return The optimizeDatabaseOperationName. */ @java.lang.Override @@ -345,14 +416,15 @@ public java.lang.String getOptimizeDatabaseOperationName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); optimizeDatabaseOperationName_ = 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
@@ -368,16 +440,15 @@ public java.lang.String getOptimizeDatabaseOperationName() {
    * 
* * string optimize_database_operation_name = 6; + * * @return The bytes for optimizeDatabaseOperationName. */ @java.lang.Override - public com.google.protobuf.ByteString - getOptimizeDatabaseOperationNameBytes() { + public com.google.protobuf.ByteString getOptimizeDatabaseOperationNameBytes() { java.lang.Object ref = optimizeDatabaseOperationName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); optimizeDatabaseOperationName_ = b; return b; } else { @@ -386,6 +457,7 @@ public java.lang.String getOptimizeDatabaseOperationName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -397,12 +469,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.spanner.admin.database.v1.RestoreSourceType.TYPE_UNSPECIFIED.getNumber()) { + if (sourceType_ + != com.google.spanner.admin.database.v1.RestoreSourceType.TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(2, sourceType_); } if (sourceInfoCase_ == 3) { @@ -429,24 +501,25 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (sourceType_ != com.google.spanner.admin.database.v1.RestoreSourceType.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, sourceType_); + if (sourceType_ + != com.google.spanner.admin.database.v1.RestoreSourceType.TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, sourceType_); } if (sourceInfoCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.spanner.admin.database.v1.BackupInfo) sourceInfo_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.spanner.admin.database.v1.BackupInfo) sourceInfo_); } if (progress_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getProgress()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getProgress()); } if (cancelTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getCancelTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCancelTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(optimizeDatabaseOperationName_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, optimizeDatabaseOperationName_); + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize( + 6, optimizeDatabaseOperationName_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -456,33 +529,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.spanner.admin.database.v1.RestoreDatabaseMetadata)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.RestoreDatabaseMetadata other = (com.google.spanner.admin.database.v1.RestoreDatabaseMetadata) obj; + com.google.spanner.admin.database.v1.RestoreDatabaseMetadata other = + (com.google.spanner.admin.database.v1.RestoreDatabaseMetadata) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (sourceType_ != other.sourceType_) 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 (hasCancelTime() != other.hasCancelTime()) return false; if (hasCancelTime()) { - if (!getCancelTime() - .equals(other.getCancelTime())) return false; + if (!getCancelTime().equals(other.getCancelTime())) return false; } - if (!getOptimizeDatabaseOperationName() - .equals(other.getOptimizeDatabaseOperationName())) return false; + if (!getOptimizeDatabaseOperationName().equals(other.getOptimizeDatabaseOperationName())) + 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: @@ -526,96 +596,104 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.RestoreDatabaseMetadata parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.RestoreDatabaseMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.admin.database.v1.RestoreDatabaseMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.RestoreDatabaseMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.admin.database.v1.RestoreDatabaseMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.RestoreDatabaseMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.RestoreDatabaseMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.spanner.admin.database.v1.RestoreDatabaseMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.RestoreDatabaseMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.RestoreDatabaseMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.spanner.admin.database.v1.RestoreDatabaseMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.RestoreDatabaseMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.spanner.admin.database.v1.RestoreDatabaseMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.RestoreDatabaseMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.admin.database.v1.RestoreDatabaseMetadata prototype) { + + public static Builder newBuilder( + com.google.spanner.admin.database.v1.RestoreDatabaseMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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
    * [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase].
@@ -623,33 +701,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.spanner.admin.database.v1.RestoreDatabaseMetadata}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.RestoreDatabaseMetadata)
       com.google.spanner.admin.database.v1.RestoreDatabaseMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_RestoreDatabaseMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
+          .internal_static_google_spanner_admin_database_v1_RestoreDatabaseMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_RestoreDatabaseMetadata_fieldAccessorTable
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
+          .internal_static_google_spanner_admin_database_v1_RestoreDatabaseMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.database.v1.RestoreDatabaseMetadata.class, com.google.spanner.admin.database.v1.RestoreDatabaseMetadata.Builder.class);
+              com.google.spanner.admin.database.v1.RestoreDatabaseMetadata.class,
+              com.google.spanner.admin.database.v1.RestoreDatabaseMetadata.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.database.v1.RestoreDatabaseMetadata.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -676,13 +753,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_RestoreDatabaseMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
+          .internal_static_google_spanner_admin_database_v1_RestoreDatabaseMetadata_descriptor;
     }
 
     @java.lang.Override
-    public com.google.spanner.admin.database.v1.RestoreDatabaseMetadata getDefaultInstanceForType() {
+    public com.google.spanner.admin.database.v1.RestoreDatabaseMetadata
+        getDefaultInstanceForType() {
       return com.google.spanner.admin.database.v1.RestoreDatabaseMetadata.getDefaultInstance();
     }
 
@@ -697,14 +775,18 @@ public com.google.spanner.admin.database.v1.RestoreDatabaseMetadata build() {
 
     @java.lang.Override
     public com.google.spanner.admin.database.v1.RestoreDatabaseMetadata buildPartial() {
-      com.google.spanner.admin.database.v1.RestoreDatabaseMetadata result = new com.google.spanner.admin.database.v1.RestoreDatabaseMetadata(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.spanner.admin.database.v1.RestoreDatabaseMetadata result =
+          new com.google.spanner.admin.database.v1.RestoreDatabaseMetadata(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.spanner.admin.database.v1.RestoreDatabaseMetadata result) {
+    private void buildPartial0(
+        com.google.spanner.admin.database.v1.RestoreDatabaseMetadata result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.name_ = name_;
@@ -713,25 +795,21 @@ private void buildPartial0(com.google.spanner.admin.database.v1.RestoreDatabaseM
         result.sourceType_ = sourceType_;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.progress_ = progressBuilder_ == null
-            ? progress_
-            : progressBuilder_.build();
+        result.progress_ = progressBuilder_ == null ? progress_ : progressBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.cancelTime_ = cancelTimeBuilder_ == null
-            ? cancelTime_
-            : cancelTimeBuilder_.build();
+        result.cancelTime_ = cancelTimeBuilder_ == null ? cancelTime_ : cancelTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
         result.optimizeDatabaseOperationName_ = optimizeDatabaseOperationName_;
       }
     }
 
-    private void buildPartialOneofs(com.google.spanner.admin.database.v1.RestoreDatabaseMetadata result) {
+    private void buildPartialOneofs(
+        com.google.spanner.admin.database.v1.RestoreDatabaseMetadata result) {
       result.sourceInfoCase_ = sourceInfoCase_;
       result.sourceInfo_ = this.sourceInfo_;
-      if (sourceInfoCase_ == 3 &&
-          backupInfoBuilder_ != null) {
+      if (sourceInfoCase_ == 3 && backupInfoBuilder_ != null) {
         result.sourceInfo_ = backupInfoBuilder_.build();
       }
     }
@@ -740,38 +818,39 @@ private void buildPartialOneofs(com.google.spanner.admin.database.v1.RestoreData
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.database.v1.RestoreDatabaseMetadata) {
-        return mergeFrom((com.google.spanner.admin.database.v1.RestoreDatabaseMetadata)other);
+        return mergeFrom((com.google.spanner.admin.database.v1.RestoreDatabaseMetadata) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -779,7 +858,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.spanner.admin.database.v1.RestoreDatabaseMetadata other) {
-      if (other == com.google.spanner.admin.database.v1.RestoreDatabaseMetadata.getDefaultInstance()) return this;
+      if (other
+          == com.google.spanner.admin.database.v1.RestoreDatabaseMetadata.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -800,13 +881,15 @@ public Builder mergeFrom(com.google.spanner.admin.database.v1.RestoreDatabaseMet
         onChanged();
       }
       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();
@@ -834,48 +917,49 @@ 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: {
-              input.readMessage(
-                  getProgressFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            case 42: {
-              input.readMessage(
-                  getCancelTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 42
-            case 50: {
-              optimizeDatabaseOperationName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000020;
-              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 16:
+              {
+                sourceType_ = input.readEnum();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 16
+            case 26:
+              {
+                input.readMessage(getBackupInfoFieldBuilder().getBuilder(), extensionRegistry);
+                sourceInfoCase_ = 3;
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(getProgressFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            case 42:
+              {
+                input.readMessage(getCancelTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 42
+            case 50:
+              {
+                optimizeDatabaseOperationName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000020;
+                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) {
@@ -885,12 +969,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() {
@@ -904,18 +988,20 @@ public Builder clearSourceInfo() {
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Name of the database being created and restored to.
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -924,20 +1010,21 @@ public java.lang.String getName() { } } /** + * + * *
      * Name of the database being created and restored to.
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -945,28 +1032,35 @@ public java.lang.String getName() { } } /** + * + * *
      * Name of the database being created and restored to.
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Name of the database being created and restored to.
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearName() { @@ -976,17 +1070,21 @@ public Builder clearName() { return this; } /** + * + * *
      * Name of the database being created and restored to.
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -996,22 +1094,29 @@ public Builder setNameBytes( private int sourceType_ = 0; /** + * + * *
      * The type of the restore source.
      * 
* * .google.spanner.admin.database.v1.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.spanner.admin.database.v1.RestoreSourceType source_type = 2; + * * @param value The enum numeric value on the wire for sourceType to set. * @return This builder for chaining. */ @@ -1022,24 +1127,33 @@ public Builder setSourceTypeValue(int value) { return this; } /** + * + * *
      * The type of the restore source.
      * 
* * .google.spanner.admin.database.v1.RestoreSourceType source_type = 2; + * * @return The sourceType. */ @java.lang.Override public com.google.spanner.admin.database.v1.RestoreSourceType getSourceType() { - com.google.spanner.admin.database.v1.RestoreSourceType result = com.google.spanner.admin.database.v1.RestoreSourceType.forNumber(sourceType_); - return result == null ? com.google.spanner.admin.database.v1.RestoreSourceType.UNRECOGNIZED : result; + com.google.spanner.admin.database.v1.RestoreSourceType result = + com.google.spanner.admin.database.v1.RestoreSourceType.forNumber(sourceType_); + return result == null + ? com.google.spanner.admin.database.v1.RestoreSourceType.UNRECOGNIZED + : result; } /** + * + * *
      * The type of the restore source.
      * 
* * .google.spanner.admin.database.v1.RestoreSourceType source_type = 2; + * * @param value The sourceType to set. * @return This builder for chaining. */ @@ -1053,11 +1167,14 @@ public Builder setSourceType(com.google.spanner.admin.database.v1.RestoreSourceT return this; } /** + * + * *
      * The type of the restore source.
      * 
* * .google.spanner.admin.database.v1.RestoreSourceType source_type = 2; + * * @return This builder for chaining. */ public Builder clearSourceType() { @@ -1068,13 +1185,19 @@ public Builder clearSourceType() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.BackupInfo, com.google.spanner.admin.database.v1.BackupInfo.Builder, com.google.spanner.admin.database.v1.BackupInfoOrBuilder> backupInfoBuilder_; + com.google.spanner.admin.database.v1.BackupInfo, + com.google.spanner.admin.database.v1.BackupInfo.Builder, + com.google.spanner.admin.database.v1.BackupInfoOrBuilder> + backupInfoBuilder_; /** + * + * *
      * Information about the backup used to restore the database.
      * 
* * .google.spanner.admin.database.v1.BackupInfo backup_info = 3; + * * @return Whether the backupInfo field is set. */ @java.lang.Override @@ -1082,11 +1205,14 @@ public boolean hasBackupInfo() { return sourceInfoCase_ == 3; } /** + * + * *
      * Information about the backup used to restore the database.
      * 
* * .google.spanner.admin.database.v1.BackupInfo backup_info = 3; + * * @return The backupInfo. */ @java.lang.Override @@ -1104,6 +1230,8 @@ public com.google.spanner.admin.database.v1.BackupInfo getBackupInfo() { } } /** + * + * *
      * Information about the backup used to restore the database.
      * 
@@ -1124,6 +1252,8 @@ public Builder setBackupInfo(com.google.spanner.admin.database.v1.BackupInfo val return this; } /** + * + * *
      * Information about the backup used to restore the database.
      * 
@@ -1142,6 +1272,8 @@ public Builder setBackupInfo( return this; } /** + * + * *
      * Information about the backup used to restore the database.
      * 
@@ -1150,10 +1282,14 @@ public Builder setBackupInfo( */ public Builder mergeBackupInfo(com.google.spanner.admin.database.v1.BackupInfo value) { if (backupInfoBuilder_ == null) { - if (sourceInfoCase_ == 3 && - sourceInfo_ != com.google.spanner.admin.database.v1.BackupInfo.getDefaultInstance()) { - sourceInfo_ = com.google.spanner.admin.database.v1.BackupInfo.newBuilder((com.google.spanner.admin.database.v1.BackupInfo) sourceInfo_) - .mergeFrom(value).buildPartial(); + if (sourceInfoCase_ == 3 + && sourceInfo_ + != com.google.spanner.admin.database.v1.BackupInfo.getDefaultInstance()) { + sourceInfo_ = + com.google.spanner.admin.database.v1.BackupInfo.newBuilder( + (com.google.spanner.admin.database.v1.BackupInfo) sourceInfo_) + .mergeFrom(value) + .buildPartial(); } else { sourceInfo_ = value; } @@ -1169,6 +1305,8 @@ public Builder mergeBackupInfo(com.google.spanner.admin.database.v1.BackupInfo v return this; } /** + * + * *
      * Information about the backup used to restore the database.
      * 
@@ -1192,6 +1330,8 @@ public Builder clearBackupInfo() { return this; } /** + * + * *
      * Information about the backup used to restore the database.
      * 
@@ -1202,6 +1342,8 @@ public com.google.spanner.admin.database.v1.BackupInfo.Builder getBackupInfoBuil return getBackupInfoFieldBuilder().getBuilder(); } /** + * + * *
      * Information about the backup used to restore the database.
      * 
@@ -1220,6 +1362,8 @@ public com.google.spanner.admin.database.v1.BackupInfoOrBuilder getBackupInfoOrB } } /** + * + * *
      * Information about the backup used to restore the database.
      * 
@@ -1227,14 +1371,19 @@ public com.google.spanner.admin.database.v1.BackupInfoOrBuilder getBackupInfoOrB * .google.spanner.admin.database.v1.BackupInfo backup_info = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.BackupInfo, com.google.spanner.admin.database.v1.BackupInfo.Builder, com.google.spanner.admin.database.v1.BackupInfoOrBuilder> + com.google.spanner.admin.database.v1.BackupInfo, + com.google.spanner.admin.database.v1.BackupInfo.Builder, + com.google.spanner.admin.database.v1.BackupInfoOrBuilder> getBackupInfoFieldBuilder() { if (backupInfoBuilder_ == null) { if (!(sourceInfoCase_ == 3)) { sourceInfo_ = com.google.spanner.admin.database.v1.BackupInfo.getDefaultInstance(); } - backupInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.BackupInfo, com.google.spanner.admin.database.v1.BackupInfo.Builder, com.google.spanner.admin.database.v1.BackupInfoOrBuilder>( + backupInfoBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.admin.database.v1.BackupInfo, + com.google.spanner.admin.database.v1.BackupInfo.Builder, + com.google.spanner.admin.database.v1.BackupInfoOrBuilder>( (com.google.spanner.admin.database.v1.BackupInfo) sourceInfo_, getParentForChildren(), isClean()); @@ -1247,8 +1396,13 @@ public com.google.spanner.admin.database.v1.BackupInfoOrBuilder getBackupInfoOrB private com.google.spanner.admin.database.v1.OperationProgress progress_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.OperationProgress, com.google.spanner.admin.database.v1.OperationProgress.Builder, com.google.spanner.admin.database.v1.OperationProgressOrBuilder> progressBuilder_; + com.google.spanner.admin.database.v1.OperationProgress, + com.google.spanner.admin.database.v1.OperationProgress.Builder, + com.google.spanner.admin.database.v1.OperationProgressOrBuilder> + progressBuilder_; /** + * + * *
      * The progress of the
      * [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase]
@@ -1256,12 +1410,15 @@ public com.google.spanner.admin.database.v1.BackupInfoOrBuilder getBackupInfoOrB
      * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 4; + * * @return Whether the progress field is set. */ public boolean hasProgress() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * The progress of the
      * [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase]
@@ -1269,16 +1426,21 @@ public boolean hasProgress() {
      * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 4; + * * @return The progress. */ public com.google.spanner.admin.database.v1.OperationProgress getProgress() { if (progressBuilder_ == null) { - return progress_ == null ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() : progress_; + return progress_ == null + ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() + : progress_; } else { return progressBuilder_.getMessage(); } } /** + * + * *
      * The progress of the
      * [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase]
@@ -1301,6 +1463,8 @@ public Builder setProgress(com.google.spanner.admin.database.v1.OperationProgres
       return this;
     }
     /**
+     *
+     *
      * 
      * The progress of the
      * [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase]
@@ -1321,6 +1485,8 @@ public Builder setProgress(
       return this;
     }
     /**
+     *
+     *
      * 
      * The progress of the
      * [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase]
@@ -1331,9 +1497,10 @@ public Builder setProgress(
      */
     public Builder mergeProgress(com.google.spanner.admin.database.v1.OperationProgress value) {
       if (progressBuilder_ == null) {
-        if (((bitField0_ & 0x00000008) != 0) &&
-          progress_ != null &&
-          progress_ != com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0)
+            && progress_ != null
+            && progress_
+                != com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance()) {
           getProgressBuilder().mergeFrom(value);
         } else {
           progress_ = value;
@@ -1346,6 +1513,8 @@ public Builder mergeProgress(com.google.spanner.admin.database.v1.OperationProgr
       return this;
     }
     /**
+     *
+     *
      * 
      * The progress of the
      * [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase]
@@ -1365,6 +1534,8 @@ public Builder clearProgress() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The progress of the
      * [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase]
@@ -1379,6 +1550,8 @@ public com.google.spanner.admin.database.v1.OperationProgress.Builder getProgres
       return getProgressFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The progress of the
      * [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase]
@@ -1391,11 +1564,14 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre
       if (progressBuilder_ != null) {
         return progressBuilder_.getMessageOrBuilder();
       } else {
-        return progress_ == null ?
-            com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance() : progress_;
+        return progress_ == null
+            ? com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance()
+            : progress_;
       }
     }
     /**
+     *
+     *
      * 
      * The progress of the
      * [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase]
@@ -1405,14 +1581,17 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre
      * .google.spanner.admin.database.v1.OperationProgress progress = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.spanner.admin.database.v1.OperationProgress, com.google.spanner.admin.database.v1.OperationProgress.Builder, com.google.spanner.admin.database.v1.OperationProgressOrBuilder> 
+            com.google.spanner.admin.database.v1.OperationProgress,
+            com.google.spanner.admin.database.v1.OperationProgress.Builder,
+            com.google.spanner.admin.database.v1.OperationProgressOrBuilder>
         getProgressFieldBuilder() {
       if (progressBuilder_ == null) {
-        progressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.admin.database.v1.OperationProgress, com.google.spanner.admin.database.v1.OperationProgress.Builder, com.google.spanner.admin.database.v1.OperationProgressOrBuilder>(
-                getProgress(),
-                getParentForChildren(),
-                isClean());
+        progressBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.spanner.admin.database.v1.OperationProgress,
+                com.google.spanner.admin.database.v1.OperationProgress.Builder,
+                com.google.spanner.admin.database.v1.OperationProgressOrBuilder>(
+                getProgress(), getParentForChildren(), isClean());
         progress_ = null;
       }
       return progressBuilder_;
@@ -1420,8 +1599,13 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre
 
     private com.google.protobuf.Timestamp cancelTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> cancelTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        cancelTimeBuilder_;
     /**
+     *
+     *
      * 
      * The time at which cancellation of this operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1437,12 +1621,15 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre
      * 
* * .google.protobuf.Timestamp cancel_time = 5; + * * @return Whether the cancelTime field is set. */ public boolean hasCancelTime() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * The time at which cancellation of this operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1458,16 +1645,21 @@ public boolean hasCancelTime() {
      * 
* * .google.protobuf.Timestamp cancel_time = 5; + * * @return The cancelTime. */ public com.google.protobuf.Timestamp getCancelTime() { if (cancelTimeBuilder_ == null) { - return cancelTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : cancelTime_; + return cancelTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : cancelTime_; } else { return cancelTimeBuilder_.getMessage(); } } /** + * + * *
      * The time at which cancellation of this operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1498,6 +1690,8 @@ public Builder setCancelTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which cancellation of this operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1514,8 +1708,7 @@ public Builder setCancelTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp cancel_time = 5;
      */
-    public Builder setCancelTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setCancelTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (cancelTimeBuilder_ == null) {
         cancelTime_ = builderForValue.build();
       } else {
@@ -1526,6 +1719,8 @@ public Builder setCancelTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which cancellation of this operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1544,9 +1739,9 @@ public Builder setCancelTime(
      */
     public Builder mergeCancelTime(com.google.protobuf.Timestamp value) {
       if (cancelTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000010) != 0) &&
-          cancelTime_ != null &&
-          cancelTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000010) != 0)
+            && cancelTime_ != null
+            && cancelTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getCancelTimeBuilder().mergeFrom(value);
         } else {
           cancelTime_ = value;
@@ -1559,6 +1754,8 @@ public Builder mergeCancelTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which cancellation of this operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1586,6 +1783,8 @@ public Builder clearCancelTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which cancellation of this operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1608,6 +1807,8 @@ public com.google.protobuf.Timestamp.Builder getCancelTimeBuilder() {
       return getCancelTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time at which cancellation of this operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1628,11 +1829,14 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
       if (cancelTimeBuilder_ != null) {
         return cancelTimeBuilder_.getMessageOrBuilder();
       } else {
-        return cancelTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : cancelTime_;
+        return cancelTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : cancelTime_;
       }
     }
     /**
+     *
+     *
      * 
      * The time at which cancellation of this operation was received.
      * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -1650,14 +1854,17 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
      * .google.protobuf.Timestamp cancel_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>
         getCancelTimeFieldBuilder() {
       if (cancelTimeBuilder_ == null) {
-        cancelTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getCancelTime(),
-                getParentForChildren(),
-                isClean());
+        cancelTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getCancelTime(), getParentForChildren(), isClean());
         cancelTime_ = null;
       }
       return cancelTimeBuilder_;
@@ -1665,6 +1872,8 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
 
     private java.lang.Object optimizeDatabaseOperationName_ = "";
     /**
+     *
+     *
      * 
      * 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
@@ -1680,13 +1889,13 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
      * 
* * string optimize_database_operation_name = 6; + * * @return The optimizeDatabaseOperationName. */ public java.lang.String getOptimizeDatabaseOperationName() { java.lang.Object ref = optimizeDatabaseOperationName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); optimizeDatabaseOperationName_ = s; return s; @@ -1695,6 +1904,8 @@ public java.lang.String getOptimizeDatabaseOperationName() { } } /** + * + * *
      * 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
@@ -1710,15 +1921,14 @@ public java.lang.String getOptimizeDatabaseOperationName() {
      * 
* * string optimize_database_operation_name = 6; + * * @return The bytes for optimizeDatabaseOperationName. */ - public com.google.protobuf.ByteString - getOptimizeDatabaseOperationNameBytes() { + public com.google.protobuf.ByteString getOptimizeDatabaseOperationNameBytes() { java.lang.Object ref = optimizeDatabaseOperationName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); optimizeDatabaseOperationName_ = b; return b; } else { @@ -1726,6 +1936,8 @@ public java.lang.String getOptimizeDatabaseOperationName() { } } /** + * + * *
      * 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
@@ -1741,18 +1953,22 @@ public java.lang.String getOptimizeDatabaseOperationName() {
      * 
* * string optimize_database_operation_name = 6; + * * @param value The optimizeDatabaseOperationName to set. * @return This builder for chaining. */ - public Builder setOptimizeDatabaseOperationName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOptimizeDatabaseOperationName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } optimizeDatabaseOperationName_ = value; bitField0_ |= 0x00000020; 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
@@ -1768,6 +1984,7 @@ public Builder setOptimizeDatabaseOperationName(
      * 
* * string optimize_database_operation_name = 6; + * * @return This builder for chaining. */ public Builder clearOptimizeDatabaseOperationName() { @@ -1777,6 +1994,8 @@ public Builder clearOptimizeDatabaseOperationName() { 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
@@ -1792,21 +2011,23 @@ public Builder clearOptimizeDatabaseOperationName() {
      * 
* * string optimize_database_operation_name = 6; + * * @param value The bytes for optimizeDatabaseOperationName to set. * @return This builder for chaining. */ - public Builder setOptimizeDatabaseOperationNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOptimizeDatabaseOperationNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); optimizeDatabaseOperationName_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1816,12 +2037,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.RestoreDatabaseMetadata) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.RestoreDatabaseMetadata) - private static final com.google.spanner.admin.database.v1.RestoreDatabaseMetadata DEFAULT_INSTANCE; + private static final com.google.spanner.admin.database.v1.RestoreDatabaseMetadata + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.RestoreDatabaseMetadata(); } @@ -1830,27 +2052,27 @@ public static com.google.spanner.admin.database.v1.RestoreDatabaseMetadata getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RestoreDatabaseMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RestoreDatabaseMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1865,6 +2087,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.RestoreDatabaseMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseMetadataOrBuilder.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseMetadataOrBuilder.java similarity index 88% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseMetadataOrBuilder.java rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseMetadataOrBuilder.java index ff45e02439b..35ad6d76e9d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseMetadataOrBuilder.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseMetadataOrBuilder.java @@ -1,70 +1,105 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/spanner_database_admin.proto package com.google.spanner.admin.database.v1; -public interface RestoreDatabaseMetadataOrBuilder extends +public interface RestoreDatabaseMetadataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.RestoreDatabaseMetadata) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Name of the database being created and restored to.
    * 
* * string name = 1 [(.google.api.resource_reference) = { ... } + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Name of the database being created and restored to.
    * 
* * string name = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The type of the restore source.
    * 
* * .google.spanner.admin.database.v1.RestoreSourceType source_type = 2; + * * @return The enum numeric value on the wire for sourceType. */ int getSourceTypeValue(); /** + * + * *
    * The type of the restore source.
    * 
* * .google.spanner.admin.database.v1.RestoreSourceType source_type = 2; + * * @return The sourceType. */ com.google.spanner.admin.database.v1.RestoreSourceType getSourceType(); /** + * + * *
    * Information about the backup used to restore the database.
    * 
* * .google.spanner.admin.database.v1.BackupInfo backup_info = 3; + * * @return Whether the backupInfo field is set. */ boolean hasBackupInfo(); /** + * + * *
    * Information about the backup used to restore the database.
    * 
* * .google.spanner.admin.database.v1.BackupInfo backup_info = 3; + * * @return The backupInfo. */ com.google.spanner.admin.database.v1.BackupInfo getBackupInfo(); /** + * + * *
    * Information about the backup used to restore the database.
    * 
@@ -74,6 +109,8 @@ public interface RestoreDatabaseMetadataOrBuilder extends com.google.spanner.admin.database.v1.BackupInfoOrBuilder getBackupInfoOrBuilder(); /** + * + * *
    * The progress of the
    * [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase]
@@ -81,10 +118,13 @@ public interface RestoreDatabaseMetadataOrBuilder extends
    * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 4; + * * @return Whether the progress field is set. */ boolean hasProgress(); /** + * + * *
    * The progress of the
    * [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase]
@@ -92,10 +132,13 @@ public interface RestoreDatabaseMetadataOrBuilder extends
    * 
* * .google.spanner.admin.database.v1.OperationProgress progress = 4; + * * @return The progress. */ com.google.spanner.admin.database.v1.OperationProgress getProgress(); /** + * + * *
    * The progress of the
    * [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase]
@@ -107,6 +150,8 @@ public interface RestoreDatabaseMetadataOrBuilder extends
   com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgressOrBuilder();
 
   /**
+   *
+   *
    * 
    * The time at which cancellation of this operation was received.
    * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -122,10 +167,13 @@ public interface RestoreDatabaseMetadataOrBuilder extends
    * 
* * .google.protobuf.Timestamp cancel_time = 5; + * * @return Whether the cancelTime field is set. */ boolean hasCancelTime(); /** + * + * *
    * The time at which cancellation of this operation was received.
    * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -141,10 +189,13 @@ public interface RestoreDatabaseMetadataOrBuilder extends
    * 
* * .google.protobuf.Timestamp cancel_time = 5; + * * @return The cancelTime. */ com.google.protobuf.Timestamp getCancelTime(); /** + * + * *
    * The time at which cancellation of this operation was received.
    * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
@@ -164,6 +215,8 @@ public interface RestoreDatabaseMetadataOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * 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
@@ -179,10 +232,13 @@ public interface RestoreDatabaseMetadataOrBuilder extends
    * 
* * string optimize_database_operation_name = 6; + * * @return The optimizeDatabaseOperationName. */ java.lang.String getOptimizeDatabaseOperationName(); /** + * + * *
    * 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
@@ -198,10 +254,11 @@ public interface RestoreDatabaseMetadataOrBuilder extends
    * 
* * string optimize_database_operation_name = 6; + * * @return The bytes for optimizeDatabaseOperationName. */ - com.google.protobuf.ByteString - getOptimizeDatabaseOperationNameBytes(); + com.google.protobuf.ByteString getOptimizeDatabaseOperationNameBytes(); - public com.google.spanner.admin.database.v1.RestoreDatabaseMetadata.SourceInfoCase getSourceInfoCase(); + public com.google.spanner.admin.database.v1.RestoreDatabaseMetadata.SourceInfoCase + getSourceInfoCase(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseRequest.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseRequest.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseRequest.java rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseRequest.java index 543db5a7891..c89cf015544 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseRequest.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/spanner_database_admin.proto package com.google.spanner.admin.database.v1; /** + * + * *
  * The request for
  * [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.spanner.admin.database.v1.RestoreDatabaseRequest}
  */
-public final class RestoreDatabaseRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RestoreDatabaseRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.RestoreDatabaseRequest)
     RestoreDatabaseRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RestoreDatabaseRequest.newBuilder() to construct.
   private RestoreDatabaseRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private RestoreDatabaseRequest() {
     parent_ = "";
     databaseId_ = "";
@@ -27,37 +45,41 @@ private RestoreDatabaseRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RestoreDatabaseRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_RestoreDatabaseRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
+        .internal_static_google_spanner_admin_database_v1_RestoreDatabaseRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_RestoreDatabaseRequest_fieldAccessorTable
+    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
+        .internal_static_google_spanner_admin_database_v1_RestoreDatabaseRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.database.v1.RestoreDatabaseRequest.class, com.google.spanner.admin.database.v1.RestoreDatabaseRequest.Builder.class);
+            com.google.spanner.admin.database.v1.RestoreDatabaseRequest.class,
+            com.google.spanner.admin.database.v1.RestoreDatabaseRequest.Builder.class);
   }
 
   private int sourceCase_ = 0;
   private java.lang.Object source_;
+
   public enum SourceCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     BACKUP(3),
     SOURCE_NOT_SET(0);
     private final int value;
+
     private SourceCase(int value) {
       this.value = value;
     }
@@ -73,26 +95,31 @@ 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 database. This instance must be in the same project and
@@ -101,7 +128,10 @@ public int getNumber() {
    * `projects/<project>/instances/<instance>`.
    * 
* - * string parent = 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 @@ -110,14 +140,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 name of the instance in which to create the
    * restored database. This instance must be in the same project and
@@ -126,17 +157,18 @@ public java.lang.String getParent() {
    * `projects/<project>/instances/<instance>`.
    * 
* - * string parent = 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 { @@ -145,9 +177,12 @@ public java.lang.String getParent() { } public static final int DATABASE_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object databaseId_ = ""; /** + * + * *
    * Required. The id of the database to create and restore to. This
    * database must not already exist. The `database_id` appended to
@@ -156,6 +191,7 @@ public java.lang.String getParent() {
    * 
* * string database_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The databaseId. */ @java.lang.Override @@ -164,14 +200,15 @@ public java.lang.String getDatabaseId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseId_ = s; return s; } } /** + * + * *
    * Required. The id of the database to create and restore to. This
    * database must not already exist. The `database_id` appended to
@@ -180,16 +217,15 @@ public java.lang.String getDatabaseId() {
    * 
* * string database_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for databaseId. */ @java.lang.Override - public com.google.protobuf.ByteString - getDatabaseIdBytes() { + public com.google.protobuf.ByteString getDatabaseIdBytes() { java.lang.Object ref = databaseId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); databaseId_ = b; return b; } else { @@ -199,24 +235,30 @@ public java.lang.String getDatabaseId() { 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>/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>/backups/<backup>`.
    * 
* * string backup = 3 [(.google.api.resource_reference) = { ... } + * * @return The backup. */ public java.lang.String getBackup() { @@ -227,8 +269,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; @@ -237,24 +278,25 @@ public java.lang.String getBackup() { } } /** + * + * *
    * Name of the backup from which to restore.  Values are of the form
    * `projects/<project>/instances/<instance>/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; } @@ -267,6 +309,8 @@ public java.lang.String getBackup() { public static final int ENCRYPTION_CONFIG_FIELD_NUMBER = 4; private com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryptionConfig_; /** + * + * *
    * Optional. An encryption configuration describing the encryption type and key
    * resources in Cloud KMS used to encrypt/decrypt the database to restore to.
@@ -276,7 +320,10 @@ public java.lang.String getBackup() {
    * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
    * 
* - * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the encryptionConfig field is set. */ @java.lang.Override @@ -284,6 +331,8 @@ public boolean hasEncryptionConfig() { return encryptionConfig_ != null; } /** + * + * *
    * Optional. An encryption configuration describing the encryption type and key
    * resources in Cloud KMS used to encrypt/decrypt the database to restore to.
@@ -293,14 +342,22 @@ public boolean hasEncryptionConfig() {
    * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
    * 
* - * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The encryptionConfig. */ @java.lang.Override - public com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig getEncryptionConfig() { - return encryptionConfig_ == null ? com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.getDefaultInstance() : encryptionConfig_; + public com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig + getEncryptionConfig() { + return encryptionConfig_ == null + ? com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.getDefaultInstance() + : encryptionConfig_; } /** + * + * *
    * Optional. An encryption configuration describing the encryption type and key
    * resources in Cloud KMS used to encrypt/decrypt the database to restore to.
@@ -310,14 +367,20 @@ public com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig getE
    * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
    * 
* - * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { - return encryptionConfig_ == null ? com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.getDefaultInstance() : encryptionConfig_; + public com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfigOrBuilder + getEncryptionConfigOrBuilder() { + return encryptionConfig_ == null + ? com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.getDefaultInstance() + : encryptionConfig_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -329,8 +392,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_); } @@ -362,8 +424,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, source_); } if (encryptionConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getEncryptionConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getEncryptionConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -373,27 +434,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.spanner.admin.database.v1.RestoreDatabaseRequest)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.RestoreDatabaseRequest other = (com.google.spanner.admin.database.v1.RestoreDatabaseRequest) obj; + com.google.spanner.admin.database.v1.RestoreDatabaseRequest other = + (com.google.spanner.admin.database.v1.RestoreDatabaseRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getDatabaseId() - .equals(other.getDatabaseId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getDatabaseId().equals(other.getDatabaseId())) 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 (!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: @@ -431,96 +489,104 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.RestoreDatabaseRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.RestoreDatabaseRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.admin.database.v1.RestoreDatabaseRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.RestoreDatabaseRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.admin.database.v1.RestoreDatabaseRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.RestoreDatabaseRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.RestoreDatabaseRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.spanner.admin.database.v1.RestoreDatabaseRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.RestoreDatabaseRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.RestoreDatabaseRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.spanner.admin.database.v1.RestoreDatabaseRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.RestoreDatabaseRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.spanner.admin.database.v1.RestoreDatabaseRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.RestoreDatabaseRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.admin.database.v1.RestoreDatabaseRequest prototype) { + + public static Builder newBuilder( + com.google.spanner.admin.database.v1.RestoreDatabaseRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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
    * [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase].
@@ -528,33 +594,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.spanner.admin.database.v1.RestoreDatabaseRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.RestoreDatabaseRequest)
       com.google.spanner.admin.database.v1.RestoreDatabaseRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_RestoreDatabaseRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
+          .internal_static_google_spanner_admin_database_v1_RestoreDatabaseRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_RestoreDatabaseRequest_fieldAccessorTable
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
+          .internal_static_google_spanner_admin_database_v1_RestoreDatabaseRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.database.v1.RestoreDatabaseRequest.class, com.google.spanner.admin.database.v1.RestoreDatabaseRequest.Builder.class);
+              com.google.spanner.admin.database.v1.RestoreDatabaseRequest.class,
+              com.google.spanner.admin.database.v1.RestoreDatabaseRequest.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.database.v1.RestoreDatabaseRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -572,9 +637,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_RestoreDatabaseRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
+          .internal_static_google_spanner_admin_database_v1_RestoreDatabaseRequest_descriptor;
     }
 
     @java.lang.Override
@@ -593,8 +658,11 @@ public com.google.spanner.admin.database.v1.RestoreDatabaseRequest build() {
 
     @java.lang.Override
     public com.google.spanner.admin.database.v1.RestoreDatabaseRequest buildPartial() {
-      com.google.spanner.admin.database.v1.RestoreDatabaseRequest result = new com.google.spanner.admin.database.v1.RestoreDatabaseRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.spanner.admin.database.v1.RestoreDatabaseRequest result =
+          new com.google.spanner.admin.database.v1.RestoreDatabaseRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -609,13 +677,13 @@ private void buildPartial0(com.google.spanner.admin.database.v1.RestoreDatabaseR
         result.databaseId_ = databaseId_;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.encryptionConfig_ = encryptionConfigBuilder_ == null
-            ? encryptionConfig_
-            : encryptionConfigBuilder_.build();
+        result.encryptionConfig_ =
+            encryptionConfigBuilder_ == null ? encryptionConfig_ : encryptionConfigBuilder_.build();
       }
     }
 
-    private void buildPartialOneofs(com.google.spanner.admin.database.v1.RestoreDatabaseRequest result) {
+    private void buildPartialOneofs(
+        com.google.spanner.admin.database.v1.RestoreDatabaseRequest result) {
       result.sourceCase_ = sourceCase_;
       result.source_ = this.source_;
     }
@@ -624,38 +692,39 @@ private void buildPartialOneofs(com.google.spanner.admin.database.v1.RestoreData
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.database.v1.RestoreDatabaseRequest) {
-        return mergeFrom((com.google.spanner.admin.database.v1.RestoreDatabaseRequest)other);
+        return mergeFrom((com.google.spanner.admin.database.v1.RestoreDatabaseRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -663,7 +732,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.spanner.admin.database.v1.RestoreDatabaseRequest other) {
-      if (other == com.google.spanner.admin.database.v1.RestoreDatabaseRequest.getDefaultInstance()) return this;
+      if (other == com.google.spanner.admin.database.v1.RestoreDatabaseRequest.getDefaultInstance())
+        return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -678,15 +748,17 @@ public Builder mergeFrom(com.google.spanner.admin.database.v1.RestoreDatabaseReq
         mergeEncryptionConfig(other.getEncryptionConfig());
       }
       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();
@@ -714,35 +786,39 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              databaseId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              java.lang.String s = input.readStringRequireUtf8();
-              sourceCase_ = 3;
-              source_ = s;
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getEncryptionConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                databaseId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                sourceCase_ = 3;
+                source_ = s;
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(
+                    getEncryptionConfigFieldBuilder().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) {
@@ -752,12 +828,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() {
@@ -771,6 +847,8 @@ public Builder clearSource() {
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. The name of the instance in which to create the
      * restored database. This instance must be in the same project and
@@ -779,14 +857,16 @@ public Builder clearSource() {
      * `projects/<project>/instances/<instance>`.
      * 
* - * string parent = 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; @@ -795,6 +875,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the instance in which to create the
      * restored database. This instance must be in the same project and
@@ -803,16 +885,17 @@ public java.lang.String getParent() {
      * `projects/<project>/instances/<instance>`.
      * 
* - * string parent = 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 { @@ -820,6 +903,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the instance in which to create the
      * restored database. This instance must be in the same project and
@@ -828,19 +913,25 @@ public java.lang.String getParent() {
      * `projects/<project>/instances/<instance>`.
      * 
* - * 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 database. This instance must be in the same project and
@@ -849,7 +940,10 @@ public Builder setParent(
      * `projects/<project>/instances/<instance>`.
      * 
* - * string 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() { @@ -859,6 +953,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The name of the instance in which to create the
      * restored database. This instance must be in the same project and
@@ -867,13 +963,17 @@ public Builder clearParent() {
      * `projects/<project>/instances/<instance>`.
      * 
* - * 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; @@ -883,6 +983,8 @@ public Builder setParentBytes( private java.lang.Object databaseId_ = ""; /** + * + * *
      * Required. The id of the database to create and restore to. This
      * database must not already exist. The `database_id` appended to
@@ -891,13 +993,13 @@ public Builder setParentBytes(
      * 
* * string database_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The databaseId. */ public java.lang.String getDatabaseId() { java.lang.Object ref = databaseId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseId_ = s; return s; @@ -906,6 +1008,8 @@ public java.lang.String getDatabaseId() { } } /** + * + * *
      * Required. The id of the database to create and restore to. This
      * database must not already exist. The `database_id` appended to
@@ -914,15 +1018,14 @@ public java.lang.String getDatabaseId() {
      * 
* * string database_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for databaseId. */ - public com.google.protobuf.ByteString - getDatabaseIdBytes() { + public com.google.protobuf.ByteString getDatabaseIdBytes() { java.lang.Object ref = databaseId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); databaseId_ = b; return b; } else { @@ -930,6 +1033,8 @@ public java.lang.String getDatabaseId() { } } /** + * + * *
      * Required. The id of the database to create and restore to. This
      * database must not already exist. The `database_id` appended to
@@ -938,18 +1043,22 @@ public java.lang.String getDatabaseId() {
      * 
* * string database_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The databaseId to set. * @return This builder for chaining. */ - public Builder setDatabaseId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDatabaseId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } databaseId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. The id of the database to create and restore to. This
      * database must not already exist. The `database_id` appended to
@@ -958,6 +1067,7 @@ public Builder setDatabaseId(
      * 
* * string database_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDatabaseId() { @@ -967,6 +1077,8 @@ public Builder clearDatabaseId() { return this; } /** + * + * *
      * Required. The id of the database to create and restore to. This
      * database must not already exist. The `database_id` appended to
@@ -975,12 +1087,14 @@ public Builder clearDatabaseId() {
      * 
* * string database_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for databaseId to set. * @return This builder for chaining. */ - public Builder setDatabaseIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDatabaseIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); databaseId_ = value; bitField0_ |= 0x00000002; @@ -989,12 +1103,15 @@ public Builder setDatabaseIdBytes( } /** + * + * *
      * Name of the backup from which to restore.  Values are of the form
      * `projects/<project>/instances/<instance>/backups/<backup>`.
      * 
* * string backup = 3 [(.google.api.resource_reference) = { ... } + * * @return Whether the backup field is set. */ @java.lang.Override @@ -1002,12 +1119,15 @@ public boolean hasBackup() { return sourceCase_ == 3; } /** + * + * *
      * Name of the backup from which to restore.  Values are of the form
      * `projects/<project>/instances/<instance>/backups/<backup>`.
      * 
* * string backup = 3 [(.google.api.resource_reference) = { ... } + * * @return The backup. */ @java.lang.Override @@ -1017,8 +1137,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; @@ -1029,25 +1148,26 @@ public java.lang.String getBackup() { } } /** + * + * *
      * Name of the backup from which to restore.  Values are of the form
      * `projects/<project>/instances/<instance>/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; } @@ -1057,30 +1177,37 @@ public java.lang.String getBackup() { } } /** + * + * *
      * Name of the backup from which to restore.  Values are of the form
      * `projects/<project>/instances/<instance>/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>/backups/<backup>`.
      * 
* * string backup = 3 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearBackup() { @@ -1092,18 +1219,22 @@ public Builder clearBackup() { return this; } /** + * + * *
      * Name of the backup from which to restore.  Values are of the form
      * `projects/<project>/instances/<instance>/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; @@ -1113,8 +1244,13 @@ public Builder setBackupBytes( private com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryptionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig, com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.Builder, com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfigOrBuilder> encryptionConfigBuilder_; + com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig, + com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.Builder, + com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfigOrBuilder> + encryptionConfigBuilder_; /** + * + * *
      * Optional. An encryption configuration describing the encryption type and key
      * resources in Cloud KMS used to encrypt/decrypt the database to restore to.
@@ -1124,13 +1260,18 @@ public Builder setBackupBytes(
      * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
      * 
* - * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the encryptionConfig field is set. */ public boolean hasEncryptionConfig() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Optional. An encryption configuration describing the encryption type and key
      * resources in Cloud KMS used to encrypt/decrypt the database to restore to.
@@ -1140,17 +1281,26 @@ public boolean hasEncryptionConfig() {
      * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
      * 
* - * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The encryptionConfig. */ - public com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig getEncryptionConfig() { + public com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig + getEncryptionConfig() { if (encryptionConfigBuilder_ == null) { - return encryptionConfig_ == null ? com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.getDefaultInstance() : encryptionConfig_; + return encryptionConfig_ == null + ? com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig + .getDefaultInstance() + : encryptionConfig_; } else { return encryptionConfigBuilder_.getMessage(); } } /** + * + * *
      * Optional. An encryption configuration describing the encryption type and key
      * resources in Cloud KMS used to encrypt/decrypt the database to restore to.
@@ -1160,9 +1310,12 @@ public com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig getE
      * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
      * 
* - * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setEncryptionConfig(com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig value) { + public Builder setEncryptionConfig( + com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig value) { if (encryptionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1176,6 +1329,8 @@ public Builder setEncryptionConfig(com.google.spanner.admin.database.v1.RestoreD return this; } /** + * + * *
      * Optional. An encryption configuration describing the encryption type and key
      * resources in Cloud KMS used to encrypt/decrypt the database to restore to.
@@ -1185,10 +1340,13 @@ public Builder setEncryptionConfig(com.google.spanner.admin.database.v1.RestoreD
      * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
      * 
* - * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setEncryptionConfig( - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.Builder builderForValue) { + com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.Builder + builderForValue) { if (encryptionConfigBuilder_ == null) { encryptionConfig_ = builderForValue.build(); } else { @@ -1199,6 +1357,8 @@ public Builder setEncryptionConfig( return this; } /** + * + * *
      * Optional. An encryption configuration describing the encryption type and key
      * resources in Cloud KMS used to encrypt/decrypt the database to restore to.
@@ -1208,13 +1368,18 @@ public Builder setEncryptionConfig(
      * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
      * 
* - * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder mergeEncryptionConfig(com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig value) { + public Builder mergeEncryptionConfig( + com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig value) { if (encryptionConfigBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - encryptionConfig_ != null && - encryptionConfig_ != com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && encryptionConfig_ != null + && encryptionConfig_ + != com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig + .getDefaultInstance()) { getEncryptionConfigBuilder().mergeFrom(value); } else { encryptionConfig_ = value; @@ -1227,6 +1392,8 @@ public Builder mergeEncryptionConfig(com.google.spanner.admin.database.v1.Restor return this; } /** + * + * *
      * Optional. An encryption configuration describing the encryption type and key
      * resources in Cloud KMS used to encrypt/decrypt the database to restore to.
@@ -1236,7 +1403,9 @@ public Builder mergeEncryptionConfig(com.google.spanner.admin.database.v1.Restor
      * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
      * 
* - * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearEncryptionConfig() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1249,6 +1418,8 @@ public Builder clearEncryptionConfig() { return this; } /** + * + * *
      * Optional. An encryption configuration describing the encryption type and key
      * resources in Cloud KMS used to encrypt/decrypt the database to restore to.
@@ -1258,14 +1429,19 @@ public Builder clearEncryptionConfig() {
      * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
      * 
* - * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.Builder getEncryptionConfigBuilder() { + public com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.Builder + getEncryptionConfigBuilder() { bitField0_ |= 0x00000008; onChanged(); return getEncryptionConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. An encryption configuration describing the encryption type and key
      * resources in Cloud KMS used to encrypt/decrypt the database to restore to.
@@ -1275,17 +1451,24 @@ public com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.Buil
      * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
      * 
* - * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { + public com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfigOrBuilder + getEncryptionConfigOrBuilder() { if (encryptionConfigBuilder_ != null) { return encryptionConfigBuilder_.getMessageOrBuilder(); } else { - return encryptionConfig_ == null ? - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.getDefaultInstance() : encryptionConfig_; + return encryptionConfig_ == null + ? com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig + .getDefaultInstance() + : encryptionConfig_; } } /** + * + * *
      * Optional. An encryption configuration describing the encryption type and key
      * resources in Cloud KMS used to encrypt/decrypt the database to restore to.
@@ -1295,24 +1478,29 @@ public com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfigOrBui
      * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
      * 
* - * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig, com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.Builder, com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfigOrBuilder> + com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig, + com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.Builder, + com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfigOrBuilder> getEncryptionConfigFieldBuilder() { if (encryptionConfigBuilder_ == null) { - encryptionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig, com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.Builder, com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfigOrBuilder>( - getEncryptionConfig(), - getParentForChildren(), - isClean()); + encryptionConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig, + com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig.Builder, + com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfigOrBuilder>( + 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); } @@ -1322,12 +1510,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.RestoreDatabaseRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.RestoreDatabaseRequest) private static final com.google.spanner.admin.database.v1.RestoreDatabaseRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.RestoreDatabaseRequest(); } @@ -1336,27 +1524,27 @@ public static com.google.spanner.admin.database.v1.RestoreDatabaseRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RestoreDatabaseRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RestoreDatabaseRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1371,6 +1559,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.RestoreDatabaseRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseRequestOrBuilder.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseRequestOrBuilder.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseRequestOrBuilder.java rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseRequestOrBuilder.java index 4ec44d96fb1..f7c1c6e1f82 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseRequestOrBuilder.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreDatabaseRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/spanner_database_admin.proto package com.google.spanner.admin.database.v1; -public interface RestoreDatabaseRequestOrBuilder extends +public interface RestoreDatabaseRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.RestoreDatabaseRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the instance in which to create the
    * restored database. This instance must be in the same project and
@@ -16,11 +34,16 @@ public interface RestoreDatabaseRequestOrBuilder extends
    * `projects/<project>/instances/<instance>`.
    * 
* - * string parent = 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 database. This instance must be in the same project and
@@ -29,13 +52,17 @@ public interface RestoreDatabaseRequestOrBuilder extends
    * `projects/<project>/instances/<instance>`.
    * 
* - * string parent = 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 database to create and restore to. This
    * database must not already exist. The `database_id` appended to
@@ -44,10 +71,13 @@ public interface RestoreDatabaseRequestOrBuilder extends
    * 
* * string database_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The databaseId. */ java.lang.String getDatabaseId(); /** + * + * *
    * Required. The id of the database to create and restore to. This
    * database must not already exist. The `database_id` appended to
@@ -56,44 +86,54 @@ public interface RestoreDatabaseRequestOrBuilder extends
    * 
* * string database_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for databaseId. */ - com.google.protobuf.ByteString - getDatabaseIdBytes(); + com.google.protobuf.ByteString getDatabaseIdBytes(); /** + * + * *
    * Name of the backup from which to restore.  Values are of the form
    * `projects/<project>/instances/<instance>/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>/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>/backups/<backup>`.
    * 
* * string backup = 3 [(.google.api.resource_reference) = { ... } + * * @return The bytes for backup. */ - com.google.protobuf.ByteString - getBackupBytes(); + com.google.protobuf.ByteString getBackupBytes(); /** + * + * *
    * Optional. An encryption configuration describing the encryption type and key
    * resources in Cloud KMS used to encrypt/decrypt the database to restore to.
@@ -103,11 +143,16 @@ public interface RestoreDatabaseRequestOrBuilder extends
    * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
    * 
* - * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the encryptionConfig field is set. */ boolean hasEncryptionConfig(); /** + * + * *
    * Optional. An encryption configuration describing the encryption type and key
    * resources in Cloud KMS used to encrypt/decrypt the database to restore to.
@@ -117,11 +162,16 @@ public interface RestoreDatabaseRequestOrBuilder extends
    * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
    * 
* - * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The encryptionConfig. */ com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig getEncryptionConfig(); /** + * + * *
    * Optional. An encryption configuration describing the encryption type and key
    * resources in Cloud KMS used to encrypt/decrypt the database to restore to.
@@ -131,9 +181,12 @@ public interface RestoreDatabaseRequestOrBuilder extends
    * `USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION`.
    * 
* - * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfig encryption_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfigOrBuilder getEncryptionConfigOrBuilder(); + com.google.spanner.admin.database.v1.RestoreDatabaseEncryptionConfigOrBuilder + getEncryptionConfigOrBuilder(); public com.google.spanner.admin.database.v1.RestoreDatabaseRequest.SourceCase getSourceCase(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreInfo.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreInfo.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreInfo.java rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreInfo.java index 2eaa9b7d384..e76b3bcef86 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreInfo.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreInfo.java @@ -1,61 +1,83 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/spanner_database_admin.proto package com.google.spanner.admin.database.v1; /** + * + * *
  * Information about the database restore.
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.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.spanner.admin.database.v1.RestoreInfo) RestoreInfoOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RestoreInfo.newBuilder() to construct. private RestoreInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RestoreInfo() { sourceType_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RestoreInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_RestoreInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto + .internal_static_google_spanner_admin_database_v1_RestoreInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_RestoreInfo_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto + .internal_static_google_spanner_admin_database_v1_RestoreInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.RestoreInfo.class, com.google.spanner.admin.database.v1.RestoreInfo.Builder.class); + com.google.spanner.admin.database.v1.RestoreInfo.class, + com.google.spanner.admin.database.v1.RestoreInfo.Builder.class); } private int sourceInfoCase_ = 0; private java.lang.Object sourceInfo_; + public enum SourceInfoCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { BACKUP_INFO(2), SOURCEINFO_NOT_SET(0); private final int value; + private SourceInfoCase(int value) { this.value = value; } @@ -71,56 +93,72 @@ 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.spanner.admin.database.v1.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.spanner.admin.database.v1.RestoreSourceType source_type = 1; + * * @return The sourceType. */ - @java.lang.Override public com.google.spanner.admin.database.v1.RestoreSourceType getSourceType() { - com.google.spanner.admin.database.v1.RestoreSourceType result = com.google.spanner.admin.database.v1.RestoreSourceType.forNumber(sourceType_); - return result == null ? com.google.spanner.admin.database.v1.RestoreSourceType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.spanner.admin.database.v1.RestoreSourceType getSourceType() { + com.google.spanner.admin.database.v1.RestoreSourceType result = + com.google.spanner.admin.database.v1.RestoreSourceType.forNumber(sourceType_); + return result == null + ? com.google.spanner.admin.database.v1.RestoreSourceType.UNRECOGNIZED + : result; } public static final int BACKUP_INFO_FIELD_NUMBER = 2; /** + * + * *
    * Information about the backup used to restore the database. The backup
    * may no longer exist.
    * 
* * .google.spanner.admin.database.v1.BackupInfo backup_info = 2; + * * @return Whether the backupInfo field is set. */ @java.lang.Override @@ -128,22 +166,27 @@ public boolean hasBackupInfo() { return sourceInfoCase_ == 2; } /** + * + * *
    * Information about the backup used to restore the database. The backup
    * may no longer exist.
    * 
* * .google.spanner.admin.database.v1.BackupInfo backup_info = 2; + * * @return The backupInfo. */ @java.lang.Override public com.google.spanner.admin.database.v1.BackupInfo getBackupInfo() { if (sourceInfoCase_ == 2) { - return (com.google.spanner.admin.database.v1.BackupInfo) sourceInfo_; + return (com.google.spanner.admin.database.v1.BackupInfo) sourceInfo_; } return com.google.spanner.admin.database.v1.BackupInfo.getDefaultInstance(); } /** + * + * *
    * Information about the backup used to restore the database. The backup
    * may no longer exist.
@@ -154,12 +197,13 @@ public com.google.spanner.admin.database.v1.BackupInfo getBackupInfo() {
   @java.lang.Override
   public com.google.spanner.admin.database.v1.BackupInfoOrBuilder getBackupInfoOrBuilder() {
     if (sourceInfoCase_ == 2) {
-       return (com.google.spanner.admin.database.v1.BackupInfo) sourceInfo_;
+      return (com.google.spanner.admin.database.v1.BackupInfo) sourceInfo_;
     }
     return com.google.spanner.admin.database.v1.BackupInfo.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -171,9 +215,9 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
-    if (sourceType_ != com.google.spanner.admin.database.v1.RestoreSourceType.TYPE_UNSPECIFIED.getNumber()) {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    if (sourceType_
+        != com.google.spanner.admin.database.v1.RestoreSourceType.TYPE_UNSPECIFIED.getNumber()) {
       output.writeEnum(1, sourceType_);
     }
     if (sourceInfoCase_ == 2) {
@@ -188,13 +232,14 @@ public int getSerializedSize() {
     if (size != -1) return size;
 
     size = 0;
-    if (sourceType_ != com.google.spanner.admin.database.v1.RestoreSourceType.TYPE_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeEnumSize(1, sourceType_);
+    if (sourceType_
+        != com.google.spanner.admin.database.v1.RestoreSourceType.TYPE_UNSPECIFIED.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, sourceType_);
     }
     if (sourceInfoCase_ == 2) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, (com.google.spanner.admin.database.v1.BackupInfo) sourceInfo_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              2, (com.google.spanner.admin.database.v1.BackupInfo) sourceInfo_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -204,19 +249,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.spanner.admin.database.v1.RestoreInfo)) {
       return super.equals(obj);
     }
-    com.google.spanner.admin.database.v1.RestoreInfo other = (com.google.spanner.admin.database.v1.RestoreInfo) obj;
+    com.google.spanner.admin.database.v1.RestoreInfo other =
+        (com.google.spanner.admin.database.v1.RestoreInfo) obj;
 
     if (sourceType_ != other.sourceType_) return false;
     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:
@@ -247,130 +292,136 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.spanner.admin.database.v1.RestoreInfo parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.spanner.admin.database.v1.RestoreInfo parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.RestoreInfo parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.RestoreInfo parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.RestoreInfo parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.spanner.admin.database.v1.RestoreInfo parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.RestoreInfo parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.spanner.admin.database.v1.RestoreInfo parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.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.spanner.admin.database.v1.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.spanner.admin.database.v1.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 the database restore.
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.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.spanner.admin.database.v1.RestoreInfo) com.google.spanner.admin.database.v1.RestoreInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_RestoreInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto + .internal_static_google_spanner_admin_database_v1_RestoreInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_RestoreInfo_fieldAccessorTable + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto + .internal_static_google_spanner_admin_database_v1_RestoreInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.RestoreInfo.class, com.google.spanner.admin.database.v1.RestoreInfo.Builder.class); + com.google.spanner.admin.database.v1.RestoreInfo.class, + com.google.spanner.admin.database.v1.RestoreInfo.Builder.class); } // Construct using com.google.spanner.admin.database.v1.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(); @@ -385,9 +436,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_RestoreInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto + .internal_static_google_spanner_admin_database_v1_RestoreInfo_descriptor; } @java.lang.Override @@ -406,8 +457,11 @@ public com.google.spanner.admin.database.v1.RestoreInfo build() { @java.lang.Override public com.google.spanner.admin.database.v1.RestoreInfo buildPartial() { - com.google.spanner.admin.database.v1.RestoreInfo result = new com.google.spanner.admin.database.v1.RestoreInfo(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.spanner.admin.database.v1.RestoreInfo result = + new com.google.spanner.admin.database.v1.RestoreInfo(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -423,8 +477,7 @@ private void buildPartial0(com.google.spanner.admin.database.v1.RestoreInfo resu private void buildPartialOneofs(com.google.spanner.admin.database.v1.RestoreInfo result) { result.sourceInfoCase_ = sourceInfoCase_; result.sourceInfo_ = this.sourceInfo_; - if (sourceInfoCase_ == 2 && - backupInfoBuilder_ != null) { + if (sourceInfoCase_ == 2 && backupInfoBuilder_ != null) { result.sourceInfo_ = backupInfoBuilder_.build(); } } @@ -433,38 +486,39 @@ private void buildPartialOneofs(com.google.spanner.admin.database.v1.RestoreInfo public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.admin.database.v1.RestoreInfo) { - return mergeFrom((com.google.spanner.admin.database.v1.RestoreInfo)other); + return mergeFrom((com.google.spanner.admin.database.v1.RestoreInfo) other); } else { super.mergeFrom(other); return this; @@ -472,18 +526,21 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.admin.database.v1.RestoreInfo other) { - if (other == com.google.spanner.admin.database.v1.RestoreInfo.getDefaultInstance()) return this; + if (other == com.google.spanner.admin.database.v1.RestoreInfo.getDefaultInstance()) + return this; if (other.sourceType_ != 0) { 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(); @@ -511,24 +568,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) { @@ -538,12 +596,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() { @@ -557,22 +615,29 @@ public Builder clearSourceInfo() { private int sourceType_ = 0; /** + * + * *
      * The type of the restore source.
      * 
* * .google.spanner.admin.database.v1.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.spanner.admin.database.v1.RestoreSourceType source_type = 1; + * * @param value The enum numeric value on the wire for sourceType to set. * @return This builder for chaining. */ @@ -583,24 +648,33 @@ public Builder setSourceTypeValue(int value) { return this; } /** + * + * *
      * The type of the restore source.
      * 
* * .google.spanner.admin.database.v1.RestoreSourceType source_type = 1; + * * @return The sourceType. */ @java.lang.Override public com.google.spanner.admin.database.v1.RestoreSourceType getSourceType() { - com.google.spanner.admin.database.v1.RestoreSourceType result = com.google.spanner.admin.database.v1.RestoreSourceType.forNumber(sourceType_); - return result == null ? com.google.spanner.admin.database.v1.RestoreSourceType.UNRECOGNIZED : result; + com.google.spanner.admin.database.v1.RestoreSourceType result = + com.google.spanner.admin.database.v1.RestoreSourceType.forNumber(sourceType_); + return result == null + ? com.google.spanner.admin.database.v1.RestoreSourceType.UNRECOGNIZED + : result; } /** + * + * *
      * The type of the restore source.
      * 
* * .google.spanner.admin.database.v1.RestoreSourceType source_type = 1; + * * @param value The sourceType to set. * @return This builder for chaining. */ @@ -614,11 +688,14 @@ public Builder setSourceType(com.google.spanner.admin.database.v1.RestoreSourceT return this; } /** + * + * *
      * The type of the restore source.
      * 
* * .google.spanner.admin.database.v1.RestoreSourceType source_type = 1; + * * @return This builder for chaining. */ public Builder clearSourceType() { @@ -629,14 +706,20 @@ public Builder clearSourceType() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.BackupInfo, com.google.spanner.admin.database.v1.BackupInfo.Builder, com.google.spanner.admin.database.v1.BackupInfoOrBuilder> backupInfoBuilder_; + com.google.spanner.admin.database.v1.BackupInfo, + com.google.spanner.admin.database.v1.BackupInfo.Builder, + com.google.spanner.admin.database.v1.BackupInfoOrBuilder> + backupInfoBuilder_; /** + * + * *
      * Information about the backup used to restore the database. The backup
      * may no longer exist.
      * 
* * .google.spanner.admin.database.v1.BackupInfo backup_info = 2; + * * @return Whether the backupInfo field is set. */ @java.lang.Override @@ -644,12 +727,15 @@ public boolean hasBackupInfo() { return sourceInfoCase_ == 2; } /** + * + * *
      * Information about the backup used to restore the database. The backup
      * may no longer exist.
      * 
* * .google.spanner.admin.database.v1.BackupInfo backup_info = 2; + * * @return The backupInfo. */ @java.lang.Override @@ -667,6 +753,8 @@ public com.google.spanner.admin.database.v1.BackupInfo getBackupInfo() { } } /** + * + * *
      * Information about the backup used to restore the database. The backup
      * may no longer exist.
@@ -688,6 +776,8 @@ public Builder setBackupInfo(com.google.spanner.admin.database.v1.BackupInfo val
       return this;
     }
     /**
+     *
+     *
      * 
      * Information about the backup used to restore the database. The backup
      * may no longer exist.
@@ -707,6 +797,8 @@ public Builder setBackupInfo(
       return this;
     }
     /**
+     *
+     *
      * 
      * Information about the backup used to restore the database. The backup
      * may no longer exist.
@@ -716,10 +808,14 @@ public Builder setBackupInfo(
      */
     public Builder mergeBackupInfo(com.google.spanner.admin.database.v1.BackupInfo value) {
       if (backupInfoBuilder_ == null) {
-        if (sourceInfoCase_ == 2 &&
-            sourceInfo_ != com.google.spanner.admin.database.v1.BackupInfo.getDefaultInstance()) {
-          sourceInfo_ = com.google.spanner.admin.database.v1.BackupInfo.newBuilder((com.google.spanner.admin.database.v1.BackupInfo) sourceInfo_)
-              .mergeFrom(value).buildPartial();
+        if (sourceInfoCase_ == 2
+            && sourceInfo_
+                != com.google.spanner.admin.database.v1.BackupInfo.getDefaultInstance()) {
+          sourceInfo_ =
+              com.google.spanner.admin.database.v1.BackupInfo.newBuilder(
+                      (com.google.spanner.admin.database.v1.BackupInfo) sourceInfo_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           sourceInfo_ = value;
         }
@@ -735,6 +831,8 @@ public Builder mergeBackupInfo(com.google.spanner.admin.database.v1.BackupInfo v
       return this;
     }
     /**
+     *
+     *
      * 
      * Information about the backup used to restore the database. The backup
      * may no longer exist.
@@ -759,6 +857,8 @@ public Builder clearBackupInfo() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Information about the backup used to restore the database. The backup
      * may no longer exist.
@@ -770,6 +870,8 @@ public com.google.spanner.admin.database.v1.BackupInfo.Builder getBackupInfoBuil
       return getBackupInfoFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Information about the backup used to restore the database. The backup
      * may no longer exist.
@@ -789,6 +891,8 @@ public com.google.spanner.admin.database.v1.BackupInfoOrBuilder getBackupInfoOrB
       }
     }
     /**
+     *
+     *
      * 
      * Information about the backup used to restore the database. The backup
      * may no longer exist.
@@ -797,14 +901,19 @@ public com.google.spanner.admin.database.v1.BackupInfoOrBuilder getBackupInfoOrB
      * .google.spanner.admin.database.v1.BackupInfo backup_info = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.spanner.admin.database.v1.BackupInfo, com.google.spanner.admin.database.v1.BackupInfo.Builder, com.google.spanner.admin.database.v1.BackupInfoOrBuilder> 
+            com.google.spanner.admin.database.v1.BackupInfo,
+            com.google.spanner.admin.database.v1.BackupInfo.Builder,
+            com.google.spanner.admin.database.v1.BackupInfoOrBuilder>
         getBackupInfoFieldBuilder() {
       if (backupInfoBuilder_ == null) {
         if (!(sourceInfoCase_ == 2)) {
           sourceInfo_ = com.google.spanner.admin.database.v1.BackupInfo.getDefaultInstance();
         }
-        backupInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.admin.database.v1.BackupInfo, com.google.spanner.admin.database.v1.BackupInfo.Builder, com.google.spanner.admin.database.v1.BackupInfoOrBuilder>(
+        backupInfoBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.spanner.admin.database.v1.BackupInfo,
+                com.google.spanner.admin.database.v1.BackupInfo.Builder,
+                com.google.spanner.admin.database.v1.BackupInfoOrBuilder>(
                 (com.google.spanner.admin.database.v1.BackupInfo) sourceInfo_,
                 getParentForChildren(),
                 isClean());
@@ -814,9 +923,9 @@ public com.google.spanner.admin.database.v1.BackupInfoOrBuilder getBackupInfoOrB
       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);
     }
 
@@ -826,12 +935,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.RestoreInfo)
   }
 
   // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.RestoreInfo)
   private static final com.google.spanner.admin.database.v1.RestoreInfo DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.RestoreInfo();
   }
@@ -840,27 +949,27 @@ public static com.google.spanner.admin.database.v1.RestoreInfo getDefaultInstanc
     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;
@@ -875,6 +984,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.spanner.admin.database.v1.RestoreInfo getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreInfoOrBuilder.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreInfoOrBuilder.java
similarity index 72%
rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreInfoOrBuilder.java
rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreInfoOrBuilder.java
index 320c3027af5..f1b55bcc5f5 100644
--- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreInfoOrBuilder.java
+++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreInfoOrBuilder.java
@@ -1,52 +1,82 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/admin/database/v1/spanner_database_admin.proto
 
 package com.google.spanner.admin.database.v1;
 
-public interface RestoreInfoOrBuilder extends
+public interface RestoreInfoOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.RestoreInfo)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The type of the restore source.
    * 
* * .google.spanner.admin.database.v1.RestoreSourceType source_type = 1; + * * @return The enum numeric value on the wire for sourceType. */ int getSourceTypeValue(); /** + * + * *
    * The type of the restore source.
    * 
* * .google.spanner.admin.database.v1.RestoreSourceType source_type = 1; + * * @return The sourceType. */ com.google.spanner.admin.database.v1.RestoreSourceType getSourceType(); /** + * + * *
    * Information about the backup used to restore the database. The backup
    * may no longer exist.
    * 
* * .google.spanner.admin.database.v1.BackupInfo backup_info = 2; + * * @return Whether the backupInfo field is set. */ boolean hasBackupInfo(); /** + * + * *
    * Information about the backup used to restore the database. The backup
    * may no longer exist.
    * 
* * .google.spanner.admin.database.v1.BackupInfo backup_info = 2; + * * @return The backupInfo. */ com.google.spanner.admin.database.v1.BackupInfo getBackupInfo(); /** + * + * *
    * Information about the backup used to restore the database. The backup
    * may no longer exist.
diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreSourceType.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreSourceType.java
similarity index 66%
rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreSourceType.java
rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreSourceType.java
index 99287de9d24..e881b2a5910 100644
--- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreSourceType.java
+++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/RestoreSourceType.java
@@ -1,18 +1,36 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/admin/database/v1/spanner_database_admin.proto
 
 package com.google.spanner.admin.database.v1;
 
 /**
+ *
+ *
  * 
  * Indicates the type of the restore source.
  * 
* * Protobuf enum {@code google.spanner.admin.database.v1.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 */ 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 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,39 +96,43 @@ public static RestoreSourceType valueOf(int value) { */ public static RestoreSourceType forNumber(int value) { switch (value) { - case 0: return TYPE_UNSPECIFIED; - case 1: return BACKUP; - default: return null; + case 0: + return 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() { - return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.getDescriptor() + .getEnumTypes() + .get(0); } private static final RestoreSourceType[] VALUES = values(); @@ -113,8 +140,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 +156,3 @@ private RestoreSourceType(int value) { // @@protoc_insertion_point(enum_scope:google.spanner.admin.database.v1.RestoreSourceType) } - diff --git a/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/SpannerDatabaseAdminProto.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/SpannerDatabaseAdminProto.java new file mode 100644 index 00000000000..e91f9a65717 --- /dev/null +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/SpannerDatabaseAdminProto.java @@ -0,0 +1,591 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/spanner/admin/database/v1/spanner_database_admin.proto + +package com.google.spanner.admin.database.v1; + +public final class SpannerDatabaseAdminProto { + private SpannerDatabaseAdminProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_RestoreInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_RestoreInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_Database_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_Database_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_ListDatabasesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_ListDatabasesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_ListDatabasesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_ListDatabasesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_CreateDatabaseRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_CreateDatabaseRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_CreateDatabaseMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_CreateDatabaseMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_GetDatabaseRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_GetDatabaseRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_DropDatabaseRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_DropDatabaseRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_GetDatabaseDdlRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_GetDatabaseDdlRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_GetDatabaseDdlResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_GetDatabaseDdlResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_RestoreDatabaseRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_RestoreDatabaseRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_RestoreDatabaseEncryptionConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_RestoreDatabaseEncryptionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_RestoreDatabaseMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_RestoreDatabaseMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_OptimizeRestoredDatabaseMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_OptimizeRestoredDatabaseMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_DatabaseRole_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_DatabaseRole_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_ListDatabaseRolesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_ListDatabaseRolesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_database_v1_ListDatabaseRolesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_database_v1_ListDatabaseRolesResponse_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n=google/spanner/admin/database/v1/spann" + + "er_database_admin.proto\022 google.spanner." + + "admin.database.v1\032\034google/api/annotation" + + "s.proto\032\027google/api/client.proto\032\037google" + + "/api/field_behavior.proto\032\031google/api/re" + + "source.proto\032\036google/iam/v1/iam_policy.p" + + "roto\032\032google/iam/v1/policy.proto\032#google" + + "/longrunning/operations.proto\032\033google/pr" + + "otobuf/empty.proto\032\037google/protobuf/time" + + "stamp.proto\032-google/spanner/admin/databa" + + "se/v1/backup.proto\032-google/spanner/admin" + + "/database/v1/common.proto\"\253\001\n\013RestoreInf" + + "o\022H\n\013source_type\030\001 \001(\01623.google.spanner." + + "admin.database.v1.RestoreSourceType\022C\n\013b" + + "ackup_info\030\002 \001(\0132,.google.spanner.admin." + + "database.v1.BackupInfoH\000B\r\n\013source_info\"" + + "\220\006\n\010Database\022\021\n\004name\030\001 \001(\tB\003\340A\002\022D\n\005state" + + "\030\002 \001(\01620.google.spanner.admin.database.v" + + "1.Database.StateB\003\340A\003\0224\n\013create_time\030\003 \001" + + "(\0132\032.google.protobuf.TimestampB\003\340A\003\022H\n\014r" + + "estore_info\030\004 \001(\0132-.google.spanner.admin" + + ".database.v1.RestoreInfoB\003\340A\003\022R\n\021encrypt" + + "ion_config\030\005 \001(\01322.google.spanner.admin." + + "database.v1.EncryptionConfigB\003\340A\003\022N\n\017enc" + + "ryption_info\030\010 \003(\01320.google.spanner.admi" + + "n.database.v1.EncryptionInfoB\003\340A\003\022%\n\030ver" + + "sion_retention_period\030\006 \001(\tB\003\340A\003\022>\n\025earl" + + "iest_version_time\030\007 \001(\0132\032.google.protobu" + + "f.TimestampB\003\340A\003\022\033\n\016default_leader\030\t \001(\t" + + "B\003\340A\003\022P\n\020database_dialect\030\n \001(\01621.google" + + ".spanner.admin.database.v1.DatabaseDiale" + + "ctB\003\340A\003\"M\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022" + + "\014\n\010CREATING\020\001\022\t\n\005READY\020\002\022\024\n\020READY_OPTIMI" + + "ZING\020\003:b\352A_\n\037spanner.googleapis.com/Data" + + "base\022\202\323\344\223\002/\022-/v1/{parent=projects" + + "/*/instances/*}/databases\332A\006parent\022\244\002\n\016C" + + "reateDatabase\0227.google.spanner.admin.dat" + + "abase.v1.CreateDatabaseRequest\032\035.google." + + "longrunning.Operation\"\271\001\202\323\344\223\0022\"-/v1/{par" + + "ent=projects/*/instances/*}/databases:\001*" + + "\332A\027parent,create_statement\312Ad\n)google.sp" + + "anner.admin.database.v1.Database\0227google" + + ".spanner.admin.database.v1.CreateDatabas" + + "eMetadata\022\255\001\n\013GetDatabase\0224.google.spann" + + "er.admin.database.v1.GetDatabaseRequest\032" + + "*.google.spanner.admin.database.v1.Datab" + + "ase\"<\202\323\344\223\002/\022-/v1/{name=projects/*/instan" + + "ces/*/databases/*}\332A\004name\022\235\002\n\021UpdateData" + + "baseDdl\022:.google.spanner.admin.database." + + "v1.UpdateDatabaseDdlRequest\032\035.google.lon" + + "grunning.Operation\"\254\001\202\323\344\223\002:25/v1/{databa" + + "se=projects/*/instances/*/databases/*}/d" + + "dl:\001*\332A\023database,statements\312AS\n\025google.p" + + "rotobuf.Empty\022:google.spanner.admin.data" + + "base.v1.UpdateDatabaseDdlMetadata\022\243\001\n\014Dr" + + "opDatabase\0225.google.spanner.admin.databa" + + "se.v1.DropDatabaseRequest\032\026.google.proto" + + "buf.Empty\"D\202\323\344\223\0023*1/v1/{database=project" + + "s/*/instances/*/databases/*}\332A\010database\022" + + "\315\001\n\016GetDatabaseDdl\0227.google.spanner.admi" + + "n.database.v1.GetDatabaseDdlRequest\0328.go" + + "ogle.spanner.admin.database.v1.GetDataba" + + "seDdlResponse\"H\202\323\344\223\0027\0225/v1/{database=pro" + + "jects/*/instances/*/databases/*}/ddl\332A\010d" + + "atabase\022\353\001\n\014SetIamPolicy\022\".google.iam.v1" + + ".SetIamPolicyRequest\032\025.google.iam.v1.Pol" + + "icy\"\237\001\202\323\344\223\002\206\001\">/v1/{resource=projects/*/" + + "instances/*/databases/*}:setIamPolicy:\001*" + + "ZA\"/v1/{resource=projects/*/in" + + "stances/*/databases/*}:getIamPolicy:\001*ZA" + + "\".google.sp" + + "anner.admin.database.v1.ListBackupOperat" + + "ionsResponse\"E\202\323\344\223\0026\0224/v1/{parent=projec" + + "ts/*/instances/*}/backupOperations\332A\006par" + + "ent\022\334\001\n\021ListDatabaseRoles\022:.google.spann" + + "er.admin.database.v1.ListDatabaseRolesRe" + + "quest\032;.google.spanner.admin.database.v1" + + ".ListDatabaseRolesResponse\"N\202\323\344\223\002?\022=/v1/" + + "{parent=projects/*/instances/*/databases" + + "/*}/databaseRoles\332A\006parent\032x\312A\026spanner.g" + + "oogleapis.com\322A\\https://www.googleapis.c" + + "om/auth/cloud-platform,https://www.googl" + + "eapis.com/auth/spanner.adminB\330\002\n$com.goo" + + "gle.spanner.admin.database.v1B\031SpannerDa" + + "tabaseAdminProtoP\001ZFcloud.google.com/go/" + + "spanner/admin/database/apiv1/databasepb;" + + "databasepb\252\002&Google.Cloud.Spanner.Admin." + + "Database.V1\312\002&Google\\Cloud\\Spanner\\Admin" + + "\\Database\\V1\352\002+Google::Cloud::Spanner::A" + + "dmin::Database::V1\352AJ\n\037spanner.googleapi" + + "s.com/Instance\022\'projects/{project}/insta" + + "nces/{instance}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.iam.v1.IamPolicyProto.getDescriptor(), + com.google.iam.v1.PolicyProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.spanner.admin.database.v1.BackupProto.getDescriptor(), + com.google.spanner.admin.database.v1.CommonProto.getDescriptor(), + }); + internal_static_google_spanner_admin_database_v1_RestoreInfo_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_spanner_admin_database_v1_RestoreInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_RestoreInfo_descriptor, + new java.lang.String[] { + "SourceType", "BackupInfo", "SourceInfo", + }); + internal_static_google_spanner_admin_database_v1_Database_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_spanner_admin_database_v1_Database_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_Database_descriptor, + new java.lang.String[] { + "Name", + "State", + "CreateTime", + "RestoreInfo", + "EncryptionConfig", + "EncryptionInfo", + "VersionRetentionPeriod", + "EarliestVersionTime", + "DefaultLeader", + "DatabaseDialect", + }); + internal_static_google_spanner_admin_database_v1_ListDatabasesRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_spanner_admin_database_v1_ListDatabasesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_ListDatabasesRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_spanner_admin_database_v1_ListDatabasesResponse_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_spanner_admin_database_v1_ListDatabasesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_ListDatabasesResponse_descriptor, + new java.lang.String[] { + "Databases", "NextPageToken", + }); + internal_static_google_spanner_admin_database_v1_CreateDatabaseRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_spanner_admin_database_v1_CreateDatabaseRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_CreateDatabaseRequest_descriptor, + new java.lang.String[] { + "Parent", "CreateStatement", "ExtraStatements", "EncryptionConfig", "DatabaseDialect", + }); + internal_static_google_spanner_admin_database_v1_CreateDatabaseMetadata_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_spanner_admin_database_v1_CreateDatabaseMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_CreateDatabaseMetadata_descriptor, + new java.lang.String[] { + "Database", + }); + internal_static_google_spanner_admin_database_v1_GetDatabaseRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_spanner_admin_database_v1_GetDatabaseRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_GetDatabaseRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlRequest_descriptor, + new java.lang.String[] { + "Database", "Statements", "OperationId", + }); + internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlMetadata_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlMetadata_descriptor, + new java.lang.String[] { + "Database", "Statements", "CommitTimestamps", "Throttled", "Progress", + }); + internal_static_google_spanner_admin_database_v1_DropDatabaseRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_spanner_admin_database_v1_DropDatabaseRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_DropDatabaseRequest_descriptor, + new java.lang.String[] { + "Database", + }); + internal_static_google_spanner_admin_database_v1_GetDatabaseDdlRequest_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_spanner_admin_database_v1_GetDatabaseDdlRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_GetDatabaseDdlRequest_descriptor, + new java.lang.String[] { + "Database", + }); + internal_static_google_spanner_admin_database_v1_GetDatabaseDdlResponse_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_spanner_admin_database_v1_GetDatabaseDdlResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_GetDatabaseDdlResponse_descriptor, + new java.lang.String[] { + "Statements", + }); + internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsRequest_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsRequest_descriptor, + new java.lang.String[] { + "Parent", "Filter", "PageSize", "PageToken", + }); + internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsResponse_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_ListDatabaseOperationsResponse_descriptor, + new java.lang.String[] { + "Operations", "NextPageToken", + }); + internal_static_google_spanner_admin_database_v1_RestoreDatabaseRequest_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_spanner_admin_database_v1_RestoreDatabaseRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_RestoreDatabaseRequest_descriptor, + new java.lang.String[] { + "Parent", "DatabaseId", "Backup", "EncryptionConfig", "Source", + }); + internal_static_google_spanner_admin_database_v1_RestoreDatabaseEncryptionConfig_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_spanner_admin_database_v1_RestoreDatabaseEncryptionConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_RestoreDatabaseEncryptionConfig_descriptor, + new java.lang.String[] { + "EncryptionType", "KmsKeyName", + }); + internal_static_google_spanner_admin_database_v1_RestoreDatabaseMetadata_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_spanner_admin_database_v1_RestoreDatabaseMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_RestoreDatabaseMetadata_descriptor, + new java.lang.String[] { + "Name", + "SourceType", + "BackupInfo", + "Progress", + "CancelTime", + "OptimizeDatabaseOperationName", + "SourceInfo", + }); + internal_static_google_spanner_admin_database_v1_OptimizeRestoredDatabaseMetadata_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_spanner_admin_database_v1_OptimizeRestoredDatabaseMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_OptimizeRestoredDatabaseMetadata_descriptor, + new java.lang.String[] { + "Name", "Progress", + }); + internal_static_google_spanner_admin_database_v1_DatabaseRole_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_spanner_admin_database_v1_DatabaseRole_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_DatabaseRole_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_spanner_admin_database_v1_ListDatabaseRolesRequest_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_spanner_admin_database_v1_ListDatabaseRolesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_ListDatabaseRolesRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_spanner_admin_database_v1_ListDatabaseRolesResponse_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_spanner_admin_database_v1_ListDatabaseRolesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_database_v1_ListDatabaseRolesResponse_descriptor, + new java.lang.String[] { + "DatabaseRoles", "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.resource); + registry.add(com.google.api.ResourceProto.resourceDefinition); + 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.iam.v1.IamPolicyProto.getDescriptor(); + com.google.iam.v1.PolicyProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.spanner.admin.database.v1.BackupProto.getDescriptor(); + com.google.spanner.admin.database.v1.CommonProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateBackupRequest.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateBackupRequest.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateBackupRequest.java rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateBackupRequest.java index 22f9900d6b6..ccd25df5763 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateBackupRequest.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateBackupRequest.java @@ -1,55 +1,75 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/backup.proto package com.google.spanner.admin.database.v1; /** + * + * *
  * The request for [UpdateBackup][google.spanner.admin.database.v1.DatabaseAdmin.UpdateBackup].
  * 
* * Protobuf type {@code google.spanner.admin.database.v1.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.spanner.admin.database.v1.UpdateBackupRequest) UpdateBackupRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateBackupRequest.newBuilder() to construct. private UpdateBackupRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateBackupRequest() { - } + + private UpdateBackupRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateBackupRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_UpdateBackupRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.admin.database.v1.BackupProto + .internal_static_google_spanner_admin_database_v1_UpdateBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_UpdateBackupRequest_fieldAccessorTable + return com.google.spanner.admin.database.v1.BackupProto + .internal_static_google_spanner_admin_database_v1_UpdateBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.UpdateBackupRequest.class, com.google.spanner.admin.database.v1.UpdateBackupRequest.Builder.class); + com.google.spanner.admin.database.v1.UpdateBackupRequest.class, + com.google.spanner.admin.database.v1.UpdateBackupRequest.Builder.class); } public static final int BACKUP_FIELD_NUMBER = 1; private com.google.spanner.admin.database.v1.Backup backup_; /** + * + * *
    * Required. The backup to update. `backup.name`, and the fields to be updated
    * as specified by `update_mask` are required. Other fields are ignored.
@@ -57,7 +77,10 @@ protected java.lang.Object newInstance(
    *  * `backup.expire_time`.
    * 
* - * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the backup field is set. */ @java.lang.Override @@ -65,6 +88,8 @@ public boolean hasBackup() { return backup_ != null; } /** + * + * *
    * Required. The backup to update. `backup.name`, and the fields to be updated
    * as specified by `update_mask` are required. Other fields are ignored.
@@ -72,14 +97,21 @@ public boolean hasBackup() {
    *  * `backup.expire_time`.
    * 
* - * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The backup. */ @java.lang.Override public com.google.spanner.admin.database.v1.Backup getBackup() { - return backup_ == null ? com.google.spanner.admin.database.v1.Backup.getDefaultInstance() : backup_; + return backup_ == null + ? com.google.spanner.admin.database.v1.Backup.getDefaultInstance() + : backup_; } /** + * + * *
    * Required. The backup to update. `backup.name`, and the fields to be updated
    * as specified by `update_mask` are required. Other fields are ignored.
@@ -87,16 +119,22 @@ public com.google.spanner.admin.database.v1.Backup getBackup() {
    *  * `backup.expire_time`.
    * 
* - * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.spanner.admin.database.v1.BackupOrBuilder getBackupOrBuilder() { - return backup_ == null ? com.google.spanner.admin.database.v1.Backup.getDefaultInstance() : backup_; + return backup_ == null + ? com.google.spanner.admin.database.v1.Backup.getDefaultInstance() + : backup_; } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Required. A mask specifying which fields (e.g. `expire_time`) in the
    * Backup resource should be updated. This mask is relative to the Backup
@@ -105,7 +143,9 @@ public com.google.spanner.admin.database.v1.BackupOrBuilder getBackupOrBuilder()
    * by clients that do not know about them.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -113,6 +153,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Required. A mask specifying which fields (e.g. `expire_time`) in the
    * Backup resource should be updated. This mask is relative to the Backup
@@ -121,7 +163,9 @@ public boolean hasUpdateMask() {
    * by clients that do not know about them.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ @java.lang.Override @@ -129,6 +173,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Required. A mask specifying which fields (e.g. `expire_time`) in the
    * Backup resource should be updated. This mask is relative to the Backup
@@ -137,7 +183,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    * by clients that do not know about them.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -145,6 +192,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -156,8 +204,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (backup_ != null) { output.writeMessage(1, getBackup()); } @@ -174,12 +221,10 @@ public int getSerializedSize() { size = 0; if (backup_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getBackup()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getBackup()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -189,22 +234,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.spanner.admin.database.v1.UpdateBackupRequest)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.UpdateBackupRequest other = (com.google.spanner.admin.database.v1.UpdateBackupRequest) obj; + com.google.spanner.admin.database.v1.UpdateBackupRequest other = + (com.google.spanner.admin.database.v1.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; @@ -231,129 +275,136 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.UpdateBackupRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.UpdateBackupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.UpdateBackupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.UpdateBackupRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.spanner.admin.database.v1.UpdateBackupRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.UpdateBackupRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.spanner.admin.database.v1.UpdateBackupRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.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.spanner.admin.database.v1.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.spanner.admin.database.v1.UpdateBackupRequest prototype) { + + public static Builder newBuilder( + com.google.spanner.admin.database.v1.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.spanner.admin.database.v1.DatabaseAdmin.UpdateBackup].
    * 
* * Protobuf type {@code google.spanner.admin.database.v1.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.spanner.admin.database.v1.UpdateBackupRequest) com.google.spanner.admin.database.v1.UpdateBackupRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_UpdateBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.admin.database.v1.BackupProto + .internal_static_google_spanner_admin_database_v1_UpdateBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_UpdateBackupRequest_fieldAccessorTable + return com.google.spanner.admin.database.v1.BackupProto + .internal_static_google_spanner_admin_database_v1_UpdateBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.database.v1.UpdateBackupRequest.class, com.google.spanner.admin.database.v1.UpdateBackupRequest.Builder.class); + com.google.spanner.admin.database.v1.UpdateBackupRequest.class, + com.google.spanner.admin.database.v1.UpdateBackupRequest.Builder.class); } // Construct using com.google.spanner.admin.database.v1.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(); @@ -372,9 +423,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.spanner.admin.database.v1.BackupProto.internal_static_google_spanner_admin_database_v1_UpdateBackupRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.spanner.admin.database.v1.BackupProto + .internal_static_google_spanner_admin_database_v1_UpdateBackupRequest_descriptor; } @java.lang.Override @@ -393,8 +444,11 @@ public com.google.spanner.admin.database.v1.UpdateBackupRequest build() { @java.lang.Override public com.google.spanner.admin.database.v1.UpdateBackupRequest buildPartial() { - com.google.spanner.admin.database.v1.UpdateBackupRequest result = new com.google.spanner.admin.database.v1.UpdateBackupRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.spanner.admin.database.v1.UpdateBackupRequest result = + new com.google.spanner.admin.database.v1.UpdateBackupRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -402,14 +456,10 @@ public com.google.spanner.admin.database.v1.UpdateBackupRequest buildPartial() { private void buildPartial0(com.google.spanner.admin.database.v1.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(); } } @@ -417,38 +467,39 @@ private void buildPartial0(com.google.spanner.admin.database.v1.UpdateBackupRequ public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.spanner.admin.database.v1.UpdateBackupRequest) { - return mergeFrom((com.google.spanner.admin.database.v1.UpdateBackupRequest)other); + return mergeFrom((com.google.spanner.admin.database.v1.UpdateBackupRequest) other); } else { super.mergeFrom(other); return this; @@ -456,7 +507,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.admin.database.v1.UpdateBackupRequest other) { - if (other == com.google.spanner.admin.database.v1.UpdateBackupRequest.getDefaultInstance()) return this; + if (other == com.google.spanner.admin.database.v1.UpdateBackupRequest.getDefaultInstance()) + return this; if (other.hasBackup()) { mergeBackup(other.getBackup()); } @@ -489,26 +541,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) { @@ -518,12 +569,18 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.spanner.admin.database.v1.Backup backup_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.Backup, com.google.spanner.admin.database.v1.Backup.Builder, com.google.spanner.admin.database.v1.BackupOrBuilder> backupBuilder_; + com.google.spanner.admin.database.v1.Backup, + com.google.spanner.admin.database.v1.Backup.Builder, + com.google.spanner.admin.database.v1.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.
@@ -531,13 +588,18 @@ public Builder mergeFrom(
      *  * `backup.expire_time`.
      * 
* - * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.database.v1.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.
@@ -545,17 +607,24 @@ public boolean hasBackup() {
      *  * `backup.expire_time`.
      * 
* - * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The backup. */ public com.google.spanner.admin.database.v1.Backup getBackup() { if (backupBuilder_ == null) { - return backup_ == null ? com.google.spanner.admin.database.v1.Backup.getDefaultInstance() : backup_; + return backup_ == null + ? com.google.spanner.admin.database.v1.Backup.getDefaultInstance() + : backup_; } else { return backupBuilder_.getMessage(); } } /** + * + * *
      * Required. The backup to update. `backup.name`, and the fields to be updated
      * as specified by `update_mask` are required. Other fields are ignored.
@@ -563,7 +632,9 @@ public com.google.spanner.admin.database.v1.Backup getBackup() {
      *  * `backup.expire_time`.
      * 
* - * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setBackup(com.google.spanner.admin.database.v1.Backup value) { if (backupBuilder_ == null) { @@ -579,6 +650,8 @@ public Builder setBackup(com.google.spanner.admin.database.v1.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.
@@ -586,10 +659,11 @@ public Builder setBackup(com.google.spanner.admin.database.v1.Backup value) {
      *  * `backup.expire_time`.
      * 
* - * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setBackup( - com.google.spanner.admin.database.v1.Backup.Builder builderForValue) { + public Builder setBackup(com.google.spanner.admin.database.v1.Backup.Builder builderForValue) { if (backupBuilder_ == null) { backup_ = builderForValue.build(); } else { @@ -600,6 +674,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.
@@ -607,13 +683,15 @@ public Builder setBackup(
      *  * `backup.expire_time`.
      * 
* - * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeBackup(com.google.spanner.admin.database.v1.Backup value) { if (backupBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - backup_ != null && - backup_ != com.google.spanner.admin.database.v1.Backup.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && backup_ != null + && backup_ != com.google.spanner.admin.database.v1.Backup.getDefaultInstance()) { getBackupBuilder().mergeFrom(value); } else { backup_ = value; @@ -626,6 +704,8 @@ public Builder mergeBackup(com.google.spanner.admin.database.v1.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.
@@ -633,7 +713,9 @@ public Builder mergeBackup(com.google.spanner.admin.database.v1.Backup value) {
      *  * `backup.expire_time`.
      * 
* - * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearBackup() { bitField0_ = (bitField0_ & ~0x00000001); @@ -646,6 +728,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.
@@ -653,7 +737,9 @@ public Builder clearBackup() {
      *  * `backup.expire_time`.
      * 
* - * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.spanner.admin.database.v1.Backup.Builder getBackupBuilder() { bitField0_ |= 0x00000001; @@ -661,6 +747,8 @@ public com.google.spanner.admin.database.v1.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.
@@ -668,17 +756,22 @@ public com.google.spanner.admin.database.v1.Backup.Builder getBackupBuilder() {
      *  * `backup.expire_time`.
      * 
* - * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.spanner.admin.database.v1.BackupOrBuilder getBackupOrBuilder() { if (backupBuilder_ != null) { return backupBuilder_.getMessageOrBuilder(); } else { - return backup_ == null ? - com.google.spanner.admin.database.v1.Backup.getDefaultInstance() : backup_; + return backup_ == null + ? com.google.spanner.admin.database.v1.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.
@@ -686,17 +779,22 @@ public com.google.spanner.admin.database.v1.BackupOrBuilder getBackupOrBuilder()
      *  * `backup.expire_time`.
      * 
* - * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.Backup, com.google.spanner.admin.database.v1.Backup.Builder, com.google.spanner.admin.database.v1.BackupOrBuilder> + com.google.spanner.admin.database.v1.Backup, + com.google.spanner.admin.database.v1.Backup.Builder, + com.google.spanner.admin.database.v1.BackupOrBuilder> getBackupFieldBuilder() { if (backupBuilder_ == null) { - backupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.database.v1.Backup, com.google.spanner.admin.database.v1.Backup.Builder, com.google.spanner.admin.database.v1.BackupOrBuilder>( - getBackup(), - getParentForChildren(), - isClean()); + backupBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.admin.database.v1.Backup, + com.google.spanner.admin.database.v1.Backup.Builder, + com.google.spanner.admin.database.v1.BackupOrBuilder>( + getBackup(), getParentForChildren(), isClean()); backup_ = null; } return backupBuilder_; @@ -704,8 +802,13 @@ public com.google.spanner.admin.database.v1.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
@@ -714,13 +817,17 @@ public com.google.spanner.admin.database.v1.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
@@ -729,17 +836,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
@@ -748,7 +861,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) { @@ -764,6 +878,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
@@ -772,10 +888,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 { @@ -786,6 +902,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
@@ -794,13 +912,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; @@ -813,6 +932,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
@@ -821,7 +942,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); @@ -834,6 +956,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
@@ -842,7 +966,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; @@ -850,6 +975,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
@@ -858,17 +985,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
@@ -877,24 +1008,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); } @@ -904,12 +1039,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.UpdateBackupRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.UpdateBackupRequest) private static final com.google.spanner.admin.database.v1.UpdateBackupRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.UpdateBackupRequest(); } @@ -918,27 +1053,27 @@ public static com.google.spanner.admin.database.v1.UpdateBackupRequest getDefaul 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; @@ -953,6 +1088,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.UpdateBackupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateBackupRequestOrBuilder.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateBackupRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateBackupRequestOrBuilder.java rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateBackupRequestOrBuilder.java index 38228c92a89..2fd0d8ae9b5 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateBackupRequestOrBuilder.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateBackupRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/backup.proto package com.google.spanner.admin.database.v1; -public interface UpdateBackupRequestOrBuilder extends +public interface UpdateBackupRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.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,16 @@ public interface UpdateBackupRequestOrBuilder extends
    *  * `backup.expire_time`.
    * 
* - * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.database.v1.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 +50,16 @@ public interface UpdateBackupRequestOrBuilder extends
    *  * `backup.expire_time`.
    * 
* - * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The backup. */ com.google.spanner.admin.database.v1.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 +67,15 @@ public interface UpdateBackupRequestOrBuilder extends
    *  * `backup.expire_time`.
    * 
* - * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.database.v1.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.spanner.admin.database.v1.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 +84,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 +101,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 +118,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/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlMetadata.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlMetadata.java similarity index 79% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlMetadata.java rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlMetadata.java index 09eb268f187..d4625807d12 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlMetadata.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlMetadata.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/spanner_database_admin.proto package com.google.spanner.admin.database.v1; /** + * + * *
  * Metadata type for the operation returned by
  * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata}
  */
-public final class UpdateDatabaseDdlMetadata extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class UpdateDatabaseDdlMetadata extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata)
     UpdateDatabaseDdlMetadataOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use UpdateDatabaseDdlMetadata.newBuilder() to construct.
   private UpdateDatabaseDdlMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private UpdateDatabaseDdlMetadata() {
     database_ = "";
     statements_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -29,38 +47,43 @@ private UpdateDatabaseDdlMetadata() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new UpdateDatabaseDdlMetadata();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlMetadata_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
+        .internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlMetadata_fieldAccessorTable
+    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
+        .internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata.class, com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata.Builder.class);
+            com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata.class,
+            com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata.Builder.class);
   }
 
   public static final int DATABASE_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object database_ = "";
   /**
+   *
+   *
    * 
    * The database being modified.
    * 
* * string database = 1 [(.google.api.resource_reference) = { ... } + * * @return The database. */ @java.lang.Override @@ -69,29 +92,29 @@ public java.lang.String getDatabase() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; } } /** + * + * *
    * The database being modified.
    * 
* * string database = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for database. */ @java.lang.Override - public com.google.protobuf.ByteString - getDatabaseBytes() { + public com.google.protobuf.ByteString getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); database_ = b; return b; } else { @@ -100,40 +123,49 @@ public java.lang.String getDatabase() { } public static final int STATEMENTS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringList statements_; /** + * + * *
    * For an update this list contains all the statements. For an
    * individual statement, this list contains only that statement.
    * 
* * repeated string statements = 2; + * * @return A list containing the statements. */ - public com.google.protobuf.ProtocolStringList - getStatementsList() { + public com.google.protobuf.ProtocolStringList getStatementsList() { return statements_; } /** + * + * *
    * For an update this list contains all the statements. For an
    * individual statement, this list contains only that statement.
    * 
* * repeated string statements = 2; + * * @return The count of statements. */ public int getStatementsCount() { return statements_.size(); } /** + * + * *
    * For an update this list contains all the statements. For an
    * individual statement, this list contains only that statement.
    * 
* * repeated string statements = 2; + * * @param index The index of the element to return. * @return The statements at the given index. */ @@ -141,24 +173,29 @@ public java.lang.String getStatements(int index) { return statements_.get(index); } /** + * + * *
    * For an update this list contains all the statements. For an
    * individual statement, this list contains only that statement.
    * 
* * repeated string statements = 2; + * * @param index The index of the value to return. * @return The bytes of the statements at the given index. */ - public com.google.protobuf.ByteString - getStatementsBytes(int index) { + public com.google.protobuf.ByteString getStatementsBytes(int index) { return statements_.getByteString(index); } public static final int COMMIT_TIMESTAMPS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private java.util.List commitTimestamps_; /** + * + * *
    * Reports the commit timestamps of all statements that have
    * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -172,6 +209,8 @@ public java.util.List getCommitTimestampsList() {
     return commitTimestamps_;
   }
   /**
+   *
+   *
    * 
    * Reports the commit timestamps of all statements that have
    * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -181,11 +220,13 @@ public java.util.List getCommitTimestampsList() {
    * repeated .google.protobuf.Timestamp commit_timestamps = 3;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getCommitTimestampsOrBuilderList() {
     return commitTimestamps_;
   }
   /**
+   *
+   *
    * 
    * Reports the commit timestamps of all statements that have
    * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -199,6 +240,8 @@ public int getCommitTimestampsCount() {
     return commitTimestamps_.size();
   }
   /**
+   *
+   *
    * 
    * Reports the commit timestamps of all statements that have
    * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -212,6 +255,8 @@ public com.google.protobuf.Timestamp getCommitTimestamps(int index) {
     return commitTimestamps_.get(index);
   }
   /**
+   *
+   *
    * 
    * Reports the commit timestamps of all statements that have
    * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -221,14 +266,15 @@ public com.google.protobuf.Timestamp getCommitTimestamps(int index) {
    * repeated .google.protobuf.Timestamp commit_timestamps = 3;
    */
   @java.lang.Override
-  public com.google.protobuf.TimestampOrBuilder getCommitTimestampsOrBuilder(
-      int index) {
+  public com.google.protobuf.TimestampOrBuilder getCommitTimestampsOrBuilder(int index) {
     return commitTimestamps_.get(index);
   }
 
   public static final int THROTTLED_FIELD_NUMBER = 4;
   private boolean throttled_ = false;
   /**
+   *
+   *
    * 
    * Output only. When true, indicates that the operation is throttled e.g
    * due to resource constraints. When resources become available the operation
@@ -236,6 +282,7 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimestampsOrBuilder(
    * 
* * bool throttled = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The throttled. */ @java.lang.Override @@ -244,9 +291,12 @@ public boolean getThrottled() { } public static final int PROGRESS_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private java.util.List progress_; /** + * + * *
    * The progress of the
    * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -265,6 +315,8 @@ public java.util.List ge
     return progress_;
   }
   /**
+   *
+   *
    * 
    * The progress of the
    * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -279,11 +331,13 @@ public java.util.List ge
    * repeated .google.spanner.admin.database.v1.OperationProgress progress = 5;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getProgressOrBuilderList() {
     return progress_;
   }
   /**
+   *
+   *
    * 
    * The progress of the
    * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -302,6 +356,8 @@ public int getProgressCount() {
     return progress_.size();
   }
   /**
+   *
+   *
    * 
    * The progress of the
    * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -320,6 +376,8 @@ public com.google.spanner.admin.database.v1.OperationProgress getProgress(int in
     return progress_.get(index);
   }
   /**
+   *
+   *
    * 
    * The progress of the
    * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -340,6 +398,7 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -351,8 +410,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(database_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, database_);
     }
@@ -389,16 +447,13 @@ public int getSerializedSize() {
       size += 1 * getStatementsList().size();
     }
     for (int i = 0; i < commitTimestamps_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, commitTimestamps_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, commitTimestamps_.get(i));
     }
     if (throttled_ != false) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeBoolSize(4, throttled_);
+      size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, throttled_);
     }
     for (int i = 0; i < progress_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, progress_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, progress_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -408,23 +463,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.spanner.admin.database.v1.UpdateDatabaseDdlMetadata)) {
       return super.equals(obj);
     }
-    com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata other = (com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata) obj;
-
-    if (!getDatabase()
-        .equals(other.getDatabase())) return false;
-    if (!getStatementsList()
-        .equals(other.getStatementsList())) return false;
-    if (!getCommitTimestampsList()
-        .equals(other.getCommitTimestampsList())) return false;
-    if (getThrottled()
-        != other.getThrottled()) return false;
-    if (!getProgressList()
-        .equals(other.getProgressList())) return false;
+    com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata other =
+        (com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata) obj;
+
+    if (!getDatabase().equals(other.getDatabase())) return false;
+    if (!getStatementsList().equals(other.getStatementsList())) return false;
+    if (!getCommitTimestampsList().equals(other.getCommitTimestampsList())) return false;
+    if (getThrottled() != other.getThrottled()) return false;
+    if (!getProgressList().equals(other.getProgressList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -447,8 +498,7 @@ public int hashCode() {
       hash = (53 * hash) + getCommitTimestampsList().hashCode();
     }
     hash = (37 * hash) + THROTTLED_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
-        getThrottled());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getThrottled());
     if (getProgressCount() > 0) {
       hash = (37 * hash) + PROGRESS_FIELD_NUMBER;
       hash = (53 * hash) + getProgressList().hashCode();
@@ -459,96 +509,104 @@ public int hashCode() {
   }
 
   public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata parseFrom(byte[] data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+
+  public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata parseFrom(
+      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata prototype) {
+
+  public static Builder newBuilder(
+      com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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
    * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl].
@@ -556,33 +614,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata)
       com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
+          .internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlMetadata_fieldAccessorTable
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
+          .internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata.class, com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata.Builder.class);
+              com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata.class,
+              com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -609,13 +666,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
+          .internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlMetadata_descriptor;
     }
 
     @java.lang.Override
-    public com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata getDefaultInstanceForType() {
+    public com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata
+        getDefaultInstanceForType() {
       return com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata.getDefaultInstance();
     }
 
@@ -630,14 +688,18 @@ public com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata build() {
 
     @java.lang.Override
     public com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata buildPartial() {
-      com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata result = new com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata(this);
+      com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata result =
+          new com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata result) {
+    private void buildPartialRepeatedFields(
+        com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata result) {
       if (((bitField0_ & 0x00000002) != 0)) {
         statements_ = statements_.getUnmodifiableView();
         bitField0_ = (bitField0_ & ~0x00000002);
@@ -663,7 +725,8 @@ private void buildPartialRepeatedFields(com.google.spanner.admin.database.v1.Upd
       }
     }
 
-    private void buildPartial0(com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata result) {
+    private void buildPartial0(
+        com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.database_ = database_;
@@ -677,38 +740,39 @@ private void buildPartial0(com.google.spanner.admin.database.v1.UpdateDatabaseDd
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata) {
-        return mergeFrom((com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata)other);
+        return mergeFrom((com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -716,7 +780,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata other) {
-      if (other == com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata.getDefaultInstance()) return this;
+      if (other
+          == com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata.getDefaultInstance())
+        return this;
       if (!other.getDatabase().isEmpty()) {
         database_ = other.database_;
         bitField0_ |= 0x00000001;
@@ -750,9 +816,10 @@ public Builder mergeFrom(com.google.spanner.admin.database.v1.UpdateDatabaseDdlM
             commitTimestampsBuilder_ = null;
             commitTimestamps_ = other.commitTimestamps_;
             bitField0_ = (bitField0_ & ~0x00000004);
-            commitTimestampsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getCommitTimestampsFieldBuilder() : null;
+            commitTimestampsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getCommitTimestampsFieldBuilder()
+                    : null;
           } else {
             commitTimestampsBuilder_.addAllMessages(other.commitTimestamps_);
           }
@@ -779,9 +846,10 @@ public Builder mergeFrom(com.google.spanner.admin.database.v1.UpdateDatabaseDdlM
             progressBuilder_ = null;
             progress_ = other.progress_;
             bitField0_ = (bitField0_ & ~0x00000010);
-            progressBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getProgressFieldBuilder() : null;
+            progressBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getProgressFieldBuilder()
+                    : null;
           } else {
             progressBuilder_.addAllMessages(other.progress_);
           }
@@ -813,54 +881,58 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              database_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureStatementsIsMutable();
-              statements_.add(s);
-              break;
-            } // case 18
-            case 26: {
-              com.google.protobuf.Timestamp m =
-                  input.readMessage(
-                      com.google.protobuf.Timestamp.parser(),
-                      extensionRegistry);
-              if (commitTimestampsBuilder_ == null) {
-                ensureCommitTimestampsIsMutable();
-                commitTimestamps_.add(m);
-              } else {
-                commitTimestampsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 26
-            case 32: {
-              throttled_ = input.readBool();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 32
-            case 42: {
-              com.google.spanner.admin.database.v1.OperationProgress m =
-                  input.readMessage(
-                      com.google.spanner.admin.database.v1.OperationProgress.parser(),
-                      extensionRegistry);
-              if (progressBuilder_ == null) {
-                ensureProgressIsMutable();
-                progress_.add(m);
-              } else {
-                progressBuilder_.addMessage(m);
-              }
-              break;
-            } // case 42
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                database_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureStatementsIsMutable();
+                statements_.add(s);
+                break;
+              } // case 18
+            case 26:
+              {
+                com.google.protobuf.Timestamp m =
+                    input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+                if (commitTimestampsBuilder_ == null) {
+                  ensureCommitTimestampsIsMutable();
+                  commitTimestamps_.add(m);
+                } else {
+                  commitTimestampsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 26
+            case 32:
+              {
+                throttled_ = input.readBool();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 32
+            case 42:
+              {
+                com.google.spanner.admin.database.v1.OperationProgress m =
+                    input.readMessage(
+                        com.google.spanner.admin.database.v1.OperationProgress.parser(),
+                        extensionRegistry);
+                if (progressBuilder_ == null) {
+                  ensureProgressIsMutable();
+                  progress_.add(m);
+                } else {
+                  progressBuilder_.addMessage(m);
+                }
+                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) {
@@ -870,22 +942,25 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object database_ = "";
     /**
+     *
+     *
      * 
      * The database being modified.
      * 
* * string database = 1 [(.google.api.resource_reference) = { ... } + * * @return The database. */ public java.lang.String getDatabase() { java.lang.Object ref = database_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; @@ -894,20 +969,21 @@ public java.lang.String getDatabase() { } } /** + * + * *
      * The database being modified.
      * 
* * string database = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for database. */ - public com.google.protobuf.ByteString - getDatabaseBytes() { + public com.google.protobuf.ByteString getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); database_ = b; return b; } else { @@ -915,28 +991,35 @@ public java.lang.String getDatabase() { } } /** + * + * *
      * The database being modified.
      * 
* * string database = 1 [(.google.api.resource_reference) = { ... } + * * @param value The database to set. * @return This builder for chaining. */ - public Builder setDatabase( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDatabase(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } database_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The database being modified.
      * 
* * string database = 1 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearDatabase() { @@ -946,17 +1029,21 @@ public Builder clearDatabase() { return this; } /** + * + * *
      * The database being modified.
      * 
* * string database = 1 [(.google.api.resource_reference) = { ... } + * * @param value The bytes for database to set. * @return This builder for chaining. */ - public Builder setDatabaseBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); database_ = value; bitField0_ |= 0x00000001; @@ -964,45 +1051,55 @@ public Builder setDatabaseBytes( return this; } - private com.google.protobuf.LazyStringList statements_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList statements_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureStatementsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { statements_ = new com.google.protobuf.LazyStringArrayList(statements_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * For an update this list contains all the statements. For an
      * individual statement, this list contains only that statement.
      * 
* * repeated string statements = 2; + * * @return A list containing the statements. */ - public com.google.protobuf.ProtocolStringList - getStatementsList() { + public com.google.protobuf.ProtocolStringList getStatementsList() { return statements_.getUnmodifiableView(); } /** + * + * *
      * For an update this list contains all the statements. For an
      * individual statement, this list contains only that statement.
      * 
* * repeated string statements = 2; + * * @return The count of statements. */ public int getStatementsCount() { return statements_.size(); } /** + * + * *
      * For an update this list contains all the statements. For an
      * individual statement, this list contains only that statement.
      * 
* * repeated string statements = 2; + * * @param index The index of the element to return. * @return The statements at the given index. */ @@ -1010,81 +1107,95 @@ public java.lang.String getStatements(int index) { return statements_.get(index); } /** + * + * *
      * For an update this list contains all the statements. For an
      * individual statement, this list contains only that statement.
      * 
* * repeated string statements = 2; + * * @param index The index of the value to return. * @return The bytes of the statements at the given index. */ - public com.google.protobuf.ByteString - getStatementsBytes(int index) { + public com.google.protobuf.ByteString getStatementsBytes(int index) { return statements_.getByteString(index); } /** + * + * *
      * For an update this list contains all the statements. For an
      * individual statement, this list contains only that statement.
      * 
* * repeated string statements = 2; + * * @param index The index to set the value at. * @param value The statements to set. * @return This builder for chaining. */ - public Builder setStatements( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setStatements(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureStatementsIsMutable(); statements_.set(index, value); onChanged(); return this; } /** + * + * *
      * For an update this list contains all the statements. For an
      * individual statement, this list contains only that statement.
      * 
* * repeated string statements = 2; + * * @param value The statements to add. * @return This builder for chaining. */ - public Builder addStatements( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addStatements(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureStatementsIsMutable(); statements_.add(value); onChanged(); return this; } /** + * + * *
      * For an update this list contains all the statements. For an
      * individual statement, this list contains only that statement.
      * 
* * repeated string statements = 2; + * * @param values The statements to add. * @return This builder for chaining. */ - public Builder addAllStatements( - java.lang.Iterable values) { + public Builder addAllStatements(java.lang.Iterable values) { ensureStatementsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, statements_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, statements_); onChanged(); return this; } /** + * + * *
      * For an update this list contains all the statements. For an
      * individual statement, this list contains only that statement.
      * 
* * repeated string statements = 2; + * * @return This builder for chaining. */ public Builder clearStatements() { @@ -1094,18 +1205,22 @@ public Builder clearStatements() { return this; } /** + * + * *
      * For an update this list contains all the statements. For an
      * individual statement, this list contains only that statement.
      * 
* * repeated string statements = 2; + * * @param value The bytes of the statements to add. * @return This builder for chaining. */ - public Builder addStatementsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addStatementsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureStatementsIsMutable(); statements_.add(value); @@ -1114,18 +1229,25 @@ public Builder addStatementsBytes( } private java.util.List commitTimestamps_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureCommitTimestampsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - commitTimestamps_ = new java.util.ArrayList(commitTimestamps_); + commitTimestamps_ = + new java.util.ArrayList(commitTimestamps_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> commitTimestampsBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + commitTimestampsBuilder_; /** + * + * *
      * Reports the commit timestamps of all statements that have
      * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -1142,6 +1264,8 @@ public java.util.List getCommitTimestampsList() {
       }
     }
     /**
+     *
+     *
      * 
      * Reports the commit timestamps of all statements that have
      * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -1158,6 +1282,8 @@ public int getCommitTimestampsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Reports the commit timestamps of all statements that have
      * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -1174,6 +1300,8 @@ public com.google.protobuf.Timestamp getCommitTimestamps(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * Reports the commit timestamps of all statements that have
      * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -1182,8 +1310,7 @@ public com.google.protobuf.Timestamp getCommitTimestamps(int index) {
      *
      * repeated .google.protobuf.Timestamp commit_timestamps = 3;
      */
-    public Builder setCommitTimestamps(
-        int index, com.google.protobuf.Timestamp value) {
+    public Builder setCommitTimestamps(int index, com.google.protobuf.Timestamp value) {
       if (commitTimestampsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1197,6 +1324,8 @@ public Builder setCommitTimestamps(
       return this;
     }
     /**
+     *
+     *
      * 
      * Reports the commit timestamps of all statements that have
      * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -1217,6 +1346,8 @@ public Builder setCommitTimestamps(
       return this;
     }
     /**
+     *
+     *
      * 
      * Reports the commit timestamps of all statements that have
      * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -1239,6 +1370,8 @@ public Builder addCommitTimestamps(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Reports the commit timestamps of all statements that have
      * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -1247,8 +1380,7 @@ public Builder addCommitTimestamps(com.google.protobuf.Timestamp value) {
      *
      * repeated .google.protobuf.Timestamp commit_timestamps = 3;
      */
-    public Builder addCommitTimestamps(
-        int index, com.google.protobuf.Timestamp value) {
+    public Builder addCommitTimestamps(int index, com.google.protobuf.Timestamp value) {
       if (commitTimestampsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1262,6 +1394,8 @@ public Builder addCommitTimestamps(
       return this;
     }
     /**
+     *
+     *
      * 
      * Reports the commit timestamps of all statements that have
      * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -1270,8 +1404,7 @@ public Builder addCommitTimestamps(
      *
      * repeated .google.protobuf.Timestamp commit_timestamps = 3;
      */
-    public Builder addCommitTimestamps(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder addCommitTimestamps(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (commitTimestampsBuilder_ == null) {
         ensureCommitTimestampsIsMutable();
         commitTimestamps_.add(builderForValue.build());
@@ -1282,6 +1415,8 @@ public Builder addCommitTimestamps(
       return this;
     }
     /**
+     *
+     *
      * 
      * Reports the commit timestamps of all statements that have
      * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -1302,6 +1437,8 @@ public Builder addCommitTimestamps(
       return this;
     }
     /**
+     *
+     *
      * 
      * Reports the commit timestamps of all statements that have
      * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -1314,8 +1451,7 @@ public Builder addAllCommitTimestamps(
         java.lang.Iterable values) {
       if (commitTimestampsBuilder_ == null) {
         ensureCommitTimestampsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, commitTimestamps_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, commitTimestamps_);
         onChanged();
       } else {
         commitTimestampsBuilder_.addAllMessages(values);
@@ -1323,6 +1459,8 @@ public Builder addAllCommitTimestamps(
       return this;
     }
     /**
+     *
+     *
      * 
      * Reports the commit timestamps of all statements that have
      * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -1342,6 +1480,8 @@ public Builder clearCommitTimestamps() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Reports the commit timestamps of all statements that have
      * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -1361,6 +1501,8 @@ public Builder removeCommitTimestamps(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Reports the commit timestamps of all statements that have
      * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -1369,11 +1511,12 @@ public Builder removeCommitTimestamps(int index) {
      *
      * repeated .google.protobuf.Timestamp commit_timestamps = 3;
      */
-    public com.google.protobuf.Timestamp.Builder getCommitTimestampsBuilder(
-        int index) {
+    public com.google.protobuf.Timestamp.Builder getCommitTimestampsBuilder(int index) {
       return getCommitTimestampsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Reports the commit timestamps of all statements that have
      * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -1382,14 +1525,16 @@ public com.google.protobuf.Timestamp.Builder getCommitTimestampsBuilder(
      *
      * repeated .google.protobuf.Timestamp commit_timestamps = 3;
      */
-    public com.google.protobuf.TimestampOrBuilder getCommitTimestampsOrBuilder(
-        int index) {
+    public com.google.protobuf.TimestampOrBuilder getCommitTimestampsOrBuilder(int index) {
       if (commitTimestampsBuilder_ == null) {
-        return commitTimestamps_.get(index);  } else {
+        return commitTimestamps_.get(index);
+      } else {
         return commitTimestampsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Reports the commit timestamps of all statements that have
      * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -1398,8 +1543,8 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimestampsOrBuilder(
      *
      * repeated .google.protobuf.Timestamp commit_timestamps = 3;
      */
-    public java.util.List 
-         getCommitTimestampsOrBuilderList() {
+    public java.util.List
+        getCommitTimestampsOrBuilderList() {
       if (commitTimestampsBuilder_ != null) {
         return commitTimestampsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1407,6 +1552,8 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimestampsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * Reports the commit timestamps of all statements that have
      * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -1416,10 +1563,12 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimestampsOrBuilder(
      * repeated .google.protobuf.Timestamp commit_timestamps = 3;
      */
     public com.google.protobuf.Timestamp.Builder addCommitTimestampsBuilder() {
-      return getCommitTimestampsFieldBuilder().addBuilder(
-          com.google.protobuf.Timestamp.getDefaultInstance());
+      return getCommitTimestampsFieldBuilder()
+          .addBuilder(com.google.protobuf.Timestamp.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Reports the commit timestamps of all statements that have
      * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -1428,12 +1577,13 @@ public com.google.protobuf.Timestamp.Builder addCommitTimestampsBuilder() {
      *
      * repeated .google.protobuf.Timestamp commit_timestamps = 3;
      */
-    public com.google.protobuf.Timestamp.Builder addCommitTimestampsBuilder(
-        int index) {
-      return getCommitTimestampsFieldBuilder().addBuilder(
-          index, com.google.protobuf.Timestamp.getDefaultInstance());
+    public com.google.protobuf.Timestamp.Builder addCommitTimestampsBuilder(int index) {
+      return getCommitTimestampsFieldBuilder()
+          .addBuilder(index, com.google.protobuf.Timestamp.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Reports the commit timestamps of all statements that have
      * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -1442,16 +1592,21 @@ public com.google.protobuf.Timestamp.Builder addCommitTimestampsBuilder(
      *
      * repeated .google.protobuf.Timestamp commit_timestamps = 3;
      */
-    public java.util.List 
-         getCommitTimestampsBuilderList() {
+    public java.util.List getCommitTimestampsBuilderList() {
       return getCommitTimestampsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        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>
         getCommitTimestampsFieldBuilder() {
       if (commitTimestampsBuilder_ == null) {
-        commitTimestampsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+        commitTimestampsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
                 commitTimestamps_,
                 ((bitField0_ & 0x00000004) != 0),
                 getParentForChildren(),
@@ -1461,8 +1616,10 @@ public com.google.protobuf.Timestamp.Builder addCommitTimestampsBuilder(
       return commitTimestampsBuilder_;
     }
 
-    private boolean throttled_ ;
+    private boolean throttled_;
     /**
+     *
+     *
      * 
      * Output only. When true, indicates that the operation is throttled e.g
      * due to resource constraints. When resources become available the operation
@@ -1470,6 +1627,7 @@ public com.google.protobuf.Timestamp.Builder addCommitTimestampsBuilder(
      * 
* * bool throttled = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The throttled. */ @java.lang.Override @@ -1477,6 +1635,8 @@ public boolean getThrottled() { return throttled_; } /** + * + * *
      * Output only. When true, indicates that the operation is throttled e.g
      * due to resource constraints. When resources become available the operation
@@ -1484,17 +1644,20 @@ public boolean getThrottled() {
      * 
* * bool throttled = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The throttled to set. * @return This builder for chaining. */ public Builder setThrottled(boolean value) { - + throttled_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Output only. When true, indicates that the operation is throttled e.g
      * due to resource constraints. When resources become available the operation
@@ -1502,6 +1665,7 @@ public Builder setThrottled(boolean value) {
      * 
* * bool throttled = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearThrottled() { @@ -1512,18 +1676,26 @@ public Builder clearThrottled() { } private java.util.List progress_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureProgressIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { - progress_ = new java.util.ArrayList(progress_); + progress_ = + new java.util.ArrayList( + progress_); bitField0_ |= 0x00000010; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.admin.database.v1.OperationProgress, com.google.spanner.admin.database.v1.OperationProgress.Builder, com.google.spanner.admin.database.v1.OperationProgressOrBuilder> progressBuilder_; + com.google.spanner.admin.database.v1.OperationProgress, + com.google.spanner.admin.database.v1.OperationProgress.Builder, + com.google.spanner.admin.database.v1.OperationProgressOrBuilder> + progressBuilder_; /** + * + * *
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -1537,7 +1709,8 @@ private void ensureProgressIsMutable() {
      *
      * repeated .google.spanner.admin.database.v1.OperationProgress progress = 5;
      */
-    public java.util.List getProgressList() {
+    public java.util.List
+        getProgressList() {
       if (progressBuilder_ == null) {
         return java.util.Collections.unmodifiableList(progress_);
       } else {
@@ -1545,6 +1718,8 @@ public java.util.List ge
       }
     }
     /**
+     *
+     *
      * 
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -1566,6 +1741,8 @@ public int getProgressCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -1587,6 +1764,8 @@ public com.google.spanner.admin.database.v1.OperationProgress getProgress(int in
       }
     }
     /**
+     *
+     *
      * 
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -1615,6 +1794,8 @@ public Builder setProgress(
       return this;
     }
     /**
+     *
+     *
      * 
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -1640,6 +1821,8 @@ public Builder setProgress(
       return this;
     }
     /**
+     *
+     *
      * 
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -1667,6 +1850,8 @@ public Builder addProgress(com.google.spanner.admin.database.v1.OperationProgres
       return this;
     }
     /**
+     *
+     *
      * 
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -1695,6 +1880,8 @@ public Builder addProgress(
       return this;
     }
     /**
+     *
+     *
      * 
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -1720,6 +1907,8 @@ public Builder addProgress(
       return this;
     }
     /**
+     *
+     *
      * 
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -1745,6 +1934,8 @@ public Builder addProgress(
       return this;
     }
     /**
+     *
+     *
      * 
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -1759,11 +1950,11 @@ public Builder addProgress(
      * repeated .google.spanner.admin.database.v1.OperationProgress progress = 5;
      */
     public Builder addAllProgress(
-        java.lang.Iterable values) {
+        java.lang.Iterable
+            values) {
       if (progressBuilder_ == null) {
         ensureProgressIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, progress_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, progress_);
         onChanged();
       } else {
         progressBuilder_.addAllMessages(values);
@@ -1771,6 +1962,8 @@ public Builder addAllProgress(
       return this;
     }
     /**
+     *
+     *
      * 
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -1795,6 +1988,8 @@ public Builder clearProgress() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -1819,6 +2014,8 @@ public Builder removeProgress(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -1837,6 +2034,8 @@ public com.google.spanner.admin.database.v1.OperationProgress.Builder getProgres
       return getProgressFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -1853,11 +2052,14 @@ public com.google.spanner.admin.database.v1.OperationProgress.Builder getProgres
     public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgressOrBuilder(
         int index) {
       if (progressBuilder_ == null) {
-        return progress_.get(index);  } else {
+        return progress_.get(index);
+      } else {
         return progressBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -1871,8 +2073,8 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre
      *
      * repeated .google.spanner.admin.database.v1.OperationProgress progress = 5;
      */
-    public java.util.List 
-         getProgressOrBuilderList() {
+    public java.util.List
+        getProgressOrBuilderList() {
       if (progressBuilder_ != null) {
         return progressBuilder_.getMessageOrBuilderList();
       } else {
@@ -1880,6 +2082,8 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre
       }
     }
     /**
+     *
+     *
      * 
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -1894,10 +2098,12 @@ public com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgre
      * repeated .google.spanner.admin.database.v1.OperationProgress progress = 5;
      */
     public com.google.spanner.admin.database.v1.OperationProgress.Builder addProgressBuilder() {
-      return getProgressFieldBuilder().addBuilder(
-          com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance());
+      return getProgressFieldBuilder()
+          .addBuilder(com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -1913,10 +2119,13 @@ public com.google.spanner.admin.database.v1.OperationProgress.Builder addProgres
      */
     public com.google.spanner.admin.database.v1.OperationProgress.Builder addProgressBuilder(
         int index) {
-      return getProgressFieldBuilder().addBuilder(
-          index, com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance());
+      return getProgressFieldBuilder()
+          .addBuilder(
+              index, com.google.spanner.admin.database.v1.OperationProgress.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The progress of the
      * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -1930,27 +2139,30 @@ public com.google.spanner.admin.database.v1.OperationProgress.Builder addProgres
      *
      * repeated .google.spanner.admin.database.v1.OperationProgress progress = 5;
      */
-    public java.util.List 
-         getProgressBuilderList() {
+    public java.util.List
+        getProgressBuilderList() {
       return getProgressFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.spanner.admin.database.v1.OperationProgress, com.google.spanner.admin.database.v1.OperationProgress.Builder, com.google.spanner.admin.database.v1.OperationProgressOrBuilder> 
+            com.google.spanner.admin.database.v1.OperationProgress,
+            com.google.spanner.admin.database.v1.OperationProgress.Builder,
+            com.google.spanner.admin.database.v1.OperationProgressOrBuilder>
         getProgressFieldBuilder() {
       if (progressBuilder_ == null) {
-        progressBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.spanner.admin.database.v1.OperationProgress, com.google.spanner.admin.database.v1.OperationProgress.Builder, com.google.spanner.admin.database.v1.OperationProgressOrBuilder>(
-                progress_,
-                ((bitField0_ & 0x00000010) != 0),
-                getParentForChildren(),
-                isClean());
+        progressBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.spanner.admin.database.v1.OperationProgress,
+                com.google.spanner.admin.database.v1.OperationProgress.Builder,
+                com.google.spanner.admin.database.v1.OperationProgressOrBuilder>(
+                progress_, ((bitField0_ & 0x00000010) != 0), 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);
     }
 
@@ -1960,41 +2172,43 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata)
   }
 
   // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata)
-  private static final com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata DEFAULT_INSTANCE;
+  private static final com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata
+      DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata();
   }
 
-  public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata getDefaultInstance() {
+  public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata
+      getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public UpdateDatabaseDdlMetadata parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public UpdateDatabaseDdlMetadata parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2006,9 +2220,8 @@ public com.google.protobuf.Parser getParserForType()
   }
 
   @java.lang.Override
-  public com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata getDefaultInstanceForType() {
+  public com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata
+      getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlMetadataOrBuilder.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlMetadataOrBuilder.java
similarity index 86%
rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlMetadataOrBuilder.java
rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlMetadataOrBuilder.java
index c4e484e9990..0557d7314d1 100644
--- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlMetadataOrBuilder.java
+++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlMetadataOrBuilder.java
@@ -1,78 +1,111 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/admin/database/v1/spanner_database_admin.proto
 
 package com.google.spanner.admin.database.v1;
 
-public interface UpdateDatabaseDdlMetadataOrBuilder extends
+public interface UpdateDatabaseDdlMetadataOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The database being modified.
    * 
* * string database = 1 [(.google.api.resource_reference) = { ... } + * * @return The database. */ java.lang.String getDatabase(); /** + * + * *
    * The database being modified.
    * 
* * string database = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for database. */ - com.google.protobuf.ByteString - getDatabaseBytes(); + com.google.protobuf.ByteString getDatabaseBytes(); /** + * + * *
    * For an update this list contains all the statements. For an
    * individual statement, this list contains only that statement.
    * 
* * repeated string statements = 2; + * * @return A list containing the statements. */ - java.util.List - getStatementsList(); + java.util.List getStatementsList(); /** + * + * *
    * For an update this list contains all the statements. For an
    * individual statement, this list contains only that statement.
    * 
* * repeated string statements = 2; + * * @return The count of statements. */ int getStatementsCount(); /** + * + * *
    * For an update this list contains all the statements. For an
    * individual statement, this list contains only that statement.
    * 
* * repeated string statements = 2; + * * @param index The index of the element to return. * @return The statements at the given index. */ java.lang.String getStatements(int index); /** + * + * *
    * For an update this list contains all the statements. For an
    * individual statement, this list contains only that statement.
    * 
* * repeated string statements = 2; + * * @param index The index of the value to return. * @return The bytes of the statements at the given index. */ - com.google.protobuf.ByteString - getStatementsBytes(int index); + com.google.protobuf.ByteString getStatementsBytes(int index); /** + * + * *
    * Reports the commit timestamps of all statements that have
    * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -81,9 +114,10 @@ public interface UpdateDatabaseDdlMetadataOrBuilder extends
    *
    * repeated .google.protobuf.Timestamp commit_timestamps = 3;
    */
-  java.util.List 
-      getCommitTimestampsList();
+  java.util.List getCommitTimestampsList();
   /**
+   *
+   *
    * 
    * Reports the commit timestamps of all statements that have
    * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -94,6 +128,8 @@ public interface UpdateDatabaseDdlMetadataOrBuilder extends
    */
   com.google.protobuf.Timestamp getCommitTimestamps(int index);
   /**
+   *
+   *
    * 
    * Reports the commit timestamps of all statements that have
    * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -104,6 +140,8 @@ public interface UpdateDatabaseDdlMetadataOrBuilder extends
    */
   int getCommitTimestampsCount();
   /**
+   *
+   *
    * 
    * Reports the commit timestamps of all statements that have
    * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -112,9 +150,11 @@ public interface UpdateDatabaseDdlMetadataOrBuilder extends
    *
    * repeated .google.protobuf.Timestamp commit_timestamps = 3;
    */
-  java.util.List 
+  java.util.List
       getCommitTimestampsOrBuilderList();
   /**
+   *
+   *
    * 
    * Reports the commit timestamps of all statements that have
    * succeeded so far, where `commit_timestamps[i]` is the commit
@@ -123,10 +163,11 @@ public interface UpdateDatabaseDdlMetadataOrBuilder extends
    *
    * repeated .google.protobuf.Timestamp commit_timestamps = 3;
    */
-  com.google.protobuf.TimestampOrBuilder getCommitTimestampsOrBuilder(
-      int index);
+  com.google.protobuf.TimestampOrBuilder getCommitTimestampsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * Output only. When true, indicates that the operation is throttled e.g
    * due to resource constraints. When resources become available the operation
@@ -134,11 +175,14 @@ com.google.protobuf.TimestampOrBuilder getCommitTimestampsOrBuilder(
    * 
* * bool throttled = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The throttled. */ boolean getThrottled(); /** + * + * *
    * The progress of the
    * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -152,9 +196,10 @@ com.google.protobuf.TimestampOrBuilder getCommitTimestampsOrBuilder(
    *
    * repeated .google.spanner.admin.database.v1.OperationProgress progress = 5;
    */
-  java.util.List 
-      getProgressList();
+  java.util.List getProgressList();
   /**
+   *
+   *
    * 
    * The progress of the
    * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -170,6 +215,8 @@ com.google.protobuf.TimestampOrBuilder getCommitTimestampsOrBuilder(
    */
   com.google.spanner.admin.database.v1.OperationProgress getProgress(int index);
   /**
+   *
+   *
    * 
    * The progress of the
    * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -185,6 +232,8 @@ com.google.protobuf.TimestampOrBuilder getCommitTimestampsOrBuilder(
    */
   int getProgressCount();
   /**
+   *
+   *
    * 
    * The progress of the
    * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -198,9 +247,11 @@ com.google.protobuf.TimestampOrBuilder getCommitTimestampsOrBuilder(
    *
    * repeated .google.spanner.admin.database.v1.OperationProgress progress = 5;
    */
-  java.util.List 
+  java.util.List
       getProgressOrBuilderList();
   /**
+   *
+   *
    * 
    * The progress of the
    * [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations.
@@ -214,6 +265,5 @@ com.google.protobuf.TimestampOrBuilder getCommitTimestampsOrBuilder(
    *
    * repeated .google.spanner.admin.database.v1.OperationProgress progress = 5;
    */
-  com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgressOrBuilder(
-      int index);
+  com.google.spanner.admin.database.v1.OperationProgressOrBuilder getProgressOrBuilder(int index);
 }
diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlRequest.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlRequest.java
similarity index 74%
rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlRequest.java
rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlRequest.java
index 398eaebaaf6..a2c59a7b9b6 100644
--- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlRequest.java
+++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlRequest.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/admin/database/v1/spanner_database_admin.proto
 
 package com.google.spanner.admin.database.v1;
 
 /**
+ *
+ *
  * 
  * Enqueues the given DDL statements to be applied, in order but not
  * necessarily all at once, to the database schema at some point (or
@@ -24,15 +41,16 @@
  *
  * Protobuf type {@code google.spanner.admin.database.v1.UpdateDatabaseDdlRequest}
  */
-public final class UpdateDatabaseDdlRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class UpdateDatabaseDdlRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.database.v1.UpdateDatabaseDdlRequest)
     UpdateDatabaseDdlRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use UpdateDatabaseDdlRequest.newBuilder() to construct.
   private UpdateDatabaseDdlRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private UpdateDatabaseDdlRequest() {
     database_ = "";
     statements_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -41,38 +59,45 @@ private UpdateDatabaseDdlRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new UpdateDatabaseDdlRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
+        .internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlRequest_fieldAccessorTable
+    return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
+        .internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.class, com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.Builder.class);
+            com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.class,
+            com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.Builder.class);
   }
 
   public static final int DATABASE_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object database_ = "";
   /**
+   *
+   *
    * 
    * Required. The database to update.
    * 
* - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The database. */ @java.lang.Override @@ -81,29 +106,31 @@ public java.lang.String getDatabase() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; } } /** + * + * *
    * Required. The database to update.
    * 
* - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for database. */ @java.lang.Override - public com.google.protobuf.ByteString - getDatabaseBytes() { + public com.google.protobuf.ByteString getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); database_ = b; return b; } else { @@ -112,37 +139,46 @@ public java.lang.String getDatabase() { } public static final int STATEMENTS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringList statements_; /** + * + * *
    * Required. DDL statements to be applied to the database.
    * 
* * repeated string statements = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return A list containing the statements. */ - public com.google.protobuf.ProtocolStringList - getStatementsList() { + public com.google.protobuf.ProtocolStringList getStatementsList() { return statements_; } /** + * + * *
    * Required. DDL statements to be applied to the database.
    * 
* * repeated string statements = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The count of statements. */ public int getStatementsCount() { return statements_.size(); } /** + * + * *
    * Required. DDL statements to be applied to the database.
    * 
* * repeated string statements = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the element to return. * @return The statements at the given index. */ @@ -150,23 +186,28 @@ public java.lang.String getStatements(int index) { return statements_.get(index); } /** + * + * *
    * Required. DDL statements to be applied to the database.
    * 
* * repeated string statements = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the value to return. * @return The bytes of the statements at the given index. */ - public com.google.protobuf.ByteString - getStatementsBytes(int index) { + public com.google.protobuf.ByteString getStatementsBytes(int index) { return statements_.getByteString(index); } public static final int OPERATION_ID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object operationId_ = ""; /** + * + * *
    * If empty, the new update request is assigned an
    * automatically-generated operation ID. Otherwise, `operation_id`
@@ -188,6 +229,7 @@ public java.lang.String getStatements(int index) {
    * 
* * string operation_id = 3; + * * @return The operationId. */ @java.lang.Override @@ -196,14 +238,15 @@ public java.lang.String getOperationId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); operationId_ = s; return s; } } /** + * + * *
    * If empty, the new update request is assigned an
    * automatically-generated operation ID. Otherwise, `operation_id`
@@ -225,16 +268,15 @@ public java.lang.String getOperationId() {
    * 
* * string operation_id = 3; + * * @return The bytes for operationId. */ @java.lang.Override - public com.google.protobuf.ByteString - getOperationIdBytes() { + public com.google.protobuf.ByteString getOperationIdBytes() { java.lang.Object ref = operationId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); operationId_ = b; return b; } else { @@ -243,6 +285,7 @@ public java.lang.String getOperationId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -254,8 +297,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(database_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, database_); } @@ -296,19 +338,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.spanner.admin.database.v1.UpdateDatabaseDdlRequest)) { return super.equals(obj); } - com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest other = (com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest) obj; - - if (!getDatabase() - .equals(other.getDatabase())) return false; - if (!getStatementsList() - .equals(other.getStatementsList())) return false; - if (!getOperationId() - .equals(other.getOperationId())) return false; + com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest other = + (com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest) obj; + + if (!getDatabase().equals(other.getDatabase())) return false; + if (!getStatementsList().equals(other.getStatementsList())) return false; + if (!getOperationId().equals(other.getOperationId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -334,96 +374,104 @@ public int hashCode() { } public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest prototype) { + + public static Builder newBuilder( + com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Enqueues the given DDL statements to be applied, in order but not
    * necessarily all at once, to the database schema at some point (or
@@ -444,33 +492,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.spanner.admin.database.v1.UpdateDatabaseDdlRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.database.v1.UpdateDatabaseDdlRequest)
       com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
+          .internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlRequest_fieldAccessorTable
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
+          .internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.class, com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.Builder.class);
+              com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.class,
+              com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -483,13 +530,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto.internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.spanner.admin.database.v1.SpannerDatabaseAdminProto
+          .internal_static_google_spanner_admin_database_v1_UpdateDatabaseDdlRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest getDefaultInstanceForType() {
+    public com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest
+        getDefaultInstanceForType() {
       return com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.getDefaultInstance();
     }
 
@@ -504,14 +552,18 @@ public com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest build() {
 
     @java.lang.Override
     public com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest buildPartial() {
-      com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest result = new com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest(this);
+      com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest result =
+          new com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest result) {
+    private void buildPartialRepeatedFields(
+        com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest result) {
       if (((bitField0_ & 0x00000002) != 0)) {
         statements_ = statements_.getUnmodifiableView();
         bitField0_ = (bitField0_ & ~0x00000002);
@@ -519,7 +571,8 @@ private void buildPartialRepeatedFields(com.google.spanner.admin.database.v1.Upd
       result.statements_ = statements_;
     }
 
-    private void buildPartial0(com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest result) {
+    private void buildPartial0(
+        com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.database_ = database_;
@@ -533,38 +586,39 @@ private void buildPartial0(com.google.spanner.admin.database.v1.UpdateDatabaseDd
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest) {
-        return mergeFrom((com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest)other);
+        return mergeFrom((com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -572,7 +626,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest other) {
-      if (other == com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.getDefaultInstance()) return this;
+      if (other
+          == com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.getDefaultInstance())
+        return this;
       if (!other.getDatabase().isEmpty()) {
         database_ = other.database_;
         bitField0_ |= 0x00000001;
@@ -619,28 +675,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              database_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureStatementsIsMutable();
-              statements_.add(s);
-              break;
-            } // case 18
-            case 26: {
-              operationId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                database_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureStatementsIsMutable();
+                statements_.add(s);
+                break;
+              } // case 18
+            case 26:
+              {
+                operationId_ = 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) {
@@ -650,22 +710,27 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object database_ = "";
     /**
+     *
+     *
      * 
      * Required. The database to update.
      * 
* - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The database. */ public java.lang.String getDatabase() { java.lang.Object ref = database_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; @@ -674,20 +739,23 @@ public java.lang.String getDatabase() { } } /** + * + * *
      * Required. The database to update.
      * 
* - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for database. */ - public com.google.protobuf.ByteString - getDatabaseBytes() { + public com.google.protobuf.ByteString getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); database_ = b; return b; } else { @@ -695,28 +763,39 @@ public java.lang.String getDatabase() { } } /** + * + * *
      * Required. The database to update.
      * 
* - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The database to set. * @return This builder for chaining. */ - public Builder setDatabase( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDatabase(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } database_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The database to update.
      * 
* - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearDatabase() { @@ -726,17 +805,23 @@ public Builder clearDatabase() { return this; } /** + * + * *
      * Required. The database to update.
      * 
* - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for database to set. * @return This builder for chaining. */ - public Builder setDatabaseBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); database_ = value; bitField0_ |= 0x00000001; @@ -744,42 +829,52 @@ public Builder setDatabaseBytes( return this; } - private com.google.protobuf.LazyStringList statements_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList statements_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureStatementsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { statements_ = new com.google.protobuf.LazyStringArrayList(statements_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * Required. DDL statements to be applied to the database.
      * 
* * repeated string statements = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return A list containing the statements. */ - public com.google.protobuf.ProtocolStringList - getStatementsList() { + public com.google.protobuf.ProtocolStringList getStatementsList() { return statements_.getUnmodifiableView(); } /** + * + * *
      * Required. DDL statements to be applied to the database.
      * 
* * repeated string statements = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The count of statements. */ public int getStatementsCount() { return statements_.size(); } /** + * + * *
      * Required. DDL statements to be applied to the database.
      * 
* * repeated string statements = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the element to return. * @return The statements at the given index. */ @@ -787,76 +882,90 @@ public java.lang.String getStatements(int index) { return statements_.get(index); } /** + * + * *
      * Required. DDL statements to be applied to the database.
      * 
* * repeated string statements = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the value to return. * @return The bytes of the statements at the given index. */ - public com.google.protobuf.ByteString - getStatementsBytes(int index) { + public com.google.protobuf.ByteString getStatementsBytes(int index) { return statements_.getByteString(index); } /** + * + * *
      * Required. DDL statements to be applied to the database.
      * 
* * repeated string statements = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index to set the value at. * @param value The statements to set. * @return This builder for chaining. */ - public Builder setStatements( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setStatements(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureStatementsIsMutable(); statements_.set(index, value); onChanged(); return this; } /** + * + * *
      * Required. DDL statements to be applied to the database.
      * 
* * repeated string statements = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The statements to add. * @return This builder for chaining. */ - public Builder addStatements( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addStatements(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureStatementsIsMutable(); statements_.add(value); onChanged(); return this; } /** + * + * *
      * Required. DDL statements to be applied to the database.
      * 
* * repeated string statements = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param values The statements to add. * @return This builder for chaining. */ - public Builder addAllStatements( - java.lang.Iterable values) { + public Builder addAllStatements(java.lang.Iterable values) { ensureStatementsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, statements_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, statements_); onChanged(); return this; } /** + * + * *
      * Required. DDL statements to be applied to the database.
      * 
* * repeated string statements = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearStatements() { @@ -866,17 +975,21 @@ public Builder clearStatements() { return this; } /** + * + * *
      * Required. DDL statements to be applied to the database.
      * 
* * repeated string statements = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes of the statements to add. * @return This builder for chaining. */ - public Builder addStatementsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addStatementsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureStatementsIsMutable(); statements_.add(value); @@ -886,6 +999,8 @@ public Builder addStatementsBytes( private java.lang.Object operationId_ = ""; /** + * + * *
      * If empty, the new update request is assigned an
      * automatically-generated operation ID. Otherwise, `operation_id`
@@ -907,13 +1022,13 @@ public Builder addStatementsBytes(
      * 
* * string operation_id = 3; + * * @return The operationId. */ public java.lang.String getOperationId() { java.lang.Object ref = operationId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); operationId_ = s; return s; @@ -922,6 +1037,8 @@ public java.lang.String getOperationId() { } } /** + * + * *
      * If empty, the new update request is assigned an
      * automatically-generated operation ID. Otherwise, `operation_id`
@@ -943,15 +1060,14 @@ public java.lang.String getOperationId() {
      * 
* * string operation_id = 3; + * * @return The bytes for operationId. */ - public com.google.protobuf.ByteString - getOperationIdBytes() { + public com.google.protobuf.ByteString getOperationIdBytes() { java.lang.Object ref = operationId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); operationId_ = b; return b; } else { @@ -959,6 +1075,8 @@ public java.lang.String getOperationId() { } } /** + * + * *
      * If empty, the new update request is assigned an
      * automatically-generated operation ID. Otherwise, `operation_id`
@@ -980,18 +1098,22 @@ public java.lang.String getOperationId() {
      * 
* * string operation_id = 3; + * * @param value The operationId to set. * @return This builder for chaining. */ - public Builder setOperationId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOperationId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } operationId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * If empty, the new update request is assigned an
      * automatically-generated operation ID. Otherwise, `operation_id`
@@ -1013,6 +1135,7 @@ public Builder setOperationId(
      * 
* * string operation_id = 3; + * * @return This builder for chaining. */ public Builder clearOperationId() { @@ -1022,6 +1145,8 @@ public Builder clearOperationId() { return this; } /** + * + * *
      * If empty, the new update request is assigned an
      * automatically-generated operation ID. Otherwise, `operation_id`
@@ -1043,21 +1168,23 @@ public Builder clearOperationId() {
      * 
* * string operation_id = 3; + * * @param value The bytes for operationId to set. * @return This builder for chaining. */ - public Builder setOperationIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOperationIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); operationId_ = 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); } @@ -1067,12 +1194,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.admin.database.v1.UpdateDatabaseDdlRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.database.v1.UpdateDatabaseDdlRequest) - private static final com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest DEFAULT_INSTANCE; + private static final com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest(); } @@ -1081,27 +1209,27 @@ public static com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateDatabaseDdlRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateDatabaseDdlRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1116,6 +1244,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlRequestOrBuilder.java b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlRequestOrBuilder.java similarity index 77% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlRequestOrBuilder.java rename to proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlRequestOrBuilder.java index 3ff8b82a0ae..cad7c3a28a2 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlRequestOrBuilder.java +++ b/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlRequestOrBuilder.java @@ -1,74 +1,111 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/database/v1/spanner_database_admin.proto package com.google.spanner.admin.database.v1; -public interface UpdateDatabaseDdlRequestOrBuilder extends +public interface UpdateDatabaseDdlRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.database.v1.UpdateDatabaseDdlRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The database to update.
    * 
* - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The database. */ java.lang.String getDatabase(); /** + * + * *
    * Required. The database to update.
    * 
* - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for database. */ - com.google.protobuf.ByteString - getDatabaseBytes(); + com.google.protobuf.ByteString getDatabaseBytes(); /** + * + * *
    * Required. DDL statements to be applied to the database.
    * 
* * repeated string statements = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return A list containing the statements. */ - java.util.List - getStatementsList(); + java.util.List getStatementsList(); /** + * + * *
    * Required. DDL statements to be applied to the database.
    * 
* * repeated string statements = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The count of statements. */ int getStatementsCount(); /** + * + * *
    * Required. DDL statements to be applied to the database.
    * 
* * repeated string statements = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the element to return. * @return The statements at the given index. */ java.lang.String getStatements(int index); /** + * + * *
    * Required. DDL statements to be applied to the database.
    * 
* * repeated string statements = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the value to return. * @return The bytes of the statements at the given index. */ - com.google.protobuf.ByteString - getStatementsBytes(int index); + com.google.protobuf.ByteString getStatementsBytes(int index); /** + * + * *
    * If empty, the new update request is assigned an
    * automatically-generated operation ID. Otherwise, `operation_id`
@@ -90,10 +127,13 @@ public interface UpdateDatabaseDdlRequestOrBuilder extends
    * 
* * string operation_id = 3; + * * @return The operationId. */ java.lang.String getOperationId(); /** + * + * *
    * If empty, the new update request is assigned an
    * automatically-generated operation ID. Otherwise, `operation_id`
@@ -115,8 +155,8 @@ public interface UpdateDatabaseDdlRequestOrBuilder extends
    * 
* * string operation_id = 3; + * * @return The bytes for operationId. */ - com.google.protobuf.ByteString - getOperationIdBytes(); + com.google.protobuf.ByteString getOperationIdBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/proto/google/spanner/admin/database/v1/backup.proto b/proto-google-cloud-spanner-admin-database-v1/src/main/proto/google/spanner/admin/database/v1/backup.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/proto/google/spanner/admin/database/v1/backup.proto rename to proto-google-cloud-spanner-admin-database-v1/src/main/proto/google/spanner/admin/database/v1/backup.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/proto/google/spanner/admin/database/v1/common.proto b/proto-google-cloud-spanner-admin-database-v1/src/main/proto/google/spanner/admin/database/v1/common.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/proto/google/spanner/admin/database/v1/common.proto rename to proto-google-cloud-spanner-admin-database-v1/src/main/proto/google/spanner/admin/database/v1/common.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/proto/google/spanner/admin/database/v1/spanner_database_admin.proto b/proto-google-cloud-spanner-admin-database-v1/src/main/proto/google/spanner/admin/database/v1/spanner_database_admin.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-database-v1/src/main/proto/google/spanner/admin/database/v1/spanner_database_admin.proto rename to proto-google-cloud-spanner-admin-database-v1/src/main/proto/google/spanner/admin/database/v1/spanner_database_admin.proto diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CommonProto.java b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CommonProto.java new file mode 100644 index 00000000000..a608a7917fb --- /dev/null +++ b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CommonProto.java @@ -0,0 +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/spanner/admin/instance/v1/common.proto + +package com.google.spanner.admin.instance.v1; + +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_spanner_admin_instance_v1_OperationProgress_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_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/spanner/admin/instance/v1/commo" + + "n.proto\022 google.spanner.admin.instance.v" + + "1\032\037google/protobuf/timestamp.proto\"\213\001\n\021O" + + "perationProgress\022\030\n\020progress_percent\030\001 \001" + + "(\005\022.\n\nstart_time\030\002 \001(\0132\032.google.protobuf" + + ".Timestamp\022,\n\010end_time\030\003 \001(\0132\032.google.pr" + + "otobuf.TimestampB\375\001\n$com.google.spanner." + + "admin.instance.v1B\013CommonProtoP\001ZFcloud." + + "google.com/go/spanner/admin/instance/api" + + "v1/instancepb;instancepb\252\002&Google.Cloud." + + "Spanner.Admin.Instance.V1\312\002&Google\\Cloud" + + "\\Spanner\\Admin\\Instance\\V1\352\002+Google::Clo" + + "ud::Spanner::Admin::Instance::V1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_spanner_admin_instance_v1_OperationProgress_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_spanner_admin_instance_v1_OperationProgress_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_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/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigMetadata.java b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigMetadata.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigMetadata.java rename to proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigMetadata.java index 5b7634912be..ddb0edf39fc 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigMetadata.java +++ b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigMetadata.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto package com.google.spanner.admin.instance.v1; /** + * + * *
  * Metadata type for the operation returned by
  * [CreateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig].
@@ -11,51 +28,55 @@
  *
  * Protobuf type {@code google.spanner.admin.instance.v1.CreateInstanceConfigMetadata}
  */
-public final class CreateInstanceConfigMetadata extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CreateInstanceConfigMetadata extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.instance.v1.CreateInstanceConfigMetadata)
     CreateInstanceConfigMetadataOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CreateInstanceConfigMetadata.newBuilder() to construct.
   private CreateInstanceConfigMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private CreateInstanceConfigMetadata() {
-  }
+
+  private CreateInstanceConfigMetadata() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CreateInstanceConfigMetadata();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigMetadata_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+        .internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigMetadata_fieldAccessorTable
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+        .internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata.class, com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata.Builder.class);
+            com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata.class,
+            com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata.Builder.class);
   }
 
   public static final int INSTANCE_CONFIG_FIELD_NUMBER = 1;
   private com.google.spanner.admin.instance.v1.InstanceConfig instanceConfig_;
   /**
+   *
+   *
    * 
    * The target instance config end state.
    * 
* * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1; + * * @return Whether the instanceConfig field is set. */ @java.lang.Override @@ -63,18 +84,25 @@ public boolean hasInstanceConfig() { return instanceConfig_ != null; } /** + * + * *
    * The target instance config end state.
    * 
* * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1; + * * @return The instanceConfig. */ @java.lang.Override public com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfig() { - return instanceConfig_ == null ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() : instanceConfig_; + return instanceConfig_ == null + ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() + : instanceConfig_; } /** + * + * *
    * The target instance config end state.
    * 
@@ -83,12 +111,16 @@ public com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfig() { */ @java.lang.Override public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceConfigOrBuilder() { - return instanceConfig_ == null ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() : instanceConfig_; + return instanceConfig_ == null + ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() + : instanceConfig_; } public static final int PROGRESS_FIELD_NUMBER = 2; private com.google.spanner.admin.instance.v1.OperationProgress progress_; /** + * + * *
    * The progress of the
    * [CreateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig]
@@ -96,6 +128,7 @@ public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceC
    * 
* * .google.spanner.admin.instance.v1.OperationProgress progress = 2; + * * @return Whether the progress field is set. */ @java.lang.Override @@ -103,6 +136,8 @@ public boolean hasProgress() { return progress_ != null; } /** + * + * *
    * The progress of the
    * [CreateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig]
@@ -110,13 +145,18 @@ public boolean hasProgress() {
    * 
* * .google.spanner.admin.instance.v1.OperationProgress progress = 2; + * * @return The progress. */ @java.lang.Override public com.google.spanner.admin.instance.v1.OperationProgress getProgress() { - return progress_ == null ? com.google.spanner.admin.instance.v1.OperationProgress.getDefaultInstance() : progress_; + return progress_ == null + ? com.google.spanner.admin.instance.v1.OperationProgress.getDefaultInstance() + : progress_; } /** + * + * *
    * The progress of the
    * [CreateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig]
@@ -127,17 +167,22 @@ public com.google.spanner.admin.instance.v1.OperationProgress getProgress() {
    */
   @java.lang.Override
   public com.google.spanner.admin.instance.v1.OperationProgressOrBuilder getProgressOrBuilder() {
-    return progress_ == null ? com.google.spanner.admin.instance.v1.OperationProgress.getDefaultInstance() : progress_;
+    return progress_ == null
+        ? com.google.spanner.admin.instance.v1.OperationProgress.getDefaultInstance()
+        : progress_;
   }
 
   public static final int CANCEL_TIME_FIELD_NUMBER = 3;
   private com.google.protobuf.Timestamp cancelTime_;
   /**
+   *
+   *
    * 
    * The time at which this operation was cancelled.
    * 
* * .google.protobuf.Timestamp cancel_time = 3; + * * @return Whether the cancelTime field is set. */ @java.lang.Override @@ -145,11 +190,14 @@ public boolean hasCancelTime() { return cancelTime_ != null; } /** + * + * *
    * The time at which this operation was cancelled.
    * 
* * .google.protobuf.Timestamp cancel_time = 3; + * * @return The cancelTime. */ @java.lang.Override @@ -157,6 +205,8 @@ public com.google.protobuf.Timestamp getCancelTime() { return cancelTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : cancelTime_; } /** + * + * *
    * The time at which this operation was cancelled.
    * 
@@ -169,6 +219,7 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -180,8 +231,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 (instanceConfig_ != null) { output.writeMessage(1, getInstanceConfig()); } @@ -201,16 +251,13 @@ public int getSerializedSize() { size = 0; if (instanceConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getInstanceConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getInstanceConfig()); } if (progress_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getProgress()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getProgress()); } if (cancelTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getCancelTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCancelTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -220,27 +267,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.spanner.admin.instance.v1.CreateInstanceConfigMetadata)) { return super.equals(obj); } - com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata other = (com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata) obj; + com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata other = + (com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata) obj; if (hasInstanceConfig() != other.hasInstanceConfig()) return false; if (hasInstanceConfig()) { - if (!getInstanceConfig() - .equals(other.getInstanceConfig())) return false; + if (!getInstanceConfig().equals(other.getInstanceConfig())) 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 (hasCancelTime() != other.hasCancelTime()) return false; if (hasCancelTime()) { - if (!getCancelTime() - .equals(other.getCancelTime())) return false; + if (!getCancelTime().equals(other.getCancelTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -271,96 +316,105 @@ public int hashCode() { } public static com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata 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.spanner.admin.instance.v1.CreateInstanceConfigMetadata + 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.spanner.admin.instance.v1.CreateInstanceConfigMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata prototype) { + + public static Builder newBuilder( + com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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
    * [CreateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig].
@@ -368,33 +422,33 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.spanner.admin.instance.v1.CreateInstanceConfigMetadata}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.instance.v1.CreateInstanceConfigMetadata)
       com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+          .internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigMetadata_fieldAccessorTable
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+          .internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata.class, com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata.Builder.class);
+              com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata.class,
+              com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata.Builder.class);
     }
 
-    // Construct using com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata.newBuilder()
-    private Builder() {
+    // Construct using
+    // com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata.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();
@@ -418,13 +472,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+          .internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigMetadata_descriptor;
     }
 
     @java.lang.Override
-    public com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata getDefaultInstanceForType() {
+    public com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata
+        getDefaultInstanceForType() {
       return com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata.getDefaultInstance();
     }
 
@@ -439,28 +494,27 @@ public com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata build()
 
     @java.lang.Override
     public com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata buildPartial() {
-      com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata result = new com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata result =
+          new com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata result) {
+    private void buildPartial0(
+        com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.instanceConfig_ = instanceConfigBuilder_ == null
-            ? instanceConfig_
-            : instanceConfigBuilder_.build();
+        result.instanceConfig_ =
+            instanceConfigBuilder_ == null ? instanceConfig_ : instanceConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.progress_ = progressBuilder_ == null
-            ? progress_
-            : progressBuilder_.build();
+        result.progress_ = progressBuilder_ == null ? progress_ : progressBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.cancelTime_ = cancelTimeBuilder_ == null
-            ? cancelTime_
-            : cancelTimeBuilder_.build();
+        result.cancelTime_ = cancelTimeBuilder_ == null ? cancelTime_ : cancelTimeBuilder_.build();
       }
     }
 
@@ -468,46 +522,50 @@ private void buildPartial0(com.google.spanner.admin.instance.v1.CreateInstanceCo
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata) {
-        return mergeFrom((com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata)other);
+        return mergeFrom((com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata other) {
-      if (other == com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata other) {
+      if (other
+          == com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata.getDefaultInstance())
+        return this;
       if (other.hasInstanceConfig()) {
         mergeInstanceConfig(other.getInstanceConfig());
       }
@@ -543,33 +601,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getInstanceConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getProgressFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getCancelTimeFieldBuilder().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(getInstanceConfigFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getProgressFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getCancelTimeFieldBuilder().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) {
@@ -579,38 +635,52 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.spanner.admin.instance.v1.InstanceConfig instanceConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.spanner.admin.instance.v1.InstanceConfig, com.google.spanner.admin.instance.v1.InstanceConfig.Builder, com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder> instanceConfigBuilder_;
+            com.google.spanner.admin.instance.v1.InstanceConfig,
+            com.google.spanner.admin.instance.v1.InstanceConfig.Builder,
+            com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder>
+        instanceConfigBuilder_;
     /**
+     *
+     *
      * 
      * The target instance config end state.
      * 
* * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1; + * * @return Whether the instanceConfig field is set. */ public boolean hasInstanceConfig() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The target instance config end state.
      * 
* * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1; + * * @return The instanceConfig. */ public com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfig() { if (instanceConfigBuilder_ == null) { - return instanceConfig_ == null ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() : instanceConfig_; + return instanceConfig_ == null + ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() + : instanceConfig_; } else { return instanceConfigBuilder_.getMessage(); } } /** + * + * *
      * The target instance config end state.
      * 
@@ -631,6 +701,8 @@ public Builder setInstanceConfig(com.google.spanner.admin.instance.v1.InstanceCo return this; } /** + * + * *
      * The target instance config end state.
      * 
@@ -649,6 +721,8 @@ public Builder setInstanceConfig( return this; } /** + * + * *
      * The target instance config end state.
      * 
@@ -657,9 +731,10 @@ public Builder setInstanceConfig( */ public Builder mergeInstanceConfig(com.google.spanner.admin.instance.v1.InstanceConfig value) { if (instanceConfigBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - instanceConfig_ != null && - instanceConfig_ != com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && instanceConfig_ != null + && instanceConfig_ + != com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance()) { getInstanceConfigBuilder().mergeFrom(value); } else { instanceConfig_ = value; @@ -672,6 +747,8 @@ public Builder mergeInstanceConfig(com.google.spanner.admin.instance.v1.Instance return this; } /** + * + * *
      * The target instance config end state.
      * 
@@ -689,6 +766,8 @@ public Builder clearInstanceConfig() { return this; } /** + * + * *
      * The target instance config end state.
      * 
@@ -701,21 +780,27 @@ public com.google.spanner.admin.instance.v1.InstanceConfig.Builder getInstanceCo return getInstanceConfigFieldBuilder().getBuilder(); } /** + * + * *
      * The target instance config end state.
      * 
* * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1; */ - public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceConfigOrBuilder() { + public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder + getInstanceConfigOrBuilder() { if (instanceConfigBuilder_ != null) { return instanceConfigBuilder_.getMessageOrBuilder(); } else { - return instanceConfig_ == null ? - com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() : instanceConfig_; + return instanceConfig_ == null + ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() + : instanceConfig_; } } /** + * + * *
      * The target instance config end state.
      * 
@@ -723,14 +808,17 @@ public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceC * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.InstanceConfig, com.google.spanner.admin.instance.v1.InstanceConfig.Builder, com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder> + com.google.spanner.admin.instance.v1.InstanceConfig, + com.google.spanner.admin.instance.v1.InstanceConfig.Builder, + com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder> getInstanceConfigFieldBuilder() { if (instanceConfigBuilder_ == null) { - instanceConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.InstanceConfig, com.google.spanner.admin.instance.v1.InstanceConfig.Builder, com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder>( - getInstanceConfig(), - getParentForChildren(), - isClean()); + instanceConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.admin.instance.v1.InstanceConfig, + com.google.spanner.admin.instance.v1.InstanceConfig.Builder, + com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder>( + getInstanceConfig(), getParentForChildren(), isClean()); instanceConfig_ = null; } return instanceConfigBuilder_; @@ -738,8 +826,13 @@ public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceC private com.google.spanner.admin.instance.v1.OperationProgress progress_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.OperationProgress, com.google.spanner.admin.instance.v1.OperationProgress.Builder, com.google.spanner.admin.instance.v1.OperationProgressOrBuilder> progressBuilder_; + com.google.spanner.admin.instance.v1.OperationProgress, + com.google.spanner.admin.instance.v1.OperationProgress.Builder, + com.google.spanner.admin.instance.v1.OperationProgressOrBuilder> + progressBuilder_; /** + * + * *
      * The progress of the
      * [CreateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig]
@@ -747,12 +840,15 @@ public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceC
      * 
* * .google.spanner.admin.instance.v1.OperationProgress progress = 2; + * * @return Whether the progress field is set. */ public boolean hasProgress() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The progress of the
      * [CreateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig]
@@ -760,16 +856,21 @@ public boolean hasProgress() {
      * 
* * .google.spanner.admin.instance.v1.OperationProgress progress = 2; + * * @return The progress. */ public com.google.spanner.admin.instance.v1.OperationProgress getProgress() { if (progressBuilder_ == null) { - return progress_ == null ? com.google.spanner.admin.instance.v1.OperationProgress.getDefaultInstance() : progress_; + return progress_ == null + ? com.google.spanner.admin.instance.v1.OperationProgress.getDefaultInstance() + : progress_; } else { return progressBuilder_.getMessage(); } } /** + * + * *
      * The progress of the
      * [CreateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig]
@@ -792,6 +893,8 @@ public Builder setProgress(com.google.spanner.admin.instance.v1.OperationProgres
       return this;
     }
     /**
+     *
+     *
      * 
      * The progress of the
      * [CreateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig]
@@ -812,6 +915,8 @@ public Builder setProgress(
       return this;
     }
     /**
+     *
+     *
      * 
      * The progress of the
      * [CreateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig]
@@ -822,9 +927,10 @@ public Builder setProgress(
      */
     public Builder mergeProgress(com.google.spanner.admin.instance.v1.OperationProgress value) {
       if (progressBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0) &&
-          progress_ != null &&
-          progress_ != com.google.spanner.admin.instance.v1.OperationProgress.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0)
+            && progress_ != null
+            && progress_
+                != com.google.spanner.admin.instance.v1.OperationProgress.getDefaultInstance()) {
           getProgressBuilder().mergeFrom(value);
         } else {
           progress_ = value;
@@ -837,6 +943,8 @@ public Builder mergeProgress(com.google.spanner.admin.instance.v1.OperationProgr
       return this;
     }
     /**
+     *
+     *
      * 
      * The progress of the
      * [CreateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig]
@@ -856,6 +964,8 @@ public Builder clearProgress() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The progress of the
      * [CreateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig]
@@ -870,6 +980,8 @@ public com.google.spanner.admin.instance.v1.OperationProgress.Builder getProgres
       return getProgressFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The progress of the
      * [CreateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig]
@@ -882,11 +994,14 @@ public com.google.spanner.admin.instance.v1.OperationProgressOrBuilder getProgre
       if (progressBuilder_ != null) {
         return progressBuilder_.getMessageOrBuilder();
       } else {
-        return progress_ == null ?
-            com.google.spanner.admin.instance.v1.OperationProgress.getDefaultInstance() : progress_;
+        return progress_ == null
+            ? com.google.spanner.admin.instance.v1.OperationProgress.getDefaultInstance()
+            : progress_;
       }
     }
     /**
+     *
+     *
      * 
      * The progress of the
      * [CreateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig]
@@ -896,14 +1011,17 @@ public com.google.spanner.admin.instance.v1.OperationProgressOrBuilder getProgre
      * .google.spanner.admin.instance.v1.OperationProgress progress = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.spanner.admin.instance.v1.OperationProgress, com.google.spanner.admin.instance.v1.OperationProgress.Builder, com.google.spanner.admin.instance.v1.OperationProgressOrBuilder> 
+            com.google.spanner.admin.instance.v1.OperationProgress,
+            com.google.spanner.admin.instance.v1.OperationProgress.Builder,
+            com.google.spanner.admin.instance.v1.OperationProgressOrBuilder>
         getProgressFieldBuilder() {
       if (progressBuilder_ == null) {
-        progressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.admin.instance.v1.OperationProgress, com.google.spanner.admin.instance.v1.OperationProgress.Builder, com.google.spanner.admin.instance.v1.OperationProgressOrBuilder>(
-                getProgress(),
-                getParentForChildren(),
-                isClean());
+        progressBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.spanner.admin.instance.v1.OperationProgress,
+                com.google.spanner.admin.instance.v1.OperationProgress.Builder,
+                com.google.spanner.admin.instance.v1.OperationProgressOrBuilder>(
+                getProgress(), getParentForChildren(), isClean());
         progress_ = null;
       }
       return progressBuilder_;
@@ -911,34 +1029,47 @@ public com.google.spanner.admin.instance.v1.OperationProgressOrBuilder getProgre
 
     private com.google.protobuf.Timestamp cancelTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> cancelTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        cancelTimeBuilder_;
     /**
+     *
+     *
      * 
      * The time at which this operation was cancelled.
      * 
* * .google.protobuf.Timestamp cancel_time = 3; + * * @return Whether the cancelTime field is set. */ public boolean hasCancelTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * The time at which this operation was cancelled.
      * 
* * .google.protobuf.Timestamp cancel_time = 3; + * * @return The cancelTime. */ public com.google.protobuf.Timestamp getCancelTime() { if (cancelTimeBuilder_ == null) { - return cancelTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : cancelTime_; + return cancelTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : cancelTime_; } else { return cancelTimeBuilder_.getMessage(); } } /** + * + * *
      * The time at which this operation was cancelled.
      * 
@@ -959,14 +1090,15 @@ public Builder setCancelTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time at which this operation was cancelled.
      * 
* * .google.protobuf.Timestamp cancel_time = 3; */ - public Builder setCancelTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCancelTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (cancelTimeBuilder_ == null) { cancelTime_ = builderForValue.build(); } else { @@ -977,6 +1109,8 @@ public Builder setCancelTime( return this; } /** + * + * *
      * The time at which this operation was cancelled.
      * 
@@ -985,9 +1119,9 @@ public Builder setCancelTime( */ public Builder mergeCancelTime(com.google.protobuf.Timestamp value) { if (cancelTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - cancelTime_ != null && - cancelTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && cancelTime_ != null + && cancelTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCancelTimeBuilder().mergeFrom(value); } else { cancelTime_ = value; @@ -1000,6 +1134,8 @@ public Builder mergeCancelTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time at which this operation was cancelled.
      * 
@@ -1017,6 +1153,8 @@ public Builder clearCancelTime() { return this; } /** + * + * *
      * The time at which this operation was cancelled.
      * 
@@ -1029,6 +1167,8 @@ public com.google.protobuf.Timestamp.Builder getCancelTimeBuilder() { return getCancelTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time at which this operation was cancelled.
      * 
@@ -1039,11 +1179,14 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() { if (cancelTimeBuilder_ != null) { return cancelTimeBuilder_.getMessageOrBuilder(); } else { - return cancelTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : cancelTime_; + return cancelTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : cancelTime_; } } /** + * + * *
      * The time at which this operation was cancelled.
      * 
@@ -1051,21 +1194,24 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() { * .google.protobuf.Timestamp cancel_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> getCancelTimeFieldBuilder() { if (cancelTimeBuilder_ == null) { - cancelTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCancelTime(), - getParentForChildren(), - isClean()); + cancelTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCancelTime(), getParentForChildren(), isClean()); cancelTime_ = null; } return cancelTimeBuilder_; } + @java.lang.Override - 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,41 +1221,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.CreateInstanceConfigMetadata) } // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.CreateInstanceConfigMetadata) - private static final com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata DEFAULT_INSTANCE; + private static final com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata(); } - public static com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata getDefaultInstance() { + public static com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateInstanceConfigMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateInstanceConfigMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1121,9 +1269,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata getDefaultInstanceForType() { + public com.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigMetadataOrBuilder.java b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigMetadataOrBuilder.java similarity index 78% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigMetadataOrBuilder.java rename to proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigMetadataOrBuilder.java index 6581156a95e..6f80b73da11 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigMetadataOrBuilder.java +++ b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigMetadataOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto package com.google.spanner.admin.instance.v1; -public interface CreateInstanceConfigMetadataOrBuilder extends +public interface CreateInstanceConfigMetadataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.CreateInstanceConfigMetadata) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The target instance config end state.
    * 
* * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1; + * * @return Whether the instanceConfig field is set. */ boolean hasInstanceConfig(); /** + * + * *
    * The target instance config end state.
    * 
* * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1; + * * @return The instanceConfig. */ com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfig(); /** + * + * *
    * The target instance config end state.
    * 
@@ -35,6 +59,8 @@ public interface CreateInstanceConfigMetadataOrBuilder extends com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceConfigOrBuilder(); /** + * + * *
    * The progress of the
    * [CreateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig]
@@ -42,10 +68,13 @@ public interface CreateInstanceConfigMetadataOrBuilder extends
    * 
* * .google.spanner.admin.instance.v1.OperationProgress progress = 2; + * * @return Whether the progress field is set. */ boolean hasProgress(); /** + * + * *
    * The progress of the
    * [CreateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig]
@@ -53,10 +82,13 @@ public interface CreateInstanceConfigMetadataOrBuilder extends
    * 
* * .google.spanner.admin.instance.v1.OperationProgress progress = 2; + * * @return The progress. */ com.google.spanner.admin.instance.v1.OperationProgress getProgress(); /** + * + * *
    * The progress of the
    * [CreateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig]
@@ -68,24 +100,32 @@ public interface CreateInstanceConfigMetadataOrBuilder extends
   com.google.spanner.admin.instance.v1.OperationProgressOrBuilder getProgressOrBuilder();
 
   /**
+   *
+   *
    * 
    * The time at which this operation was cancelled.
    * 
* * .google.protobuf.Timestamp cancel_time = 3; + * * @return Whether the cancelTime field is set. */ boolean hasCancelTime(); /** + * + * *
    * The time at which this operation was cancelled.
    * 
* * .google.protobuf.Timestamp cancel_time = 3; + * * @return The cancelTime. */ com.google.protobuf.Timestamp getCancelTime(); /** + * + * *
    * The time at which this operation was cancelled.
    * 
diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigRequest.java b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigRequest.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigRequest.java rename to proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigRequest.java index d25bf432851..0d9bd2336fb 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigRequest.java +++ b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto package com.google.spanner.admin.instance.v1; /** + * + * *
  * The request for
  * [CreateInstanceConfigRequest][InstanceAdmin.CreateInstanceConfigRequest].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.spanner.admin.instance.v1.CreateInstanceConfigRequest}
  */
-public final class CreateInstanceConfigRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CreateInstanceConfigRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.instance.v1.CreateInstanceConfigRequest)
     CreateInstanceConfigRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CreateInstanceConfigRequest.newBuilder() to construct.
   private CreateInstanceConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private CreateInstanceConfigRequest() {
     parent_ = "";
     instanceConfigId_ = "";
@@ -27,39 +45,46 @@ private CreateInstanceConfigRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CreateInstanceConfigRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+        .internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigRequest_fieldAccessorTable
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+        .internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest.class, com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest.Builder.class);
+            com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest.class,
+            com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
+   *
+   *
    * 
    * Required. The name of the project in which to create the instance config.
    * 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 @@ -68,30 +93,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 name of the project in which to create the instance config.
    * Values are of the form `projects/<project>`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -100,9 +127,12 @@ public java.lang.String getParent() { } public static final int INSTANCE_CONFIG_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object instanceConfigId_ = ""; /** + * + * *
    * Required. The ID of the instance config to create.  Valid identifiers are
    * of the form `custom-[-a-z0-9]*[a-z0-9]` and must be between 2 and 64
@@ -111,6 +141,7 @@ public java.lang.String getParent() {
    * 
* * string instance_config_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The instanceConfigId. */ @java.lang.Override @@ -119,14 +150,15 @@ public java.lang.String getInstanceConfigId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceConfigId_ = s; return s; } } /** + * + * *
    * Required. The ID of the instance config to create.  Valid identifiers are
    * of the form `custom-[-a-z0-9]*[a-z0-9]` and must be between 2 and 64
@@ -135,16 +167,15 @@ public java.lang.String getInstanceConfigId() {
    * 
* * string instance_config_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for instanceConfigId. */ @java.lang.Override - public com.google.protobuf.ByteString - getInstanceConfigIdBytes() { + public com.google.protobuf.ByteString getInstanceConfigIdBytes() { java.lang.Object ref = instanceConfigId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); instanceConfigId_ = b; return b; } else { @@ -155,6 +186,8 @@ public java.lang.String getInstanceConfigId() { public static final int INSTANCE_CONFIG_FIELD_NUMBER = 3; private com.google.spanner.admin.instance.v1.InstanceConfig instanceConfig_; /** + * + * *
    * Required. The InstanceConfig proto of the configuration to create.
    * instance_config.name must be
@@ -163,7 +196,10 @@ public java.lang.String getInstanceConfigId() {
    * e.g. <parent>/instanceConfigs/us-east1, <parent>/instanceConfigs/nam3.
    * 
* - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the instanceConfig field is set. */ @java.lang.Override @@ -171,6 +207,8 @@ public boolean hasInstanceConfig() { return instanceConfig_ != null; } /** + * + * *
    * Required. The InstanceConfig proto of the configuration to create.
    * instance_config.name must be
@@ -179,14 +217,21 @@ public boolean hasInstanceConfig() {
    * e.g. <parent>/instanceConfigs/us-east1, <parent>/instanceConfigs/nam3.
    * 
* - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instanceConfig. */ @java.lang.Override public com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfig() { - return instanceConfig_ == null ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() : instanceConfig_; + return instanceConfig_ == null + ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() + : instanceConfig_; } /** + * + * *
    * Required. The InstanceConfig proto of the configuration to create.
    * instance_config.name must be
@@ -195,22 +240,29 @@ public com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfig() {
    * e.g. <parent>/instanceConfigs/us-east1, <parent>/instanceConfigs/nam3.
    * 
* - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceConfigOrBuilder() { - return instanceConfig_ == null ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() : instanceConfig_; + return instanceConfig_ == null + ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() + : instanceConfig_; } public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** + * + * *
    * An option to validate, but not actually execute, a request,
    * and provide the same response.
    * 
* * bool validate_only = 4; + * * @return The validateOnly. */ @java.lang.Override @@ -219,6 +271,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -230,8 +283,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -260,12 +312,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, instanceConfigId_); } if (instanceConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getInstanceConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getInstanceConfig()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -275,24 +325,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.spanner.admin.instance.v1.CreateInstanceConfigRequest)) { return super.equals(obj); } - com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest other = (com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest) obj; + com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest other = + (com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getInstanceConfigId() - .equals(other.getInstanceConfigId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getInstanceConfigId().equals(other.getInstanceConfigId())) return false; if (hasInstanceConfig() != other.hasInstanceConfig()) return false; if (hasInstanceConfig()) { - if (!getInstanceConfig() - .equals(other.getInstanceConfig())) return false; + if (!getInstanceConfig().equals(other.getInstanceConfig())) return false; } - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -313,104 +360,111 @@ public int hashCode() { hash = (53 * hash) + getInstanceConfig().hashCode(); } hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest prototype) { + + public static Builder newBuilder( + com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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
    * [CreateInstanceConfigRequest][InstanceAdmin.CreateInstanceConfigRequest].
@@ -418,33 +472,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.spanner.admin.instance.v1.CreateInstanceConfigRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.instance.v1.CreateInstanceConfigRequest)
       com.google.spanner.admin.instance.v1.CreateInstanceConfigRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+          .internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigRequest_fieldAccessorTable
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+          .internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest.class, com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest.Builder.class);
+              com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest.class,
+              com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -461,13 +514,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+          .internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest getDefaultInstanceForType() {
+    public com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest
+        getDefaultInstanceForType() {
       return com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest.getDefaultInstance();
     }
 
@@ -482,13 +536,17 @@ public com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest build()
 
     @java.lang.Override
     public com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest buildPartial() {
-      com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest result = new com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest result =
+          new com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest result) {
+    private void buildPartial0(
+        com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.parent_ = parent_;
@@ -497,9 +555,8 @@ private void buildPartial0(com.google.spanner.admin.instance.v1.CreateInstanceCo
         result.instanceConfigId_ = instanceConfigId_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.instanceConfig_ = instanceConfigBuilder_ == null
-            ? instanceConfig_
-            : instanceConfigBuilder_.build();
+        result.instanceConfig_ =
+            instanceConfigBuilder_ == null ? instanceConfig_ : instanceConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
         result.validateOnly_ = validateOnly_;
@@ -510,46 +567,50 @@ private void buildPartial0(com.google.spanner.admin.instance.v1.CreateInstanceCo
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest) {
-        return mergeFrom((com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest)other);
+        return mergeFrom((com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest other) {
-      if (other == com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest other) {
+      if (other
+          == com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest.getDefaultInstance())
+        return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -592,34 +653,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              instanceConfigId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getInstanceConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 32: {
-              validateOnly_ = 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:
+              {
+                instanceConfigId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getInstanceConfigFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 32:
+              {
+                validateOnly_ = 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) {
@@ -629,23 +693,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. The name of the project in which to create the instance config.
      * 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; @@ -654,21 +723,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the project in which to create the instance config.
      * 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 { @@ -676,30 +748,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the project in which to create the instance config.
      * 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 name of the project in which to create the instance config.
      * 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() { @@ -709,18 +792,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The name of the project in which to create the instance config.
      * 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; @@ -730,6 +819,8 @@ public Builder setParentBytes( private java.lang.Object instanceConfigId_ = ""; /** + * + * *
      * Required. The ID of the instance config to create.  Valid identifiers are
      * of the form `custom-[-a-z0-9]*[a-z0-9]` and must be between 2 and 64
@@ -738,13 +829,13 @@ public Builder setParentBytes(
      * 
* * string instance_config_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The instanceConfigId. */ public java.lang.String getInstanceConfigId() { java.lang.Object ref = instanceConfigId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceConfigId_ = s; return s; @@ -753,6 +844,8 @@ public java.lang.String getInstanceConfigId() { } } /** + * + * *
      * Required. The ID of the instance config to create.  Valid identifiers are
      * of the form `custom-[-a-z0-9]*[a-z0-9]` and must be between 2 and 64
@@ -761,15 +854,14 @@ public java.lang.String getInstanceConfigId() {
      * 
* * string instance_config_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for instanceConfigId. */ - public com.google.protobuf.ByteString - getInstanceConfigIdBytes() { + public com.google.protobuf.ByteString getInstanceConfigIdBytes() { java.lang.Object ref = instanceConfigId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); instanceConfigId_ = b; return b; } else { @@ -777,6 +869,8 @@ public java.lang.String getInstanceConfigId() { } } /** + * + * *
      * Required. The ID of the instance config to create.  Valid identifiers are
      * of the form `custom-[-a-z0-9]*[a-z0-9]` and must be between 2 and 64
@@ -785,18 +879,22 @@ public java.lang.String getInstanceConfigId() {
      * 
* * string instance_config_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The instanceConfigId to set. * @return This builder for chaining. */ - public Builder setInstanceConfigId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInstanceConfigId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } instanceConfigId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. The ID of the instance config to create.  Valid identifiers are
      * of the form `custom-[-a-z0-9]*[a-z0-9]` and must be between 2 and 64
@@ -805,6 +903,7 @@ public Builder setInstanceConfigId(
      * 
* * string instance_config_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearInstanceConfigId() { @@ -814,6 +913,8 @@ public Builder clearInstanceConfigId() { return this; } /** + * + * *
      * Required. The ID of the instance config to create.  Valid identifiers are
      * of the form `custom-[-a-z0-9]*[a-z0-9]` and must be between 2 and 64
@@ -822,12 +923,14 @@ public Builder clearInstanceConfigId() {
      * 
* * string instance_config_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for instanceConfigId to set. * @return This builder for chaining. */ - public Builder setInstanceConfigIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInstanceConfigIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); instanceConfigId_ = value; bitField0_ |= 0x00000002; @@ -837,8 +940,13 @@ public Builder setInstanceConfigIdBytes( private com.google.spanner.admin.instance.v1.InstanceConfig instanceConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.InstanceConfig, com.google.spanner.admin.instance.v1.InstanceConfig.Builder, com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder> instanceConfigBuilder_; + com.google.spanner.admin.instance.v1.InstanceConfig, + com.google.spanner.admin.instance.v1.InstanceConfig.Builder, + com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder> + instanceConfigBuilder_; /** + * + * *
      * Required. The InstanceConfig proto of the configuration to create.
      * instance_config.name must be
@@ -847,13 +955,18 @@ public Builder setInstanceConfigIdBytes(
      * e.g. <parent>/instanceConfigs/us-east1, <parent>/instanceConfigs/nam3.
      * 
* - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the instanceConfig field is set. */ public boolean hasInstanceConfig() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Required. The InstanceConfig proto of the configuration to create.
      * instance_config.name must be
@@ -862,17 +975,24 @@ public boolean hasInstanceConfig() {
      * e.g. <parent>/instanceConfigs/us-east1, <parent>/instanceConfigs/nam3.
      * 
* - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instanceConfig. */ public com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfig() { if (instanceConfigBuilder_ == null) { - return instanceConfig_ == null ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() : instanceConfig_; + return instanceConfig_ == null + ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() + : instanceConfig_; } else { return instanceConfigBuilder_.getMessage(); } } /** + * + * *
      * Required. The InstanceConfig proto of the configuration to create.
      * instance_config.name must be
@@ -881,7 +1001,9 @@ public com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfig() {
      * e.g. <parent>/instanceConfigs/us-east1, <parent>/instanceConfigs/nam3.
      * 
* - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setInstanceConfig(com.google.spanner.admin.instance.v1.InstanceConfig value) { if (instanceConfigBuilder_ == null) { @@ -897,6 +1019,8 @@ public Builder setInstanceConfig(com.google.spanner.admin.instance.v1.InstanceCo return this; } /** + * + * *
      * Required. The InstanceConfig proto of the configuration to create.
      * instance_config.name must be
@@ -905,7 +1029,9 @@ public Builder setInstanceConfig(com.google.spanner.admin.instance.v1.InstanceCo
      * e.g. <parent>/instanceConfigs/us-east1, <parent>/instanceConfigs/nam3.
      * 
* - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setInstanceConfig( com.google.spanner.admin.instance.v1.InstanceConfig.Builder builderForValue) { @@ -919,6 +1045,8 @@ public Builder setInstanceConfig( return this; } /** + * + * *
      * Required. The InstanceConfig proto of the configuration to create.
      * instance_config.name must be
@@ -927,13 +1055,16 @@ public Builder setInstanceConfig(
      * e.g. <parent>/instanceConfigs/us-east1, <parent>/instanceConfigs/nam3.
      * 
* - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeInstanceConfig(com.google.spanner.admin.instance.v1.InstanceConfig value) { if (instanceConfigBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - instanceConfig_ != null && - instanceConfig_ != com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && instanceConfig_ != null + && instanceConfig_ + != com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance()) { getInstanceConfigBuilder().mergeFrom(value); } else { instanceConfig_ = value; @@ -946,6 +1077,8 @@ public Builder mergeInstanceConfig(com.google.spanner.admin.instance.v1.Instance return this; } /** + * + * *
      * Required. The InstanceConfig proto of the configuration to create.
      * instance_config.name must be
@@ -954,7 +1087,9 @@ public Builder mergeInstanceConfig(com.google.spanner.admin.instance.v1.Instance
      * e.g. <parent>/instanceConfigs/us-east1, <parent>/instanceConfigs/nam3.
      * 
* - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearInstanceConfig() { bitField0_ = (bitField0_ & ~0x00000004); @@ -967,6 +1102,8 @@ public Builder clearInstanceConfig() { return this; } /** + * + * *
      * Required. The InstanceConfig proto of the configuration to create.
      * instance_config.name must be
@@ -975,7 +1112,9 @@ public Builder clearInstanceConfig() {
      * e.g. <parent>/instanceConfigs/us-east1, <parent>/instanceConfigs/nam3.
      * 
* - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.spanner.admin.instance.v1.InstanceConfig.Builder getInstanceConfigBuilder() { bitField0_ |= 0x00000004; @@ -983,6 +1122,8 @@ public com.google.spanner.admin.instance.v1.InstanceConfig.Builder getInstanceCo return getInstanceConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The InstanceConfig proto of the configuration to create.
      * instance_config.name must be
@@ -991,17 +1132,23 @@ public com.google.spanner.admin.instance.v1.InstanceConfig.Builder getInstanceCo
      * e.g. <parent>/instanceConfigs/us-east1, <parent>/instanceConfigs/nam3.
      * 
* - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceConfigOrBuilder() { + public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder + getInstanceConfigOrBuilder() { if (instanceConfigBuilder_ != null) { return instanceConfigBuilder_.getMessageOrBuilder(); } else { - return instanceConfig_ == null ? - com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() : instanceConfig_; + return instanceConfig_ == null + ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() + : instanceConfig_; } } /** + * + * *
      * Required. The InstanceConfig proto of the configuration to create.
      * instance_config.name must be
@@ -1010,30 +1157,38 @@ public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceC
      * e.g. <parent>/instanceConfigs/us-east1, <parent>/instanceConfigs/nam3.
      * 
* - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.InstanceConfig, com.google.spanner.admin.instance.v1.InstanceConfig.Builder, com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder> + com.google.spanner.admin.instance.v1.InstanceConfig, + com.google.spanner.admin.instance.v1.InstanceConfig.Builder, + com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder> getInstanceConfigFieldBuilder() { if (instanceConfigBuilder_ == null) { - instanceConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.InstanceConfig, com.google.spanner.admin.instance.v1.InstanceConfig.Builder, com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder>( - getInstanceConfig(), - getParentForChildren(), - isClean()); + instanceConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.admin.instance.v1.InstanceConfig, + com.google.spanner.admin.instance.v1.InstanceConfig.Builder, + com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder>( + getInstanceConfig(), getParentForChildren(), isClean()); instanceConfig_ = null; } return instanceConfigBuilder_; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * An option to validate, but not actually execute, a request,
      * and provide the same response.
      * 
* * bool validate_only = 4; + * * @return The validateOnly. */ @java.lang.Override @@ -1041,29 +1196,35 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * An option to validate, but not actually execute, a request,
      * and provide the same response.
      * 
* * bool validate_only = 4; + * * @param value The validateOnly to set. * @return This builder for chaining. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * An option to validate, but not actually execute, a request,
      * and provide the same response.
      * 
* * bool validate_only = 4; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1072,9 +1233,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1084,41 +1245,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.CreateInstanceConfigRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.CreateInstanceConfigRequest) - private static final com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest DEFAULT_INSTANCE; + private static final com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest(); } - public static com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest getDefaultInstance() { + public static com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateInstanceConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateInstanceConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1130,9 +1293,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest getDefaultInstanceForType() { + public com.google.spanner.admin.instance.v1.CreateInstanceConfigRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigRequestOrBuilder.java b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigRequestOrBuilder.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigRequestOrBuilder.java rename to proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigRequestOrBuilder.java index 96d3273fee2..0748fdade24 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigRequestOrBuilder.java +++ b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceConfigRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto package com.google.spanner.admin.instance.v1; -public interface CreateInstanceConfigRequestOrBuilder extends +public interface CreateInstanceConfigRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.CreateInstanceConfigRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the project in which to create the instance config.
    * 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 name of the project in which to create the instance config.
    * 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 of the instance config to create.  Valid identifiers are
    * of the form `custom-[-a-z0-9]*[a-z0-9]` and must be between 2 and 64
@@ -38,10 +65,13 @@ public interface CreateInstanceConfigRequestOrBuilder extends
    * 
* * string instance_config_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The instanceConfigId. */ java.lang.String getInstanceConfigId(); /** + * + * *
    * Required. The ID of the instance config to create.  Valid identifiers are
    * of the form `custom-[-a-z0-9]*[a-z0-9]` and must be between 2 and 64
@@ -50,12 +80,14 @@ public interface CreateInstanceConfigRequestOrBuilder extends
    * 
* * string instance_config_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for instanceConfigId. */ - com.google.protobuf.ByteString - getInstanceConfigIdBytes(); + com.google.protobuf.ByteString getInstanceConfigIdBytes(); /** + * + * *
    * Required. The InstanceConfig proto of the configuration to create.
    * instance_config.name must be
@@ -64,11 +96,16 @@ public interface CreateInstanceConfigRequestOrBuilder extends
    * e.g. <parent>/instanceConfigs/us-east1, <parent>/instanceConfigs/nam3.
    * 
* - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the instanceConfig field is set. */ boolean hasInstanceConfig(); /** + * + * *
    * Required. The InstanceConfig proto of the configuration to create.
    * instance_config.name must be
@@ -77,11 +114,16 @@ public interface CreateInstanceConfigRequestOrBuilder extends
    * e.g. <parent>/instanceConfigs/us-east1, <parent>/instanceConfigs/nam3.
    * 
* - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instanceConfig. */ com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfig(); /** + * + * *
    * Required. The InstanceConfig proto of the configuration to create.
    * instance_config.name must be
@@ -90,17 +132,22 @@ public interface CreateInstanceConfigRequestOrBuilder extends
    * e.g. <parent>/instanceConfigs/us-east1, <parent>/instanceConfigs/nam3.
    * 
* - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceConfigOrBuilder(); /** + * + * *
    * An option to validate, but not actually execute, a request,
    * and provide the same response.
    * 
* * bool validate_only = 4; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceMetadata.java b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceMetadata.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceMetadata.java rename to proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceMetadata.java index 396873303fe..5dbce1d85d0 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceMetadata.java +++ b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceMetadata.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto package com.google.spanner.admin.instance.v1; /** + * + * *
  * Metadata type for the operation returned by
  * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance].
@@ -11,51 +28,55 @@
  *
  * Protobuf type {@code google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.CreateInstanceMetadata)
     CreateInstanceMetadataOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CreateInstanceMetadata.newBuilder() to construct.
   private CreateInstanceMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private CreateInstanceMetadata() {
-  }
+
+  private CreateInstanceMetadata() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CreateInstanceMetadata();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_CreateInstanceMetadata_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+        .internal_static_google_spanner_admin_instance_v1_CreateInstanceMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_CreateInstanceMetadata_fieldAccessorTable
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+        .internal_static_google_spanner_admin_instance_v1_CreateInstanceMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.instance.v1.CreateInstanceMetadata.class, com.google.spanner.admin.instance.v1.CreateInstanceMetadata.Builder.class);
+            com.google.spanner.admin.instance.v1.CreateInstanceMetadata.class,
+            com.google.spanner.admin.instance.v1.CreateInstanceMetadata.Builder.class);
   }
 
   public static final int INSTANCE_FIELD_NUMBER = 1;
   private com.google.spanner.admin.instance.v1.Instance instance_;
   /**
+   *
+   *
    * 
    * The instance being created.
    * 
* * .google.spanner.admin.instance.v1.Instance instance = 1; + * * @return Whether the instance field is set. */ @java.lang.Override @@ -63,18 +84,25 @@ public boolean hasInstance() { return instance_ != null; } /** + * + * *
    * The instance being created.
    * 
* * .google.spanner.admin.instance.v1.Instance instance = 1; + * * @return The instance. */ @java.lang.Override public com.google.spanner.admin.instance.v1.Instance getInstance() { - return instance_ == null ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() : instance_; + return instance_ == null + ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() + : instance_; } /** + * + * *
    * The instance being created.
    * 
@@ -83,12 +111,16 @@ public com.google.spanner.admin.instance.v1.Instance getInstance() { */ @java.lang.Override public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuilder() { - return instance_ == null ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() : instance_; + return instance_ == null + ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() + : instance_; } public static final int START_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp startTime_; /** + * + * *
    * The time at which the
    * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance]
@@ -96,6 +128,7 @@ public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuild
    * 
* * .google.protobuf.Timestamp start_time = 2; + * * @return Whether the startTime field is set. */ @java.lang.Override @@ -103,6 +136,8 @@ public boolean hasStartTime() { return startTime_ != null; } /** + * + * *
    * The time at which the
    * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance]
@@ -110,6 +145,7 @@ public boolean hasStartTime() {
    * 
* * .google.protobuf.Timestamp start_time = 2; + * * @return The startTime. */ @java.lang.Override @@ -117,6 +153,8 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
    * The time at which the
    * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance]
@@ -133,6 +171,8 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
   public static final int CANCEL_TIME_FIELD_NUMBER = 3;
   private com.google.protobuf.Timestamp cancelTime_;
   /**
+   *
+   *
    * 
    * The time at which this operation was cancelled. If set, this operation is
    * in the process of undoing itself (which is guaranteed to succeed) and
@@ -140,6 +180,7 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
    * 
* * .google.protobuf.Timestamp cancel_time = 3; + * * @return Whether the cancelTime field is set. */ @java.lang.Override @@ -147,6 +188,8 @@ public boolean hasCancelTime() { return cancelTime_ != null; } /** + * + * *
    * The time at which this operation was cancelled. If set, this operation is
    * in the process of undoing itself (which is guaranteed to succeed) and
@@ -154,6 +197,7 @@ public boolean hasCancelTime() {
    * 
* * .google.protobuf.Timestamp cancel_time = 3; + * * @return The cancelTime. */ @java.lang.Override @@ -161,6 +205,8 @@ public com.google.protobuf.Timestamp getCancelTime() { return cancelTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : cancelTime_; } /** + * + * *
    * The time at which this operation was cancelled. If set, this operation is
    * in the process of undoing itself (which is guaranteed to succeed) and
@@ -177,11 +223,14 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
   public static final int END_TIME_FIELD_NUMBER = 4;
   private com.google.protobuf.Timestamp endTime_;
   /**
+   *
+   *
    * 
    * The time at which this operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp end_time = 4; + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -189,11 +238,14 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
    * The time at which this operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp end_time = 4; + * * @return The endTime. */ @java.lang.Override @@ -201,6 +253,8 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * The time at which this operation failed or was completed successfully.
    * 
@@ -213,6 +267,7 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -224,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 (instance_ != null) { output.writeMessage(1, getInstance()); } @@ -248,20 +302,16 @@ 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 (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getStartTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStartTime()); } if (cancelTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getCancelTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCancelTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getEndTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getEndTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -271,32 +321,29 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.instance.v1.CreateInstanceMetadata)) { return super.equals(obj); } - com.google.spanner.admin.instance.v1.CreateInstanceMetadata other = (com.google.spanner.admin.instance.v1.CreateInstanceMetadata) obj; + com.google.spanner.admin.instance.v1.CreateInstanceMetadata other = + (com.google.spanner.admin.instance.v1.CreateInstanceMetadata) obj; if (hasInstance() != other.hasInstance()) return false; if (hasInstance()) { - if (!getInstance() - .equals(other.getInstance())) return false; + if (!getInstance().equals(other.getInstance())) 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 (hasCancelTime() != other.hasCancelTime()) return false; if (hasCancelTime()) { - if (!getCancelTime() - .equals(other.getCancelTime())) return false; + if (!getCancelTime().equals(other.getCancelTime())) 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; @@ -331,96 +378,104 @@ public int hashCode() { } public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.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.spanner.admin.instance.v1.CreateInstanceMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.CreateInstanceMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.CreateInstanceMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.spanner.admin.instance.v1.CreateInstanceMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.CreateInstanceMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.spanner.admin.instance.v1.CreateInstanceMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.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.spanner.admin.instance.v1.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.spanner.admin.instance.v1.CreateInstanceMetadata prototype) { + + public static Builder newBuilder( + com.google.spanner.admin.instance.v1.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; } /** + * + * *
    * Metadata type for the operation returned by
    * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance].
@@ -428,33 +483,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.CreateInstanceMetadata)
       com.google.spanner.admin.instance.v1.CreateInstanceMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_CreateInstanceMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+          .internal_static_google_spanner_admin_instance_v1_CreateInstanceMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_CreateInstanceMetadata_fieldAccessorTable
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+          .internal_static_google_spanner_admin_instance_v1_CreateInstanceMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.instance.v1.CreateInstanceMetadata.class, com.google.spanner.admin.instance.v1.CreateInstanceMetadata.Builder.class);
+              com.google.spanner.admin.instance.v1.CreateInstanceMetadata.class,
+              com.google.spanner.admin.instance.v1.CreateInstanceMetadata.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.instance.v1.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();
@@ -483,9 +537,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_CreateInstanceMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+          .internal_static_google_spanner_admin_instance_v1_CreateInstanceMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -504,8 +558,11 @@ public com.google.spanner.admin.instance.v1.CreateInstanceMetadata build() {
 
     @java.lang.Override
     public com.google.spanner.admin.instance.v1.CreateInstanceMetadata buildPartial() {
-      com.google.spanner.admin.instance.v1.CreateInstanceMetadata result = new com.google.spanner.admin.instance.v1.CreateInstanceMetadata(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.spanner.admin.instance.v1.CreateInstanceMetadata result =
+          new com.google.spanner.admin.instance.v1.CreateInstanceMetadata(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -513,24 +570,16 @@ public com.google.spanner.admin.instance.v1.CreateInstanceMetadata buildPartial(
     private void buildPartial0(com.google.spanner.admin.instance.v1.CreateInstanceMetadata 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.startTime_ = startTimeBuilder_ == null
-            ? startTime_
-            : startTimeBuilder_.build();
+        result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.cancelTime_ = cancelTimeBuilder_ == null
-            ? cancelTime_
-            : cancelTimeBuilder_.build();
+        result.cancelTime_ = cancelTimeBuilder_ == null ? cancelTime_ : cancelTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.endTime_ = endTimeBuilder_ == null
-            ? endTime_
-            : endTimeBuilder_.build();
+        result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build();
       }
     }
 
@@ -538,38 +587,39 @@ private void buildPartial0(com.google.spanner.admin.instance.v1.CreateInstanceMe
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.instance.v1.CreateInstanceMetadata) {
-        return mergeFrom((com.google.spanner.admin.instance.v1.CreateInstanceMetadata)other);
+        return mergeFrom((com.google.spanner.admin.instance.v1.CreateInstanceMetadata) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -577,7 +627,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.spanner.admin.instance.v1.CreateInstanceMetadata other) {
-      if (other == com.google.spanner.admin.instance.v1.CreateInstanceMetadata.getDefaultInstance()) return this;
+      if (other == com.google.spanner.admin.instance.v1.CreateInstanceMetadata.getDefaultInstance())
+        return this;
       if (other.hasInstance()) {
         mergeInstance(other.getInstance());
       }
@@ -616,40 +667,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getInstanceFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getStartTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getCancelTimeFieldBuilder().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:
+              {
+                input.readMessage(getInstanceFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getCancelTimeFieldBuilder().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) {
@@ -659,38 +707,52 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.spanner.admin.instance.v1.Instance instance_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.spanner.admin.instance.v1.Instance, com.google.spanner.admin.instance.v1.Instance.Builder, com.google.spanner.admin.instance.v1.InstanceOrBuilder> instanceBuilder_;
+            com.google.spanner.admin.instance.v1.Instance,
+            com.google.spanner.admin.instance.v1.Instance.Builder,
+            com.google.spanner.admin.instance.v1.InstanceOrBuilder>
+        instanceBuilder_;
     /**
+     *
+     *
      * 
      * The instance being created.
      * 
* * .google.spanner.admin.instance.v1.Instance instance = 1; + * * @return Whether the instance field is set. */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The instance being created.
      * 
* * .google.spanner.admin.instance.v1.Instance instance = 1; + * * @return The instance. */ public com.google.spanner.admin.instance.v1.Instance getInstance() { if (instanceBuilder_ == null) { - return instance_ == null ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() : instance_; + return instance_ == null + ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() + : instance_; } else { return instanceBuilder_.getMessage(); } } /** + * + * *
      * The instance being created.
      * 
@@ -711,6 +773,8 @@ public Builder setInstance(com.google.spanner.admin.instance.v1.Instance value) return this; } /** + * + * *
      * The instance being created.
      * 
@@ -729,6 +793,8 @@ public Builder setInstance( return this; } /** + * + * *
      * The instance being created.
      * 
@@ -737,9 +803,9 @@ public Builder setInstance( */ public Builder mergeInstance(com.google.spanner.admin.instance.v1.Instance value) { if (instanceBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - instance_ != null && - instance_ != com.google.spanner.admin.instance.v1.Instance.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && instance_ != null + && instance_ != com.google.spanner.admin.instance.v1.Instance.getDefaultInstance()) { getInstanceBuilder().mergeFrom(value); } else { instance_ = value; @@ -752,6 +818,8 @@ public Builder mergeInstance(com.google.spanner.admin.instance.v1.Instance value return this; } /** + * + * *
      * The instance being created.
      * 
@@ -769,6 +837,8 @@ public Builder clearInstance() { return this; } /** + * + * *
      * The instance being created.
      * 
@@ -781,6 +851,8 @@ public com.google.spanner.admin.instance.v1.Instance.Builder getInstanceBuilder( return getInstanceFieldBuilder().getBuilder(); } /** + * + * *
      * The instance being created.
      * 
@@ -791,11 +863,14 @@ public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuild if (instanceBuilder_ != null) { return instanceBuilder_.getMessageOrBuilder(); } else { - return instance_ == null ? - com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() : instance_; + return instance_ == null + ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() + : instance_; } } /** + * + * *
      * The instance being created.
      * 
@@ -803,14 +878,17 @@ public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuild * .google.spanner.admin.instance.v1.Instance instance = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.Instance, com.google.spanner.admin.instance.v1.Instance.Builder, com.google.spanner.admin.instance.v1.InstanceOrBuilder> + com.google.spanner.admin.instance.v1.Instance, + com.google.spanner.admin.instance.v1.Instance.Builder, + com.google.spanner.admin.instance.v1.InstanceOrBuilder> getInstanceFieldBuilder() { if (instanceBuilder_ == null) { - instanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.Instance, com.google.spanner.admin.instance.v1.Instance.Builder, com.google.spanner.admin.instance.v1.InstanceOrBuilder>( - getInstance(), - getParentForChildren(), - isClean()); + instanceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.admin.instance.v1.Instance, + com.google.spanner.admin.instance.v1.Instance.Builder, + com.google.spanner.admin.instance.v1.InstanceOrBuilder>( + getInstance(), getParentForChildren(), isClean()); instance_ = null; } return instanceBuilder_; @@ -818,8 +896,13 @@ public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuild 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 the
      * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance]
@@ -827,12 +910,15 @@ public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuild
      * 
* * .google.protobuf.Timestamp start_time = 2; + * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The time at which the
      * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance]
@@ -840,6 +926,7 @@ public boolean hasStartTime() {
      * 
* * .google.protobuf.Timestamp start_time = 2; + * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -850,6 +937,8 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
      * The time at which the
      * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance]
@@ -872,6 +961,8 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which the
      * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance]
@@ -880,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 {
@@ -892,6 +982,8 @@ public Builder setStartTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which the
      * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance]
@@ -902,9 +994,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;
@@ -917,6 +1009,8 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which the
      * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance]
@@ -936,6 +1030,8 @@ public Builder clearStartTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which the
      * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance]
@@ -950,6 +1046,8 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() {
       return getStartTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time at which the
      * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance]
@@ -962,11 +1060,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 the
      * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance]
@@ -976,14 +1075,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_;
@@ -991,8 +1093,13 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp cancelTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> cancelTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        cancelTimeBuilder_;
     /**
+     *
+     *
      * 
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is guaranteed to succeed) and
@@ -1000,12 +1107,15 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
      * 
* * .google.protobuf.Timestamp cancel_time = 3; + * * @return Whether the cancelTime field is set. */ public boolean hasCancelTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is guaranteed to succeed) and
@@ -1013,16 +1123,21 @@ public boolean hasCancelTime() {
      * 
* * .google.protobuf.Timestamp cancel_time = 3; + * * @return The cancelTime. */ public com.google.protobuf.Timestamp getCancelTime() { if (cancelTimeBuilder_ == null) { - return cancelTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : cancelTime_; + return cancelTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : cancelTime_; } else { return cancelTimeBuilder_.getMessage(); } } /** + * + * *
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is guaranteed to succeed) and
@@ -1045,6 +1160,8 @@ public Builder setCancelTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is guaranteed to succeed) and
@@ -1053,8 +1170,7 @@ public Builder setCancelTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp cancel_time = 3;
      */
-    public Builder setCancelTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setCancelTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (cancelTimeBuilder_ == null) {
         cancelTime_ = builderForValue.build();
       } else {
@@ -1065,6 +1181,8 @@ public Builder setCancelTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is guaranteed to succeed) and
@@ -1075,9 +1193,9 @@ public Builder setCancelTime(
      */
     public Builder mergeCancelTime(com.google.protobuf.Timestamp value) {
       if (cancelTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0) &&
-          cancelTime_ != null &&
-          cancelTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0)
+            && cancelTime_ != null
+            && cancelTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getCancelTimeBuilder().mergeFrom(value);
         } else {
           cancelTime_ = value;
@@ -1090,6 +1208,8 @@ public Builder mergeCancelTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is guaranteed to succeed) and
@@ -1109,6 +1229,8 @@ public Builder clearCancelTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is guaranteed to succeed) and
@@ -1123,6 +1245,8 @@ public com.google.protobuf.Timestamp.Builder getCancelTimeBuilder() {
       return getCancelTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is guaranteed to succeed) and
@@ -1135,11 +1259,14 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
       if (cancelTimeBuilder_ != null) {
         return cancelTimeBuilder_.getMessageOrBuilder();
       } else {
-        return cancelTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : cancelTime_;
+        return cancelTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : cancelTime_;
       }
     }
     /**
+     *
+     *
      * 
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is guaranteed to succeed) and
@@ -1149,14 +1276,17 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
      * .google.protobuf.Timestamp cancel_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>
         getCancelTimeFieldBuilder() {
       if (cancelTimeBuilder_ == null) {
-        cancelTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getCancelTime(),
-                getParentForChildren(),
-                isClean());
+        cancelTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getCancelTime(), getParentForChildren(), isClean());
         cancelTime_ = null;
       }
       return cancelTimeBuilder_;
@@ -1164,24 +1294,33 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
 
     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 time at which this operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp end_time = 4; + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * The time at which this operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp end_time = 4; + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1192,6 +1331,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * The time at which this operation failed or was completed successfully.
      * 
@@ -1212,14 +1353,15 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time at which this operation failed or was completed successfully.
      * 
* * .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 { @@ -1230,6 +1372,8 @@ public Builder setEndTime( return this; } /** + * + * *
      * The time at which this operation failed or was completed successfully.
      * 
@@ -1238,9 +1382,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; @@ -1253,6 +1397,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time at which this operation failed or was completed successfully.
      * 
@@ -1270,6 +1416,8 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * The time at which this operation failed or was completed successfully.
      * 
@@ -1282,6 +1430,8 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time at which this operation failed or was completed successfully.
      * 
@@ -1292,11 +1442,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 time at which this operation failed or was completed successfully.
      * 
@@ -1304,21 +1455,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); } @@ -1328,12 +1482,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.CreateInstanceMetadata) } // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.CreateInstanceMetadata) private static final com.google.spanner.admin.instance.v1.CreateInstanceMetadata DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.CreateInstanceMetadata(); } @@ -1342,27 +1496,27 @@ public static com.google.spanner.admin.instance.v1.CreateInstanceMetadata getDef 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; @@ -1377,6 +1531,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.instance.v1.CreateInstanceMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceMetadataOrBuilder.java b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceMetadataOrBuilder.java similarity index 82% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceMetadataOrBuilder.java rename to proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceMetadataOrBuilder.java index 27636a2b514..ce460d6f984 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceMetadataOrBuilder.java +++ b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceMetadataOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto package com.google.spanner.admin.instance.v1; -public interface CreateInstanceMetadataOrBuilder extends +public interface CreateInstanceMetadataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.CreateInstanceMetadata) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The instance being created.
    * 
* * .google.spanner.admin.instance.v1.Instance instance = 1; + * * @return Whether the instance field is set. */ boolean hasInstance(); /** + * + * *
    * The instance being created.
    * 
* * .google.spanner.admin.instance.v1.Instance instance = 1; + * * @return The instance. */ com.google.spanner.admin.instance.v1.Instance getInstance(); /** + * + * *
    * The instance being created.
    * 
@@ -35,6 +59,8 @@ public interface CreateInstanceMetadataOrBuilder extends com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuilder(); /** + * + * *
    * The time at which the
    * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance]
@@ -42,10 +68,13 @@ public interface CreateInstanceMetadataOrBuilder extends
    * 
* * .google.protobuf.Timestamp start_time = 2; + * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** + * + * *
    * The time at which the
    * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance]
@@ -53,10 +82,13 @@ public interface CreateInstanceMetadataOrBuilder extends
    * 
* * .google.protobuf.Timestamp start_time = 2; + * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** + * + * *
    * The time at which the
    * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance]
@@ -68,6 +100,8 @@ public interface CreateInstanceMetadataOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * The time at which this operation was cancelled. If set, this operation is
    * in the process of undoing itself (which is guaranteed to succeed) and
@@ -75,10 +109,13 @@ public interface CreateInstanceMetadataOrBuilder extends
    * 
* * .google.protobuf.Timestamp cancel_time = 3; + * * @return Whether the cancelTime field is set. */ boolean hasCancelTime(); /** + * + * *
    * The time at which this operation was cancelled. If set, this operation is
    * in the process of undoing itself (which is guaranteed to succeed) and
@@ -86,10 +123,13 @@ public interface CreateInstanceMetadataOrBuilder extends
    * 
* * .google.protobuf.Timestamp cancel_time = 3; + * * @return The cancelTime. */ com.google.protobuf.Timestamp getCancelTime(); /** + * + * *
    * The time at which this operation was cancelled. If set, this operation is
    * in the process of undoing itself (which is guaranteed to succeed) and
@@ -101,24 +141,32 @@ public interface CreateInstanceMetadataOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * The time at which this operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp end_time = 4; + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
    * The time at which this operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp end_time = 4; + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
    * The time at which this operation failed or was completed successfully.
    * 
diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceRequest.java b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceRequest.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceRequest.java rename to proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceRequest.java index 262adb86b89..5bc14b342f4 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceRequest.java +++ b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto package com.google.spanner.admin.instance.v1; /** + * + * *
  * The request for
  * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.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_ = "";
@@ -27,39 +45,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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_CreateInstanceRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+        .internal_static_google_spanner_admin_instance_v1_CreateInstanceRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_CreateInstanceRequest_fieldAccessorTable
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+        .internal_static_google_spanner_admin_instance_v1_CreateInstanceRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.instance.v1.CreateInstanceRequest.class, com.google.spanner.admin.instance.v1.CreateInstanceRequest.Builder.class);
+            com.google.spanner.admin.instance.v1.CreateInstanceRequest.class,
+            com.google.spanner.admin.instance.v1.CreateInstanceRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
+   *
+   *
    * 
    * Required. The name of the project in which to create the 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 @@ -68,30 +93,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 name of the project in which to create the 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 { @@ -100,9 +127,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 of the instance to create.  Valid identifiers are of the
    * form `[a-z][-a-z0-9]*[a-z0-9]` and must be between 2 and 64 characters in
@@ -110,6 +140,7 @@ public java.lang.String getParent() {
    * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The instanceId. */ @java.lang.Override @@ -118,14 +149,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 of the instance to create.  Valid identifiers are of the
    * form `[a-z][-a-z0-9]*[a-z0-9]` and must be between 2 and 64 characters in
@@ -133,16 +165,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 { @@ -153,12 +184,17 @@ public java.lang.String getInstanceId() { public static final int INSTANCE_FIELD_NUMBER = 3; private com.google.spanner.admin.instance.v1.Instance instance_; /** + * + * *
    * Required. The instance to create.  The name may be omitted, but if
    * specified must be `<parent>/instances/<instance_id>`.
    * 
* - * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the instance field is set. */ @java.lang.Override @@ -166,32 +202,46 @@ public boolean hasInstance() { return instance_ != null; } /** + * + * *
    * Required. The instance to create.  The name may be omitted, but if
    * specified must be `<parent>/instances/<instance_id>`.
    * 
* - * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instance. */ @java.lang.Override public com.google.spanner.admin.instance.v1.Instance getInstance() { - return instance_ == null ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() : instance_; + return instance_ == null + ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() + : instance_; } /** + * + * *
    * Required. The instance to create.  The name may be omitted, but if
    * specified must be `<parent>/instances/<instance_id>`.
    * 
* - * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuilder() { - return instance_ == null ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() : instance_; + return instance_ == null + ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() + : instance_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -203,8 +253,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -230,8 +279,7 @@ 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()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -241,21 +289,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.spanner.admin.instance.v1.CreateInstanceRequest)) { return super.equals(obj); } - com.google.spanner.admin.instance.v1.CreateInstanceRequest other = (com.google.spanner.admin.instance.v1.CreateInstanceRequest) obj; + com.google.spanner.admin.instance.v1.CreateInstanceRequest other = + (com.google.spanner.admin.instance.v1.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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -282,96 +328,104 @@ public int hashCode() { } public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.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.spanner.admin.instance.v1.CreateInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.CreateInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.CreateInstanceRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.spanner.admin.instance.v1.CreateInstanceRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.CreateInstanceRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.spanner.admin.instance.v1.CreateInstanceRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.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.spanner.admin.instance.v1.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.spanner.admin.instance.v1.CreateInstanceRequest prototype) { + + public static Builder newBuilder( + com.google.spanner.admin.instance.v1.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; } /** + * + * *
    * The request for
    * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance].
@@ -379,33 +433,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.CreateInstanceRequest)
       com.google.spanner.admin.instance.v1.CreateInstanceRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_CreateInstanceRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+          .internal_static_google_spanner_admin_instance_v1_CreateInstanceRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_CreateInstanceRequest_fieldAccessorTable
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+          .internal_static_google_spanner_admin_instance_v1_CreateInstanceRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.instance.v1.CreateInstanceRequest.class, com.google.spanner.admin.instance.v1.CreateInstanceRequest.Builder.class);
+              com.google.spanner.admin.instance.v1.CreateInstanceRequest.class,
+              com.google.spanner.admin.instance.v1.CreateInstanceRequest.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.instance.v1.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();
@@ -421,9 +474,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_CreateInstanceRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+          .internal_static_google_spanner_admin_instance_v1_CreateInstanceRequest_descriptor;
     }
 
     @java.lang.Override
@@ -442,8 +495,11 @@ public com.google.spanner.admin.instance.v1.CreateInstanceRequest build() {
 
     @java.lang.Override
     public com.google.spanner.admin.instance.v1.CreateInstanceRequest buildPartial() {
-      com.google.spanner.admin.instance.v1.CreateInstanceRequest result = new com.google.spanner.admin.instance.v1.CreateInstanceRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.spanner.admin.instance.v1.CreateInstanceRequest result =
+          new com.google.spanner.admin.instance.v1.CreateInstanceRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -457,9 +513,7 @@ private void buildPartial0(com.google.spanner.admin.instance.v1.CreateInstanceRe
         result.instanceId_ = instanceId_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.instance_ = instanceBuilder_ == null
-            ? instance_
-            : instanceBuilder_.build();
+        result.instance_ = instanceBuilder_ == null ? instance_ : instanceBuilder_.build();
       }
     }
 
@@ -467,38 +521,39 @@ private void buildPartial0(com.google.spanner.admin.instance.v1.CreateInstanceRe
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.instance.v1.CreateInstanceRequest) {
-        return mergeFrom((com.google.spanner.admin.instance.v1.CreateInstanceRequest)other);
+        return mergeFrom((com.google.spanner.admin.instance.v1.CreateInstanceRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -506,7 +561,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.spanner.admin.instance.v1.CreateInstanceRequest other) {
-      if (other == com.google.spanner.admin.instance.v1.CreateInstanceRequest.getDefaultInstance()) return this;
+      if (other == com.google.spanner.admin.instance.v1.CreateInstanceRequest.getDefaultInstance())
+        return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -546,29 +602,31 @@ 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
-            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
+            default:
+              {
+                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,23 +636,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. The name of the project in which to create the 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; @@ -603,21 +666,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the project in which to create the 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 { @@ -625,30 +691,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the project in which to create the 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 name of the project in which to create the 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() { @@ -658,18 +735,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The name of the project in which to create the 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; @@ -679,6 +762,8 @@ public Builder setParentBytes( private java.lang.Object instanceId_ = ""; /** + * + * *
      * Required. The ID of the instance to create.  Valid identifiers are of the
      * form `[a-z][-a-z0-9]*[a-z0-9]` and must be between 2 and 64 characters in
@@ -686,13 +771,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; @@ -701,6 +786,8 @@ public java.lang.String getInstanceId() { } } /** + * + * *
      * Required. The ID of the instance to create.  Valid identifiers are of the
      * form `[a-z][-a-z0-9]*[a-z0-9]` and must be between 2 and 64 characters in
@@ -708,15 +795,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 { @@ -724,6 +810,8 @@ public java.lang.String getInstanceId() { } } /** + * + * *
      * Required. The ID of the instance to create.  Valid identifiers are of the
      * form `[a-z][-a-z0-9]*[a-z0-9]` and must be between 2 and 64 characters in
@@ -731,18 +819,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 of the instance to create.  Valid identifiers are of the
      * form `[a-z][-a-z0-9]*[a-z0-9]` and must be between 2 and 64 characters in
@@ -750,6 +842,7 @@ public Builder setInstanceId(
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearInstanceId() { @@ -759,6 +852,8 @@ public Builder clearInstanceId() { return this; } /** + * + * *
      * Required. The ID of the instance to create.  Valid identifiers are of the
      * form `[a-z][-a-z0-9]*[a-z0-9]` and must be between 2 and 64 characters in
@@ -766,12 +861,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; @@ -781,42 +878,61 @@ public Builder setInstanceIdBytes( private com.google.spanner.admin.instance.v1.Instance instance_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.Instance, com.google.spanner.admin.instance.v1.Instance.Builder, com.google.spanner.admin.instance.v1.InstanceOrBuilder> instanceBuilder_; + com.google.spanner.admin.instance.v1.Instance, + com.google.spanner.admin.instance.v1.Instance.Builder, + com.google.spanner.admin.instance.v1.InstanceOrBuilder> + instanceBuilder_; /** + * + * *
      * Required. The instance to create.  The name may be omitted, but if
      * specified must be `<parent>/instances/<instance_id>`.
      * 
* - * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.instance.v1.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.  The name may be omitted, but if
      * specified must be `<parent>/instances/<instance_id>`.
      * 
* - * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instance. */ public com.google.spanner.admin.instance.v1.Instance getInstance() { if (instanceBuilder_ == null) { - return instance_ == null ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() : instance_; + return instance_ == null + ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() + : instance_; } else { return instanceBuilder_.getMessage(); } } /** + * + * *
      * Required. The instance to create.  The name may be omitted, but if
      * specified must be `<parent>/instances/<instance_id>`.
      * 
* - * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setInstance(com.google.spanner.admin.instance.v1.Instance value) { if (instanceBuilder_ == null) { @@ -832,12 +948,16 @@ public Builder setInstance(com.google.spanner.admin.instance.v1.Instance value) return this; } /** + * + * *
      * Required. The instance to create.  The name may be omitted, but if
      * specified must be `<parent>/instances/<instance_id>`.
      * 
* - * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setInstance( com.google.spanner.admin.instance.v1.Instance.Builder builderForValue) { @@ -851,18 +971,22 @@ public Builder setInstance( return this; } /** + * + * *
      * Required. The instance to create.  The name may be omitted, but if
      * specified must be `<parent>/instances/<instance_id>`.
      * 
* - * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeInstance(com.google.spanner.admin.instance.v1.Instance value) { if (instanceBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - instance_ != null && - instance_ != com.google.spanner.admin.instance.v1.Instance.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && instance_ != null + && instance_ != com.google.spanner.admin.instance.v1.Instance.getDefaultInstance()) { getInstanceBuilder().mergeFrom(value); } else { instance_ = value; @@ -875,12 +999,16 @@ public Builder mergeInstance(com.google.spanner.admin.instance.v1.Instance value return this; } /** + * + * *
      * Required. The instance to create.  The name may be omitted, but if
      * specified must be `<parent>/instances/<instance_id>`.
      * 
* - * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearInstance() { bitField0_ = (bitField0_ & ~0x00000004); @@ -893,12 +1021,16 @@ public Builder clearInstance() { return this; } /** + * + * *
      * Required. The instance to create.  The name may be omitted, but if
      * specified must be `<parent>/instances/<instance_id>`.
      * 
* - * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.spanner.admin.instance.v1.Instance.Builder getInstanceBuilder() { bitField0_ |= 0x00000004; @@ -906,45 +1038,57 @@ public com.google.spanner.admin.instance.v1.Instance.Builder getInstanceBuilder( return getInstanceFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The instance to create.  The name may be omitted, but if
      * specified must be `<parent>/instances/<instance_id>`.
      * 
* - * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuilder() { if (instanceBuilder_ != null) { return instanceBuilder_.getMessageOrBuilder(); } else { - return instance_ == null ? - com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() : instance_; + return instance_ == null + ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() + : instance_; } } /** + * + * *
      * Required. The instance to create.  The name may be omitted, but if
      * specified must be `<parent>/instances/<instance_id>`.
      * 
* - * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.Instance, com.google.spanner.admin.instance.v1.Instance.Builder, com.google.spanner.admin.instance.v1.InstanceOrBuilder> + com.google.spanner.admin.instance.v1.Instance, + com.google.spanner.admin.instance.v1.Instance.Builder, + com.google.spanner.admin.instance.v1.InstanceOrBuilder> getInstanceFieldBuilder() { if (instanceBuilder_ == null) { - instanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.Instance, com.google.spanner.admin.instance.v1.Instance.Builder, com.google.spanner.admin.instance.v1.InstanceOrBuilder>( - getInstance(), - getParentForChildren(), - isClean()); + instanceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.admin.instance.v1.Instance, + com.google.spanner.admin.instance.v1.Instance.Builder, + com.google.spanner.admin.instance.v1.InstanceOrBuilder>( + getInstance(), getParentForChildren(), isClean()); instance_ = null; } return instanceBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -954,12 +1098,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.CreateInstanceRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.CreateInstanceRequest) private static final com.google.spanner.admin.instance.v1.CreateInstanceRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.CreateInstanceRequest(); } @@ -968,27 +1112,27 @@ public static com.google.spanner.admin.instance.v1.CreateInstanceRequest getDefa 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; @@ -1003,6 +1147,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.instance.v1.CreateInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceRequestOrBuilder.java b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceRequestOrBuilder.java similarity index 59% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceRequestOrBuilder.java rename to proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceRequestOrBuilder.java index 94b44ef5b9e..5f7649eb259 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceRequestOrBuilder.java +++ b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/CreateInstanceRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto package com.google.spanner.admin.instance.v1; -public interface CreateInstanceRequestOrBuilder extends +public interface CreateInstanceRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.CreateInstanceRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the project in which to create the 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 name of the project in which to create the 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 of the instance to create.  Valid identifiers are of the
    * form `[a-z][-a-z0-9]*[a-z0-9]` and must be between 2 and 64 characters in
@@ -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 of the instance to create.  Valid identifiers are of the
    * form `[a-z][-a-z0-9]*[a-z0-9]` and must be between 2 and 64 characters in
@@ -48,38 +78,52 @@ 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.  The name may be omitted, but if
    * specified must be `<parent>/instances/<instance_id>`.
    * 
* - * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the instance field is set. */ boolean hasInstance(); /** + * + * *
    * Required. The instance to create.  The name may be omitted, but if
    * specified must be `<parent>/instances/<instance_id>`.
    * 
* - * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instance. */ com.google.spanner.admin.instance.v1.Instance getInstance(); /** + * + * *
    * Required. The instance to create.  The name may be omitted, but if
    * specified must be `<parent>/instances/<instance_id>`.
    * 
* - * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.instance.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuilder(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceConfigRequest.java b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceConfigRequest.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceConfigRequest.java rename to proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceConfigRequest.java index edca43de555..97f3875a680 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceConfigRequest.java +++ b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceConfigRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto package com.google.spanner.admin.instance.v1; /** + * + * *
  * The request for
  * [DeleteInstanceConfigRequest][InstanceAdmin.DeleteInstanceConfigRequest].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.spanner.admin.instance.v1.DeleteInstanceConfigRequest}
  */
-public final class DeleteInstanceConfigRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DeleteInstanceConfigRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.instance.v1.DeleteInstanceConfigRequest)
     DeleteInstanceConfigRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DeleteInstanceConfigRequest.newBuilder() to construct.
   private DeleteInstanceConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DeleteInstanceConfigRequest() {
     name_ = "";
     etag_ = "";
@@ -27,40 +45,47 @@ private DeleteInstanceConfigRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DeleteInstanceConfigRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_DeleteInstanceConfigRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+        .internal_static_google_spanner_admin_instance_v1_DeleteInstanceConfigRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_DeleteInstanceConfigRequest_fieldAccessorTable
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+        .internal_static_google_spanner_admin_instance_v1_DeleteInstanceConfigRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest.class, com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest.Builder.class);
+            com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest.class,
+            com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Required. The name of the instance configuration to be deleted.
    * Values are of the form
    * `projects/<project>/instanceConfigs/<instance_config>`
    * 
* - * string name = 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 @@ -69,31 +94,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 name of the instance configuration to be deleted.
    * Values are of the form
    * `projects/<project>/instanceConfigs/<instance_config>`
    * 
* - * string name = 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 { @@ -102,9 +129,12 @@ public java.lang.String getName() { } public static final int ETAG_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** + * + * *
    * Used for optimistic concurrency control as a way to help prevent
    * simultaneous deletes of an instance config from overwriting each
@@ -116,6 +146,7 @@ public java.lang.String getName() {
    * 
* * string etag = 2; + * * @return The etag. */ @java.lang.Override @@ -124,14 +155,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; } } /** + * + * *
    * Used for optimistic concurrency control as a way to help prevent
    * simultaneous deletes of an instance config from overwriting each
@@ -143,16 +175,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 { @@ -163,12 +194,15 @@ public java.lang.String getEtag() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 3; private boolean validateOnly_ = false; /** + * + * *
    * An option to validate, but not actually execute, a request,
    * and provide the same response.
    * 
* * bool validate_only = 3; + * * @return The validateOnly. */ @java.lang.Override @@ -177,6 +211,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -188,8 +223,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -215,8 +249,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, etag_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -226,19 +259,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.spanner.admin.instance.v1.DeleteInstanceConfigRequest)) { return super.equals(obj); } - com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest other = (com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest) obj; + com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest other = + (com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getEtag() - .equals(other.getEtag())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (!getName().equals(other.getName())) return false; + if (!getEtag().equals(other.getEtag())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -255,104 +286,111 @@ public int hashCode() { hash = (37 * hash) + ETAG_FIELD_NUMBER; hash = (53 * hash) + getEtag().hashCode(); hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest prototype) { + + public static Builder newBuilder( + com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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
    * [DeleteInstanceConfigRequest][InstanceAdmin.DeleteInstanceConfigRequest].
@@ -360,33 +398,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.spanner.admin.instance.v1.DeleteInstanceConfigRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.instance.v1.DeleteInstanceConfigRequest)
       com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_DeleteInstanceConfigRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+          .internal_static_google_spanner_admin_instance_v1_DeleteInstanceConfigRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_DeleteInstanceConfigRequest_fieldAccessorTable
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+          .internal_static_google_spanner_admin_instance_v1_DeleteInstanceConfigRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest.class, com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest.Builder.class);
+              com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest.class,
+              com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -398,13 +435,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_DeleteInstanceConfigRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+          .internal_static_google_spanner_admin_instance_v1_DeleteInstanceConfigRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest getDefaultInstanceForType() {
+    public com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest
+        getDefaultInstanceForType() {
       return com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest.getDefaultInstance();
     }
 
@@ -419,13 +457,17 @@ public com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest build()
 
     @java.lang.Override
     public com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest buildPartial() {
-      com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest result = new com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest result =
+          new com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest result) {
+    private void buildPartial0(
+        com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.name_ = name_;
@@ -442,46 +484,50 @@ private void buildPartial0(com.google.spanner.admin.instance.v1.DeleteInstanceCo
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest) {
-        return mergeFrom((com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest)other);
+        return mergeFrom((com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest other) {
-      if (other == com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest other) {
+      if (other
+          == com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -521,27 +567,31 @@ 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 24: {
-              validateOnly_ = input.readBool();
-              bitField0_ |= 0x00000004;
-              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:
+              {
+                etag_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 24:
+              {
+                validateOnly_ = 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) {
@@ -551,24 +601,29 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The name of the instance configuration to be deleted.
      * Values are of the form
      * `projects/<project>/instanceConfigs/<instance_config>`
      * 
* - * string name = 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; @@ -577,22 +632,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the instance configuration to be deleted.
      * Values are of the form
      * `projects/<project>/instanceConfigs/<instance_config>`
      * 
* - * string name = 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 { @@ -600,32 +658,43 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the instance configuration to be deleted.
      * Values are of the form
      * `projects/<project>/instanceConfigs/<instance_config>`
      * 
* - * 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 name of the instance configuration to be deleted.
      * Values are of the form
      * `projects/<project>/instanceConfigs/<instance_config>`
      * 
* - * string 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() { @@ -635,19 +704,25 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the instance configuration to be deleted.
      * Values are of the form
      * `projects/<project>/instanceConfigs/<instance_config>`
      * 
* - * 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; @@ -657,6 +732,8 @@ public Builder setNameBytes( private java.lang.Object etag_ = ""; /** + * + * *
      * Used for optimistic concurrency control as a way to help prevent
      * simultaneous deletes of an instance config from overwriting each
@@ -668,13 +745,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; @@ -683,6 +760,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Used for optimistic concurrency control as a way to help prevent
      * simultaneous deletes of an instance config from overwriting each
@@ -694,15 +773,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 { @@ -710,6 +788,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Used for optimistic concurrency control as a way to help prevent
      * simultaneous deletes of an instance config from overwriting each
@@ -721,18 +801,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; } /** + * + * *
      * Used for optimistic concurrency control as a way to help prevent
      * simultaneous deletes of an instance config from overwriting each
@@ -744,6 +828,7 @@ public Builder setEtag(
      * 
* * string etag = 2; + * * @return This builder for chaining. */ public Builder clearEtag() { @@ -753,6 +838,8 @@ public Builder clearEtag() { return this; } /** + * + * *
      * Used for optimistic concurrency control as a way to help prevent
      * simultaneous deletes of an instance config from overwriting each
@@ -764,12 +851,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; @@ -777,14 +866,17 @@ public Builder setEtagBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * An option to validate, but not actually execute, a request,
      * and provide the same response.
      * 
* * bool validate_only = 3; + * * @return The validateOnly. */ @java.lang.Override @@ -792,29 +884,35 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * An option to validate, but not actually execute, a request,
      * and provide the same response.
      * 
* * bool validate_only = 3; + * * @param value The validateOnly to set. * @return This builder for chaining. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * An option to validate, but not actually execute, a request,
      * and provide the same response.
      * 
* * bool validate_only = 3; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -823,9 +921,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -835,41 +933,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.DeleteInstanceConfigRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.DeleteInstanceConfigRequest) - private static final com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest DEFAULT_INSTANCE; + private static final com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest(); } - public static com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest getDefaultInstance() { + public static com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteInstanceConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteInstanceConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -881,9 +981,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest getDefaultInstanceForType() { + public com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceConfigRequestOrBuilder.java b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceConfigRequestOrBuilder.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceConfigRequestOrBuilder.java rename to proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceConfigRequestOrBuilder.java index 1cfe039a6dd..8002cd5678c 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceConfigRequestOrBuilder.java +++ b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceConfigRequestOrBuilder.java @@ -1,37 +1,64 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto package com.google.spanner.admin.instance.v1; -public interface DeleteInstanceConfigRequestOrBuilder extends +public interface DeleteInstanceConfigRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.DeleteInstanceConfigRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the instance configuration to be deleted.
    * Values are of the form
    * `projects/<project>/instanceConfigs/<instance_config>`
    * 
* - * string name = 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 name of the instance configuration to be deleted.
    * Values are of the form
    * `projects/<project>/instanceConfigs/<instance_config>`
    * 
* - * string name = 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(); /** + * + * *
    * Used for optimistic concurrency control as a way to help prevent
    * simultaneous deletes of an instance config from overwriting each
@@ -43,10 +70,13 @@ public interface DeleteInstanceConfigRequestOrBuilder extends
    * 
* * string etag = 2; + * * @return The etag. */ java.lang.String getEtag(); /** + * + * *
    * Used for optimistic concurrency control as a way to help prevent
    * simultaneous deletes of an instance config from overwriting each
@@ -58,18 +88,21 @@ public interface DeleteInstanceConfigRequestOrBuilder extends
    * 
* * string etag = 2; + * * @return The bytes for etag. */ - com.google.protobuf.ByteString - getEtagBytes(); + com.google.protobuf.ByteString getEtagBytes(); /** + * + * *
    * An option to validate, but not actually execute, a request,
    * and provide the same response.
    * 
* * bool validate_only = 3; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceRequest.java b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceRequest.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceRequest.java rename to proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceRequest.java index 492d33fde6f..cbfa1e94aef 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceRequest.java +++ b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto package com.google.spanner.admin.instance.v1; /** + * + * *
  * The request for
  * [DeleteInstance][google.spanner.admin.instance.v1.InstanceAdmin.DeleteInstance].
@@ -11,54 +28,62 @@
  *
  * Protobuf type {@code google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.DeleteInstanceRequest)
     DeleteInstanceRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DeleteInstanceRequest.newBuilder() to construct.
   private DeleteInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DeleteInstanceRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DeleteInstanceRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_DeleteInstanceRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+        .internal_static_google_spanner_admin_instance_v1_DeleteInstanceRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_DeleteInstanceRequest_fieldAccessorTable
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+        .internal_static_google_spanner_admin_instance_v1_DeleteInstanceRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.instance.v1.DeleteInstanceRequest.class, com.google.spanner.admin.instance.v1.DeleteInstanceRequest.Builder.class);
+            com.google.spanner.admin.instance.v1.DeleteInstanceRequest.class,
+            com.google.spanner.admin.instance.v1.DeleteInstanceRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Required. The 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 @@ -67,30 +92,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 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 { @@ -99,6 +126,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -110,8 +138,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -135,15 +162,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.instance.v1.DeleteInstanceRequest)) { return super.equals(obj); } - com.google.spanner.admin.instance.v1.DeleteInstanceRequest other = (com.google.spanner.admin.instance.v1.DeleteInstanceRequest) obj; + com.google.spanner.admin.instance.v1.DeleteInstanceRequest other = + (com.google.spanner.admin.instance.v1.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; } @@ -163,96 +190,104 @@ public int hashCode() { } public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.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.spanner.admin.instance.v1.DeleteInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.DeleteInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.DeleteInstanceRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.spanner.admin.instance.v1.DeleteInstanceRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.DeleteInstanceRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.spanner.admin.instance.v1.DeleteInstanceRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.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.spanner.admin.instance.v1.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.spanner.admin.instance.v1.DeleteInstanceRequest prototype) { + + public static Builder newBuilder( + com.google.spanner.admin.instance.v1.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; } /** + * + * *
    * The request for
    * [DeleteInstance][google.spanner.admin.instance.v1.InstanceAdmin.DeleteInstance].
@@ -260,33 +295,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.DeleteInstanceRequest)
       com.google.spanner.admin.instance.v1.DeleteInstanceRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_DeleteInstanceRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+          .internal_static_google_spanner_admin_instance_v1_DeleteInstanceRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_DeleteInstanceRequest_fieldAccessorTable
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+          .internal_static_google_spanner_admin_instance_v1_DeleteInstanceRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.instance.v1.DeleteInstanceRequest.class, com.google.spanner.admin.instance.v1.DeleteInstanceRequest.Builder.class);
+              com.google.spanner.admin.instance.v1.DeleteInstanceRequest.class,
+              com.google.spanner.admin.instance.v1.DeleteInstanceRequest.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.instance.v1.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();
@@ -296,9 +330,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_DeleteInstanceRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+          .internal_static_google_spanner_admin_instance_v1_DeleteInstanceRequest_descriptor;
     }
 
     @java.lang.Override
@@ -317,8 +351,11 @@ public com.google.spanner.admin.instance.v1.DeleteInstanceRequest build() {
 
     @java.lang.Override
     public com.google.spanner.admin.instance.v1.DeleteInstanceRequest buildPartial() {
-      com.google.spanner.admin.instance.v1.DeleteInstanceRequest result = new com.google.spanner.admin.instance.v1.DeleteInstanceRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.spanner.admin.instance.v1.DeleteInstanceRequest result =
+          new com.google.spanner.admin.instance.v1.DeleteInstanceRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -334,38 +371,39 @@ private void buildPartial0(com.google.spanner.admin.instance.v1.DeleteInstanceRe
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.instance.v1.DeleteInstanceRequest) {
-        return mergeFrom((com.google.spanner.admin.instance.v1.DeleteInstanceRequest)other);
+        return mergeFrom((com.google.spanner.admin.instance.v1.DeleteInstanceRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -373,7 +411,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.spanner.admin.instance.v1.DeleteInstanceRequest other) {
-      if (other == com.google.spanner.admin.instance.v1.DeleteInstanceRequest.getDefaultInstance()) return this;
+      if (other == com.google.spanner.admin.instance.v1.DeleteInstanceRequest.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -405,17 +444,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) {
@@ -425,23 +466,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The 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; @@ -450,21 +496,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The 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 { @@ -472,30 +521,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The 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 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() { @@ -505,27 +565,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The 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); } @@ -535,12 +601,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.DeleteInstanceRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.DeleteInstanceRequest) private static final com.google.spanner.admin.instance.v1.DeleteInstanceRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.DeleteInstanceRequest(); } @@ -549,27 +615,27 @@ public static com.google.spanner.admin.instance.v1.DeleteInstanceRequest getDefa 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; @@ -584,6 +650,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.instance.v1.DeleteInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceRequestOrBuilder.java b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceRequestOrBuilder.java new file mode 100644 index 00000000000..951a643978a --- /dev/null +++ b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/DeleteInstanceRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/spanner/admin/instance/v1/spanner_instance_admin.proto + +package com.google.spanner.admin.instance.v1; + +public interface DeleteInstanceRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.DeleteInstanceRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The 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 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/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceConfigRequest.java b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceConfigRequest.java similarity index 62% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceConfigRequest.java rename to proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceConfigRequest.java index 22282c60be8..80d5c4007ad 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceConfigRequest.java +++ b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceConfigRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto package com.google.spanner.admin.instance.v1; /** + * + * *
  * The request for
  * [GetInstanceConfigRequest][google.spanner.admin.instance.v1.InstanceAdmin.GetInstanceConfig].
@@ -11,54 +28,62 @@
  *
  * Protobuf type {@code google.spanner.admin.instance.v1.GetInstanceConfigRequest}
  */
-public final class GetInstanceConfigRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class GetInstanceConfigRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.instance.v1.GetInstanceConfigRequest)
     GetInstanceConfigRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use GetInstanceConfigRequest.newBuilder() to construct.
   private GetInstanceConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private GetInstanceConfigRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new GetInstanceConfigRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_GetInstanceConfigRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+        .internal_static_google_spanner_admin_instance_v1_GetInstanceConfigRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_GetInstanceConfigRequest_fieldAccessorTable
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+        .internal_static_google_spanner_admin_instance_v1_GetInstanceConfigRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.instance.v1.GetInstanceConfigRequest.class, com.google.spanner.admin.instance.v1.GetInstanceConfigRequest.Builder.class);
+            com.google.spanner.admin.instance.v1.GetInstanceConfigRequest.class,
+            com.google.spanner.admin.instance.v1.GetInstanceConfigRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Required. The name of the requested instance configuration. Values are of
    * the form `projects/<project>/instanceConfigs/<config>`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -67,30 +92,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 name of the requested instance configuration. Values are of
    * the form `projects/<project>/instanceConfigs/<config>`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -99,6 +126,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -110,8 +138,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -135,15 +162,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.instance.v1.GetInstanceConfigRequest)) { return super.equals(obj); } - com.google.spanner.admin.instance.v1.GetInstanceConfigRequest other = (com.google.spanner.admin.instance.v1.GetInstanceConfigRequest) obj; + com.google.spanner.admin.instance.v1.GetInstanceConfigRequest other = + (com.google.spanner.admin.instance.v1.GetInstanceConfigRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -163,96 +190,104 @@ public int hashCode() { } public static com.google.spanner.admin.instance.v1.GetInstanceConfigRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.instance.v1.GetInstanceConfigRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.admin.instance.v1.GetInstanceConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.instance.v1.GetInstanceConfigRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.admin.instance.v1.GetInstanceConfigRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.instance.v1.GetInstanceConfigRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.GetInstanceConfigRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.spanner.admin.instance.v1.GetInstanceConfigRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.instance.v1.GetInstanceConfigRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.GetInstanceConfigRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.spanner.admin.instance.v1.GetInstanceConfigRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.spanner.admin.instance.v1.GetInstanceConfigRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.spanner.admin.instance.v1.GetInstanceConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.instance.v1.GetInstanceConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.admin.instance.v1.GetInstanceConfigRequest prototype) { + + public static Builder newBuilder( + com.google.spanner.admin.instance.v1.GetInstanceConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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
    * [GetInstanceConfigRequest][google.spanner.admin.instance.v1.InstanceAdmin.GetInstanceConfig].
@@ -260,33 +295,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.spanner.admin.instance.v1.GetInstanceConfigRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.instance.v1.GetInstanceConfigRequest)
       com.google.spanner.admin.instance.v1.GetInstanceConfigRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_GetInstanceConfigRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+          .internal_static_google_spanner_admin_instance_v1_GetInstanceConfigRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_GetInstanceConfigRequest_fieldAccessorTable
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+          .internal_static_google_spanner_admin_instance_v1_GetInstanceConfigRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.instance.v1.GetInstanceConfigRequest.class, com.google.spanner.admin.instance.v1.GetInstanceConfigRequest.Builder.class);
+              com.google.spanner.admin.instance.v1.GetInstanceConfigRequest.class,
+              com.google.spanner.admin.instance.v1.GetInstanceConfigRequest.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.instance.v1.GetInstanceConfigRequest.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -296,13 +330,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_GetInstanceConfigRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+          .internal_static_google_spanner_admin_instance_v1_GetInstanceConfigRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.spanner.admin.instance.v1.GetInstanceConfigRequest getDefaultInstanceForType() {
+    public com.google.spanner.admin.instance.v1.GetInstanceConfigRequest
+        getDefaultInstanceForType() {
       return com.google.spanner.admin.instance.v1.GetInstanceConfigRequest.getDefaultInstance();
     }
 
@@ -317,13 +352,17 @@ public com.google.spanner.admin.instance.v1.GetInstanceConfigRequest build() {
 
     @java.lang.Override
     public com.google.spanner.admin.instance.v1.GetInstanceConfigRequest buildPartial() {
-      com.google.spanner.admin.instance.v1.GetInstanceConfigRequest result = new com.google.spanner.admin.instance.v1.GetInstanceConfigRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.spanner.admin.instance.v1.GetInstanceConfigRequest result =
+          new com.google.spanner.admin.instance.v1.GetInstanceConfigRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.spanner.admin.instance.v1.GetInstanceConfigRequest result) {
+    private void buildPartial0(
+        com.google.spanner.admin.instance.v1.GetInstanceConfigRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.name_ = name_;
@@ -334,38 +373,39 @@ private void buildPartial0(com.google.spanner.admin.instance.v1.GetInstanceConfi
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.instance.v1.GetInstanceConfigRequest) {
-        return mergeFrom((com.google.spanner.admin.instance.v1.GetInstanceConfigRequest)other);
+        return mergeFrom((com.google.spanner.admin.instance.v1.GetInstanceConfigRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -373,7 +413,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.spanner.admin.instance.v1.GetInstanceConfigRequest other) {
-      if (other == com.google.spanner.admin.instance.v1.GetInstanceConfigRequest.getDefaultInstance()) return this;
+      if (other
+          == com.google.spanner.admin.instance.v1.GetInstanceConfigRequest.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -405,17 +447,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) {
@@ -425,23 +469,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The name of the requested instance configuration. Values are of
      * the form `projects/<project>/instanceConfigs/<config>`.
      * 
* - * string name = 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,21 +499,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the requested instance configuration. Values are of
      * the form `projects/<project>/instanceConfigs/<config>`.
      * 
* - * string name = 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 { @@ -472,30 +524,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the requested instance configuration. Values are of
      * the form `projects/<project>/instanceConfigs/<config>`.
      * 
* - * 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 name of the requested instance configuration. Values are of
      * the form `projects/<project>/instanceConfigs/<config>`.
      * 
* - * string 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() { @@ -505,27 +568,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the requested instance configuration. Values are of
      * the form `projects/<project>/instanceConfigs/<config>`.
      * 
* - * 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); } @@ -535,12 +604,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.GetInstanceConfigRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.GetInstanceConfigRequest) - private static final com.google.spanner.admin.instance.v1.GetInstanceConfigRequest DEFAULT_INSTANCE; + private static final com.google.spanner.admin.instance.v1.GetInstanceConfigRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.GetInstanceConfigRequest(); } @@ -549,27 +619,27 @@ public static com.google.spanner.admin.instance.v1.GetInstanceConfigRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetInstanceConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetInstanceConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -584,6 +654,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.instance.v1.GetInstanceConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceConfigRequestOrBuilder.java b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceConfigRequestOrBuilder.java new file mode 100644 index 00000000000..4601a9598de --- /dev/null +++ b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceConfigRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/spanner/admin/instance/v1/spanner_instance_admin.proto + +package com.google.spanner.admin.instance.v1; + +public interface GetInstanceConfigRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.GetInstanceConfigRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the requested instance configuration. Values are of
+   * the form `projects/<project>/instanceConfigs/<config>`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the requested instance configuration. Values are of
+   * the form `projects/<project>/instanceConfigs/<config>`.
+   * 
+ * + * + * 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/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceRequest.java b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceRequest.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceRequest.java rename to proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceRequest.java index a925de033ed..5e5f96640b0 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceRequest.java +++ b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto package com.google.spanner.admin.instance.v1; /** + * + * *
  * The request for
  * [GetInstance][google.spanner.admin.instance.v1.InstanceAdmin.GetInstance].
@@ -11,54 +28,62 @@
  *
  * Protobuf type {@code google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.GetInstanceRequest)
     GetInstanceRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use GetInstanceRequest.newBuilder() to construct.
   private GetInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private GetInstanceRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new GetInstanceRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_GetInstanceRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+        .internal_static_google_spanner_admin_instance_v1_GetInstanceRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_GetInstanceRequest_fieldAccessorTable
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+        .internal_static_google_spanner_admin_instance_v1_GetInstanceRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.instance.v1.GetInstanceRequest.class, com.google.spanner.admin.instance.v1.GetInstanceRequest.Builder.class);
+            com.google.spanner.admin.instance.v1.GetInstanceRequest.class,
+            com.google.spanner.admin.instance.v1.GetInstanceRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Required. The 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 @@ -67,30 +92,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 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 { @@ -101,6 +128,8 @@ public java.lang.String getName() { public static final int FIELD_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask fieldMask_; /** + * + * *
    * If field_mask is present, specifies the subset of
    * [Instance][google.spanner.admin.instance.v1.Instance] fields that should be
@@ -109,6 +138,7 @@ public java.lang.String getName() {
    * 
* * .google.protobuf.FieldMask field_mask = 2; + * * @return Whether the fieldMask field is set. */ @java.lang.Override @@ -116,6 +146,8 @@ public boolean hasFieldMask() { return fieldMask_ != null; } /** + * + * *
    * If field_mask is present, specifies the subset of
    * [Instance][google.spanner.admin.instance.v1.Instance] fields that should be
@@ -124,6 +156,7 @@ public boolean hasFieldMask() {
    * 
* * .google.protobuf.FieldMask field_mask = 2; + * * @return The fieldMask. */ @java.lang.Override @@ -131,6 +164,8 @@ public com.google.protobuf.FieldMask getFieldMask() { return fieldMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : fieldMask_; } /** + * + * *
    * If field_mask is present, specifies the subset of
    * [Instance][google.spanner.admin.instance.v1.Instance] fields that should be
@@ -146,6 +181,7 @@ public com.google.protobuf.FieldMaskOrBuilder getFieldMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -157,8 +193,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -178,8 +213,7 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
     }
     if (fieldMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getFieldMask());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getFieldMask());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -189,19 +223,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.spanner.admin.instance.v1.GetInstanceRequest)) {
       return super.equals(obj);
     }
-    com.google.spanner.admin.instance.v1.GetInstanceRequest other = (com.google.spanner.admin.instance.v1.GetInstanceRequest) obj;
+    com.google.spanner.admin.instance.v1.GetInstanceRequest other =
+        (com.google.spanner.admin.instance.v1.GetInstanceRequest) obj;
 
-    if (!getName()
-        .equals(other.getName())) return false;
+    if (!getName().equals(other.getName())) return false;
     if (hasFieldMask() != other.hasFieldMask()) return false;
     if (hasFieldMask()) {
-      if (!getFieldMask()
-          .equals(other.getFieldMask())) return false;
+      if (!getFieldMask().equals(other.getFieldMask())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -226,96 +259,104 @@ public int hashCode() {
   }
 
   public static com.google.spanner.admin.instance.v1.GetInstanceRequest parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.GetInstanceRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.GetInstanceRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.GetInstanceRequest parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.spanner.admin.instance.v1.GetInstanceRequest parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.GetInstanceRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.spanner.admin.instance.v1.GetInstanceRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.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.spanner.admin.instance.v1.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.spanner.admin.instance.v1.GetInstanceRequest prototype) {
+
+  public static Builder newBuilder(
+      com.google.spanner.admin.instance.v1.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;
   }
   /**
+   *
+   *
    * 
    * The request for
    * [GetInstance][google.spanner.admin.instance.v1.InstanceAdmin.GetInstance].
@@ -323,33 +364,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.GetInstanceRequest)
       com.google.spanner.admin.instance.v1.GetInstanceRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_GetInstanceRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+          .internal_static_google_spanner_admin_instance_v1_GetInstanceRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_GetInstanceRequest_fieldAccessorTable
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+          .internal_static_google_spanner_admin_instance_v1_GetInstanceRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.instance.v1.GetInstanceRequest.class, com.google.spanner.admin.instance.v1.GetInstanceRequest.Builder.class);
+              com.google.spanner.admin.instance.v1.GetInstanceRequest.class,
+              com.google.spanner.admin.instance.v1.GetInstanceRequest.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.instance.v1.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();
@@ -364,9 +404,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_GetInstanceRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+          .internal_static_google_spanner_admin_instance_v1_GetInstanceRequest_descriptor;
     }
 
     @java.lang.Override
@@ -385,8 +425,11 @@ public com.google.spanner.admin.instance.v1.GetInstanceRequest build() {
 
     @java.lang.Override
     public com.google.spanner.admin.instance.v1.GetInstanceRequest buildPartial() {
-      com.google.spanner.admin.instance.v1.GetInstanceRequest result = new com.google.spanner.admin.instance.v1.GetInstanceRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.spanner.admin.instance.v1.GetInstanceRequest result =
+          new com.google.spanner.admin.instance.v1.GetInstanceRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -397,9 +440,7 @@ private void buildPartial0(com.google.spanner.admin.instance.v1.GetInstanceReque
         result.name_ = name_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.fieldMask_ = fieldMaskBuilder_ == null
-            ? fieldMask_
-            : fieldMaskBuilder_.build();
+        result.fieldMask_ = fieldMaskBuilder_ == null ? fieldMask_ : fieldMaskBuilder_.build();
       }
     }
 
@@ -407,38 +448,39 @@ private void buildPartial0(com.google.spanner.admin.instance.v1.GetInstanceReque
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.instance.v1.GetInstanceRequest) {
-        return mergeFrom((com.google.spanner.admin.instance.v1.GetInstanceRequest)other);
+        return mergeFrom((com.google.spanner.admin.instance.v1.GetInstanceRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -446,7 +488,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.spanner.admin.instance.v1.GetInstanceRequest other) {
-      if (other == com.google.spanner.admin.instance.v1.GetInstanceRequest.getDefaultInstance()) return this;
+      if (other == com.google.spanner.admin.instance.v1.GetInstanceRequest.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -481,24 +524,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getFieldMaskFieldBuilder().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(getFieldMaskFieldBuilder().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) {
@@ -508,23 +552,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The 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; @@ -533,21 +582,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The 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 { @@ -555,30 +607,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The 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 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() { @@ -588,18 +651,24 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The 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; @@ -609,8 +678,13 @@ public Builder setNameBytes( private com.google.protobuf.FieldMask fieldMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> fieldMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + fieldMaskBuilder_; /** + * + * *
      * If field_mask is present, specifies the subset of
      * [Instance][google.spanner.admin.instance.v1.Instance] fields that should be
@@ -619,12 +693,15 @@ public Builder setNameBytes(
      * 
* * .google.protobuf.FieldMask field_mask = 2; + * * @return Whether the fieldMask field is set. */ public boolean hasFieldMask() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * If field_mask is present, specifies the subset of
      * [Instance][google.spanner.admin.instance.v1.Instance] fields that should be
@@ -633,6 +710,7 @@ public boolean hasFieldMask() {
      * 
* * .google.protobuf.FieldMask field_mask = 2; + * * @return The fieldMask. */ public com.google.protobuf.FieldMask getFieldMask() { @@ -643,6 +721,8 @@ public com.google.protobuf.FieldMask getFieldMask() { } } /** + * + * *
      * If field_mask is present, specifies the subset of
      * [Instance][google.spanner.admin.instance.v1.Instance] fields that should be
@@ -666,6 +746,8 @@ public Builder setFieldMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If field_mask is present, specifies the subset of
      * [Instance][google.spanner.admin.instance.v1.Instance] fields that should be
@@ -675,8 +757,7 @@ public Builder setFieldMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask field_mask = 2;
      */
-    public Builder setFieldMask(
-        com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setFieldMask(com.google.protobuf.FieldMask.Builder builderForValue) {
       if (fieldMaskBuilder_ == null) {
         fieldMask_ = builderForValue.build();
       } else {
@@ -687,6 +768,8 @@ public Builder setFieldMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * If field_mask is present, specifies the subset of
      * [Instance][google.spanner.admin.instance.v1.Instance] fields that should be
@@ -698,9 +781,9 @@ public Builder setFieldMask(
      */
     public Builder mergeFieldMask(com.google.protobuf.FieldMask value) {
       if (fieldMaskBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0) &&
-          fieldMask_ != null &&
-          fieldMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0)
+            && fieldMask_ != null
+            && fieldMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) {
           getFieldMaskBuilder().mergeFrom(value);
         } else {
           fieldMask_ = value;
@@ -713,6 +796,8 @@ public Builder mergeFieldMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If field_mask is present, specifies the subset of
      * [Instance][google.spanner.admin.instance.v1.Instance] fields that should be
@@ -733,6 +818,8 @@ public Builder clearFieldMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * If field_mask is present, specifies the subset of
      * [Instance][google.spanner.admin.instance.v1.Instance] fields that should be
@@ -748,6 +835,8 @@ public com.google.protobuf.FieldMask.Builder getFieldMaskBuilder() {
       return getFieldMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * If field_mask is present, specifies the subset of
      * [Instance][google.spanner.admin.instance.v1.Instance] fields that should be
@@ -761,11 +850,12 @@ public com.google.protobuf.FieldMaskOrBuilder getFieldMaskOrBuilder() {
       if (fieldMaskBuilder_ != null) {
         return fieldMaskBuilder_.getMessageOrBuilder();
       } else {
-        return fieldMask_ == null ?
-            com.google.protobuf.FieldMask.getDefaultInstance() : fieldMask_;
+        return fieldMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : fieldMask_;
       }
     }
     /**
+     *
+     *
      * 
      * If field_mask is present, specifies the subset of
      * [Instance][google.spanner.admin.instance.v1.Instance] fields that should be
@@ -776,21 +866,24 @@ public com.google.protobuf.FieldMaskOrBuilder getFieldMaskOrBuilder() {
      * .google.protobuf.FieldMask field_mask = 2;
      */
     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>
         getFieldMaskFieldBuilder() {
       if (fieldMaskBuilder_ == null) {
-        fieldMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
-                getFieldMask(),
-                getParentForChildren(),
-                isClean());
+        fieldMaskBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.FieldMask,
+                com.google.protobuf.FieldMask.Builder,
+                com.google.protobuf.FieldMaskOrBuilder>(
+                getFieldMask(), getParentForChildren(), isClean());
         fieldMask_ = null;
       }
       return fieldMaskBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -800,12 +893,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.GetInstanceRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.GetInstanceRequest)
   private static final com.google.spanner.admin.instance.v1.GetInstanceRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.GetInstanceRequest();
   }
@@ -814,27 +907,27 @@ public static com.google.spanner.admin.instance.v1.GetInstanceRequest getDefault
     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;
@@ -849,6 +942,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.spanner.admin.instance.v1.GetInstanceRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceRequestOrBuilder.java b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceRequestOrBuilder.java
similarity index 66%
rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceRequestOrBuilder.java
rename to proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceRequestOrBuilder.java
index 37a15b4521a..32e35c95e21 100644
--- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceRequestOrBuilder.java
+++ b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceRequestOrBuilder.java
@@ -1,35 +1,62 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto
 
 package com.google.spanner.admin.instance.v1;
 
-public interface GetInstanceRequestOrBuilder extends
+public interface GetInstanceRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.GetInstanceRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The 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.String getName(); /** + * + * *
    * Required. The 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. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * If field_mask is present, specifies the subset of
    * [Instance][google.spanner.admin.instance.v1.Instance] fields that should be
@@ -38,10 +65,13 @@ public interface GetInstanceRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask field_mask = 2; + * * @return Whether the fieldMask field is set. */ boolean hasFieldMask(); /** + * + * *
    * If field_mask is present, specifies the subset of
    * [Instance][google.spanner.admin.instance.v1.Instance] fields that should be
@@ -50,10 +80,13 @@ public interface GetInstanceRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask field_mask = 2; + * * @return The fieldMask. */ com.google.protobuf.FieldMask getFieldMask(); /** + * + * *
    * If field_mask is present, specifies the subset of
    * [Instance][google.spanner.admin.instance.v1.Instance] fields that should be
diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/Instance.java b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/Instance.java
similarity index 73%
rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/Instance.java
rename to proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/Instance.java
index a0d44404b9f..b2adc5f5222 100644
--- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/Instance.java
+++ b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/Instance.java
@@ -1,24 +1,42 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto
 
 package com.google.spanner.admin.instance.v1;
 
 /**
+ *
+ *
  * 
  * An isolated set of Cloud Spanner resources on which databases can be hosted.
  * 
* * Protobuf type {@code google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.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_ = ""; config_ = ""; @@ -29,51 +47,54 @@ private Instance() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Instance(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_Instance_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto + .internal_static_google_spanner_admin_instance_v1_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 7: 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.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_Instance_fieldAccessorTable + return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto + .internal_static_google_spanner_admin_instance_v1_Instance_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.instance.v1.Instance.class, com.google.spanner.admin.instance.v1.Instance.Builder.class); + com.google.spanner.admin.instance.v1.Instance.class, + com.google.spanner.admin.instance.v1.Instance.Builder.class); } /** + * + * *
    * Indicates the current state of the instance.
    * 
* * Protobuf enum {@code google.spanner.admin.instance.v1.Instance.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Not specified.
      * 
@@ -82,6 +103,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The instance is still being created. Resources may not be
      * available yet, and operations such as database creation may not
@@ -92,6 +115,8 @@ public enum State
      */
     CREATING(1),
     /**
+     *
+     *
      * 
      * The instance is fully created and ready to do work such as
      * creating databases.
@@ -104,6 +129,8 @@ public enum State
     ;
 
     /**
+     *
+     *
      * 
      * Not specified.
      * 
@@ -112,6 +139,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The instance is still being created. Resources may not be
      * available yet, and operations such as database creation may not
@@ -122,6 +151,8 @@ public enum State
      */
     public static final int CREATING_VALUE = 1;
     /**
+     *
+     *
      * 
      * The instance is fully created and ready to do work such as
      * creating databases.
@@ -131,7 +162,6 @@ public enum State
      */
     public static final int READY_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -156,49 +186,49 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0: return STATE_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.spanner.admin.instance.v1.Instance.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final State[] VALUES = values();
 
-    public static State valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -216,9 +246,12 @@ private State(int value) {
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Required. A unique identifier for the instance, which cannot be changed
    * after the instance is created. Values are of the form
@@ -227,6 +260,7 @@ private State(int value) {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -235,14 +269,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; } } /** + * + * *
    * Required. A unique identifier for the instance, which cannot be changed
    * after the instance is created. Values are of the form
@@ -251,16 +286,15 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -269,9 +303,12 @@ public java.lang.String getName() { } public static final int CONFIG_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object config_ = ""; /** + * + * *
    * Required. The name of the instance's configuration. Values are of the form
    * `projects/<project>/instanceConfigs/<configuration>`. See
@@ -279,7 +316,10 @@ public java.lang.String getName() {
    * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs].
    * 
* - * string config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The config. */ @java.lang.Override @@ -288,14 +328,15 @@ public java.lang.String getConfig() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); config_ = s; return s; } } /** + * + * *
    * Required. The name of the instance's configuration. Values are of the form
    * `projects/<project>/instanceConfigs/<configuration>`. See
@@ -303,17 +344,18 @@ public java.lang.String getConfig() {
    * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs].
    * 
* - * string config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for config. */ @java.lang.Override - public com.google.protobuf.ByteString - getConfigBytes() { + public com.google.protobuf.ByteString getConfigBytes() { java.lang.Object ref = config_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); config_ = b; return b; } else { @@ -322,15 +364,19 @@ public java.lang.String getConfig() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * Required. The descriptive name for this instance as it appears in UIs.
    * Must be unique per project and between 4 and 30 characters in length.
    * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ @java.lang.Override @@ -339,30 +385,30 @@ 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.
    * Must be unique per project and between 4 and 30 characters in length.
    * 
* * string display_name = 3 [(.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 { @@ -373,6 +419,8 @@ public java.lang.String getDisplayName() { public static final int NODE_COUNT_FIELD_NUMBER = 5; private int nodeCount_ = 0; /** + * + * *
    * The number of nodes allocated to this instance. At most one of either
    * node_count or processing_units should be present in the message. This
@@ -384,6 +432,7 @@ public java.lang.String getDisplayName() {
    * 
* * int32 node_count = 5; + * * @return The nodeCount. */ @java.lang.Override @@ -394,6 +443,8 @@ public int getNodeCount() { public static final int PROCESSING_UNITS_FIELD_NUMBER = 9; private int processingUnits_ = 0; /** + * + * *
    * The number of processing units allocated to this instance. At most one of
    * processing_units or node_count should be present in the message. This may
@@ -404,6 +455,7 @@ public int getNodeCount() {
    * 
* * int32 processing_units = 9; + * * @return The processingUnits. */ @java.lang.Override @@ -414,6 +466,8 @@ public int getProcessingUnits() { public static final int STATE_FIELD_NUMBER = 6; private int state_ = 0; /** + * + * *
    * Output only. The current instance state. For
    * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance],
@@ -422,13 +476,19 @@ public int getProcessingUnits() {
    * the state must be either omitted or set to `READY`.
    * 
* - * .google.spanner.admin.instance.v1.Instance.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.instance.v1.Instance.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * Output only. The current instance state. For
    * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance],
@@ -437,41 +497,50 @@ public int getProcessingUnits() {
    * the state must be either omitted or set to `READY`.
    * 
* - * .google.spanner.admin.instance.v1.Instance.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.instance.v1.Instance.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.spanner.admin.instance.v1.Instance.State getState() { - com.google.spanner.admin.instance.v1.Instance.State result = com.google.spanner.admin.instance.v1.Instance.State.forNumber(state_); - return result == null ? com.google.spanner.admin.instance.v1.Instance.State.UNRECOGNIZED : result; + @java.lang.Override + public com.google.spanner.admin.instance.v1.Instance.State getState() { + com.google.spanner.admin.instance.v1.Instance.State result = + com.google.spanner.admin.instance.v1.Instance.State.forNumber(state_); + return result == null + ? com.google.spanner.admin.instance.v1.Instance.State.UNRECOGNIZED + : result; } public static final int LABELS_FIELD_NUMBER = 7; + 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.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_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.spanner.admin.instance.v1.SpannerInstanceAdminProto + .internal_static_google_spanner_admin_instance_v1_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(); } /** + * + * *
    * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -496,20 +565,21 @@ public int getLabelsCount() {
    * map<string, string> labels = 7;
    */
   @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();
   }
   /**
+   *
+   *
    * 
    * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -538,6 +608,8 @@ public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
+   *
+   *
    * 
    * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -562,17 +634,19 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 7;
    */
   @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;
   }
   /**
+   *
+   *
    * 
    * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -597,11 +671,11 @@ java.lang.String getLabelsOrDefault(
    * map<string, string> labels = 7;
    */
   @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();
     }
@@ -609,37 +683,46 @@ public java.lang.String getLabelsOrThrow(
   }
 
   public static final int ENDPOINT_URIS_FIELD_NUMBER = 8;
+
   @SuppressWarnings("serial")
   private com.google.protobuf.LazyStringList endpointUris_;
   /**
+   *
+   *
    * 
    * Deprecated. This field is not populated.
    * 
* * repeated string endpoint_uris = 8; + * * @return A list containing the endpointUris. */ - public com.google.protobuf.ProtocolStringList - getEndpointUrisList() { + public com.google.protobuf.ProtocolStringList getEndpointUrisList() { return endpointUris_; } /** + * + * *
    * Deprecated. This field is not populated.
    * 
* * repeated string endpoint_uris = 8; + * * @return The count of endpointUris. */ public int getEndpointUrisCount() { return endpointUris_.size(); } /** + * + * *
    * Deprecated. This field is not populated.
    * 
* * repeated string endpoint_uris = 8; + * * @param index The index of the element to return. * @return The endpointUris at the given index. */ @@ -647,27 +730,33 @@ public java.lang.String getEndpointUris(int index) { return endpointUris_.get(index); } /** + * + * *
    * Deprecated. This field is not populated.
    * 
* * repeated string endpoint_uris = 8; + * * @param index The index of the value to return. * @return The bytes of the endpointUris at the given index. */ - public com.google.protobuf.ByteString - getEndpointUrisBytes(int index) { + public com.google.protobuf.ByteString getEndpointUrisBytes(int index) { return endpointUris_.getByteString(index); } public static final int CREATE_TIME_FIELD_NUMBER = 11; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. The time at which the instance was created.
    * 
* - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -675,11 +764,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The time at which the instance was created.
    * 
* - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -687,11 +780,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The time at which the instance was created.
    * 
* - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -701,11 +797,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 12; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. The time at which the instance was most recently updated.
    * 
* - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -713,11 +813,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. The time at which the instance was most recently updated.
    * 
* - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -725,11 +829,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. The time at which the instance was most recently updated.
    * 
* - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -737,6 +844,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -748,8 +856,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_); } @@ -762,15 +869,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (nodeCount_ != 0) { output.writeInt32(5, nodeCount_); } - if (state_ != com.google.spanner.admin.instance.v1.Instance.State.STATE_UNSPECIFIED.getNumber()) { + if (state_ + != com.google.spanner.admin.instance.v1.Instance.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(6, state_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 7); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 7); for (int i = 0; i < endpointUris_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, endpointUris_.getRaw(i)); } @@ -802,22 +906,21 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, displayName_); } if (nodeCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(5, nodeCount_); - } - if (state_ != com.google.spanner.admin.instance.v1.Instance.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(6, state_); - } - 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(7, labels__); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, nodeCount_); + } + if (state_ + != com.google.spanner.admin.instance.v1.Instance.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, state_); + } + 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(7, labels__); } { int dataSize = 0; @@ -828,16 +931,13 @@ public int getSerializedSize() { size += 1 * getEndpointUrisList().size(); } if (processingUnits_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(9, processingUnits_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(9, processingUnits_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getUpdateTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -847,37 +947,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.spanner.admin.instance.v1.Instance)) { return super.equals(obj); } - com.google.spanner.admin.instance.v1.Instance other = (com.google.spanner.admin.instance.v1.Instance) obj; - - if (!getName() - .equals(other.getName())) return false; - if (!getConfig() - .equals(other.getConfig())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (getNodeCount() - != other.getNodeCount()) return false; - if (getProcessingUnits() - != other.getProcessingUnits()) return false; + com.google.spanner.admin.instance.v1.Instance other = + (com.google.spanner.admin.instance.v1.Instance) obj; + + if (!getName().equals(other.getName())) return false; + if (!getConfig().equals(other.getConfig())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (getNodeCount() != other.getNodeCount()) return false; + if (getProcessingUnits() != other.getProcessingUnits()) return false; if (state_ != other.state_) return false; - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; - if (!getEndpointUrisList() - .equals(other.getEndpointUrisList())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!getEndpointUrisList().equals(other.getEndpointUrisList())) 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 (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -923,152 +1015,156 @@ public int hashCode() { return hash; } - public static com.google.spanner.admin.instance.v1.Instance parseFrom( - java.nio.ByteBuffer data) + public static com.google.spanner.admin.instance.v1.Instance parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.Instance parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.Instance parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.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.spanner.admin.instance.v1.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.spanner.admin.instance.v1.Instance parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.spanner.admin.instance.v1.Instance parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.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.spanner.admin.instance.v1.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.spanner.admin.instance.v1.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; } /** + * + * *
    * An isolated set of Cloud Spanner resources on which databases can be hosted.
    * 
* * Protobuf type {@code google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.Instance) com.google.spanner.admin.instance.v1.InstanceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_Instance_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto + .internal_static_google_spanner_admin_instance_v1_Instance_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 7: 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 7: 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.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_Instance_fieldAccessorTable + return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto + .internal_static_google_spanner_admin_instance_v1_Instance_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.instance.v1.Instance.class, com.google.spanner.admin.instance.v1.Instance.Builder.class); + com.google.spanner.admin.instance.v1.Instance.class, + com.google.spanner.admin.instance.v1.Instance.Builder.class); } // Construct using com.google.spanner.admin.instance.v1.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(); @@ -1096,9 +1192,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_Instance_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto + .internal_static_google_spanner_admin_instance_v1_Instance_descriptor; } @java.lang.Override @@ -1117,9 +1213,12 @@ public com.google.spanner.admin.instance.v1.Instance build() { @java.lang.Override public com.google.spanner.admin.instance.v1.Instance buildPartial() { - com.google.spanner.admin.instance.v1.Instance result = new com.google.spanner.admin.instance.v1.Instance(this); + com.google.spanner.admin.instance.v1.Instance result = + new com.google.spanner.admin.instance.v1.Instance(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -1157,14 +1256,10 @@ private void buildPartial0(com.google.spanner.admin.instance.v1.Instance result) result.labels_.makeImmutable(); } if (((from_bitField0_ & 0x00000100) != 0)) { - result.createTime_ = createTimeBuilder_ == null - ? createTime_ - : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000200) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null - ? updateTime_ - : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); } } @@ -1172,38 +1267,39 @@ private void buildPartial0(com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.Instance) { - return mergeFrom((com.google.spanner.admin.instance.v1.Instance)other); + return mergeFrom((com.google.spanner.admin.instance.v1.Instance) other); } else { super.mergeFrom(other); return this; @@ -1236,8 +1332,7 @@ public Builder mergeFrom(com.google.spanner.admin.instance.v1.Instance other) { if (other.state_ != 0) { setStateValue(other.getStateValue()); } - internalGetMutableLabels().mergeFrom( - other.internalGetLabels()); + internalGetMutableLabels().mergeFrom(other.internalGetLabels()); bitField0_ |= 0x00000040; if (!other.endpointUris_.isEmpty()) { if (endpointUris_.isEmpty()) { @@ -1281,71 +1376,80 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - config_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 40: { - nodeCount_ = input.readInt32(); - bitField0_ |= 0x00000008; - break; - } // case 40 - case 48: { - state_ = input.readEnum(); - bitField0_ |= 0x00000020; - break; - } // case 48 - case 58: { - com.google.protobuf.MapEntry - labels__ = input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableLabels().getMutableMap().put( - labels__.getKey(), labels__.getValue()); - bitField0_ |= 0x00000040; - break; - } // case 58 - case 66: { - java.lang.String s = input.readStringRequireUtf8(); - ensureEndpointUrisIsMutable(); - endpointUris_.add(s); - break; - } // case 66 - case 72: { - processingUnits_ = input.readInt32(); - bitField0_ |= 0x00000010; - break; - } // case 72 - case 90: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000100; - break; - } // case 90 - case 98: { - input.readMessage( - getUpdateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000200; - break; - } // case 98 - 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: + { + config_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 40: + { + nodeCount_ = input.readInt32(); + bitField0_ |= 0x00000008; + break; + } // case 40 + case 48: + { + state_ = input.readEnum(); + bitField0_ |= 0x00000020; + break; + } // case 48 + case 58: + { + com.google.protobuf.MapEntry labels__ = + input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableLabels() + .getMutableMap() + .put(labels__.getKey(), labels__.getValue()); + bitField0_ |= 0x00000040; + break; + } // case 58 + case 66: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureEndpointUrisIsMutable(); + endpointUris_.add(s); + break; + } // case 66 + case 72: + { + processingUnits_ = input.readInt32(); + bitField0_ |= 0x00000010; + break; + } // case 72 + case 90: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000100; + break; + } // case 90 + case 98: + { + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000200; + break; + } // case 98 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1355,10 +1459,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. A unique identifier for the instance, which cannot be changed
      * after the instance is created. Values are of the form
@@ -1367,13 +1474,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -1382,6 +1489,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. A unique identifier for the instance, which cannot be changed
      * after the instance is created. Values are of the form
@@ -1390,15 +1499,14 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -1406,6 +1514,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. A unique identifier for the instance, which cannot be changed
      * after the instance is created. Values are of the form
@@ -1414,18 +1524,22 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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. A unique identifier for the instance, which cannot be changed
      * after the instance is created. Values are of the form
@@ -1434,6 +1548,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1443,6 +1558,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. A unique identifier for the instance, which cannot be changed
      * after the instance is created. Values are of the form
@@ -1451,12 +1568,14 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -1466,6 +1585,8 @@ public Builder setNameBytes( private java.lang.Object config_ = ""; /** + * + * *
      * Required. The name of the instance's configuration. Values are of the form
      * `projects/<project>/instanceConfigs/<configuration>`. See
@@ -1473,14 +1594,16 @@ public Builder setNameBytes(
      * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs].
      * 
* - * string config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The config. */ public java.lang.String getConfig() { java.lang.Object ref = config_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); config_ = s; return s; @@ -1489,6 +1612,8 @@ public java.lang.String getConfig() { } } /** + * + * *
      * Required. The name of the instance's configuration. Values are of the form
      * `projects/<project>/instanceConfigs/<configuration>`. See
@@ -1496,16 +1621,17 @@ public java.lang.String getConfig() {
      * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs].
      * 
* - * string config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for config. */ - public com.google.protobuf.ByteString - getConfigBytes() { + public com.google.protobuf.ByteString getConfigBytes() { java.lang.Object ref = config_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); config_ = b; return b; } else { @@ -1513,6 +1639,8 @@ public java.lang.String getConfig() { } } /** + * + * *
      * Required. The name of the instance's configuration. Values are of the form
      * `projects/<project>/instanceConfigs/<configuration>`. See
@@ -1520,19 +1648,25 @@ public java.lang.String getConfig() {
      * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs].
      * 
* - * string config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The config to set. * @return This builder for chaining. */ - public Builder setConfig( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setConfig(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } config_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. The name of the instance's configuration. Values are of the form
      * `projects/<project>/instanceConfigs/<configuration>`. See
@@ -1540,7 +1674,10 @@ public Builder setConfig(
      * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs].
      * 
* - * string config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearConfig() { @@ -1550,6 +1687,8 @@ public Builder clearConfig() { return this; } /** + * + * *
      * Required. The name of the instance's configuration. Values are of the form
      * `projects/<project>/instanceConfigs/<configuration>`. See
@@ -1557,13 +1696,17 @@ public Builder clearConfig() {
      * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs].
      * 
* - * string config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for config to set. * @return This builder for chaining. */ - public Builder setConfigBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setConfigBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); config_ = value; bitField0_ |= 0x00000002; @@ -1573,19 +1716,21 @@ public Builder setConfigBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * Required. The descriptive name for this instance as it appears in UIs.
      * Must be unique per project and between 4 and 30 characters in length.
      * 
* * string display_name = 3 [(.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; @@ -1594,21 +1739,22 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Required. The descriptive name for this instance as it appears in UIs.
      * Must be unique per project and between 4 and 30 characters in length.
      * 
* * string display_name = 3 [(.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 { @@ -1616,30 +1762,37 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Required. The descriptive name for this instance as it appears in UIs.
      * Must be unique per project and between 4 and 30 characters in length.
      * 
* * string display_name = 3 [(.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_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Required. The descriptive name for this instance as it appears in UIs.
      * Must be unique per project and between 4 and 30 characters in length.
      * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1649,18 +1802,22 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * Required. The descriptive name for this instance as it appears in UIs.
      * Must be unique per project and between 4 and 30 characters in length.
      * 
* * string display_name = 3 [(.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_ |= 0x00000004; @@ -1668,8 +1825,10 @@ public Builder setDisplayNameBytes( return this; } - private int nodeCount_ ; + private int nodeCount_; /** + * + * *
      * The number of nodes allocated to this instance. At most one of either
      * node_count or processing_units should be present in the message. This
@@ -1681,6 +1840,7 @@ public Builder setDisplayNameBytes(
      * 
* * int32 node_count = 5; + * * @return The nodeCount. */ @java.lang.Override @@ -1688,6 +1848,8 @@ public int getNodeCount() { return nodeCount_; } /** + * + * *
      * The number of nodes allocated to this instance. At most one of either
      * node_count or processing_units should be present in the message. This
@@ -1699,17 +1861,20 @@ public int getNodeCount() {
      * 
* * int32 node_count = 5; + * * @param value The nodeCount to set. * @return This builder for chaining. */ public Builder setNodeCount(int value) { - + nodeCount_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * The number of nodes allocated to this instance. At most one of either
      * node_count or processing_units should be present in the message. This
@@ -1721,6 +1886,7 @@ public Builder setNodeCount(int value) {
      * 
* * int32 node_count = 5; + * * @return This builder for chaining. */ public Builder clearNodeCount() { @@ -1730,8 +1896,10 @@ public Builder clearNodeCount() { return this; } - private int processingUnits_ ; + private int processingUnits_; /** + * + * *
      * The number of processing units allocated to this instance. At most one of
      * processing_units or node_count should be present in the message. This may
@@ -1742,6 +1910,7 @@ public Builder clearNodeCount() {
      * 
* * int32 processing_units = 9; + * * @return The processingUnits. */ @java.lang.Override @@ -1749,6 +1918,8 @@ public int getProcessingUnits() { return processingUnits_; } /** + * + * *
      * The number of processing units allocated to this instance. At most one of
      * processing_units or node_count should be present in the message. This may
@@ -1759,17 +1930,20 @@ public int getProcessingUnits() {
      * 
* * int32 processing_units = 9; + * * @param value The processingUnits to set. * @return This builder for chaining. */ public Builder setProcessingUnits(int value) { - + processingUnits_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * The number of processing units allocated to this instance. At most one of
      * processing_units or node_count should be present in the message. This may
@@ -1780,6 +1954,7 @@ public Builder setProcessingUnits(int value) {
      * 
* * int32 processing_units = 9; + * * @return This builder for chaining. */ public Builder clearProcessingUnits() { @@ -1791,6 +1966,8 @@ public Builder clearProcessingUnits() { private int state_ = 0; /** + * + * *
      * Output only. The current instance state. For
      * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance],
@@ -1799,13 +1976,19 @@ public Builder clearProcessingUnits() {
      * the state must be either omitted or set to `READY`.
      * 
* - * .google.spanner.admin.instance.v1.Instance.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.instance.v1.Instance.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * Output only. The current instance state. For
      * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance],
@@ -1814,7 +1997,10 @@ public Builder clearProcessingUnits() {
      * the state must be either omitted or set to `READY`.
      * 
* - * .google.spanner.admin.instance.v1.Instance.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.instance.v1.Instance.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -1825,6 +2011,8 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
      * Output only. The current instance state. For
      * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance],
@@ -1833,15 +2021,23 @@ public Builder setStateValue(int value) {
      * the state must be either omitted or set to `READY`.
      * 
* - * .google.spanner.admin.instance.v1.Instance.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.instance.v1.Instance.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.spanner.admin.instance.v1.Instance.State getState() { - com.google.spanner.admin.instance.v1.Instance.State result = com.google.spanner.admin.instance.v1.Instance.State.forNumber(state_); - return result == null ? com.google.spanner.admin.instance.v1.Instance.State.UNRECOGNIZED : result; + com.google.spanner.admin.instance.v1.Instance.State result = + com.google.spanner.admin.instance.v1.Instance.State.forNumber(state_); + return result == null + ? com.google.spanner.admin.instance.v1.Instance.State.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. The current instance state. For
      * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance],
@@ -1850,7 +2046,10 @@ public com.google.spanner.admin.instance.v1.Instance.State getState() {
      * the state must be either omitted or set to `READY`.
      * 
* - * .google.spanner.admin.instance.v1.Instance.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.instance.v1.Instance.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ @@ -1864,6 +2063,8 @@ public Builder setState(com.google.spanner.admin.instance.v1.Instance.State valu return this; } /** + * + * *
      * Output only. The current instance state. For
      * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance],
@@ -1872,7 +2073,10 @@ public Builder setState(com.google.spanner.admin.instance.v1.Instance.State valu
      * the state must be either omitted or set to `READY`.
      * 
* - * .google.spanner.admin.instance.v1.Instance.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.instance.v1.Instance.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { @@ -1882,21 +2086,19 @@ public Builder clearState() { 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(); @@ -1905,10 +2107,13 @@ public Builder clearState() { onChanged(); return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -1933,20 +2138,21 @@ public int getLabelsCount() {
      * map<string, string> labels = 7;
      */
     @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();
     }
     /**
+     *
+     *
      * 
      * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -1975,6 +2181,8 @@ public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
+     *
+     *
      * 
      * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -1999,17 +2207,19 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 7;
      */
     @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;
     }
     /**
+     *
+     *
      * 
      * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -2034,23 +2244,25 @@ java.lang.String getLabelsOrDefault(
      * map<string, string> labels = 7;
      */
     @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_ & ~0x00000040);
-      internalGetMutableLabels().getMutableMap()
-          .clear();
+      internalGetMutableLabels().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -2074,23 +2286,22 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 7;
      */
-    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_ |= 0x00000040;
       return internalGetMutableLabels().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -2114,17 +2325,20 @@ public Builder removeLabels(
      *
      * map<string, string> labels = 7;
      */
-    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_ |= 0x00000040;
       return this;
     }
     /**
+     *
+     *
      * 
      * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -2148,50 +2362,58 @@ public Builder putLabels(
      *
      * map<string, string> labels = 7;
      */
-    public Builder putAllLabels(
-        java.util.Map values) {
-      internalGetMutableLabels().getMutableMap()
-          .putAll(values);
+    public Builder putAllLabels(java.util.Map values) {
+      internalGetMutableLabels().getMutableMap().putAll(values);
       bitField0_ |= 0x00000040;
       return this;
     }
 
-    private com.google.protobuf.LazyStringList endpointUris_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+    private com.google.protobuf.LazyStringList endpointUris_ =
+        com.google.protobuf.LazyStringArrayList.EMPTY;
+
     private void ensureEndpointUrisIsMutable() {
       if (!((bitField0_ & 0x00000080) != 0)) {
         endpointUris_ = new com.google.protobuf.LazyStringArrayList(endpointUris_);
         bitField0_ |= 0x00000080;
-       }
+      }
     }
     /**
+     *
+     *
      * 
      * Deprecated. This field is not populated.
      * 
* * repeated string endpoint_uris = 8; + * * @return A list containing the endpointUris. */ - public com.google.protobuf.ProtocolStringList - getEndpointUrisList() { + public com.google.protobuf.ProtocolStringList getEndpointUrisList() { return endpointUris_.getUnmodifiableView(); } /** + * + * *
      * Deprecated. This field is not populated.
      * 
* * repeated string endpoint_uris = 8; + * * @return The count of endpointUris. */ public int getEndpointUrisCount() { return endpointUris_.size(); } /** + * + * *
      * Deprecated. This field is not populated.
      * 
* * repeated string endpoint_uris = 8; + * * @param index The index of the element to return. * @return The endpointUris at the given index. */ @@ -2199,76 +2421,90 @@ public java.lang.String getEndpointUris(int index) { return endpointUris_.get(index); } /** + * + * *
      * Deprecated. This field is not populated.
      * 
* * repeated string endpoint_uris = 8; + * * @param index The index of the value to return. * @return The bytes of the endpointUris at the given index. */ - public com.google.protobuf.ByteString - getEndpointUrisBytes(int index) { + public com.google.protobuf.ByteString getEndpointUrisBytes(int index) { return endpointUris_.getByteString(index); } /** + * + * *
      * Deprecated. This field is not populated.
      * 
* * repeated string endpoint_uris = 8; + * * @param index The index to set the value at. * @param value The endpointUris to set. * @return This builder for chaining. */ - public Builder setEndpointUris( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEndpointUris(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureEndpointUrisIsMutable(); endpointUris_.set(index, value); onChanged(); return this; } /** + * + * *
      * Deprecated. This field is not populated.
      * 
* * repeated string endpoint_uris = 8; + * * @param value The endpointUris to add. * @return This builder for chaining. */ - public Builder addEndpointUris( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addEndpointUris(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureEndpointUrisIsMutable(); endpointUris_.add(value); onChanged(); return this; } /** + * + * *
      * Deprecated. This field is not populated.
      * 
* * repeated string endpoint_uris = 8; + * * @param values The endpointUris to add. * @return This builder for chaining. */ - public Builder addAllEndpointUris( - java.lang.Iterable values) { + public Builder addAllEndpointUris(java.lang.Iterable values) { ensureEndpointUrisIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, endpointUris_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, endpointUris_); onChanged(); return this; } /** + * + * *
      * Deprecated. This field is not populated.
      * 
* * repeated string endpoint_uris = 8; + * * @return This builder for chaining. */ public Builder clearEndpointUris() { @@ -2278,17 +2514,21 @@ public Builder clearEndpointUris() { return this; } /** + * + * *
      * Deprecated. This field is not populated.
      * 
* * repeated string endpoint_uris = 8; + * * @param value The bytes of the endpointUris to add. * @return This builder for chaining. */ - public Builder addEndpointUrisBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addEndpointUrisBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureEndpointUrisIsMutable(); endpointUris_.add(value); @@ -2298,39 +2538,58 @@ public Builder addEndpointUrisBytes( 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 at which the instance was created.
      * 
* - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000100) != 0); } /** + * + * *
      * Output only. The time at which the instance was created.
      * 
* - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time at which the instance was created.
      * 
* - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -2346,14 +2605,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time at which the instance was created.
      * 
* - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 11 [(.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 { @@ -2364,17 +2626,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The time at which the instance was created.
      * 
* - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000100) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -2387,11 +2653,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time at which the instance was created.
      * 
* - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000100); @@ -2404,11 +2674,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The time at which the instance was created.
      * 
* - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000100; @@ -2416,36 +2690,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time at which the instance was created.
      * 
* - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Output only. The time at which the instance was created.
      * 
* - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 11 [(.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_; @@ -2453,39 +2739,58 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
      * Output only. The time at which the instance was most recently updated.
      * 
* - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000200) != 0); } /** + * + * *
      * Output only. The time at which the instance was most recently updated.
      * 
* - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time at which the instance was most recently updated.
      * 
* - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -2501,14 +2806,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time at which the instance was most recently updated.
      * 
* - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -2519,17 +2827,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. The time at which the instance was most recently updated.
      * 
* - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000200) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000200) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -2542,11 +2854,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time at which the instance was most recently updated.
      * 
* - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000200); @@ -2559,11 +2875,15 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. The time at which the instance was most recently updated.
      * 
* - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000200; @@ -2571,43 +2891,55 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time at which the instance was most recently updated.
      * 
* - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } } /** + * + * *
      * Output only. The time at which the instance was most recently updated.
      * 
* - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 12 [(.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> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), - getParentForChildren(), - isClean()); + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); updateTime_ = null; } return updateTimeBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2617,12 +2949,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.Instance) } // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.Instance) private static final com.google.spanner.admin.instance.v1.Instance DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.Instance(); } @@ -2631,27 +2963,27 @@ public static com.google.spanner.admin.instance.v1.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; @@ -2666,6 +2998,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.instance.v1.Instance getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceConfig.java b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceConfig.java similarity index 74% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceConfig.java rename to proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceConfig.java index 11c7bc6d571..e8b1cd418e3 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceConfig.java +++ b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceConfig.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto package com.google.spanner.admin.instance.v1; /** + * + * *
  * A possible configuration for a Cloud Spanner instance. Configurations
  * define the geographic placement of nodes and their replication.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.spanner.admin.instance.v1.InstanceConfig}
  */
-public final class InstanceConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class InstanceConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.instance.v1.InstanceConfig)
     InstanceConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use InstanceConfig.newBuilder() to construct.
   private InstanceConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private InstanceConfig() {
     name_ = "";
     displayName_ = "";
@@ -34,51 +52,54 @@ private InstanceConfig() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new InstanceConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_InstanceConfig_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+        .internal_static_google_spanner_admin_instance_v1_InstanceConfig_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 8:
         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.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_InstanceConfig_fieldAccessorTable
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+        .internal_static_google_spanner_admin_instance_v1_InstanceConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.instance.v1.InstanceConfig.class, com.google.spanner.admin.instance.v1.InstanceConfig.Builder.class);
+            com.google.spanner.admin.instance.v1.InstanceConfig.class,
+            com.google.spanner.admin.instance.v1.InstanceConfig.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * The type of this configuration.
    * 
* * Protobuf enum {@code google.spanner.admin.instance.v1.InstanceConfig.Type} */ - public enum Type - implements com.google.protobuf.ProtocolMessageEnum { + public enum Type implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified.
      * 
@@ -87,6 +108,8 @@ public enum Type */ TYPE_UNSPECIFIED(0), /** + * + * *
      * Google managed configuration.
      * 
@@ -95,6 +118,8 @@ public enum Type */ GOOGLE_MANAGED(1), /** + * + * *
      * User managed configuration.
      * 
@@ -106,6 +131,8 @@ public enum Type ; /** + * + * *
      * Unspecified.
      * 
@@ -114,6 +141,8 @@ public enum Type */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Google managed configuration.
      * 
@@ -122,6 +151,8 @@ public enum Type */ public static final int GOOGLE_MANAGED_VALUE = 1; /** + * + * *
      * User managed configuration.
      * 
@@ -130,7 +161,6 @@ public enum Type */ public static final int USER_MANAGED_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -155,49 +185,51 @@ public static Type valueOf(int value) { */ public static Type forNumber(int value) { switch (value) { - case 0: return TYPE_UNSPECIFIED; - case 1: return GOOGLE_MANAGED; - case 2: return USER_MANAGED; - default: return null; + case 0: + return TYPE_UNSPECIFIED; + case 1: + return GOOGLE_MANAGED; + case 2: + return USER_MANAGED; + 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.spanner.admin.instance.v1.InstanceConfig.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.spanner.admin.instance.v1.InstanceConfig.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; @@ -215,15 +247,18 @@ private Type(int value) { } /** + * + * *
    * Indicates the current state of the instance config.
    * 
* * Protobuf enum {@code google.spanner.admin.instance.v1.InstanceConfig.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Not specified.
      * 
@@ -232,6 +267,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The instance config is still being created.
      * 
@@ -240,6 +277,8 @@ public enum State */ CREATING(1), /** + * + * *
      * The instance config is fully created and ready to be used to create
      * instances.
@@ -252,6 +291,8 @@ public enum State
     ;
 
     /**
+     *
+     *
      * 
      * Not specified.
      * 
@@ -260,6 +301,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The instance config is still being created.
      * 
@@ -268,6 +311,8 @@ public enum State */ public static final int CREATING_VALUE = 1; /** + * + * *
      * The instance config is fully created and ready to be used to create
      * instances.
@@ -277,7 +322,6 @@ public enum State
      */
     public static final int READY_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -302,49 +346,51 @@ 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() {
-      return com.google.spanner.admin.instance.v1.InstanceConfig.getDescriptor().getEnumTypes().get(1);
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+      return com.google.spanner.admin.instance.v1.InstanceConfig.getDescriptor()
+          .getEnumTypes()
+          .get(1);
     }
 
     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;
@@ -362,9 +408,12 @@ private State(int value) {
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * A unique identifier for the instance configuration.  Values
    * are of the form
@@ -372,6 +421,7 @@ private State(int value) {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -380,14 +430,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 unique identifier for the instance configuration.  Values
    * are of the form
@@ -395,16 +446,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 { @@ -413,14 +463,18 @@ public java.lang.String getName() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * The name of this instance configuration as it appears in UIs.
    * 
* * string display_name = 2; + * * @return The displayName. */ @java.lang.Override @@ -429,29 +483,29 @@ 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; } } /** + * + * *
    * The name of this instance configuration as it appears in UIs.
    * 
* * string display_name = 2; + * * @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 { @@ -462,35 +516,53 @@ public java.lang.String getDisplayName() { public static final int CONFIG_TYPE_FIELD_NUMBER = 5; private int configType_ = 0; /** + * + * *
    * Output only. Whether this instance config is a Google or User Managed
    * Configuration.
    * 
* - * .google.spanner.admin.instance.v1.InstanceConfig.Type config_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.instance.v1.InstanceConfig.Type config_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for configType. */ - @java.lang.Override public int getConfigTypeValue() { + @java.lang.Override + public int getConfigTypeValue() { return configType_; } /** + * + * *
    * Output only. Whether this instance config is a Google or User Managed
    * Configuration.
    * 
* - * .google.spanner.admin.instance.v1.InstanceConfig.Type config_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.instance.v1.InstanceConfig.Type config_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The configType. */ - @java.lang.Override public com.google.spanner.admin.instance.v1.InstanceConfig.Type getConfigType() { - com.google.spanner.admin.instance.v1.InstanceConfig.Type result = com.google.spanner.admin.instance.v1.InstanceConfig.Type.forNumber(configType_); - return result == null ? com.google.spanner.admin.instance.v1.InstanceConfig.Type.UNRECOGNIZED : result; + @java.lang.Override + public com.google.spanner.admin.instance.v1.InstanceConfig.Type getConfigType() { + com.google.spanner.admin.instance.v1.InstanceConfig.Type result = + com.google.spanner.admin.instance.v1.InstanceConfig.Type.forNumber(configType_); + return result == null + ? com.google.spanner.admin.instance.v1.InstanceConfig.Type.UNRECOGNIZED + : result; } public static final int REPLICAS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private java.util.List replicas_; /** + * + * *
    * The geographic placement of nodes in this instance configuration and their
    * replication properties.
@@ -503,6 +575,8 @@ public java.util.List getRepli
     return replicas_;
   }
   /**
+   *
+   *
    * 
    * The geographic placement of nodes in this instance configuration and their
    * replication properties.
@@ -511,11 +585,13 @@ public java.util.List getRepli
    * repeated .google.spanner.admin.instance.v1.ReplicaInfo replicas = 3;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getReplicasOrBuilderList() {
     return replicas_;
   }
   /**
+   *
+   *
    * 
    * The geographic placement of nodes in this instance configuration and their
    * replication properties.
@@ -528,6 +604,8 @@ public int getReplicasCount() {
     return replicas_.size();
   }
   /**
+   *
+   *
    * 
    * The geographic placement of nodes in this instance configuration and their
    * replication properties.
@@ -540,6 +618,8 @@ public com.google.spanner.admin.instance.v1.ReplicaInfo getReplicas(int index) {
     return replicas_.get(index);
   }
   /**
+   *
+   *
    * 
    * The geographic placement of nodes in this instance configuration and their
    * replication properties.
@@ -548,70 +628,91 @@ public com.google.spanner.admin.instance.v1.ReplicaInfo getReplicas(int index) {
    * repeated .google.spanner.admin.instance.v1.ReplicaInfo replicas = 3;
    */
   @java.lang.Override
-  public com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder getReplicasOrBuilder(
-      int index) {
+  public com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder getReplicasOrBuilder(int index) {
     return replicas_.get(index);
   }
 
   public static final int OPTIONAL_REPLICAS_FIELD_NUMBER = 6;
+
   @SuppressWarnings("serial")
   private java.util.List optionalReplicas_;
   /**
+   *
+   *
    * 
    * Output only. The available optional replicas to choose from for user
    * managed configurations. Populated for Google managed configurations.
    * 
* - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List getOptionalReplicasList() { + public java.util.List + getOptionalReplicasList() { return optionalReplicas_; } /** + * + * *
    * Output only. The available optional replicas to choose from for user
    * managed configurations. Populated for Google managed configurations.
    * 
* - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List + public java.util.List getOptionalReplicasOrBuilderList() { return optionalReplicas_; } /** + * + * *
    * Output only. The available optional replicas to choose from for user
    * managed configurations. Populated for Google managed configurations.
    * 
* - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public int getOptionalReplicasCount() { return optionalReplicas_.size(); } /** + * + * *
    * Output only. The available optional replicas to choose from for user
    * managed configurations. Populated for Google managed configurations.
    * 
* - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.spanner.admin.instance.v1.ReplicaInfo getOptionalReplicas(int index) { return optionalReplicas_.get(index); } /** + * + * *
    * Output only. The available optional replicas to choose from for user
    * managed configurations. Populated for Google managed configurations.
    * 
* - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder getOptionalReplicasOrBuilder( @@ -620,9 +721,12 @@ public com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder getOptionalRepl } public static final int BASE_CONFIG_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private volatile java.lang.Object baseConfig_ = ""; /** + * + * *
    * Base configuration name, e.g. projects/<project_name>/instanceConfigs/nam3,
    * based on which this configuration is created. Only set for user managed
@@ -631,6 +735,7 @@ public com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder getOptionalRepl
    * 
* * string base_config = 7 [(.google.api.resource_reference) = { ... } + * * @return The baseConfig. */ @java.lang.Override @@ -639,14 +744,15 @@ public java.lang.String getBaseConfig() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); baseConfig_ = s; return s; } } /** + * + * *
    * Base configuration name, e.g. projects/<project_name>/instanceConfigs/nam3,
    * based on which this configuration is created. Only set for user managed
@@ -655,16 +761,15 @@ public java.lang.String getBaseConfig() {
    * 
* * string base_config = 7 [(.google.api.resource_reference) = { ... } + * * @return The bytes for baseConfig. */ @java.lang.Override - public com.google.protobuf.ByteString - getBaseConfigBytes() { + public com.google.protobuf.ByteString getBaseConfigBytes() { java.lang.Object ref = baseConfig_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); baseConfig_ = b; return b; } else { @@ -673,32 +778,34 @@ public java.lang.String getBaseConfig() { } public static final int LABELS_FIELD_NUMBER = 8; + 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.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_InstanceConfig_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.spanner.admin.instance.v1.SpannerInstanceAdminProto + .internal_static_google_spanner_admin_instance_v1_InstanceConfig_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(); } /** + * + * *
    * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -723,20 +830,21 @@ public int getLabelsCount() {
    * map<string, string> labels = 8;
    */
   @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();
   }
   /**
+   *
+   *
    * 
    * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -765,6 +873,8 @@ public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
+   *
+   *
    * 
    * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -789,17 +899,19 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 8;
    */
   @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;
   }
   /**
+   *
+   *
    * 
    * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -824,11 +936,11 @@ java.lang.String getLabelsOrDefault(
    * map<string, string> labels = 8;
    */
   @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();
     }
@@ -836,9 +948,12 @@ public java.lang.String getLabelsOrThrow(
   }
 
   public static final int ETAG_FIELD_NUMBER = 9;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object etag_ = "";
   /**
+   *
+   *
    * 
    * etag is used for optimistic concurrency control as a way
    * to help prevent simultaneous updates of a instance config from overwriting
@@ -853,6 +968,7 @@ public java.lang.String getLabelsOrThrow(
    * 
* * string etag = 9; + * * @return The etag. */ @java.lang.Override @@ -861,14 +977,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; } } /** + * + * *
    * etag is used for optimistic concurrency control as a way
    * to help prevent simultaneous updates of a instance config from overwriting
@@ -883,16 +1000,15 @@ public java.lang.String getEtag() {
    * 
* * string etag = 9; + * * @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 { @@ -901,40 +1017,49 @@ public java.lang.String getEtag() { } public static final int LEADER_OPTIONS_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringList leaderOptions_; /** + * + * *
    * Allowed values of the "default_leader" schema option for databases in
    * instances that use this instance configuration.
    * 
* * repeated string leader_options = 4; + * * @return A list containing the leaderOptions. */ - public com.google.protobuf.ProtocolStringList - getLeaderOptionsList() { + public com.google.protobuf.ProtocolStringList getLeaderOptionsList() { return leaderOptions_; } /** + * + * *
    * Allowed values of the "default_leader" schema option for databases in
    * instances that use this instance configuration.
    * 
* * repeated string leader_options = 4; + * * @return The count of leaderOptions. */ public int getLeaderOptionsCount() { return leaderOptions_.size(); } /** + * + * *
    * Allowed values of the "default_leader" schema option for databases in
    * instances that use this instance configuration.
    * 
* * repeated string leader_options = 4; + * * @param index The index of the element to return. * @return The leaderOptions at the given index. */ @@ -942,29 +1067,34 @@ public java.lang.String getLeaderOptions(int index) { return leaderOptions_.get(index); } /** + * + * *
    * Allowed values of the "default_leader" schema option for databases in
    * instances that use this instance configuration.
    * 
* * repeated string leader_options = 4; + * * @param index The index of the value to return. * @return The bytes of the leaderOptions at the given index. */ - public com.google.protobuf.ByteString - getLeaderOptionsBytes(int index) { + public com.google.protobuf.ByteString getLeaderOptionsBytes(int index) { return leaderOptions_.getByteString(index); } public static final int RECONCILING_FIELD_NUMBER = 10; private boolean reconciling_ = false; /** + * + * *
    * Output only. If true, the instance config is being created or updated. If
    * false, there are no ongoing operations for the instance config.
    * 
* * bool reconciling = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The reconciling. */ @java.lang.Override @@ -975,30 +1105,46 @@ public boolean getReconciling() { public static final int STATE_FIELD_NUMBER = 11; private int state_ = 0; /** + * + * *
    * Output only. The current instance config state.
    * 
* - * .google.spanner.admin.instance.v1.InstanceConfig.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.instance.v1.InstanceConfig.State state = 11 [(.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 instance config state.
    * 
* - * .google.spanner.admin.instance.v1.InstanceConfig.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.instance.v1.InstanceConfig.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.spanner.admin.instance.v1.InstanceConfig.State getState() { - com.google.spanner.admin.instance.v1.InstanceConfig.State result = com.google.spanner.admin.instance.v1.InstanceConfig.State.forNumber(state_); - return result == null ? com.google.spanner.admin.instance.v1.InstanceConfig.State.UNRECOGNIZED : result; + @java.lang.Override + public com.google.spanner.admin.instance.v1.InstanceConfig.State getState() { + com.google.spanner.admin.instance.v1.InstanceConfig.State result = + com.google.spanner.admin.instance.v1.InstanceConfig.State.forNumber(state_); + return result == null + ? com.google.spanner.admin.instance.v1.InstanceConfig.State.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1010,8 +1156,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_); } @@ -1024,7 +1169,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) for (int i = 0; i < leaderOptions_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, leaderOptions_.getRaw(i)); } - if (configType_ != com.google.spanner.admin.instance.v1.InstanceConfig.Type.TYPE_UNSPECIFIED.getNumber()) { + if (configType_ + != com.google.spanner.admin.instance.v1.InstanceConfig.Type.TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(5, configType_); } for (int i = 0; i < optionalReplicas_.size(); i++) { @@ -1033,19 +1179,17 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(baseConfig_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, baseConfig_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 8); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 8); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, etag_); } if (reconciling_ != false) { output.writeBool(10, reconciling_); } - if (state_ != com.google.spanner.admin.instance.v1.InstanceConfig.State.STATE_UNSPECIFIED.getNumber()) { + if (state_ + != com.google.spanner.admin.instance.v1.InstanceConfig.State.STATE_UNSPECIFIED + .getNumber()) { output.writeEnum(11, state_); } getUnknownFields().writeTo(output); @@ -1064,8 +1208,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, displayName_); } for (int i = 0; i < replicas_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, replicas_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, replicas_.get(i)); } { int dataSize = 0; @@ -1075,37 +1218,36 @@ public int getSerializedSize() { size += dataSize; size += 1 * getLeaderOptionsList().size(); } - if (configType_ != com.google.spanner.admin.instance.v1.InstanceConfig.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, configType_); + if (configType_ + != com.google.spanner.admin.instance.v1.InstanceConfig.Type.TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, configType_); } for (int i = 0; i < optionalReplicas_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, optionalReplicas_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, optionalReplicas_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(baseConfig_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, baseConfig_); } - 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(8, labels__); + 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(8, labels__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, etag_); } if (reconciling_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(10, reconciling_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(10, reconciling_); } - if (state_ != com.google.spanner.admin.instance.v1.InstanceConfig.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(11, state_); + if (state_ + != com.google.spanner.admin.instance.v1.InstanceConfig.State.STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(11, state_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1115,32 +1257,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.spanner.admin.instance.v1.InstanceConfig)) { return super.equals(obj); } - com.google.spanner.admin.instance.v1.InstanceConfig other = (com.google.spanner.admin.instance.v1.InstanceConfig) obj; + com.google.spanner.admin.instance.v1.InstanceConfig other = + (com.google.spanner.admin.instance.v1.InstanceConfig) 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 (configType_ != other.configType_) return false; - if (!getReplicasList() - .equals(other.getReplicasList())) return false; - if (!getOptionalReplicasList() - .equals(other.getOptionalReplicasList())) return false; - if (!getBaseConfig() - .equals(other.getBaseConfig())) return false; - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; - if (!getEtag() - .equals(other.getEtag())) return false; - if (!getLeaderOptionsList() - .equals(other.getLeaderOptionsList())) return false; - if (getReconciling() - != other.getReconciling()) return false; + if (!getReplicasList().equals(other.getReplicasList())) return false; + if (!getOptionalReplicasList().equals(other.getOptionalReplicasList())) return false; + if (!getBaseConfig().equals(other.getBaseConfig())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!getEtag().equals(other.getEtag())) return false; + if (!getLeaderOptionsList().equals(other.getLeaderOptionsList())) return false; + if (getReconciling() != other.getReconciling()) return false; if (state_ != other.state_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1180,8 +1314,7 @@ public int hashCode() { hash = (53 * hash) + getLeaderOptionsList().hashCode(); } hash = (37 * hash) + RECONCILING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getReconciling()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReconciling()); hash = (37 * hash) + STATE_FIELD_NUMBER; hash = (53 * hash) + state_; hash = (29 * hash) + getUnknownFields().hashCode(); @@ -1190,96 +1323,103 @@ public int hashCode() { } public static com.google.spanner.admin.instance.v1.InstanceConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.instance.v1.InstanceConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.admin.instance.v1.InstanceConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.instance.v1.InstanceConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.admin.instance.v1.InstanceConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.instance.v1.InstanceConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.InstanceConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.spanner.admin.instance.v1.InstanceConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.instance.v1.InstanceConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.InstanceConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.spanner.admin.instance.v1.InstanceConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.spanner.admin.instance.v1.InstanceConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.spanner.admin.instance.v1.InstanceConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.instance.v1.InstanceConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.spanner.admin.instance.v1.InstanceConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 possible configuration for a Cloud Spanner instance. Configurations
    * define the geographic placement of nodes and their replication.
@@ -1287,55 +1427,52 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.spanner.admin.instance.v1.InstanceConfig}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.instance.v1.InstanceConfig)
       com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_InstanceConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+          .internal_static_google_spanner_admin_instance_v1_InstanceConfig_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 8:
           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 8:
           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.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_InstanceConfig_fieldAccessorTable
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+          .internal_static_google_spanner_admin_instance_v1_InstanceConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.instance.v1.InstanceConfig.class, com.google.spanner.admin.instance.v1.InstanceConfig.Builder.class);
+              com.google.spanner.admin.instance.v1.InstanceConfig.class,
+              com.google.spanner.admin.instance.v1.InstanceConfig.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.instance.v1.InstanceConfig.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1368,9 +1505,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_InstanceConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+          .internal_static_google_spanner_admin_instance_v1_InstanceConfig_descriptor;
     }
 
     @java.lang.Override
@@ -1389,14 +1526,18 @@ public com.google.spanner.admin.instance.v1.InstanceConfig build() {
 
     @java.lang.Override
     public com.google.spanner.admin.instance.v1.InstanceConfig buildPartial() {
-      com.google.spanner.admin.instance.v1.InstanceConfig result = new com.google.spanner.admin.instance.v1.InstanceConfig(this);
+      com.google.spanner.admin.instance.v1.InstanceConfig result =
+          new com.google.spanner.admin.instance.v1.InstanceConfig(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.spanner.admin.instance.v1.InstanceConfig result) {
+    private void buildPartialRepeatedFields(
+        com.google.spanner.admin.instance.v1.InstanceConfig result) {
       if (replicasBuilder_ == null) {
         if (((bitField0_ & 0x00000008) != 0)) {
           replicas_ = java.util.Collections.unmodifiableList(replicas_);
@@ -1455,38 +1596,39 @@ private void buildPartial0(com.google.spanner.admin.instance.v1.InstanceConfig 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.spanner.admin.instance.v1.InstanceConfig) {
-        return mergeFrom((com.google.spanner.admin.instance.v1.InstanceConfig)other);
+        return mergeFrom((com.google.spanner.admin.instance.v1.InstanceConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1494,7 +1636,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.spanner.admin.instance.v1.InstanceConfig other) {
-      if (other == com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance()) return this;
+      if (other == com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -1526,9 +1669,10 @@ public Builder mergeFrom(com.google.spanner.admin.instance.v1.InstanceConfig oth
             replicasBuilder_ = null;
             replicas_ = other.replicas_;
             bitField0_ = (bitField0_ & ~0x00000008);
-            replicasBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getReplicasFieldBuilder() : null;
+            replicasBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getReplicasFieldBuilder()
+                    : null;
           } else {
             replicasBuilder_.addAllMessages(other.replicas_);
           }
@@ -1552,9 +1696,10 @@ public Builder mergeFrom(com.google.spanner.admin.instance.v1.InstanceConfig oth
             optionalReplicasBuilder_ = null;
             optionalReplicas_ = other.optionalReplicas_;
             bitField0_ = (bitField0_ & ~0x00000010);
-            optionalReplicasBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getOptionalReplicasFieldBuilder() : null;
+            optionalReplicasBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getOptionalReplicasFieldBuilder()
+                    : null;
           } else {
             optionalReplicasBuilder_.addAllMessages(other.optionalReplicas_);
           }
@@ -1565,8 +1710,7 @@ public Builder mergeFrom(com.google.spanner.admin.instance.v1.InstanceConfig oth
         bitField0_ |= 0x00000020;
         onChanged();
       }
-      internalGetMutableLabels().mergeFrom(
-          other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
       bitField0_ |= 0x00000040;
       if (!other.getEtag().isEmpty()) {
         etag_ = other.etag_;
@@ -1615,88 +1759,102 @@ 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 26: {
-              com.google.spanner.admin.instance.v1.ReplicaInfo m =
-                  input.readMessage(
-                      com.google.spanner.admin.instance.v1.ReplicaInfo.parser(),
-                      extensionRegistry);
-              if (replicasBuilder_ == null) {
-                ensureReplicasIsMutable();
-                replicas_.add(m);
-              } else {
-                replicasBuilder_.addMessage(m);
-              }
-              break;
-            } // case 26
-            case 34: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureLeaderOptionsIsMutable();
-              leaderOptions_.add(s);
-              break;
-            } // case 34
-            case 40: {
-              configType_ = input.readEnum();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 40
-            case 50: {
-              com.google.spanner.admin.instance.v1.ReplicaInfo m =
-                  input.readMessage(
-                      com.google.spanner.admin.instance.v1.ReplicaInfo.parser(),
-                      extensionRegistry);
-              if (optionalReplicasBuilder_ == null) {
-                ensureOptionalReplicasIsMutable();
-                optionalReplicas_.add(m);
-              } else {
-                optionalReplicasBuilder_.addMessage(m);
-              }
-              break;
-            } // case 50
-            case 58: {
-              baseConfig_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 58
-            case 66: {
-              com.google.protobuf.MapEntry
-              labels__ = input.readMessage(
-                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableLabels().getMutableMap().put(
-                  labels__.getKey(), labels__.getValue());
-              bitField0_ |= 0x00000040;
-              break;
-            } // case 66
-            case 74: {
-              etag_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000080;
-              break;
-            } // case 74
-            case 80: {
-              reconciling_ = input.readBool();
-              bitField0_ |= 0x00000200;
-              break;
-            } // case 80
-            case 88: {
-              state_ = input.readEnum();
-              bitField0_ |= 0x00000400;
-              break;
-            } // case 88
-            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 26:
+              {
+                com.google.spanner.admin.instance.v1.ReplicaInfo m =
+                    input.readMessage(
+                        com.google.spanner.admin.instance.v1.ReplicaInfo.parser(),
+                        extensionRegistry);
+                if (replicasBuilder_ == null) {
+                  ensureReplicasIsMutable();
+                  replicas_.add(m);
+                } else {
+                  replicasBuilder_.addMessage(m);
+                }
+                break;
+              } // case 26
+            case 34:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureLeaderOptionsIsMutable();
+                leaderOptions_.add(s);
+                break;
+              } // case 34
+            case 40:
+              {
+                configType_ = input.readEnum();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 40
+            case 50:
+              {
+                com.google.spanner.admin.instance.v1.ReplicaInfo m =
+                    input.readMessage(
+                        com.google.spanner.admin.instance.v1.ReplicaInfo.parser(),
+                        extensionRegistry);
+                if (optionalReplicasBuilder_ == null) {
+                  ensureOptionalReplicasIsMutable();
+                  optionalReplicas_.add(m);
+                } else {
+                  optionalReplicasBuilder_.addMessage(m);
+                }
+                break;
+              } // case 50
+            case 58:
+              {
+                baseConfig_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 58
+            case 66:
+              {
+                com.google.protobuf.MapEntry labels__ =
+                    input.readMessage(
+                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableLabels()
+                    .getMutableMap()
+                    .put(labels__.getKey(), labels__.getValue());
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 66
+            case 74:
+              {
+                etag_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000080;
+                break;
+              } // case 74
+            case 80:
+              {
+                reconciling_ = input.readBool();
+                bitField0_ |= 0x00000200;
+                break;
+              } // case 80
+            case 88:
+              {
+                state_ = input.readEnum();
+                bitField0_ |= 0x00000400;
+                break;
+              } // case 88
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1706,10 +1864,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * A unique identifier for the instance configuration.  Values
      * are of the form
@@ -1717,13 +1878,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; @@ -1732,6 +1893,8 @@ public java.lang.String getName() { } } /** + * + * *
      * A unique identifier for the instance configuration.  Values
      * are of the form
@@ -1739,15 +1902,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 { @@ -1755,6 +1917,8 @@ public java.lang.String getName() { } } /** + * + * *
      * A unique identifier for the instance configuration.  Values
      * are of the form
@@ -1762,18 +1926,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 unique identifier for the instance configuration.  Values
      * are of the form
@@ -1781,6 +1949,7 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1790,6 +1959,8 @@ public Builder clearName() { return this; } /** + * + * *
      * A unique identifier for the instance configuration.  Values
      * are of the form
@@ -1797,12 +1968,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; @@ -1812,18 +1985,20 @@ public Builder setNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * The name of this instance configuration as it appears in UIs.
      * 
* * string display_name = 2; + * * @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; @@ -1832,20 +2007,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The name of this instance configuration as it appears in UIs.
      * 
* * string display_name = 2; + * * @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 { @@ -1853,28 +2029,35 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The name of this instance configuration as it appears in UIs.
      * 
* * string display_name = 2; + * * @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; } /** + * + * *
      * The name of this instance configuration as it appears in UIs.
      * 
* * string display_name = 2; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1884,17 +2067,21 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * The name of this instance configuration as it appears in UIs.
      * 
* * string display_name = 2; + * * @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; @@ -1904,24 +2091,35 @@ public Builder setDisplayNameBytes( private int configType_ = 0; /** + * + * *
      * Output only. Whether this instance config is a Google or User Managed
      * Configuration.
      * 
* - * .google.spanner.admin.instance.v1.InstanceConfig.Type config_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.instance.v1.InstanceConfig.Type config_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for configType. */ - @java.lang.Override public int getConfigTypeValue() { + @java.lang.Override + public int getConfigTypeValue() { return configType_; } /** + * + * *
      * Output only. Whether this instance config is a Google or User Managed
      * Configuration.
      * 
* - * .google.spanner.admin.instance.v1.InstanceConfig.Type config_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.instance.v1.InstanceConfig.Type config_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for configType to set. * @return This builder for chaining. */ @@ -1932,26 +2130,39 @@ public Builder setConfigTypeValue(int value) { return this; } /** + * + * *
      * Output only. Whether this instance config is a Google or User Managed
      * Configuration.
      * 
* - * .google.spanner.admin.instance.v1.InstanceConfig.Type config_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.instance.v1.InstanceConfig.Type config_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The configType. */ @java.lang.Override public com.google.spanner.admin.instance.v1.InstanceConfig.Type getConfigType() { - com.google.spanner.admin.instance.v1.InstanceConfig.Type result = com.google.spanner.admin.instance.v1.InstanceConfig.Type.forNumber(configType_); - return result == null ? com.google.spanner.admin.instance.v1.InstanceConfig.Type.UNRECOGNIZED : result; + com.google.spanner.admin.instance.v1.InstanceConfig.Type result = + com.google.spanner.admin.instance.v1.InstanceConfig.Type.forNumber(configType_); + return result == null + ? com.google.spanner.admin.instance.v1.InstanceConfig.Type.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. Whether this instance config is a Google or User Managed
      * Configuration.
      * 
* - * .google.spanner.admin.instance.v1.InstanceConfig.Type config_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.instance.v1.InstanceConfig.Type config_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The configType to set. * @return This builder for chaining. */ @@ -1965,12 +2176,17 @@ public Builder setConfigType(com.google.spanner.admin.instance.v1.InstanceConfig return this; } /** + * + * *
      * Output only. Whether this instance config is a Google or User Managed
      * Configuration.
      * 
* - * .google.spanner.admin.instance.v1.InstanceConfig.Type config_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.instance.v1.InstanceConfig.Type config_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearConfigType() { @@ -1981,18 +2197,25 @@ public Builder clearConfigType() { } private java.util.List replicas_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureReplicasIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - replicas_ = new java.util.ArrayList(replicas_); + replicas_ = + new java.util.ArrayList(replicas_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.admin.instance.v1.ReplicaInfo, com.google.spanner.admin.instance.v1.ReplicaInfo.Builder, com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder> replicasBuilder_; + com.google.spanner.admin.instance.v1.ReplicaInfo, + com.google.spanner.admin.instance.v1.ReplicaInfo.Builder, + com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder> + replicasBuilder_; /** + * + * *
      * The geographic placement of nodes in this instance configuration and their
      * replication properties.
@@ -2008,6 +2231,8 @@ public java.util.List getRepli
       }
     }
     /**
+     *
+     *
      * 
      * The geographic placement of nodes in this instance configuration and their
      * replication properties.
@@ -2023,6 +2248,8 @@ public int getReplicasCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The geographic placement of nodes in this instance configuration and their
      * replication properties.
@@ -2038,6 +2265,8 @@ public com.google.spanner.admin.instance.v1.ReplicaInfo getReplicas(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The geographic placement of nodes in this instance configuration and their
      * replication properties.
@@ -2045,8 +2274,7 @@ public com.google.spanner.admin.instance.v1.ReplicaInfo getReplicas(int index) {
      *
      * repeated .google.spanner.admin.instance.v1.ReplicaInfo replicas = 3;
      */
-    public Builder setReplicas(
-        int index, com.google.spanner.admin.instance.v1.ReplicaInfo value) {
+    public Builder setReplicas(int index, com.google.spanner.admin.instance.v1.ReplicaInfo value) {
       if (replicasBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2060,6 +2288,8 @@ public Builder setReplicas(
       return this;
     }
     /**
+     *
+     *
      * 
      * The geographic placement of nodes in this instance configuration and their
      * replication properties.
@@ -2079,6 +2309,8 @@ public Builder setReplicas(
       return this;
     }
     /**
+     *
+     *
      * 
      * The geographic placement of nodes in this instance configuration and their
      * replication properties.
@@ -2100,6 +2332,8 @@ public Builder addReplicas(com.google.spanner.admin.instance.v1.ReplicaInfo valu
       return this;
     }
     /**
+     *
+     *
      * 
      * The geographic placement of nodes in this instance configuration and their
      * replication properties.
@@ -2107,8 +2341,7 @@ public Builder addReplicas(com.google.spanner.admin.instance.v1.ReplicaInfo valu
      *
      * repeated .google.spanner.admin.instance.v1.ReplicaInfo replicas = 3;
      */
-    public Builder addReplicas(
-        int index, com.google.spanner.admin.instance.v1.ReplicaInfo value) {
+    public Builder addReplicas(int index, com.google.spanner.admin.instance.v1.ReplicaInfo value) {
       if (replicasBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2122,6 +2355,8 @@ public Builder addReplicas(
       return this;
     }
     /**
+     *
+     *
      * 
      * The geographic placement of nodes in this instance configuration and their
      * replication properties.
@@ -2141,6 +2376,8 @@ public Builder addReplicas(
       return this;
     }
     /**
+     *
+     *
      * 
      * The geographic placement of nodes in this instance configuration and their
      * replication properties.
@@ -2160,6 +2397,8 @@ public Builder addReplicas(
       return this;
     }
     /**
+     *
+     *
      * 
      * The geographic placement of nodes in this instance configuration and their
      * replication properties.
@@ -2171,8 +2410,7 @@ public Builder addAllReplicas(
         java.lang.Iterable values) {
       if (replicasBuilder_ == null) {
         ensureReplicasIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, replicas_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, replicas_);
         onChanged();
       } else {
         replicasBuilder_.addAllMessages(values);
@@ -2180,6 +2418,8 @@ public Builder addAllReplicas(
       return this;
     }
     /**
+     *
+     *
      * 
      * The geographic placement of nodes in this instance configuration and their
      * replication properties.
@@ -2198,6 +2438,8 @@ public Builder clearReplicas() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The geographic placement of nodes in this instance configuration and their
      * replication properties.
@@ -2216,6 +2458,8 @@ public Builder removeReplicas(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The geographic placement of nodes in this instance configuration and their
      * replication properties.
@@ -2223,11 +2467,12 @@ public Builder removeReplicas(int index) {
      *
      * repeated .google.spanner.admin.instance.v1.ReplicaInfo replicas = 3;
      */
-    public com.google.spanner.admin.instance.v1.ReplicaInfo.Builder getReplicasBuilder(
-        int index) {
+    public com.google.spanner.admin.instance.v1.ReplicaInfo.Builder getReplicasBuilder(int index) {
       return getReplicasFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The geographic placement of nodes in this instance configuration and their
      * replication properties.
@@ -2238,11 +2483,14 @@ public com.google.spanner.admin.instance.v1.ReplicaInfo.Builder getReplicasBuild
     public com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder getReplicasOrBuilder(
         int index) {
       if (replicasBuilder_ == null) {
-        return replicas_.get(index);  } else {
+        return replicas_.get(index);
+      } else {
         return replicasBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The geographic placement of nodes in this instance configuration and their
      * replication properties.
@@ -2250,8 +2498,8 @@ public com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder getReplicasOrBu
      *
      * repeated .google.spanner.admin.instance.v1.ReplicaInfo replicas = 3;
      */
-    public java.util.List 
-         getReplicasOrBuilderList() {
+    public java.util.List
+        getReplicasOrBuilderList() {
       if (replicasBuilder_ != null) {
         return replicasBuilder_.getMessageOrBuilderList();
       } else {
@@ -2259,6 +2507,8 @@ public com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder getReplicasOrBu
       }
     }
     /**
+     *
+     *
      * 
      * The geographic placement of nodes in this instance configuration and their
      * replication properties.
@@ -2267,10 +2517,12 @@ public com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder getReplicasOrBu
      * repeated .google.spanner.admin.instance.v1.ReplicaInfo replicas = 3;
      */
     public com.google.spanner.admin.instance.v1.ReplicaInfo.Builder addReplicasBuilder() {
-      return getReplicasFieldBuilder().addBuilder(
-          com.google.spanner.admin.instance.v1.ReplicaInfo.getDefaultInstance());
+      return getReplicasFieldBuilder()
+          .addBuilder(com.google.spanner.admin.instance.v1.ReplicaInfo.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The geographic placement of nodes in this instance configuration and their
      * replication properties.
@@ -2278,12 +2530,13 @@ public com.google.spanner.admin.instance.v1.ReplicaInfo.Builder addReplicasBuild
      *
      * repeated .google.spanner.admin.instance.v1.ReplicaInfo replicas = 3;
      */
-    public com.google.spanner.admin.instance.v1.ReplicaInfo.Builder addReplicasBuilder(
-        int index) {
-      return getReplicasFieldBuilder().addBuilder(
-          index, com.google.spanner.admin.instance.v1.ReplicaInfo.getDefaultInstance());
+    public com.google.spanner.admin.instance.v1.ReplicaInfo.Builder addReplicasBuilder(int index) {
+      return getReplicasFieldBuilder()
+          .addBuilder(index, com.google.spanner.admin.instance.v1.ReplicaInfo.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The geographic placement of nodes in this instance configuration and their
      * replication properties.
@@ -2291,46 +2544,60 @@ public com.google.spanner.admin.instance.v1.ReplicaInfo.Builder addReplicasBuild
      *
      * repeated .google.spanner.admin.instance.v1.ReplicaInfo replicas = 3;
      */
-    public java.util.List 
-         getReplicasBuilderList() {
+    public java.util.List
+        getReplicasBuilderList() {
       return getReplicasFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.spanner.admin.instance.v1.ReplicaInfo, com.google.spanner.admin.instance.v1.ReplicaInfo.Builder, com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder> 
+            com.google.spanner.admin.instance.v1.ReplicaInfo,
+            com.google.spanner.admin.instance.v1.ReplicaInfo.Builder,
+            com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder>
         getReplicasFieldBuilder() {
       if (replicasBuilder_ == null) {
-        replicasBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.spanner.admin.instance.v1.ReplicaInfo, com.google.spanner.admin.instance.v1.ReplicaInfo.Builder, com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder>(
-                replicas_,
-                ((bitField0_ & 0x00000008) != 0),
-                getParentForChildren(),
-                isClean());
+        replicasBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.spanner.admin.instance.v1.ReplicaInfo,
+                com.google.spanner.admin.instance.v1.ReplicaInfo.Builder,
+                com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder>(
+                replicas_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean());
         replicas_ = null;
       }
       return replicasBuilder_;
     }
 
     private java.util.List optionalReplicas_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureOptionalReplicasIsMutable() {
       if (!((bitField0_ & 0x00000010) != 0)) {
-        optionalReplicas_ = new java.util.ArrayList(optionalReplicas_);
+        optionalReplicas_ =
+            new java.util.ArrayList(
+                optionalReplicas_);
         bitField0_ |= 0x00000010;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.spanner.admin.instance.v1.ReplicaInfo, com.google.spanner.admin.instance.v1.ReplicaInfo.Builder, com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder> optionalReplicasBuilder_;
+            com.google.spanner.admin.instance.v1.ReplicaInfo,
+            com.google.spanner.admin.instance.v1.ReplicaInfo.Builder,
+            com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder>
+        optionalReplicasBuilder_;
 
     /**
+     *
+     *
      * 
      * Output only. The available optional replicas to choose from for user
      * managed configurations. Populated for Google managed configurations.
      * 
* - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List getOptionalReplicasList() { + public java.util.List + getOptionalReplicasList() { if (optionalReplicasBuilder_ == null) { return java.util.Collections.unmodifiableList(optionalReplicas_); } else { @@ -2338,12 +2605,16 @@ public java.util.List getOptio } } /** + * + * *
      * Output only. The available optional replicas to choose from for user
      * managed configurations. Populated for Google managed configurations.
      * 
* - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public int getOptionalReplicasCount() { if (optionalReplicasBuilder_ == null) { @@ -2353,12 +2624,16 @@ public int getOptionalReplicasCount() { } } /** + * + * *
      * Output only. The available optional replicas to choose from for user
      * managed configurations. Populated for Google managed configurations.
      * 
* - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.spanner.admin.instance.v1.ReplicaInfo getOptionalReplicas(int index) { if (optionalReplicasBuilder_ == null) { @@ -2368,12 +2643,16 @@ public com.google.spanner.admin.instance.v1.ReplicaInfo getOptionalReplicas(int } } /** + * + * *
      * Output only. The available optional replicas to choose from for user
      * managed configurations. Populated for Google managed configurations.
      * 
* - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setOptionalReplicas( int index, com.google.spanner.admin.instance.v1.ReplicaInfo value) { @@ -2390,12 +2669,16 @@ public Builder setOptionalReplicas( return this; } /** + * + * *
      * Output only. The available optional replicas to choose from for user
      * managed configurations. Populated for Google managed configurations.
      * 
* - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setOptionalReplicas( int index, com.google.spanner.admin.instance.v1.ReplicaInfo.Builder builderForValue) { @@ -2409,12 +2692,16 @@ public Builder setOptionalReplicas( return this; } /** + * + * *
      * Output only. The available optional replicas to choose from for user
      * managed configurations. Populated for Google managed configurations.
      * 
* - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addOptionalReplicas(com.google.spanner.admin.instance.v1.ReplicaInfo value) { if (optionalReplicasBuilder_ == null) { @@ -2430,12 +2717,16 @@ public Builder addOptionalReplicas(com.google.spanner.admin.instance.v1.ReplicaI return this; } /** + * + * *
      * Output only. The available optional replicas to choose from for user
      * managed configurations. Populated for Google managed configurations.
      * 
* - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addOptionalReplicas( int index, com.google.spanner.admin.instance.v1.ReplicaInfo value) { @@ -2452,12 +2743,16 @@ public Builder addOptionalReplicas( return this; } /** + * + * *
      * Output only. The available optional replicas to choose from for user
      * managed configurations. Populated for Google managed configurations.
      * 
* - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addOptionalReplicas( com.google.spanner.admin.instance.v1.ReplicaInfo.Builder builderForValue) { @@ -2471,12 +2766,16 @@ public Builder addOptionalReplicas( return this; } /** + * + * *
      * Output only. The available optional replicas to choose from for user
      * managed configurations. Populated for Google managed configurations.
      * 
* - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addOptionalReplicas( int index, com.google.spanner.admin.instance.v1.ReplicaInfo.Builder builderForValue) { @@ -2490,19 +2789,22 @@ public Builder addOptionalReplicas( return this; } /** + * + * *
      * Output only. The available optional replicas to choose from for user
      * managed configurations. Populated for Google managed configurations.
      * 
* - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addAllOptionalReplicas( java.lang.Iterable values) { if (optionalReplicasBuilder_ == null) { ensureOptionalReplicasIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, optionalReplicas_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, optionalReplicas_); onChanged(); } else { optionalReplicasBuilder_.addAllMessages(values); @@ -2510,12 +2812,16 @@ public Builder addAllOptionalReplicas( return this; } /** + * + * *
      * Output only. The available optional replicas to choose from for user
      * managed configurations. Populated for Google managed configurations.
      * 
* - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearOptionalReplicas() { if (optionalReplicasBuilder_ == null) { @@ -2528,12 +2834,16 @@ public Builder clearOptionalReplicas() { return this; } /** + * + * *
      * Output only. The available optional replicas to choose from for user
      * managed configurations. Populated for Google managed configurations.
      * 
* - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder removeOptionalReplicas(int index) { if (optionalReplicasBuilder_ == null) { @@ -2546,42 +2856,55 @@ public Builder removeOptionalReplicas(int index) { return this; } /** + * + * *
      * Output only. The available optional replicas to choose from for user
      * managed configurations. Populated for Google managed configurations.
      * 
* - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.spanner.admin.instance.v1.ReplicaInfo.Builder getOptionalReplicasBuilder( int index) { return getOptionalReplicasFieldBuilder().getBuilder(index); } /** + * + * *
      * Output only. The available optional replicas to choose from for user
      * managed configurations. Populated for Google managed configurations.
      * 
* - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder getOptionalReplicasOrBuilder( int index) { if (optionalReplicasBuilder_ == null) { - return optionalReplicas_.get(index); } else { + return optionalReplicas_.get(index); + } else { return optionalReplicasBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Output only. The available optional replicas to choose from for user
      * managed configurations. Populated for Google managed configurations.
      * 
* - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getOptionalReplicasOrBuilderList() { + public java.util.List + getOptionalReplicasOrBuilderList() { if (optionalReplicasBuilder_ != null) { return optionalReplicasBuilder_.getMessageOrBuilderList(); } else { @@ -2589,48 +2912,66 @@ public com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder getOptionalRepl } } /** + * + * *
      * Output only. The available optional replicas to choose from for user
      * managed configurations. Populated for Google managed configurations.
      * 
* - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.spanner.admin.instance.v1.ReplicaInfo.Builder addOptionalReplicasBuilder() { - return getOptionalReplicasFieldBuilder().addBuilder( - com.google.spanner.admin.instance.v1.ReplicaInfo.getDefaultInstance()); + return getOptionalReplicasFieldBuilder() + .addBuilder(com.google.spanner.admin.instance.v1.ReplicaInfo.getDefaultInstance()); } /** + * + * *
      * Output only. The available optional replicas to choose from for user
      * managed configurations. Populated for Google managed configurations.
      * 
* - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.spanner.admin.instance.v1.ReplicaInfo.Builder addOptionalReplicasBuilder( int index) { - return getOptionalReplicasFieldBuilder().addBuilder( - index, com.google.spanner.admin.instance.v1.ReplicaInfo.getDefaultInstance()); + return getOptionalReplicasFieldBuilder() + .addBuilder(index, com.google.spanner.admin.instance.v1.ReplicaInfo.getDefaultInstance()); } /** + * + * *
      * Output only. The available optional replicas to choose from for user
      * managed configurations. Populated for Google managed configurations.
      * 
* - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getOptionalReplicasBuilderList() { + public java.util.List + getOptionalReplicasBuilderList() { return getOptionalReplicasFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.admin.instance.v1.ReplicaInfo, com.google.spanner.admin.instance.v1.ReplicaInfo.Builder, com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder> + com.google.spanner.admin.instance.v1.ReplicaInfo, + com.google.spanner.admin.instance.v1.ReplicaInfo.Builder, + com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder> getOptionalReplicasFieldBuilder() { if (optionalReplicasBuilder_ == null) { - optionalReplicasBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.admin.instance.v1.ReplicaInfo, com.google.spanner.admin.instance.v1.ReplicaInfo.Builder, com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder>( + optionalReplicasBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.spanner.admin.instance.v1.ReplicaInfo, + com.google.spanner.admin.instance.v1.ReplicaInfo.Builder, + com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder>( optionalReplicas_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), @@ -2642,6 +2983,8 @@ public com.google.spanner.admin.instance.v1.ReplicaInfo.Builder addOptionalRepli private java.lang.Object baseConfig_ = ""; /** + * + * *
      * Base configuration name, e.g. projects/<project_name>/instanceConfigs/nam3,
      * based on which this configuration is created. Only set for user managed
@@ -2650,13 +2993,13 @@ public com.google.spanner.admin.instance.v1.ReplicaInfo.Builder addOptionalRepli
      * 
* * string base_config = 7 [(.google.api.resource_reference) = { ... } + * * @return The baseConfig. */ public java.lang.String getBaseConfig() { java.lang.Object ref = baseConfig_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); baseConfig_ = s; return s; @@ -2665,6 +3008,8 @@ public java.lang.String getBaseConfig() { } } /** + * + * *
      * Base configuration name, e.g. projects/<project_name>/instanceConfigs/nam3,
      * based on which this configuration is created. Only set for user managed
@@ -2673,15 +3018,14 @@ public java.lang.String getBaseConfig() {
      * 
* * string base_config = 7 [(.google.api.resource_reference) = { ... } + * * @return The bytes for baseConfig. */ - public com.google.protobuf.ByteString - getBaseConfigBytes() { + public com.google.protobuf.ByteString getBaseConfigBytes() { java.lang.Object ref = baseConfig_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); baseConfig_ = b; return b; } else { @@ -2689,6 +3033,8 @@ public java.lang.String getBaseConfig() { } } /** + * + * *
      * Base configuration name, e.g. projects/<project_name>/instanceConfigs/nam3,
      * based on which this configuration is created. Only set for user managed
@@ -2697,18 +3043,22 @@ public java.lang.String getBaseConfig() {
      * 
* * string base_config = 7 [(.google.api.resource_reference) = { ... } + * * @param value The baseConfig to set. * @return This builder for chaining. */ - public Builder setBaseConfig( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setBaseConfig(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } baseConfig_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Base configuration name, e.g. projects/<project_name>/instanceConfigs/nam3,
      * based on which this configuration is created. Only set for user managed
@@ -2717,6 +3067,7 @@ public Builder setBaseConfig(
      * 
* * string base_config = 7 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearBaseConfig() { @@ -2726,6 +3077,8 @@ public Builder clearBaseConfig() { return this; } /** + * + * *
      * Base configuration name, e.g. projects/<project_name>/instanceConfigs/nam3,
      * based on which this configuration is created. Only set for user managed
@@ -2734,12 +3087,14 @@ public Builder clearBaseConfig() {
      * 
* * string base_config = 7 [(.google.api.resource_reference) = { ... } + * * @param value The bytes for baseConfig to set. * @return This builder for chaining. */ - public Builder setBaseConfigBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setBaseConfigBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); baseConfig_ = value; bitField0_ |= 0x00000020; @@ -2747,21 +3102,19 @@ public Builder setBaseConfigBytes( 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(); @@ -2770,10 +3123,13 @@ public Builder setBaseConfigBytes( onChanged(); return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -2798,20 +3154,21 @@ public int getLabelsCount() {
      * map<string, string> labels = 8;
      */
     @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();
     }
     /**
+     *
+     *
      * 
      * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -2840,6 +3197,8 @@ public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
+     *
+     *
      * 
      * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -2864,17 +3223,19 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 8;
      */
     @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;
     }
     /**
+     *
+     *
      * 
      * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -2899,23 +3260,25 @@ java.lang.String getLabelsOrDefault(
      * map<string, string> labels = 8;
      */
     @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_ & ~0x00000040);
-      internalGetMutableLabels().getMutableMap()
-          .clear();
+      internalGetMutableLabels().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -2939,23 +3302,22 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 8;
      */
-    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_ |= 0x00000040;
       return internalGetMutableLabels().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -2979,17 +3341,20 @@ public Builder removeLabels(
      *
      * map<string, string> labels = 8;
      */
-    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_ |= 0x00000040;
       return this;
     }
     /**
+     *
+     *
      * 
      * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -3013,16 +3378,16 @@ public Builder putLabels(
      *
      * map<string, string> labels = 8;
      */
-    public Builder putAllLabels(
-        java.util.Map values) {
-      internalGetMutableLabels().getMutableMap()
-          .putAll(values);
+    public Builder putAllLabels(java.util.Map values) {
+      internalGetMutableLabels().getMutableMap().putAll(values);
       bitField0_ |= 0x00000040;
       return this;
     }
 
     private java.lang.Object etag_ = "";
     /**
+     *
+     *
      * 
      * etag is used for optimistic concurrency control as a way
      * to help prevent simultaneous updates of a instance config from overwriting
@@ -3037,13 +3402,13 @@ public Builder putAllLabels(
      * 
* * string etag = 9; + * * @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; @@ -3052,6 +3417,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * etag is used for optimistic concurrency control as a way
      * to help prevent simultaneous updates of a instance config from overwriting
@@ -3066,15 +3433,14 @@ public java.lang.String getEtag() {
      * 
* * string etag = 9; + * * @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 { @@ -3082,6 +3448,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * etag is used for optimistic concurrency control as a way
      * to help prevent simultaneous updates of a instance config from overwriting
@@ -3096,18 +3464,22 @@ public java.lang.String getEtag() {
      * 
* * string etag = 9; + * * @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_ |= 0x00000080; onChanged(); return this; } /** + * + * *
      * etag is used for optimistic concurrency control as a way
      * to help prevent simultaneous updates of a instance config from overwriting
@@ -3122,6 +3494,7 @@ public Builder setEtag(
      * 
* * string etag = 9; + * * @return This builder for chaining. */ public Builder clearEtag() { @@ -3131,6 +3504,8 @@ public Builder clearEtag() { return this; } /** + * + * *
      * etag is used for optimistic concurrency control as a way
      * to help prevent simultaneous updates of a instance config from overwriting
@@ -3145,12 +3520,14 @@ public Builder clearEtag() {
      * 
* * string etag = 9; + * * @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_ |= 0x00000080; @@ -3158,45 +3535,55 @@ public Builder setEtagBytes( return this; } - private com.google.protobuf.LazyStringList leaderOptions_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList leaderOptions_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureLeaderOptionsIsMutable() { if (!((bitField0_ & 0x00000100) != 0)) { leaderOptions_ = new com.google.protobuf.LazyStringArrayList(leaderOptions_); bitField0_ |= 0x00000100; - } + } } /** + * + * *
      * Allowed values of the "default_leader" schema option for databases in
      * instances that use this instance configuration.
      * 
* * repeated string leader_options = 4; + * * @return A list containing the leaderOptions. */ - public com.google.protobuf.ProtocolStringList - getLeaderOptionsList() { + public com.google.protobuf.ProtocolStringList getLeaderOptionsList() { return leaderOptions_.getUnmodifiableView(); } /** + * + * *
      * Allowed values of the "default_leader" schema option for databases in
      * instances that use this instance configuration.
      * 
* * repeated string leader_options = 4; + * * @return The count of leaderOptions. */ public int getLeaderOptionsCount() { return leaderOptions_.size(); } /** + * + * *
      * Allowed values of the "default_leader" schema option for databases in
      * instances that use this instance configuration.
      * 
* * repeated string leader_options = 4; + * * @param index The index of the element to return. * @return The leaderOptions at the given index. */ @@ -3204,81 +3591,95 @@ public java.lang.String getLeaderOptions(int index) { return leaderOptions_.get(index); } /** + * + * *
      * Allowed values of the "default_leader" schema option for databases in
      * instances that use this instance configuration.
      * 
* * repeated string leader_options = 4; + * * @param index The index of the value to return. * @return The bytes of the leaderOptions at the given index. */ - public com.google.protobuf.ByteString - getLeaderOptionsBytes(int index) { + public com.google.protobuf.ByteString getLeaderOptionsBytes(int index) { return leaderOptions_.getByteString(index); } /** + * + * *
      * Allowed values of the "default_leader" schema option for databases in
      * instances that use this instance configuration.
      * 
* * repeated string leader_options = 4; + * * @param index The index to set the value at. * @param value The leaderOptions to set. * @return This builder for chaining. */ - public Builder setLeaderOptions( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setLeaderOptions(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureLeaderOptionsIsMutable(); leaderOptions_.set(index, value); onChanged(); return this; } /** + * + * *
      * Allowed values of the "default_leader" schema option for databases in
      * instances that use this instance configuration.
      * 
* * repeated string leader_options = 4; + * * @param value The leaderOptions to add. * @return This builder for chaining. */ - public Builder addLeaderOptions( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addLeaderOptions(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureLeaderOptionsIsMutable(); leaderOptions_.add(value); onChanged(); return this; } /** + * + * *
      * Allowed values of the "default_leader" schema option for databases in
      * instances that use this instance configuration.
      * 
* * repeated string leader_options = 4; + * * @param values The leaderOptions to add. * @return This builder for chaining. */ - public Builder addAllLeaderOptions( - java.lang.Iterable values) { + public Builder addAllLeaderOptions(java.lang.Iterable values) { ensureLeaderOptionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, leaderOptions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, leaderOptions_); onChanged(); return this; } /** + * + * *
      * Allowed values of the "default_leader" schema option for databases in
      * instances that use this instance configuration.
      * 
* * repeated string leader_options = 4; + * * @return This builder for chaining. */ public Builder clearLeaderOptions() { @@ -3288,18 +3689,22 @@ public Builder clearLeaderOptions() { return this; } /** + * + * *
      * Allowed values of the "default_leader" schema option for databases in
      * instances that use this instance configuration.
      * 
* * repeated string leader_options = 4; + * * @param value The bytes of the leaderOptions to add. * @return This builder for chaining. */ - public Builder addLeaderOptionsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addLeaderOptionsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureLeaderOptionsIsMutable(); leaderOptions_.add(value); @@ -3307,14 +3712,17 @@ public Builder addLeaderOptionsBytes( return this; } - private boolean reconciling_ ; + private boolean reconciling_; /** + * + * *
      * Output only. If true, the instance config is being created or updated. If
      * false, there are no ongoing operations for the instance config.
      * 
* * bool reconciling = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The reconciling. */ @java.lang.Override @@ -3322,29 +3730,35 @@ public boolean getReconciling() { return reconciling_; } /** + * + * *
      * Output only. If true, the instance config is being created or updated. If
      * false, there are no ongoing operations for the instance config.
      * 
* * bool reconciling = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The reconciling to set. * @return This builder for chaining. */ public Builder setReconciling(boolean value) { - + reconciling_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } /** + * + * *
      * Output only. If true, the instance config is being created or updated. If
      * false, there are no ongoing operations for the instance config.
      * 
* * bool reconciling = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearReconciling() { @@ -3356,22 +3770,33 @@ public Builder clearReconciling() { private int state_ = 0; /** + * + * *
      * Output only. The current instance config state.
      * 
* - * .google.spanner.admin.instance.v1.InstanceConfig.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.instance.v1.InstanceConfig.State state = 11 [(.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 instance config state.
      * 
* - * .google.spanner.admin.instance.v1.InstanceConfig.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.instance.v1.InstanceConfig.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -3382,24 +3807,37 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
      * Output only. The current instance config state.
      * 
* - * .google.spanner.admin.instance.v1.InstanceConfig.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.instance.v1.InstanceConfig.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.spanner.admin.instance.v1.InstanceConfig.State getState() { - com.google.spanner.admin.instance.v1.InstanceConfig.State result = com.google.spanner.admin.instance.v1.InstanceConfig.State.forNumber(state_); - return result == null ? com.google.spanner.admin.instance.v1.InstanceConfig.State.UNRECOGNIZED : result; + com.google.spanner.admin.instance.v1.InstanceConfig.State result = + com.google.spanner.admin.instance.v1.InstanceConfig.State.forNumber(state_); + return result == null + ? com.google.spanner.admin.instance.v1.InstanceConfig.State.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. The current instance config state.
      * 
* - * .google.spanner.admin.instance.v1.InstanceConfig.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.instance.v1.InstanceConfig.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ @@ -3413,11 +3851,16 @@ public Builder setState(com.google.spanner.admin.instance.v1.InstanceConfig.Stat return this; } /** + * + * *
      * Output only. The current instance config state.
      * 
* - * .google.spanner.admin.instance.v1.InstanceConfig.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.instance.v1.InstanceConfig.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { @@ -3426,9 +3869,9 @@ public Builder clearState() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3438,12 +3881,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.InstanceConfig) } // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.InstanceConfig) private static final com.google.spanner.admin.instance.v1.InstanceConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.InstanceConfig(); } @@ -3452,27 +3895,27 @@ public static com.google.spanner.admin.instance.v1.InstanceConfig getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InstanceConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InstanceConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3487,6 +3930,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.instance.v1.InstanceConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceConfigName.java b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceConfigName.java similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceConfigName.java rename to proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceConfigName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceConfigOrBuilder.java b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceConfigOrBuilder.java similarity index 83% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceConfigOrBuilder.java rename to proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceConfigOrBuilder.java index 23db9c97963..cd54bc42865 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceConfigOrBuilder.java +++ b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceConfigOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto package com.google.spanner.admin.instance.v1; -public interface InstanceConfigOrBuilder extends +public interface InstanceConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.InstanceConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A unique identifier for the instance configuration.  Values
    * are of the form
@@ -15,10 +33,13 @@ public interface InstanceConfigOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * A unique identifier for the instance configuration.  Values
    * are of the form
@@ -26,53 +47,70 @@ public interface InstanceConfigOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The name of this instance configuration as it appears in UIs.
    * 
* * string display_name = 2; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * The name of this instance configuration as it appears in UIs.
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Output only. Whether this instance config is a Google or User Managed
    * Configuration.
    * 
* - * .google.spanner.admin.instance.v1.InstanceConfig.Type config_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.instance.v1.InstanceConfig.Type config_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for configType. */ int getConfigTypeValue(); /** + * + * *
    * Output only. Whether this instance config is a Google or User Managed
    * Configuration.
    * 
* - * .google.spanner.admin.instance.v1.InstanceConfig.Type config_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.instance.v1.InstanceConfig.Type config_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The configType. */ com.google.spanner.admin.instance.v1.InstanceConfig.Type getConfigType(); /** + * + * *
    * The geographic placement of nodes in this instance configuration and their
    * replication properties.
@@ -80,9 +118,10 @@ public interface InstanceConfigOrBuilder extends
    *
    * repeated .google.spanner.admin.instance.v1.ReplicaInfo replicas = 3;
    */
-  java.util.List 
-      getReplicasList();
+  java.util.List getReplicasList();
   /**
+   *
+   *
    * 
    * The geographic placement of nodes in this instance configuration and their
    * replication properties.
@@ -92,6 +131,8 @@ public interface InstanceConfigOrBuilder extends
    */
   com.google.spanner.admin.instance.v1.ReplicaInfo getReplicas(int index);
   /**
+   *
+   *
    * 
    * The geographic placement of nodes in this instance configuration and their
    * replication properties.
@@ -101,6 +142,8 @@ public interface InstanceConfigOrBuilder extends
    */
   int getReplicasCount();
   /**
+   *
+   *
    * 
    * The geographic placement of nodes in this instance configuration and their
    * replication properties.
@@ -108,9 +151,11 @@ public interface InstanceConfigOrBuilder extends
    *
    * repeated .google.spanner.admin.instance.v1.ReplicaInfo replicas = 3;
    */
-  java.util.List 
+  java.util.List
       getReplicasOrBuilderList();
   /**
+   *
+   *
    * 
    * The geographic placement of nodes in this instance configuration and their
    * replication properties.
@@ -118,59 +163,78 @@ public interface InstanceConfigOrBuilder extends
    *
    * repeated .google.spanner.admin.instance.v1.ReplicaInfo replicas = 3;
    */
-  com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder getReplicasOrBuilder(
-      int index);
+  com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder getReplicasOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * Output only. The available optional replicas to choose from for user
    * managed configurations. Populated for Google managed configurations.
    * 
* - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List - getOptionalReplicasList(); + java.util.List getOptionalReplicasList(); /** + * + * *
    * Output only. The available optional replicas to choose from for user
    * managed configurations. Populated for Google managed configurations.
    * 
* - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.spanner.admin.instance.v1.ReplicaInfo getOptionalReplicas(int index); /** + * + * *
    * Output only. The available optional replicas to choose from for user
    * managed configurations. Populated for Google managed configurations.
    * 
* - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ int getOptionalReplicasCount(); /** + * + * *
    * Output only. The available optional replicas to choose from for user
    * managed configurations. Populated for Google managed configurations.
    * 
* - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List + java.util.List getOptionalReplicasOrBuilderList(); /** + * + * *
    * Output only. The available optional replicas to choose from for user
    * managed configurations. Populated for Google managed configurations.
    * 
* - * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.spanner.admin.instance.v1.ReplicaInfo optional_replicas = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder getOptionalReplicasOrBuilder( - int index); + com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder getOptionalReplicasOrBuilder(int index); /** + * + * *
    * Base configuration name, e.g. projects/<project_name>/instanceConfigs/nam3,
    * based on which this configuration is created. Only set for user managed
@@ -179,10 +243,13 @@ com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder getOptionalReplicasOrB
    * 
* * string base_config = 7 [(.google.api.resource_reference) = { ... } + * * @return The baseConfig. */ java.lang.String getBaseConfig(); /** + * + * *
    * Base configuration name, e.g. projects/<project_name>/instanceConfigs/nam3,
    * based on which this configuration is created. Only set for user managed
@@ -191,12 +258,14 @@ com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder getOptionalReplicasOrB
    * 
* * string base_config = 7 [(.google.api.resource_reference) = { ... } + * * @return The bytes for baseConfig. */ - com.google.protobuf.ByteString - getBaseConfigBytes(); + com.google.protobuf.ByteString getBaseConfigBytes(); /** + * + * *
    * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -222,6 +291,8 @@ com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder getOptionalReplicasOrB
    */
   int getLabelsCount();
   /**
+   *
+   *
    * 
    * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -245,15 +316,13 @@ com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder getOptionalReplicasOrB
    *
    * map<string, string> labels = 8;
    */
-  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();
   /**
+   *
+   *
    * 
    * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -277,9 +346,10 @@ boolean containsLabels(
    *
    * map<string, string> labels = 8;
    */
-  java.util.Map
-  getLabelsMap();
+  java.util.Map getLabelsMap();
   /**
+   *
+   *
    * 
    * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -304,11 +374,13 @@ boolean containsLabels(
    * map<string, string> labels = 8;
    */
   /* nullable */
-java.lang.String getLabelsOrDefault(
+  java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -332,10 +404,11 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 8;
    */
-  java.lang.String getLabelsOrThrow(
-      java.lang.String key);
+  java.lang.String getLabelsOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * etag is used for optimistic concurrency control as a way
    * to help prevent simultaneous updates of a instance config from overwriting
@@ -350,10 +423,13 @@ java.lang.String getLabelsOrThrow(
    * 
* * string etag = 9; + * * @return The etag. */ java.lang.String getEtag(); /** + * + * *
    * etag is used for optimistic concurrency control as a way
    * to help prevent simultaneous updates of a instance config from overwriting
@@ -368,82 +444,105 @@ java.lang.String getLabelsOrThrow(
    * 
* * string etag = 9; + * * @return The bytes for etag. */ - com.google.protobuf.ByteString - getEtagBytes(); + com.google.protobuf.ByteString getEtagBytes(); /** + * + * *
    * Allowed values of the "default_leader" schema option for databases in
    * instances that use this instance configuration.
    * 
* * repeated string leader_options = 4; + * * @return A list containing the leaderOptions. */ - java.util.List - getLeaderOptionsList(); + java.util.List getLeaderOptionsList(); /** + * + * *
    * Allowed values of the "default_leader" schema option for databases in
    * instances that use this instance configuration.
    * 
* * repeated string leader_options = 4; + * * @return The count of leaderOptions. */ int getLeaderOptionsCount(); /** + * + * *
    * Allowed values of the "default_leader" schema option for databases in
    * instances that use this instance configuration.
    * 
* * repeated string leader_options = 4; + * * @param index The index of the element to return. * @return The leaderOptions at the given index. */ java.lang.String getLeaderOptions(int index); /** + * + * *
    * Allowed values of the "default_leader" schema option for databases in
    * instances that use this instance configuration.
    * 
* * repeated string leader_options = 4; + * * @param index The index of the value to return. * @return The bytes of the leaderOptions at the given index. */ - com.google.protobuf.ByteString - getLeaderOptionsBytes(int index); + com.google.protobuf.ByteString getLeaderOptionsBytes(int index); /** + * + * *
    * Output only. If true, the instance config is being created or updated. If
    * false, there are no ongoing operations for the instance config.
    * 
* * bool reconciling = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The reconciling. */ boolean getReconciling(); /** + * + * *
    * Output only. The current instance config state.
    * 
* - * .google.spanner.admin.instance.v1.InstanceConfig.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.instance.v1.InstanceConfig.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. The current instance config state.
    * 
* - * .google.spanner.admin.instance.v1.InstanceConfig.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.instance.v1.InstanceConfig.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.spanner.admin.instance.v1.InstanceConfig.State getState(); diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceName.java b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceName.java similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceName.java rename to proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceOrBuilder.java b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceOrBuilder.java similarity index 85% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceOrBuilder.java rename to proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceOrBuilder.java index 0476837e717..202d5c0bfe2 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceOrBuilder.java +++ b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/InstanceOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto package com.google.spanner.admin.instance.v1; -public interface InstanceOrBuilder extends +public interface InstanceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.Instance) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. A unique identifier for the instance, which cannot be changed
    * after the instance is created. Values are of the form
@@ -16,10 +34,13 @@ public interface InstanceOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. A unique identifier for the instance, which cannot be changed
    * after the instance is created. Values are of the form
@@ -28,12 +49,14 @@ public interface InstanceOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. The name of the instance's configuration. Values are of the form
    * `projects/<project>/instanceConfigs/<configuration>`. See
@@ -41,11 +64,16 @@ public interface InstanceOrBuilder extends
    * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs].
    * 
* - * string config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The config. */ java.lang.String getConfig(); /** + * + * *
    * Required. The name of the instance's configuration. Values are of the form
    * `projects/<project>/instanceConfigs/<configuration>`. See
@@ -53,35 +81,44 @@ public interface InstanceOrBuilder extends
    * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs].
    * 
* - * string config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for config. */ - com.google.protobuf.ByteString - getConfigBytes(); + com.google.protobuf.ByteString getConfigBytes(); /** + * + * *
    * Required. The descriptive name for this instance as it appears in UIs.
    * Must be unique per project and between 4 and 30 characters in length.
    * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Required. The descriptive name for this instance as it appears in UIs.
    * Must be unique per project and between 4 and 30 characters in length.
    * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * The number of nodes allocated to this instance. At most one of either
    * node_count or processing_units should be present in the message. This
@@ -93,11 +130,14 @@ public interface InstanceOrBuilder extends
    * 
* * int32 node_count = 5; + * * @return The nodeCount. */ int getNodeCount(); /** + * + * *
    * The number of processing units allocated to this instance. At most one of
    * processing_units or node_count should be present in the message. This may
@@ -108,11 +148,14 @@ public interface InstanceOrBuilder extends
    * 
* * int32 processing_units = 9; + * * @return The processingUnits. */ int getProcessingUnits(); /** + * + * *
    * Output only. The current instance state. For
    * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance],
@@ -121,11 +164,16 @@ public interface InstanceOrBuilder extends
    * the state must be either omitted or set to `READY`.
    * 
* - * .google.spanner.admin.instance.v1.Instance.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.instance.v1.Instance.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. The current instance state. For
    * [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance],
@@ -134,12 +182,17 @@ public interface InstanceOrBuilder extends
    * the state must be either omitted or set to `READY`.
    * 
* - * .google.spanner.admin.instance.v1.Instance.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.spanner.admin.instance.v1.Instance.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.spanner.admin.instance.v1.Instance.State getState(); /** + * + * *
    * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -165,6 +218,8 @@ public interface InstanceOrBuilder extends
    */
   int getLabelsCount();
   /**
+   *
+   *
    * 
    * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -188,15 +243,13 @@ public interface InstanceOrBuilder extends
    *
    * map<string, string> labels = 7;
    */
-  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();
   /**
+   *
+   *
    * 
    * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -220,9 +273,10 @@ boolean containsLabels(
    *
    * map<string, string> labels = 7;
    */
-  java.util.Map
-  getLabelsMap();
+  java.util.Map getLabelsMap();
   /**
+   *
+   *
    * 
    * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -247,11 +301,13 @@ boolean containsLabels(
    * map<string, string> labels = 7;
    */
   /* nullable */
-java.lang.String getLabelsOrDefault(
+  java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -275,101 +331,132 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 7;
    */
-  java.lang.String getLabelsOrThrow(
-      java.lang.String key);
+  java.lang.String getLabelsOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * Deprecated. This field is not populated.
    * 
* * repeated string endpoint_uris = 8; + * * @return A list containing the endpointUris. */ - java.util.List - getEndpointUrisList(); + java.util.List getEndpointUrisList(); /** + * + * *
    * Deprecated. This field is not populated.
    * 
* * repeated string endpoint_uris = 8; + * * @return The count of endpointUris. */ int getEndpointUrisCount(); /** + * + * *
    * Deprecated. This field is not populated.
    * 
* * repeated string endpoint_uris = 8; + * * @param index The index of the element to return. * @return The endpointUris at the given index. */ java.lang.String getEndpointUris(int index); /** + * + * *
    * Deprecated. This field is not populated.
    * 
* * repeated string endpoint_uris = 8; + * * @param index The index of the value to return. * @return The bytes of the endpointUris at the given index. */ - com.google.protobuf.ByteString - getEndpointUrisBytes(int index); + com.google.protobuf.ByteString getEndpointUrisBytes(int index); /** + * + * *
    * Output only. The time at which the instance was created.
    * 
* - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The time at which the instance was created.
    * 
* - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The time at which the instance was created.
    * 
* - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. The time at which the instance was most recently updated.
    * 
* - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. The time at which the instance was most recently updated.
    * 
* - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. The time at which the instance was most recently updated.
    * 
* - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsRequest.java b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsRequest.java similarity index 76% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsRequest.java rename to proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsRequest.java index 91918e2d2fd..f2383b48b41 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsRequest.java +++ b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto package com.google.spanner.admin.instance.v1; /** + * + * *
  * The request for
  * [ListInstanceConfigOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigOperations].
@@ -11,15 +28,18 @@
  *
  * Protobuf type {@code google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest}
  */
-public final class ListInstanceConfigOperationsRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ListInstanceConfigOperationsRequest
+    extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest)
     ListInstanceConfigOperationsRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ListInstanceConfigOperationsRequest.newBuilder() to construct.
-  private ListInstanceConfigOperationsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private ListInstanceConfigOperationsRequest(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ListInstanceConfigOperationsRequest() {
     parent_ = "";
     filter_ = "";
@@ -28,39 +48,46 @@ private ListInstanceConfigOperationsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListInstanceConfigOperationsRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+        .internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsRequest_fieldAccessorTable
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+        .internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest.class, com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest.Builder.class);
+            com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest.class,
+            com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
+   *
+   *
    * 
    * Required. The project of the instance config operations.
    * 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 @@ -69,30 +96,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 project of the instance config operations.
    * 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 { @@ -101,9 +130,12 @@ public java.lang.String getParent() { } public static final int FILTER_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** + * + * *
    * An expression that filters the list of returned operations.
    * A filter expression consists of a field name, a
@@ -145,6 +177,7 @@ public java.lang.String getParent() {
    * 
* * string filter = 2; + * * @return The filter. */ @java.lang.Override @@ -153,14 +186,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; } } /** + * + * *
    * An expression that filters the list of returned operations.
    * A filter expression consists of a field name, a
@@ -202,16 +236,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 { @@ -222,12 +255,15 @@ public java.lang.String getFilter() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_ = 0; /** + * + * *
    * Number of operations to be returned in the response. If 0 or
    * less, defaults to the server's maximum allowed page size.
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -236,9 +272,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.next_page_token]
@@ -248,6 +287,7 @@ public int getPageSize() {
    * 
* * string page_token = 4; + * * @return The pageToken. */ @java.lang.Override @@ -256,14 +296,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.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.next_page_token]
@@ -273,16 +314,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; + * * @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 { @@ -291,6 +331,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -302,8 +343,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_); } @@ -332,8 +372,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filter_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -346,21 +385,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.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest)) { + if (!(obj + instanceof com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest)) { return super.equals(obj); } - com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest other = (com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest other = + (com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -386,96 +423,105 @@ public int hashCode() { } public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest 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.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest + 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.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest prototype) { + + public static Builder newBuilder( + com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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
    * [ListInstanceConfigOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigOperations].
@@ -483,33 +529,34 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest)
       com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+          .internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsRequest_fieldAccessorTable
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+          .internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest.class, com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest.Builder.class);
+              com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest.class,
+              com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest.Builder
+                  .class);
     }
 
-    // Construct using com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest.newBuilder()
-    private Builder() {
+    // Construct using
+    // com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest.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();
@@ -522,19 +569,22 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+          .internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest getDefaultInstanceForType() {
-      return com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest.getDefaultInstance();
+    public com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest
+        getDefaultInstanceForType() {
+      return com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest
+          .getDefaultInstance();
     }
 
     @java.lang.Override
     public com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest build() {
-      com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest result = buildPartial();
+      com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest result =
+          buildPartial();
       if (!result.isInitialized()) {
         throw newUninitializedMessageException(result);
       }
@@ -543,13 +593,17 @@ public com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest
 
     @java.lang.Override
     public com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest buildPartial() {
-      com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest result = new com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest result =
+          new com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest result) {
+    private void buildPartial0(
+        com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.parent_ = parent_;
@@ -569,46 +623,52 @@ private void buildPartial0(com.google.spanner.admin.instance.v1.ListInstanceConf
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
-      if (other instanceof com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest) {
-        return mergeFrom((com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest)other);
+      if (other
+          instanceof com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest) {
+        return mergeFrom(
+            (com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest other) {
-      if (other == com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest other) {
+      if (other
+          == com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest
+              .getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -653,32 +713,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 24: {
-              pageSize_ = input.readInt32();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 24
-            case 34: {
-              pageToken_ = input.readStringRequireUtf8();
-              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:
+              {
+                filter_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 24:
+              {
+                pageSize_ = input.readInt32();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 24
+            case 34:
+              {
+                pageToken_ = 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) {
@@ -688,23 +753,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. The project of the instance config operations.
      * 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; @@ -713,21 +783,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The project of the instance config operations.
      * 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 { @@ -735,30 +808,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The project of the instance config operations.
      * 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 project of the instance config operations.
      * 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() { @@ -768,18 +852,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The project of the instance config operations.
      * 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; @@ -789,6 +879,8 @@ public Builder setParentBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * An expression that filters the list of returned operations.
      * A filter expression consists of a field name, a
@@ -830,13 +922,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; @@ -845,6 +937,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * An expression that filters the list of returned operations.
      * A filter expression consists of a field name, a
@@ -886,15 +980,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 { @@ -902,6 +995,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * An expression that filters the list of returned operations.
      * A filter expression consists of a field name, a
@@ -943,18 +1038,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; } /** + * + * *
      * An expression that filters the list of returned operations.
      * A filter expression consists of a field name, a
@@ -996,6 +1095,7 @@ public Builder setFilter(
      * 
* * string filter = 2; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1005,6 +1105,8 @@ public Builder clearFilter() { return this; } /** + * + * *
      * An expression that filters the list of returned operations.
      * A filter expression consists of a field name, a
@@ -1046,12 +1148,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; @@ -1059,14 +1163,17 @@ public Builder setFilterBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Number of operations to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -1074,29 +1181,35 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Number of operations to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 3; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Number of operations to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 3; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -1108,6 +1221,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.next_page_token]
@@ -1117,13 +1232,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4; + * * @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; @@ -1132,6 +1247,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.next_page_token]
@@ -1141,15 +1258,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @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 { @@ -1157,6 +1273,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.next_page_token]
@@ -1166,18 +1284,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @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; } /** + * + * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.next_page_token]
@@ -1187,6 +1309,7 @@ public Builder setPageToken(
      * 
* * string page_token = 4; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1196,6 +1319,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.next_page_token]
@@ -1205,21 +1330,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; + * * @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); } @@ -1229,41 +1356,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest) - private static final com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest DEFAULT_INSTANCE; + private static final com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest(); + DEFAULT_INSTANCE = + new com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest(); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest getDefaultInstance() { + public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListInstanceConfigOperationsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListInstanceConfigOperationsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1275,9 +1405,8 @@ public com.google.protobuf.Parser getParser } @java.lang.Override - public com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest getDefaultInstanceForType() { + public com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsRequestOrBuilder.java b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsRequestOrBuilder.java similarity index 84% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsRequestOrBuilder.java rename to proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsRequestOrBuilder.java index c140cb8bca8..3e79ae5fff3 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsRequestOrBuilder.java +++ b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto package com.google.spanner.admin.instance.v1; -public interface ListInstanceConfigOperationsRequestOrBuilder extends +public interface ListInstanceConfigOperationsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The project of the instance config operations.
    * 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 project of the instance config operations.
    * 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(); /** + * + * *
    * An expression that filters the list of returned operations.
    * A filter expression consists of a field name, a
@@ -71,10 +98,13 @@ public interface ListInstanceConfigOperationsRequestOrBuilder extends
    * 
* * string filter = 2; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * An expression that filters the list of returned operations.
    * A filter expression consists of a field name, a
@@ -116,23 +146,28 @@ public interface ListInstanceConfigOperationsRequestOrBuilder extends
    * 
* * string filter = 2; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Number of operations to be returned in the response. If 0 or
    * less, defaults to the server's maximum allowed page size.
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.next_page_token]
@@ -142,10 +177,13 @@ public interface ListInstanceConfigOperationsRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.next_page_token]
@@ -155,8 +193,8 @@ public interface ListInstanceConfigOperationsRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsResponse.java b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsResponse.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsResponse.java rename to proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsResponse.java index 78f69dda50f..f120ee9ea3b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsResponse.java +++ b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsResponse.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto package com.google.spanner.admin.instance.v1; /** + * + * *
  * The response for
  * [ListInstanceConfigOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigOperations].
@@ -11,15 +28,18 @@
  *
  * Protobuf type {@code google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse}
  */
-public final class ListInstanceConfigOperationsResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ListInstanceConfigOperationsResponse
+    extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse)
     ListInstanceConfigOperationsResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ListInstanceConfigOperationsResponse.newBuilder() to construct.
-  private ListInstanceConfigOperationsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private ListInstanceConfigOperationsResponse(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ListInstanceConfigOperationsResponse() {
     operations_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -27,33 +47,38 @@ private ListInstanceConfigOperationsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListInstanceConfigOperationsResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsResponse_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+        .internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsResponse_fieldAccessorTable
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+        .internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.class, com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.Builder.class);
+            com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.class,
+            com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.Builder
+                .class);
   }
 
   public static final int OPERATIONS_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private java.util.List operations_;
   /**
+   *
+   *
    * 
    * The list of matching instance config [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -69,6 +94,8 @@ public java.util.List getOperationsList() {
     return operations_;
   }
   /**
+   *
+   *
    * 
    * The list of matching instance config [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -80,11 +107,13 @@ public java.util.List getOperationsList() {
    * repeated .google.longrunning.Operation operations = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getOperationsOrBuilderList() {
     return operations_;
   }
   /**
+   *
+   *
    * 
    * The list of matching instance config [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -100,6 +129,8 @@ public int getOperationsCount() {
     return operations_.size();
   }
   /**
+   *
+   *
    * 
    * The list of matching instance config [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -115,6 +146,8 @@ public com.google.longrunning.Operation getOperations(int index) {
     return operations_.get(index);
   }
   /**
+   *
+   *
    * 
    * The list of matching instance config [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -126,15 +159,17 @@ public com.google.longrunning.Operation getOperations(int index) {
    * repeated .google.longrunning.Operation operations = 1;
    */
   @java.lang.Override
-  public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(
-      int index) {
+  public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(int index) {
     return operations_.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
    * [ListInstanceConfigOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigOperations]
@@ -142,6 +177,7 @@ public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -150,14 +186,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
    * [ListInstanceConfigOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigOperations]
@@ -165,16 +202,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 { @@ -183,6 +219,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -194,8 +231,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 < operations_.size(); i++) { output.writeMessage(1, operations_.get(i)); } @@ -212,8 +248,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < operations_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, operations_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, operations_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -226,17 +261,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.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse)) { + if (!(obj + instanceof com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse)) { return super.equals(obj); } - com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse other = (com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse) obj; + com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse other = + (com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse) obj; - if (!getOperationsList() - .equals(other.getOperationsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getOperationsList().equals(other.getOperationsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -260,96 +295,105 @@ public int hashCode() { } public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse 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.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse + 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.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse prototype) { + + public static Builder newBuilder( + com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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
    * [ListInstanceConfigOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigOperations].
@@ -357,33 +401,34 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse)
       com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+          .internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsResponse_fieldAccessorTable
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+          .internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.class, com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.Builder.class);
+              com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.class,
+              com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.Builder
+                  .class);
     }
 
-    // Construct using com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.newBuilder()
-    private Builder() {
+    // Construct using
+    // com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.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();
@@ -400,19 +445,22 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+          .internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsResponse_descriptor;
     }
 
     @java.lang.Override
-    public com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse getDefaultInstanceForType() {
-      return com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.getDefaultInstance();
+    public com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse
+        getDefaultInstanceForType() {
+      return com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse
+          .getDefaultInstance();
     }
 
     @java.lang.Override
     public com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse build() {
-      com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse result = buildPartial();
+      com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse result =
+          buildPartial();
       if (!result.isInitialized()) {
         throw newUninitializedMessageException(result);
       }
@@ -420,15 +468,20 @@ public com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse
     }
 
     @java.lang.Override
-    public com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse buildPartial() {
-      com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse result = new com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse(this);
+    public com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse
+        buildPartial() {
+      com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse result =
+          new com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse result) {
+    private void buildPartialRepeatedFields(
+        com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse result) {
       if (operationsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           operations_ = java.util.Collections.unmodifiableList(operations_);
@@ -440,7 +493,8 @@ private void buildPartialRepeatedFields(com.google.spanner.admin.instance.v1.Lis
       }
     }
 
-    private void buildPartial0(com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse result) {
+    private void buildPartial0(
+        com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000002) != 0)) {
         result.nextPageToken_ = nextPageToken_;
@@ -451,46 +505,52 @@ private void buildPartial0(com.google.spanner.admin.instance.v1.ListInstanceConf
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
-      if (other instanceof com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse) {
-        return mergeFrom((com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse)other);
+      if (other
+          instanceof com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse) {
+        return mergeFrom(
+            (com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse other) {
-      if (other == com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse other) {
+      if (other
+          == com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse
+              .getDefaultInstance()) return this;
       if (operationsBuilder_ == null) {
         if (!other.operations_.isEmpty()) {
           if (operations_.isEmpty()) {
@@ -509,9 +569,10 @@ public Builder mergeFrom(com.google.spanner.admin.instance.v1.ListInstanceConfig
             operationsBuilder_ = null;
             operations_ = other.operations_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            operationsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getOperationsFieldBuilder() : null;
+            operationsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getOperationsFieldBuilder()
+                    : null;
           } else {
             operationsBuilder_.addAllMessages(other.operations_);
           }
@@ -548,30 +609,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.longrunning.Operation m =
-                  input.readMessage(
-                      com.google.longrunning.Operation.parser(),
-                      extensionRegistry);
-              if (operationsBuilder_ == null) {
-                ensureOperationsIsMutable();
-                operations_.add(m);
-              } else {
-                operationsBuilder_.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.longrunning.Operation m =
+                    input.readMessage(com.google.longrunning.Operation.parser(), extensionRegistry);
+                if (operationsBuilder_ == null) {
+                  ensureOperationsIsMutable();
+                  operations_.add(m);
+                } else {
+                  operationsBuilder_.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) {
@@ -581,21 +643,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.util.List operations_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureOperationsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         operations_ = new java.util.ArrayList(operations_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.longrunning.Operation, com.google.longrunning.Operation.Builder, com.google.longrunning.OperationOrBuilder> operationsBuilder_;
+            com.google.longrunning.Operation,
+            com.google.longrunning.Operation.Builder,
+            com.google.longrunning.OperationOrBuilder>
+        operationsBuilder_;
 
     /**
+     *
+     *
      * 
      * The list of matching instance config [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -614,6 +683,8 @@ public java.util.List getOperationsList() {
       }
     }
     /**
+     *
+     *
      * 
      * The list of matching instance config [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -632,6 +703,8 @@ public int getOperationsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The list of matching instance config [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -650,6 +723,8 @@ public com.google.longrunning.Operation getOperations(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The list of matching instance config [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -660,8 +735,7 @@ public com.google.longrunning.Operation getOperations(int index) {
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public Builder setOperations(
-        int index, com.google.longrunning.Operation value) {
+    public Builder setOperations(int index, com.google.longrunning.Operation value) {
       if (operationsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -675,6 +749,8 @@ public Builder setOperations(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of matching instance config [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -697,6 +773,8 @@ public Builder setOperations(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of matching instance config [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -721,6 +799,8 @@ public Builder addOperations(com.google.longrunning.Operation value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of matching instance config [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -731,8 +811,7 @@ public Builder addOperations(com.google.longrunning.Operation value) {
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public Builder addOperations(
-        int index, com.google.longrunning.Operation value) {
+    public Builder addOperations(int index, com.google.longrunning.Operation value) {
       if (operationsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -746,6 +825,8 @@ public Builder addOperations(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of matching instance config [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -756,8 +837,7 @@ public Builder addOperations(
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public Builder addOperations(
-        com.google.longrunning.Operation.Builder builderForValue) {
+    public Builder addOperations(com.google.longrunning.Operation.Builder builderForValue) {
       if (operationsBuilder_ == null) {
         ensureOperationsIsMutable();
         operations_.add(builderForValue.build());
@@ -768,6 +848,8 @@ public Builder addOperations(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of matching instance config [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -790,6 +872,8 @@ public Builder addOperations(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of matching instance config [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -804,8 +888,7 @@ public Builder addAllOperations(
         java.lang.Iterable values) {
       if (operationsBuilder_ == null) {
         ensureOperationsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, operations_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, operations_);
         onChanged();
       } else {
         operationsBuilder_.addAllMessages(values);
@@ -813,6 +896,8 @@ public Builder addAllOperations(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of matching instance config [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -834,6 +919,8 @@ public Builder clearOperations() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of matching instance config [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -855,6 +942,8 @@ public Builder removeOperations(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of matching instance config [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -865,11 +954,12 @@ public Builder removeOperations(int index) {
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public com.google.longrunning.Operation.Builder getOperationsBuilder(
-        int index) {
+    public com.google.longrunning.Operation.Builder getOperationsBuilder(int index) {
       return getOperationsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The list of matching instance config [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -880,14 +970,16 @@ public com.google.longrunning.Operation.Builder getOperationsBuilder(
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(
-        int index) {
+    public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(int index) {
       if (operationsBuilder_ == null) {
-        return operations_.get(index);  } else {
+        return operations_.get(index);
+      } else {
         return operationsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The list of matching instance config [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -898,8 +990,8 @@ public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public java.util.List 
-         getOperationsOrBuilderList() {
+    public java.util.List
+        getOperationsOrBuilderList() {
       if (operationsBuilder_ != null) {
         return operationsBuilder_.getMessageOrBuilderList();
       } else {
@@ -907,6 +999,8 @@ public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * The list of matching instance config [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -918,10 +1012,12 @@ public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(
      * repeated .google.longrunning.Operation operations = 1;
      */
     public com.google.longrunning.Operation.Builder addOperationsBuilder() {
-      return getOperationsFieldBuilder().addBuilder(
-          com.google.longrunning.Operation.getDefaultInstance());
+      return getOperationsFieldBuilder()
+          .addBuilder(com.google.longrunning.Operation.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The list of matching instance config [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -932,12 +1028,13 @@ public com.google.longrunning.Operation.Builder addOperationsBuilder() {
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public com.google.longrunning.Operation.Builder addOperationsBuilder(
-        int index) {
-      return getOperationsFieldBuilder().addBuilder(
-          index, com.google.longrunning.Operation.getDefaultInstance());
+    public com.google.longrunning.Operation.Builder addOperationsBuilder(int index) {
+      return getOperationsFieldBuilder()
+          .addBuilder(index, com.google.longrunning.Operation.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The list of matching instance config [long-running
      * operations][google.longrunning.Operation]. Each operation's name will be
@@ -948,20 +1045,22 @@ public com.google.longrunning.Operation.Builder addOperationsBuilder(
      *
      * repeated .google.longrunning.Operation operations = 1;
      */
-    public java.util.List 
-         getOperationsBuilderList() {
+    public java.util.List getOperationsBuilderList() {
       return getOperationsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.longrunning.Operation, com.google.longrunning.Operation.Builder, com.google.longrunning.OperationOrBuilder> 
+            com.google.longrunning.Operation,
+            com.google.longrunning.Operation.Builder,
+            com.google.longrunning.OperationOrBuilder>
         getOperationsFieldBuilder() {
       if (operationsBuilder_ == null) {
-        operationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.longrunning.Operation, com.google.longrunning.Operation.Builder, com.google.longrunning.OperationOrBuilder>(
-                operations_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        operationsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.longrunning.Operation,
+                com.google.longrunning.Operation.Builder,
+                com.google.longrunning.OperationOrBuilder>(
+                operations_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         operations_ = null;
       }
       return operationsBuilder_;
@@ -969,6 +1068,8 @@ public com.google.longrunning.Operation.Builder addOperationsBuilder(
 
     private java.lang.Object nextPageToken_ = "";
     /**
+     *
+     *
      * 
      * `next_page_token` can be sent in a subsequent
      * [ListInstanceConfigOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigOperations]
@@ -976,13 +1077,13 @@ public com.google.longrunning.Operation.Builder addOperationsBuilder(
      * 
* * 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; @@ -991,6 +1092,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * `next_page_token` can be sent in a subsequent
      * [ListInstanceConfigOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigOperations]
@@ -998,15 +1101,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 { @@ -1014,6 +1116,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * `next_page_token` can be sent in a subsequent
      * [ListInstanceConfigOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigOperations]
@@ -1021,18 +1125,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
      * [ListInstanceConfigOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigOperations]
@@ -1040,6 +1148,7 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1049,6 +1158,8 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * `next_page_token` can be sent in a subsequent
      * [ListInstanceConfigOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigOperations]
@@ -1056,21 +1167,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); } @@ -1080,41 +1193,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse) } // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse) - private static final com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse DEFAULT_INSTANCE; + private static final com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse(); + DEFAULT_INSTANCE = + new com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse(); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse getDefaultInstance() { + public static com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListInstanceConfigOperationsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListInstanceConfigOperationsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1126,9 +1242,8 @@ public com.google.protobuf.Parser getParse } @java.lang.Override - public com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse getDefaultInstanceForType() { + public com.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsResponseOrBuilder.java b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsResponseOrBuilder.java similarity index 78% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsResponseOrBuilder.java rename to proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsResponseOrBuilder.java index 356a5ae4231..f7d1c09b612 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsResponseOrBuilder.java +++ b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigOperationsResponseOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto package com.google.spanner.admin.instance.v1; -public interface ListInstanceConfigOperationsResponseOrBuilder extends +public interface ListInstanceConfigOperationsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The list of matching instance config [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -18,9 +36,10 @@ public interface ListInstanceConfigOperationsResponseOrBuilder extends
    *
    * repeated .google.longrunning.Operation operations = 1;
    */
-  java.util.List 
-      getOperationsList();
+  java.util.List getOperationsList();
   /**
+   *
+   *
    * 
    * The list of matching instance config [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -33,6 +52,8 @@ public interface ListInstanceConfigOperationsResponseOrBuilder extends
    */
   com.google.longrunning.Operation getOperations(int index);
   /**
+   *
+   *
    * 
    * The list of matching instance config [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -45,6 +66,8 @@ public interface ListInstanceConfigOperationsResponseOrBuilder extends
    */
   int getOperationsCount();
   /**
+   *
+   *
    * 
    * The list of matching instance config [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -55,9 +78,10 @@ public interface ListInstanceConfigOperationsResponseOrBuilder extends
    *
    * repeated .google.longrunning.Operation operations = 1;
    */
-  java.util.List 
-      getOperationsOrBuilderList();
+  java.util.List getOperationsOrBuilderList();
   /**
+   *
+   *
    * 
    * The list of matching instance config [long-running
    * operations][google.longrunning.Operation]. Each operation's name will be
@@ -68,10 +92,11 @@ public interface ListInstanceConfigOperationsResponseOrBuilder extends
    *
    * repeated .google.longrunning.Operation operations = 1;
    */
-  com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(
-      int index);
+  com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * `next_page_token` can be sent in a subsequent
    * [ListInstanceConfigOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigOperations]
@@ -79,10 +104,13 @@ com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * `next_page_token` can be sent in a subsequent
    * [ListInstanceConfigOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigOperations]
@@ -90,8 +118,8 @@ com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(
    * 
* * 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/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsRequest.java b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsRequest.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsRequest.java rename to proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsRequest.java index dc5810a5dd6..ccfd7f89e98 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsRequest.java +++ b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto package com.google.spanner.admin.instance.v1; /** + * + * *
  * The request for
  * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.spanner.admin.instance.v1.ListInstanceConfigsRequest}
  */
-public final class ListInstanceConfigsRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ListInstanceConfigsRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.instance.v1.ListInstanceConfigsRequest)
     ListInstanceConfigsRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ListInstanceConfigsRequest.newBuilder() to construct.
   private ListInstanceConfigsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ListInstanceConfigsRequest() {
     parent_ = "";
     pageToken_ = "";
@@ -27,40 +45,47 @@ private ListInstanceConfigsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListInstanceConfigsRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+        .internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsRequest_fieldAccessorTable
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+        .internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest.class, com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest.Builder.class);
+            com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest.class,
+            com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
+   *
+   *
    * 
    * Required. The name of the project for which a list of supported instance
    * configurations 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 @@ -69,31 +94,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 project for which a list of supported instance
    * configurations 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 { @@ -104,12 +131,15 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * Number of instance configurations to be returned in the response. If 0 or
    * less, defaults to the server's maximum allowed page size.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -118,9 +148,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.instance.v1.ListInstanceConfigsResponse.next_page_token]
@@ -129,6 +162,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -137,14 +171,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.spanner.admin.instance.v1.ListInstanceConfigsResponse.next_page_token]
@@ -153,16 +188,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -171,6 +205,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -182,8 +217,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -206,8 +240,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -220,19 +253,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.spanner.admin.instance.v1.ListInstanceConfigsRequest)) { return super.equals(obj); } - com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest other = (com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest) obj; + com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest other = + (com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -256,96 +287,104 @@ public int hashCode() { } public static com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest prototype) { + + public static Builder newBuilder( + com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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
    * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs].
@@ -353,33 +392,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.spanner.admin.instance.v1.ListInstanceConfigsRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.instance.v1.ListInstanceConfigsRequest)
       com.google.spanner.admin.instance.v1.ListInstanceConfigsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+          .internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsRequest_fieldAccessorTable
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+          .internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest.class, com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest.Builder.class);
+              com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest.class,
+              com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        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,13 +429,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+          .internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest getDefaultInstanceForType() {
+    public com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest
+        getDefaultInstanceForType() {
       return com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest.getDefaultInstance();
     }
 
@@ -412,13 +451,17 @@ public com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest build() {
 
     @java.lang.Override
     public com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest buildPartial() {
-      com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest result = new com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest result =
+          new com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest result) {
+    private void buildPartial0(
+        com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.parent_ = parent_;
@@ -435,46 +478,50 @@ private void buildPartial0(com.google.spanner.admin.instance.v1.ListInstanceConf
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest) {
-        return mergeFrom((com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest)other);
+        return mergeFrom((com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest other) {
-      if (other == com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest other) {
+      if (other
+          == com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest.getDefaultInstance())
+        return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -514,27 +561,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) {
@@ -544,24 +595,29 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. The name of the project for which a list of supported instance
      * configurations 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; @@ -570,22 +626,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the project for which a list of supported instance
      * configurations 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 { @@ -593,32 +652,43 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the project for which a list of supported instance
      * configurations 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 name of the project for which a list of supported instance
      * configurations 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() { @@ -628,19 +698,25 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The name of the project for which a list of supported instance
      * configurations 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; @@ -648,14 +724,17 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Number of instance configurations to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -663,29 +742,35 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Number of instance configurations to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Number of instance configurations to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -697,6 +782,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.instance.v1.ListInstanceConfigsResponse.next_page_token]
@@ -705,13 +792,13 @@ public Builder clearPageSize() {
      * 
* * 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; @@ -720,6 +807,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.instance.v1.ListInstanceConfigsResponse.next_page_token]
@@ -728,15 +817,14 @@ public java.lang.String getPageToken() {
      * 
* * 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 { @@ -744,6 +832,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.instance.v1.ListInstanceConfigsResponse.next_page_token]
@@ -752,18 +842,22 @@ public java.lang.String getPageToken() {
      * 
* * 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; } /** + * + * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.instance.v1.ListInstanceConfigsResponse.next_page_token]
@@ -772,6 +866,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -781,6 +876,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.instance.v1.ListInstanceConfigsResponse.next_page_token]
@@ -789,21 +886,23 @@ public Builder clearPageToken() {
      * 
* * 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,41 +912,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.ListInstanceConfigsRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.ListInstanceConfigsRequest) - private static final com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest DEFAULT_INSTANCE; + private static final com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest(); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest getDefaultInstance() { + public static com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListInstanceConfigsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListInstanceConfigsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -859,9 +960,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest getDefaultInstanceForType() { + public com.google.spanner.admin.instance.v1.ListInstanceConfigsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsRequestOrBuilder.java b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsRequestOrBuilder.java similarity index 63% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsRequestOrBuilder.java rename to proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsRequestOrBuilder.java index f5eaa7fdd12..1cdb7effce4 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsRequestOrBuilder.java +++ b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsRequestOrBuilder.java @@ -1,48 +1,78 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto package com.google.spanner.admin.instance.v1; -public interface ListInstanceConfigsRequestOrBuilder extends +public interface ListInstanceConfigsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.ListInstanceConfigsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the project for which a list of supported instance
    * configurations 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 name of the project for which a list of supported instance
    * configurations 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(); /** + * + * *
    * Number of instance configurations to be returned in the response. If 0 or
    * less, defaults to the server's maximum allowed page size.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.instance.v1.ListInstanceConfigsResponse.next_page_token]
@@ -51,10 +81,13 @@ public interface ListInstanceConfigsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.instance.v1.ListInstanceConfigsResponse.next_page_token]
@@ -63,8 +96,8 @@ public interface ListInstanceConfigsRequestOrBuilder extends
    * 
* * 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/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsResponse.java b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsResponse.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsResponse.java rename to proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsResponse.java index 166821da5fc..d5611dd1e8d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsResponse.java +++ b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsResponse.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto package com.google.spanner.admin.instance.v1; /** + * + * *
  * The response for
  * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.spanner.admin.instance.v1.ListInstanceConfigsResponse}
  */
-public final class ListInstanceConfigsResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ListInstanceConfigsResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.instance.v1.ListInstanceConfigsResponse)
     ListInstanceConfigsResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ListInstanceConfigsResponse.newBuilder() to construct.
   private ListInstanceConfigsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ListInstanceConfigsResponse() {
     instanceConfigs_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -27,33 +45,37 @@ private ListInstanceConfigsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListInstanceConfigsResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsResponse_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+        .internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsResponse_fieldAccessorTable
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+        .internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse.class, com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse.Builder.class);
+            com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse.class,
+            com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse.Builder.class);
   }
 
   public static final int INSTANCE_CONFIGS_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private java.util.List instanceConfigs_;
   /**
+   *
+   *
    * 
    * The list of requested instance configurations.
    * 
@@ -61,10 +83,13 @@ protected java.lang.Object newInstance( * repeated .google.spanner.admin.instance.v1.InstanceConfig instance_configs = 1; */ @java.lang.Override - public java.util.List getInstanceConfigsList() { + public java.util.List + getInstanceConfigsList() { return instanceConfigs_; } /** + * + * *
    * The list of requested instance configurations.
    * 
@@ -72,11 +97,13 @@ public java.util.List getIn * repeated .google.spanner.admin.instance.v1.InstanceConfig instance_configs = 1; */ @java.lang.Override - public java.util.List + public java.util.List getInstanceConfigsOrBuilderList() { return instanceConfigs_; } /** + * + * *
    * The list of requested instance configurations.
    * 
@@ -88,6 +115,8 @@ public int getInstanceConfigsCount() { return instanceConfigs_.size(); } /** + * + * *
    * The list of requested instance configurations.
    * 
@@ -99,6 +128,8 @@ public com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfigs(in return instanceConfigs_.get(index); } /** + * + * *
    * The list of requested instance configurations.
    * 
@@ -112,9 +143,12 @@ public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceC } 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
    * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs]
@@ -122,6 +156,7 @@ public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceC
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -130,14 +165,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
    * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs]
@@ -145,16 +181,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 +198,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -174,8 +210,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 < instanceConfigs_.size(); i++) { output.writeMessage(1, instanceConfigs_.get(i)); } @@ -192,8 +227,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < instanceConfigs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, instanceConfigs_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, instanceConfigs_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -206,17 +240,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.spanner.admin.instance.v1.ListInstanceConfigsResponse)) { return super.equals(obj); } - com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse other = (com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse) obj; + com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse other = + (com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse) obj; - if (!getInstanceConfigsList() - .equals(other.getInstanceConfigsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getInstanceConfigsList().equals(other.getInstanceConfigsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -240,96 +273,104 @@ public int hashCode() { } public static com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse prototype) { + + public static Builder newBuilder( + com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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
    * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs].
@@ -337,33 +378,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.spanner.admin.instance.v1.ListInstanceConfigsResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.instance.v1.ListInstanceConfigsResponse)
       com.google.spanner.admin.instance.v1.ListInstanceConfigsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+          .internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsResponse_fieldAccessorTable
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+          .internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse.class, com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse.Builder.class);
+              com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse.class,
+              com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -380,13 +420,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+          .internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsResponse_descriptor;
     }
 
     @java.lang.Override
-    public com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse getDefaultInstanceForType() {
+    public com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse
+        getDefaultInstanceForType() {
       return com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse.getDefaultInstance();
     }
 
@@ -401,14 +442,18 @@ public com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse build()
 
     @java.lang.Override
     public com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse buildPartial() {
-      com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse result = new com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse(this);
+      com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse result =
+          new com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse result) {
+    private void buildPartialRepeatedFields(
+        com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse result) {
       if (instanceConfigsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           instanceConfigs_ = java.util.Collections.unmodifiableList(instanceConfigs_);
@@ -420,7 +465,8 @@ private void buildPartialRepeatedFields(com.google.spanner.admin.instance.v1.Lis
       }
     }
 
-    private void buildPartial0(com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse result) {
+    private void buildPartial0(
+        com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000002) != 0)) {
         result.nextPageToken_ = nextPageToken_;
@@ -431,46 +477,50 @@ private void buildPartial0(com.google.spanner.admin.instance.v1.ListInstanceConf
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse) {
-        return mergeFrom((com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse)other);
+        return mergeFrom((com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse other) {
-      if (other == com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse other) {
+      if (other
+          == com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse.getDefaultInstance())
+        return this;
       if (instanceConfigsBuilder_ == null) {
         if (!other.instanceConfigs_.isEmpty()) {
           if (instanceConfigs_.isEmpty()) {
@@ -489,9 +539,10 @@ public Builder mergeFrom(com.google.spanner.admin.instance.v1.ListInstanceConfig
             instanceConfigsBuilder_ = null;
             instanceConfigs_ = other.instanceConfigs_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            instanceConfigsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getInstanceConfigsFieldBuilder() : null;
+            instanceConfigsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getInstanceConfigsFieldBuilder()
+                    : null;
           } else {
             instanceConfigsBuilder_.addAllMessages(other.instanceConfigs_);
           }
@@ -528,30 +579,33 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.spanner.admin.instance.v1.InstanceConfig m =
-                  input.readMessage(
-                      com.google.spanner.admin.instance.v1.InstanceConfig.parser(),
-                      extensionRegistry);
-              if (instanceConfigsBuilder_ == null) {
-                ensureInstanceConfigsIsMutable();
-                instanceConfigs_.add(m);
-              } else {
-                instanceConfigsBuilder_.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.spanner.admin.instance.v1.InstanceConfig m =
+                    input.readMessage(
+                        com.google.spanner.admin.instance.v1.InstanceConfig.parser(),
+                        extensionRegistry);
+                if (instanceConfigsBuilder_ == null) {
+                  ensureInstanceConfigsIsMutable();
+                  instanceConfigs_.add(m);
+                } else {
+                  instanceConfigsBuilder_.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) {
@@ -561,28 +615,38 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.util.List instanceConfigs_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureInstanceConfigsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        instanceConfigs_ = new java.util.ArrayList(instanceConfigs_);
+        instanceConfigs_ =
+            new java.util.ArrayList(
+                instanceConfigs_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.spanner.admin.instance.v1.InstanceConfig, com.google.spanner.admin.instance.v1.InstanceConfig.Builder, com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder> instanceConfigsBuilder_;
+            com.google.spanner.admin.instance.v1.InstanceConfig,
+            com.google.spanner.admin.instance.v1.InstanceConfig.Builder,
+            com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder>
+        instanceConfigsBuilder_;
 
     /**
+     *
+     *
      * 
      * The list of requested instance configurations.
      * 
* * repeated .google.spanner.admin.instance.v1.InstanceConfig instance_configs = 1; */ - public java.util.List getInstanceConfigsList() { + public java.util.List + getInstanceConfigsList() { if (instanceConfigsBuilder_ == null) { return java.util.Collections.unmodifiableList(instanceConfigs_); } else { @@ -590,6 +654,8 @@ public java.util.List getIn } } /** + * + * *
      * The list of requested instance configurations.
      * 
@@ -604,6 +670,8 @@ public int getInstanceConfigsCount() { } } /** + * + * *
      * The list of requested instance configurations.
      * 
@@ -618,6 +686,8 @@ public com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfigs(in } } /** + * + * *
      * The list of requested instance configurations.
      * 
@@ -639,6 +709,8 @@ public Builder setInstanceConfigs( return this; } /** + * + * *
      * The list of requested instance configurations.
      * 
@@ -657,6 +729,8 @@ public Builder setInstanceConfigs( return this; } /** + * + * *
      * The list of requested instance configurations.
      * 
@@ -677,6 +751,8 @@ public Builder addInstanceConfigs(com.google.spanner.admin.instance.v1.InstanceC return this; } /** + * + * *
      * The list of requested instance configurations.
      * 
@@ -698,6 +774,8 @@ public Builder addInstanceConfigs( return this; } /** + * + * *
      * The list of requested instance configurations.
      * 
@@ -716,6 +794,8 @@ public Builder addInstanceConfigs( return this; } /** + * + * *
      * The list of requested instance configurations.
      * 
@@ -734,6 +814,8 @@ public Builder addInstanceConfigs( return this; } /** + * + * *
      * The list of requested instance configurations.
      * 
@@ -744,8 +826,7 @@ public Builder addAllInstanceConfigs( java.lang.Iterable values) { if (instanceConfigsBuilder_ == null) { ensureInstanceConfigsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, instanceConfigs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, instanceConfigs_); onChanged(); } else { instanceConfigsBuilder_.addAllMessages(values); @@ -753,6 +834,8 @@ public Builder addAllInstanceConfigs( return this; } /** + * + * *
      * The list of requested instance configurations.
      * 
@@ -770,6 +853,8 @@ public Builder clearInstanceConfigs() { return this; } /** + * + * *
      * The list of requested instance configurations.
      * 
@@ -787,6 +872,8 @@ public Builder removeInstanceConfigs(int index) { return this; } /** + * + * *
      * The list of requested instance configurations.
      * 
@@ -798,6 +885,8 @@ public com.google.spanner.admin.instance.v1.InstanceConfig.Builder getInstanceCo return getInstanceConfigsFieldBuilder().getBuilder(index); } /** + * + * *
      * The list of requested instance configurations.
      * 
@@ -807,19 +896,22 @@ public com.google.spanner.admin.instance.v1.InstanceConfig.Builder getInstanceCo public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceConfigsOrBuilder( int index) { if (instanceConfigsBuilder_ == null) { - return instanceConfigs_.get(index); } else { + return instanceConfigs_.get(index); + } else { return instanceConfigsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The list of requested instance configurations.
      * 
* * repeated .google.spanner.admin.instance.v1.InstanceConfig instance_configs = 1; */ - public java.util.List - getInstanceConfigsOrBuilderList() { + public java.util.List + getInstanceConfigsOrBuilderList() { if (instanceConfigsBuilder_ != null) { return instanceConfigsBuilder_.getMessageOrBuilderList(); } else { @@ -827,6 +919,8 @@ public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceC } } /** + * + * *
      * The list of requested instance configurations.
      * 
@@ -834,10 +928,12 @@ public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceC * repeated .google.spanner.admin.instance.v1.InstanceConfig instance_configs = 1; */ public com.google.spanner.admin.instance.v1.InstanceConfig.Builder addInstanceConfigsBuilder() { - return getInstanceConfigsFieldBuilder().addBuilder( - com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance()); + return getInstanceConfigsFieldBuilder() + .addBuilder(com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance()); } /** + * + * *
      * The list of requested instance configurations.
      * 
@@ -846,26 +942,35 @@ public com.google.spanner.admin.instance.v1.InstanceConfig.Builder addInstanceCo */ public com.google.spanner.admin.instance.v1.InstanceConfig.Builder addInstanceConfigsBuilder( int index) { - return getInstanceConfigsFieldBuilder().addBuilder( - index, com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance()); + return getInstanceConfigsFieldBuilder() + .addBuilder( + index, com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance()); } /** + * + * *
      * The list of requested instance configurations.
      * 
* * repeated .google.spanner.admin.instance.v1.InstanceConfig instance_configs = 1; */ - public java.util.List - getInstanceConfigsBuilderList() { + public java.util.List + getInstanceConfigsBuilderList() { return getInstanceConfigsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.admin.instance.v1.InstanceConfig, com.google.spanner.admin.instance.v1.InstanceConfig.Builder, com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder> + com.google.spanner.admin.instance.v1.InstanceConfig, + com.google.spanner.admin.instance.v1.InstanceConfig.Builder, + com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder> getInstanceConfigsFieldBuilder() { if (instanceConfigsBuilder_ == null) { - instanceConfigsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.admin.instance.v1.InstanceConfig, com.google.spanner.admin.instance.v1.InstanceConfig.Builder, com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder>( + instanceConfigsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.spanner.admin.instance.v1.InstanceConfig, + com.google.spanner.admin.instance.v1.InstanceConfig.Builder, + com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder>( instanceConfigs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -877,6 +982,8 @@ public com.google.spanner.admin.instance.v1.InstanceConfig.Builder addInstanceCo private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * `next_page_token` can be sent in a subsequent
      * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs]
@@ -884,13 +991,13 @@ public com.google.spanner.admin.instance.v1.InstanceConfig.Builder addInstanceCo
      * 
* * 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; @@ -899,6 +1006,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * `next_page_token` can be sent in a subsequent
      * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs]
@@ -906,15 +1015,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 { @@ -922,6 +1030,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * `next_page_token` can be sent in a subsequent
      * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs]
@@ -929,18 +1039,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
      * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs]
@@ -948,6 +1062,7 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -957,6 +1072,8 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * `next_page_token` can be sent in a subsequent
      * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs]
@@ -964,21 +1081,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); } @@ -988,41 +1107,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.ListInstanceConfigsResponse) } // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.ListInstanceConfigsResponse) - private static final com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse DEFAULT_INSTANCE; + private static final com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse(); } - public static com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse getDefaultInstance() { + public static com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListInstanceConfigsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListInstanceConfigsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,9 +1155,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse getDefaultInstanceForType() { + public com.google.spanner.admin.instance.v1.ListInstanceConfigsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsResponseOrBuilder.java b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsResponseOrBuilder.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsResponseOrBuilder.java rename to proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsResponseOrBuilder.java index 626758766ce..10593e8253d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsResponseOrBuilder.java +++ b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstanceConfigsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto package com.google.spanner.admin.instance.v1; -public interface ListInstanceConfigsResponseOrBuilder extends +public interface ListInstanceConfigsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.ListInstanceConfigsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The list of requested instance configurations.
    * 
* * repeated .google.spanner.admin.instance.v1.InstanceConfig instance_configs = 1; */ - java.util.List - getInstanceConfigsList(); + java.util.List getInstanceConfigsList(); /** + * + * *
    * The list of requested instance configurations.
    * 
@@ -25,6 +44,8 @@ public interface ListInstanceConfigsResponseOrBuilder extends */ com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfigs(int index); /** + * + * *
    * The list of requested instance configurations.
    * 
@@ -33,15 +54,19 @@ public interface ListInstanceConfigsResponseOrBuilder extends */ int getInstanceConfigsCount(); /** + * + * *
    * The list of requested instance configurations.
    * 
* * repeated .google.spanner.admin.instance.v1.InstanceConfig instance_configs = 1; */ - java.util.List + java.util.List getInstanceConfigsOrBuilderList(); /** + * + * *
    * The list of requested instance configurations.
    * 
@@ -52,6 +77,8 @@ com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceConfigsO int index); /** + * + * *
    * `next_page_token` can be sent in a subsequent
    * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs]
@@ -59,10 +86,13 @@ com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceConfigsO
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * `next_page_token` can be sent in a subsequent
    * [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs]
@@ -70,8 +100,8 @@ com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceConfigsO
    * 
* * 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/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesRequest.java b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesRequest.java similarity index 74% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesRequest.java rename to proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesRequest.java index 4f7646c1358..2ba8ebb3487 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesRequest.java +++ b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto package com.google.spanner.admin.instance.v1; /** + * + * *
  * The request for
  * [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.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_ = "";
@@ -28,39 +46,46 @@ private ListInstancesRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListInstancesRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstancesRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+        .internal_static_google_spanner_admin_instance_v1_ListInstancesRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstancesRequest_fieldAccessorTable
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+        .internal_static_google_spanner_admin_instance_v1_ListInstancesRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.instance.v1.ListInstancesRequest.class, com.google.spanner.admin.instance.v1.ListInstancesRequest.Builder.class);
+            com.google.spanner.admin.instance.v1.ListInstancesRequest.class,
+            com.google.spanner.admin.instance.v1.ListInstancesRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
+   *
+   *
    * 
    * Required. The 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 @@ -69,30 +94,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 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 { @@ -103,12 +130,15 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * Number of instances to be returned in the response. If 0 or less, defaults
    * to the server's maximum allowed page size.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -117,9 +147,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.instance.v1.ListInstancesResponse.next_page_token]
@@ -128,6 +161,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -136,14 +170,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.spanner.admin.instance.v1.ListInstancesResponse.next_page_token]
@@ -152,16 +187,15 @@ public java.lang.String getPageToken() {
    * 
* * 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 { @@ -170,9 +204,12 @@ public java.lang.String getPageToken() { } public static final int FILTER_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** + * + * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -193,6 +230,7 @@ public java.lang.String getPageToken() {
    * 
* * string filter = 4; + * * @return The filter. */ @java.lang.Override @@ -201,14 +239,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; } } /** + * + * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -229,16 +268,15 @@ public java.lang.String getFilter() {
    * 
* * string filter = 4; + * * @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 { @@ -247,6 +285,7 @@ public java.lang.String getFilter() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -258,8 +297,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -285,8 +323,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_); @@ -302,21 +339,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.spanner.admin.instance.v1.ListInstancesRequest)) { return super.equals(obj); } - com.google.spanner.admin.instance.v1.ListInstancesRequest other = (com.google.spanner.admin.instance.v1.ListInstancesRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; + com.google.spanner.admin.instance.v1.ListInstancesRequest other = + (com.google.spanner.admin.instance.v1.ListInstancesRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -342,96 +376,104 @@ public int hashCode() { } public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.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.spanner.admin.instance.v1.ListInstancesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.ListInstancesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.ListInstancesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.spanner.admin.instance.v1.ListInstancesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.ListInstancesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.spanner.admin.instance.v1.ListInstancesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.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.spanner.admin.instance.v1.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.spanner.admin.instance.v1.ListInstancesRequest prototype) { + + public static Builder newBuilder( + com.google.spanner.admin.instance.v1.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; } /** + * + * *
    * The request for
    * [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances].
@@ -439,33 +481,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.ListInstancesRequest)
       com.google.spanner.admin.instance.v1.ListInstancesRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstancesRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+          .internal_static_google_spanner_admin_instance_v1_ListInstancesRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstancesRequest_fieldAccessorTable
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+          .internal_static_google_spanner_admin_instance_v1_ListInstancesRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.instance.v1.ListInstancesRequest.class, com.google.spanner.admin.instance.v1.ListInstancesRequest.Builder.class);
+              com.google.spanner.admin.instance.v1.ListInstancesRequest.class,
+              com.google.spanner.admin.instance.v1.ListInstancesRequest.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.instance.v1.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();
@@ -478,9 +519,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstancesRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+          .internal_static_google_spanner_admin_instance_v1_ListInstancesRequest_descriptor;
     }
 
     @java.lang.Override
@@ -499,8 +540,11 @@ public com.google.spanner.admin.instance.v1.ListInstancesRequest build() {
 
     @java.lang.Override
     public com.google.spanner.admin.instance.v1.ListInstancesRequest buildPartial() {
-      com.google.spanner.admin.instance.v1.ListInstancesRequest result = new com.google.spanner.admin.instance.v1.ListInstancesRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.spanner.admin.instance.v1.ListInstancesRequest result =
+          new com.google.spanner.admin.instance.v1.ListInstancesRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -525,38 +569,39 @@ private void buildPartial0(com.google.spanner.admin.instance.v1.ListInstancesReq
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.instance.v1.ListInstancesRequest) {
-        return mergeFrom((com.google.spanner.admin.instance.v1.ListInstancesRequest)other);
+        return mergeFrom((com.google.spanner.admin.instance.v1.ListInstancesRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -564,7 +609,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.spanner.admin.instance.v1.ListInstancesRequest other) {
-      if (other == com.google.spanner.admin.instance.v1.ListInstancesRequest.getDefaultInstance()) return this;
+      if (other == com.google.spanner.admin.instance.v1.ListInstancesRequest.getDefaultInstance())
+        return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -609,32 +655,37 @@ 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
-            case 34: {
-              filter_ = input.readStringRequireUtf8();
-              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 16:
+              {
+                pageSize_ = input.readInt32();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 16
+            case 26:
+              {
+                pageToken_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 34:
+              {
+                filter_ = 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,23 +695,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. The 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; @@ -669,21 +725,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The 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 { @@ -691,30 +750,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The 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 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() { @@ -724,18 +794,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The 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; @@ -743,14 +819,17 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Number of instances to be returned in the response. If 0 or less, defaults
      * to the server's maximum allowed page size.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -758,29 +837,35 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Number of instances to be returned in the response. If 0 or less, defaults
      * to the server's maximum allowed page size.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Number of instances to be returned in the response. If 0 or less, defaults
      * to the server's maximum allowed page size.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -792,6 +877,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.instance.v1.ListInstancesResponse.next_page_token]
@@ -800,13 +887,13 @@ public Builder clearPageSize() {
      * 
* * 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; @@ -815,6 +902,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.instance.v1.ListInstancesResponse.next_page_token]
@@ -823,15 +912,14 @@ public java.lang.String getPageToken() {
      * 
* * 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 { @@ -839,6 +927,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.instance.v1.ListInstancesResponse.next_page_token]
@@ -847,18 +937,22 @@ public java.lang.String getPageToken() {
      * 
* * 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; } /** + * + * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.instance.v1.ListInstancesResponse.next_page_token]
@@ -867,6 +961,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -876,6 +971,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.admin.instance.v1.ListInstancesResponse.next_page_token]
@@ -884,12 +981,14 @@ public Builder clearPageToken() {
      * 
* * 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; @@ -899,6 +998,8 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -919,13 +1020,13 @@ public Builder setPageTokenBytes(
      * 
* * string filter = 4; + * * @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; @@ -934,6 +1035,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -954,15 +1057,14 @@ public java.lang.String getFilter() {
      * 
* * string filter = 4; + * * @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 { @@ -970,6 +1072,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -990,18 +1094,22 @@ public java.lang.String getFilter() {
      * 
* * string filter = 4; + * * @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_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -1022,6 +1130,7 @@ public Builder setFilter(
      * 
* * string filter = 4; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1031,6 +1140,8 @@ public Builder clearFilter() { return this; } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -1051,21 +1162,23 @@ public Builder clearFilter() {
      * 
* * string filter = 4; + * * @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_ |= 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); } @@ -1075,12 +1188,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.ListInstancesRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.ListInstancesRequest) private static final com.google.spanner.admin.instance.v1.ListInstancesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.ListInstancesRequest(); } @@ -1089,27 +1202,27 @@ public static com.google.spanner.admin.instance.v1.ListInstancesRequest getDefau 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; @@ -1124,6 +1237,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.instance.v1.ListInstancesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesRequestOrBuilder.java b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesRequestOrBuilder.java similarity index 76% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesRequestOrBuilder.java rename to proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesRequestOrBuilder.java index 582a662bbab..fe48b843731 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesRequestOrBuilder.java +++ b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesRequestOrBuilder.java @@ -1,46 +1,76 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto package com.google.spanner.admin.instance.v1; -public interface ListInstancesRequestOrBuilder extends +public interface ListInstancesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.ListInstancesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The 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 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(); /** + * + * *
    * Number of instances to be returned in the response. If 0 or less, defaults
    * to the server's maximum allowed page size.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.instance.v1.ListInstancesResponse.next_page_token]
@@ -49,10 +79,13 @@ public interface ListInstancesRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.admin.instance.v1.ListInstancesResponse.next_page_token]
@@ -61,12 +94,14 @@ public interface ListInstancesRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -87,10 +122,13 @@ public interface ListInstancesRequestOrBuilder extends
    * 
* * string filter = 4; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -111,8 +149,8 @@ public interface ListInstancesRequestOrBuilder extends
    * 
* * string filter = 4; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesResponse.java b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesResponse.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesResponse.java rename to proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesResponse.java index ea8be22d677..89519d1b539 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesResponse.java +++ b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesResponse.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto package com.google.spanner.admin.instance.v1; /** + * + * *
  * The response for
  * [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.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();
     nextPageToken_ = "";
@@ -27,33 +45,37 @@ private ListInstancesResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListInstancesResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstancesResponse_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+        .internal_static_google_spanner_admin_instance_v1_ListInstancesResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstancesResponse_fieldAccessorTable
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+        .internal_static_google_spanner_admin_instance_v1_ListInstancesResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.instance.v1.ListInstancesResponse.class, com.google.spanner.admin.instance.v1.ListInstancesResponse.Builder.class);
+            com.google.spanner.admin.instance.v1.ListInstancesResponse.class,
+            com.google.spanner.admin.instance.v1.ListInstancesResponse.Builder.class);
   }
 
   public static final int INSTANCES_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private java.util.List instances_;
   /**
+   *
+   *
    * 
    * The list of requested instances.
    * 
@@ -65,6 +87,8 @@ public java.util.List getInstance return instances_; } /** + * + * *
    * The list of requested instances.
    * 
@@ -72,11 +96,13 @@ public java.util.List getInstance * repeated .google.spanner.admin.instance.v1.Instance instances = 1; */ @java.lang.Override - public java.util.List + public java.util.List getInstancesOrBuilderList() { return instances_; } /** + * + * *
    * The list of requested instances.
    * 
@@ -88,6 +114,8 @@ public int getInstancesCount() { return instances_.size(); } /** + * + * *
    * The list of requested instances.
    * 
@@ -99,6 +127,8 @@ public com.google.spanner.admin.instance.v1.Instance getInstances(int index) { return instances_.get(index); } /** + * + * *
    * The list of requested instances.
    * 
@@ -106,15 +136,17 @@ public com.google.spanner.admin.instance.v1.Instance getInstances(int index) { * repeated .google.spanner.admin.instance.v1.Instance instances = 1; */ @java.lang.Override - public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstancesOrBuilder( - int index) { + public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstancesOrBuilder(int index) { return instances_.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
    * [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances]
@@ -122,6 +154,7 @@ public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstancesOrBuil
    * 
* * 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; } } /** + * + * *
    * `next_page_token` can be sent in a subsequent
    * [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances]
@@ -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 < instances_.size(); i++) { output.writeMessage(1, instances_.get(i)); } @@ -192,8 +225,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)); } 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.spanner.admin.instance.v1.ListInstancesResponse)) { return super.equals(obj); } - com.google.spanner.admin.instance.v1.ListInstancesResponse other = (com.google.spanner.admin.instance.v1.ListInstancesResponse) obj; + com.google.spanner.admin.instance.v1.ListInstancesResponse other = + (com.google.spanner.admin.instance.v1.ListInstancesResponse) obj; - if (!getInstancesList() - .equals(other.getInstancesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getInstancesList().equals(other.getInstancesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -240,96 +271,104 @@ public int hashCode() { } public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.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.spanner.admin.instance.v1.ListInstancesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.ListInstancesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.ListInstancesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.spanner.admin.instance.v1.ListInstancesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.ListInstancesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.spanner.admin.instance.v1.ListInstancesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.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.spanner.admin.instance.v1.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.spanner.admin.instance.v1.ListInstancesResponse prototype) { + + public static Builder newBuilder( + com.google.spanner.admin.instance.v1.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; } /** + * + * *
    * The response for
    * [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances].
@@ -337,33 +376,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.ListInstancesResponse)
       com.google.spanner.admin.instance.v1.ListInstancesResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstancesResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+          .internal_static_google_spanner_admin_instance_v1_ListInstancesResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstancesResponse_fieldAccessorTable
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+          .internal_static_google_spanner_admin_instance_v1_ListInstancesResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.instance.v1.ListInstancesResponse.class, com.google.spanner.admin.instance.v1.ListInstancesResponse.Builder.class);
+              com.google.spanner.admin.instance.v1.ListInstancesResponse.class,
+              com.google.spanner.admin.instance.v1.ListInstancesResponse.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.instance.v1.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();
@@ -380,9 +418,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ListInstancesResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+          .internal_static_google_spanner_admin_instance_v1_ListInstancesResponse_descriptor;
     }
 
     @java.lang.Override
@@ -401,14 +439,18 @@ public com.google.spanner.admin.instance.v1.ListInstancesResponse build() {
 
     @java.lang.Override
     public com.google.spanner.admin.instance.v1.ListInstancesResponse buildPartial() {
-      com.google.spanner.admin.instance.v1.ListInstancesResponse result = new com.google.spanner.admin.instance.v1.ListInstancesResponse(this);
+      com.google.spanner.admin.instance.v1.ListInstancesResponse result =
+          new com.google.spanner.admin.instance.v1.ListInstancesResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.spanner.admin.instance.v1.ListInstancesResponse result) {
+    private void buildPartialRepeatedFields(
+        com.google.spanner.admin.instance.v1.ListInstancesResponse result) {
       if (instancesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           instances_ = java.util.Collections.unmodifiableList(instances_);
@@ -431,38 +473,39 @@ private void buildPartial0(com.google.spanner.admin.instance.v1.ListInstancesRes
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.instance.v1.ListInstancesResponse) {
-        return mergeFrom((com.google.spanner.admin.instance.v1.ListInstancesResponse)other);
+        return mergeFrom((com.google.spanner.admin.instance.v1.ListInstancesResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -470,7 +513,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.spanner.admin.instance.v1.ListInstancesResponse other) {
-      if (other == com.google.spanner.admin.instance.v1.ListInstancesResponse.getDefaultInstance()) return this;
+      if (other == com.google.spanner.admin.instance.v1.ListInstancesResponse.getDefaultInstance())
+        return this;
       if (instancesBuilder_ == null) {
         if (!other.instances_.isEmpty()) {
           if (instances_.isEmpty()) {
@@ -489,9 +533,10 @@ public Builder mergeFrom(com.google.spanner.admin.instance.v1.ListInstancesRespo
             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_);
           }
@@ -528,30 +573,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.spanner.admin.instance.v1.Instance m =
-                  input.readMessage(
-                      com.google.spanner.admin.instance.v1.Instance.parser(),
-                      extensionRegistry);
-              if (instancesBuilder_ == null) {
-                ensureInstancesIsMutable();
-                instances_.add(m);
-              } else {
-                instancesBuilder_.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.spanner.admin.instance.v1.Instance m =
+                    input.readMessage(
+                        com.google.spanner.admin.instance.v1.Instance.parser(), extensionRegistry);
+                if (instancesBuilder_ == null) {
+                  ensureInstancesIsMutable();
+                  instances_.add(m);
+                } else {
+                  instancesBuilder_.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) {
@@ -561,21 +608,29 @@ 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_);
+        instances_ =
+            new java.util.ArrayList(instances_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.spanner.admin.instance.v1.Instance, com.google.spanner.admin.instance.v1.Instance.Builder, com.google.spanner.admin.instance.v1.InstanceOrBuilder> instancesBuilder_;
+            com.google.spanner.admin.instance.v1.Instance,
+            com.google.spanner.admin.instance.v1.Instance.Builder,
+            com.google.spanner.admin.instance.v1.InstanceOrBuilder>
+        instancesBuilder_;
 
     /**
+     *
+     *
      * 
      * The list of requested instances.
      * 
@@ -590,6 +645,8 @@ public java.util.List getInstance } } /** + * + * *
      * The list of requested instances.
      * 
@@ -604,6 +661,8 @@ public int getInstancesCount() { } } /** + * + * *
      * The list of requested instances.
      * 
@@ -618,14 +677,15 @@ public com.google.spanner.admin.instance.v1.Instance getInstances(int index) { } } /** + * + * *
      * The list of requested instances.
      * 
* * repeated .google.spanner.admin.instance.v1.Instance instances = 1; */ - public Builder setInstances( - int index, com.google.spanner.admin.instance.v1.Instance value) { + public Builder setInstances(int index, com.google.spanner.admin.instance.v1.Instance value) { if (instancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -639,6 +699,8 @@ public Builder setInstances( return this; } /** + * + * *
      * The list of requested instances.
      * 
@@ -657,6 +719,8 @@ public Builder setInstances( return this; } /** + * + * *
      * The list of requested instances.
      * 
@@ -677,14 +741,15 @@ public Builder addInstances(com.google.spanner.admin.instance.v1.Instance value) return this; } /** + * + * *
      * The list of requested instances.
      * 
* * repeated .google.spanner.admin.instance.v1.Instance instances = 1; */ - public Builder addInstances( - int index, com.google.spanner.admin.instance.v1.Instance value) { + public Builder addInstances(int index, com.google.spanner.admin.instance.v1.Instance value) { if (instancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -698,6 +763,8 @@ public Builder addInstances( return this; } /** + * + * *
      * The list of requested instances.
      * 
@@ -716,6 +783,8 @@ public Builder addInstances( return this; } /** + * + * *
      * The list of requested instances.
      * 
@@ -734,6 +803,8 @@ public Builder addInstances( return this; } /** + * + * *
      * The list of requested instances.
      * 
@@ -744,8 +815,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); @@ -753,6 +823,8 @@ public Builder addAllInstances( return this; } /** + * + * *
      * The list of requested instances.
      * 
@@ -770,6 +842,8 @@ public Builder clearInstances() { return this; } /** + * + * *
      * The list of requested instances.
      * 
@@ -787,39 +861,44 @@ public Builder removeInstances(int index) { return this; } /** + * + * *
      * The list of requested instances.
      * 
* * repeated .google.spanner.admin.instance.v1.Instance instances = 1; */ - public com.google.spanner.admin.instance.v1.Instance.Builder getInstancesBuilder( - int index) { + public com.google.spanner.admin.instance.v1.Instance.Builder getInstancesBuilder(int index) { return getInstancesFieldBuilder().getBuilder(index); } /** + * + * *
      * The list of requested instances.
      * 
* * repeated .google.spanner.admin.instance.v1.Instance instances = 1; */ - public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstancesOrBuilder( - int index) { + public com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.Instance instances = 1; */ - public java.util.List - getInstancesOrBuilderList() { + public java.util.List + getInstancesOrBuilderList() { if (instancesBuilder_ != null) { return instancesBuilder_.getMessageOrBuilderList(); } else { @@ -827,6 +906,8 @@ public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstancesOrBuil } } /** + * + * *
      * The list of requested instances.
      * 
@@ -834,42 +915,48 @@ public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstancesOrBuil * repeated .google.spanner.admin.instance.v1.Instance instances = 1; */ public com.google.spanner.admin.instance.v1.Instance.Builder addInstancesBuilder() { - return getInstancesFieldBuilder().addBuilder( - com.google.spanner.admin.instance.v1.Instance.getDefaultInstance()); + return getInstancesFieldBuilder() + .addBuilder(com.google.spanner.admin.instance.v1.Instance.getDefaultInstance()); } /** + * + * *
      * The list of requested instances.
      * 
* * repeated .google.spanner.admin.instance.v1.Instance instances = 1; */ - public com.google.spanner.admin.instance.v1.Instance.Builder addInstancesBuilder( - int index) { - return getInstancesFieldBuilder().addBuilder( - index, com.google.spanner.admin.instance.v1.Instance.getDefaultInstance()); + public com.google.spanner.admin.instance.v1.Instance.Builder addInstancesBuilder(int index) { + return getInstancesFieldBuilder() + .addBuilder(index, com.google.spanner.admin.instance.v1.Instance.getDefaultInstance()); } /** + * + * *
      * The list of requested instances.
      * 
* * repeated .google.spanner.admin.instance.v1.Instance instances = 1; */ - public java.util.List - getInstancesBuilderList() { + public java.util.List + getInstancesBuilderList() { return getInstancesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.admin.instance.v1.Instance, com.google.spanner.admin.instance.v1.Instance.Builder, com.google.spanner.admin.instance.v1.InstanceOrBuilder> + com.google.spanner.admin.instance.v1.Instance, + com.google.spanner.admin.instance.v1.Instance.Builder, + com.google.spanner.admin.instance.v1.InstanceOrBuilder> getInstancesFieldBuilder() { if (instancesBuilder_ == null) { - instancesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.admin.instance.v1.Instance, com.google.spanner.admin.instance.v1.Instance.Builder, com.google.spanner.admin.instance.v1.InstanceOrBuilder>( - instances_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + instancesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.spanner.admin.instance.v1.Instance, + com.google.spanner.admin.instance.v1.Instance.Builder, + com.google.spanner.admin.instance.v1.InstanceOrBuilder>( + instances_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); instances_ = null; } return instancesBuilder_; @@ -877,6 +964,8 @@ public com.google.spanner.admin.instance.v1.Instance.Builder addInstancesBuilder private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * `next_page_token` can be sent in a subsequent
      * [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances]
@@ -884,13 +973,13 @@ public com.google.spanner.admin.instance.v1.Instance.Builder addInstancesBuilder
      * 
* * 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; @@ -899,6 +988,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * `next_page_token` can be sent in a subsequent
      * [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances]
@@ -906,15 +997,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 { @@ -922,6 +1012,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * `next_page_token` can be sent in a subsequent
      * [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances]
@@ -929,18 +1021,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
      * [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances]
@@ -948,6 +1044,7 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -957,6 +1054,8 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * `next_page_token` can be sent in a subsequent
      * [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances]
@@ -964,21 +1063,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); } @@ -988,12 +1089,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.ListInstancesResponse) } // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.ListInstancesResponse) private static final com.google.spanner.admin.instance.v1.ListInstancesResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.ListInstancesResponse(); } @@ -1002,27 +1103,27 @@ public static com.google.spanner.admin.instance.v1.ListInstancesResponse getDefa 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; @@ -1037,6 +1138,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.instance.v1.ListInstancesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesResponseOrBuilder.java b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesResponseOrBuilder.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesResponseOrBuilder.java rename to proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesResponseOrBuilder.java index 26eae91ef8a..542ef8910a7 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesResponseOrBuilder.java +++ b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ListInstancesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto package com.google.spanner.admin.instance.v1; -public interface ListInstancesResponseOrBuilder extends +public interface ListInstancesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.ListInstancesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The list of requested instances.
    * 
* * repeated .google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.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.spanner.admin.instance.v1.Instance instances = 1; */ - java.util.List + java.util.List getInstancesOrBuilderList(); /** + * + * *
    * The list of requested instances.
    * 
* * repeated .google.spanner.admin.instance.v1.Instance instances = 1; */ - com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstancesOrBuilder( - int index); + com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstancesOrBuilder(int index); /** + * + * *
    * `next_page_token` can be sent in a subsequent
    * [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances]
@@ -59,10 +85,13 @@ com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstancesOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * `next_page_token` can be sent in a subsequent
    * [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances]
@@ -70,8 +99,8 @@ com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstancesOrBuilder(
    * 
* * 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/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/OperationProgress.java b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/OperationProgress.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/OperationProgress.java rename to proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/OperationProgress.java index f47cda96812..8a822c2c7d2 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/OperationProgress.java +++ b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/OperationProgress.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/common.proto package com.google.spanner.admin.instance.v1; /** + * + * *
  * Encapsulates progress related information for a Cloud Spanner long
  * running instance operations.
@@ -11,52 +28,56 @@
  *
  * Protobuf type {@code google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.OperationProgress)
     OperationProgressOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use OperationProgress.newBuilder() to construct.
   private OperationProgress(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private OperationProgress() {
-  }
+
+  private OperationProgress() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new OperationProgress();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.spanner.admin.instance.v1.CommonProto.internal_static_google_spanner_admin_instance_v1_OperationProgress_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.spanner.admin.instance.v1.CommonProto
+        .internal_static_google_spanner_admin_instance_v1_OperationProgress_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.instance.v1.CommonProto.internal_static_google_spanner_admin_instance_v1_OperationProgress_fieldAccessorTable
+    return com.google.spanner.admin.instance.v1.CommonProto
+        .internal_static_google_spanner_admin_instance_v1_OperationProgress_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.instance.v1.OperationProgress.class, com.google.spanner.admin.instance.v1.OperationProgress.Builder.class);
+            com.google.spanner.admin.instance.v1.OperationProgress.class,
+            com.google.spanner.admin.instance.v1.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 @@ -67,11 +88,14 @@ public int getProgressPercent() { public static final int START_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp startTime_; /** + * + * *
    * Time the request was received.
    * 
* * .google.protobuf.Timestamp start_time = 2; + * * @return Whether the startTime field is set. */ @java.lang.Override @@ -79,11 +103,14 @@ public boolean hasStartTime() { return startTime_ != null; } /** + * + * *
    * Time the request was received.
    * 
* * .google.protobuf.Timestamp start_time = 2; + * * @return The startTime. */ @java.lang.Override @@ -91,6 +118,8 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
    * Time the request was received.
    * 
@@ -105,12 +134,15 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp endTime_; /** + * + * *
    * If set, the time at which this operation failed or was completed
    * successfully.
    * 
* * .google.protobuf.Timestamp end_time = 3; + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -118,12 +150,15 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
    * If set, the time at which this operation failed or was completed
    * successfully.
    * 
* * .google.protobuf.Timestamp end_time = 3; + * * @return The endTime. */ @java.lang.Override @@ -131,6 +166,8 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * If set, the time at which this operation failed or was completed
    * successfully.
@@ -144,6 +181,7 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -155,8 +193,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (progressPercent_ != 0) {
       output.writeInt32(1, progressPercent_);
     }
@@ -176,16 +213,13 @@ public int getSerializedSize() {
 
     size = 0;
     if (progressPercent_ != 0) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeInt32Size(1, progressPercent_);
+      size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, progressPercent_);
     }
     if (startTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getStartTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStartTime());
     }
     if (endTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getEndTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getEndTime());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -195,24 +229,22 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.spanner.admin.instance.v1.OperationProgress)) {
       return super.equals(obj);
     }
-    com.google.spanner.admin.instance.v1.OperationProgress other = (com.google.spanner.admin.instance.v1.OperationProgress) obj;
+    com.google.spanner.admin.instance.v1.OperationProgress other =
+        (com.google.spanner.admin.instance.v1.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;
@@ -241,96 +273,104 @@ public int hashCode() {
   }
 
   public static com.google.spanner.admin.instance.v1.OperationProgress parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.OperationProgress parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.OperationProgress parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.OperationProgress parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.spanner.admin.instance.v1.OperationProgress parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.OperationProgress parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.spanner.admin.instance.v1.OperationProgress parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.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.spanner.admin.instance.v1.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.spanner.admin.instance.v1.OperationProgress prototype) {
+
+  public static Builder newBuilder(
+      com.google.spanner.admin.instance.v1.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 Spanner long
    * running instance operations.
@@ -338,33 +378,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.OperationProgress)
       com.google.spanner.admin.instance.v1.OperationProgressOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.spanner.admin.instance.v1.CommonProto.internal_static_google_spanner_admin_instance_v1_OperationProgress_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.spanner.admin.instance.v1.CommonProto
+          .internal_static_google_spanner_admin_instance_v1_OperationProgress_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.instance.v1.CommonProto.internal_static_google_spanner_admin_instance_v1_OperationProgress_fieldAccessorTable
+      return com.google.spanner.admin.instance.v1.CommonProto
+          .internal_static_google_spanner_admin_instance_v1_OperationProgress_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.instance.v1.OperationProgress.class, com.google.spanner.admin.instance.v1.OperationProgress.Builder.class);
+              com.google.spanner.admin.instance.v1.OperationProgress.class,
+              com.google.spanner.admin.instance.v1.OperationProgress.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.instance.v1.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();
@@ -384,9 +423,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.spanner.admin.instance.v1.CommonProto.internal_static_google_spanner_admin_instance_v1_OperationProgress_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.spanner.admin.instance.v1.CommonProto
+          .internal_static_google_spanner_admin_instance_v1_OperationProgress_descriptor;
     }
 
     @java.lang.Override
@@ -405,8 +444,11 @@ public com.google.spanner.admin.instance.v1.OperationProgress build() {
 
     @java.lang.Override
     public com.google.spanner.admin.instance.v1.OperationProgress buildPartial() {
-      com.google.spanner.admin.instance.v1.OperationProgress result = new com.google.spanner.admin.instance.v1.OperationProgress(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.spanner.admin.instance.v1.OperationProgress result =
+          new com.google.spanner.admin.instance.v1.OperationProgress(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -417,14 +459,10 @@ private void buildPartial0(com.google.spanner.admin.instance.v1.OperationProgres
         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();
       }
     }
 
@@ -432,38 +470,39 @@ private void buildPartial0(com.google.spanner.admin.instance.v1.OperationProgres
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.instance.v1.OperationProgress) {
-        return mergeFrom((com.google.spanner.admin.instance.v1.OperationProgress)other);
+        return mergeFrom((com.google.spanner.admin.instance.v1.OperationProgress) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -471,7 +510,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.spanner.admin.instance.v1.OperationProgress other) {
-      if (other == com.google.spanner.admin.instance.v1.OperationProgress.getDefaultInstance()) return this;
+      if (other == com.google.spanner.admin.instance.v1.OperationProgress.getDefaultInstance())
+        return this;
       if (other.getProgressPercent() != 0) {
         setProgressPercent(other.getProgressPercent());
       }
@@ -507,31 +547,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) {
@@ -541,16 +581,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 @@ -558,29 +602,35 @@ public int getProgressPercent() { return progressPercent_; } /** + * + * *
      * Percent completion of the operation.
      * Values are between 0 and 100 inclusive.
      * 
* * int32 progress_percent = 1; + * * @param value The progressPercent to set. * @return This builder for chaining. */ public Builder setProgressPercent(int value) { - + progressPercent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Percent completion of the operation.
      * Values are between 0 and 100 inclusive.
      * 
* * int32 progress_percent = 1; + * * @return This builder for chaining. */ public Builder clearProgressPercent() { @@ -592,24 +642,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() { @@ -620,6 +679,8 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
      * Time the request was received.
      * 
@@ -640,14 +701,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 { @@ -658,6 +720,8 @@ public Builder setStartTime( return this; } /** + * + * *
      * Time the request was received.
      * 
@@ -666,9 +730,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; @@ -681,6 +745,8 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time the request was received.
      * 
@@ -698,6 +764,8 @@ public Builder clearStartTime() { return this; } /** + * + * *
      * Time the request was received.
      * 
@@ -710,6 +778,8 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Time the request was received.
      * 
@@ -720,11 +790,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.
      * 
@@ -732,14 +803,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_; @@ -747,26 +821,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() { @@ -777,6 +860,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -798,6 +883,8 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -805,8 +892,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 {
@@ -817,6 +903,8 @@ public Builder setEndTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -826,9 +914,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;
@@ -841,6 +929,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -859,6 +949,8 @@ public Builder clearEndTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -872,6 +964,8 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
       return getEndTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -883,11 +977,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.
@@ -896,21 +991,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);
     }
 
@@ -920,12 +1018,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.OperationProgress)
   }
 
   // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.OperationProgress)
   private static final com.google.spanner.admin.instance.v1.OperationProgress DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.OperationProgress();
   }
@@ -934,27 +1032,27 @@ public static com.google.spanner.admin.instance.v1.OperationProgress getDefaultI
     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;
@@ -969,6 +1067,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.spanner.admin.instance.v1.OperationProgress getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/OperationProgressOrBuilder.java b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/OperationProgressOrBuilder.java
similarity index 72%
rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/OperationProgressOrBuilder.java
rename to proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/OperationProgressOrBuilder.java
index 267bab2a579..8bf5eedddde 100644
--- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/OperationProgressOrBuilder.java
+++ b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/OperationProgressOrBuilder.java
@@ -1,42 +1,69 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/admin/instance/v1/common.proto
 
 package com.google.spanner.admin.instance.v1;
 
-public interface OperationProgressOrBuilder extends
+public interface OperationProgressOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.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/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ProjectName.java b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ProjectName.java
similarity index 100%
rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ProjectName.java
rename to proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ProjectName.java
diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ReplicaInfo.java b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ReplicaInfo.java
similarity index 70%
rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ReplicaInfo.java
rename to proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ReplicaInfo.java
index 96178dcdf73..2553f2fff57 100644
--- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ReplicaInfo.java
+++ b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ReplicaInfo.java
@@ -1,20 +1,34 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto
 
 package com.google.spanner.admin.instance.v1;
 
-/**
- * Protobuf type {@code google.spanner.admin.instance.v1.ReplicaInfo}
- */
-public final class ReplicaInfo extends
-    com.google.protobuf.GeneratedMessageV3 implements
+/** Protobuf type {@code google.spanner.admin.instance.v1.ReplicaInfo} */
+public final class ReplicaInfo extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.instance.v1.ReplicaInfo)
     ReplicaInfoOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ReplicaInfo.newBuilder() to construct.
   private ReplicaInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ReplicaInfo() {
     location_ = "";
     type_ = 0;
@@ -22,30 +36,33 @@ private ReplicaInfo() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ReplicaInfo();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ReplicaInfo_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+        .internal_static_google_spanner_admin_instance_v1_ReplicaInfo_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ReplicaInfo_fieldAccessorTable
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+        .internal_static_google_spanner_admin_instance_v1_ReplicaInfo_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.instance.v1.ReplicaInfo.class, com.google.spanner.admin.instance.v1.ReplicaInfo.Builder.class);
+            com.google.spanner.admin.instance.v1.ReplicaInfo.class,
+            com.google.spanner.admin.instance.v1.ReplicaInfo.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Indicates the type of replica.  See the [replica types
    * documentation](https://cloud.google.com/spanner/docs/replication#replica_types)
@@ -54,9 +71,10 @@ protected java.lang.Object newInstance(
    *
    * Protobuf enum {@code google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType}
    */
-  public enum ReplicaType
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum ReplicaType implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Not specified.
      * 
@@ -65,6 +83,8 @@ public enum ReplicaType */ TYPE_UNSPECIFIED(0), /** + * + * *
      * Read-write replicas support both reads and writes. These replicas:
      * * Maintain a full copy of your data.
@@ -78,6 +98,8 @@ public enum ReplicaType
      */
     READ_WRITE(1),
     /**
+     *
+     *
      * 
      * Read-only replicas only support reads (not writes). Read-only replicas:
      * * Maintain a full copy of your data.
@@ -90,6 +112,8 @@ public enum ReplicaType
      */
     READ_ONLY(2),
     /**
+     *
+     *
      * 
      * Witness replicas don't support reads but do participate in voting to
      * commit writes. Witness replicas:
@@ -106,6 +130,8 @@ public enum ReplicaType
     ;
 
     /**
+     *
+     *
      * 
      * Not specified.
      * 
@@ -114,6 +140,8 @@ public enum ReplicaType */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Read-write replicas support both reads and writes. These replicas:
      * * Maintain a full copy of your data.
@@ -127,6 +155,8 @@ public enum ReplicaType
      */
     public static final int READ_WRITE_VALUE = 1;
     /**
+     *
+     *
      * 
      * Read-only replicas only support reads (not writes). Read-only replicas:
      * * Maintain a full copy of your data.
@@ -139,6 +169,8 @@ public enum ReplicaType
      */
     public static final int READ_ONLY_VALUE = 2;
     /**
+     *
+     *
      * 
      * Witness replicas don't support reads but do participate in voting to
      * commit writes. Witness replicas:
@@ -152,7 +184,6 @@ public enum ReplicaType
      */
     public static final int WITNESS_VALUE = 3;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -177,50 +208,51 @@ public static ReplicaType valueOf(int value) {
      */
     public static ReplicaType forNumber(int value) {
       switch (value) {
-        case 0: return TYPE_UNSPECIFIED;
-        case 1: return READ_WRITE;
-        case 2: return READ_ONLY;
-        case 3: return WITNESS;
-        default: return null;
+        case 0:
+          return TYPE_UNSPECIFIED;
+        case 1:
+          return READ_WRITE;
+        case 2:
+          return READ_ONLY;
+        case 3:
+          return WITNESS;
+        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<
-        ReplicaType> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public ReplicaType findValueByNumber(int number) {
-              return ReplicaType.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 ReplicaType findValueByNumber(int number) {
+            return ReplicaType.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.spanner.admin.instance.v1.ReplicaInfo.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final ReplicaType[] VALUES = values();
 
-    public static ReplicaType valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static ReplicaType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -238,14 +270,18 @@ private ReplicaType(int value) {
   }
 
   public static final int LOCATION_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object location_ = "";
   /**
+   *
+   *
    * 
    * The location of the serving resources, e.g. "us-central1".
    * 
* * string location = 1; + * * @return The location. */ @java.lang.Override @@ -254,29 +290,29 @@ 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; } } /** + * + * *
    * The location of the serving resources, e.g. "us-central1".
    * 
* * string location = 1; + * * @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 { @@ -287,32 +323,45 @@ public java.lang.String getLocation() { public static final int TYPE_FIELD_NUMBER = 2; private int type_ = 0; /** + * + * *
    * The type of replica.
    * 
* * .google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType type = 2; + * * @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 replica.
    * 
* * .google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType type = 2; + * * @return The type. */ - @java.lang.Override public com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType getType() { - com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType result = com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType.forNumber(type_); - return result == null ? com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType getType() { + com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType result = + com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType.forNumber(type_); + return result == null + ? com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType.UNRECOGNIZED + : result; } public static final int DEFAULT_LEADER_LOCATION_FIELD_NUMBER = 3; private boolean defaultLeaderLocation_ = false; /** + * + * *
    * If true, this location is designated as the default leader location where
    * leader replicas are placed. See the [region types
@@ -321,6 +370,7 @@ public java.lang.String getLocation() {
    * 
* * bool default_leader_location = 3; + * * @return The defaultLeaderLocation. */ @java.lang.Override @@ -329,6 +379,7 @@ public boolean getDefaultLeaderLocation() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -340,12 +391,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(location_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, location_); } - if (type_ != com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType.TYPE_UNSPECIFIED.getNumber()) { + if (type_ + != com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType.TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(2, type_); } if (defaultLeaderLocation_ != false) { @@ -363,13 +415,13 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(location_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, location_); } - if (type_ != com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, type_); + if (type_ + != com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType.TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, type_); } if (defaultLeaderLocation_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, defaultLeaderLocation_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, defaultLeaderLocation_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -379,18 +431,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.spanner.admin.instance.v1.ReplicaInfo)) { return super.equals(obj); } - com.google.spanner.admin.instance.v1.ReplicaInfo other = (com.google.spanner.admin.instance.v1.ReplicaInfo) obj; + com.google.spanner.admin.instance.v1.ReplicaInfo other = + (com.google.spanner.admin.instance.v1.ReplicaInfo) obj; - if (!getLocation() - .equals(other.getLocation())) return false; + if (!getLocation().equals(other.getLocation())) return false; if (type_ != other.type_) return false; - if (getDefaultLeaderLocation() - != other.getDefaultLeaderLocation()) return false; + if (getDefaultLeaderLocation() != other.getDefaultLeaderLocation()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -407,133 +458,134 @@ public int hashCode() { hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + type_; hash = (37 * hash) + DEFAULT_LEADER_LOCATION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDefaultLeaderLocation()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDefaultLeaderLocation()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.spanner.admin.instance.v1.ReplicaInfo parseFrom( - java.nio.ByteBuffer data) + public static com.google.spanner.admin.instance.v1.ReplicaInfo parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.instance.v1.ReplicaInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.admin.instance.v1.ReplicaInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.instance.v1.ReplicaInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.admin.instance.v1.ReplicaInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.instance.v1.ReplicaInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.ReplicaInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.spanner.admin.instance.v1.ReplicaInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.instance.v1.ReplicaInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.ReplicaInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.spanner.admin.instance.v1.ReplicaInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.spanner.admin.instance.v1.ReplicaInfo parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.spanner.admin.instance.v1.ReplicaInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.instance.v1.ReplicaInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.spanner.admin.instance.v1.ReplicaInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } - /** - * Protobuf type {@code google.spanner.admin.instance.v1.ReplicaInfo} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + /** Protobuf type {@code google.spanner.admin.instance.v1.ReplicaInfo} */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.spanner.admin.instance.v1.ReplicaInfo) com.google.spanner.admin.instance.v1.ReplicaInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ReplicaInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto + .internal_static_google_spanner_admin_instance_v1_ReplicaInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ReplicaInfo_fieldAccessorTable + return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto + .internal_static_google_spanner_admin_instance_v1_ReplicaInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.admin.instance.v1.ReplicaInfo.class, com.google.spanner.admin.instance.v1.ReplicaInfo.Builder.class); + com.google.spanner.admin.instance.v1.ReplicaInfo.class, + com.google.spanner.admin.instance.v1.ReplicaInfo.Builder.class); } // Construct using com.google.spanner.admin.instance.v1.ReplicaInfo.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -545,9 +597,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_ReplicaInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto + .internal_static_google_spanner_admin_instance_v1_ReplicaInfo_descriptor; } @java.lang.Override @@ -566,8 +618,11 @@ public com.google.spanner.admin.instance.v1.ReplicaInfo build() { @java.lang.Override public com.google.spanner.admin.instance.v1.ReplicaInfo buildPartial() { - com.google.spanner.admin.instance.v1.ReplicaInfo result = new com.google.spanner.admin.instance.v1.ReplicaInfo(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.spanner.admin.instance.v1.ReplicaInfo result = + new com.google.spanner.admin.instance.v1.ReplicaInfo(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -589,38 +644,39 @@ private void buildPartial0(com.google.spanner.admin.instance.v1.ReplicaInfo 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.spanner.admin.instance.v1.ReplicaInfo) { - return mergeFrom((com.google.spanner.admin.instance.v1.ReplicaInfo)other); + return mergeFrom((com.google.spanner.admin.instance.v1.ReplicaInfo) other); } else { super.mergeFrom(other); return this; @@ -628,7 +684,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.admin.instance.v1.ReplicaInfo other) { - if (other == com.google.spanner.admin.instance.v1.ReplicaInfo.getDefaultInstance()) return this; + if (other == com.google.spanner.admin.instance.v1.ReplicaInfo.getDefaultInstance()) + return this; if (!other.getLocation().isEmpty()) { location_ = other.location_; bitField0_ |= 0x00000001; @@ -666,27 +723,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - location_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - type_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 24: { - defaultLeaderLocation_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + location_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + type_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: + { + defaultLeaderLocation_ = 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) { @@ -696,22 +757,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object location_ = ""; /** + * + * *
      * The location of the serving resources, e.g. "us-central1".
      * 
* * string location = 1; + * * @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; @@ -720,20 +784,21 @@ public java.lang.String getLocation() { } } /** + * + * *
      * The location of the serving resources, e.g. "us-central1".
      * 
* * string location = 1; + * * @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 { @@ -741,28 +806,35 @@ public java.lang.String getLocation() { } } /** + * + * *
      * The location of the serving resources, e.g. "us-central1".
      * 
* * string location = 1; + * * @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_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The location of the serving resources, e.g. "us-central1".
      * 
* * string location = 1; + * * @return This builder for chaining. */ public Builder clearLocation() { @@ -772,17 +844,21 @@ public Builder clearLocation() { return this; } /** + * + * *
      * The location of the serving resources, e.g. "us-central1".
      * 
* * string location = 1; + * * @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_ |= 0x00000001; @@ -792,22 +868,29 @@ public Builder setLocationBytes( private int type_ = 0; /** + * + * *
      * The type of replica.
      * 
* * .google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType type = 2; + * * @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 replica.
      * 
* * .google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType type = 2; + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -818,24 +901,33 @@ public Builder setTypeValue(int value) { return this; } /** + * + * *
      * The type of replica.
      * 
* * .google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType type = 2; + * * @return The type. */ @java.lang.Override public com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType getType() { - com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType result = com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType.forNumber(type_); - return result == null ? com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType.UNRECOGNIZED : result; + com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType result = + com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType.forNumber(type_); + return result == null + ? com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType.UNRECOGNIZED + : result; } /** + * + * *
      * The type of replica.
      * 
* * .google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType type = 2; + * * @param value The type to set. * @return This builder for chaining. */ @@ -849,11 +941,14 @@ public Builder setType(com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaT return this; } /** + * + * *
      * The type of replica.
      * 
* * .google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType type = 2; + * * @return This builder for chaining. */ public Builder clearType() { @@ -863,8 +958,10 @@ public Builder clearType() { return this; } - private boolean defaultLeaderLocation_ ; + private boolean defaultLeaderLocation_; /** + * + * *
      * If true, this location is designated as the default leader location where
      * leader replicas are placed. See the [region types
@@ -873,6 +970,7 @@ public Builder clearType() {
      * 
* * bool default_leader_location = 3; + * * @return The defaultLeaderLocation. */ @java.lang.Override @@ -880,6 +978,8 @@ public boolean getDefaultLeaderLocation() { return defaultLeaderLocation_; } /** + * + * *
      * If true, this location is designated as the default leader location where
      * leader replicas are placed. See the [region types
@@ -888,17 +988,20 @@ public boolean getDefaultLeaderLocation() {
      * 
* * bool default_leader_location = 3; + * * @param value The defaultLeaderLocation to set. * @return This builder for chaining. */ public Builder setDefaultLeaderLocation(boolean value) { - + defaultLeaderLocation_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * If true, this location is designated as the default leader location where
      * leader replicas are placed. See the [region types
@@ -907,6 +1010,7 @@ public Builder setDefaultLeaderLocation(boolean value) {
      * 
* * bool default_leader_location = 3; + * * @return This builder for chaining. */ public Builder clearDefaultLeaderLocation() { @@ -915,9 +1019,9 @@ public Builder clearDefaultLeaderLocation() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -927,12 +1031,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.ReplicaInfo) } // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.ReplicaInfo) private static final com.google.spanner.admin.instance.v1.ReplicaInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.ReplicaInfo(); } @@ -941,27 +1045,27 @@ public static com.google.spanner.admin.instance.v1.ReplicaInfo getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReplicaInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReplicaInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -976,6 +1080,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.instance.v1.ReplicaInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ReplicaInfoOrBuilder.java b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ReplicaInfoOrBuilder.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ReplicaInfoOrBuilder.java rename to proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ReplicaInfoOrBuilder.java index 1fbda309525..1e3f8a3e1a1 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ReplicaInfoOrBuilder.java +++ b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/ReplicaInfoOrBuilder.java @@ -1,52 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto package com.google.spanner.admin.instance.v1; -public interface ReplicaInfoOrBuilder extends +public interface ReplicaInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.ReplicaInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The location of the serving resources, e.g. "us-central1".
    * 
* * string location = 1; + * * @return The location. */ java.lang.String getLocation(); /** + * + * *
    * The location of the serving resources, e.g. "us-central1".
    * 
* * string location = 1; + * * @return The bytes for location. */ - com.google.protobuf.ByteString - getLocationBytes(); + com.google.protobuf.ByteString getLocationBytes(); /** + * + * *
    * The type of replica.
    * 
* * .google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType type = 2; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * The type of replica.
    * 
* * .google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType type = 2; + * * @return The type. */ com.google.spanner.admin.instance.v1.ReplicaInfo.ReplicaType getType(); /** + * + * *
    * If true, this location is designated as the default leader location where
    * leader replicas are placed. See the [region types
@@ -55,6 +84,7 @@ public interface ReplicaInfoOrBuilder extends
    * 
* * bool default_leader_location = 3; + * * @return The defaultLeaderLocation. */ boolean getDefaultLeaderLocation(); diff --git a/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/SpannerInstanceAdminProto.java b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/SpannerInstanceAdminProto.java new file mode 100644 index 00000000000..3d5256cbd62 --- /dev/null +++ b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/SpannerInstanceAdminProto.java @@ -0,0 +1,594 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/spanner/admin/instance/v1/spanner_instance_admin.proto + +package com.google.spanner.admin.instance.v1; + +public final class SpannerInstanceAdminProto { + private SpannerInstanceAdminProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_ReplicaInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_ReplicaInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_InstanceConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_InstanceConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_InstanceConfig_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_InstanceConfig_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_Instance_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_Instance_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_Instance_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_Instance_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_GetInstanceConfigRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_GetInstanceConfigRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_DeleteInstanceConfigRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_DeleteInstanceConfigRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_GetInstanceRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_GetInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_CreateInstanceRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_CreateInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_ListInstancesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_ListInstancesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_ListInstancesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_ListInstancesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_UpdateInstanceRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_UpdateInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_DeleteInstanceRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_DeleteInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_CreateInstanceMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_CreateInstanceMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_UpdateInstanceMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_UpdateInstanceMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigMetadata_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n=google/spanner/admin/instance/v1/spann" + + "er_instance_admin.proto\022 google.spanner." + + "admin.instance.v1\032\034google/api/annotation" + + "s.proto\032\027google/api/client.proto\032\037google" + + "/api/field_behavior.proto\032\031google/api/re" + + "source.proto\032\036google/iam/v1/iam_policy.p" + + "roto\032\032google/iam/v1/policy.proto\032#google" + + "/longrunning/operations.proto\032\033google/pr" + + "otobuf/empty.proto\032 google/protobuf/fiel" + + "d_mask.proto\032\037google/protobuf/timestamp." + + "proto\032-google/spanner/admin/instance/v1/" + + "common.proto\"\332\001\n\013ReplicaInfo\022\020\n\010location" + + "\030\001 \001(\t\022G\n\004type\030\002 \001(\01629.google.spanner.ad" + + "min.instance.v1.ReplicaInfo.ReplicaType\022" + + "\037\n\027default_leader_location\030\003 \001(\010\"O\n\013Repl" + + "icaType\022\024\n\020TYPE_UNSPECIFIED\020\000\022\016\n\nREAD_WR" + + "ITE\020\001\022\r\n\tREAD_ONLY\020\002\022\013\n\007WITNESS\020\003\"\276\006\n\016In" + + "stanceConfig\022\014\n\004name\030\001 \001(\t\022\024\n\014display_na" + + "me\030\002 \001(\t\022O\n\013config_type\030\005 \001(\01625.google.s" + + "panner.admin.instance.v1.InstanceConfig." + + "TypeB\003\340A\003\022?\n\010replicas\030\003 \003(\0132-.google.spa" + + "nner.admin.instance.v1.ReplicaInfo\022M\n\021op" + + "tional_replicas\030\006 \003(\0132-.google.spanner.a" + + "dmin.instance.v1.ReplicaInfoB\003\340A\003\022?\n\013bas" + + "e_config\030\007 \001(\tB*\372A\'\n%spanner.googleapis." + + "com/InstanceConfig\022L\n\006labels\030\010 \003(\0132<.goo" + + "gle.spanner.admin.instance.v1.InstanceCo" + + "nfig.LabelsEntry\022\014\n\004etag\030\t \001(\t\022\026\n\016leader" + + "_options\030\004 \003(\t\022\030\n\013reconciling\030\n \001(\010B\003\340A\003" + + "\022J\n\005state\030\013 \001(\01626.google.spanner.admin.i" + + "nstance.v1.InstanceConfig.StateB\003\340A\003\032-\n\013" + + "LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:" + + "\0028\001\"B\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\022\n\016GOO" + + "GLE_MANAGED\020\001\022\020\n\014USER_MANAGED\020\002\"7\n\005State" + + "\022\025\n\021STATE_UNSPECIFIED\020\000\022\014\n\010CREATING\020\001\022\t\n" + + "\005READY\020\002:`\352A]\n%spanner.googleapis.com/In" + + "stanceConfig\0224projects/{project}/instanc" + + "eConfigs/{instance_config}\"\355\004\n\010Instance\022" + + "\021\n\004name\030\001 \001(\tB\003\340A\002\022=\n\006config\030\002 \001(\tB-\340A\002\372" + + "A\'\n%spanner.googleapis.com/InstanceConfi" + + "g\022\031\n\014display_name\030\003 \001(\tB\003\340A\002\022\022\n\nnode_cou" + + "nt\030\005 \001(\005\022\030\n\020processing_units\030\t \001(\005\022D\n\005st" + + "ate\030\006 \001(\01620.google.spanner.admin.instanc" + + "e.v1.Instance.StateB\003\340A\003\022F\n\006labels\030\007 \003(\013" + + "26.google.spanner.admin.instance.v1.Inst" + + "ance.LabelsEntry\022\025\n\rendpoint_uris\030\010 \003(\t\022" + + "4\n\013create_time\030\013 \001(\0132\032.google.protobuf.T" + + "imestampB\003\340A\003\0224\n\013update_time\030\014 \001(\0132\032.goo" + + "gle.protobuf.TimestampB\003\340A\003\032-\n\013LabelsEnt" + + "ry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"7\n\005St" + + "ate\022\025\n\021STATE_UNSPECIFIED\020\000\022\014\n\010CREATING\020\001" + + "\022\t\n\005READY\020\002:M\352AJ\n\037spanner.googleapis.com" + + "/Instance\022\'projects/{project}/instances/" + + "{instance}\"\210\001\n\032ListInstanceConfigsReques" + + "t\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\n+cloudresource" + + "manager.googleapis.com/Project\022\021\n\tpage_s" + + "ize\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\202\001\n\033ListIn" + + "stanceConfigsResponse\022J\n\020instance_config" + + "s\030\001 \003(\01320.google.spanner.admin.instance." + + "v1.InstanceConfig\022\027\n\017next_page_token\030\002 \001" + + "(\t\"W\n\030GetInstanceConfigRequest\022;\n\004name\030\001" + + " \001(\tB-\340A\002\372A\'\n%spanner.googleapis.com/Ins" + + "tanceConfig\"\352\001\n\033CreateInstanceConfigRequ" + + "est\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\n+cloudresour" + + "cemanager.googleapis.com/Project\022\037\n\022inst" + + "ance_config_id\030\002 \001(\tB\003\340A\002\022N\n\017instance_co" + + "nfig\030\003 \001(\01320.google.spanner.admin.instan" + + "ce.v1.InstanceConfigB\003\340A\002\022\025\n\rvalidate_on" + + "ly\030\004 \001(\010\"\272\001\n\033UpdateInstanceConfigRequest" + + "\022N\n\017instance_config\030\001 \001(\01320.google.spann" + + "er.admin.instance.v1.InstanceConfigB\003\340A\002" + + "\0224\n\013update_mask\030\002 \001(\0132\032.google.protobuf." + + "FieldMaskB\003\340A\002\022\025\n\rvalidate_only\030\003 \001(\010\"\177\n" + + "\033DeleteInstanceConfigRequest\022;\n\004name\030\001 \001" + + "(\tB-\340A\002\372A\'\n%spanner.googleapis.com/Insta" + + "nceConfig\022\014\n\004etag\030\002 \001(\t\022\025\n\rvalidate_only" + + "\030\003 \001(\010\"\241\001\n#ListInstanceConfigOperationsR" + + "equest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\n+cloudres" + + "ourcemanager.googleapis.com/Project\022\016\n\006f" + + "ilter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_t" + + "oken\030\004 \001(\t\"r\n$ListInstanceConfigOperatio" + + "nsResponse\0221\n\noperations\030\001 \003(\0132\035.google." + + "longrunning.Operation\022\027\n\017next_page_token" + + "\030\002 \001(\t\"{\n\022GetInstanceRequest\0225\n\004name\030\001 \001" + + "(\tB\'\340A\002\372A!\n\037spanner.googleapis.com/Insta" + + "nce\022.\n\nfield_mask\030\002 \001(\0132\032.google.protobu" + + "f.FieldMask\"\271\001\n\025CreateInstanceRequest\022C\n" + + "\006parent\030\001 \001(\tB3\340A\002\372A-\n+cloudresourcemana" + + "ger.googleapis.com/Project\022\030\n\013instance_i" + + "d\030\002 \001(\tB\003\340A\002\022A\n\010instance\030\003 \001(\0132*.google." + + "spanner.admin.instance.v1.InstanceB\003\340A\002\"" + + "\222\001\n\024ListInstancesRequest\022C\n\006parent\030\001 \001(\t" + + "B3\340A\002\372A-\n+cloudresourcemanager.googleapi" + + "s.com/Project\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage" + + "_token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\"o\n\025ListInst" + + "ancesResponse\022=\n\tinstances\030\001 \003(\0132*.googl" + + "e.spanner.admin.instance.v1.Instance\022\027\n\017" + + "next_page_token\030\002 \001(\t\"\217\001\n\025UpdateInstance" + + "Request\022A\n\010instance\030\001 \001(\0132*.google.spann" + + "er.admin.instance.v1.InstanceB\003\340A\002\0223\n\nfi" + + "eld_mask\030\002 \001(\0132\032.google.protobuf.FieldMa" + + "skB\003\340A\002\"N\n\025DeleteInstanceRequest\0225\n\004name" + + "\030\001 \001(\tB\'\340A\002\372A!\n\037spanner.googleapis.com/I" + + "nstance\"\345\001\n\026CreateInstanceMetadata\022<\n\010in" + + "stance\030\001 \001(\0132*.google.spanner.admin.inst" + + "ance.v1.Instance\022.\n\nstart_time\030\002 \001(\0132\032.g" + + "oogle.protobuf.Timestamp\022/\n\013cancel_time\030" + + "\003 \001(\0132\032.google.protobuf.Timestamp\022,\n\010end" + + "_time\030\004 \001(\0132\032.google.protobuf.Timestamp\"" + + "\345\001\n\026UpdateInstanceMetadata\022<\n\010instance\030\001" + + " \001(\0132*.google.spanner.admin.instance.v1." + + "Instance\022.\n\nstart_time\030\002 \001(\0132\032.google.pr" + + "otobuf.Timestamp\022/\n\013cancel_time\030\003 \001(\0132\032." + + "google.protobuf.Timestamp\022,\n\010end_time\030\004 " + + "\001(\0132\032.google.protobuf.Timestamp\"\341\001\n\034Crea" + + "teInstanceConfigMetadata\022I\n\017instance_con" + + "fig\030\001 \001(\01320.google.spanner.admin.instanc" + + "e.v1.InstanceConfig\022E\n\010progress\030\002 \001(\01323." + + "google.spanner.admin.instance.v1.Operati" + + "onProgress\022/\n\013cancel_time\030\003 \001(\0132\032.google" + + ".protobuf.Timestamp\"\341\001\n\034UpdateInstanceCo" + + "nfigMetadata\022I\n\017instance_config\030\001 \001(\01320." + + "google.spanner.admin.instance.v1.Instanc" + + "eConfig\022E\n\010progress\030\002 \001(\01323.google.spann" + + "er.admin.instance.v1.OperationProgress\022/" + + "\n\013cancel_time\030\003 \001(\0132\032.google.protobuf.Ti" + + "mestamp2\362\030\n\rInstanceAdmin\022\314\001\n\023ListInstan" + + "ceConfigs\022<.google.spanner.admin.instanc" + + "e.v1.ListInstanceConfigsRequest\032=.google" + + ".spanner.admin.instance.v1.ListInstanceC" + + "onfigsResponse\"8\202\323\344\223\002)\022\'/v1/{parent=proj" + + "ects/*}/instanceConfigs\332A\006parent\022\271\001\n\021Get" + + "InstanceConfig\022:.google.spanner.admin.in" + + "stance.v1.GetInstanceConfigRequest\0320.goo" + + "gle.spanner.admin.instance.v1.InstanceCo" + + "nfig\"6\202\323\344\223\002)\022\'/v1/{name=projects/*/insta" + + "nceConfigs/*}\332A\004name\022\310\002\n\024CreateInstanceC" + + "onfig\022=.google.spanner.admin.instance.v1" + + ".CreateInstanceConfigRequest\032\035.google.lo" + + "ngrunning.Operation\"\321\001\202\323\344\223\002,\"\'/v1/{paren" + + "t=projects/*}/instanceConfigs:\001*\332A)paren" + + "t,instance_config,instance_config_id\312Ap\n" + + "/google.spanner.admin.instance.v1.Instan" + + "ceConfig\022=google.spanner.admin.instance." + + "v1.CreateInstanceConfigMetadata\022\312\002\n\024Upda" + + "teInstanceConfig\022=.google.spanner.admin." + + "instance.v1.UpdateInstanceConfigRequest\032" + + "\035.google.longrunning.Operation\"\323\001\202\323\344\223\002<2" + + "7/v1/{instance_config.name=projects/*/in" + + "stanceConfigs/*}:\001*\332A\033instance_config,up" + + "date_mask\312Ap\n/google.spanner.admin.insta" + + "nce.v1.InstanceConfig\022=google.spanner.ad" + + "min.instance.v1.UpdateInstanceConfigMeta" + + "data\022\245\001\n\024DeleteInstanceConfig\022=.google.s" + + "panner.admin.instance.v1.DeleteInstanceC" + + "onfigRequest\032\026.google.protobuf.Empty\"6\202\323" + + "\344\223\002)*\'/v1/{name=projects/*/instanceConfi" + + "gs/*}\332A\004name\022\360\001\n\034ListInstanceConfigOpera" + + "tions\022E.google.spanner.admin.instance.v1" + + ".ListInstanceConfigOperationsRequest\032F.g" + + "oogle.spanner.admin.instance.v1.ListInst" + + "anceConfigOperationsResponse\"A\202\323\344\223\0022\0220/v" + + "1/{parent=projects/*}/instanceConfigOper" + + "ations\332A\006parent\022\264\001\n\rListInstances\0226.goog" + + "le.spanner.admin.instance.v1.ListInstanc" + + "esRequest\0327.google.spanner.admin.instanc" + + "e.v1.ListInstancesResponse\"2\202\323\344\223\002#\022!/v1/" + + "{parent=projects/*}/instances\332A\006parent\022\241" + + "\001\n\013GetInstance\0224.google.spanner.admin.in" + + "stance.v1.GetInstanceRequest\032*.google.sp" + + "anner.admin.instance.v1.Instance\"0\202\323\344\223\002#" + + "\022!/v1/{name=projects/*/instances/*}\332A\004na" + + "me\022\234\002\n\016CreateInstance\0227.google.spanner.a" + + "dmin.instance.v1.CreateInstanceRequest\032\035" + + ".google.longrunning.Operation\"\261\001\202\323\344\223\002&\"!" + + "/v1/{parent=projects/*}/instances:\001*\332A\033p" + + "arent,instance_id,instance\312Ad\n)google.sp" + + "anner.admin.instance.v1.Instance\0227google" + + ".spanner.admin.instance.v1.CreateInstanc" + + "eMetadata\022\235\002\n\016UpdateInstance\0227.google.sp" + + "anner.admin.instance.v1.UpdateInstanceRe" + + "quest\032\035.google.longrunning.Operation\"\262\001\202" + + "\323\344\223\002/2*/v1/{instance.name=projects/*/ins" + + "tances/*}:\001*\332A\023instance,field_mask\312Ad\n)g" + + "oogle.spanner.admin.instance.v1.Instance" + + "\0227google.spanner.admin.instance.v1.Updat" + + "eInstanceMetadata\022\223\001\n\016DeleteInstance\0227.g" + + "oogle.spanner.admin.instance.v1.DeleteIn" + + "stanceRequest\032\026.google.protobuf.Empty\"0\202" + + "\323\344\223\002#*!/v1/{name=projects/*/instances/*}" + + "\332A\004name\022\232\001\n\014SetIamPolicy\022\".google.iam.v1" + + ".SetIamPolicyRequest\032\025.google.iam.v1.Pol" + + "icy\"O\202\323\344\223\0027\"2/v1/{resource=projects/*/in" + + "stances/*}:setIamPolicy:\001*\332A\017resource,po" + + "licy\022\223\001\n\014GetIamPolicy\022\".google.iam.v1.Ge" + + "tIamPolicyRequest\032\025.google.iam.v1.Policy" + + "\"H\202\323\344\223\0027\"2/v1/{resource=projects/*/insta" + + "nces/*}:getIamPolicy:\001*\332A\010resource\022\305\001\n\022T" + + "estIamPermissions\022(.google.iam.v1.TestIa" + + "mPermissionsRequest\032).google.iam.v1.Test" + + "IamPermissionsResponse\"Z\202\323\344\223\002=\"8/v1/{res" + + "ource=projects/*/instances/*}:testIamPer" + + "missions:\001*\332A\024resource,permissions\032x\312A\026s" + + "panner.googleapis.com\322A\\https://www.goog" + + "leapis.com/auth/cloud-platform,https://w" + + "ww.googleapis.com/auth/spanner.adminB\213\002\n" + + "$com.google.spanner.admin.instance.v1B\031S" + + "pannerInstanceAdminProtoP\001ZFcloud.google" + + ".com/go/spanner/admin/instance/apiv1/ins" + + "tancepb;instancepb\252\002&Google.Cloud.Spanne" + + "r.Admin.Instance.V1\312\002&Google\\Cloud\\Spann" + + "er\\Admin\\Instance\\V1\352\002+Google::Cloud::Sp" + + "anner::Admin::Instance::V1b\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.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(), + com.google.spanner.admin.instance.v1.CommonProto.getDescriptor(), + }); + internal_static_google_spanner_admin_instance_v1_ReplicaInfo_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_spanner_admin_instance_v1_ReplicaInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_ReplicaInfo_descriptor, + new java.lang.String[] { + "Location", "Type", "DefaultLeaderLocation", + }); + internal_static_google_spanner_admin_instance_v1_InstanceConfig_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_spanner_admin_instance_v1_InstanceConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_InstanceConfig_descriptor, + new java.lang.String[] { + "Name", + "DisplayName", + "ConfigType", + "Replicas", + "OptionalReplicas", + "BaseConfig", + "Labels", + "Etag", + "LeaderOptions", + "Reconciling", + "State", + }); + internal_static_google_spanner_admin_instance_v1_InstanceConfig_LabelsEntry_descriptor = + internal_static_google_spanner_admin_instance_v1_InstanceConfig_descriptor + .getNestedTypes() + .get(0); + internal_static_google_spanner_admin_instance_v1_InstanceConfig_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_InstanceConfig_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_spanner_admin_instance_v1_Instance_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_spanner_admin_instance_v1_Instance_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_Instance_descriptor, + new java.lang.String[] { + "Name", + "Config", + "DisplayName", + "NodeCount", + "ProcessingUnits", + "State", + "Labels", + "EndpointUris", + "CreateTime", + "UpdateTime", + }); + internal_static_google_spanner_admin_instance_v1_Instance_LabelsEntry_descriptor = + internal_static_google_spanner_admin_instance_v1_Instance_descriptor + .getNestedTypes() + .get(0); + internal_static_google_spanner_admin_instance_v1_Instance_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_Instance_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsResponse_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_ListInstanceConfigsResponse_descriptor, + new java.lang.String[] { + "InstanceConfigs", "NextPageToken", + }); + internal_static_google_spanner_admin_instance_v1_GetInstanceConfigRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_spanner_admin_instance_v1_GetInstanceConfigRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_GetInstanceConfigRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigRequest_descriptor, + new java.lang.String[] { + "Parent", "InstanceConfigId", "InstanceConfig", "ValidateOnly", + }); + internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigRequest_descriptor, + new java.lang.String[] { + "InstanceConfig", "UpdateMask", "ValidateOnly", + }); + internal_static_google_spanner_admin_instance_v1_DeleteInstanceConfigRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_spanner_admin_instance_v1_DeleteInstanceConfigRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_DeleteInstanceConfigRequest_descriptor, + new java.lang.String[] { + "Name", "Etag", "ValidateOnly", + }); + internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsRequest_descriptor, + new java.lang.String[] { + "Parent", "Filter", "PageSize", "PageToken", + }); + internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsResponse_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_ListInstanceConfigOperationsResponse_descriptor, + new java.lang.String[] { + "Operations", "NextPageToken", + }); + internal_static_google_spanner_admin_instance_v1_GetInstanceRequest_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_spanner_admin_instance_v1_GetInstanceRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_GetInstanceRequest_descriptor, + new java.lang.String[] { + "Name", "FieldMask", + }); + internal_static_google_spanner_admin_instance_v1_CreateInstanceRequest_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_spanner_admin_instance_v1_CreateInstanceRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_CreateInstanceRequest_descriptor, + new java.lang.String[] { + "Parent", "InstanceId", "Instance", + }); + internal_static_google_spanner_admin_instance_v1_ListInstancesRequest_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_spanner_admin_instance_v1_ListInstancesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_ListInstancesRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", "Filter", + }); + internal_static_google_spanner_admin_instance_v1_ListInstancesResponse_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_spanner_admin_instance_v1_ListInstancesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_ListInstancesResponse_descriptor, + new java.lang.String[] { + "Instances", "NextPageToken", + }); + internal_static_google_spanner_admin_instance_v1_UpdateInstanceRequest_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_spanner_admin_instance_v1_UpdateInstanceRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_UpdateInstanceRequest_descriptor, + new java.lang.String[] { + "Instance", "FieldMask", + }); + internal_static_google_spanner_admin_instance_v1_DeleteInstanceRequest_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_spanner_admin_instance_v1_DeleteInstanceRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_DeleteInstanceRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_spanner_admin_instance_v1_CreateInstanceMetadata_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_spanner_admin_instance_v1_CreateInstanceMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_CreateInstanceMetadata_descriptor, + new java.lang.String[] { + "Instance", "StartTime", "CancelTime", "EndTime", + }); + internal_static_google_spanner_admin_instance_v1_UpdateInstanceMetadata_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_spanner_admin_instance_v1_UpdateInstanceMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_UpdateInstanceMetadata_descriptor, + new java.lang.String[] { + "Instance", "StartTime", "CancelTime", "EndTime", + }); + internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigMetadata_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_CreateInstanceConfigMetadata_descriptor, + new java.lang.String[] { + "InstanceConfig", "Progress", "CancelTime", + }); + internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigMetadata_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigMetadata_descriptor, + new java.lang.String[] { + "InstanceConfig", "Progress", "CancelTime", + }); + 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.resource); + 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.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(); + com.google.spanner.admin.instance.v1.CommonProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigMetadata.java b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigMetadata.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigMetadata.java rename to proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigMetadata.java index f9e18ee4f94..5a22311f981 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigMetadata.java +++ b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigMetadata.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto package com.google.spanner.admin.instance.v1; /** + * + * *
  * Metadata type for the operation returned by
  * [UpdateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig].
@@ -11,51 +28,55 @@
  *
  * Protobuf type {@code google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata}
  */
-public final class UpdateInstanceConfigMetadata extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class UpdateInstanceConfigMetadata extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata)
     UpdateInstanceConfigMetadataOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use UpdateInstanceConfigMetadata.newBuilder() to construct.
   private UpdateInstanceConfigMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private UpdateInstanceConfigMetadata() {
-  }
+
+  private UpdateInstanceConfigMetadata() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new UpdateInstanceConfigMetadata();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigMetadata_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+        .internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigMetadata_fieldAccessorTable
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+        .internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata.class, com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata.Builder.class);
+            com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata.class,
+            com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata.Builder.class);
   }
 
   public static final int INSTANCE_CONFIG_FIELD_NUMBER = 1;
   private com.google.spanner.admin.instance.v1.InstanceConfig instanceConfig_;
   /**
+   *
+   *
    * 
    * The desired instance config after updating.
    * 
* * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1; + * * @return Whether the instanceConfig field is set. */ @java.lang.Override @@ -63,18 +84,25 @@ public boolean hasInstanceConfig() { return instanceConfig_ != null; } /** + * + * *
    * The desired instance config after updating.
    * 
* * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1; + * * @return The instanceConfig. */ @java.lang.Override public com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfig() { - return instanceConfig_ == null ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() : instanceConfig_; + return instanceConfig_ == null + ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() + : instanceConfig_; } /** + * + * *
    * The desired instance config after updating.
    * 
@@ -83,12 +111,16 @@ public com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfig() { */ @java.lang.Override public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceConfigOrBuilder() { - return instanceConfig_ == null ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() : instanceConfig_; + return instanceConfig_ == null + ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() + : instanceConfig_; } public static final int PROGRESS_FIELD_NUMBER = 2; private com.google.spanner.admin.instance.v1.OperationProgress progress_; /** + * + * *
    * The progress of the
    * [UpdateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig]
@@ -96,6 +128,7 @@ public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceC
    * 
* * .google.spanner.admin.instance.v1.OperationProgress progress = 2; + * * @return Whether the progress field is set. */ @java.lang.Override @@ -103,6 +136,8 @@ public boolean hasProgress() { return progress_ != null; } /** + * + * *
    * The progress of the
    * [UpdateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig]
@@ -110,13 +145,18 @@ public boolean hasProgress() {
    * 
* * .google.spanner.admin.instance.v1.OperationProgress progress = 2; + * * @return The progress. */ @java.lang.Override public com.google.spanner.admin.instance.v1.OperationProgress getProgress() { - return progress_ == null ? com.google.spanner.admin.instance.v1.OperationProgress.getDefaultInstance() : progress_; + return progress_ == null + ? com.google.spanner.admin.instance.v1.OperationProgress.getDefaultInstance() + : progress_; } /** + * + * *
    * The progress of the
    * [UpdateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig]
@@ -127,17 +167,22 @@ public com.google.spanner.admin.instance.v1.OperationProgress getProgress() {
    */
   @java.lang.Override
   public com.google.spanner.admin.instance.v1.OperationProgressOrBuilder getProgressOrBuilder() {
-    return progress_ == null ? com.google.spanner.admin.instance.v1.OperationProgress.getDefaultInstance() : progress_;
+    return progress_ == null
+        ? com.google.spanner.admin.instance.v1.OperationProgress.getDefaultInstance()
+        : progress_;
   }
 
   public static final int CANCEL_TIME_FIELD_NUMBER = 3;
   private com.google.protobuf.Timestamp cancelTime_;
   /**
+   *
+   *
    * 
    * The time at which this operation was cancelled.
    * 
* * .google.protobuf.Timestamp cancel_time = 3; + * * @return Whether the cancelTime field is set. */ @java.lang.Override @@ -145,11 +190,14 @@ public boolean hasCancelTime() { return cancelTime_ != null; } /** + * + * *
    * The time at which this operation was cancelled.
    * 
* * .google.protobuf.Timestamp cancel_time = 3; + * * @return The cancelTime. */ @java.lang.Override @@ -157,6 +205,8 @@ public com.google.protobuf.Timestamp getCancelTime() { return cancelTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : cancelTime_; } /** + * + * *
    * The time at which this operation was cancelled.
    * 
@@ -169,6 +219,7 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -180,8 +231,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 (instanceConfig_ != null) { output.writeMessage(1, getInstanceConfig()); } @@ -201,16 +251,13 @@ public int getSerializedSize() { size = 0; if (instanceConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getInstanceConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getInstanceConfig()); } if (progress_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getProgress()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getProgress()); } if (cancelTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getCancelTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCancelTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -220,27 +267,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.spanner.admin.instance.v1.UpdateInstanceConfigMetadata)) { return super.equals(obj); } - com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata other = (com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata) obj; + com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata other = + (com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata) obj; if (hasInstanceConfig() != other.hasInstanceConfig()) return false; if (hasInstanceConfig()) { - if (!getInstanceConfig() - .equals(other.getInstanceConfig())) return false; + if (!getInstanceConfig().equals(other.getInstanceConfig())) 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 (hasCancelTime() != other.hasCancelTime()) return false; if (hasCancelTime()) { - if (!getCancelTime() - .equals(other.getCancelTime())) return false; + if (!getCancelTime().equals(other.getCancelTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -271,96 +316,105 @@ public int hashCode() { } public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata 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.spanner.admin.instance.v1.UpdateInstanceConfigMetadata + 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.spanner.admin.instance.v1.UpdateInstanceConfigMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata prototype) { + + public static Builder newBuilder( + com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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
    * [UpdateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig].
@@ -368,33 +422,33 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata)
       com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+          .internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigMetadata_fieldAccessorTable
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+          .internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata.class, com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata.Builder.class);
+              com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata.class,
+              com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata.Builder.class);
     }
 
-    // Construct using com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata.newBuilder()
-    private Builder() {
+    // Construct using
+    // com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata.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();
@@ -418,13 +472,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+          .internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigMetadata_descriptor;
     }
 
     @java.lang.Override
-    public com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata getDefaultInstanceForType() {
+    public com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata
+        getDefaultInstanceForType() {
       return com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata.getDefaultInstance();
     }
 
@@ -439,28 +494,27 @@ public com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata build()
 
     @java.lang.Override
     public com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata buildPartial() {
-      com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata result = new com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata result =
+          new com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata result) {
+    private void buildPartial0(
+        com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.instanceConfig_ = instanceConfigBuilder_ == null
-            ? instanceConfig_
-            : instanceConfigBuilder_.build();
+        result.instanceConfig_ =
+            instanceConfigBuilder_ == null ? instanceConfig_ : instanceConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.progress_ = progressBuilder_ == null
-            ? progress_
-            : progressBuilder_.build();
+        result.progress_ = progressBuilder_ == null ? progress_ : progressBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.cancelTime_ = cancelTimeBuilder_ == null
-            ? cancelTime_
-            : cancelTimeBuilder_.build();
+        result.cancelTime_ = cancelTimeBuilder_ == null ? cancelTime_ : cancelTimeBuilder_.build();
       }
     }
 
@@ -468,46 +522,50 @@ private void buildPartial0(com.google.spanner.admin.instance.v1.UpdateInstanceCo
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata) {
-        return mergeFrom((com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata)other);
+        return mergeFrom((com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata other) {
-      if (other == com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata other) {
+      if (other
+          == com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata.getDefaultInstance())
+        return this;
       if (other.hasInstanceConfig()) {
         mergeInstanceConfig(other.getInstanceConfig());
       }
@@ -543,33 +601,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getInstanceConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getProgressFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getCancelTimeFieldBuilder().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(getInstanceConfigFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getProgressFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getCancelTimeFieldBuilder().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) {
@@ -579,38 +635,52 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.spanner.admin.instance.v1.InstanceConfig instanceConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.spanner.admin.instance.v1.InstanceConfig, com.google.spanner.admin.instance.v1.InstanceConfig.Builder, com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder> instanceConfigBuilder_;
+            com.google.spanner.admin.instance.v1.InstanceConfig,
+            com.google.spanner.admin.instance.v1.InstanceConfig.Builder,
+            com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder>
+        instanceConfigBuilder_;
     /**
+     *
+     *
      * 
      * The desired instance config after updating.
      * 
* * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1; + * * @return Whether the instanceConfig field is set. */ public boolean hasInstanceConfig() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The desired instance config after updating.
      * 
* * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1; + * * @return The instanceConfig. */ public com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfig() { if (instanceConfigBuilder_ == null) { - return instanceConfig_ == null ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() : instanceConfig_; + return instanceConfig_ == null + ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() + : instanceConfig_; } else { return instanceConfigBuilder_.getMessage(); } } /** + * + * *
      * The desired instance config after updating.
      * 
@@ -631,6 +701,8 @@ public Builder setInstanceConfig(com.google.spanner.admin.instance.v1.InstanceCo return this; } /** + * + * *
      * The desired instance config after updating.
      * 
@@ -649,6 +721,8 @@ public Builder setInstanceConfig( return this; } /** + * + * *
      * The desired instance config after updating.
      * 
@@ -657,9 +731,10 @@ public Builder setInstanceConfig( */ public Builder mergeInstanceConfig(com.google.spanner.admin.instance.v1.InstanceConfig value) { if (instanceConfigBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - instanceConfig_ != null && - instanceConfig_ != com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && instanceConfig_ != null + && instanceConfig_ + != com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance()) { getInstanceConfigBuilder().mergeFrom(value); } else { instanceConfig_ = value; @@ -672,6 +747,8 @@ public Builder mergeInstanceConfig(com.google.spanner.admin.instance.v1.Instance return this; } /** + * + * *
      * The desired instance config after updating.
      * 
@@ -689,6 +766,8 @@ public Builder clearInstanceConfig() { return this; } /** + * + * *
      * The desired instance config after updating.
      * 
@@ -701,21 +780,27 @@ public com.google.spanner.admin.instance.v1.InstanceConfig.Builder getInstanceCo return getInstanceConfigFieldBuilder().getBuilder(); } /** + * + * *
      * The desired instance config after updating.
      * 
* * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1; */ - public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceConfigOrBuilder() { + public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder + getInstanceConfigOrBuilder() { if (instanceConfigBuilder_ != null) { return instanceConfigBuilder_.getMessageOrBuilder(); } else { - return instanceConfig_ == null ? - com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() : instanceConfig_; + return instanceConfig_ == null + ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() + : instanceConfig_; } } /** + * + * *
      * The desired instance config after updating.
      * 
@@ -723,14 +808,17 @@ public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceC * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.InstanceConfig, com.google.spanner.admin.instance.v1.InstanceConfig.Builder, com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder> + com.google.spanner.admin.instance.v1.InstanceConfig, + com.google.spanner.admin.instance.v1.InstanceConfig.Builder, + com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder> getInstanceConfigFieldBuilder() { if (instanceConfigBuilder_ == null) { - instanceConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.InstanceConfig, com.google.spanner.admin.instance.v1.InstanceConfig.Builder, com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder>( - getInstanceConfig(), - getParentForChildren(), - isClean()); + instanceConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.admin.instance.v1.InstanceConfig, + com.google.spanner.admin.instance.v1.InstanceConfig.Builder, + com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder>( + getInstanceConfig(), getParentForChildren(), isClean()); instanceConfig_ = null; } return instanceConfigBuilder_; @@ -738,8 +826,13 @@ public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceC private com.google.spanner.admin.instance.v1.OperationProgress progress_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.OperationProgress, com.google.spanner.admin.instance.v1.OperationProgress.Builder, com.google.spanner.admin.instance.v1.OperationProgressOrBuilder> progressBuilder_; + com.google.spanner.admin.instance.v1.OperationProgress, + com.google.spanner.admin.instance.v1.OperationProgress.Builder, + com.google.spanner.admin.instance.v1.OperationProgressOrBuilder> + progressBuilder_; /** + * + * *
      * The progress of the
      * [UpdateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig]
@@ -747,12 +840,15 @@ public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceC
      * 
* * .google.spanner.admin.instance.v1.OperationProgress progress = 2; + * * @return Whether the progress field is set. */ public boolean hasProgress() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The progress of the
      * [UpdateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig]
@@ -760,16 +856,21 @@ public boolean hasProgress() {
      * 
* * .google.spanner.admin.instance.v1.OperationProgress progress = 2; + * * @return The progress. */ public com.google.spanner.admin.instance.v1.OperationProgress getProgress() { if (progressBuilder_ == null) { - return progress_ == null ? com.google.spanner.admin.instance.v1.OperationProgress.getDefaultInstance() : progress_; + return progress_ == null + ? com.google.spanner.admin.instance.v1.OperationProgress.getDefaultInstance() + : progress_; } else { return progressBuilder_.getMessage(); } } /** + * + * *
      * The progress of the
      * [UpdateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig]
@@ -792,6 +893,8 @@ public Builder setProgress(com.google.spanner.admin.instance.v1.OperationProgres
       return this;
     }
     /**
+     *
+     *
      * 
      * The progress of the
      * [UpdateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig]
@@ -812,6 +915,8 @@ public Builder setProgress(
       return this;
     }
     /**
+     *
+     *
      * 
      * The progress of the
      * [UpdateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig]
@@ -822,9 +927,10 @@ public Builder setProgress(
      */
     public Builder mergeProgress(com.google.spanner.admin.instance.v1.OperationProgress value) {
       if (progressBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0) &&
-          progress_ != null &&
-          progress_ != com.google.spanner.admin.instance.v1.OperationProgress.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0)
+            && progress_ != null
+            && progress_
+                != com.google.spanner.admin.instance.v1.OperationProgress.getDefaultInstance()) {
           getProgressBuilder().mergeFrom(value);
         } else {
           progress_ = value;
@@ -837,6 +943,8 @@ public Builder mergeProgress(com.google.spanner.admin.instance.v1.OperationProgr
       return this;
     }
     /**
+     *
+     *
      * 
      * The progress of the
      * [UpdateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig]
@@ -856,6 +964,8 @@ public Builder clearProgress() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The progress of the
      * [UpdateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig]
@@ -870,6 +980,8 @@ public com.google.spanner.admin.instance.v1.OperationProgress.Builder getProgres
       return getProgressFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The progress of the
      * [UpdateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig]
@@ -882,11 +994,14 @@ public com.google.spanner.admin.instance.v1.OperationProgressOrBuilder getProgre
       if (progressBuilder_ != null) {
         return progressBuilder_.getMessageOrBuilder();
       } else {
-        return progress_ == null ?
-            com.google.spanner.admin.instance.v1.OperationProgress.getDefaultInstance() : progress_;
+        return progress_ == null
+            ? com.google.spanner.admin.instance.v1.OperationProgress.getDefaultInstance()
+            : progress_;
       }
     }
     /**
+     *
+     *
      * 
      * The progress of the
      * [UpdateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig]
@@ -896,14 +1011,17 @@ public com.google.spanner.admin.instance.v1.OperationProgressOrBuilder getProgre
      * .google.spanner.admin.instance.v1.OperationProgress progress = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.spanner.admin.instance.v1.OperationProgress, com.google.spanner.admin.instance.v1.OperationProgress.Builder, com.google.spanner.admin.instance.v1.OperationProgressOrBuilder> 
+            com.google.spanner.admin.instance.v1.OperationProgress,
+            com.google.spanner.admin.instance.v1.OperationProgress.Builder,
+            com.google.spanner.admin.instance.v1.OperationProgressOrBuilder>
         getProgressFieldBuilder() {
       if (progressBuilder_ == null) {
-        progressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.admin.instance.v1.OperationProgress, com.google.spanner.admin.instance.v1.OperationProgress.Builder, com.google.spanner.admin.instance.v1.OperationProgressOrBuilder>(
-                getProgress(),
-                getParentForChildren(),
-                isClean());
+        progressBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.spanner.admin.instance.v1.OperationProgress,
+                com.google.spanner.admin.instance.v1.OperationProgress.Builder,
+                com.google.spanner.admin.instance.v1.OperationProgressOrBuilder>(
+                getProgress(), getParentForChildren(), isClean());
         progress_ = null;
       }
       return progressBuilder_;
@@ -911,34 +1029,47 @@ public com.google.spanner.admin.instance.v1.OperationProgressOrBuilder getProgre
 
     private com.google.protobuf.Timestamp cancelTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> cancelTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        cancelTimeBuilder_;
     /**
+     *
+     *
      * 
      * The time at which this operation was cancelled.
      * 
* * .google.protobuf.Timestamp cancel_time = 3; + * * @return Whether the cancelTime field is set. */ public boolean hasCancelTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * The time at which this operation was cancelled.
      * 
* * .google.protobuf.Timestamp cancel_time = 3; + * * @return The cancelTime. */ public com.google.protobuf.Timestamp getCancelTime() { if (cancelTimeBuilder_ == null) { - return cancelTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : cancelTime_; + return cancelTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : cancelTime_; } else { return cancelTimeBuilder_.getMessage(); } } /** + * + * *
      * The time at which this operation was cancelled.
      * 
@@ -959,14 +1090,15 @@ public Builder setCancelTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time at which this operation was cancelled.
      * 
* * .google.protobuf.Timestamp cancel_time = 3; */ - public Builder setCancelTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCancelTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (cancelTimeBuilder_ == null) { cancelTime_ = builderForValue.build(); } else { @@ -977,6 +1109,8 @@ public Builder setCancelTime( return this; } /** + * + * *
      * The time at which this operation was cancelled.
      * 
@@ -985,9 +1119,9 @@ public Builder setCancelTime( */ public Builder mergeCancelTime(com.google.protobuf.Timestamp value) { if (cancelTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - cancelTime_ != null && - cancelTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && cancelTime_ != null + && cancelTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCancelTimeBuilder().mergeFrom(value); } else { cancelTime_ = value; @@ -1000,6 +1134,8 @@ public Builder mergeCancelTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time at which this operation was cancelled.
      * 
@@ -1017,6 +1153,8 @@ public Builder clearCancelTime() { return this; } /** + * + * *
      * The time at which this operation was cancelled.
      * 
@@ -1029,6 +1167,8 @@ public com.google.protobuf.Timestamp.Builder getCancelTimeBuilder() { return getCancelTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time at which this operation was cancelled.
      * 
@@ -1039,11 +1179,14 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() { if (cancelTimeBuilder_ != null) { return cancelTimeBuilder_.getMessageOrBuilder(); } else { - return cancelTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : cancelTime_; + return cancelTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : cancelTime_; } } /** + * + * *
      * The time at which this operation was cancelled.
      * 
@@ -1051,21 +1194,24 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() { * .google.protobuf.Timestamp cancel_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> getCancelTimeFieldBuilder() { if (cancelTimeBuilder_ == null) { - cancelTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCancelTime(), - getParentForChildren(), - isClean()); + cancelTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCancelTime(), getParentForChildren(), isClean()); cancelTime_ = null; } return cancelTimeBuilder_; } + @java.lang.Override - 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,41 +1221,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata) } // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata) - private static final com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata DEFAULT_INSTANCE; + private static final com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata(); } - public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata getDefaultInstance() { + public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateInstanceConfigMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateInstanceConfigMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1121,9 +1269,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata getDefaultInstanceForType() { + public com.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigMetadataOrBuilder.java b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigMetadataOrBuilder.java similarity index 78% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigMetadataOrBuilder.java rename to proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigMetadataOrBuilder.java index fe8c4ba9c60..79e1db736f6 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigMetadataOrBuilder.java +++ b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigMetadataOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto package com.google.spanner.admin.instance.v1; -public interface UpdateInstanceConfigMetadataOrBuilder extends +public interface UpdateInstanceConfigMetadataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The desired instance config after updating.
    * 
* * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1; + * * @return Whether the instanceConfig field is set. */ boolean hasInstanceConfig(); /** + * + * *
    * The desired instance config after updating.
    * 
* * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1; + * * @return The instanceConfig. */ com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfig(); /** + * + * *
    * The desired instance config after updating.
    * 
@@ -35,6 +59,8 @@ public interface UpdateInstanceConfigMetadataOrBuilder extends com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceConfigOrBuilder(); /** + * + * *
    * The progress of the
    * [UpdateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig]
@@ -42,10 +68,13 @@ public interface UpdateInstanceConfigMetadataOrBuilder extends
    * 
* * .google.spanner.admin.instance.v1.OperationProgress progress = 2; + * * @return Whether the progress field is set. */ boolean hasProgress(); /** + * + * *
    * The progress of the
    * [UpdateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig]
@@ -53,10 +82,13 @@ public interface UpdateInstanceConfigMetadataOrBuilder extends
    * 
* * .google.spanner.admin.instance.v1.OperationProgress progress = 2; + * * @return The progress. */ com.google.spanner.admin.instance.v1.OperationProgress getProgress(); /** + * + * *
    * The progress of the
    * [UpdateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig]
@@ -68,24 +100,32 @@ public interface UpdateInstanceConfigMetadataOrBuilder extends
   com.google.spanner.admin.instance.v1.OperationProgressOrBuilder getProgressOrBuilder();
 
   /**
+   *
+   *
    * 
    * The time at which this operation was cancelled.
    * 
* * .google.protobuf.Timestamp cancel_time = 3; + * * @return Whether the cancelTime field is set. */ boolean hasCancelTime(); /** + * + * *
    * The time at which this operation was cancelled.
    * 
* * .google.protobuf.Timestamp cancel_time = 3; + * * @return The cancelTime. */ com.google.protobuf.Timestamp getCancelTime(); /** + * + * *
    * The time at which this operation was cancelled.
    * 
diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigRequest.java b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigRequest.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigRequest.java rename to proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigRequest.java index 8443c310b0a..9c93dda8798 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigRequest.java +++ b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto package com.google.spanner.admin.instance.v1; /** + * + * *
  * The request for
  * [UpdateInstanceConfigRequest][InstanceAdmin.UpdateInstanceConfigRequest].
@@ -11,46 +28,49 @@
  *
  * Protobuf type {@code google.spanner.admin.instance.v1.UpdateInstanceConfigRequest}
  */
-public final class UpdateInstanceConfigRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class UpdateInstanceConfigRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.instance.v1.UpdateInstanceConfigRequest)
     UpdateInstanceConfigRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use UpdateInstanceConfigRequest.newBuilder() to construct.
   private UpdateInstanceConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private UpdateInstanceConfigRequest() {
-  }
+
+  private UpdateInstanceConfigRequest() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new UpdateInstanceConfigRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+        .internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigRequest_fieldAccessorTable
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+        .internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest.class, com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest.Builder.class);
+            com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest.class,
+            com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest.Builder.class);
   }
 
   public static final int INSTANCE_CONFIG_FIELD_NUMBER = 1;
   private com.google.spanner.admin.instance.v1.InstanceConfig instanceConfig_;
   /**
+   *
+   *
    * 
    * Required. The user instance config to update, which must always include the
    * instance config name. Otherwise, only fields mentioned in
@@ -60,7 +80,10 @@ protected java.lang.Object newInstance(
    * be used.
    * 
* - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the instanceConfig field is set. */ @java.lang.Override @@ -68,6 +91,8 @@ public boolean hasInstanceConfig() { return instanceConfig_ != null; } /** + * + * *
    * Required. The user instance config to update, which must always include the
    * instance config name. Otherwise, only fields mentioned in
@@ -77,14 +102,21 @@ public boolean hasInstanceConfig() {
    * be used.
    * 
* - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instanceConfig. */ @java.lang.Override public com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfig() { - return instanceConfig_ == null ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() : instanceConfig_; + return instanceConfig_ == null + ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() + : instanceConfig_; } /** + * + * *
    * Required. The user instance config to update, which must always include the
    * instance config name. Otherwise, only fields mentioned in
@@ -94,16 +126,22 @@ public com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfig() {
    * be used.
    * 
* - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceConfigOrBuilder() { - return instanceConfig_ == null ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() : instanceConfig_; + return instanceConfig_ == null + ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() + : instanceConfig_; } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Required. A mask specifying which fields in
    * [InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig] should be
@@ -113,7 +151,9 @@ public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceC
    * display_name and labels can be updated.
    * 
* - * .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 @@ -121,6 +161,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Required. A mask specifying which fields in
    * [InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig] should be
@@ -130,7 +172,9 @@ public boolean hasUpdateMask() {
    * display_name and labels can be updated.
    * 
* - * .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 @@ -138,6 +182,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Required. A mask specifying which fields in
    * [InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig] should be
@@ -147,7 +193,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    * display_name and labels can be updated.
    * 
* - * .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() { @@ -157,12 +204,15 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 3; private boolean validateOnly_ = false; /** + * + * *
    * An option to validate, but not actually execute, a request,
    * and provide the same response.
    * 
* * bool validate_only = 3; + * * @return The validateOnly. */ @java.lang.Override @@ -171,6 +221,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -182,8 +233,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 (instanceConfig_ != null) { output.writeMessage(1, getInstanceConfig()); } @@ -203,16 +253,13 @@ public int getSerializedSize() { size = 0; if (instanceConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getInstanceConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getInstanceConfig()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -222,25 +269,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.spanner.admin.instance.v1.UpdateInstanceConfigRequest)) { return super.equals(obj); } - com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest other = (com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest) obj; + com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest other = + (com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest) obj; if (hasInstanceConfig() != other.hasInstanceConfig()) return false; if (hasInstanceConfig()) { - if (!getInstanceConfig() - .equals(other.getInstanceConfig())) return false; + if (!getInstanceConfig().equals(other.getInstanceConfig())) 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 (getValidateOnly() - != other.getValidateOnly()) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -261,104 +306,111 @@ public int hashCode() { hash = (53 * hash) + getUpdateMask().hashCode(); } hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest prototype) { + + public static Builder newBuilder( + com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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
    * [UpdateInstanceConfigRequest][InstanceAdmin.UpdateInstanceConfigRequest].
@@ -366,33 +418,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.spanner.admin.instance.v1.UpdateInstanceConfigRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.instance.v1.UpdateInstanceConfigRequest)
       com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+          .internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigRequest_fieldAccessorTable
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+          .internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest.class, com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest.Builder.class);
+              com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest.class,
+              com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -412,13 +463,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+          .internal_static_google_spanner_admin_instance_v1_UpdateInstanceConfigRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest getDefaultInstanceForType() {
+    public com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest
+        getDefaultInstanceForType() {
       return com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest.getDefaultInstance();
     }
 
@@ -433,23 +485,24 @@ public com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest build()
 
     @java.lang.Override
     public com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest buildPartial() {
-      com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest result = new com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest result =
+          new com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest result) {
+    private void buildPartial0(
+        com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.instanceConfig_ = instanceConfigBuilder_ == null
-            ? instanceConfig_
-            : instanceConfigBuilder_.build();
+        result.instanceConfig_ =
+            instanceConfigBuilder_ == null ? instanceConfig_ : instanceConfigBuilder_.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.validateOnly_ = validateOnly_;
@@ -460,46 +513,50 @@ private void buildPartial0(com.google.spanner.admin.instance.v1.UpdateInstanceCo
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest) {
-        return mergeFrom((com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest)other);
+        return mergeFrom((com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest other) {
-      if (other == com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest other) {
+      if (other
+          == com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest.getDefaultInstance())
+        return this;
       if (other.hasInstanceConfig()) {
         mergeInstanceConfig(other.getInstanceConfig());
       }
@@ -535,31 +592,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getInstanceConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getUpdateMaskFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 24: {
-              validateOnly_ = 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(getInstanceConfigFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 24:
+              {
+                validateOnly_ = 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) {
@@ -569,12 +626,18 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.spanner.admin.instance.v1.InstanceConfig instanceConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.spanner.admin.instance.v1.InstanceConfig, com.google.spanner.admin.instance.v1.InstanceConfig.Builder, com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder> instanceConfigBuilder_;
+            com.google.spanner.admin.instance.v1.InstanceConfig,
+            com.google.spanner.admin.instance.v1.InstanceConfig.Builder,
+            com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder>
+        instanceConfigBuilder_;
     /**
+     *
+     *
      * 
      * Required. The user instance config to update, which must always include the
      * instance config name. Otherwise, only fields mentioned in
@@ -584,13 +647,18 @@ public Builder mergeFrom(
      * be used.
      * 
* - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the instanceConfig field is set. */ public boolean hasInstanceConfig() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. The user instance config to update, which must always include the
      * instance config name. Otherwise, only fields mentioned in
@@ -600,17 +668,24 @@ public boolean hasInstanceConfig() {
      * be used.
      * 
* - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instanceConfig. */ public com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfig() { if (instanceConfigBuilder_ == null) { - return instanceConfig_ == null ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() : instanceConfig_; + return instanceConfig_ == null + ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() + : instanceConfig_; } else { return instanceConfigBuilder_.getMessage(); } } /** + * + * *
      * Required. The user instance config to update, which must always include the
      * instance config name. Otherwise, only fields mentioned in
@@ -620,7 +695,9 @@ public com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfig() {
      * be used.
      * 
* - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setInstanceConfig(com.google.spanner.admin.instance.v1.InstanceConfig value) { if (instanceConfigBuilder_ == null) { @@ -636,6 +713,8 @@ public Builder setInstanceConfig(com.google.spanner.admin.instance.v1.InstanceCo return this; } /** + * + * *
      * Required. The user instance config to update, which must always include the
      * instance config name. Otherwise, only fields mentioned in
@@ -645,7 +724,9 @@ public Builder setInstanceConfig(com.google.spanner.admin.instance.v1.InstanceCo
      * be used.
      * 
* - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setInstanceConfig( com.google.spanner.admin.instance.v1.InstanceConfig.Builder builderForValue) { @@ -659,6 +740,8 @@ public Builder setInstanceConfig( return this; } /** + * + * *
      * Required. The user instance config to update, which must always include the
      * instance config name. Otherwise, only fields mentioned in
@@ -668,13 +751,16 @@ public Builder setInstanceConfig(
      * be used.
      * 
* - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeInstanceConfig(com.google.spanner.admin.instance.v1.InstanceConfig value) { if (instanceConfigBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - instanceConfig_ != null && - instanceConfig_ != com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && instanceConfig_ != null + && instanceConfig_ + != com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance()) { getInstanceConfigBuilder().mergeFrom(value); } else { instanceConfig_ = value; @@ -687,6 +773,8 @@ public Builder mergeInstanceConfig(com.google.spanner.admin.instance.v1.Instance return this; } /** + * + * *
      * Required. The user instance config to update, which must always include the
      * instance config name. Otherwise, only fields mentioned in
@@ -696,7 +784,9 @@ public Builder mergeInstanceConfig(com.google.spanner.admin.instance.v1.Instance
      * be used.
      * 
* - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearInstanceConfig() { bitField0_ = (bitField0_ & ~0x00000001); @@ -709,6 +799,8 @@ public Builder clearInstanceConfig() { return this; } /** + * + * *
      * Required. The user instance config to update, which must always include the
      * instance config name. Otherwise, only fields mentioned in
@@ -718,7 +810,9 @@ public Builder clearInstanceConfig() {
      * be used.
      * 
* - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.spanner.admin.instance.v1.InstanceConfig.Builder getInstanceConfigBuilder() { bitField0_ |= 0x00000001; @@ -726,6 +820,8 @@ public com.google.spanner.admin.instance.v1.InstanceConfig.Builder getInstanceCo return getInstanceConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The user instance config to update, which must always include the
      * instance config name. Otherwise, only fields mentioned in
@@ -735,17 +831,23 @@ public com.google.spanner.admin.instance.v1.InstanceConfig.Builder getInstanceCo
      * be used.
      * 
* - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceConfigOrBuilder() { + public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder + getInstanceConfigOrBuilder() { if (instanceConfigBuilder_ != null) { return instanceConfigBuilder_.getMessageOrBuilder(); } else { - return instanceConfig_ == null ? - com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() : instanceConfig_; + return instanceConfig_ == null + ? com.google.spanner.admin.instance.v1.InstanceConfig.getDefaultInstance() + : instanceConfig_; } } /** + * + * *
      * Required. The user instance config to update, which must always include the
      * instance config name. Otherwise, only fields mentioned in
@@ -755,17 +857,22 @@ public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceC
      * be used.
      * 
* - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.InstanceConfig, com.google.spanner.admin.instance.v1.InstanceConfig.Builder, com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder> + com.google.spanner.admin.instance.v1.InstanceConfig, + com.google.spanner.admin.instance.v1.InstanceConfig.Builder, + com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder> getInstanceConfigFieldBuilder() { if (instanceConfigBuilder_ == null) { - instanceConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.InstanceConfig, com.google.spanner.admin.instance.v1.InstanceConfig.Builder, com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder>( - getInstanceConfig(), - getParentForChildren(), - isClean()); + instanceConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.admin.instance.v1.InstanceConfig, + com.google.spanner.admin.instance.v1.InstanceConfig.Builder, + com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder>( + getInstanceConfig(), getParentForChildren(), isClean()); instanceConfig_ = null; } return instanceConfigBuilder_; @@ -773,8 +880,13 @@ public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceC 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 in
      * [InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig] should be
@@ -784,13 +896,17 @@ public com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceC
      * display_name and labels can be updated.
      * 
* - * .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 in
      * [InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig] should be
@@ -800,17 +916,23 @@ public boolean hasUpdateMask() {
      * display_name and labels can be updated.
      * 
* - * .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 in
      * [InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig] should be
@@ -820,7 +942,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      * display_name and labels can be updated.
      * 
* - * .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) { @@ -836,6 +959,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. A mask specifying which fields in
      * [InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig] should be
@@ -845,10 +970,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * display_name and labels can be updated.
      * 
* - * .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 { @@ -859,6 +984,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Required. A mask specifying which fields in
      * [InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig] should be
@@ -868,13 +995,14 @@ public Builder setUpdateMask(
      * display_name and labels can be updated.
      * 
* - * .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; @@ -887,6 +1015,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. A mask specifying which fields in
      * [InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig] should be
@@ -896,7 +1026,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      * display_name and labels can be updated.
      * 
* - * .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); @@ -909,6 +1040,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Required. A mask specifying which fields in
      * [InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig] should be
@@ -918,7 +1051,8 @@ public Builder clearUpdateMask() {
      * display_name and labels can be updated.
      * 
* - * .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; @@ -926,6 +1060,8 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. A mask specifying which fields in
      * [InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig] should be
@@ -935,17 +1071,21 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      * display_name and labels can be updated.
      * 
* - * .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 in
      * [InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig] should be
@@ -955,30 +1095,37 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * display_name and labels can be updated.
      * 
* - * .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 validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * An option to validate, but not actually execute, a request,
      * and provide the same response.
      * 
* * bool validate_only = 3; + * * @return The validateOnly. */ @java.lang.Override @@ -986,29 +1133,35 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * An option to validate, but not actually execute, a request,
      * and provide the same response.
      * 
* * bool validate_only = 3; + * * @param value The validateOnly to set. * @return This builder for chaining. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * An option to validate, but not actually execute, a request,
      * and provide the same response.
      * 
* * bool validate_only = 3; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1017,9 +1170,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1029,41 +1182,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.UpdateInstanceConfigRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.UpdateInstanceConfigRequest) - private static final com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest DEFAULT_INSTANCE; + private static final com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest(); } - public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest getDefaultInstance() { + public static com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateInstanceConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateInstanceConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1075,9 +1230,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest getDefaultInstanceForType() { + public com.google.spanner.admin.instance.v1.UpdateInstanceConfigRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigRequestOrBuilder.java b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigRequestOrBuilder.java similarity index 75% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigRequestOrBuilder.java rename to proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigRequestOrBuilder.java index 053873ee0b1..36afa00cc7c 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigRequestOrBuilder.java +++ b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceConfigRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto package com.google.spanner.admin.instance.v1; -public interface UpdateInstanceConfigRequestOrBuilder extends +public interface UpdateInstanceConfigRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.UpdateInstanceConfigRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The user instance config to update, which must always include the
    * instance config name. Otherwise, only fields mentioned in
@@ -17,11 +35,16 @@ public interface UpdateInstanceConfigRequestOrBuilder extends
    * be used.
    * 
* - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the instanceConfig field is set. */ boolean hasInstanceConfig(); /** + * + * *
    * Required. The user instance config to update, which must always include the
    * instance config name. Otherwise, only fields mentioned in
@@ -31,11 +54,16 @@ public interface UpdateInstanceConfigRequestOrBuilder extends
    * be used.
    * 
* - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instanceConfig. */ com.google.spanner.admin.instance.v1.InstanceConfig getInstanceConfig(); /** + * + * *
    * Required. The user instance config to update, which must always include the
    * instance config name. Otherwise, only fields mentioned in
@@ -45,11 +73,15 @@ public interface UpdateInstanceConfigRequestOrBuilder extends
    * be used.
    * 
* - * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.spanner.admin.instance.v1.InstanceConfigOrBuilder getInstanceConfigOrBuilder(); /** + * + * *
    * Required. A mask specifying which fields in
    * [InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig] should be
@@ -59,11 +91,15 @@ public interface UpdateInstanceConfigRequestOrBuilder extends
    * display_name and labels can be updated.
    * 
* - * .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 in
    * [InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig] should be
@@ -73,11 +109,15 @@ public interface UpdateInstanceConfigRequestOrBuilder extends
    * display_name and labels can be updated.
    * 
* - * .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 in
    * [InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig] should be
@@ -87,17 +127,21 @@ public interface UpdateInstanceConfigRequestOrBuilder extends
    * display_name and labels can be updated.
    * 
* - * .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(); /** + * + * *
    * An option to validate, but not actually execute, a request,
    * and provide the same response.
    * 
* * bool validate_only = 3; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceMetadata.java b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceMetadata.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceMetadata.java rename to proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceMetadata.java index 984ed644862..a421f384777 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceMetadata.java +++ b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceMetadata.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto package com.google.spanner.admin.instance.v1; /** + * + * *
  * Metadata type for the operation returned by
  * [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance].
@@ -11,51 +28,55 @@
  *
  * Protobuf type {@code google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.UpdateInstanceMetadata)
     UpdateInstanceMetadataOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use UpdateInstanceMetadata.newBuilder() to construct.
   private UpdateInstanceMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private UpdateInstanceMetadata() {
-  }
+
+  private UpdateInstanceMetadata() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new UpdateInstanceMetadata();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_UpdateInstanceMetadata_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+        .internal_static_google_spanner_admin_instance_v1_UpdateInstanceMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_UpdateInstanceMetadata_fieldAccessorTable
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+        .internal_static_google_spanner_admin_instance_v1_UpdateInstanceMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.instance.v1.UpdateInstanceMetadata.class, com.google.spanner.admin.instance.v1.UpdateInstanceMetadata.Builder.class);
+            com.google.spanner.admin.instance.v1.UpdateInstanceMetadata.class,
+            com.google.spanner.admin.instance.v1.UpdateInstanceMetadata.Builder.class);
   }
 
   public static final int INSTANCE_FIELD_NUMBER = 1;
   private com.google.spanner.admin.instance.v1.Instance instance_;
   /**
+   *
+   *
    * 
    * The desired end state of the update.
    * 
* * .google.spanner.admin.instance.v1.Instance instance = 1; + * * @return Whether the instance field is set. */ @java.lang.Override @@ -63,18 +84,25 @@ public boolean hasInstance() { return instance_ != null; } /** + * + * *
    * The desired end state of the update.
    * 
* * .google.spanner.admin.instance.v1.Instance instance = 1; + * * @return The instance. */ @java.lang.Override public com.google.spanner.admin.instance.v1.Instance getInstance() { - return instance_ == null ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() : instance_; + return instance_ == null + ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() + : instance_; } /** + * + * *
    * The desired end state of the update.
    * 
@@ -83,12 +111,16 @@ public com.google.spanner.admin.instance.v1.Instance getInstance() { */ @java.lang.Override public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuilder() { - return instance_ == null ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() : instance_; + return instance_ == null + ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() + : instance_; } public static final int START_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp startTime_; /** + * + * *
    * The time at which
    * [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
@@ -96,6 +128,7 @@ public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuild
    * 
* * .google.protobuf.Timestamp start_time = 2; + * * @return Whether the startTime field is set. */ @java.lang.Override @@ -103,6 +136,8 @@ public boolean hasStartTime() { return startTime_ != null; } /** + * + * *
    * The time at which
    * [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
@@ -110,6 +145,7 @@ public boolean hasStartTime() {
    * 
* * .google.protobuf.Timestamp start_time = 2; + * * @return The startTime. */ @java.lang.Override @@ -117,6 +153,8 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
    * The time at which
    * [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
@@ -133,6 +171,8 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
   public static final int CANCEL_TIME_FIELD_NUMBER = 3;
   private com.google.protobuf.Timestamp cancelTime_;
   /**
+   *
+   *
    * 
    * The time at which this operation was cancelled. If set, this operation is
    * in the process of undoing itself (which is guaranteed to succeed) and
@@ -140,6 +180,7 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
    * 
* * .google.protobuf.Timestamp cancel_time = 3; + * * @return Whether the cancelTime field is set. */ @java.lang.Override @@ -147,6 +188,8 @@ public boolean hasCancelTime() { return cancelTime_ != null; } /** + * + * *
    * The time at which this operation was cancelled. If set, this operation is
    * in the process of undoing itself (which is guaranteed to succeed) and
@@ -154,6 +197,7 @@ public boolean hasCancelTime() {
    * 
* * .google.protobuf.Timestamp cancel_time = 3; + * * @return The cancelTime. */ @java.lang.Override @@ -161,6 +205,8 @@ public com.google.protobuf.Timestamp getCancelTime() { return cancelTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : cancelTime_; } /** + * + * *
    * The time at which this operation was cancelled. If set, this operation is
    * in the process of undoing itself (which is guaranteed to succeed) and
@@ -177,11 +223,14 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
   public static final int END_TIME_FIELD_NUMBER = 4;
   private com.google.protobuf.Timestamp endTime_;
   /**
+   *
+   *
    * 
    * The time at which this operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp end_time = 4; + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -189,11 +238,14 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
    * The time at which this operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp end_time = 4; + * * @return The endTime. */ @java.lang.Override @@ -201,6 +253,8 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * The time at which this operation failed or was completed successfully.
    * 
@@ -213,6 +267,7 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -224,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 (instance_ != null) { output.writeMessage(1, getInstance()); } @@ -248,20 +302,16 @@ 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 (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getStartTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStartTime()); } if (cancelTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getCancelTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCancelTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getEndTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getEndTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -271,32 +321,29 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.admin.instance.v1.UpdateInstanceMetadata)) { return super.equals(obj); } - com.google.spanner.admin.instance.v1.UpdateInstanceMetadata other = (com.google.spanner.admin.instance.v1.UpdateInstanceMetadata) obj; + com.google.spanner.admin.instance.v1.UpdateInstanceMetadata other = + (com.google.spanner.admin.instance.v1.UpdateInstanceMetadata) obj; if (hasInstance() != other.hasInstance()) return false; if (hasInstance()) { - if (!getInstance() - .equals(other.getInstance())) return false; + if (!getInstance().equals(other.getInstance())) 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 (hasCancelTime() != other.hasCancelTime()) return false; if (hasCancelTime()) { - if (!getCancelTime() - .equals(other.getCancelTime())) return false; + if (!getCancelTime().equals(other.getCancelTime())) 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; @@ -331,96 +378,104 @@ public int hashCode() { } public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.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.spanner.admin.instance.v1.UpdateInstanceMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.UpdateInstanceMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.UpdateInstanceMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.spanner.admin.instance.v1.UpdateInstanceMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.UpdateInstanceMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.spanner.admin.instance.v1.UpdateInstanceMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.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.spanner.admin.instance.v1.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.spanner.admin.instance.v1.UpdateInstanceMetadata prototype) { + + public static Builder newBuilder( + com.google.spanner.admin.instance.v1.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; } /** + * + * *
    * Metadata type for the operation returned by
    * [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance].
@@ -428,33 +483,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.spanner.admin.instance.v1.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.spanner.admin.instance.v1.UpdateInstanceMetadata)
       com.google.spanner.admin.instance.v1.UpdateInstanceMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_UpdateInstanceMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+          .internal_static_google_spanner_admin_instance_v1_UpdateInstanceMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_UpdateInstanceMetadata_fieldAccessorTable
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+          .internal_static_google_spanner_admin_instance_v1_UpdateInstanceMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.instance.v1.UpdateInstanceMetadata.class, com.google.spanner.admin.instance.v1.UpdateInstanceMetadata.Builder.class);
+              com.google.spanner.admin.instance.v1.UpdateInstanceMetadata.class,
+              com.google.spanner.admin.instance.v1.UpdateInstanceMetadata.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.instance.v1.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();
@@ -483,9 +537,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_UpdateInstanceMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+          .internal_static_google_spanner_admin_instance_v1_UpdateInstanceMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -504,8 +558,11 @@ public com.google.spanner.admin.instance.v1.UpdateInstanceMetadata build() {
 
     @java.lang.Override
     public com.google.spanner.admin.instance.v1.UpdateInstanceMetadata buildPartial() {
-      com.google.spanner.admin.instance.v1.UpdateInstanceMetadata result = new com.google.spanner.admin.instance.v1.UpdateInstanceMetadata(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.spanner.admin.instance.v1.UpdateInstanceMetadata result =
+          new com.google.spanner.admin.instance.v1.UpdateInstanceMetadata(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -513,24 +570,16 @@ public com.google.spanner.admin.instance.v1.UpdateInstanceMetadata buildPartial(
     private void buildPartial0(com.google.spanner.admin.instance.v1.UpdateInstanceMetadata 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.startTime_ = startTimeBuilder_ == null
-            ? startTime_
-            : startTimeBuilder_.build();
+        result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.cancelTime_ = cancelTimeBuilder_ == null
-            ? cancelTime_
-            : cancelTimeBuilder_.build();
+        result.cancelTime_ = cancelTimeBuilder_ == null ? cancelTime_ : cancelTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.endTime_ = endTimeBuilder_ == null
-            ? endTime_
-            : endTimeBuilder_.build();
+        result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build();
       }
     }
 
@@ -538,38 +587,39 @@ private void buildPartial0(com.google.spanner.admin.instance.v1.UpdateInstanceMe
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.instance.v1.UpdateInstanceMetadata) {
-        return mergeFrom((com.google.spanner.admin.instance.v1.UpdateInstanceMetadata)other);
+        return mergeFrom((com.google.spanner.admin.instance.v1.UpdateInstanceMetadata) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -577,7 +627,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.spanner.admin.instance.v1.UpdateInstanceMetadata other) {
-      if (other == com.google.spanner.admin.instance.v1.UpdateInstanceMetadata.getDefaultInstance()) return this;
+      if (other == com.google.spanner.admin.instance.v1.UpdateInstanceMetadata.getDefaultInstance())
+        return this;
       if (other.hasInstance()) {
         mergeInstance(other.getInstance());
       }
@@ -616,40 +667,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getInstanceFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getStartTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getCancelTimeFieldBuilder().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:
+              {
+                input.readMessage(getInstanceFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getCancelTimeFieldBuilder().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) {
@@ -659,38 +707,52 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.spanner.admin.instance.v1.Instance instance_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.spanner.admin.instance.v1.Instance, com.google.spanner.admin.instance.v1.Instance.Builder, com.google.spanner.admin.instance.v1.InstanceOrBuilder> instanceBuilder_;
+            com.google.spanner.admin.instance.v1.Instance,
+            com.google.spanner.admin.instance.v1.Instance.Builder,
+            com.google.spanner.admin.instance.v1.InstanceOrBuilder>
+        instanceBuilder_;
     /**
+     *
+     *
      * 
      * The desired end state of the update.
      * 
* * .google.spanner.admin.instance.v1.Instance instance = 1; + * * @return Whether the instance field is set. */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The desired end state of the update.
      * 
* * .google.spanner.admin.instance.v1.Instance instance = 1; + * * @return The instance. */ public com.google.spanner.admin.instance.v1.Instance getInstance() { if (instanceBuilder_ == null) { - return instance_ == null ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() : instance_; + return instance_ == null + ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() + : instance_; } else { return instanceBuilder_.getMessage(); } } /** + * + * *
      * The desired end state of the update.
      * 
@@ -711,6 +773,8 @@ public Builder setInstance(com.google.spanner.admin.instance.v1.Instance value) return this; } /** + * + * *
      * The desired end state of the update.
      * 
@@ -729,6 +793,8 @@ public Builder setInstance( return this; } /** + * + * *
      * The desired end state of the update.
      * 
@@ -737,9 +803,9 @@ public Builder setInstance( */ public Builder mergeInstance(com.google.spanner.admin.instance.v1.Instance value) { if (instanceBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - instance_ != null && - instance_ != com.google.spanner.admin.instance.v1.Instance.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && instance_ != null + && instance_ != com.google.spanner.admin.instance.v1.Instance.getDefaultInstance()) { getInstanceBuilder().mergeFrom(value); } else { instance_ = value; @@ -752,6 +818,8 @@ public Builder mergeInstance(com.google.spanner.admin.instance.v1.Instance value return this; } /** + * + * *
      * The desired end state of the update.
      * 
@@ -769,6 +837,8 @@ public Builder clearInstance() { return this; } /** + * + * *
      * The desired end state of the update.
      * 
@@ -781,6 +851,8 @@ public com.google.spanner.admin.instance.v1.Instance.Builder getInstanceBuilder( return getInstanceFieldBuilder().getBuilder(); } /** + * + * *
      * The desired end state of the update.
      * 
@@ -791,11 +863,14 @@ public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuild if (instanceBuilder_ != null) { return instanceBuilder_.getMessageOrBuilder(); } else { - return instance_ == null ? - com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() : instance_; + return instance_ == null + ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() + : instance_; } } /** + * + * *
      * The desired end state of the update.
      * 
@@ -803,14 +878,17 @@ public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuild * .google.spanner.admin.instance.v1.Instance instance = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.Instance, com.google.spanner.admin.instance.v1.Instance.Builder, com.google.spanner.admin.instance.v1.InstanceOrBuilder> + com.google.spanner.admin.instance.v1.Instance, + com.google.spanner.admin.instance.v1.Instance.Builder, + com.google.spanner.admin.instance.v1.InstanceOrBuilder> getInstanceFieldBuilder() { if (instanceBuilder_ == null) { - instanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.Instance, com.google.spanner.admin.instance.v1.Instance.Builder, com.google.spanner.admin.instance.v1.InstanceOrBuilder>( - getInstance(), - getParentForChildren(), - isClean()); + instanceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.admin.instance.v1.Instance, + com.google.spanner.admin.instance.v1.Instance.Builder, + com.google.spanner.admin.instance.v1.InstanceOrBuilder>( + getInstance(), getParentForChildren(), isClean()); instance_ = null; } return instanceBuilder_; @@ -818,8 +896,13 @@ public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuild 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
      * [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
@@ -827,12 +910,15 @@ public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuild
      * 
* * .google.protobuf.Timestamp start_time = 2; + * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The time at which
      * [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
@@ -840,6 +926,7 @@ public boolean hasStartTime() {
      * 
* * .google.protobuf.Timestamp start_time = 2; + * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -850,6 +937,8 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
      * The time at which
      * [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
@@ -872,6 +961,8 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which
      * [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
@@ -880,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 {
@@ -892,6 +982,8 @@ public Builder setStartTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which
      * [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
@@ -902,9 +994,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;
@@ -917,6 +1009,8 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which
      * [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
@@ -936,6 +1030,8 @@ public Builder clearStartTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which
      * [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
@@ -950,6 +1046,8 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() {
       return getStartTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time at which
      * [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
@@ -962,11 +1060,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
      * [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
@@ -976,14 +1075,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_;
@@ -991,8 +1093,13 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp cancelTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> cancelTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        cancelTimeBuilder_;
     /**
+     *
+     *
      * 
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is guaranteed to succeed) and
@@ -1000,12 +1107,15 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
      * 
* * .google.protobuf.Timestamp cancel_time = 3; + * * @return Whether the cancelTime field is set. */ public boolean hasCancelTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is guaranteed to succeed) and
@@ -1013,16 +1123,21 @@ public boolean hasCancelTime() {
      * 
* * .google.protobuf.Timestamp cancel_time = 3; + * * @return The cancelTime. */ public com.google.protobuf.Timestamp getCancelTime() { if (cancelTimeBuilder_ == null) { - return cancelTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : cancelTime_; + return cancelTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : cancelTime_; } else { return cancelTimeBuilder_.getMessage(); } } /** + * + * *
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is guaranteed to succeed) and
@@ -1045,6 +1160,8 @@ public Builder setCancelTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is guaranteed to succeed) and
@@ -1053,8 +1170,7 @@ public Builder setCancelTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp cancel_time = 3;
      */
-    public Builder setCancelTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setCancelTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (cancelTimeBuilder_ == null) {
         cancelTime_ = builderForValue.build();
       } else {
@@ -1065,6 +1181,8 @@ public Builder setCancelTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is guaranteed to succeed) and
@@ -1075,9 +1193,9 @@ public Builder setCancelTime(
      */
     public Builder mergeCancelTime(com.google.protobuf.Timestamp value) {
       if (cancelTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0) &&
-          cancelTime_ != null &&
-          cancelTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0)
+            && cancelTime_ != null
+            && cancelTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getCancelTimeBuilder().mergeFrom(value);
         } else {
           cancelTime_ = value;
@@ -1090,6 +1208,8 @@ public Builder mergeCancelTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is guaranteed to succeed) and
@@ -1109,6 +1229,8 @@ public Builder clearCancelTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is guaranteed to succeed) and
@@ -1123,6 +1245,8 @@ public com.google.protobuf.Timestamp.Builder getCancelTimeBuilder() {
       return getCancelTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is guaranteed to succeed) and
@@ -1135,11 +1259,14 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
       if (cancelTimeBuilder_ != null) {
         return cancelTimeBuilder_.getMessageOrBuilder();
       } else {
-        return cancelTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : cancelTime_;
+        return cancelTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : cancelTime_;
       }
     }
     /**
+     *
+     *
      * 
      * The time at which this operation was cancelled. If set, this operation is
      * in the process of undoing itself (which is guaranteed to succeed) and
@@ -1149,14 +1276,17 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
      * .google.protobuf.Timestamp cancel_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>
         getCancelTimeFieldBuilder() {
       if (cancelTimeBuilder_ == null) {
-        cancelTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getCancelTime(),
-                getParentForChildren(),
-                isClean());
+        cancelTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getCancelTime(), getParentForChildren(), isClean());
         cancelTime_ = null;
       }
       return cancelTimeBuilder_;
@@ -1164,24 +1294,33 @@ public com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder() {
 
     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 time at which this operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp end_time = 4; + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * The time at which this operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp end_time = 4; + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1192,6 +1331,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * The time at which this operation failed or was completed successfully.
      * 
@@ -1212,14 +1353,15 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time at which this operation failed or was completed successfully.
      * 
* * .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 { @@ -1230,6 +1372,8 @@ public Builder setEndTime( return this; } /** + * + * *
      * The time at which this operation failed or was completed successfully.
      * 
@@ -1238,9 +1382,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; @@ -1253,6 +1397,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time at which this operation failed or was completed successfully.
      * 
@@ -1270,6 +1416,8 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * The time at which this operation failed or was completed successfully.
      * 
@@ -1282,6 +1430,8 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time at which this operation failed or was completed successfully.
      * 
@@ -1292,11 +1442,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 time at which this operation failed or was completed successfully.
      * 
@@ -1304,21 +1455,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); } @@ -1328,12 +1482,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.UpdateInstanceMetadata) } // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.UpdateInstanceMetadata) private static final com.google.spanner.admin.instance.v1.UpdateInstanceMetadata DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.UpdateInstanceMetadata(); } @@ -1342,27 +1496,27 @@ public static com.google.spanner.admin.instance.v1.UpdateInstanceMetadata getDef 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; @@ -1377,6 +1531,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.instance.v1.UpdateInstanceMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceMetadataOrBuilder.java b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceMetadataOrBuilder.java similarity index 82% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceMetadataOrBuilder.java rename to proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceMetadataOrBuilder.java index aa1ff424f3a..cb4f3c002dd 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceMetadataOrBuilder.java +++ b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceMetadataOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto package com.google.spanner.admin.instance.v1; -public interface UpdateInstanceMetadataOrBuilder extends +public interface UpdateInstanceMetadataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.UpdateInstanceMetadata) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The desired end state of the update.
    * 
* * .google.spanner.admin.instance.v1.Instance instance = 1; + * * @return Whether the instance field is set. */ boolean hasInstance(); /** + * + * *
    * The desired end state of the update.
    * 
* * .google.spanner.admin.instance.v1.Instance instance = 1; + * * @return The instance. */ com.google.spanner.admin.instance.v1.Instance getInstance(); /** + * + * *
    * The desired end state of the update.
    * 
@@ -35,6 +59,8 @@ public interface UpdateInstanceMetadataOrBuilder extends com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuilder(); /** + * + * *
    * The time at which
    * [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
@@ -42,10 +68,13 @@ public interface UpdateInstanceMetadataOrBuilder extends
    * 
* * .google.protobuf.Timestamp start_time = 2; + * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** + * + * *
    * The time at which
    * [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
@@ -53,10 +82,13 @@ public interface UpdateInstanceMetadataOrBuilder extends
    * 
* * .google.protobuf.Timestamp start_time = 2; + * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** + * + * *
    * The time at which
    * [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance]
@@ -68,6 +100,8 @@ public interface UpdateInstanceMetadataOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * The time at which this operation was cancelled. If set, this operation is
    * in the process of undoing itself (which is guaranteed to succeed) and
@@ -75,10 +109,13 @@ public interface UpdateInstanceMetadataOrBuilder extends
    * 
* * .google.protobuf.Timestamp cancel_time = 3; + * * @return Whether the cancelTime field is set. */ boolean hasCancelTime(); /** + * + * *
    * The time at which this operation was cancelled. If set, this operation is
    * in the process of undoing itself (which is guaranteed to succeed) and
@@ -86,10 +123,13 @@ public interface UpdateInstanceMetadataOrBuilder extends
    * 
* * .google.protobuf.Timestamp cancel_time = 3; + * * @return The cancelTime. */ com.google.protobuf.Timestamp getCancelTime(); /** + * + * *
    * The time at which this operation was cancelled. If set, this operation is
    * in the process of undoing itself (which is guaranteed to succeed) and
@@ -101,24 +141,32 @@ public interface UpdateInstanceMetadataOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getCancelTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * The time at which this operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp end_time = 4; + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
    * The time at which this operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp end_time = 4; + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
    * The time at which this operation failed or was completed successfully.
    * 
diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceRequest.java b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceRequest.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceRequest.java rename to proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceRequest.java index db7c6a75c51..b8eaa2160d8 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceRequest.java +++ b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto package com.google.spanner.admin.instance.v1; /** + * + * *
  * The request for
  * [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance].
@@ -11,46 +28,49 @@
  *
  * Protobuf type {@code google.spanner.admin.instance.v1.UpdateInstanceRequest}
  */
-public final class UpdateInstanceRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class UpdateInstanceRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.spanner.admin.instance.v1.UpdateInstanceRequest)
     UpdateInstanceRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use UpdateInstanceRequest.newBuilder() to construct.
   private UpdateInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private UpdateInstanceRequest() {
-  }
+
+  private UpdateInstanceRequest() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new UpdateInstanceRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_UpdateInstanceRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+        .internal_static_google_spanner_admin_instance_v1_UpdateInstanceRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_UpdateInstanceRequest_fieldAccessorTable
+    return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+        .internal_static_google_spanner_admin_instance_v1_UpdateInstanceRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.admin.instance.v1.UpdateInstanceRequest.class, com.google.spanner.admin.instance.v1.UpdateInstanceRequest.Builder.class);
+            com.google.spanner.admin.instance.v1.UpdateInstanceRequest.class,
+            com.google.spanner.admin.instance.v1.UpdateInstanceRequest.Builder.class);
   }
 
   public static final int INSTANCE_FIELD_NUMBER = 1;
   private com.google.spanner.admin.instance.v1.Instance instance_;
   /**
+   *
+   *
    * 
    * Required. The instance to update, which must always include the instance
    * name.  Otherwise, only fields mentioned in
@@ -58,7 +78,10 @@ protected java.lang.Object newInstance(
    * need be included.
    * 
* - * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the instance field is set. */ @java.lang.Override @@ -66,6 +89,8 @@ public boolean hasInstance() { return instance_ != null; } /** + * + * *
    * Required. The instance to update, which must always include the instance
    * name.  Otherwise, only fields mentioned in
@@ -73,14 +98,21 @@ public boolean hasInstance() {
    * need be included.
    * 
* - * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instance. */ @java.lang.Override public com.google.spanner.admin.instance.v1.Instance getInstance() { - return instance_ == null ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() : instance_; + return instance_ == null + ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() + : instance_; } /** + * + * *
    * Required. The instance to update, which must always include the instance
    * name.  Otherwise, only fields mentioned in
@@ -88,16 +120,22 @@ public com.google.spanner.admin.instance.v1.Instance getInstance() {
    * need be included.
    * 
* - * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuilder() { - return instance_ == null ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() : instance_; + return instance_ == null + ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() + : instance_; } public static final int FIELD_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask fieldMask_; /** + * + * *
    * Required. A mask specifying which fields in
    * [Instance][google.spanner.admin.instance.v1.Instance] should be updated.
@@ -106,7 +144,9 @@ public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuild
    * accidentally by clients that do not know about them.
    * 
* - * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the fieldMask field is set. */ @java.lang.Override @@ -114,6 +154,8 @@ public boolean hasFieldMask() { return fieldMask_ != null; } /** + * + * *
    * Required. A mask specifying which fields in
    * [Instance][google.spanner.admin.instance.v1.Instance] should be updated.
@@ -122,7 +164,9 @@ public boolean hasFieldMask() {
    * accidentally by clients that do not know about them.
    * 
* - * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The fieldMask. */ @java.lang.Override @@ -130,6 +174,8 @@ public com.google.protobuf.FieldMask getFieldMask() { return fieldMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : fieldMask_; } /** + * + * *
    * Required. A mask specifying which fields in
    * [Instance][google.spanner.admin.instance.v1.Instance] should be updated.
@@ -138,7 +184,8 @@ public com.google.protobuf.FieldMask getFieldMask() {
    * accidentally by clients that do not know about them.
    * 
* - * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getFieldMaskOrBuilder() { @@ -146,6 +193,7 @@ public com.google.protobuf.FieldMaskOrBuilder getFieldMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -157,8 +205,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()); } @@ -175,12 +222,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 (fieldMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getFieldMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getFieldMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -190,22 +235,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.spanner.admin.instance.v1.UpdateInstanceRequest)) { return super.equals(obj); } - com.google.spanner.admin.instance.v1.UpdateInstanceRequest other = (com.google.spanner.admin.instance.v1.UpdateInstanceRequest) obj; + com.google.spanner.admin.instance.v1.UpdateInstanceRequest other = + (com.google.spanner.admin.instance.v1.UpdateInstanceRequest) obj; if (hasInstance() != other.hasInstance()) return false; if (hasInstance()) { - if (!getInstance() - .equals(other.getInstance())) return false; + if (!getInstance().equals(other.getInstance())) return false; } if (hasFieldMask() != other.hasFieldMask()) return false; if (hasFieldMask()) { - if (!getFieldMask() - .equals(other.getFieldMask())) return false; + if (!getFieldMask().equals(other.getFieldMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -232,96 +276,104 @@ public int hashCode() { } public static com.google.spanner.admin.instance.v1.UpdateInstanceRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.instance.v1.UpdateInstanceRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.admin.instance.v1.UpdateInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.instance.v1.UpdateInstanceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.admin.instance.v1.UpdateInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.admin.instance.v1.UpdateInstanceRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.UpdateInstanceRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.spanner.admin.instance.v1.UpdateInstanceRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.instance.v1.UpdateInstanceRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.spanner.admin.instance.v1.UpdateInstanceRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.spanner.admin.instance.v1.UpdateInstanceRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.spanner.admin.instance.v1.UpdateInstanceRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.spanner.admin.instance.v1.UpdateInstanceRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.admin.instance.v1.UpdateInstanceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.admin.instance.v1.UpdateInstanceRequest prototype) { + + public static Builder newBuilder( + com.google.spanner.admin.instance.v1.UpdateInstanceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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
    * [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance].
@@ -329,33 +381,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.spanner.admin.instance.v1.UpdateInstanceRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.spanner.admin.instance.v1.UpdateInstanceRequest)
       com.google.spanner.admin.instance.v1.UpdateInstanceRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_UpdateInstanceRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+          .internal_static_google_spanner_admin_instance_v1_UpdateInstanceRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_UpdateInstanceRequest_fieldAccessorTable
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+          .internal_static_google_spanner_admin_instance_v1_UpdateInstanceRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.admin.instance.v1.UpdateInstanceRequest.class, com.google.spanner.admin.instance.v1.UpdateInstanceRequest.Builder.class);
+              com.google.spanner.admin.instance.v1.UpdateInstanceRequest.class,
+              com.google.spanner.admin.instance.v1.UpdateInstanceRequest.Builder.class);
     }
 
     // Construct using com.google.spanner.admin.instance.v1.UpdateInstanceRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -374,9 +425,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto.internal_static_google_spanner_admin_instance_v1_UpdateInstanceRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.spanner.admin.instance.v1.SpannerInstanceAdminProto
+          .internal_static_google_spanner_admin_instance_v1_UpdateInstanceRequest_descriptor;
     }
 
     @java.lang.Override
@@ -395,8 +446,11 @@ public com.google.spanner.admin.instance.v1.UpdateInstanceRequest build() {
 
     @java.lang.Override
     public com.google.spanner.admin.instance.v1.UpdateInstanceRequest buildPartial() {
-      com.google.spanner.admin.instance.v1.UpdateInstanceRequest result = new com.google.spanner.admin.instance.v1.UpdateInstanceRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.spanner.admin.instance.v1.UpdateInstanceRequest result =
+          new com.google.spanner.admin.instance.v1.UpdateInstanceRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -404,14 +458,10 @@ public com.google.spanner.admin.instance.v1.UpdateInstanceRequest buildPartial()
     private void buildPartial0(com.google.spanner.admin.instance.v1.UpdateInstanceRequest 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.fieldMask_ = fieldMaskBuilder_ == null
-            ? fieldMask_
-            : fieldMaskBuilder_.build();
+        result.fieldMask_ = fieldMaskBuilder_ == null ? fieldMask_ : fieldMaskBuilder_.build();
       }
     }
 
@@ -419,38 +469,39 @@ private void buildPartial0(com.google.spanner.admin.instance.v1.UpdateInstanceRe
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.spanner.admin.instance.v1.UpdateInstanceRequest) {
-        return mergeFrom((com.google.spanner.admin.instance.v1.UpdateInstanceRequest)other);
+        return mergeFrom((com.google.spanner.admin.instance.v1.UpdateInstanceRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -458,7 +509,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.spanner.admin.instance.v1.UpdateInstanceRequest other) {
-      if (other == com.google.spanner.admin.instance.v1.UpdateInstanceRequest.getDefaultInstance()) return this;
+      if (other == com.google.spanner.admin.instance.v1.UpdateInstanceRequest.getDefaultInstance())
+        return this;
       if (other.hasInstance()) {
         mergeInstance(other.getInstance());
       }
@@ -491,26 +543,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(
-                  getFieldMaskFieldBuilder().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(getFieldMaskFieldBuilder().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) {
@@ -520,12 +571,18 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.spanner.admin.instance.v1.Instance instance_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.spanner.admin.instance.v1.Instance, com.google.spanner.admin.instance.v1.Instance.Builder, com.google.spanner.admin.instance.v1.InstanceOrBuilder> instanceBuilder_;
+            com.google.spanner.admin.instance.v1.Instance,
+            com.google.spanner.admin.instance.v1.Instance.Builder,
+            com.google.spanner.admin.instance.v1.InstanceOrBuilder>
+        instanceBuilder_;
     /**
+     *
+     *
      * 
      * Required. The instance to update, which must always include the instance
      * name.  Otherwise, only fields mentioned in
@@ -533,13 +590,18 @@ public Builder mergeFrom(
      * need be included.
      * 
* - * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.instance.v1.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 to update, which must always include the instance
      * name.  Otherwise, only fields mentioned in
@@ -547,17 +609,24 @@ public boolean hasInstance() {
      * need be included.
      * 
* - * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instance. */ public com.google.spanner.admin.instance.v1.Instance getInstance() { if (instanceBuilder_ == null) { - return instance_ == null ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() : instance_; + return instance_ == null + ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() + : instance_; } else { return instanceBuilder_.getMessage(); } } /** + * + * *
      * Required. The instance to update, which must always include the instance
      * name.  Otherwise, only fields mentioned in
@@ -565,7 +634,9 @@ public com.google.spanner.admin.instance.v1.Instance getInstance() {
      * need be included.
      * 
* - * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setInstance(com.google.spanner.admin.instance.v1.Instance value) { if (instanceBuilder_ == null) { @@ -581,6 +652,8 @@ public Builder setInstance(com.google.spanner.admin.instance.v1.Instance value) return this; } /** + * + * *
      * Required. The instance to update, which must always include the instance
      * name.  Otherwise, only fields mentioned in
@@ -588,7 +661,9 @@ public Builder setInstance(com.google.spanner.admin.instance.v1.Instance value)
      * need be included.
      * 
* - * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setInstance( com.google.spanner.admin.instance.v1.Instance.Builder builderForValue) { @@ -602,6 +677,8 @@ public Builder setInstance( return this; } /** + * + * *
      * Required. The instance to update, which must always include the instance
      * name.  Otherwise, only fields mentioned in
@@ -609,13 +686,15 @@ public Builder setInstance(
      * need be included.
      * 
* - * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeInstance(com.google.spanner.admin.instance.v1.Instance value) { if (instanceBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - instance_ != null && - instance_ != com.google.spanner.admin.instance.v1.Instance.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && instance_ != null + && instance_ != com.google.spanner.admin.instance.v1.Instance.getDefaultInstance()) { getInstanceBuilder().mergeFrom(value); } else { instance_ = value; @@ -628,6 +707,8 @@ public Builder mergeInstance(com.google.spanner.admin.instance.v1.Instance value return this; } /** + * + * *
      * Required. The instance to update, which must always include the instance
      * name.  Otherwise, only fields mentioned in
@@ -635,7 +716,9 @@ public Builder mergeInstance(com.google.spanner.admin.instance.v1.Instance value
      * need be included.
      * 
* - * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearInstance() { bitField0_ = (bitField0_ & ~0x00000001); @@ -648,6 +731,8 @@ public Builder clearInstance() { return this; } /** + * + * *
      * Required. The instance to update, which must always include the instance
      * name.  Otherwise, only fields mentioned in
@@ -655,7 +740,9 @@ public Builder clearInstance() {
      * need be included.
      * 
* - * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.spanner.admin.instance.v1.Instance.Builder getInstanceBuilder() { bitField0_ |= 0x00000001; @@ -663,6 +750,8 @@ public com.google.spanner.admin.instance.v1.Instance.Builder getInstanceBuilder( return getInstanceFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The instance to update, which must always include the instance
      * name.  Otherwise, only fields mentioned in
@@ -670,17 +759,22 @@ public com.google.spanner.admin.instance.v1.Instance.Builder getInstanceBuilder(
      * need be included.
      * 
* - * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuilder() { if (instanceBuilder_ != null) { return instanceBuilder_.getMessageOrBuilder(); } else { - return instance_ == null ? - com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() : instance_; + return instance_ == null + ? com.google.spanner.admin.instance.v1.Instance.getDefaultInstance() + : instance_; } } /** + * + * *
      * Required. The instance to update, which must always include the instance
      * name.  Otherwise, only fields mentioned in
@@ -688,17 +782,22 @@ public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuild
      * need be included.
      * 
* - * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.Instance, com.google.spanner.admin.instance.v1.Instance.Builder, com.google.spanner.admin.instance.v1.InstanceOrBuilder> + com.google.spanner.admin.instance.v1.Instance, + com.google.spanner.admin.instance.v1.Instance.Builder, + com.google.spanner.admin.instance.v1.InstanceOrBuilder> getInstanceFieldBuilder() { if (instanceBuilder_ == null) { - instanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.admin.instance.v1.Instance, com.google.spanner.admin.instance.v1.Instance.Builder, com.google.spanner.admin.instance.v1.InstanceOrBuilder>( - getInstance(), - getParentForChildren(), - isClean()); + instanceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.admin.instance.v1.Instance, + com.google.spanner.admin.instance.v1.Instance.Builder, + com.google.spanner.admin.instance.v1.InstanceOrBuilder>( + getInstance(), getParentForChildren(), isClean()); instance_ = null; } return instanceBuilder_; @@ -706,8 +805,13 @@ public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuild private com.google.protobuf.FieldMask fieldMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> fieldMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + fieldMaskBuilder_; /** + * + * *
      * Required. A mask specifying which fields in
      * [Instance][google.spanner.admin.instance.v1.Instance] should be updated.
@@ -716,13 +820,17 @@ public com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuild
      * accidentally by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the fieldMask field is set. */ public boolean hasFieldMask() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. A mask specifying which fields in
      * [Instance][google.spanner.admin.instance.v1.Instance] should be updated.
@@ -731,7 +839,9 @@ public boolean hasFieldMask() {
      * accidentally by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The fieldMask. */ public com.google.protobuf.FieldMask getFieldMask() { @@ -742,6 +852,8 @@ public com.google.protobuf.FieldMask getFieldMask() { } } /** + * + * *
      * Required. A mask specifying which fields in
      * [Instance][google.spanner.admin.instance.v1.Instance] should be updated.
@@ -750,7 +862,8 @@ public com.google.protobuf.FieldMask getFieldMask() {
      * accidentally by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setFieldMask(com.google.protobuf.FieldMask value) { if (fieldMaskBuilder_ == null) { @@ -766,6 +879,8 @@ public Builder setFieldMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. A mask specifying which fields in
      * [Instance][google.spanner.admin.instance.v1.Instance] should be updated.
@@ -774,10 +889,10 @@ public Builder setFieldMask(com.google.protobuf.FieldMask value) {
      * accidentally by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setFieldMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setFieldMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (fieldMaskBuilder_ == null) { fieldMask_ = builderForValue.build(); } else { @@ -788,6 +903,8 @@ public Builder setFieldMask( return this; } /** + * + * *
      * Required. A mask specifying which fields in
      * [Instance][google.spanner.admin.instance.v1.Instance] should be updated.
@@ -796,13 +913,14 @@ public Builder setFieldMask(
      * accidentally by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeFieldMask(com.google.protobuf.FieldMask value) { if (fieldMaskBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - fieldMask_ != null && - fieldMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && fieldMask_ != null + && fieldMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getFieldMaskBuilder().mergeFrom(value); } else { fieldMask_ = value; @@ -815,6 +933,8 @@ public Builder mergeFieldMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. A mask specifying which fields in
      * [Instance][google.spanner.admin.instance.v1.Instance] should be updated.
@@ -823,7 +943,8 @@ public Builder mergeFieldMask(com.google.protobuf.FieldMask value) {
      * accidentally by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearFieldMask() { bitField0_ = (bitField0_ & ~0x00000002); @@ -836,6 +957,8 @@ public Builder clearFieldMask() { return this; } /** + * + * *
      * Required. A mask specifying which fields in
      * [Instance][google.spanner.admin.instance.v1.Instance] should be updated.
@@ -844,7 +967,8 @@ public Builder clearFieldMask() {
      * accidentally by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getFieldMaskBuilder() { bitField0_ |= 0x00000002; @@ -852,6 +976,8 @@ public com.google.protobuf.FieldMask.Builder getFieldMaskBuilder() { return getFieldMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. A mask specifying which fields in
      * [Instance][google.spanner.admin.instance.v1.Instance] should be updated.
@@ -860,17 +986,19 @@ public com.google.protobuf.FieldMask.Builder getFieldMaskBuilder() {
      * accidentally by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMaskOrBuilder getFieldMaskOrBuilder() { if (fieldMaskBuilder_ != null) { return fieldMaskBuilder_.getMessageOrBuilder(); } else { - return fieldMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : fieldMask_; + return fieldMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : fieldMask_; } } /** + * + * *
      * Required. A mask specifying which fields in
      * [Instance][google.spanner.admin.instance.v1.Instance] should be updated.
@@ -879,24 +1007,28 @@ public com.google.protobuf.FieldMaskOrBuilder getFieldMaskOrBuilder() {
      * accidentally by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask field_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> getFieldMaskFieldBuilder() { if (fieldMaskBuilder_ == null) { - fieldMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getFieldMask(), - getParentForChildren(), - isClean()); + fieldMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getFieldMask(), getParentForChildren(), isClean()); fieldMask_ = null; } return fieldMaskBuilder_; } + @java.lang.Override - 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 +1038,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.admin.instance.v1.UpdateInstanceRequest) } // @@protoc_insertion_point(class_scope:google.spanner.admin.instance.v1.UpdateInstanceRequest) private static final com.google.spanner.admin.instance.v1.UpdateInstanceRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.admin.instance.v1.UpdateInstanceRequest(); } @@ -920,27 +1052,27 @@ public static com.google.spanner.admin.instance.v1.UpdateInstanceRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateInstanceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateInstanceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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 +1087,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.admin.instance.v1.UpdateInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceRequestOrBuilder.java b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceRequestOrBuilder.java rename to proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceRequestOrBuilder.java index 07e2673a78d..6d01be2120f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceRequestOrBuilder.java +++ b/proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/admin/instance/v1/spanner_instance_admin.proto package com.google.spanner.admin.instance.v1; -public interface UpdateInstanceRequestOrBuilder extends +public interface UpdateInstanceRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.spanner.admin.instance.v1.UpdateInstanceRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The instance to update, which must always include the instance
    * name.  Otherwise, only fields mentioned in
@@ -15,11 +33,16 @@ public interface UpdateInstanceRequestOrBuilder extends
    * need be included.
    * 
* - * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the instance field is set. */ boolean hasInstance(); /** + * + * *
    * Required. The instance to update, which must always include the instance
    * name.  Otherwise, only fields mentioned in
@@ -27,11 +50,16 @@ public interface UpdateInstanceRequestOrBuilder extends
    * need be included.
    * 
* - * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instance. */ com.google.spanner.admin.instance.v1.Instance getInstance(); /** + * + * *
    * Required. The instance to update, which must always include the instance
    * name.  Otherwise, only fields mentioned in
@@ -39,11 +67,15 @@ public interface UpdateInstanceRequestOrBuilder extends
    * need be included.
    * 
* - * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.admin.instance.v1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.spanner.admin.instance.v1.InstanceOrBuilder getInstanceOrBuilder(); /** + * + * *
    * Required. A mask specifying which fields in
    * [Instance][google.spanner.admin.instance.v1.Instance] should be updated.
@@ -52,11 +84,15 @@ public interface UpdateInstanceRequestOrBuilder extends
    * accidentally by clients that do not know about them.
    * 
* - * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the fieldMask field is set. */ boolean hasFieldMask(); /** + * + * *
    * Required. A mask specifying which fields in
    * [Instance][google.spanner.admin.instance.v1.Instance] should be updated.
@@ -65,11 +101,15 @@ public interface UpdateInstanceRequestOrBuilder extends
    * accidentally by clients that do not know about them.
    * 
* - * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The fieldMask. */ com.google.protobuf.FieldMask getFieldMask(); /** + * + * *
    * Required. A mask specifying which fields in
    * [Instance][google.spanner.admin.instance.v1.Instance] should be updated.
@@ -78,7 +118,8 @@ public interface UpdateInstanceRequestOrBuilder extends
    * accidentally by clients that do not know about them.
    * 
* - * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask field_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getFieldMaskOrBuilder(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/proto/google/spanner/admin/instance/v1/common.proto b/proto-google-cloud-spanner-admin-instance-v1/src/main/proto/google/spanner/admin/instance/v1/common.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/proto/google/spanner/admin/instance/v1/common.proto rename to proto-google-cloud-spanner-admin-instance-v1/src/main/proto/google/spanner/admin/instance/v1/common.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/proto/google/spanner/admin/instance/v1/spanner_instance_admin.proto b/proto-google-cloud-spanner-admin-instance-v1/src/main/proto/google/spanner/admin/instance/v1/spanner_instance_admin.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-spanner-admin-instance-v1/src/main/proto/google/spanner/admin/instance/v1/spanner_instance_admin.proto rename to proto-google-cloud-spanner-admin-instance-v1/src/main/proto/google/spanner/admin/instance/v1/spanner_instance_admin.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchCreateSessionsRequest.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchCreateSessionsRequest.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchCreateSessionsRequest.java rename to proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchCreateSessionsRequest.java index add3c9b54cc..9b92cd1cb03 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchCreateSessionsRequest.java +++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchCreateSessionsRequest.java @@ -1,62 +1,87 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/spanner.proto package com.google.spanner.v1; /** + * + * *
  * The request for [BatchCreateSessions][google.spanner.v1.Spanner.BatchCreateSessions].
  * 
* * Protobuf type {@code google.spanner.v1.BatchCreateSessionsRequest} */ -public final class BatchCreateSessionsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BatchCreateSessionsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.spanner.v1.BatchCreateSessionsRequest) BatchCreateSessionsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BatchCreateSessionsRequest.newBuilder() to construct. private BatchCreateSessionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BatchCreateSessionsRequest() { database_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BatchCreateSessionsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_BatchCreateSessionsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_BatchCreateSessionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_BatchCreateSessionsRequest_fieldAccessorTable + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_BatchCreateSessionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.BatchCreateSessionsRequest.class, com.google.spanner.v1.BatchCreateSessionsRequest.Builder.class); + com.google.spanner.v1.BatchCreateSessionsRequest.class, + com.google.spanner.v1.BatchCreateSessionsRequest.Builder.class); } public static final int DATABASE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object database_ = ""; /** + * + * *
    * Required. The database in which the new sessions are created.
    * 
* - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The database. */ @java.lang.Override @@ -65,29 +90,31 @@ public java.lang.String getDatabase() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; } } /** + * + * *
    * Required. The database in which the new sessions are created.
    * 
* - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for database. */ @java.lang.Override - public com.google.protobuf.ByteString - getDatabaseBytes() { + public com.google.protobuf.ByteString getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); database_ = b; return b; } else { @@ -98,11 +125,14 @@ public java.lang.String getDatabase() { public static final int SESSION_TEMPLATE_FIELD_NUMBER = 2; private com.google.spanner.v1.Session sessionTemplate_; /** + * + * *
    * Parameters to be applied to each created session.
    * 
* * .google.spanner.v1.Session session_template = 2; + * * @return Whether the sessionTemplate field is set. */ @java.lang.Override @@ -110,18 +140,25 @@ public boolean hasSessionTemplate() { return sessionTemplate_ != null; } /** + * + * *
    * Parameters to be applied to each created session.
    * 
* * .google.spanner.v1.Session session_template = 2; + * * @return The sessionTemplate. */ @java.lang.Override public com.google.spanner.v1.Session getSessionTemplate() { - return sessionTemplate_ == null ? com.google.spanner.v1.Session.getDefaultInstance() : sessionTemplate_; + return sessionTemplate_ == null + ? com.google.spanner.v1.Session.getDefaultInstance() + : sessionTemplate_; } /** + * + * *
    * Parameters to be applied to each created session.
    * 
@@ -130,12 +167,16 @@ public com.google.spanner.v1.Session getSessionTemplate() { */ @java.lang.Override public com.google.spanner.v1.SessionOrBuilder getSessionTemplateOrBuilder() { - return sessionTemplate_ == null ? com.google.spanner.v1.Session.getDefaultInstance() : sessionTemplate_; + return sessionTemplate_ == null + ? com.google.spanner.v1.Session.getDefaultInstance() + : sessionTemplate_; } public static final int SESSION_COUNT_FIELD_NUMBER = 3; private int sessionCount_ = 0; /** + * + * *
    * Required. The number of sessions to be created in this batch call.
    * The API may return fewer than the requested number of sessions. If a
@@ -145,6 +186,7 @@ public com.google.spanner.v1.SessionOrBuilder getSessionTemplateOrBuilder() {
    * 
* * int32 session_count = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The sessionCount. */ @java.lang.Override @@ -153,6 +195,7 @@ public int getSessionCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -164,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(database_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, database_); } @@ -188,12 +230,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, database_); } if (sessionTemplate_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getSessionTemplate()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getSessionTemplate()); } if (sessionCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, sessionCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, sessionCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -203,22 +243,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.spanner.v1.BatchCreateSessionsRequest)) { return super.equals(obj); } - com.google.spanner.v1.BatchCreateSessionsRequest other = (com.google.spanner.v1.BatchCreateSessionsRequest) obj; + com.google.spanner.v1.BatchCreateSessionsRequest other = + (com.google.spanner.v1.BatchCreateSessionsRequest) obj; - if (!getDatabase() - .equals(other.getDatabase())) return false; + if (!getDatabase().equals(other.getDatabase())) return false; if (hasSessionTemplate() != other.hasSessionTemplate()) return false; if (hasSessionTemplate()) { - if (!getSessionTemplate() - .equals(other.getSessionTemplate())) return false; + if (!getSessionTemplate().equals(other.getSessionTemplate())) return false; } - if (getSessionCount() - != other.getSessionCount()) return false; + if (getSessionCount() != other.getSessionCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -243,130 +281,136 @@ public int hashCode() { return hash; } - public static com.google.spanner.v1.BatchCreateSessionsRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.spanner.v1.BatchCreateSessionsRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.BatchCreateSessionsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.v1.BatchCreateSessionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.BatchCreateSessionsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.v1.BatchCreateSessionsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.BatchCreateSessionsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.BatchCreateSessionsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.spanner.v1.BatchCreateSessionsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.v1.BatchCreateSessionsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.BatchCreateSessionsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.spanner.v1.BatchCreateSessionsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.spanner.v1.BatchCreateSessionsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.spanner.v1.BatchCreateSessionsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.v1.BatchCreateSessionsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.spanner.v1.BatchCreateSessionsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [BatchCreateSessions][google.spanner.v1.Spanner.BatchCreateSessions].
    * 
* * Protobuf type {@code google.spanner.v1.BatchCreateSessionsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.BatchCreateSessionsRequest) com.google.spanner.v1.BatchCreateSessionsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_BatchCreateSessionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_BatchCreateSessionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_BatchCreateSessionsRequest_fieldAccessorTable + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_BatchCreateSessionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.BatchCreateSessionsRequest.class, com.google.spanner.v1.BatchCreateSessionsRequest.Builder.class); + com.google.spanner.v1.BatchCreateSessionsRequest.class, + com.google.spanner.v1.BatchCreateSessionsRequest.Builder.class); } // Construct using com.google.spanner.v1.BatchCreateSessionsRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -382,9 +426,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_BatchCreateSessionsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_BatchCreateSessionsRequest_descriptor; } @java.lang.Override @@ -403,8 +447,11 @@ public com.google.spanner.v1.BatchCreateSessionsRequest build() { @java.lang.Override public com.google.spanner.v1.BatchCreateSessionsRequest buildPartial() { - com.google.spanner.v1.BatchCreateSessionsRequest result = new com.google.spanner.v1.BatchCreateSessionsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.spanner.v1.BatchCreateSessionsRequest result = + new com.google.spanner.v1.BatchCreateSessionsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -415,9 +462,8 @@ private void buildPartial0(com.google.spanner.v1.BatchCreateSessionsRequest resu result.database_ = database_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.sessionTemplate_ = sessionTemplateBuilder_ == null - ? sessionTemplate_ - : sessionTemplateBuilder_.build(); + result.sessionTemplate_ = + sessionTemplateBuilder_ == null ? sessionTemplate_ : sessionTemplateBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.sessionCount_ = sessionCount_; @@ -428,38 +474,39 @@ private void buildPartial0(com.google.spanner.v1.BatchCreateSessionsRequest 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.spanner.v1.BatchCreateSessionsRequest) { - return mergeFrom((com.google.spanner.v1.BatchCreateSessionsRequest)other); + return mergeFrom((com.google.spanner.v1.BatchCreateSessionsRequest) other); } else { super.mergeFrom(other); return this; @@ -467,7 +514,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.v1.BatchCreateSessionsRequest other) { - if (other == com.google.spanner.v1.BatchCreateSessionsRequest.getDefaultInstance()) return this; + if (other == com.google.spanner.v1.BatchCreateSessionsRequest.getDefaultInstance()) + return this; if (!other.getDatabase().isEmpty()) { database_ = other.database_; bitField0_ |= 0x00000001; @@ -505,29 +553,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - database_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getSessionTemplateFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - sessionCount_ = input.readInt32(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + database_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getSessionTemplateFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + sessionCount_ = input.readInt32(); + 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) { @@ -537,22 +587,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object database_ = ""; /** + * + * *
      * Required. The database in which the new sessions are created.
      * 
* - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The database. */ public java.lang.String getDatabase() { java.lang.Object ref = database_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; @@ -561,20 +616,23 @@ public java.lang.String getDatabase() { } } /** + * + * *
      * Required. The database in which the new sessions are created.
      * 
* - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for database. */ - public com.google.protobuf.ByteString - getDatabaseBytes() { + public com.google.protobuf.ByteString getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); database_ = b; return b; } else { @@ -582,28 +640,39 @@ public java.lang.String getDatabase() { } } /** + * + * *
      * Required. The database in which the new sessions are created.
      * 
* - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The database to set. * @return This builder for chaining. */ - public Builder setDatabase( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDatabase(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } database_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The database in which the new sessions are created.
      * 
* - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearDatabase() { @@ -613,17 +682,23 @@ public Builder clearDatabase() { return this; } /** + * + * *
      * Required. The database in which the new sessions are created.
      * 
* - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for database to set. * @return This builder for chaining. */ - public Builder setDatabaseBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); database_ = value; bitField0_ |= 0x00000001; @@ -633,34 +708,47 @@ public Builder setDatabaseBytes( private com.google.spanner.v1.Session sessionTemplate_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.Session, com.google.spanner.v1.Session.Builder, com.google.spanner.v1.SessionOrBuilder> sessionTemplateBuilder_; + com.google.spanner.v1.Session, + com.google.spanner.v1.Session.Builder, + com.google.spanner.v1.SessionOrBuilder> + sessionTemplateBuilder_; /** + * + * *
      * Parameters to be applied to each created session.
      * 
* * .google.spanner.v1.Session session_template = 2; + * * @return Whether the sessionTemplate field is set. */ public boolean hasSessionTemplate() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Parameters to be applied to each created session.
      * 
* * .google.spanner.v1.Session session_template = 2; + * * @return The sessionTemplate. */ public com.google.spanner.v1.Session getSessionTemplate() { if (sessionTemplateBuilder_ == null) { - return sessionTemplate_ == null ? com.google.spanner.v1.Session.getDefaultInstance() : sessionTemplate_; + return sessionTemplate_ == null + ? com.google.spanner.v1.Session.getDefaultInstance() + : sessionTemplate_; } else { return sessionTemplateBuilder_.getMessage(); } } /** + * + * *
      * Parameters to be applied to each created session.
      * 
@@ -681,14 +769,15 @@ public Builder setSessionTemplate(com.google.spanner.v1.Session value) { return this; } /** + * + * *
      * Parameters to be applied to each created session.
      * 
* * .google.spanner.v1.Session session_template = 2; */ - public Builder setSessionTemplate( - com.google.spanner.v1.Session.Builder builderForValue) { + public Builder setSessionTemplate(com.google.spanner.v1.Session.Builder builderForValue) { if (sessionTemplateBuilder_ == null) { sessionTemplate_ = builderForValue.build(); } else { @@ -699,6 +788,8 @@ public Builder setSessionTemplate( return this; } /** + * + * *
      * Parameters to be applied to each created session.
      * 
@@ -707,9 +798,9 @@ public Builder setSessionTemplate( */ public Builder mergeSessionTemplate(com.google.spanner.v1.Session value) { if (sessionTemplateBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - sessionTemplate_ != null && - sessionTemplate_ != com.google.spanner.v1.Session.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && sessionTemplate_ != null + && sessionTemplate_ != com.google.spanner.v1.Session.getDefaultInstance()) { getSessionTemplateBuilder().mergeFrom(value); } else { sessionTemplate_ = value; @@ -722,6 +813,8 @@ public Builder mergeSessionTemplate(com.google.spanner.v1.Session value) { return this; } /** + * + * *
      * Parameters to be applied to each created session.
      * 
@@ -739,6 +832,8 @@ public Builder clearSessionTemplate() { return this; } /** + * + * *
      * Parameters to be applied to each created session.
      * 
@@ -751,6 +846,8 @@ public com.google.spanner.v1.Session.Builder getSessionTemplateBuilder() { return getSessionTemplateFieldBuilder().getBuilder(); } /** + * + * *
      * Parameters to be applied to each created session.
      * 
@@ -761,11 +858,14 @@ public com.google.spanner.v1.SessionOrBuilder getSessionTemplateOrBuilder() { if (sessionTemplateBuilder_ != null) { return sessionTemplateBuilder_.getMessageOrBuilder(); } else { - return sessionTemplate_ == null ? - com.google.spanner.v1.Session.getDefaultInstance() : sessionTemplate_; + return sessionTemplate_ == null + ? com.google.spanner.v1.Session.getDefaultInstance() + : sessionTemplate_; } } /** + * + * *
      * Parameters to be applied to each created session.
      * 
@@ -773,21 +873,26 @@ public com.google.spanner.v1.SessionOrBuilder getSessionTemplateOrBuilder() { * .google.spanner.v1.Session session_template = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.Session, com.google.spanner.v1.Session.Builder, com.google.spanner.v1.SessionOrBuilder> + com.google.spanner.v1.Session, + com.google.spanner.v1.Session.Builder, + com.google.spanner.v1.SessionOrBuilder> getSessionTemplateFieldBuilder() { if (sessionTemplateBuilder_ == null) { - sessionTemplateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.Session, com.google.spanner.v1.Session.Builder, com.google.spanner.v1.SessionOrBuilder>( - getSessionTemplate(), - getParentForChildren(), - isClean()); + sessionTemplateBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.v1.Session, + com.google.spanner.v1.Session.Builder, + com.google.spanner.v1.SessionOrBuilder>( + getSessionTemplate(), getParentForChildren(), isClean()); sessionTemplate_ = null; } return sessionTemplateBuilder_; } - private int sessionCount_ ; + private int sessionCount_; /** + * + * *
      * Required. The number of sessions to be created in this batch call.
      * The API may return fewer than the requested number of sessions. If a
@@ -797,6 +902,7 @@ public com.google.spanner.v1.SessionOrBuilder getSessionTemplateOrBuilder() {
      * 
* * int32 session_count = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The sessionCount. */ @java.lang.Override @@ -804,6 +910,8 @@ public int getSessionCount() { return sessionCount_; } /** + * + * *
      * Required. The number of sessions to be created in this batch call.
      * The API may return fewer than the requested number of sessions. If a
@@ -813,17 +921,20 @@ public int getSessionCount() {
      * 
* * int32 session_count = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The sessionCount to set. * @return This builder for chaining. */ public Builder setSessionCount(int value) { - + sessionCount_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Required. The number of sessions to be created in this batch call.
      * The API may return fewer than the requested number of sessions. If a
@@ -833,6 +944,7 @@ public Builder setSessionCount(int value) {
      * 
* * int32 session_count = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearSessionCount() { @@ -841,9 +953,9 @@ public Builder clearSessionCount() { onChanged(); return this; } + @java.lang.Override - 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 +965,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.v1.BatchCreateSessionsRequest) } // @@protoc_insertion_point(class_scope:google.spanner.v1.BatchCreateSessionsRequest) private static final com.google.spanner.v1.BatchCreateSessionsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.v1.BatchCreateSessionsRequest(); } @@ -867,27 +979,27 @@ public static com.google.spanner.v1.BatchCreateSessionsRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchCreateSessionsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchCreateSessionsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,6 +1014,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.spanner.v1.BatchCreateSessionsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchCreateSessionsRequestOrBuilder.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchCreateSessionsRequestOrBuilder.java similarity index 63% rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchCreateSessionsRequestOrBuilder.java rename to proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchCreateSessionsRequestOrBuilder.java index 35d6a63a155..3a4cd4d26ac 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchCreateSessionsRequestOrBuilder.java +++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchCreateSessionsRequestOrBuilder.java @@ -1,51 +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/spanner/v1/spanner.proto package com.google.spanner.v1; -public interface BatchCreateSessionsRequestOrBuilder extends +public interface BatchCreateSessionsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.BatchCreateSessionsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The database in which the new sessions are created.
    * 
* - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The database. */ java.lang.String getDatabase(); /** + * + * *
    * Required. The database in which the new sessions are created.
    * 
* - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for database. */ - com.google.protobuf.ByteString - getDatabaseBytes(); + com.google.protobuf.ByteString getDatabaseBytes(); /** + * + * *
    * Parameters to be applied to each created session.
    * 
* * .google.spanner.v1.Session session_template = 2; + * * @return Whether the sessionTemplate field is set. */ boolean hasSessionTemplate(); /** + * + * *
    * Parameters to be applied to each created session.
    * 
* * .google.spanner.v1.Session session_template = 2; + * * @return The sessionTemplate. */ com.google.spanner.v1.Session getSessionTemplate(); /** + * + * *
    * Parameters to be applied to each created session.
    * 
@@ -55,6 +88,8 @@ public interface BatchCreateSessionsRequestOrBuilder extends com.google.spanner.v1.SessionOrBuilder getSessionTemplateOrBuilder(); /** + * + * *
    * Required. The number of sessions to be created in this batch call.
    * The API may return fewer than the requested number of sessions. If a
@@ -64,6 +99,7 @@ public interface BatchCreateSessionsRequestOrBuilder extends
    * 
* * int32 session_count = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The sessionCount. */ int getSessionCount(); diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchCreateSessionsResponse.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchCreateSessionsResponse.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchCreateSessionsResponse.java rename to proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchCreateSessionsResponse.java index af5fec3928f..a53a5644317 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchCreateSessionsResponse.java +++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchCreateSessionsResponse.java @@ -1,57 +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/spanner/v1/spanner.proto package com.google.spanner.v1; /** + * + * *
  * The response for [BatchCreateSessions][google.spanner.v1.Spanner.BatchCreateSessions].
  * 
* * Protobuf type {@code google.spanner.v1.BatchCreateSessionsResponse} */ -public final class BatchCreateSessionsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BatchCreateSessionsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.spanner.v1.BatchCreateSessionsResponse) BatchCreateSessionsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BatchCreateSessionsResponse.newBuilder() to construct. private BatchCreateSessionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BatchCreateSessionsResponse() { session_ = 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 BatchCreateSessionsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_BatchCreateSessionsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_BatchCreateSessionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_BatchCreateSessionsResponse_fieldAccessorTable + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_BatchCreateSessionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.BatchCreateSessionsResponse.class, com.google.spanner.v1.BatchCreateSessionsResponse.Builder.class); + com.google.spanner.v1.BatchCreateSessionsResponse.class, + com.google.spanner.v1.BatchCreateSessionsResponse.Builder.class); } public static final int SESSION_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List session_; /** + * + * *
    * The freshly created sessions.
    * 
@@ -63,6 +85,8 @@ public java.util.List getSessionList() { return session_; } /** + * + * *
    * The freshly created sessions.
    * 
@@ -70,11 +94,13 @@ public java.util.List getSessionList() { * repeated .google.spanner.v1.Session session = 1; */ @java.lang.Override - public java.util.List + public java.util.List getSessionOrBuilderList() { return session_; } /** + * + * *
    * The freshly created sessions.
    * 
@@ -86,6 +112,8 @@ public int getSessionCount() { return session_.size(); } /** + * + * *
    * The freshly created sessions.
    * 
@@ -97,6 +125,8 @@ public com.google.spanner.v1.Session getSession(int index) { return session_.get(index); } /** + * + * *
    * The freshly created sessions.
    * 
@@ -104,12 +134,12 @@ public com.google.spanner.v1.Session getSession(int index) { * repeated .google.spanner.v1.Session session = 1; */ @java.lang.Override - public com.google.spanner.v1.SessionOrBuilder getSessionOrBuilder( - int index) { + public com.google.spanner.v1.SessionOrBuilder getSessionOrBuilder(int index) { return session_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -121,8 +151,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 < session_.size(); i++) { output.writeMessage(1, session_.get(i)); } @@ -136,8 +165,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < session_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, session_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, session_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -147,15 +175,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.spanner.v1.BatchCreateSessionsResponse)) { return super.equals(obj); } - com.google.spanner.v1.BatchCreateSessionsResponse other = (com.google.spanner.v1.BatchCreateSessionsResponse) obj; + com.google.spanner.v1.BatchCreateSessionsResponse other = + (com.google.spanner.v1.BatchCreateSessionsResponse) obj; - if (!getSessionList() - .equals(other.getSessionList())) return false; + if (!getSessionList().equals(other.getSessionList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -177,129 +205,135 @@ public int hashCode() { } public static com.google.spanner.v1.BatchCreateSessionsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.BatchCreateSessionsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.v1.BatchCreateSessionsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.BatchCreateSessionsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.v1.BatchCreateSessionsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.BatchCreateSessionsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.BatchCreateSessionsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.spanner.v1.BatchCreateSessionsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.v1.BatchCreateSessionsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.BatchCreateSessionsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.spanner.v1.BatchCreateSessionsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.spanner.v1.BatchCreateSessionsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.spanner.v1.BatchCreateSessionsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.v1.BatchCreateSessionsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.spanner.v1.BatchCreateSessionsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [BatchCreateSessions][google.spanner.v1.Spanner.BatchCreateSessions].
    * 
* * Protobuf type {@code google.spanner.v1.BatchCreateSessionsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.BatchCreateSessionsResponse) com.google.spanner.v1.BatchCreateSessionsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_BatchCreateSessionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_BatchCreateSessionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_BatchCreateSessionsResponse_fieldAccessorTable + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_BatchCreateSessionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.BatchCreateSessionsResponse.class, com.google.spanner.v1.BatchCreateSessionsResponse.Builder.class); + com.google.spanner.v1.BatchCreateSessionsResponse.class, + com.google.spanner.v1.BatchCreateSessionsResponse.Builder.class); } // Construct using com.google.spanner.v1.BatchCreateSessionsResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - 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 +349,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_BatchCreateSessionsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_BatchCreateSessionsResponse_descriptor; } @java.lang.Override @@ -336,14 +370,18 @@ public com.google.spanner.v1.BatchCreateSessionsResponse build() { @java.lang.Override public com.google.spanner.v1.BatchCreateSessionsResponse buildPartial() { - com.google.spanner.v1.BatchCreateSessionsResponse result = new com.google.spanner.v1.BatchCreateSessionsResponse(this); + com.google.spanner.v1.BatchCreateSessionsResponse result = + new com.google.spanner.v1.BatchCreateSessionsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.spanner.v1.BatchCreateSessionsResponse result) { + private void buildPartialRepeatedFields( + com.google.spanner.v1.BatchCreateSessionsResponse result) { if (sessionBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { session_ = java.util.Collections.unmodifiableList(session_); @@ -363,38 +401,39 @@ private void buildPartial0(com.google.spanner.v1.BatchCreateSessionsResponse 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.spanner.v1.BatchCreateSessionsResponse) { - return mergeFrom((com.google.spanner.v1.BatchCreateSessionsResponse)other); + return mergeFrom((com.google.spanner.v1.BatchCreateSessionsResponse) other); } else { super.mergeFrom(other); return this; @@ -402,7 +441,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.v1.BatchCreateSessionsResponse other) { - if (other == com.google.spanner.v1.BatchCreateSessionsResponse.getDefaultInstance()) return this; + if (other == com.google.spanner.v1.BatchCreateSessionsResponse.getDefaultInstance()) + return this; if (sessionBuilder_ == null) { if (!other.session_.isEmpty()) { if (session_.isEmpty()) { @@ -421,9 +461,10 @@ public Builder mergeFrom(com.google.spanner.v1.BatchCreateSessionsResponse other sessionBuilder_ = null; session_ = other.session_; bitField0_ = (bitField0_ & ~0x00000001); - sessionBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getSessionFieldBuilder() : null; + sessionBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getSessionFieldBuilder() + : null; } else { sessionBuilder_.addAllMessages(other.session_); } @@ -455,25 +496,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.spanner.v1.Session m = - input.readMessage( - com.google.spanner.v1.Session.parser(), - extensionRegistry); - if (sessionBuilder_ == null) { - ensureSessionIsMutable(); - session_.add(m); - } else { - sessionBuilder_.addMessage(m); - } - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.spanner.v1.Session m = + input.readMessage(com.google.spanner.v1.Session.parser(), extensionRegistry); + if (sessionBuilder_ == null) { + ensureSessionIsMutable(); + session_.add(m); + } else { + sessionBuilder_.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) { @@ -483,21 +524,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List session_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureSessionIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { session_ = new java.util.ArrayList(session_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.v1.Session, com.google.spanner.v1.Session.Builder, com.google.spanner.v1.SessionOrBuilder> sessionBuilder_; + com.google.spanner.v1.Session, + com.google.spanner.v1.Session.Builder, + com.google.spanner.v1.SessionOrBuilder> + sessionBuilder_; /** + * + * *
      * The freshly created sessions.
      * 
@@ -512,6 +560,8 @@ public java.util.List getSessionList() { } } /** + * + * *
      * The freshly created sessions.
      * 
@@ -526,6 +576,8 @@ public int getSessionCount() { } } /** + * + * *
      * The freshly created sessions.
      * 
@@ -540,14 +592,15 @@ public com.google.spanner.v1.Session getSession(int index) { } } /** + * + * *
      * The freshly created sessions.
      * 
* * repeated .google.spanner.v1.Session session = 1; */ - public Builder setSession( - int index, com.google.spanner.v1.Session value) { + public Builder setSession(int index, com.google.spanner.v1.Session value) { if (sessionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -561,14 +614,15 @@ public Builder setSession( return this; } /** + * + * *
      * The freshly created sessions.
      * 
* * repeated .google.spanner.v1.Session session = 1; */ - public Builder setSession( - int index, com.google.spanner.v1.Session.Builder builderForValue) { + public Builder setSession(int index, com.google.spanner.v1.Session.Builder builderForValue) { if (sessionBuilder_ == null) { ensureSessionIsMutable(); session_.set(index, builderForValue.build()); @@ -579,6 +633,8 @@ public Builder setSession( return this; } /** + * + * *
      * The freshly created sessions.
      * 
@@ -599,14 +655,15 @@ public Builder addSession(com.google.spanner.v1.Session value) { return this; } /** + * + * *
      * The freshly created sessions.
      * 
* * repeated .google.spanner.v1.Session session = 1; */ - public Builder addSession( - int index, com.google.spanner.v1.Session value) { + public Builder addSession(int index, com.google.spanner.v1.Session value) { if (sessionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -620,14 +677,15 @@ public Builder addSession( return this; } /** + * + * *
      * The freshly created sessions.
      * 
* * repeated .google.spanner.v1.Session session = 1; */ - public Builder addSession( - com.google.spanner.v1.Session.Builder builderForValue) { + public Builder addSession(com.google.spanner.v1.Session.Builder builderForValue) { if (sessionBuilder_ == null) { ensureSessionIsMutable(); session_.add(builderForValue.build()); @@ -638,14 +696,15 @@ public Builder addSession( return this; } /** + * + * *
      * The freshly created sessions.
      * 
* * repeated .google.spanner.v1.Session session = 1; */ - public Builder addSession( - int index, com.google.spanner.v1.Session.Builder builderForValue) { + public Builder addSession(int index, com.google.spanner.v1.Session.Builder builderForValue) { if (sessionBuilder_ == null) { ensureSessionIsMutable(); session_.add(index, builderForValue.build()); @@ -656,6 +715,8 @@ public Builder addSession( return this; } /** + * + * *
      * The freshly created sessions.
      * 
@@ -666,8 +727,7 @@ public Builder addAllSession( java.lang.Iterable values) { if (sessionBuilder_ == null) { ensureSessionIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, session_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, session_); onChanged(); } else { sessionBuilder_.addAllMessages(values); @@ -675,6 +735,8 @@ public Builder addAllSession( return this; } /** + * + * *
      * The freshly created sessions.
      * 
@@ -692,6 +754,8 @@ public Builder clearSession() { return this; } /** + * + * *
      * The freshly created sessions.
      * 
@@ -709,39 +773,44 @@ public Builder removeSession(int index) { return this; } /** + * + * *
      * The freshly created sessions.
      * 
* * repeated .google.spanner.v1.Session session = 1; */ - public com.google.spanner.v1.Session.Builder getSessionBuilder( - int index) { + public com.google.spanner.v1.Session.Builder getSessionBuilder(int index) { return getSessionFieldBuilder().getBuilder(index); } /** + * + * *
      * The freshly created sessions.
      * 
* * repeated .google.spanner.v1.Session session = 1; */ - public com.google.spanner.v1.SessionOrBuilder getSessionOrBuilder( - int index) { + public com.google.spanner.v1.SessionOrBuilder getSessionOrBuilder(int index) { if (sessionBuilder_ == null) { - return session_.get(index); } else { + return session_.get(index); + } else { return sessionBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The freshly created sessions.
      * 
* * repeated .google.spanner.v1.Session session = 1; */ - public java.util.List - getSessionOrBuilderList() { + public java.util.List + getSessionOrBuilderList() { if (sessionBuilder_ != null) { return sessionBuilder_.getMessageOrBuilderList(); } else { @@ -749,6 +818,8 @@ public com.google.spanner.v1.SessionOrBuilder getSessionOrBuilder( } } /** + * + * *
      * The freshly created sessions.
      * 
@@ -756,49 +827,54 @@ public com.google.spanner.v1.SessionOrBuilder getSessionOrBuilder( * repeated .google.spanner.v1.Session session = 1; */ public com.google.spanner.v1.Session.Builder addSessionBuilder() { - return getSessionFieldBuilder().addBuilder( - com.google.spanner.v1.Session.getDefaultInstance()); + return getSessionFieldBuilder() + .addBuilder(com.google.spanner.v1.Session.getDefaultInstance()); } /** + * + * *
      * The freshly created sessions.
      * 
* * repeated .google.spanner.v1.Session session = 1; */ - public com.google.spanner.v1.Session.Builder addSessionBuilder( - int index) { - return getSessionFieldBuilder().addBuilder( - index, com.google.spanner.v1.Session.getDefaultInstance()); + public com.google.spanner.v1.Session.Builder addSessionBuilder(int index) { + return getSessionFieldBuilder() + .addBuilder(index, com.google.spanner.v1.Session.getDefaultInstance()); } /** + * + * *
      * The freshly created sessions.
      * 
* * repeated .google.spanner.v1.Session session = 1; */ - public java.util.List - getSessionBuilderList() { + public java.util.List getSessionBuilderList() { return getSessionFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.v1.Session, com.google.spanner.v1.Session.Builder, com.google.spanner.v1.SessionOrBuilder> + com.google.spanner.v1.Session, + com.google.spanner.v1.Session.Builder, + com.google.spanner.v1.SessionOrBuilder> getSessionFieldBuilder() { if (sessionBuilder_ == null) { - sessionBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.v1.Session, com.google.spanner.v1.Session.Builder, com.google.spanner.v1.SessionOrBuilder>( - session_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + sessionBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.spanner.v1.Session, + com.google.spanner.v1.Session.Builder, + com.google.spanner.v1.SessionOrBuilder>( + session_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); session_ = null; } return sessionBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -808,12 +884,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.v1.BatchCreateSessionsResponse) } // @@protoc_insertion_point(class_scope:google.spanner.v1.BatchCreateSessionsResponse) private static final com.google.spanner.v1.BatchCreateSessionsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.v1.BatchCreateSessionsResponse(); } @@ -822,27 +898,27 @@ public static com.google.spanner.v1.BatchCreateSessionsResponse getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchCreateSessionsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchCreateSessionsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -857,6 +933,4 @@ public com.google.protobuf.Parser getParserForType( public com.google.spanner.v1.BatchCreateSessionsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchCreateSessionsResponseOrBuilder.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchCreateSessionsResponseOrBuilder.java similarity index 56% rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchCreateSessionsResponseOrBuilder.java rename to proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchCreateSessionsResponseOrBuilder.java index 2e2cbd2454d..8c6fd582b74 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchCreateSessionsResponseOrBuilder.java +++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchCreateSessionsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/spanner.proto package com.google.spanner.v1; -public interface BatchCreateSessionsResponseOrBuilder extends +public interface BatchCreateSessionsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.BatchCreateSessionsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The freshly created sessions.
    * 
* * repeated .google.spanner.v1.Session session = 1; */ - java.util.List - getSessionList(); + java.util.List getSessionList(); /** + * + * *
    * The freshly created sessions.
    * 
@@ -25,6 +44,8 @@ public interface BatchCreateSessionsResponseOrBuilder extends */ com.google.spanner.v1.Session getSession(int index); /** + * + * *
    * The freshly created sessions.
    * 
@@ -33,21 +54,23 @@ public interface BatchCreateSessionsResponseOrBuilder extends */ int getSessionCount(); /** + * + * *
    * The freshly created sessions.
    * 
* * repeated .google.spanner.v1.Session session = 1; */ - java.util.List - getSessionOrBuilderList(); + java.util.List getSessionOrBuilderList(); /** + * + * *
    * The freshly created sessions.
    * 
* * repeated .google.spanner.v1.Session session = 1; */ - com.google.spanner.v1.SessionOrBuilder getSessionOrBuilder( - int index); + com.google.spanner.v1.SessionOrBuilder getSessionOrBuilder(int index); } diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BeginTransactionRequest.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BeginTransactionRequest.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BeginTransactionRequest.java rename to proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BeginTransactionRequest.java index 7b9c8abf983..d676fd87ea6 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BeginTransactionRequest.java +++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BeginTransactionRequest.java @@ -1,62 +1,87 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/spanner.proto package com.google.spanner.v1; /** + * + * *
  * The request for [BeginTransaction][google.spanner.v1.Spanner.BeginTransaction].
  * 
* * Protobuf type {@code google.spanner.v1.BeginTransactionRequest} */ -public final class BeginTransactionRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BeginTransactionRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.spanner.v1.BeginTransactionRequest) BeginTransactionRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BeginTransactionRequest.newBuilder() to construct. private BeginTransactionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BeginTransactionRequest() { session_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BeginTransactionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_BeginTransactionRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_BeginTransactionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_BeginTransactionRequest_fieldAccessorTable + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_BeginTransactionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.BeginTransactionRequest.class, com.google.spanner.v1.BeginTransactionRequest.Builder.class); + com.google.spanner.v1.BeginTransactionRequest.class, + com.google.spanner.v1.BeginTransactionRequest.Builder.class); } public static final int SESSION_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object session_ = ""; /** + * + * *
    * Required. The session in which the transaction runs.
    * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The session. */ @java.lang.Override @@ -65,29 +90,31 @@ public java.lang.String getSession() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); session_ = s; return s; } } /** + * + * *
    * Required. The session in which the transaction runs.
    * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for session. */ @java.lang.Override - public com.google.protobuf.ByteString - getSessionBytes() { + public com.google.protobuf.ByteString getSessionBytes() { java.lang.Object ref = session_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); session_ = b; return b; } else { @@ -98,11 +125,16 @@ public java.lang.String getSession() { public static final int OPTIONS_FIELD_NUMBER = 2; private com.google.spanner.v1.TransactionOptions options_; /** + * + * *
    * Required. Options for the new transaction.
    * 
* - * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the options field is set. */ @java.lang.Override @@ -110,32 +142,47 @@ public boolean hasOptions() { return options_ != null; } /** + * + * *
    * Required. Options for the new transaction.
    * 
* - * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The options. */ @java.lang.Override public com.google.spanner.v1.TransactionOptions getOptions() { - return options_ == null ? com.google.spanner.v1.TransactionOptions.getDefaultInstance() : options_; + return options_ == null + ? com.google.spanner.v1.TransactionOptions.getDefaultInstance() + : options_; } /** + * + * *
    * Required. Options for the new transaction.
    * 
* - * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.spanner.v1.TransactionOptionsOrBuilder getOptionsOrBuilder() { - return options_ == null ? com.google.spanner.v1.TransactionOptions.getDefaultInstance() : options_; + return options_ == null + ? com.google.spanner.v1.TransactionOptions.getDefaultInstance() + : options_; } public static final int REQUEST_OPTIONS_FIELD_NUMBER = 3; private com.google.spanner.v1.RequestOptions requestOptions_; /** + * + * *
    * Common options for this request.
    * Priority is ignored for this request. Setting the priority in this
@@ -145,6 +192,7 @@ public com.google.spanner.v1.TransactionOptionsOrBuilder getOptionsOrBuilder() {
    * 
* * .google.spanner.v1.RequestOptions request_options = 3; + * * @return Whether the requestOptions field is set. */ @java.lang.Override @@ -152,6 +200,8 @@ public boolean hasRequestOptions() { return requestOptions_ != null; } /** + * + * *
    * Common options for this request.
    * Priority is ignored for this request. Setting the priority in this
@@ -161,13 +211,18 @@ public boolean hasRequestOptions() {
    * 
* * .google.spanner.v1.RequestOptions request_options = 3; + * * @return The requestOptions. */ @java.lang.Override public com.google.spanner.v1.RequestOptions getRequestOptions() { - return requestOptions_ == null ? com.google.spanner.v1.RequestOptions.getDefaultInstance() : requestOptions_; + return requestOptions_ == null + ? com.google.spanner.v1.RequestOptions.getDefaultInstance() + : requestOptions_; } /** + * + * *
    * Common options for this request.
    * Priority is ignored for this request. Setting the priority in this
@@ -180,10 +235,13 @@ public com.google.spanner.v1.RequestOptions getRequestOptions() {
    */
   @java.lang.Override
   public com.google.spanner.v1.RequestOptionsOrBuilder getRequestOptionsOrBuilder() {
-    return requestOptions_ == null ? com.google.spanner.v1.RequestOptions.getDefaultInstance() : requestOptions_;
+    return requestOptions_ == null
+        ? com.google.spanner.v1.RequestOptions.getDefaultInstance()
+        : requestOptions_;
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -195,8 +253,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(session_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, session_);
     }
@@ -219,12 +276,10 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, session_);
     }
     if (options_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getOptions());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getOptions());
     }
     if (requestOptions_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getRequestOptions());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRequestOptions());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -234,24 +289,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.spanner.v1.BeginTransactionRequest)) {
       return super.equals(obj);
     }
-    com.google.spanner.v1.BeginTransactionRequest other = (com.google.spanner.v1.BeginTransactionRequest) obj;
+    com.google.spanner.v1.BeginTransactionRequest other =
+        (com.google.spanner.v1.BeginTransactionRequest) obj;
 
-    if (!getSession()
-        .equals(other.getSession())) return false;
+    if (!getSession().equals(other.getSession())) return false;
     if (hasOptions() != other.hasOptions()) return false;
     if (hasOptions()) {
-      if (!getOptions()
-          .equals(other.getOptions())) return false;
+      if (!getOptions().equals(other.getOptions())) return false;
     }
     if (hasRequestOptions() != other.hasRequestOptions()) return false;
     if (hasRequestOptions()) {
-      if (!getRequestOptions()
-          .equals(other.getRequestOptions())) return false;
+      if (!getRequestOptions().equals(other.getRequestOptions())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -279,130 +332,136 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.spanner.v1.BeginTransactionRequest parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.spanner.v1.BeginTransactionRequest parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.spanner.v1.BeginTransactionRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.spanner.v1.BeginTransactionRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.spanner.v1.BeginTransactionRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.spanner.v1.BeginTransactionRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.spanner.v1.BeginTransactionRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.spanner.v1.BeginTransactionRequest parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.spanner.v1.BeginTransactionRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.spanner.v1.BeginTransactionRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.spanner.v1.BeginTransactionRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.spanner.v1.BeginTransactionRequest parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.spanner.v1.BeginTransactionRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.spanner.v1.BeginTransactionRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.spanner.v1.BeginTransactionRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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 [BeginTransaction][google.spanner.v1.Spanner.BeginTransaction].
    * 
* * Protobuf type {@code google.spanner.v1.BeginTransactionRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.BeginTransactionRequest) com.google.spanner.v1.BeginTransactionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_BeginTransactionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_BeginTransactionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_BeginTransactionRequest_fieldAccessorTable + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_BeginTransactionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.BeginTransactionRequest.class, com.google.spanner.v1.BeginTransactionRequest.Builder.class); + com.google.spanner.v1.BeginTransactionRequest.class, + com.google.spanner.v1.BeginTransactionRequest.Builder.class); } // Construct using com.google.spanner.v1.BeginTransactionRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -422,9 +481,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_BeginTransactionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_BeginTransactionRequest_descriptor; } @java.lang.Override @@ -443,8 +502,11 @@ public com.google.spanner.v1.BeginTransactionRequest build() { @java.lang.Override public com.google.spanner.v1.BeginTransactionRequest buildPartial() { - com.google.spanner.v1.BeginTransactionRequest result = new com.google.spanner.v1.BeginTransactionRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.spanner.v1.BeginTransactionRequest result = + new com.google.spanner.v1.BeginTransactionRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -455,14 +517,11 @@ private void buildPartial0(com.google.spanner.v1.BeginTransactionRequest result) result.session_ = session_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.options_ = optionsBuilder_ == null - ? options_ - : optionsBuilder_.build(); + result.options_ = optionsBuilder_ == null ? options_ : optionsBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.requestOptions_ = requestOptionsBuilder_ == null - ? requestOptions_ - : requestOptionsBuilder_.build(); + result.requestOptions_ = + requestOptionsBuilder_ == null ? requestOptions_ : requestOptionsBuilder_.build(); } } @@ -470,38 +529,39 @@ private void buildPartial0(com.google.spanner.v1.BeginTransactionRequest 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.spanner.v1.BeginTransactionRequest) { - return mergeFrom((com.google.spanner.v1.BeginTransactionRequest)other); + return mergeFrom((com.google.spanner.v1.BeginTransactionRequest) other); } else { super.mergeFrom(other); return this; @@ -547,31 +607,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - session_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getOptionsFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getRequestOptionsFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + session_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getOptionsFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getRequestOptionsFieldBuilder().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,22 +641,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object session_ = ""; /** + * + * *
      * Required. The session in which the transaction runs.
      * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The session. */ public java.lang.String getSession() { java.lang.Object ref = session_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); session_ = s; return s; @@ -605,20 +670,23 @@ public java.lang.String getSession() { } } /** + * + * *
      * Required. The session in which the transaction runs.
      * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for session. */ - public com.google.protobuf.ByteString - getSessionBytes() { + public com.google.protobuf.ByteString getSessionBytes() { java.lang.Object ref = session_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); session_ = b; return b; } else { @@ -626,28 +694,39 @@ public java.lang.String getSession() { } } /** + * + * *
      * Required. The session in which the transaction runs.
      * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The session to set. * @return This builder for chaining. */ - public Builder setSession( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSession(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } session_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The session in which the transaction runs.
      * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearSession() { @@ -657,17 +736,23 @@ public Builder clearSession() { return this; } /** + * + * *
      * Required. The session in which the transaction runs.
      * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for session to set. * @return This builder for chaining. */ - public Builder setSessionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSessionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); session_ = value; bitField0_ |= 0x00000001; @@ -677,39 +762,58 @@ public Builder setSessionBytes( private com.google.spanner.v1.TransactionOptions options_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.TransactionOptions, com.google.spanner.v1.TransactionOptions.Builder, com.google.spanner.v1.TransactionOptionsOrBuilder> optionsBuilder_; + com.google.spanner.v1.TransactionOptions, + com.google.spanner.v1.TransactionOptions.Builder, + com.google.spanner.v1.TransactionOptionsOrBuilder> + optionsBuilder_; /** + * + * *
      * Required. Options for the new transaction.
      * 
* - * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the options field is set. */ public boolean hasOptions() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. Options for the new transaction.
      * 
* - * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The options. */ public com.google.spanner.v1.TransactionOptions getOptions() { if (optionsBuilder_ == null) { - return options_ == null ? com.google.spanner.v1.TransactionOptions.getDefaultInstance() : options_; + return options_ == null + ? com.google.spanner.v1.TransactionOptions.getDefaultInstance() + : options_; } else { return optionsBuilder_.getMessage(); } } /** + * + * *
      * Required. Options for the new transaction.
      * 
* - * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setOptions(com.google.spanner.v1.TransactionOptions value) { if (optionsBuilder_ == null) { @@ -725,14 +829,17 @@ public Builder setOptions(com.google.spanner.v1.TransactionOptions value) { return this; } /** + * + * *
      * Required. Options for the new transaction.
      * 
* - * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setOptions( - com.google.spanner.v1.TransactionOptions.Builder builderForValue) { + public Builder setOptions(com.google.spanner.v1.TransactionOptions.Builder builderForValue) { if (optionsBuilder_ == null) { options_ = builderForValue.build(); } else { @@ -743,17 +850,21 @@ public Builder setOptions( return this; } /** + * + * *
      * Required. Options for the new transaction.
      * 
* - * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeOptions(com.google.spanner.v1.TransactionOptions value) { if (optionsBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - options_ != null && - options_ != com.google.spanner.v1.TransactionOptions.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && options_ != null + && options_ != com.google.spanner.v1.TransactionOptions.getDefaultInstance()) { getOptionsBuilder().mergeFrom(value); } else { options_ = value; @@ -766,11 +877,15 @@ public Builder mergeOptions(com.google.spanner.v1.TransactionOptions value) { return this; } /** + * + * *
      * Required. Options for the new transaction.
      * 
* - * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearOptions() { bitField0_ = (bitField0_ & ~0x00000002); @@ -783,11 +898,15 @@ public Builder clearOptions() { return this; } /** + * + * *
      * Required. Options for the new transaction.
      * 
* - * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.spanner.v1.TransactionOptions.Builder getOptionsBuilder() { bitField0_ |= 0x00000002; @@ -795,36 +914,48 @@ public com.google.spanner.v1.TransactionOptions.Builder getOptionsBuilder() { return getOptionsFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Options for the new transaction.
      * 
* - * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.spanner.v1.TransactionOptionsOrBuilder getOptionsOrBuilder() { if (optionsBuilder_ != null) { return optionsBuilder_.getMessageOrBuilder(); } else { - return options_ == null ? - com.google.spanner.v1.TransactionOptions.getDefaultInstance() : options_; + return options_ == null + ? com.google.spanner.v1.TransactionOptions.getDefaultInstance() + : options_; } } /** + * + * *
      * Required. Options for the new transaction.
      * 
* - * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.TransactionOptions, com.google.spanner.v1.TransactionOptions.Builder, com.google.spanner.v1.TransactionOptionsOrBuilder> + com.google.spanner.v1.TransactionOptions, + com.google.spanner.v1.TransactionOptions.Builder, + com.google.spanner.v1.TransactionOptionsOrBuilder> getOptionsFieldBuilder() { if (optionsBuilder_ == null) { - optionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.TransactionOptions, com.google.spanner.v1.TransactionOptions.Builder, com.google.spanner.v1.TransactionOptionsOrBuilder>( - getOptions(), - getParentForChildren(), - isClean()); + optionsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.v1.TransactionOptions, + com.google.spanner.v1.TransactionOptions.Builder, + com.google.spanner.v1.TransactionOptionsOrBuilder>( + getOptions(), getParentForChildren(), isClean()); options_ = null; } return optionsBuilder_; @@ -832,8 +963,13 @@ public com.google.spanner.v1.TransactionOptionsOrBuilder getOptionsOrBuilder() { private com.google.spanner.v1.RequestOptions requestOptions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.RequestOptions, com.google.spanner.v1.RequestOptions.Builder, com.google.spanner.v1.RequestOptionsOrBuilder> requestOptionsBuilder_; + com.google.spanner.v1.RequestOptions, + com.google.spanner.v1.RequestOptions.Builder, + com.google.spanner.v1.RequestOptionsOrBuilder> + requestOptionsBuilder_; /** + * + * *
      * Common options for this request.
      * Priority is ignored for this request. Setting the priority in this
@@ -843,12 +979,15 @@ public com.google.spanner.v1.TransactionOptionsOrBuilder getOptionsOrBuilder() {
      * 
* * .google.spanner.v1.RequestOptions request_options = 3; + * * @return Whether the requestOptions field is set. */ public boolean hasRequestOptions() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Common options for this request.
      * Priority is ignored for this request. Setting the priority in this
@@ -858,16 +997,21 @@ public boolean hasRequestOptions() {
      * 
* * .google.spanner.v1.RequestOptions request_options = 3; + * * @return The requestOptions. */ public com.google.spanner.v1.RequestOptions getRequestOptions() { if (requestOptionsBuilder_ == null) { - return requestOptions_ == null ? com.google.spanner.v1.RequestOptions.getDefaultInstance() : requestOptions_; + return requestOptions_ == null + ? com.google.spanner.v1.RequestOptions.getDefaultInstance() + : requestOptions_; } else { return requestOptionsBuilder_.getMessage(); } } /** + * + * *
      * Common options for this request.
      * Priority is ignored for this request. Setting the priority in this
@@ -892,6 +1036,8 @@ public Builder setRequestOptions(com.google.spanner.v1.RequestOptions value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Common options for this request.
      * Priority is ignored for this request. Setting the priority in this
@@ -902,8 +1048,7 @@ public Builder setRequestOptions(com.google.spanner.v1.RequestOptions value) {
      *
      * .google.spanner.v1.RequestOptions request_options = 3;
      */
-    public Builder setRequestOptions(
-        com.google.spanner.v1.RequestOptions.Builder builderForValue) {
+    public Builder setRequestOptions(com.google.spanner.v1.RequestOptions.Builder builderForValue) {
       if (requestOptionsBuilder_ == null) {
         requestOptions_ = builderForValue.build();
       } else {
@@ -914,6 +1059,8 @@ public Builder setRequestOptions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Common options for this request.
      * Priority is ignored for this request. Setting the priority in this
@@ -926,9 +1073,9 @@ public Builder setRequestOptions(
      */
     public Builder mergeRequestOptions(com.google.spanner.v1.RequestOptions value) {
       if (requestOptionsBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0) &&
-          requestOptions_ != null &&
-          requestOptions_ != com.google.spanner.v1.RequestOptions.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0)
+            && requestOptions_ != null
+            && requestOptions_ != com.google.spanner.v1.RequestOptions.getDefaultInstance()) {
           getRequestOptionsBuilder().mergeFrom(value);
         } else {
           requestOptions_ = value;
@@ -941,6 +1088,8 @@ public Builder mergeRequestOptions(com.google.spanner.v1.RequestOptions value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Common options for this request.
      * Priority is ignored for this request. Setting the priority in this
@@ -962,6 +1111,8 @@ public Builder clearRequestOptions() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Common options for this request.
      * Priority is ignored for this request. Setting the priority in this
@@ -978,6 +1129,8 @@ public com.google.spanner.v1.RequestOptions.Builder getRequestOptionsBuilder() {
       return getRequestOptionsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Common options for this request.
      * Priority is ignored for this request. Setting the priority in this
@@ -992,11 +1145,14 @@ public com.google.spanner.v1.RequestOptionsOrBuilder getRequestOptionsOrBuilder(
       if (requestOptionsBuilder_ != null) {
         return requestOptionsBuilder_.getMessageOrBuilder();
       } else {
-        return requestOptions_ == null ?
-            com.google.spanner.v1.RequestOptions.getDefaultInstance() : requestOptions_;
+        return requestOptions_ == null
+            ? com.google.spanner.v1.RequestOptions.getDefaultInstance()
+            : requestOptions_;
       }
     }
     /**
+     *
+     *
      * 
      * Common options for this request.
      * Priority is ignored for this request. Setting the priority in this
@@ -1008,21 +1164,24 @@ public com.google.spanner.v1.RequestOptionsOrBuilder getRequestOptionsOrBuilder(
      * .google.spanner.v1.RequestOptions request_options = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.spanner.v1.RequestOptions, com.google.spanner.v1.RequestOptions.Builder, com.google.spanner.v1.RequestOptionsOrBuilder> 
+            com.google.spanner.v1.RequestOptions,
+            com.google.spanner.v1.RequestOptions.Builder,
+            com.google.spanner.v1.RequestOptionsOrBuilder>
         getRequestOptionsFieldBuilder() {
       if (requestOptionsBuilder_ == null) {
-        requestOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.RequestOptions, com.google.spanner.v1.RequestOptions.Builder, com.google.spanner.v1.RequestOptionsOrBuilder>(
-                getRequestOptions(),
-                getParentForChildren(),
-                isClean());
+        requestOptionsBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.spanner.v1.RequestOptions,
+                com.google.spanner.v1.RequestOptions.Builder,
+                com.google.spanner.v1.RequestOptionsOrBuilder>(
+                getRequestOptions(), getParentForChildren(), isClean());
         requestOptions_ = null;
       }
       return requestOptionsBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1032,12 +1191,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.spanner.v1.BeginTransactionRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.spanner.v1.BeginTransactionRequest)
   private static final com.google.spanner.v1.BeginTransactionRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.spanner.v1.BeginTransactionRequest();
   }
@@ -1046,27 +1205,27 @@ public static com.google.spanner.v1.BeginTransactionRequest getDefaultInstance()
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public BeginTransactionRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public BeginTransactionRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1081,6 +1240,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.spanner.v1.BeginTransactionRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BeginTransactionRequestOrBuilder.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BeginTransactionRequestOrBuilder.java
similarity index 63%
rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BeginTransactionRequestOrBuilder.java
rename to proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BeginTransactionRequestOrBuilder.java
index 6a610a9f22f..61c73dbe378 100644
--- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BeginTransactionRequestOrBuilder.java
+++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BeginTransactionRequestOrBuilder.java
@@ -1,60 +1,101 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/v1/spanner.proto
 
 package com.google.spanner.v1;
 
-public interface BeginTransactionRequestOrBuilder extends
+public interface BeginTransactionRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.spanner.v1.BeginTransactionRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The session in which the transaction runs.
    * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The session. */ java.lang.String getSession(); /** + * + * *
    * Required. The session in which the transaction runs.
    * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for session. */ - com.google.protobuf.ByteString - getSessionBytes(); + com.google.protobuf.ByteString getSessionBytes(); /** + * + * *
    * Required. Options for the new transaction.
    * 
* - * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the options field is set. */ boolean hasOptions(); /** + * + * *
    * Required. Options for the new transaction.
    * 
* - * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The options. */ com.google.spanner.v1.TransactionOptions getOptions(); /** + * + * *
    * Required. Options for the new transaction.
    * 
* - * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.v1.TransactionOptions options = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.spanner.v1.TransactionOptionsOrBuilder getOptionsOrBuilder(); /** + * + * *
    * Common options for this request.
    * Priority is ignored for this request. Setting the priority in this
@@ -64,10 +105,13 @@ public interface BeginTransactionRequestOrBuilder extends
    * 
* * .google.spanner.v1.RequestOptions request_options = 3; + * * @return Whether the requestOptions field is set. */ boolean hasRequestOptions(); /** + * + * *
    * Common options for this request.
    * Priority is ignored for this request. Setting the priority in this
@@ -77,10 +121,13 @@ public interface BeginTransactionRequestOrBuilder extends
    * 
* * .google.spanner.v1.RequestOptions request_options = 3; + * * @return The requestOptions. */ com.google.spanner.v1.RequestOptions getRequestOptions(); /** + * + * *
    * Common options for this request.
    * Priority is ignored for this request. Setting the priority in this
diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitRequest.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitRequest.java
similarity index 75%
rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitRequest.java
rename to proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitRequest.java
index 0e515bc79c7..9d5d7d5891b 100644
--- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitRequest.java
+++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitRequest.java
@@ -1,24 +1,42 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/v1/spanner.proto
 
 package com.google.spanner.v1;
 
 /**
+ *
+ *
  * 
  * The request for [Commit][google.spanner.v1.Spanner.Commit].
  * 
* * Protobuf type {@code google.spanner.v1.CommitRequest} */ -public final class CommitRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CommitRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.spanner.v1.CommitRequest) CommitRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CommitRequest.newBuilder() to construct. private CommitRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CommitRequest() { session_ = ""; mutations_ = java.util.Collections.emptyList(); @@ -26,38 +44,42 @@ private CommitRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CommitRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_CommitRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_CommitRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_CommitRequest_fieldAccessorTable + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_CommitRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.CommitRequest.class, com.google.spanner.v1.CommitRequest.Builder.class); + com.google.spanner.v1.CommitRequest.class, + com.google.spanner.v1.CommitRequest.Builder.class); } private int transactionCase_ = 0; private java.lang.Object transaction_; + public enum TransactionCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { TRANSACTION_ID(2), SINGLE_USE_TRANSACTION(3), TRANSACTION_NOT_SET(0); private final int value; + private TransactionCase(int value) { this.value = value; } @@ -73,32 +95,41 @@ public static TransactionCase valueOf(int value) { public static TransactionCase forNumber(int value) { switch (value) { - case 2: return TRANSACTION_ID; - case 3: return SINGLE_USE_TRANSACTION; - case 0: return TRANSACTION_NOT_SET; - default: return null; + case 2: + return TRANSACTION_ID; + case 3: + return SINGLE_USE_TRANSACTION; + case 0: + return TRANSACTION_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public TransactionCase - getTransactionCase() { - return TransactionCase.forNumber( - transactionCase_); + public TransactionCase getTransactionCase() { + return TransactionCase.forNumber(transactionCase_); } public static final int SESSION_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object session_ = ""; /** + * + * *
    * Required. The session in which the transaction to be committed is running.
    * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The session. */ @java.lang.Override @@ -107,29 +138,31 @@ public java.lang.String getSession() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); session_ = s; return s; } } /** + * + * *
    * Required. The session in which the transaction to be committed is running.
    * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for session. */ @java.lang.Override - public com.google.protobuf.ByteString - getSessionBytes() { + public com.google.protobuf.ByteString getSessionBytes() { java.lang.Object ref = session_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); session_ = b; return b; } else { @@ -139,11 +172,14 @@ public java.lang.String getSession() { public static final int TRANSACTION_ID_FIELD_NUMBER = 2; /** + * + * *
    * Commit a previously-started transaction.
    * 
* * bytes transaction_id = 2; + * * @return Whether the transactionId field is set. */ @java.lang.Override @@ -151,11 +187,14 @@ public boolean hasTransactionId() { return transactionCase_ == 2; } /** + * + * *
    * Commit a previously-started transaction.
    * 
* * bytes transaction_id = 2; + * * @return The transactionId. */ @java.lang.Override @@ -168,6 +207,8 @@ public com.google.protobuf.ByteString getTransactionId() { public static final int SINGLE_USE_TRANSACTION_FIELD_NUMBER = 3; /** + * + * *
    * Execute mutations in a temporary transaction. Note that unlike
    * commit of a previously-started transaction, commit with a
@@ -181,6 +222,7 @@ public com.google.protobuf.ByteString getTransactionId() {
    * 
* * .google.spanner.v1.TransactionOptions single_use_transaction = 3; + * * @return Whether the singleUseTransaction field is set. */ @java.lang.Override @@ -188,6 +230,8 @@ public boolean hasSingleUseTransaction() { return transactionCase_ == 3; } /** + * + * *
    * Execute mutations in a temporary transaction. Note that unlike
    * commit of a previously-started transaction, commit with a
@@ -201,16 +245,19 @@ public boolean hasSingleUseTransaction() {
    * 
* * .google.spanner.v1.TransactionOptions single_use_transaction = 3; + * * @return The singleUseTransaction. */ @java.lang.Override public com.google.spanner.v1.TransactionOptions getSingleUseTransaction() { if (transactionCase_ == 3) { - return (com.google.spanner.v1.TransactionOptions) transaction_; + return (com.google.spanner.v1.TransactionOptions) transaction_; } return com.google.spanner.v1.TransactionOptions.getDefaultInstance(); } /** + * + * *
    * Execute mutations in a temporary transaction. Note that unlike
    * commit of a previously-started transaction, commit with a
@@ -228,15 +275,18 @@ public com.google.spanner.v1.TransactionOptions getSingleUseTransaction() {
   @java.lang.Override
   public com.google.spanner.v1.TransactionOptionsOrBuilder getSingleUseTransactionOrBuilder() {
     if (transactionCase_ == 3) {
-       return (com.google.spanner.v1.TransactionOptions) transaction_;
+      return (com.google.spanner.v1.TransactionOptions) transaction_;
     }
     return com.google.spanner.v1.TransactionOptions.getDefaultInstance();
   }
 
   public static final int MUTATIONS_FIELD_NUMBER = 4;
+
   @SuppressWarnings("serial")
   private java.util.List mutations_;
   /**
+   *
+   *
    * 
    * The mutations to be executed when this transaction commits. All
    * mutations are applied atomically, in the order they appear in
@@ -250,6 +300,8 @@ public java.util.List getMutationsList() {
     return mutations_;
   }
   /**
+   *
+   *
    * 
    * The mutations to be executed when this transaction commits. All
    * mutations are applied atomically, in the order they appear in
@@ -259,11 +311,13 @@ public java.util.List getMutationsList() {
    * repeated .google.spanner.v1.Mutation mutations = 4;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getMutationsOrBuilderList() {
     return mutations_;
   }
   /**
+   *
+   *
    * 
    * The mutations to be executed when this transaction commits. All
    * mutations are applied atomically, in the order they appear in
@@ -277,6 +331,8 @@ public int getMutationsCount() {
     return mutations_.size();
   }
   /**
+   *
+   *
    * 
    * The mutations to be executed when this transaction commits. All
    * mutations are applied atomically, in the order they appear in
@@ -290,6 +346,8 @@ public com.google.spanner.v1.Mutation getMutations(int index) {
     return mutations_.get(index);
   }
   /**
+   *
+   *
    * 
    * The mutations to be executed when this transaction commits. All
    * mutations are applied atomically, in the order they appear in
@@ -299,14 +357,15 @@ public com.google.spanner.v1.Mutation getMutations(int index) {
    * repeated .google.spanner.v1.Mutation mutations = 4;
    */
   @java.lang.Override
-  public com.google.spanner.v1.MutationOrBuilder getMutationsOrBuilder(
-      int index) {
+  public com.google.spanner.v1.MutationOrBuilder getMutationsOrBuilder(int index) {
     return mutations_.get(index);
   }
 
   public static final int RETURN_COMMIT_STATS_FIELD_NUMBER = 5;
   private boolean returnCommitStats_ = false;
   /**
+   *
+   *
    * 
    * If `true`, then statistics related to the transaction will be included in
    * the [CommitResponse][google.spanner.v1.CommitResponse.commit_stats]. Default value is
@@ -314,6 +373,7 @@ public com.google.spanner.v1.MutationOrBuilder getMutationsOrBuilder(
    * 
* * bool return_commit_stats = 5; + * * @return The returnCommitStats. */ @java.lang.Override @@ -324,11 +384,14 @@ public boolean getReturnCommitStats() { public static final int REQUEST_OPTIONS_FIELD_NUMBER = 6; private com.google.spanner.v1.RequestOptions requestOptions_; /** + * + * *
    * Common options for this request.
    * 
* * .google.spanner.v1.RequestOptions request_options = 6; + * * @return Whether the requestOptions field is set. */ @java.lang.Override @@ -336,18 +399,25 @@ public boolean hasRequestOptions() { return requestOptions_ != null; } /** + * + * *
    * Common options for this request.
    * 
* * .google.spanner.v1.RequestOptions request_options = 6; + * * @return The requestOptions. */ @java.lang.Override public com.google.spanner.v1.RequestOptions getRequestOptions() { - return requestOptions_ == null ? com.google.spanner.v1.RequestOptions.getDefaultInstance() : requestOptions_; + return requestOptions_ == null + ? com.google.spanner.v1.RequestOptions.getDefaultInstance() + : requestOptions_; } /** + * + * *
    * Common options for this request.
    * 
@@ -356,10 +426,13 @@ public com.google.spanner.v1.RequestOptions getRequestOptions() { */ @java.lang.Override public com.google.spanner.v1.RequestOptionsOrBuilder getRequestOptionsOrBuilder() { - return requestOptions_ == null ? com.google.spanner.v1.RequestOptions.getDefaultInstance() : requestOptions_; + return requestOptions_ == null + ? com.google.spanner.v1.RequestOptions.getDefaultInstance() + : requestOptions_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -371,14 +444,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(session_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, session_); } if (transactionCase_ == 2) { - output.writeBytes( - 2, (com.google.protobuf.ByteString) transaction_); + output.writeBytes(2, (com.google.protobuf.ByteString) transaction_); } if (transactionCase_ == 3) { output.writeMessage(3, (com.google.spanner.v1.TransactionOptions) transaction_); @@ -405,25 +476,23 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, session_); } if (transactionCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize( - 2, (com.google.protobuf.ByteString) transaction_); + size += + com.google.protobuf.CodedOutputStream.computeBytesSize( + 2, (com.google.protobuf.ByteString) transaction_); } if (transactionCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.spanner.v1.TransactionOptions) transaction_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.spanner.v1.TransactionOptions) transaction_); } for (int i = 0; i < mutations_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, mutations_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, mutations_.get(i)); } if (returnCommitStats_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, returnCommitStats_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, returnCommitStats_); } if (requestOptions_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getRequestOptions()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getRequestOptions()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -433,33 +502,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.spanner.v1.CommitRequest)) { return super.equals(obj); } com.google.spanner.v1.CommitRequest other = (com.google.spanner.v1.CommitRequest) obj; - if (!getSession() - .equals(other.getSession())) return false; - if (!getMutationsList() - .equals(other.getMutationsList())) return false; - if (getReturnCommitStats() - != other.getReturnCommitStats()) return false; + if (!getSession().equals(other.getSession())) return false; + if (!getMutationsList().equals(other.getMutationsList())) return false; + if (getReturnCommitStats() != other.getReturnCommitStats()) return false; if (hasRequestOptions() != other.hasRequestOptions()) return false; if (hasRequestOptions()) { - if (!getRequestOptions() - .equals(other.getRequestOptions())) return false; + if (!getRequestOptions().equals(other.getRequestOptions())) return false; } if (!getTransactionCase().equals(other.getTransactionCase())) return false; switch (transactionCase_) { case 2: - if (!getTransactionId() - .equals(other.getTransactionId())) return false; + if (!getTransactionId().equals(other.getTransactionId())) return false; break; case 3: - if (!getSingleUseTransaction() - .equals(other.getSingleUseTransaction())) return false; + if (!getSingleUseTransaction().equals(other.getSingleUseTransaction())) return false; break; case 0: default: @@ -482,8 +545,7 @@ public int hashCode() { hash = (53 * hash) + getMutationsList().hashCode(); } hash = (37 * hash) + RETURN_COMMIT_STATS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getReturnCommitStats()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReturnCommitStats()); if (hasRequestOptions()) { hash = (37 * hash) + REQUEST_OPTIONS_FIELD_NUMBER; hash = (53 * hash) + getRequestOptions().hashCode(); @@ -505,130 +567,135 @@ public int hashCode() { return hash; } - public static com.google.spanner.v1.CommitRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.spanner.v1.CommitRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.CommitRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.CommitRequest parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.spanner.v1.CommitRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.CommitRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.v1.CommitRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.CommitRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.v1.CommitRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.v1.CommitRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.spanner.v1.CommitRequest 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.spanner.v1.CommitRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.spanner.v1.CommitRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.v1.CommitRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.spanner.v1.CommitRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [Commit][google.spanner.v1.Spanner.Commit].
    * 
* * Protobuf type {@code google.spanner.v1.CommitRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.CommitRequest) com.google.spanner.v1.CommitRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_CommitRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_CommitRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_CommitRequest_fieldAccessorTable + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_CommitRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.CommitRequest.class, com.google.spanner.v1.CommitRequest.Builder.class); + com.google.spanner.v1.CommitRequest.class, + com.google.spanner.v1.CommitRequest.Builder.class); } // Construct using com.google.spanner.v1.CommitRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -656,9 +723,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_CommitRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_CommitRequest_descriptor; } @java.lang.Override @@ -679,7 +746,9 @@ public com.google.spanner.v1.CommitRequest build() { public com.google.spanner.v1.CommitRequest buildPartial() { com.google.spanner.v1.CommitRequest result = new com.google.spanner.v1.CommitRequest(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -706,17 +775,15 @@ private void buildPartial0(com.google.spanner.v1.CommitRequest result) { result.returnCommitStats_ = returnCommitStats_; } if (((from_bitField0_ & 0x00000020) != 0)) { - result.requestOptions_ = requestOptionsBuilder_ == null - ? requestOptions_ - : requestOptionsBuilder_.build(); + result.requestOptions_ = + requestOptionsBuilder_ == null ? requestOptions_ : requestOptionsBuilder_.build(); } } private void buildPartialOneofs(com.google.spanner.v1.CommitRequest result) { result.transactionCase_ = transactionCase_; result.transaction_ = this.transaction_; - if (transactionCase_ == 3 && - singleUseTransactionBuilder_ != null) { + if (transactionCase_ == 3 && singleUseTransactionBuilder_ != null) { result.transaction_ = singleUseTransactionBuilder_.build(); } } @@ -725,38 +792,39 @@ private void buildPartialOneofs(com.google.spanner.v1.CommitRequest 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.spanner.v1.CommitRequest) { - return mergeFrom((com.google.spanner.v1.CommitRequest)other); + return mergeFrom((com.google.spanner.v1.CommitRequest) other); } else { super.mergeFrom(other); return this; @@ -788,9 +856,10 @@ public Builder mergeFrom(com.google.spanner.v1.CommitRequest 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_); } @@ -803,17 +872,20 @@ public Builder mergeFrom(com.google.spanner.v1.CommitRequest other) { mergeRequestOptions(other.getRequestOptions()); } switch (other.getTransactionCase()) { - case TRANSACTION_ID: { - setTransactionId(other.getTransactionId()); - break; - } - case SINGLE_USE_TRANSACTION: { - mergeSingleUseTransaction(other.getSingleUseTransaction()); - break; - } - case TRANSACTION_NOT_SET: { - break; - } + case TRANSACTION_ID: + { + setTransactionId(other.getTransactionId()); + break; + } + case SINGLE_USE_TRANSACTION: + { + mergeSingleUseTransaction(other.getSingleUseTransaction()); + break; + } + case TRANSACTION_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -841,54 +913,56 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - session_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - transaction_ = input.readBytes(); - transactionCase_ = 2; - break; - } // case 18 - case 26: { - input.readMessage( - getSingleUseTransactionFieldBuilder().getBuilder(), - extensionRegistry); - transactionCase_ = 3; - break; - } // case 26 - case 34: { - com.google.spanner.v1.Mutation m = - input.readMessage( - com.google.spanner.v1.Mutation.parser(), - extensionRegistry); - if (mutationsBuilder_ == null) { - ensureMutationsIsMutable(); - mutations_.add(m); - } else { - mutationsBuilder_.addMessage(m); - } - break; - } // case 34 - case 40: { - returnCommitStats_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - case 50: { - input.readMessage( - getRequestOptionsFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 50 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + session_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + transaction_ = input.readBytes(); + transactionCase_ = 2; + break; + } // case 18 + case 26: + { + input.readMessage( + getSingleUseTransactionFieldBuilder().getBuilder(), extensionRegistry); + transactionCase_ = 3; + break; + } // case 26 + case 34: + { + com.google.spanner.v1.Mutation m = + input.readMessage(com.google.spanner.v1.Mutation.parser(), extensionRegistry); + if (mutationsBuilder_ == null) { + ensureMutationsIsMutable(); + mutations_.add(m); + } else { + mutationsBuilder_.addMessage(m); + } + break; + } // case 34 + case 40: + { + returnCommitStats_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 50: + { + input.readMessage(getRequestOptionsFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000020; + 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) { @@ -898,12 +972,12 @@ public Builder mergeFrom( } // finally return this; } + private int transactionCase_ = 0; private java.lang.Object transaction_; - public TransactionCase - getTransactionCase() { - return TransactionCase.forNumber( - transactionCase_); + + public TransactionCase getTransactionCase() { + return TransactionCase.forNumber(transactionCase_); } public Builder clearTransaction() { @@ -917,18 +991,22 @@ public Builder clearTransaction() { private java.lang.Object session_ = ""; /** + * + * *
      * Required. The session in which the transaction to be committed is running.
      * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The session. */ public java.lang.String getSession() { java.lang.Object ref = session_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); session_ = s; return s; @@ -937,20 +1015,23 @@ public java.lang.String getSession() { } } /** + * + * *
      * Required. The session in which the transaction to be committed is running.
      * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for session. */ - public com.google.protobuf.ByteString - getSessionBytes() { + public com.google.protobuf.ByteString getSessionBytes() { java.lang.Object ref = session_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); session_ = b; return b; } else { @@ -958,28 +1039,39 @@ public java.lang.String getSession() { } } /** + * + * *
      * Required. The session in which the transaction to be committed is running.
      * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The session to set. * @return This builder for chaining. */ - public Builder setSession( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSession(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } session_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The session in which the transaction to be committed is running.
      * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearSession() { @@ -989,17 +1081,23 @@ public Builder clearSession() { return this; } /** + * + * *
      * Required. The session in which the transaction to be committed is running.
      * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for session to set. * @return This builder for chaining. */ - public Builder setSessionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSessionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); session_ = value; bitField0_ |= 0x00000001; @@ -1008,22 +1106,28 @@ public Builder setSessionBytes( } /** + * + * *
      * Commit a previously-started transaction.
      * 
* * bytes transaction_id = 2; + * * @return Whether the transactionId field is set. */ public boolean hasTransactionId() { return transactionCase_ == 2; } /** + * + * *
      * Commit a previously-started transaction.
      * 
* * bytes transaction_id = 2; + * * @return The transactionId. */ public com.google.protobuf.ByteString getTransactionId() { @@ -1033,27 +1137,35 @@ public com.google.protobuf.ByteString getTransactionId() { return com.google.protobuf.ByteString.EMPTY; } /** + * + * *
      * Commit a previously-started transaction.
      * 
* * bytes transaction_id = 2; + * * @param value The transactionId to set. * @return This builder for chaining. */ public Builder setTransactionId(com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + if (value == null) { + throw new NullPointerException(); + } transactionCase_ = 2; transaction_ = value; onChanged(); return this; } /** + * + * *
      * Commit a previously-started transaction.
      * 
* * bytes transaction_id = 2; + * * @return This builder for chaining. */ public Builder clearTransactionId() { @@ -1066,8 +1178,13 @@ public Builder clearTransactionId() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.TransactionOptions, com.google.spanner.v1.TransactionOptions.Builder, com.google.spanner.v1.TransactionOptionsOrBuilder> singleUseTransactionBuilder_; + com.google.spanner.v1.TransactionOptions, + com.google.spanner.v1.TransactionOptions.Builder, + com.google.spanner.v1.TransactionOptionsOrBuilder> + singleUseTransactionBuilder_; /** + * + * *
      * Execute mutations in a temporary transaction. Note that unlike
      * commit of a previously-started transaction, commit with a
@@ -1081,6 +1198,7 @@ public Builder clearTransactionId() {
      * 
* * .google.spanner.v1.TransactionOptions single_use_transaction = 3; + * * @return Whether the singleUseTransaction field is set. */ @java.lang.Override @@ -1088,6 +1206,8 @@ public boolean hasSingleUseTransaction() { return transactionCase_ == 3; } /** + * + * *
      * Execute mutations in a temporary transaction. Note that unlike
      * commit of a previously-started transaction, commit with a
@@ -1101,6 +1221,7 @@ public boolean hasSingleUseTransaction() {
      * 
* * .google.spanner.v1.TransactionOptions single_use_transaction = 3; + * * @return The singleUseTransaction. */ @java.lang.Override @@ -1118,6 +1239,8 @@ public com.google.spanner.v1.TransactionOptions getSingleUseTransaction() { } } /** + * + * *
      * Execute mutations in a temporary transaction. Note that unlike
      * commit of a previously-started transaction, commit with a
@@ -1146,6 +1269,8 @@ public Builder setSingleUseTransaction(com.google.spanner.v1.TransactionOptions
       return this;
     }
     /**
+     *
+     *
      * 
      * Execute mutations in a temporary transaction. Note that unlike
      * commit of a previously-started transaction, commit with a
@@ -1172,6 +1297,8 @@ public Builder setSingleUseTransaction(
       return this;
     }
     /**
+     *
+     *
      * 
      * Execute mutations in a temporary transaction. Note that unlike
      * commit of a previously-started transaction, commit with a
@@ -1188,10 +1315,13 @@ public Builder setSingleUseTransaction(
      */
     public Builder mergeSingleUseTransaction(com.google.spanner.v1.TransactionOptions value) {
       if (singleUseTransactionBuilder_ == null) {
-        if (transactionCase_ == 3 &&
-            transaction_ != com.google.spanner.v1.TransactionOptions.getDefaultInstance()) {
-          transaction_ = com.google.spanner.v1.TransactionOptions.newBuilder((com.google.spanner.v1.TransactionOptions) transaction_)
-              .mergeFrom(value).buildPartial();
+        if (transactionCase_ == 3
+            && transaction_ != com.google.spanner.v1.TransactionOptions.getDefaultInstance()) {
+          transaction_ =
+              com.google.spanner.v1.TransactionOptions.newBuilder(
+                      (com.google.spanner.v1.TransactionOptions) transaction_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           transaction_ = value;
         }
@@ -1207,6 +1337,8 @@ public Builder mergeSingleUseTransaction(com.google.spanner.v1.TransactionOption
       return this;
     }
     /**
+     *
+     *
      * 
      * Execute mutations in a temporary transaction. Note that unlike
      * commit of a previously-started transaction, commit with a
@@ -1238,6 +1370,8 @@ public Builder clearSingleUseTransaction() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Execute mutations in a temporary transaction. Note that unlike
      * commit of a previously-started transaction, commit with a
@@ -1256,6 +1390,8 @@ public com.google.spanner.v1.TransactionOptions.Builder getSingleUseTransactionB
       return getSingleUseTransactionFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Execute mutations in a temporary transaction. Note that unlike
      * commit of a previously-started transaction, commit with a
@@ -1282,6 +1418,8 @@ public com.google.spanner.v1.TransactionOptionsOrBuilder getSingleUseTransaction
       }
     }
     /**
+     *
+     *
      * 
      * Execute mutations in a temporary transaction. Note that unlike
      * commit of a previously-started transaction, commit with a
@@ -1297,14 +1435,19 @@ public com.google.spanner.v1.TransactionOptionsOrBuilder getSingleUseTransaction
      * .google.spanner.v1.TransactionOptions single_use_transaction = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.spanner.v1.TransactionOptions, com.google.spanner.v1.TransactionOptions.Builder, com.google.spanner.v1.TransactionOptionsOrBuilder> 
+            com.google.spanner.v1.TransactionOptions,
+            com.google.spanner.v1.TransactionOptions.Builder,
+            com.google.spanner.v1.TransactionOptionsOrBuilder>
         getSingleUseTransactionFieldBuilder() {
       if (singleUseTransactionBuilder_ == null) {
         if (!(transactionCase_ == 3)) {
           transaction_ = com.google.spanner.v1.TransactionOptions.getDefaultInstance();
         }
-        singleUseTransactionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.TransactionOptions, com.google.spanner.v1.TransactionOptions.Builder, com.google.spanner.v1.TransactionOptionsOrBuilder>(
+        singleUseTransactionBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.spanner.v1.TransactionOptions,
+                com.google.spanner.v1.TransactionOptions.Builder,
+                com.google.spanner.v1.TransactionOptionsOrBuilder>(
                 (com.google.spanner.v1.TransactionOptions) transaction_,
                 getParentForChildren(),
                 isClean());
@@ -1316,18 +1459,24 @@ public com.google.spanner.v1.TransactionOptionsOrBuilder getSingleUseTransaction
     }
 
     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.spanner.v1.Mutation, com.google.spanner.v1.Mutation.Builder, com.google.spanner.v1.MutationOrBuilder> mutationsBuilder_;
+            com.google.spanner.v1.Mutation,
+            com.google.spanner.v1.Mutation.Builder,
+            com.google.spanner.v1.MutationOrBuilder>
+        mutationsBuilder_;
 
     /**
+     *
+     *
      * 
      * The mutations to be executed when this transaction commits. All
      * mutations are applied atomically, in the order they appear in
@@ -1344,6 +1493,8 @@ public java.util.List getMutationsList() {
       }
     }
     /**
+     *
+     *
      * 
      * The mutations to be executed when this transaction commits. All
      * mutations are applied atomically, in the order they appear in
@@ -1360,6 +1511,8 @@ public int getMutationsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The mutations to be executed when this transaction commits. All
      * mutations are applied atomically, in the order they appear in
@@ -1376,6 +1529,8 @@ public com.google.spanner.v1.Mutation getMutations(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The mutations to be executed when this transaction commits. All
      * mutations are applied atomically, in the order they appear in
@@ -1384,8 +1539,7 @@ public com.google.spanner.v1.Mutation getMutations(int index) {
      *
      * repeated .google.spanner.v1.Mutation mutations = 4;
      */
-    public Builder setMutations(
-        int index, com.google.spanner.v1.Mutation value) {
+    public Builder setMutations(int index, com.google.spanner.v1.Mutation value) {
       if (mutationsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1399,6 +1553,8 @@ public Builder setMutations(
       return this;
     }
     /**
+     *
+     *
      * 
      * The mutations to be executed when this transaction commits. All
      * mutations are applied atomically, in the order they appear in
@@ -1407,8 +1563,7 @@ public Builder setMutations(
      *
      * repeated .google.spanner.v1.Mutation mutations = 4;
      */
-    public Builder setMutations(
-        int index, com.google.spanner.v1.Mutation.Builder builderForValue) {
+    public Builder setMutations(int index, com.google.spanner.v1.Mutation.Builder builderForValue) {
       if (mutationsBuilder_ == null) {
         ensureMutationsIsMutable();
         mutations_.set(index, builderForValue.build());
@@ -1419,6 +1574,8 @@ public Builder setMutations(
       return this;
     }
     /**
+     *
+     *
      * 
      * The mutations to be executed when this transaction commits. All
      * mutations are applied atomically, in the order they appear in
@@ -1441,6 +1598,8 @@ public Builder addMutations(com.google.spanner.v1.Mutation value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The mutations to be executed when this transaction commits. All
      * mutations are applied atomically, in the order they appear in
@@ -1449,8 +1608,7 @@ public Builder addMutations(com.google.spanner.v1.Mutation value) {
      *
      * repeated .google.spanner.v1.Mutation mutations = 4;
      */
-    public Builder addMutations(
-        int index, com.google.spanner.v1.Mutation value) {
+    public Builder addMutations(int index, com.google.spanner.v1.Mutation value) {
       if (mutationsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1464,6 +1622,8 @@ public Builder addMutations(
       return this;
     }
     /**
+     *
+     *
      * 
      * The mutations to be executed when this transaction commits. All
      * mutations are applied atomically, in the order they appear in
@@ -1472,8 +1632,7 @@ public Builder addMutations(
      *
      * repeated .google.spanner.v1.Mutation mutations = 4;
      */
-    public Builder addMutations(
-        com.google.spanner.v1.Mutation.Builder builderForValue) {
+    public Builder addMutations(com.google.spanner.v1.Mutation.Builder builderForValue) {
       if (mutationsBuilder_ == null) {
         ensureMutationsIsMutable();
         mutations_.add(builderForValue.build());
@@ -1484,6 +1643,8 @@ public Builder addMutations(
       return this;
     }
     /**
+     *
+     *
      * 
      * The mutations to be executed when this transaction commits. All
      * mutations are applied atomically, in the order they appear in
@@ -1492,8 +1653,7 @@ public Builder addMutations(
      *
      * repeated .google.spanner.v1.Mutation mutations = 4;
      */
-    public Builder addMutations(
-        int index, com.google.spanner.v1.Mutation.Builder builderForValue) {
+    public Builder addMutations(int index, com.google.spanner.v1.Mutation.Builder builderForValue) {
       if (mutationsBuilder_ == null) {
         ensureMutationsIsMutable();
         mutations_.add(index, builderForValue.build());
@@ -1504,6 +1664,8 @@ public Builder addMutations(
       return this;
     }
     /**
+     *
+     *
      * 
      * The mutations to be executed when this transaction commits. All
      * mutations are applied atomically, in the order they appear in
@@ -1516,8 +1678,7 @@ 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);
@@ -1525,6 +1686,8 @@ public Builder addAllMutations(
       return this;
     }
     /**
+     *
+     *
      * 
      * The mutations to be executed when this transaction commits. All
      * mutations are applied atomically, in the order they appear in
@@ -1544,6 +1707,8 @@ public Builder clearMutations() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The mutations to be executed when this transaction commits. All
      * mutations are applied atomically, in the order they appear in
@@ -1563,6 +1728,8 @@ public Builder removeMutations(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The mutations to be executed when this transaction commits. All
      * mutations are applied atomically, in the order they appear in
@@ -1571,11 +1738,12 @@ public Builder removeMutations(int index) {
      *
      * repeated .google.spanner.v1.Mutation mutations = 4;
      */
-    public com.google.spanner.v1.Mutation.Builder getMutationsBuilder(
-        int index) {
+    public com.google.spanner.v1.Mutation.Builder getMutationsBuilder(int index) {
       return getMutationsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The mutations to be executed when this transaction commits. All
      * mutations are applied atomically, in the order they appear in
@@ -1584,14 +1752,16 @@ public com.google.spanner.v1.Mutation.Builder getMutationsBuilder(
      *
      * repeated .google.spanner.v1.Mutation mutations = 4;
      */
-    public com.google.spanner.v1.MutationOrBuilder getMutationsOrBuilder(
-        int index) {
+    public com.google.spanner.v1.MutationOrBuilder getMutationsOrBuilder(int index) {
       if (mutationsBuilder_ == null) {
-        return mutations_.get(index);  } else {
+        return mutations_.get(index);
+      } else {
         return mutationsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The mutations to be executed when this transaction commits. All
      * mutations are applied atomically, in the order they appear in
@@ -1600,8 +1770,8 @@ public com.google.spanner.v1.MutationOrBuilder getMutationsOrBuilder(
      *
      * repeated .google.spanner.v1.Mutation mutations = 4;
      */
-    public java.util.List 
-         getMutationsOrBuilderList() {
+    public java.util.List
+        getMutationsOrBuilderList() {
       if (mutationsBuilder_ != null) {
         return mutationsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1609,6 +1779,8 @@ public com.google.spanner.v1.MutationOrBuilder getMutationsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * The mutations to be executed when this transaction commits. All
      * mutations are applied atomically, in the order they appear in
@@ -1618,10 +1790,12 @@ public com.google.spanner.v1.MutationOrBuilder getMutationsOrBuilder(
      * repeated .google.spanner.v1.Mutation mutations = 4;
      */
     public com.google.spanner.v1.Mutation.Builder addMutationsBuilder() {
-      return getMutationsFieldBuilder().addBuilder(
-          com.google.spanner.v1.Mutation.getDefaultInstance());
+      return getMutationsFieldBuilder()
+          .addBuilder(com.google.spanner.v1.Mutation.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The mutations to be executed when this transaction commits. All
      * mutations are applied atomically, in the order they appear in
@@ -1630,12 +1804,13 @@ public com.google.spanner.v1.Mutation.Builder addMutationsBuilder() {
      *
      * repeated .google.spanner.v1.Mutation mutations = 4;
      */
-    public com.google.spanner.v1.Mutation.Builder addMutationsBuilder(
-        int index) {
-      return getMutationsFieldBuilder().addBuilder(
-          index, com.google.spanner.v1.Mutation.getDefaultInstance());
+    public com.google.spanner.v1.Mutation.Builder addMutationsBuilder(int index) {
+      return getMutationsFieldBuilder()
+          .addBuilder(index, com.google.spanner.v1.Mutation.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The mutations to be executed when this transaction commits. All
      * mutations are applied atomically, in the order they appear in
@@ -1644,27 +1819,31 @@ public com.google.spanner.v1.Mutation.Builder addMutationsBuilder(
      *
      * repeated .google.spanner.v1.Mutation mutations = 4;
      */
-    public java.util.List 
-         getMutationsBuilderList() {
+    public java.util.List getMutationsBuilderList() {
       return getMutationsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.spanner.v1.Mutation, com.google.spanner.v1.Mutation.Builder, com.google.spanner.v1.MutationOrBuilder> 
+            com.google.spanner.v1.Mutation,
+            com.google.spanner.v1.Mutation.Builder,
+            com.google.spanner.v1.MutationOrBuilder>
         getMutationsFieldBuilder() {
       if (mutationsBuilder_ == null) {
-        mutationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.spanner.v1.Mutation, com.google.spanner.v1.Mutation.Builder, com.google.spanner.v1.MutationOrBuilder>(
-                mutations_,
-                ((bitField0_ & 0x00000008) != 0),
-                getParentForChildren(),
-                isClean());
+        mutationsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.spanner.v1.Mutation,
+                com.google.spanner.v1.Mutation.Builder,
+                com.google.spanner.v1.MutationOrBuilder>(
+                mutations_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean());
         mutations_ = null;
       }
       return mutationsBuilder_;
     }
 
-    private boolean returnCommitStats_ ;
+    private boolean returnCommitStats_;
     /**
+     *
+     *
      * 
      * If `true`, then statistics related to the transaction will be included in
      * the [CommitResponse][google.spanner.v1.CommitResponse.commit_stats]. Default value is
@@ -1672,6 +1851,7 @@ public com.google.spanner.v1.Mutation.Builder addMutationsBuilder(
      * 
* * bool return_commit_stats = 5; + * * @return The returnCommitStats. */ @java.lang.Override @@ -1679,6 +1859,8 @@ public boolean getReturnCommitStats() { return returnCommitStats_; } /** + * + * *
      * If `true`, then statistics related to the transaction will be included in
      * the [CommitResponse][google.spanner.v1.CommitResponse.commit_stats]. Default value is
@@ -1686,17 +1868,20 @@ public boolean getReturnCommitStats() {
      * 
* * bool return_commit_stats = 5; + * * @param value The returnCommitStats to set. * @return This builder for chaining. */ public Builder setReturnCommitStats(boolean value) { - + returnCommitStats_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * If `true`, then statistics related to the transaction will be included in
      * the [CommitResponse][google.spanner.v1.CommitResponse.commit_stats]. Default value is
@@ -1704,6 +1889,7 @@ public Builder setReturnCommitStats(boolean value) {
      * 
* * bool return_commit_stats = 5; + * * @return This builder for chaining. */ public Builder clearReturnCommitStats() { @@ -1715,34 +1901,47 @@ public Builder clearReturnCommitStats() { private com.google.spanner.v1.RequestOptions requestOptions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.RequestOptions, com.google.spanner.v1.RequestOptions.Builder, com.google.spanner.v1.RequestOptionsOrBuilder> requestOptionsBuilder_; + com.google.spanner.v1.RequestOptions, + com.google.spanner.v1.RequestOptions.Builder, + com.google.spanner.v1.RequestOptionsOrBuilder> + requestOptionsBuilder_; /** + * + * *
      * Common options for this request.
      * 
* * .google.spanner.v1.RequestOptions request_options = 6; + * * @return Whether the requestOptions field is set. */ public boolean hasRequestOptions() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * *
      * Common options for this request.
      * 
* * .google.spanner.v1.RequestOptions request_options = 6; + * * @return The requestOptions. */ public com.google.spanner.v1.RequestOptions getRequestOptions() { if (requestOptionsBuilder_ == null) { - return requestOptions_ == null ? com.google.spanner.v1.RequestOptions.getDefaultInstance() : requestOptions_; + return requestOptions_ == null + ? com.google.spanner.v1.RequestOptions.getDefaultInstance() + : requestOptions_; } else { return requestOptionsBuilder_.getMessage(); } } /** + * + * *
      * Common options for this request.
      * 
@@ -1763,14 +1962,15 @@ public Builder setRequestOptions(com.google.spanner.v1.RequestOptions value) { return this; } /** + * + * *
      * Common options for this request.
      * 
* * .google.spanner.v1.RequestOptions request_options = 6; */ - public Builder setRequestOptions( - com.google.spanner.v1.RequestOptions.Builder builderForValue) { + public Builder setRequestOptions(com.google.spanner.v1.RequestOptions.Builder builderForValue) { if (requestOptionsBuilder_ == null) { requestOptions_ = builderForValue.build(); } else { @@ -1781,6 +1981,8 @@ public Builder setRequestOptions( return this; } /** + * + * *
      * Common options for this request.
      * 
@@ -1789,9 +1991,9 @@ public Builder setRequestOptions( */ public Builder mergeRequestOptions(com.google.spanner.v1.RequestOptions value) { if (requestOptionsBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) && - requestOptions_ != null && - requestOptions_ != com.google.spanner.v1.RequestOptions.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) + && requestOptions_ != null + && requestOptions_ != com.google.spanner.v1.RequestOptions.getDefaultInstance()) { getRequestOptionsBuilder().mergeFrom(value); } else { requestOptions_ = value; @@ -1804,6 +2006,8 @@ public Builder mergeRequestOptions(com.google.spanner.v1.RequestOptions value) { return this; } /** + * + * *
      * Common options for this request.
      * 
@@ -1821,6 +2025,8 @@ public Builder clearRequestOptions() { return this; } /** + * + * *
      * Common options for this request.
      * 
@@ -1833,6 +2039,8 @@ public com.google.spanner.v1.RequestOptions.Builder getRequestOptionsBuilder() { return getRequestOptionsFieldBuilder().getBuilder(); } /** + * + * *
      * Common options for this request.
      * 
@@ -1843,11 +2051,14 @@ public com.google.spanner.v1.RequestOptionsOrBuilder getRequestOptionsOrBuilder( if (requestOptionsBuilder_ != null) { return requestOptionsBuilder_.getMessageOrBuilder(); } else { - return requestOptions_ == null ? - com.google.spanner.v1.RequestOptions.getDefaultInstance() : requestOptions_; + return requestOptions_ == null + ? com.google.spanner.v1.RequestOptions.getDefaultInstance() + : requestOptions_; } } /** + * + * *
      * Common options for this request.
      * 
@@ -1855,21 +2066,24 @@ public com.google.spanner.v1.RequestOptionsOrBuilder getRequestOptionsOrBuilder( * .google.spanner.v1.RequestOptions request_options = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.RequestOptions, com.google.spanner.v1.RequestOptions.Builder, com.google.spanner.v1.RequestOptionsOrBuilder> + com.google.spanner.v1.RequestOptions, + com.google.spanner.v1.RequestOptions.Builder, + com.google.spanner.v1.RequestOptionsOrBuilder> getRequestOptionsFieldBuilder() { if (requestOptionsBuilder_ == null) { - requestOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.RequestOptions, com.google.spanner.v1.RequestOptions.Builder, com.google.spanner.v1.RequestOptionsOrBuilder>( - getRequestOptions(), - getParentForChildren(), - isClean()); + requestOptionsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.v1.RequestOptions, + com.google.spanner.v1.RequestOptions.Builder, + com.google.spanner.v1.RequestOptionsOrBuilder>( + getRequestOptions(), getParentForChildren(), isClean()); requestOptions_ = null; } return requestOptionsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1879,12 +2093,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.v1.CommitRequest) } // @@protoc_insertion_point(class_scope:google.spanner.v1.CommitRequest) private static final com.google.spanner.v1.CommitRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.v1.CommitRequest(); } @@ -1893,27 +2107,27 @@ public static com.google.spanner.v1.CommitRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CommitRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CommitRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1928,6 +2142,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.CommitRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitRequestOrBuilder.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitRequestOrBuilder.java similarity index 82% rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitRequestOrBuilder.java rename to proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitRequestOrBuilder.java index 2866b1cbecb..67704563b20 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitRequestOrBuilder.java +++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitRequestOrBuilder.java @@ -1,52 +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/spanner/v1/spanner.proto package com.google.spanner.v1; -public interface CommitRequestOrBuilder extends +public interface CommitRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.CommitRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The session in which the transaction to be committed is running.
    * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The session. */ java.lang.String getSession(); /** + * + * *
    * Required. The session in which the transaction to be committed is running.
    * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for session. */ - com.google.protobuf.ByteString - getSessionBytes(); + com.google.protobuf.ByteString getSessionBytes(); /** + * + * *
    * Commit a previously-started transaction.
    * 
* * bytes transaction_id = 2; + * * @return Whether the transactionId field is set. */ boolean hasTransactionId(); /** + * + * *
    * Commit a previously-started transaction.
    * 
* * bytes transaction_id = 2; + * * @return The transactionId. */ com.google.protobuf.ByteString getTransactionId(); /** + * + * *
    * Execute mutations in a temporary transaction. Note that unlike
    * commit of a previously-started transaction, commit with a
@@ -60,10 +93,13 @@ public interface CommitRequestOrBuilder extends
    * 
* * .google.spanner.v1.TransactionOptions single_use_transaction = 3; + * * @return Whether the singleUseTransaction field is set. */ boolean hasSingleUseTransaction(); /** + * + * *
    * Execute mutations in a temporary transaction. Note that unlike
    * commit of a previously-started transaction, commit with a
@@ -77,10 +113,13 @@ public interface CommitRequestOrBuilder extends
    * 
* * .google.spanner.v1.TransactionOptions single_use_transaction = 3; + * * @return The singleUseTransaction. */ com.google.spanner.v1.TransactionOptions getSingleUseTransaction(); /** + * + * *
    * Execute mutations in a temporary transaction. Note that unlike
    * commit of a previously-started transaction, commit with a
@@ -98,6 +137,8 @@ public interface CommitRequestOrBuilder extends
   com.google.spanner.v1.TransactionOptionsOrBuilder getSingleUseTransactionOrBuilder();
 
   /**
+   *
+   *
    * 
    * The mutations to be executed when this transaction commits. All
    * mutations are applied atomically, in the order they appear in
@@ -106,9 +147,10 @@ public interface CommitRequestOrBuilder extends
    *
    * repeated .google.spanner.v1.Mutation mutations = 4;
    */
-  java.util.List 
-      getMutationsList();
+  java.util.List getMutationsList();
   /**
+   *
+   *
    * 
    * The mutations to be executed when this transaction commits. All
    * mutations are applied atomically, in the order they appear in
@@ -119,6 +161,8 @@ public interface CommitRequestOrBuilder extends
    */
   com.google.spanner.v1.Mutation getMutations(int index);
   /**
+   *
+   *
    * 
    * The mutations to be executed when this transaction commits. All
    * mutations are applied atomically, in the order they appear in
@@ -129,6 +173,8 @@ public interface CommitRequestOrBuilder extends
    */
   int getMutationsCount();
   /**
+   *
+   *
    * 
    * The mutations to be executed when this transaction commits. All
    * mutations are applied atomically, in the order they appear in
@@ -137,9 +183,10 @@ public interface CommitRequestOrBuilder extends
    *
    * repeated .google.spanner.v1.Mutation mutations = 4;
    */
-  java.util.List 
-      getMutationsOrBuilderList();
+  java.util.List getMutationsOrBuilderList();
   /**
+   *
+   *
    * 
    * The mutations to be executed when this transaction commits. All
    * mutations are applied atomically, in the order they appear in
@@ -148,10 +195,11 @@ public interface CommitRequestOrBuilder extends
    *
    * repeated .google.spanner.v1.Mutation mutations = 4;
    */
-  com.google.spanner.v1.MutationOrBuilder getMutationsOrBuilder(
-      int index);
+  com.google.spanner.v1.MutationOrBuilder getMutationsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * If `true`, then statistics related to the transaction will be included in
    * the [CommitResponse][google.spanner.v1.CommitResponse.commit_stats]. Default value is
@@ -159,29 +207,38 @@ com.google.spanner.v1.MutationOrBuilder getMutationsOrBuilder(
    * 
* * bool return_commit_stats = 5; + * * @return The returnCommitStats. */ boolean getReturnCommitStats(); /** + * + * *
    * Common options for this request.
    * 
* * .google.spanner.v1.RequestOptions request_options = 6; + * * @return Whether the requestOptions field is set. */ boolean hasRequestOptions(); /** + * + * *
    * Common options for this request.
    * 
* * .google.spanner.v1.RequestOptions request_options = 6; + * * @return The requestOptions. */ com.google.spanner.v1.RequestOptions getRequestOptions(); /** + * + * *
    * Common options for this request.
    * 
diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitResponse.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitResponse.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitResponse.java rename to proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitResponse.java index c5dd926d15e..89661b86be0 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitResponse.java +++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitResponse.java @@ -1,57 +1,78 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/commit_response.proto package com.google.spanner.v1; /** + * + * *
  * The response for [Commit][google.spanner.v1.Spanner.Commit].
  * 
* * Protobuf type {@code google.spanner.v1.CommitResponse} */ -public final class CommitResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CommitResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.spanner.v1.CommitResponse) CommitResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CommitResponse.newBuilder() to construct. private CommitResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CommitResponse() { - } + + private CommitResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CommitResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.v1.CommitResponseProto.internal_static_google_spanner_v1_CommitResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.v1.CommitResponseProto + .internal_static_google_spanner_v1_CommitResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.CommitResponseProto.internal_static_google_spanner_v1_CommitResponse_fieldAccessorTable + return com.google.spanner.v1.CommitResponseProto + .internal_static_google_spanner_v1_CommitResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.CommitResponse.class, com.google.spanner.v1.CommitResponse.Builder.class); + com.google.spanner.v1.CommitResponse.class, + com.google.spanner.v1.CommitResponse.Builder.class); } - public interface CommitStatsOrBuilder extends + public interface CommitStatsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.CommitResponse.CommitStats) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The total number of mutations for the transaction. Knowing the
      * `mutation_count` value can help you maximize the number of mutations
@@ -63,57 +84,63 @@ public interface CommitStatsOrBuilder extends
      * 
* * int64 mutation_count = 1; + * * @return The mutationCount. */ long getMutationCount(); } /** + * + * *
    * Additional statistics about a commit.
    * 
* * Protobuf type {@code google.spanner.v1.CommitResponse.CommitStats} */ - public static final class CommitStats extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class CommitStats extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.spanner.v1.CommitResponse.CommitStats) CommitStatsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CommitStats.newBuilder() to construct. private CommitStats(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CommitStats() { - } + + private CommitStats() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CommitStats(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.v1.CommitResponseProto.internal_static_google_spanner_v1_CommitResponse_CommitStats_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.v1.CommitResponseProto + .internal_static_google_spanner_v1_CommitResponse_CommitStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.CommitResponseProto.internal_static_google_spanner_v1_CommitResponse_CommitStats_fieldAccessorTable + return com.google.spanner.v1.CommitResponseProto + .internal_static_google_spanner_v1_CommitResponse_CommitStats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.CommitResponse.CommitStats.class, com.google.spanner.v1.CommitResponse.CommitStats.Builder.class); + com.google.spanner.v1.CommitResponse.CommitStats.class, + com.google.spanner.v1.CommitResponse.CommitStats.Builder.class); } public static final int MUTATION_COUNT_FIELD_NUMBER = 1; private long mutationCount_ = 0L; /** + * + * *
      * The total number of mutations for the transaction. Knowing the
      * `mutation_count` value can help you maximize the number of mutations
@@ -125,6 +152,7 @@ protected java.lang.Object newInstance(
      * 
* * int64 mutation_count = 1; + * * @return The mutationCount. */ @java.lang.Override @@ -133,6 +161,7 @@ public long getMutationCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -144,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 (mutationCount_ != 0L) { output.writeInt64(1, mutationCount_); } @@ -159,8 +187,7 @@ public int getSerializedSize() { size = 0; if (mutationCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, mutationCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, mutationCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -170,15 +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.spanner.v1.CommitResponse.CommitStats)) { return super.equals(obj); } - com.google.spanner.v1.CommitResponse.CommitStats other = (com.google.spanner.v1.CommitResponse.CommitStats) obj; + com.google.spanner.v1.CommitResponse.CommitStats other = + (com.google.spanner.v1.CommitResponse.CommitStats) obj; - if (getMutationCount() - != other.getMutationCount()) return false; + if (getMutationCount() != other.getMutationCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -191,95 +218,100 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + MUTATION_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getMutationCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getMutationCount()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.spanner.v1.CommitResponse.CommitStats parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.CommitResponse.CommitStats parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.v1.CommitResponse.CommitStats parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.CommitResponse.CommitStats parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.v1.CommitResponse.CommitStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.CommitResponse.CommitStats parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.CommitResponse.CommitStats parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.spanner.v1.CommitResponse.CommitStats parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.v1.CommitResponse.CommitStats parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.CommitResponse.CommitStats parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.spanner.v1.CommitResponse.CommitStats parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.spanner.v1.CommitResponse.CommitStats parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.spanner.v1.CommitResponse.CommitStats parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.v1.CommitResponse.CommitStats parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.spanner.v1.CommitResponse.CommitStats prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -289,39 +321,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Additional statistics about a commit.
      * 
* * Protobuf type {@code google.spanner.v1.CommitResponse.CommitStats} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.CommitResponse.CommitStats) com.google.spanner.v1.CommitResponse.CommitStatsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.v1.CommitResponseProto.internal_static_google_spanner_v1_CommitResponse_CommitStats_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.v1.CommitResponseProto + .internal_static_google_spanner_v1_CommitResponse_CommitStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.CommitResponseProto.internal_static_google_spanner_v1_CommitResponse_CommitStats_fieldAccessorTable + return com.google.spanner.v1.CommitResponseProto + .internal_static_google_spanner_v1_CommitResponse_CommitStats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.CommitResponse.CommitStats.class, com.google.spanner.v1.CommitResponse.CommitStats.Builder.class); + com.google.spanner.v1.CommitResponse.CommitStats.class, + com.google.spanner.v1.CommitResponse.CommitStats.Builder.class); } // Construct using com.google.spanner.v1.CommitResponse.CommitStats.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -331,9 +365,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.spanner.v1.CommitResponseProto.internal_static_google_spanner_v1_CommitResponse_CommitStats_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.spanner.v1.CommitResponseProto + .internal_static_google_spanner_v1_CommitResponse_CommitStats_descriptor; } @java.lang.Override @@ -352,8 +386,11 @@ public com.google.spanner.v1.CommitResponse.CommitStats build() { @java.lang.Override public com.google.spanner.v1.CommitResponse.CommitStats buildPartial() { - com.google.spanner.v1.CommitResponse.CommitStats result = new com.google.spanner.v1.CommitResponse.CommitStats(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.spanner.v1.CommitResponse.CommitStats result = + new com.google.spanner.v1.CommitResponse.CommitStats(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -369,38 +406,41 @@ private void buildPartial0(com.google.spanner.v1.CommitResponse.CommitStats 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.spanner.v1.CommitResponse.CommitStats) { - return mergeFrom((com.google.spanner.v1.CommitResponse.CommitStats)other); + return mergeFrom((com.google.spanner.v1.CommitResponse.CommitStats) other); } else { super.mergeFrom(other); return this; @@ -408,7 +448,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.v1.CommitResponse.CommitStats other) { - if (other == com.google.spanner.v1.CommitResponse.CommitStats.getDefaultInstance()) return this; + if (other == com.google.spanner.v1.CommitResponse.CommitStats.getDefaultInstance()) + return this; if (other.getMutationCount() != 0L) { setMutationCount(other.getMutationCount()); } @@ -438,17 +479,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - mutationCount_ = input.readInt64(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + mutationCount_ = input.readInt64(); + 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) { @@ -458,10 +501,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private long mutationCount_ ; + private long mutationCount_; /** + * + * *
        * The total number of mutations for the transaction. Knowing the
        * `mutation_count` value can help you maximize the number of mutations
@@ -473,6 +519,7 @@ public Builder mergeFrom(
        * 
* * int64 mutation_count = 1; + * * @return The mutationCount. */ @java.lang.Override @@ -480,6 +527,8 @@ public long getMutationCount() { return mutationCount_; } /** + * + * *
        * The total number of mutations for the transaction. Knowing the
        * `mutation_count` value can help you maximize the number of mutations
@@ -491,17 +540,20 @@ public long getMutationCount() {
        * 
* * int64 mutation_count = 1; + * * @param value The mutationCount to set. * @return This builder for chaining. */ public Builder setMutationCount(long value) { - + mutationCount_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * The total number of mutations for the transaction. Knowing the
        * `mutation_count` value can help you maximize the number of mutations
@@ -513,6 +565,7 @@ public Builder setMutationCount(long value) {
        * 
* * int64 mutation_count = 1; + * * @return This builder for chaining. */ public Builder clearMutationCount() { @@ -521,6 +574,7 @@ public Builder clearMutationCount() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -533,12 +587,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.v1.CommitResponse.CommitStats) } // @@protoc_insertion_point(class_scope:google.spanner.v1.CommitResponse.CommitStats) private static final com.google.spanner.v1.CommitResponse.CommitStats DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.v1.CommitResponse.CommitStats(); } @@ -547,27 +601,28 @@ public static com.google.spanner.v1.CommitResponse.CommitStats getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CommitStats parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CommitStats parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -582,17 +637,19 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.CommitResponse.CommitStats getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int COMMIT_TIMESTAMP_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp commitTimestamp_; /** + * + * *
    * The Cloud Spanner timestamp at which the transaction committed.
    * 
* * .google.protobuf.Timestamp commit_timestamp = 1; + * * @return Whether the commitTimestamp field is set. */ @java.lang.Override @@ -600,18 +657,25 @@ public boolean hasCommitTimestamp() { return commitTimestamp_ != null; } /** + * + * *
    * The Cloud Spanner timestamp at which the transaction committed.
    * 
* * .google.protobuf.Timestamp commit_timestamp = 1; + * * @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 Cloud Spanner timestamp at which the transaction committed.
    * 
@@ -620,12 +684,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 COMMIT_STATS_FIELD_NUMBER = 2; private com.google.spanner.v1.CommitResponse.CommitStats commitStats_; /** + * + * *
    * The statistics about this Commit. Not returned by default.
    * For more information, see
@@ -633,6 +701,7 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimestampOrBuilder() {
    * 
* * .google.spanner.v1.CommitResponse.CommitStats commit_stats = 2; + * * @return Whether the commitStats field is set. */ @java.lang.Override @@ -640,6 +709,8 @@ public boolean hasCommitStats() { return commitStats_ != null; } /** + * + * *
    * The statistics about this Commit. Not returned by default.
    * For more information, see
@@ -647,13 +718,18 @@ public boolean hasCommitStats() {
    * 
* * .google.spanner.v1.CommitResponse.CommitStats commit_stats = 2; + * * @return The commitStats. */ @java.lang.Override public com.google.spanner.v1.CommitResponse.CommitStats getCommitStats() { - return commitStats_ == null ? com.google.spanner.v1.CommitResponse.CommitStats.getDefaultInstance() : commitStats_; + return commitStats_ == null + ? com.google.spanner.v1.CommitResponse.CommitStats.getDefaultInstance() + : commitStats_; } /** + * + * *
    * The statistics about this Commit. Not returned by default.
    * For more information, see
@@ -664,10 +740,13 @@ public com.google.spanner.v1.CommitResponse.CommitStats getCommitStats() {
    */
   @java.lang.Override
   public com.google.spanner.v1.CommitResponse.CommitStatsOrBuilder getCommitStatsOrBuilder() {
-    return commitStats_ == null ? com.google.spanner.v1.CommitResponse.CommitStats.getDefaultInstance() : commitStats_;
+    return commitStats_ == null
+        ? com.google.spanner.v1.CommitResponse.CommitStats.getDefaultInstance()
+        : commitStats_;
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -679,8 +758,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 (commitTimestamp_ != null) {
       output.writeMessage(1, getCommitTimestamp());
     }
@@ -697,12 +775,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (commitTimestamp_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getCommitTimestamp());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCommitTimestamp());
     }
     if (commitStats_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getCommitStats());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCommitStats());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -712,7 +788,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.spanner.v1.CommitResponse)) {
       return super.equals(obj);
@@ -721,13 +797,11 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasCommitTimestamp() != other.hasCommitTimestamp()) return false;
     if (hasCommitTimestamp()) {
-      if (!getCommitTimestamp()
-          .equals(other.getCommitTimestamp())) return false;
+      if (!getCommitTimestamp().equals(other.getCommitTimestamp())) return false;
     }
     if (hasCommitStats() != other.hasCommitStats()) return false;
     if (hasCommitStats()) {
-      if (!getCommitStats()
-          .equals(other.getCommitStats())) return false;
+      if (!getCommitStats().equals(other.getCommitStats())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -753,130 +827,135 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.spanner.v1.CommitResponse parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.spanner.v1.CommitResponse parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.spanner.v1.CommitResponse parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.spanner.v1.CommitResponse parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.spanner.v1.CommitResponse parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.spanner.v1.CommitResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.spanner.v1.CommitResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.spanner.v1.CommitResponse parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.spanner.v1.CommitResponse parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.spanner.v1.CommitResponse parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.spanner.v1.CommitResponse 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.spanner.v1.CommitResponse parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.spanner.v1.CommitResponse parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.spanner.v1.CommitResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.spanner.v1.CommitResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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 [Commit][google.spanner.v1.Spanner.Commit].
    * 
* * Protobuf type {@code google.spanner.v1.CommitResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.CommitResponse) com.google.spanner.v1.CommitResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.v1.CommitResponseProto.internal_static_google_spanner_v1_CommitResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.v1.CommitResponseProto + .internal_static_google_spanner_v1_CommitResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.CommitResponseProto.internal_static_google_spanner_v1_CommitResponse_fieldAccessorTable + return com.google.spanner.v1.CommitResponseProto + .internal_static_google_spanner_v1_CommitResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.CommitResponse.class, com.google.spanner.v1.CommitResponse.Builder.class); + com.google.spanner.v1.CommitResponse.class, + com.google.spanner.v1.CommitResponse.Builder.class); } // Construct using com.google.spanner.v1.CommitResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -895,9 +974,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.spanner.v1.CommitResponseProto.internal_static_google_spanner_v1_CommitResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.spanner.v1.CommitResponseProto + .internal_static_google_spanner_v1_CommitResponse_descriptor; } @java.lang.Override @@ -917,7 +996,9 @@ public com.google.spanner.v1.CommitResponse build() { @java.lang.Override public com.google.spanner.v1.CommitResponse buildPartial() { com.google.spanner.v1.CommitResponse result = new com.google.spanner.v1.CommitResponse(this); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -925,14 +1006,12 @@ public com.google.spanner.v1.CommitResponse buildPartial() { private void buildPartial0(com.google.spanner.v1.CommitResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.commitTimestamp_ = commitTimestampBuilder_ == null - ? commitTimestamp_ - : commitTimestampBuilder_.build(); + result.commitTimestamp_ = + commitTimestampBuilder_ == null ? commitTimestamp_ : commitTimestampBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.commitStats_ = commitStatsBuilder_ == null - ? commitStats_ - : commitStatsBuilder_.build(); + result.commitStats_ = + commitStatsBuilder_ == null ? commitStats_ : commitStatsBuilder_.build(); } } @@ -940,38 +1019,39 @@ private void buildPartial0(com.google.spanner.v1.CommitResponse 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.spanner.v1.CommitResponse) { - return mergeFrom((com.google.spanner.v1.CommitResponse)other); + return mergeFrom((com.google.spanner.v1.CommitResponse) other); } else { super.mergeFrom(other); return this; @@ -1012,26 +1092,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getCommitTimestampFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getCommitStatsFieldBuilder().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(getCommitTimestampFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getCommitStatsFieldBuilder().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) { @@ -1041,38 +1120,52 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; 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 Cloud Spanner timestamp at which the transaction committed.
      * 
* * .google.protobuf.Timestamp commit_timestamp = 1; + * * @return Whether the commitTimestamp field is set. */ public boolean hasCommitTimestamp() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The Cloud Spanner timestamp at which the transaction committed.
      * 
* * .google.protobuf.Timestamp commit_timestamp = 1; + * * @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 Cloud Spanner timestamp at which the transaction committed.
      * 
@@ -1093,14 +1186,15 @@ public Builder setCommitTimestamp(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The Cloud Spanner timestamp at which the transaction committed.
      * 
* * .google.protobuf.Timestamp commit_timestamp = 1; */ - 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 { @@ -1111,6 +1205,8 @@ public Builder setCommitTimestamp( return this; } /** + * + * *
      * The Cloud Spanner timestamp at which the transaction committed.
      * 
@@ -1119,9 +1215,9 @@ public Builder setCommitTimestamp( */ public Builder mergeCommitTimestamp(com.google.protobuf.Timestamp value) { if (commitTimestampBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - commitTimestamp_ != null && - commitTimestamp_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && commitTimestamp_ != null + && commitTimestamp_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCommitTimestampBuilder().mergeFrom(value); } else { commitTimestamp_ = value; @@ -1134,6 +1230,8 @@ public Builder mergeCommitTimestamp(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The Cloud Spanner timestamp at which the transaction committed.
      * 
@@ -1151,6 +1249,8 @@ public Builder clearCommitTimestamp() { return this; } /** + * + * *
      * The Cloud Spanner timestamp at which the transaction committed.
      * 
@@ -1163,6 +1263,8 @@ public com.google.protobuf.Timestamp.Builder getCommitTimestampBuilder() { return getCommitTimestampFieldBuilder().getBuilder(); } /** + * + * *
      * The Cloud Spanner timestamp at which the transaction committed.
      * 
@@ -1173,11 +1275,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 Cloud Spanner timestamp at which the transaction committed.
      * 
@@ -1185,14 +1290,17 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimestampOrBuilder() { * .google.protobuf.Timestamp commit_timestamp = 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> 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_; @@ -1200,8 +1308,13 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimestampOrBuilder() { private com.google.spanner.v1.CommitResponse.CommitStats commitStats_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.CommitResponse.CommitStats, com.google.spanner.v1.CommitResponse.CommitStats.Builder, com.google.spanner.v1.CommitResponse.CommitStatsOrBuilder> commitStatsBuilder_; + com.google.spanner.v1.CommitResponse.CommitStats, + com.google.spanner.v1.CommitResponse.CommitStats.Builder, + com.google.spanner.v1.CommitResponse.CommitStatsOrBuilder> + commitStatsBuilder_; /** + * + * *
      * The statistics about this Commit. Not returned by default.
      * For more information, see
@@ -1209,12 +1322,15 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimestampOrBuilder() {
      * 
* * .google.spanner.v1.CommitResponse.CommitStats commit_stats = 2; + * * @return Whether the commitStats field is set. */ public boolean hasCommitStats() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The statistics about this Commit. Not returned by default.
      * For more information, see
@@ -1222,16 +1338,21 @@ public boolean hasCommitStats() {
      * 
* * .google.spanner.v1.CommitResponse.CommitStats commit_stats = 2; + * * @return The commitStats. */ public com.google.spanner.v1.CommitResponse.CommitStats getCommitStats() { if (commitStatsBuilder_ == null) { - return commitStats_ == null ? com.google.spanner.v1.CommitResponse.CommitStats.getDefaultInstance() : commitStats_; + return commitStats_ == null + ? com.google.spanner.v1.CommitResponse.CommitStats.getDefaultInstance() + : commitStats_; } else { return commitStatsBuilder_.getMessage(); } } /** + * + * *
      * The statistics about this Commit. Not returned by default.
      * For more information, see
@@ -1254,6 +1375,8 @@ public Builder setCommitStats(com.google.spanner.v1.CommitResponse.CommitStats v
       return this;
     }
     /**
+     *
+     *
      * 
      * The statistics about this Commit. Not returned by default.
      * For more information, see
@@ -1274,6 +1397,8 @@ public Builder setCommitStats(
       return this;
     }
     /**
+     *
+     *
      * 
      * The statistics about this Commit. Not returned by default.
      * For more information, see
@@ -1284,9 +1409,10 @@ public Builder setCommitStats(
      */
     public Builder mergeCommitStats(com.google.spanner.v1.CommitResponse.CommitStats value) {
       if (commitStatsBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0) &&
-          commitStats_ != null &&
-          commitStats_ != com.google.spanner.v1.CommitResponse.CommitStats.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0)
+            && commitStats_ != null
+            && commitStats_
+                != com.google.spanner.v1.CommitResponse.CommitStats.getDefaultInstance()) {
           getCommitStatsBuilder().mergeFrom(value);
         } else {
           commitStats_ = value;
@@ -1299,6 +1425,8 @@ public Builder mergeCommitStats(com.google.spanner.v1.CommitResponse.CommitStats
       return this;
     }
     /**
+     *
+     *
      * 
      * The statistics about this Commit. Not returned by default.
      * For more information, see
@@ -1318,6 +1446,8 @@ public Builder clearCommitStats() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The statistics about this Commit. Not returned by default.
      * For more information, see
@@ -1332,6 +1462,8 @@ public com.google.spanner.v1.CommitResponse.CommitStats.Builder getCommitStatsBu
       return getCommitStatsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The statistics about this Commit. Not returned by default.
      * For more information, see
@@ -1344,11 +1476,14 @@ public com.google.spanner.v1.CommitResponse.CommitStatsOrBuilder getCommitStatsO
       if (commitStatsBuilder_ != null) {
         return commitStatsBuilder_.getMessageOrBuilder();
       } else {
-        return commitStats_ == null ?
-            com.google.spanner.v1.CommitResponse.CommitStats.getDefaultInstance() : commitStats_;
+        return commitStats_ == null
+            ? com.google.spanner.v1.CommitResponse.CommitStats.getDefaultInstance()
+            : commitStats_;
       }
     }
     /**
+     *
+     *
      * 
      * The statistics about this Commit. Not returned by default.
      * For more information, see
@@ -1358,21 +1493,24 @@ public com.google.spanner.v1.CommitResponse.CommitStatsOrBuilder getCommitStatsO
      * .google.spanner.v1.CommitResponse.CommitStats commit_stats = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.spanner.v1.CommitResponse.CommitStats, com.google.spanner.v1.CommitResponse.CommitStats.Builder, com.google.spanner.v1.CommitResponse.CommitStatsOrBuilder> 
+            com.google.spanner.v1.CommitResponse.CommitStats,
+            com.google.spanner.v1.CommitResponse.CommitStats.Builder,
+            com.google.spanner.v1.CommitResponse.CommitStatsOrBuilder>
         getCommitStatsFieldBuilder() {
       if (commitStatsBuilder_ == null) {
-        commitStatsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.CommitResponse.CommitStats, com.google.spanner.v1.CommitResponse.CommitStats.Builder, com.google.spanner.v1.CommitResponse.CommitStatsOrBuilder>(
-                getCommitStats(),
-                getParentForChildren(),
-                isClean());
+        commitStatsBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.spanner.v1.CommitResponse.CommitStats,
+                com.google.spanner.v1.CommitResponse.CommitStats.Builder,
+                com.google.spanner.v1.CommitResponse.CommitStatsOrBuilder>(
+                getCommitStats(), getParentForChildren(), isClean());
         commitStats_ = null;
       }
       return commitStatsBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1382,12 +1520,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.spanner.v1.CommitResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.spanner.v1.CommitResponse)
   private static final com.google.spanner.v1.CommitResponse DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.spanner.v1.CommitResponse();
   }
@@ -1396,27 +1534,27 @@ public static com.google.spanner.v1.CommitResponse getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public CommitResponse parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public CommitResponse parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1431,6 +1569,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.spanner.v1.CommitResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitResponseOrBuilder.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitResponseOrBuilder.java
similarity index 75%
rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitResponseOrBuilder.java
rename to proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitResponseOrBuilder.java
index 7f36f8709b8..256983c2f71 100644
--- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitResponseOrBuilder.java
+++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitResponseOrBuilder.java
@@ -1,31 +1,55 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/v1/commit_response.proto
 
 package com.google.spanner.v1;
 
-public interface CommitResponseOrBuilder extends
+public interface CommitResponseOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.spanner.v1.CommitResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The Cloud Spanner timestamp at which the transaction committed.
    * 
* * .google.protobuf.Timestamp commit_timestamp = 1; + * * @return Whether the commitTimestamp field is set. */ boolean hasCommitTimestamp(); /** + * + * *
    * The Cloud Spanner timestamp at which the transaction committed.
    * 
* * .google.protobuf.Timestamp commit_timestamp = 1; + * * @return The commitTimestamp. */ com.google.protobuf.Timestamp getCommitTimestamp(); /** + * + * *
    * The Cloud Spanner timestamp at which the transaction committed.
    * 
@@ -35,6 +59,8 @@ public interface CommitResponseOrBuilder extends com.google.protobuf.TimestampOrBuilder getCommitTimestampOrBuilder(); /** + * + * *
    * The statistics about this Commit. Not returned by default.
    * For more information, see
@@ -42,10 +68,13 @@ public interface CommitResponseOrBuilder extends
    * 
* * .google.spanner.v1.CommitResponse.CommitStats commit_stats = 2; + * * @return Whether the commitStats field is set. */ boolean hasCommitStats(); /** + * + * *
    * The statistics about this Commit. Not returned by default.
    * For more information, see
@@ -53,10 +82,13 @@ public interface CommitResponseOrBuilder extends
    * 
* * .google.spanner.v1.CommitResponse.CommitStats commit_stats = 2; + * * @return The commitStats. */ com.google.spanner.v1.CommitResponse.CommitStats getCommitStats(); /** + * + * *
    * The statistics about this Commit. Not returned by default.
    * For more information, see
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitResponseProto.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitResponseProto.java
new file mode 100644
index 00000000000..29045351437
--- /dev/null
+++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CommitResponseProto.java
@@ -0,0 +1,86 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/spanner/v1/commit_response.proto
+
+package com.google.spanner.v1;
+
+public final class CommitResponseProto {
+  private CommitResponseProto() {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_spanner_v1_CommitResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_spanner_v1_CommitResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_spanner_v1_CommitResponse_CommitStats_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_spanner_v1_CommitResponse_CommitStats_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+    return descriptor;
+  }
+
+  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
+
+  static {
+    java.lang.String[] descriptorData = {
+      "\n\'google/spanner/v1/commit_response.prot"
+          + "o\022\021google.spanner.v1\032\037google/protobuf/ti"
+          + "mestamp.proto\"\262\001\n\016CommitResponse\0224\n\020comm"
+          + "it_timestamp\030\001 \001(\0132\032.google.protobuf.Tim"
+          + "estamp\022C\n\014commit_stats\030\002 \001(\0132-.google.sp"
+          + "anner.v1.CommitResponse.CommitStats\032%\n\013C"
+          + "ommitStats\022\026\n\016mutation_count\030\001 \001(\003B\266\001\n\025c"
+          + "om.google.spanner.v1B\023CommitResponseProt"
+          + "oP\001Z5cloud.google.com/go/spanner/apiv1/s"
+          + "pannerpb;spannerpb\252\002\027Google.Cloud.Spanne"
+          + "r.V1\312\002\027Google\\Cloud\\Spanner\\V1\352\002\032Google:"
+          + ":Cloud::Spanner::V1b\006proto3"
+    };
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData,
+            new com.google.protobuf.Descriptors.FileDescriptor[] {
+              com.google.protobuf.TimestampProto.getDescriptor(),
+            });
+    internal_static_google_spanner_v1_CommitResponse_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_spanner_v1_CommitResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_spanner_v1_CommitResponse_descriptor,
+            new java.lang.String[] {
+              "CommitTimestamp", "CommitStats",
+            });
+    internal_static_google_spanner_v1_CommitResponse_CommitStats_descriptor =
+        internal_static_google_spanner_v1_CommitResponse_descriptor.getNestedTypes().get(0);
+    internal_static_google_spanner_v1_CommitResponse_CommitStats_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_spanner_v1_CommitResponse_CommitStats_descriptor,
+            new java.lang.String[] {
+              "MutationCount",
+            });
+    com.google.protobuf.TimestampProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CreateSessionRequest.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CreateSessionRequest.java
similarity index 64%
rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CreateSessionRequest.java
rename to proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CreateSessionRequest.java
index 0e97c8744ac..fe3fc6e7e6b 100644
--- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CreateSessionRequest.java
+++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CreateSessionRequest.java
@@ -1,62 +1,87 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/v1/spanner.proto
 
 package com.google.spanner.v1;
 
 /**
+ *
+ *
  * 
  * The request for [CreateSession][google.spanner.v1.Spanner.CreateSession].
  * 
* * Protobuf type {@code google.spanner.v1.CreateSessionRequest} */ -public final class CreateSessionRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateSessionRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.spanner.v1.CreateSessionRequest) CreateSessionRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateSessionRequest.newBuilder() to construct. private CreateSessionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateSessionRequest() { database_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateSessionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_CreateSessionRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_CreateSessionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_CreateSessionRequest_fieldAccessorTable + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_CreateSessionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.CreateSessionRequest.class, com.google.spanner.v1.CreateSessionRequest.Builder.class); + com.google.spanner.v1.CreateSessionRequest.class, + com.google.spanner.v1.CreateSessionRequest.Builder.class); } public static final int DATABASE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object database_ = ""; /** + * + * *
    * Required. The database in which the new session is created.
    * 
* - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The database. */ @java.lang.Override @@ -65,29 +90,31 @@ public java.lang.String getDatabase() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; } } /** + * + * *
    * Required. The database in which the new session is created.
    * 
* - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for database. */ @java.lang.Override - public com.google.protobuf.ByteString - getDatabaseBytes() { + public com.google.protobuf.ByteString getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); database_ = b; return b; } else { @@ -98,11 +125,14 @@ public java.lang.String getDatabase() { public static final int SESSION_FIELD_NUMBER = 2; private com.google.spanner.v1.Session session_; /** + * + * *
    * Required. The session to create.
    * 
* * .google.spanner.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the session field is set. */ @java.lang.Override @@ -110,11 +140,14 @@ public boolean hasSession() { return session_ != null; } /** + * + * *
    * Required. The session to create.
    * 
* * .google.spanner.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The session. */ @java.lang.Override @@ -122,6 +155,8 @@ public com.google.spanner.v1.Session getSession() { return session_ == null ? com.google.spanner.v1.Session.getDefaultInstance() : session_; } /** + * + * *
    * Required. The session to create.
    * 
@@ -134,6 +169,7 @@ public com.google.spanner.v1.SessionOrBuilder getSessionOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -145,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(database_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, database_); } @@ -166,8 +201,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, database_); } if (session_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getSession()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getSession()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -177,19 +211,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.spanner.v1.CreateSessionRequest)) { return super.equals(obj); } - com.google.spanner.v1.CreateSessionRequest other = (com.google.spanner.v1.CreateSessionRequest) obj; + com.google.spanner.v1.CreateSessionRequest other = + (com.google.spanner.v1.CreateSessionRequest) obj; - if (!getDatabase() - .equals(other.getDatabase())) return false; + if (!getDatabase().equals(other.getDatabase())) return false; if (hasSession() != other.hasSession()) return false; if (hasSession()) { - if (!getSession() - .equals(other.getSession())) return false; + if (!getSession().equals(other.getSession())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -213,130 +246,136 @@ public int hashCode() { return hash; } - public static com.google.spanner.v1.CreateSessionRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.spanner.v1.CreateSessionRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.CreateSessionRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.v1.CreateSessionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.CreateSessionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.v1.CreateSessionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.CreateSessionRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.v1.CreateSessionRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.v1.CreateSessionRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.CreateSessionRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.spanner.v1.CreateSessionRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.spanner.v1.CreateSessionRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.spanner.v1.CreateSessionRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.v1.CreateSessionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.spanner.v1.CreateSessionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [CreateSession][google.spanner.v1.Spanner.CreateSession].
    * 
* * Protobuf type {@code google.spanner.v1.CreateSessionRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.CreateSessionRequest) com.google.spanner.v1.CreateSessionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_CreateSessionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_CreateSessionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_CreateSessionRequest_fieldAccessorTable + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_CreateSessionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.CreateSessionRequest.class, com.google.spanner.v1.CreateSessionRequest.Builder.class); + com.google.spanner.v1.CreateSessionRequest.class, + com.google.spanner.v1.CreateSessionRequest.Builder.class); } // Construct using com.google.spanner.v1.CreateSessionRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - 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 +390,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_CreateSessionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_CreateSessionRequest_descriptor; } @java.lang.Override @@ -372,8 +411,11 @@ public com.google.spanner.v1.CreateSessionRequest build() { @java.lang.Override public com.google.spanner.v1.CreateSessionRequest buildPartial() { - com.google.spanner.v1.CreateSessionRequest result = new com.google.spanner.v1.CreateSessionRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.spanner.v1.CreateSessionRequest result = + new com.google.spanner.v1.CreateSessionRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -384,9 +426,7 @@ private void buildPartial0(com.google.spanner.v1.CreateSessionRequest result) { result.database_ = database_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.session_ = sessionBuilder_ == null - ? session_ - : sessionBuilder_.build(); + result.session_ = sessionBuilder_ == null ? session_ : sessionBuilder_.build(); } } @@ -394,38 +434,39 @@ private void buildPartial0(com.google.spanner.v1.CreateSessionRequest 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.spanner.v1.CreateSessionRequest) { - return mergeFrom((com.google.spanner.v1.CreateSessionRequest)other); + return mergeFrom((com.google.spanner.v1.CreateSessionRequest) other); } else { super.mergeFrom(other); return this; @@ -468,24 +509,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - database_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getSessionFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + database_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getSessionFieldBuilder().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) { @@ -495,22 +537,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object database_ = ""; /** + * + * *
      * Required. The database in which the new session is created.
      * 
* - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The database. */ public java.lang.String getDatabase() { java.lang.Object ref = database_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; @@ -519,20 +566,23 @@ public java.lang.String getDatabase() { } } /** + * + * *
      * Required. The database in which the new session is created.
      * 
* - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for database. */ - public com.google.protobuf.ByteString - getDatabaseBytes() { + public com.google.protobuf.ByteString getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); database_ = b; return b; } else { @@ -540,28 +590,39 @@ public java.lang.String getDatabase() { } } /** + * + * *
      * Required. The database in which the new session is created.
      * 
* - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The database to set. * @return This builder for chaining. */ - public Builder setDatabase( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDatabase(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } database_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The database in which the new session is created.
      * 
* - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearDatabase() { @@ -571,17 +632,23 @@ public Builder clearDatabase() { return this; } /** + * + * *
      * Required. The database in which the new session is created.
      * 
* - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for database to set. * @return This builder for chaining. */ - public Builder setDatabaseBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); database_ = value; bitField0_ |= 0x00000001; @@ -591,24 +658,35 @@ public Builder setDatabaseBytes( private com.google.spanner.v1.Session session_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.Session, com.google.spanner.v1.Session.Builder, com.google.spanner.v1.SessionOrBuilder> sessionBuilder_; + com.google.spanner.v1.Session, + com.google.spanner.v1.Session.Builder, + com.google.spanner.v1.SessionOrBuilder> + sessionBuilder_; /** + * + * *
      * Required. The session to create.
      * 
* - * .google.spanner.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.spanner.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the session field is set. */ public boolean hasSession() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. The session to create.
      * 
* - * .google.spanner.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.spanner.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The session. */ public com.google.spanner.v1.Session getSession() { @@ -619,11 +697,14 @@ public com.google.spanner.v1.Session getSession() { } } /** + * + * *
      * Required. The session to create.
      * 
* - * .google.spanner.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.spanner.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setSession(com.google.spanner.v1.Session value) { if (sessionBuilder_ == null) { @@ -639,14 +720,16 @@ public Builder setSession(com.google.spanner.v1.Session value) { return this; } /** + * + * *
      * Required. The session to create.
      * 
* - * .google.spanner.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.spanner.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setSession( - com.google.spanner.v1.Session.Builder builderForValue) { + public Builder setSession(com.google.spanner.v1.Session.Builder builderForValue) { if (sessionBuilder_ == null) { session_ = builderForValue.build(); } else { @@ -657,17 +740,20 @@ public Builder setSession( return this; } /** + * + * *
      * Required. The session to create.
      * 
* - * .google.spanner.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.spanner.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeSession(com.google.spanner.v1.Session value) { if (sessionBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - session_ != null && - session_ != com.google.spanner.v1.Session.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && session_ != null + && session_ != com.google.spanner.v1.Session.getDefaultInstance()) { getSessionBuilder().mergeFrom(value); } else { session_ = value; @@ -680,11 +766,14 @@ public Builder mergeSession(com.google.spanner.v1.Session value) { return this; } /** + * + * *
      * Required. The session to create.
      * 
* - * .google.spanner.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.spanner.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearSession() { bitField0_ = (bitField0_ & ~0x00000002); @@ -697,11 +786,14 @@ public Builder clearSession() { return this; } /** + * + * *
      * Required. The session to create.
      * 
* - * .google.spanner.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.spanner.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.spanner.v1.Session.Builder getSessionBuilder() { bitField0_ |= 0x00000002; @@ -709,43 +801,51 @@ public com.google.spanner.v1.Session.Builder getSessionBuilder() { return getSessionFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The session to create.
      * 
* - * .google.spanner.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.spanner.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.spanner.v1.SessionOrBuilder getSessionOrBuilder() { if (sessionBuilder_ != null) { return sessionBuilder_.getMessageOrBuilder(); } else { - return session_ == null ? - com.google.spanner.v1.Session.getDefaultInstance() : session_; + return session_ == null ? com.google.spanner.v1.Session.getDefaultInstance() : session_; } } /** + * + * *
      * Required. The session to create.
      * 
* - * .google.spanner.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.spanner.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.Session, com.google.spanner.v1.Session.Builder, com.google.spanner.v1.SessionOrBuilder> + com.google.spanner.v1.Session, + com.google.spanner.v1.Session.Builder, + com.google.spanner.v1.SessionOrBuilder> getSessionFieldBuilder() { if (sessionBuilder_ == null) { - sessionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.Session, com.google.spanner.v1.Session.Builder, com.google.spanner.v1.SessionOrBuilder>( - getSession(), - getParentForChildren(), - isClean()); + sessionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.v1.Session, + com.google.spanner.v1.Session.Builder, + com.google.spanner.v1.SessionOrBuilder>( + getSession(), getParentForChildren(), isClean()); session_ = null; } return sessionBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -755,12 +855,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.v1.CreateSessionRequest) } // @@protoc_insertion_point(class_scope:google.spanner.v1.CreateSessionRequest) private static final com.google.spanner.v1.CreateSessionRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.v1.CreateSessionRequest(); } @@ -769,27 +869,27 @@ public static com.google.spanner.v1.CreateSessionRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateSessionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateSessionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -804,6 +904,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.CreateSessionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CreateSessionRequestOrBuilder.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CreateSessionRequestOrBuilder.java similarity index 55% rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CreateSessionRequestOrBuilder.java rename to proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CreateSessionRequestOrBuilder.java index 87520589746..e6e69132e6f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CreateSessionRequestOrBuilder.java +++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/CreateSessionRequestOrBuilder.java @@ -1,51 +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/spanner/v1/spanner.proto package com.google.spanner.v1; -public interface CreateSessionRequestOrBuilder extends +public interface CreateSessionRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.CreateSessionRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The database in which the new session is created.
    * 
* - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The database. */ java.lang.String getDatabase(); /** + * + * *
    * Required. The database in which the new session is created.
    * 
* - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for database. */ - com.google.protobuf.ByteString - getDatabaseBytes(); + com.google.protobuf.ByteString getDatabaseBytes(); /** + * + * *
    * Required. The session to create.
    * 
* * .google.spanner.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the session field is set. */ boolean hasSession(); /** + * + * *
    * Required. The session to create.
    * 
* * .google.spanner.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The session. */ com.google.spanner.v1.Session getSession(); /** + * + * *
    * Required. The session to create.
    * 
diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/DatabaseName.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/DatabaseName.java similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/DatabaseName.java rename to proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/DatabaseName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/DeleteSessionRequest.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/DeleteSessionRequest.java similarity index 61% rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/DeleteSessionRequest.java rename to proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/DeleteSessionRequest.java index d3a62f98da5..f285dd8124e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/DeleteSessionRequest.java +++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/DeleteSessionRequest.java @@ -1,62 +1,87 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/spanner.proto package com.google.spanner.v1; /** + * + * *
  * The request for [DeleteSession][google.spanner.v1.Spanner.DeleteSession].
  * 
* * Protobuf type {@code google.spanner.v1.DeleteSessionRequest} */ -public final class DeleteSessionRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteSessionRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.spanner.v1.DeleteSessionRequest) DeleteSessionRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteSessionRequest.newBuilder() to construct. private DeleteSessionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteSessionRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteSessionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_DeleteSessionRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_DeleteSessionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_DeleteSessionRequest_fieldAccessorTable + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_DeleteSessionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.DeleteSessionRequest.class, com.google.spanner.v1.DeleteSessionRequest.Builder.class); + com.google.spanner.v1.DeleteSessionRequest.class, + com.google.spanner.v1.DeleteSessionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the session to delete.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -65,29 +90,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 name of the session to delete.
    * 
* - * string name = 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.spanner.v1.DeleteSessionRequest)) { return super.equals(obj); } - com.google.spanner.v1.DeleteSessionRequest other = (com.google.spanner.v1.DeleteSessionRequest) obj; + com.google.spanner.v1.DeleteSessionRequest other = + (com.google.spanner.v1.DeleteSessionRequest) 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,130 +186,136 @@ public int hashCode() { return hash; } - public static com.google.spanner.v1.DeleteSessionRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.spanner.v1.DeleteSessionRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.DeleteSessionRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.v1.DeleteSessionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.DeleteSessionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.v1.DeleteSessionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.DeleteSessionRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.v1.DeleteSessionRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.v1.DeleteSessionRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.DeleteSessionRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.spanner.v1.DeleteSessionRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.spanner.v1.DeleteSessionRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.spanner.v1.DeleteSessionRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.v1.DeleteSessionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.spanner.v1.DeleteSessionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [DeleteSession][google.spanner.v1.Spanner.DeleteSession].
    * 
* * Protobuf type {@code google.spanner.v1.DeleteSessionRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.DeleteSessionRequest) com.google.spanner.v1.DeleteSessionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_DeleteSessionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_DeleteSessionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_DeleteSessionRequest_fieldAccessorTable + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_DeleteSessionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.DeleteSessionRequest.class, com.google.spanner.v1.DeleteSessionRequest.Builder.class); + com.google.spanner.v1.DeleteSessionRequest.class, + com.google.spanner.v1.DeleteSessionRequest.Builder.class); } // Construct using com.google.spanner.v1.DeleteSessionRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - 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 +325,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_DeleteSessionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_DeleteSessionRequest_descriptor; } @java.lang.Override @@ -313,8 +346,11 @@ public com.google.spanner.v1.DeleteSessionRequest build() { @java.lang.Override public com.google.spanner.v1.DeleteSessionRequest buildPartial() { - com.google.spanner.v1.DeleteSessionRequest result = new com.google.spanner.v1.DeleteSessionRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.spanner.v1.DeleteSessionRequest result = + new com.google.spanner.v1.DeleteSessionRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -330,38 +366,39 @@ private void buildPartial0(com.google.spanner.v1.DeleteSessionRequest 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.spanner.v1.DeleteSessionRequest) { - return mergeFrom((com.google.spanner.v1.DeleteSessionRequest)other); + return mergeFrom((com.google.spanner.v1.DeleteSessionRequest) other); } else { super.mergeFrom(other); return this; @@ -401,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) { @@ -421,22 +460,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the session to delete.
      * 
* - * string name = 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,20 +489,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the session to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -466,28 +513,39 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the session to delete.
      * 
* - * 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 name of the session to delete.
      * 
* - * string 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() { @@ -497,26 +555,32 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the session to delete.
      * 
* - * 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); } @@ -526,12 +590,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.v1.DeleteSessionRequest) } // @@protoc_insertion_point(class_scope:google.spanner.v1.DeleteSessionRequest) private static final com.google.spanner.v1.DeleteSessionRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.v1.DeleteSessionRequest(); } @@ -540,27 +604,27 @@ public static com.google.spanner.v1.DeleteSessionRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteSessionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteSessionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -575,6 +639,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.DeleteSessionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/DeleteSessionRequestOrBuilder.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/DeleteSessionRequestOrBuilder.java new file mode 100644 index 00000000000..5774259370a --- /dev/null +++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/DeleteSessionRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/spanner/v1/spanner.proto + +package com.google.spanner.v1; + +public interface DeleteSessionRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.spanner.v1.DeleteSessionRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the session to delete.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the session to delete.
+   * 
+ * + * + * 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/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlRequest.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlRequest.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlRequest.java rename to proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlRequest.java index 5ea7cba62da..c4392561ad7 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlRequest.java +++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/spanner.proto package com.google.spanner.v1; /** + * + * *
  * The request for [ExecuteBatchDml][google.spanner.v1.Spanner.ExecuteBatchDml].
  * 
* * Protobuf type {@code google.spanner.v1.ExecuteBatchDmlRequest} */ -public final class ExecuteBatchDmlRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ExecuteBatchDmlRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.spanner.v1.ExecuteBatchDmlRequest) ExecuteBatchDmlRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ExecuteBatchDmlRequest.newBuilder() to construct. private ExecuteBatchDmlRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ExecuteBatchDmlRequest() { session_ = ""; statements_ = java.util.Collections.emptyList(); @@ -26,54 +44,63 @@ private ExecuteBatchDmlRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ExecuteBatchDmlRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteBatchDmlRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_ExecuteBatchDmlRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteBatchDmlRequest_fieldAccessorTable + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_ExecuteBatchDmlRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.ExecuteBatchDmlRequest.class, com.google.spanner.v1.ExecuteBatchDmlRequest.Builder.class); + com.google.spanner.v1.ExecuteBatchDmlRequest.class, + com.google.spanner.v1.ExecuteBatchDmlRequest.Builder.class); } - public interface StatementOrBuilder extends + public interface StatementOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.ExecuteBatchDmlRequest.Statement) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. The DML string.
      * 
* * string sql = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The sql. */ java.lang.String getSql(); /** + * + * *
      * Required. The DML string.
      * 
* * string sql = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for sql. */ - com.google.protobuf.ByteString - getSqlBytes(); + com.google.protobuf.ByteString getSqlBytes(); /** + * + * *
      * Parameter names and values that bind to placeholders in the DML string.
      * A parameter placeholder consists of the `@` character followed by the
@@ -86,10 +113,13 @@ public interface StatementOrBuilder extends
      * 
* * .google.protobuf.Struct params = 2; + * * @return Whether the params field is set. */ boolean hasParams(); /** + * + * *
      * Parameter names and values that bind to placeholders in the DML string.
      * A parameter placeholder consists of the `@` character followed by the
@@ -102,10 +132,13 @@ public interface StatementOrBuilder extends
      * 
* * .google.protobuf.Struct params = 2; + * * @return The params. */ com.google.protobuf.Struct getParams(); /** + * + * *
      * Parameter names and values that bind to placeholders in the DML string.
      * A parameter placeholder consists of the `@` character followed by the
@@ -122,6 +155,8 @@ public interface StatementOrBuilder extends
     com.google.protobuf.StructOrBuilder getParamsOrBuilder();
 
     /**
+     *
+     *
      * 
      * It is not always possible for Cloud Spanner to infer the right SQL type
      * from a JSON value.  For example, values of type `BYTES` and values
@@ -136,6 +171,8 @@ public interface StatementOrBuilder extends
      */
     int getParamTypesCount();
     /**
+     *
+     *
      * 
      * It is not always possible for Cloud Spanner to infer the right SQL type
      * from a JSON value.  For example, values of type `BYTES` and values
@@ -148,15 +185,13 @@ public interface StatementOrBuilder extends
      *
      * map<string, .google.spanner.v1.Type> param_types = 3;
      */
-    boolean containsParamTypes(
-        java.lang.String key);
-    /**
-     * Use {@link #getParamTypesMap()} instead.
-     */
+    boolean containsParamTypes(java.lang.String key);
+    /** Use {@link #getParamTypesMap()} instead. */
     @java.lang.Deprecated
-    java.util.Map
-    getParamTypes();
+    java.util.Map getParamTypes();
     /**
+     *
+     *
      * 
      * It is not always possible for Cloud Spanner to infer the right SQL type
      * from a JSON value.  For example, values of type `BYTES` and values
@@ -169,9 +204,10 @@ boolean containsParamTypes(
      *
      * map<string, .google.spanner.v1.Type> param_types = 3;
      */
-    java.util.Map
-    getParamTypesMap();
+    java.util.Map getParamTypesMap();
     /**
+     *
+     *
      * 
      * It is not always possible for Cloud Spanner to infer the right SQL type
      * from a JSON value.  For example, values of type `BYTES` and values
@@ -185,11 +221,13 @@ boolean containsParamTypes(
      * map<string, .google.spanner.v1.Type> param_types = 3;
      */
     /* nullable */
-com.google.spanner.v1.Type getParamTypesOrDefault(
+    com.google.spanner.v1.Type getParamTypesOrDefault(
         java.lang.String key,
         /* nullable */
-com.google.spanner.v1.Type defaultValue);
+        com.google.spanner.v1.Type defaultValue);
     /**
+     *
+     *
      * 
      * It is not always possible for Cloud Spanner to infer the right SQL type
      * from a JSON value.  For example, values of type `BYTES` and values
@@ -202,75 +240,81 @@ com.google.spanner.v1.Type getParamTypesOrDefault(
      *
      * map<string, .google.spanner.v1.Type> param_types = 3;
      */
-    com.google.spanner.v1.Type getParamTypesOrThrow(
-        java.lang.String key);
+    com.google.spanner.v1.Type getParamTypesOrThrow(java.lang.String key);
   }
   /**
+   *
+   *
    * 
    * A single DML statement.
    * 
* * Protobuf type {@code google.spanner.v1.ExecuteBatchDmlRequest.Statement} */ - public static final class Statement extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Statement extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.spanner.v1.ExecuteBatchDmlRequest.Statement) StatementOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Statement.newBuilder() to construct. private Statement(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Statement() { sql_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Statement(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_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 3: return internalGetParamTypes(); 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.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_fieldAccessorTable + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.class, com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.Builder.class); + com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.class, + com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.Builder.class); } public static final int SQL_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object sql_ = ""; /** + * + * *
      * Required. The DML string.
      * 
* * string sql = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The sql. */ @java.lang.Override @@ -279,29 +323,29 @@ public java.lang.String getSql() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sql_ = s; return s; } } /** + * + * *
      * Required. The DML string.
      * 
* * string sql = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for sql. */ @java.lang.Override - public com.google.protobuf.ByteString - getSqlBytes() { + public com.google.protobuf.ByteString getSqlBytes() { java.lang.Object ref = sql_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sql_ = b; return b; } else { @@ -312,6 +356,8 @@ public java.lang.String getSql() { public static final int PARAMS_FIELD_NUMBER = 2; private com.google.protobuf.Struct params_; /** + * + * *
      * Parameter names and values that bind to placeholders in the DML string.
      * A parameter placeholder consists of the `@` character followed by the
@@ -324,6 +370,7 @@ public java.lang.String getSql() {
      * 
* * .google.protobuf.Struct params = 2; + * * @return Whether the params field is set. */ @java.lang.Override @@ -331,6 +378,8 @@ public boolean hasParams() { return params_ != null; } /** + * + * *
      * Parameter names and values that bind to placeholders in the DML string.
      * A parameter placeholder consists of the `@` character followed by the
@@ -343,6 +392,7 @@ public boolean hasParams() {
      * 
* * .google.protobuf.Struct params = 2; + * * @return The params. */ @java.lang.Override @@ -350,6 +400,8 @@ public com.google.protobuf.Struct getParams() { return params_ == null ? com.google.protobuf.Struct.getDefaultInstance() : params_; } /** + * + * *
      * Parameter names and values that bind to placeholders in the DML string.
      * A parameter placeholder consists of the `@` character followed by the
@@ -369,32 +421,38 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
     }
 
     public static final int PARAM_TYPES_FIELD_NUMBER = 3;
+
     private static final class ParamTypesDefaultEntryHolder {
-      static final com.google.protobuf.MapEntry<
-          java.lang.String, com.google.spanner.v1.Type> defaultEntry =
+      static final com.google.protobuf.MapEntry
+          defaultEntry =
               com.google.protobuf.MapEntry
-              .newDefaultInstance(
-                  com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_ParamTypesEntry_descriptor, 
-                  com.google.protobuf.WireFormat.FieldType.STRING,
-                  "",
-                  com.google.protobuf.WireFormat.FieldType.MESSAGE,
-                  com.google.spanner.v1.Type.getDefaultInstance());
+                  .newDefaultInstance(
+                      com.google.spanner.v1.SpannerProto
+                          .internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_ParamTypesEntry_descriptor,
+                      com.google.protobuf.WireFormat.FieldType.STRING,
+                      "",
+                      com.google.protobuf.WireFormat.FieldType.MESSAGE,
+                      com.google.spanner.v1.Type.getDefaultInstance());
     }
+
     @SuppressWarnings("serial")
-    private com.google.protobuf.MapField<
-        java.lang.String, com.google.spanner.v1.Type> paramTypes_;
+    private com.google.protobuf.MapField paramTypes_;
+
     private com.google.protobuf.MapField
-    internalGetParamTypes() {
+        internalGetParamTypes() {
       if (paramTypes_ == null) {
         return com.google.protobuf.MapField.emptyMapField(
             ParamTypesDefaultEntryHolder.defaultEntry);
       }
       return paramTypes_;
     }
+
     public int getParamTypesCount() {
       return internalGetParamTypes().getMap().size();
     }
     /**
+     *
+     *
      * 
      * It is not always possible for Cloud Spanner to infer the right SQL type
      * from a JSON value.  For example, values of type `BYTES` and values
@@ -408,20 +466,21 @@ public int getParamTypesCount() {
      * map<string, .google.spanner.v1.Type> param_types = 3;
      */
     @java.lang.Override
-    public boolean containsParamTypes(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsParamTypes(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetParamTypes().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getParamTypesMap()} instead.
-     */
+    /** Use {@link #getParamTypesMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getParamTypes() {
       return getParamTypesMap();
     }
     /**
+     *
+     *
      * 
      * It is not always possible for Cloud Spanner to infer the right SQL type
      * from a JSON value.  For example, values of type `BYTES` and values
@@ -439,6 +498,8 @@ public java.util.Map getParamTypes
       return internalGetParamTypes().getMap();
     }
     /**
+     *
+     *
      * 
      * It is not always possible for Cloud Spanner to infer the right SQL type
      * from a JSON value.  For example, values of type `BYTES` and values
@@ -452,17 +513,20 @@ public java.util.Map getParamTypes
      * map<string, .google.spanner.v1.Type> param_types = 3;
      */
     @java.lang.Override
-    public /* nullable */
-com.google.spanner.v1.Type getParamTypesOrDefault(
+    public /* nullable */ com.google.spanner.v1.Type getParamTypesOrDefault(
         java.lang.String key,
         /* nullable */
-com.google.spanner.v1.Type defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
+        com.google.spanner.v1.Type defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       java.util.Map map =
           internalGetParamTypes().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * It is not always possible for Cloud Spanner to infer the right SQL type
      * from a JSON value.  For example, values of type `BYTES` and values
@@ -476,9 +540,10 @@ com.google.spanner.v1.Type getParamTypesOrDefault(
      * map<string, .google.spanner.v1.Type> param_types = 3;
      */
     @java.lang.Override
-    public com.google.spanner.v1.Type getParamTypesOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public com.google.spanner.v1.Type getParamTypesOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       java.util.Map map =
           internalGetParamTypes().getMap();
       if (!map.containsKey(key)) {
@@ -488,6 +553,7 @@ public com.google.spanner.v1.Type getParamTypesOrThrow(
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -499,20 +565,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(sql_)) {
         com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sql_);
       }
       if (params_ != null) {
         output.writeMessage(2, getParams());
       }
-      com.google.protobuf.GeneratedMessageV3
-        .serializeStringMapTo(
-          output,
-          internalGetParamTypes(),
-          ParamTypesDefaultEntryHolder.defaultEntry,
-          3);
+      com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
+          output, internalGetParamTypes(), ParamTypesDefaultEntryHolder.defaultEntry, 3);
       getUnknownFields().writeTo(output);
     }
 
@@ -526,18 +587,17 @@ public int getSerializedSize() {
         size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, sql_);
       }
       if (params_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(2, getParams());
-      }
-      for (java.util.Map.Entry entry
-           : internalGetParamTypes().getMap().entrySet()) {
-        com.google.protobuf.MapEntry
-        paramTypes__ = ParamTypesDefaultEntryHolder.defaultEntry.newBuilderForType()
-            .setKey(entry.getKey())
-            .setValue(entry.getValue())
-            .build();
-        size += com.google.protobuf.CodedOutputStream
-            .computeMessageSize(3, paramTypes__);
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getParams());
+      }
+      for (java.util.Map.Entry entry :
+          internalGetParamTypes().getMap().entrySet()) {
+        com.google.protobuf.MapEntry paramTypes__ =
+            ParamTypesDefaultEntryHolder.defaultEntry
+                .newBuilderForType()
+                .setKey(entry.getKey())
+                .setValue(entry.getValue())
+                .build();
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, paramTypes__);
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -547,22 +607,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.spanner.v1.ExecuteBatchDmlRequest.Statement)) {
         return super.equals(obj);
       }
-      com.google.spanner.v1.ExecuteBatchDmlRequest.Statement other = (com.google.spanner.v1.ExecuteBatchDmlRequest.Statement) obj;
+      com.google.spanner.v1.ExecuteBatchDmlRequest.Statement other =
+          (com.google.spanner.v1.ExecuteBatchDmlRequest.Statement) obj;
 
-      if (!getSql()
-          .equals(other.getSql())) return false;
+      if (!getSql().equals(other.getSql())) return false;
       if (hasParams() != other.hasParams()) return false;
       if (hasParams()) {
-        if (!getParams()
-            .equals(other.getParams())) return false;
+        if (!getParams().equals(other.getParams())) return false;
       }
-      if (!internalGetParamTypes().equals(
-          other.internalGetParamTypes())) return false;
+      if (!internalGetParamTypes().equals(other.internalGetParamTypes())) return false;
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
     }
@@ -590,87 +648,94 @@ public int hashCode() {
     }
 
     public static com.google.spanner.v1.ExecuteBatchDmlRequest.Statement parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.spanner.v1.ExecuteBatchDmlRequest.Statement parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.spanner.v1.ExecuteBatchDmlRequest.Statement parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.spanner.v1.ExecuteBatchDmlRequest.Statement parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.spanner.v1.ExecuteBatchDmlRequest.Statement parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.spanner.v1.ExecuteBatchDmlRequest.Statement parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.spanner.v1.ExecuteBatchDmlRequest.Statement parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.spanner.v1.ExecuteBatchDmlRequest.Statement parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.spanner.v1.ExecuteBatchDmlRequest.Statement parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.spanner.v1.ExecuteBatchDmlRequest.Statement parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.spanner.v1.ExecuteBatchDmlRequest.Statement parseDelimitedFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
+
     public static com.google.spanner.v1.ExecuteBatchDmlRequest.Statement parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.spanner.v1.ExecuteBatchDmlRequest.Statement parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.spanner.v1.ExecuteBatchDmlRequest.Statement parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.google.spanner.v1.ExecuteBatchDmlRequest.Statement prototype) {
+
+    public static Builder newBuilder(
+        com.google.spanner.v1.ExecuteBatchDmlRequest.Statement prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -680,61 +745,61 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * A single DML statement.
      * 
* * Protobuf type {@code google.spanner.v1.ExecuteBatchDmlRequest.Statement} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.ExecuteBatchDmlRequest.Statement) com.google.spanner.v1.ExecuteBatchDmlRequest.StatementOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 3: return internalGetParamTypes(); 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 3: return internalGetMutableParamTypes(); 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.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_fieldAccessorTable + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.class, com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.Builder.class); + com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.class, + com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.Builder.class); } // Construct using com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -750,9 +815,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_descriptor; } @java.lang.Override @@ -771,8 +836,11 @@ public com.google.spanner.v1.ExecuteBatchDmlRequest.Statement build() { @java.lang.Override public com.google.spanner.v1.ExecuteBatchDmlRequest.Statement buildPartial() { - com.google.spanner.v1.ExecuteBatchDmlRequest.Statement result = new com.google.spanner.v1.ExecuteBatchDmlRequest.Statement(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.spanner.v1.ExecuteBatchDmlRequest.Statement result = + new com.google.spanner.v1.ExecuteBatchDmlRequest.Statement(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -783,9 +851,7 @@ private void buildPartial0(com.google.spanner.v1.ExecuteBatchDmlRequest.Statemen result.sql_ = sql_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.params_ = paramsBuilder_ == null - ? params_ - : paramsBuilder_.build(); + result.params_ = paramsBuilder_ == null ? params_ : paramsBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.paramTypes_ = internalGetParamTypes(); @@ -797,38 +863,41 @@ private void buildPartial0(com.google.spanner.v1.ExecuteBatchDmlRequest.Statemen public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.spanner.v1.ExecuteBatchDmlRequest.Statement) { - return mergeFrom((com.google.spanner.v1.ExecuteBatchDmlRequest.Statement)other); + return mergeFrom((com.google.spanner.v1.ExecuteBatchDmlRequest.Statement) other); } else { super.mergeFrom(other); return this; @@ -836,7 +905,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.v1.ExecuteBatchDmlRequest.Statement other) { - if (other == com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.getDefaultInstance()) return this; + if (other == com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.getDefaultInstance()) + return this; if (!other.getSql().isEmpty()) { sql_ = other.sql_; bitField0_ |= 0x00000001; @@ -845,8 +915,7 @@ public Builder mergeFrom(com.google.spanner.v1.ExecuteBatchDmlRequest.Statement if (other.hasParams()) { mergeParams(other.getParams()); } - internalGetMutableParamTypes().mergeFrom( - other.internalGetParamTypes()); + internalGetMutableParamTypes().mergeFrom(other.internalGetParamTypes()); bitField0_ |= 0x00000004; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -874,33 +943,38 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - sql_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getParamsFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - com.google.protobuf.MapEntry - paramTypes__ = input.readMessage( - ParamTypesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableParamTypes().getMutableMap().put( - paramTypes__.getKey(), paramTypes__.getValue()); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + sql_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getParamsFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + com.google.protobuf.MapEntry + paramTypes__ = + input.readMessage( + ParamTypesDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableParamTypes() + .getMutableMap() + .put(paramTypes__.getKey(), paramTypes__.getValue()); + 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) { @@ -910,22 +984,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object sql_ = ""; /** + * + * *
        * Required. The DML string.
        * 
* * string sql = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The sql. */ public java.lang.String getSql() { java.lang.Object ref = sql_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sql_ = s; return s; @@ -934,20 +1011,21 @@ public java.lang.String getSql() { } } /** + * + * *
        * Required. The DML string.
        * 
* * string sql = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for sql. */ - public com.google.protobuf.ByteString - getSqlBytes() { + public com.google.protobuf.ByteString getSqlBytes() { java.lang.Object ref = sql_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sql_ = b; return b; } else { @@ -955,28 +1033,35 @@ public java.lang.String getSql() { } } /** + * + * *
        * Required. The DML string.
        * 
* * string sql = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The sql to set. * @return This builder for chaining. */ - public Builder setSql( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSql(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } sql_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Required. The DML string.
        * 
* * string sql = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearSql() { @@ -986,17 +1071,21 @@ public Builder clearSql() { return this; } /** + * + * *
        * Required. The DML string.
        * 
* * string sql = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for sql to set. * @return This builder for chaining. */ - public Builder setSqlBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSqlBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); sql_ = value; bitField0_ |= 0x00000001; @@ -1006,8 +1095,13 @@ public Builder setSqlBytes( private com.google.protobuf.Struct params_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> paramsBuilder_; + com.google.protobuf.Struct, + com.google.protobuf.Struct.Builder, + com.google.protobuf.StructOrBuilder> + paramsBuilder_; /** + * + * *
        * Parameter names and values that bind to placeholders in the DML string.
        * A parameter placeholder consists of the `@` character followed by the
@@ -1020,12 +1114,15 @@ public Builder setSqlBytes(
        * 
* * .google.protobuf.Struct params = 2; + * * @return Whether the params field is set. */ public boolean hasParams() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
        * Parameter names and values that bind to placeholders in the DML string.
        * A parameter placeholder consists of the `@` character followed by the
@@ -1038,6 +1135,7 @@ public boolean hasParams() {
        * 
* * .google.protobuf.Struct params = 2; + * * @return The params. */ public com.google.protobuf.Struct getParams() { @@ -1048,6 +1146,8 @@ public com.google.protobuf.Struct getParams() { } } /** + * + * *
        * Parameter names and values that bind to placeholders in the DML string.
        * A parameter placeholder consists of the `@` character followed by the
@@ -1075,6 +1175,8 @@ public Builder setParams(com.google.protobuf.Struct value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Parameter names and values that bind to placeholders in the DML string.
        * A parameter placeholder consists of the `@` character followed by the
@@ -1088,8 +1190,7 @@ public Builder setParams(com.google.protobuf.Struct value) {
        *
        * .google.protobuf.Struct params = 2;
        */
-      public Builder setParams(
-          com.google.protobuf.Struct.Builder builderForValue) {
+      public Builder setParams(com.google.protobuf.Struct.Builder builderForValue) {
         if (paramsBuilder_ == null) {
           params_ = builderForValue.build();
         } else {
@@ -1100,6 +1201,8 @@ public Builder setParams(
         return this;
       }
       /**
+       *
+       *
        * 
        * Parameter names and values that bind to placeholders in the DML string.
        * A parameter placeholder consists of the `@` character followed by the
@@ -1115,9 +1218,9 @@ public Builder setParams(
        */
       public Builder mergeParams(com.google.protobuf.Struct value) {
         if (paramsBuilder_ == null) {
-          if (((bitField0_ & 0x00000002) != 0) &&
-            params_ != null &&
-            params_ != com.google.protobuf.Struct.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000002) != 0)
+              && params_ != null
+              && params_ != com.google.protobuf.Struct.getDefaultInstance()) {
             getParamsBuilder().mergeFrom(value);
           } else {
             params_ = value;
@@ -1130,6 +1233,8 @@ public Builder mergeParams(com.google.protobuf.Struct value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Parameter names and values that bind to placeholders in the DML string.
        * A parameter placeholder consists of the `@` character followed by the
@@ -1154,6 +1259,8 @@ public Builder clearParams() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Parameter names and values that bind to placeholders in the DML string.
        * A parameter placeholder consists of the `@` character followed by the
@@ -1173,6 +1280,8 @@ public com.google.protobuf.Struct.Builder getParamsBuilder() {
         return getParamsFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Parameter names and values that bind to placeholders in the DML string.
        * A parameter placeholder consists of the `@` character followed by the
@@ -1190,11 +1299,12 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
         if (paramsBuilder_ != null) {
           return paramsBuilder_.getMessageOrBuilder();
         } else {
-          return params_ == null ?
-              com.google.protobuf.Struct.getDefaultInstance() : params_;
+          return params_ == null ? com.google.protobuf.Struct.getDefaultInstance() : params_;
         }
       }
       /**
+       *
+       *
        * 
        * Parameter names and values that bind to placeholders in the DML string.
        * A parameter placeholder consists of the `@` character followed by the
@@ -1209,21 +1319,25 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
        * .google.protobuf.Struct params = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> 
+              com.google.protobuf.Struct,
+              com.google.protobuf.Struct.Builder,
+              com.google.protobuf.StructOrBuilder>
           getParamsFieldBuilder() {
         if (paramsBuilder_ == null) {
-          paramsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>(
-                  getParams(),
-                  getParentForChildren(),
-                  isClean());
+          paramsBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.protobuf.Struct,
+                  com.google.protobuf.Struct.Builder,
+                  com.google.protobuf.StructOrBuilder>(
+                  getParams(), getParentForChildren(), isClean());
           params_ = null;
         }
         return paramsBuilder_;
       }
 
-      private com.google.protobuf.MapField<
-          java.lang.String, com.google.spanner.v1.Type> paramTypes_;
+      private com.google.protobuf.MapField
+          paramTypes_;
+
       private com.google.protobuf.MapField
           internalGetParamTypes() {
         if (paramTypes_ == null) {
@@ -1232,11 +1346,12 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
         }
         return paramTypes_;
       }
+
       private com.google.protobuf.MapField
           internalGetMutableParamTypes() {
         if (paramTypes_ == null) {
-          paramTypes_ = com.google.protobuf.MapField.newMapField(
-              ParamTypesDefaultEntryHolder.defaultEntry);
+          paramTypes_ =
+              com.google.protobuf.MapField.newMapField(ParamTypesDefaultEntryHolder.defaultEntry);
         }
         if (!paramTypes_.isMutable()) {
           paramTypes_ = paramTypes_.copy();
@@ -1245,10 +1360,13 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
         onChanged();
         return paramTypes_;
       }
+
       public int getParamTypesCount() {
         return internalGetParamTypes().getMap().size();
       }
       /**
+       *
+       *
        * 
        * It is not always possible for Cloud Spanner to infer the right SQL type
        * from a JSON value.  For example, values of type `BYTES` and values
@@ -1262,20 +1380,21 @@ public int getParamTypesCount() {
        * map<string, .google.spanner.v1.Type> param_types = 3;
        */
       @java.lang.Override
-      public boolean containsParamTypes(
-          java.lang.String key) {
-        if (key == null) { throw new NullPointerException("map key"); }
+      public boolean containsParamTypes(java.lang.String key) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
         return internalGetParamTypes().getMap().containsKey(key);
       }
-      /**
-       * Use {@link #getParamTypesMap()} instead.
-       */
+      /** Use {@link #getParamTypesMap()} instead. */
       @java.lang.Override
       @java.lang.Deprecated
       public java.util.Map getParamTypes() {
         return getParamTypesMap();
       }
       /**
+       *
+       *
        * 
        * It is not always possible for Cloud Spanner to infer the right SQL type
        * from a JSON value.  For example, values of type `BYTES` and values
@@ -1293,6 +1412,8 @@ public java.util.Map getParamTypes
         return internalGetParamTypes().getMap();
       }
       /**
+       *
+       *
        * 
        * It is not always possible for Cloud Spanner to infer the right SQL type
        * from a JSON value.  For example, values of type `BYTES` and values
@@ -1306,17 +1427,20 @@ public java.util.Map getParamTypes
        * map<string, .google.spanner.v1.Type> param_types = 3;
        */
       @java.lang.Override
-      public /* nullable */
-com.google.spanner.v1.Type getParamTypesOrDefault(
+      public /* nullable */ com.google.spanner.v1.Type getParamTypesOrDefault(
           java.lang.String key,
           /* nullable */
-com.google.spanner.v1.Type defaultValue) {
-        if (key == null) { throw new NullPointerException("map key"); }
+          com.google.spanner.v1.Type defaultValue) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
         java.util.Map map =
             internalGetParamTypes().getMap();
         return map.containsKey(key) ? map.get(key) : defaultValue;
       }
       /**
+       *
+       *
        * 
        * It is not always possible for Cloud Spanner to infer the right SQL type
        * from a JSON value.  For example, values of type `BYTES` and values
@@ -1330,9 +1454,10 @@ com.google.spanner.v1.Type getParamTypesOrDefault(
        * map<string, .google.spanner.v1.Type> param_types = 3;
        */
       @java.lang.Override
-      public com.google.spanner.v1.Type getParamTypesOrThrow(
-          java.lang.String key) {
-        if (key == null) { throw new NullPointerException("map key"); }
+      public com.google.spanner.v1.Type getParamTypesOrThrow(java.lang.String key) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
         java.util.Map map =
             internalGetParamTypes().getMap();
         if (!map.containsKey(key)) {
@@ -1340,13 +1465,15 @@ public com.google.spanner.v1.Type getParamTypesOrThrow(
         }
         return map.get(key);
       }
+
       public Builder clearParamTypes() {
         bitField0_ = (bitField0_ & ~0x00000004);
-        internalGetMutableParamTypes().getMutableMap()
-            .clear();
+        internalGetMutableParamTypes().getMutableMap().clear();
         return this;
       }
       /**
+       *
+       *
        * 
        * It is not always possible for Cloud Spanner to infer the right SQL type
        * from a JSON value.  For example, values of type `BYTES` and values
@@ -1359,23 +1486,22 @@ public Builder clearParamTypes() {
        *
        * map<string, .google.spanner.v1.Type> param_types = 3;
        */
-      public Builder removeParamTypes(
-          java.lang.String key) {
-        if (key == null) { throw new NullPointerException("map key"); }
-        internalGetMutableParamTypes().getMutableMap()
-            .remove(key);
+      public Builder removeParamTypes(java.lang.String key) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
+        internalGetMutableParamTypes().getMutableMap().remove(key);
         return this;
       }
-      /**
-       * Use alternate mutation accessors instead.
-       */
+      /** Use alternate mutation accessors instead. */
       @java.lang.Deprecated
-      public java.util.Map
-          getMutableParamTypes() {
+      public java.util.Map getMutableParamTypes() {
         bitField0_ |= 0x00000004;
         return internalGetMutableParamTypes().getMutableMap();
       }
       /**
+       *
+       *
        * 
        * It is not always possible for Cloud Spanner to infer the right SQL type
        * from a JSON value.  For example, values of type `BYTES` and values
@@ -1388,17 +1514,20 @@ public Builder removeParamTypes(
        *
        * map<string, .google.spanner.v1.Type> param_types = 3;
        */
-      public Builder putParamTypes(
-          java.lang.String key,
-          com.google.spanner.v1.Type value) {
-        if (key == null) { throw new NullPointerException("map key"); }
-        if (value == null) { throw new NullPointerException("map value"); }
-        internalGetMutableParamTypes().getMutableMap()
-            .put(key, value);
+      public Builder putParamTypes(java.lang.String key, com.google.spanner.v1.Type value) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
+        if (value == null) {
+          throw new NullPointerException("map value");
+        }
+        internalGetMutableParamTypes().getMutableMap().put(key, value);
         bitField0_ |= 0x00000004;
         return this;
       }
       /**
+       *
+       *
        * 
        * It is not always possible for Cloud Spanner to infer the right SQL type
        * from a JSON value.  For example, values of type `BYTES` and values
@@ -1413,11 +1542,11 @@ public Builder putParamTypes(
        */
       public Builder putAllParamTypes(
           java.util.Map values) {
-        internalGetMutableParamTypes().getMutableMap()
-            .putAll(values);
+        internalGetMutableParamTypes().getMutableMap().putAll(values);
         bitField0_ |= 0x00000004;
         return this;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1430,12 +1559,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.spanner.v1.ExecuteBatchDmlRequest.Statement)
     }
 
     // @@protoc_insertion_point(class_scope:google.spanner.v1.ExecuteBatchDmlRequest.Statement)
     private static final com.google.spanner.v1.ExecuteBatchDmlRequest.Statement DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.spanner.v1.ExecuteBatchDmlRequest.Statement();
     }
@@ -1444,27 +1573,28 @@ public static com.google.spanner.v1.ExecuteBatchDmlRequest.Statement getDefaultI
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public Statement parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        Builder builder = newBuilder();
-        try {
-          builder.mergeFrom(input, extensionRegistry);
-        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          throw e.setUnfinishedMessage(builder.buildPartial());
-        } catch (com.google.protobuf.UninitializedMessageException e) {
-          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-        } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(builder.buildPartial());
-        }
-        return builder.buildPartial();
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public Statement parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            Builder builder = newBuilder();
+            try {
+              builder.mergeFrom(input, extensionRegistry);
+            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+              throw e.setUnfinishedMessage(builder.buildPartial());
+            } catch (com.google.protobuf.UninitializedMessageException e) {
+              throw e.asInvalidProtocolBufferException()
+                  .setUnfinishedMessage(builder.buildPartial());
+            } catch (java.io.IOException e) {
+              throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                  .setUnfinishedMessage(builder.buildPartial());
+            }
+            return builder.buildPartial();
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -1479,18 +1609,23 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.spanner.v1.ExecuteBatchDmlRequest.Statement getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
   public static final int SESSION_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object session_ = "";
   /**
+   *
+   *
    * 
    * Required. The session in which the DML statements should be performed.
    * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The session. */ @java.lang.Override @@ -1499,29 +1634,31 @@ public java.lang.String getSession() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); session_ = s; return s; } } /** + * + * *
    * Required. The session in which the DML statements should be performed.
    * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for session. */ @java.lang.Override - public com.google.protobuf.ByteString - getSessionBytes() { + public com.google.protobuf.ByteString getSessionBytes() { java.lang.Object ref = session_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); session_ = b; return b; } else { @@ -1532,6 +1669,8 @@ public java.lang.String getSession() { public static final int TRANSACTION_FIELD_NUMBER = 2; private com.google.spanner.v1.TransactionSelector transaction_; /** + * + * *
    * Required. The transaction to use. Must be a read-write transaction.
    * To protect against replays, single-use transactions are not supported. The
@@ -1539,7 +1678,10 @@ public java.lang.String getSession() {
    * transaction.
    * 
* - * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the transaction field is set. */ @java.lang.Override @@ -1547,6 +1689,8 @@ public boolean hasTransaction() { return transaction_ != null; } /** + * + * *
    * Required. The transaction to use. Must be a read-write transaction.
    * To protect against replays, single-use transactions are not supported. The
@@ -1554,14 +1698,21 @@ public boolean hasTransaction() {
    * transaction.
    * 
* - * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The transaction. */ @java.lang.Override public com.google.spanner.v1.TransactionSelector getTransaction() { - return transaction_ == null ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() : transaction_; + return transaction_ == null + ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() + : transaction_; } /** + * + * *
    * Required. The transaction to use. Must be a read-write transaction.
    * To protect against replays, single-use transactions are not supported. The
@@ -1569,17 +1720,24 @@ public com.google.spanner.v1.TransactionSelector getTransaction() {
    * transaction.
    * 
* - * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilder() { - return transaction_ == null ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() : transaction_; + return transaction_ == null + ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() + : transaction_; } public static final int STATEMENTS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private java.util.List statements_; /** + * + * *
    * Required. The list of statements to execute in this batch. Statements are executed
    * serially, such that the effects of statement `i` are visible to statement
@@ -1588,13 +1746,18 @@ public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilde
    * Callers must provide at least one statement.
    * 
* - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List getStatementsList() { + public java.util.List + getStatementsList() { return statements_; } /** + * + * *
    * Required. The list of statements to execute in this batch. Statements are executed
    * serially, such that the effects of statement `i` are visible to statement
@@ -1603,14 +1766,18 @@ public java.util.List ge
    * Callers must provide at least one statement.
    * 
* - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List + public java.util.List getStatementsOrBuilderList() { return statements_; } /** + * + * *
    * Required. The list of statements to execute in this batch. Statements are executed
    * serially, such that the effects of statement `i` are visible to statement
@@ -1619,13 +1786,17 @@ public java.util.List ge
    * Callers must provide at least one statement.
    * 
* - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public int getStatementsCount() { return statements_.size(); } /** + * + * *
    * Required. The list of statements to execute in this batch. Statements are executed
    * serially, such that the effects of statement `i` are visible to statement
@@ -1634,13 +1805,17 @@ public int getStatementsCount() {
    * Callers must provide at least one statement.
    * 
* - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.spanner.v1.ExecuteBatchDmlRequest.Statement getStatements(int index) { return statements_.get(index); } /** + * + * *
    * Required. The list of statements to execute in this batch. Statements are executed
    * serially, such that the effects of statement `i` are visible to statement
@@ -1649,7 +1824,9 @@ public com.google.spanner.v1.ExecuteBatchDmlRequest.Statement getStatements(int
    * Callers must provide at least one statement.
    * 
* - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.spanner.v1.ExecuteBatchDmlRequest.StatementOrBuilder getStatementsOrBuilder( @@ -1660,6 +1837,8 @@ public com.google.spanner.v1.ExecuteBatchDmlRequest.StatementOrBuilder getStatem public static final int SEQNO_FIELD_NUMBER = 4; private long seqno_ = 0L; /** + * + * *
    * Required. A per-transaction sequence number used to identify this request. This field
    * makes each request idempotent such that if the request is received multiple
@@ -1671,6 +1850,7 @@ public com.google.spanner.v1.ExecuteBatchDmlRequest.StatementOrBuilder getStatem
    * 
* * int64 seqno = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The seqno. */ @java.lang.Override @@ -1681,11 +1861,14 @@ public long getSeqno() { public static final int REQUEST_OPTIONS_FIELD_NUMBER = 5; private com.google.spanner.v1.RequestOptions requestOptions_; /** + * + * *
    * Common options for this request.
    * 
* * .google.spanner.v1.RequestOptions request_options = 5; + * * @return Whether the requestOptions field is set. */ @java.lang.Override @@ -1693,18 +1876,25 @@ public boolean hasRequestOptions() { return requestOptions_ != null; } /** + * + * *
    * Common options for this request.
    * 
* * .google.spanner.v1.RequestOptions request_options = 5; + * * @return The requestOptions. */ @java.lang.Override public com.google.spanner.v1.RequestOptions getRequestOptions() { - return requestOptions_ == null ? com.google.spanner.v1.RequestOptions.getDefaultInstance() : requestOptions_; + return requestOptions_ == null + ? com.google.spanner.v1.RequestOptions.getDefaultInstance() + : requestOptions_; } /** + * + * *
    * Common options for this request.
    * 
@@ -1713,10 +1903,13 @@ public com.google.spanner.v1.RequestOptions getRequestOptions() { */ @java.lang.Override public com.google.spanner.v1.RequestOptionsOrBuilder getRequestOptionsOrBuilder() { - return requestOptions_ == null ? com.google.spanner.v1.RequestOptions.getDefaultInstance() : requestOptions_; + return requestOptions_ == null + ? com.google.spanner.v1.RequestOptions.getDefaultInstance() + : requestOptions_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1728,8 +1921,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(session_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, session_); } @@ -1758,20 +1950,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, session_); } if (transaction_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getTransaction()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTransaction()); } for (int i = 0; i < statements_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, statements_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, statements_.get(i)); } if (seqno_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(4, seqno_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, seqno_); } if (requestOptions_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getRequestOptions()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getRequestOptions()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1781,28 +1969,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.spanner.v1.ExecuteBatchDmlRequest)) { return super.equals(obj); } - com.google.spanner.v1.ExecuteBatchDmlRequest other = (com.google.spanner.v1.ExecuteBatchDmlRequest) obj; + com.google.spanner.v1.ExecuteBatchDmlRequest other = + (com.google.spanner.v1.ExecuteBatchDmlRequest) obj; - if (!getSession() - .equals(other.getSession())) return false; + if (!getSession().equals(other.getSession())) return false; if (hasTransaction() != other.hasTransaction()) return false; if (hasTransaction()) { - if (!getTransaction() - .equals(other.getTransaction())) return false; + if (!getTransaction().equals(other.getTransaction())) return false; } - if (!getStatementsList() - .equals(other.getStatementsList())) return false; - if (getSeqno() - != other.getSeqno()) return false; + if (!getStatementsList().equals(other.getStatementsList())) return false; + if (getSeqno() != other.getSeqno()) return false; if (hasRequestOptions() != other.hasRequestOptions()) return false; if (hasRequestOptions()) { - if (!getRequestOptions() - .equals(other.getRequestOptions())) return false; + if (!getRequestOptions().equals(other.getRequestOptions())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1826,8 +2010,7 @@ public int hashCode() { hash = (53 * hash) + getStatementsList().hashCode(); } hash = (37 * hash) + SEQNO_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getSeqno()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getSeqno()); if (hasRequestOptions()) { hash = (37 * hash) + REQUEST_OPTIONS_FIELD_NUMBER; hash = (53 * hash) + getRequestOptions().hashCode(); @@ -1837,130 +2020,136 @@ public int hashCode() { return hash; } - public static com.google.spanner.v1.ExecuteBatchDmlRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.spanner.v1.ExecuteBatchDmlRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.ExecuteBatchDmlRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.v1.ExecuteBatchDmlRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.ExecuteBatchDmlRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.v1.ExecuteBatchDmlRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.ExecuteBatchDmlRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.v1.ExecuteBatchDmlRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.v1.ExecuteBatchDmlRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.ExecuteBatchDmlRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.spanner.v1.ExecuteBatchDmlRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.spanner.v1.ExecuteBatchDmlRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.spanner.v1.ExecuteBatchDmlRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.v1.ExecuteBatchDmlRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.spanner.v1.ExecuteBatchDmlRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [ExecuteBatchDml][google.spanner.v1.Spanner.ExecuteBatchDml].
    * 
* * Protobuf type {@code google.spanner.v1.ExecuteBatchDmlRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.ExecuteBatchDmlRequest) com.google.spanner.v1.ExecuteBatchDmlRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteBatchDmlRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_ExecuteBatchDmlRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteBatchDmlRequest_fieldAccessorTable + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_ExecuteBatchDmlRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.ExecuteBatchDmlRequest.class, com.google.spanner.v1.ExecuteBatchDmlRequest.Builder.class); + com.google.spanner.v1.ExecuteBatchDmlRequest.class, + com.google.spanner.v1.ExecuteBatchDmlRequest.Builder.class); } // Construct using com.google.spanner.v1.ExecuteBatchDmlRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1988,9 +2177,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteBatchDmlRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_ExecuteBatchDmlRequest_descriptor; } @java.lang.Override @@ -2009,9 +2198,12 @@ public com.google.spanner.v1.ExecuteBatchDmlRequest build() { @java.lang.Override public com.google.spanner.v1.ExecuteBatchDmlRequest buildPartial() { - com.google.spanner.v1.ExecuteBatchDmlRequest result = new com.google.spanner.v1.ExecuteBatchDmlRequest(this); + com.google.spanner.v1.ExecuteBatchDmlRequest result = + new com.google.spanner.v1.ExecuteBatchDmlRequest(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -2034,17 +2226,15 @@ private void buildPartial0(com.google.spanner.v1.ExecuteBatchDmlRequest result) result.session_ = session_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.transaction_ = transactionBuilder_ == null - ? transaction_ - : transactionBuilder_.build(); + result.transaction_ = + transactionBuilder_ == null ? transaction_ : transactionBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.seqno_ = seqno_; } if (((from_bitField0_ & 0x00000010) != 0)) { - result.requestOptions_ = requestOptionsBuilder_ == null - ? requestOptions_ - : requestOptionsBuilder_.build(); + result.requestOptions_ = + requestOptionsBuilder_ == null ? requestOptions_ : requestOptionsBuilder_.build(); } } @@ -2052,38 +2242,39 @@ private void buildPartial0(com.google.spanner.v1.ExecuteBatchDmlRequest 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.spanner.v1.ExecuteBatchDmlRequest) { - return mergeFrom((com.google.spanner.v1.ExecuteBatchDmlRequest)other); + return mergeFrom((com.google.spanner.v1.ExecuteBatchDmlRequest) other); } else { super.mergeFrom(other); return this; @@ -2118,9 +2309,10 @@ public Builder mergeFrom(com.google.spanner.v1.ExecuteBatchDmlRequest other) { statementsBuilder_ = null; statements_ = other.statements_; bitField0_ = (bitField0_ & ~0x00000004); - statementsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getStatementsFieldBuilder() : null; + statementsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getStatementsFieldBuilder() + : null; } else { statementsBuilder_.addAllMessages(other.statements_); } @@ -2158,49 +2350,51 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - session_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getTransactionFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - com.google.spanner.v1.ExecuteBatchDmlRequest.Statement m = - input.readMessage( - com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.parser(), - extensionRegistry); - if (statementsBuilder_ == null) { - ensureStatementsIsMutable(); - statements_.add(m); - } else { - statementsBuilder_.addMessage(m); - } - break; - } // case 26 - case 32: { - seqno_ = input.readInt64(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 42: { - input.readMessage( - getRequestOptionsFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + session_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getTransactionFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + com.google.spanner.v1.ExecuteBatchDmlRequest.Statement m = + input.readMessage( + com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.parser(), + extensionRegistry); + if (statementsBuilder_ == null) { + ensureStatementsIsMutable(); + statements_.add(m); + } else { + statementsBuilder_.addMessage(m); + } + break; + } // case 26 + case 32: + { + seqno_ = input.readInt64(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 42: + { + input.readMessage(getRequestOptionsFieldBuilder().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) { @@ -2210,22 +2404,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object session_ = ""; /** + * + * *
      * Required. The session in which the DML statements should be performed.
      * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The session. */ public java.lang.String getSession() { java.lang.Object ref = session_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); session_ = s; return s; @@ -2234,20 +2433,23 @@ public java.lang.String getSession() { } } /** + * + * *
      * Required. The session in which the DML statements should be performed.
      * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for session. */ - public com.google.protobuf.ByteString - getSessionBytes() { + public com.google.protobuf.ByteString getSessionBytes() { java.lang.Object ref = session_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); session_ = b; return b; } else { @@ -2255,28 +2457,39 @@ public java.lang.String getSession() { } } /** + * + * *
      * Required. The session in which the DML statements should be performed.
      * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The session to set. * @return This builder for chaining. */ - public Builder setSession( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSession(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } session_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The session in which the DML statements should be performed.
      * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearSession() { @@ -2286,17 +2499,23 @@ public Builder clearSession() { return this; } /** + * + * *
      * Required. The session in which the DML statements should be performed.
      * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for session to set. * @return This builder for chaining. */ - public Builder setSessionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSessionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); session_ = value; bitField0_ |= 0x00000001; @@ -2306,8 +2525,13 @@ public Builder setSessionBytes( private com.google.spanner.v1.TransactionSelector transaction_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.TransactionSelector, com.google.spanner.v1.TransactionSelector.Builder, com.google.spanner.v1.TransactionSelectorOrBuilder> transactionBuilder_; + com.google.spanner.v1.TransactionSelector, + com.google.spanner.v1.TransactionSelector.Builder, + com.google.spanner.v1.TransactionSelectorOrBuilder> + transactionBuilder_; /** + * + * *
      * Required. The transaction to use. Must be a read-write transaction.
      * To protect against replays, single-use transactions are not supported. The
@@ -2315,13 +2539,18 @@ public Builder setSessionBytes(
      * transaction.
      * 
* - * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the transaction field is set. */ public boolean hasTransaction() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. The transaction to use. Must be a read-write transaction.
      * To protect against replays, single-use transactions are not supported. The
@@ -2329,17 +2558,24 @@ public boolean hasTransaction() {
      * transaction.
      * 
* - * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The transaction. */ public com.google.spanner.v1.TransactionSelector getTransaction() { if (transactionBuilder_ == null) { - return transaction_ == null ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() : transaction_; + return transaction_ == null + ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() + : transaction_; } else { return transactionBuilder_.getMessage(); } } /** + * + * *
      * Required. The transaction to use. Must be a read-write transaction.
      * To protect against replays, single-use transactions are not supported. The
@@ -2347,7 +2583,9 @@ public com.google.spanner.v1.TransactionSelector getTransaction() {
      * transaction.
      * 
* - * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTransaction(com.google.spanner.v1.TransactionSelector value) { if (transactionBuilder_ == null) { @@ -2363,6 +2601,8 @@ public Builder setTransaction(com.google.spanner.v1.TransactionSelector value) { return this; } /** + * + * *
      * Required. The transaction to use. Must be a read-write transaction.
      * To protect against replays, single-use transactions are not supported. The
@@ -2370,7 +2610,9 @@ public Builder setTransaction(com.google.spanner.v1.TransactionSelector value) {
      * transaction.
      * 
* - * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTransaction( com.google.spanner.v1.TransactionSelector.Builder builderForValue) { @@ -2384,6 +2626,8 @@ public Builder setTransaction( return this; } /** + * + * *
      * Required. The transaction to use. Must be a read-write transaction.
      * To protect against replays, single-use transactions are not supported. The
@@ -2391,13 +2635,15 @@ public Builder setTransaction(
      * transaction.
      * 
* - * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeTransaction(com.google.spanner.v1.TransactionSelector value) { if (transactionBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - transaction_ != null && - transaction_ != com.google.spanner.v1.TransactionSelector.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && transaction_ != null + && transaction_ != com.google.spanner.v1.TransactionSelector.getDefaultInstance()) { getTransactionBuilder().mergeFrom(value); } else { transaction_ = value; @@ -2410,6 +2656,8 @@ public Builder mergeTransaction(com.google.spanner.v1.TransactionSelector value) return this; } /** + * + * *
      * Required. The transaction to use. Must be a read-write transaction.
      * To protect against replays, single-use transactions are not supported. The
@@ -2417,7 +2665,9 @@ public Builder mergeTransaction(com.google.spanner.v1.TransactionSelector value)
      * transaction.
      * 
* - * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearTransaction() { bitField0_ = (bitField0_ & ~0x00000002); @@ -2430,6 +2680,8 @@ public Builder clearTransaction() { return this; } /** + * + * *
      * Required. The transaction to use. Must be a read-write transaction.
      * To protect against replays, single-use transactions are not supported. The
@@ -2437,7 +2689,9 @@ public Builder clearTransaction() {
      * transaction.
      * 
* - * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.spanner.v1.TransactionSelector.Builder getTransactionBuilder() { bitField0_ |= 0x00000002; @@ -2445,6 +2699,8 @@ public com.google.spanner.v1.TransactionSelector.Builder getTransactionBuilder() return getTransactionFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The transaction to use. Must be a read-write transaction.
      * To protect against replays, single-use transactions are not supported. The
@@ -2452,17 +2708,22 @@ public com.google.spanner.v1.TransactionSelector.Builder getTransactionBuilder()
      * transaction.
      * 
* - * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilder() { if (transactionBuilder_ != null) { return transactionBuilder_.getMessageOrBuilder(); } else { - return transaction_ == null ? - com.google.spanner.v1.TransactionSelector.getDefaultInstance() : transaction_; + return transaction_ == null + ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() + : transaction_; } } /** + * + * *
      * Required. The transaction to use. Must be a read-write transaction.
      * To protect against replays, single-use transactions are not supported. The
@@ -2470,35 +2731,48 @@ public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilde
      * transaction.
      * 
* - * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.TransactionSelector, com.google.spanner.v1.TransactionSelector.Builder, com.google.spanner.v1.TransactionSelectorOrBuilder> + com.google.spanner.v1.TransactionSelector, + com.google.spanner.v1.TransactionSelector.Builder, + com.google.spanner.v1.TransactionSelectorOrBuilder> getTransactionFieldBuilder() { if (transactionBuilder_ == null) { - transactionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.TransactionSelector, com.google.spanner.v1.TransactionSelector.Builder, com.google.spanner.v1.TransactionSelectorOrBuilder>( - getTransaction(), - getParentForChildren(), - isClean()); + transactionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.v1.TransactionSelector, + com.google.spanner.v1.TransactionSelector.Builder, + com.google.spanner.v1.TransactionSelectorOrBuilder>( + getTransaction(), getParentForChildren(), isClean()); transaction_ = null; } return transactionBuilder_; } private java.util.List statements_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureStatementsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - statements_ = new java.util.ArrayList(statements_); + statements_ = + new java.util.ArrayList( + statements_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.v1.ExecuteBatchDmlRequest.Statement, com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.Builder, com.google.spanner.v1.ExecuteBatchDmlRequest.StatementOrBuilder> statementsBuilder_; + com.google.spanner.v1.ExecuteBatchDmlRequest.Statement, + com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.Builder, + com.google.spanner.v1.ExecuteBatchDmlRequest.StatementOrBuilder> + statementsBuilder_; /** + * + * *
      * Required. The list of statements to execute in this batch. Statements are executed
      * serially, such that the effects of statement `i` are visible to statement
@@ -2507,9 +2781,12 @@ private void ensureStatementsIsMutable() {
      * Callers must provide at least one statement.
      * 
* - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List getStatementsList() { + public java.util.List + getStatementsList() { if (statementsBuilder_ == null) { return java.util.Collections.unmodifiableList(statements_); } else { @@ -2517,6 +2794,8 @@ public java.util.List ge } } /** + * + * *
      * Required. The list of statements to execute in this batch. Statements are executed
      * serially, such that the effects of statement `i` are visible to statement
@@ -2525,7 +2804,9 @@ public java.util.List ge
      * Callers must provide at least one statement.
      * 
* - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public int getStatementsCount() { if (statementsBuilder_ == null) { @@ -2535,6 +2816,8 @@ public int getStatementsCount() { } } /** + * + * *
      * Required. The list of statements to execute in this batch. Statements are executed
      * serially, such that the effects of statement `i` are visible to statement
@@ -2543,7 +2826,9 @@ public int getStatementsCount() {
      * Callers must provide at least one statement.
      * 
* - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.spanner.v1.ExecuteBatchDmlRequest.Statement getStatements(int index) { if (statementsBuilder_ == null) { @@ -2553,6 +2838,8 @@ public com.google.spanner.v1.ExecuteBatchDmlRequest.Statement getStatements(int } } /** + * + * *
      * Required. The list of statements to execute in this batch. Statements are executed
      * serially, such that the effects of statement `i` are visible to statement
@@ -2561,7 +2848,9 @@ public com.google.spanner.v1.ExecuteBatchDmlRequest.Statement getStatements(int
      * Callers must provide at least one statement.
      * 
* - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setStatements( int index, com.google.spanner.v1.ExecuteBatchDmlRequest.Statement value) { @@ -2578,6 +2867,8 @@ public Builder setStatements( return this; } /** + * + * *
      * Required. The list of statements to execute in this batch. Statements are executed
      * serially, such that the effects of statement `i` are visible to statement
@@ -2586,7 +2877,9 @@ public Builder setStatements(
      * Callers must provide at least one statement.
      * 
* - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setStatements( int index, com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.Builder builderForValue) { @@ -2600,6 +2893,8 @@ public Builder setStatements( return this; } /** + * + * *
      * Required. The list of statements to execute in this batch. Statements are executed
      * serially, such that the effects of statement `i` are visible to statement
@@ -2608,7 +2903,9 @@ public Builder setStatements(
      * Callers must provide at least one statement.
      * 
* - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addStatements(com.google.spanner.v1.ExecuteBatchDmlRequest.Statement value) { if (statementsBuilder_ == null) { @@ -2624,6 +2921,8 @@ public Builder addStatements(com.google.spanner.v1.ExecuteBatchDmlRequest.Statem return this; } /** + * + * *
      * Required. The list of statements to execute in this batch. Statements are executed
      * serially, such that the effects of statement `i` are visible to statement
@@ -2632,7 +2931,9 @@ public Builder addStatements(com.google.spanner.v1.ExecuteBatchDmlRequest.Statem
      * Callers must provide at least one statement.
      * 
* - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addStatements( int index, com.google.spanner.v1.ExecuteBatchDmlRequest.Statement value) { @@ -2649,6 +2950,8 @@ public Builder addStatements( return this; } /** + * + * *
      * Required. The list of statements to execute in this batch. Statements are executed
      * serially, such that the effects of statement `i` are visible to statement
@@ -2657,7 +2960,9 @@ public Builder addStatements(
      * Callers must provide at least one statement.
      * 
* - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addStatements( com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.Builder builderForValue) { @@ -2671,6 +2976,8 @@ public Builder addStatements( return this; } /** + * + * *
      * Required. The list of statements to execute in this batch. Statements are executed
      * serially, such that the effects of statement `i` are visible to statement
@@ -2679,7 +2986,9 @@ public Builder addStatements(
      * Callers must provide at least one statement.
      * 
* - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addStatements( int index, com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.Builder builderForValue) { @@ -2693,6 +3002,8 @@ public Builder addStatements( return this; } /** + * + * *
      * Required. The list of statements to execute in this batch. Statements are executed
      * serially, such that the effects of statement `i` are visible to statement
@@ -2701,14 +3012,16 @@ public Builder addStatements(
      * Callers must provide at least one statement.
      * 
* - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addAllStatements( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (statementsBuilder_ == null) { ensureStatementsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, statements_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, statements_); onChanged(); } else { statementsBuilder_.addAllMessages(values); @@ -2716,6 +3029,8 @@ public Builder addAllStatements( return this; } /** + * + * *
      * Required. The list of statements to execute in this batch. Statements are executed
      * serially, such that the effects of statement `i` are visible to statement
@@ -2724,7 +3039,9 @@ public Builder addAllStatements(
      * Callers must provide at least one statement.
      * 
* - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearStatements() { if (statementsBuilder_ == null) { @@ -2737,6 +3054,8 @@ public Builder clearStatements() { return this; } /** + * + * *
      * Required. The list of statements to execute in this batch. Statements are executed
      * serially, such that the effects of statement `i` are visible to statement
@@ -2745,7 +3064,9 @@ public Builder clearStatements() {
      * Callers must provide at least one statement.
      * 
* - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder removeStatements(int index) { if (statementsBuilder_ == null) { @@ -2758,6 +3079,8 @@ public Builder removeStatements(int index) { return this; } /** + * + * *
      * Required. The list of statements to execute in this batch. Statements are executed
      * serially, such that the effects of statement `i` are visible to statement
@@ -2766,13 +3089,17 @@ public Builder removeStatements(int index) {
      * Callers must provide at least one statement.
      * 
* - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.Builder getStatementsBuilder( int index) { return getStatementsFieldBuilder().getBuilder(index); } /** + * + * *
      * Required. The list of statements to execute in this batch. Statements are executed
      * serially, such that the effects of statement `i` are visible to statement
@@ -2781,16 +3108,21 @@ public com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.Builder getStateme
      * Callers must provide at least one statement.
      * 
* - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.spanner.v1.ExecuteBatchDmlRequest.StatementOrBuilder getStatementsOrBuilder( int index) { if (statementsBuilder_ == null) { - return statements_.get(index); } else { + return statements_.get(index); + } else { return statementsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Required. The list of statements to execute in this batch. Statements are executed
      * serially, such that the effects of statement `i` are visible to statement
@@ -2799,10 +3131,12 @@ public com.google.spanner.v1.ExecuteBatchDmlRequest.StatementOrBuilder getStatem
      * Callers must provide at least one statement.
      * 
* - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getStatementsOrBuilderList() { + public java.util.List + getStatementsOrBuilderList() { if (statementsBuilder_ != null) { return statementsBuilder_.getMessageOrBuilderList(); } else { @@ -2810,6 +3144,8 @@ public com.google.spanner.v1.ExecuteBatchDmlRequest.StatementOrBuilder getStatem } } /** + * + * *
      * Required. The list of statements to execute in this batch. Statements are executed
      * serially, such that the effects of statement `i` are visible to statement
@@ -2818,13 +3154,17 @@ public com.google.spanner.v1.ExecuteBatchDmlRequest.StatementOrBuilder getStatem
      * Callers must provide at least one statement.
      * 
* - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.Builder addStatementsBuilder() { - return getStatementsFieldBuilder().addBuilder( - com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.getDefaultInstance()); + return getStatementsFieldBuilder() + .addBuilder(com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.getDefaultInstance()); } /** + * + * *
      * Required. The list of statements to execute in this batch. Statements are executed
      * serially, such that the effects of statement `i` are visible to statement
@@ -2833,14 +3173,19 @@ public com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.Builder addStateme
      * Callers must provide at least one statement.
      * 
* - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.Builder addStatementsBuilder( int index) { - return getStatementsFieldBuilder().addBuilder( - index, com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.getDefaultInstance()); + return getStatementsFieldBuilder() + .addBuilder( + index, com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.getDefaultInstance()); } /** + * + * *
      * Required. The list of statements to execute in this batch. Statements are executed
      * serially, such that the effects of statement `i` are visible to statement
@@ -2849,29 +3194,36 @@ public com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.Builder addStateme
      * Callers must provide at least one statement.
      * 
* - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getStatementsBuilderList() { + public java.util.List + getStatementsBuilderList() { return getStatementsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.v1.ExecuteBatchDmlRequest.Statement, com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.Builder, com.google.spanner.v1.ExecuteBatchDmlRequest.StatementOrBuilder> + com.google.spanner.v1.ExecuteBatchDmlRequest.Statement, + com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.Builder, + com.google.spanner.v1.ExecuteBatchDmlRequest.StatementOrBuilder> getStatementsFieldBuilder() { if (statementsBuilder_ == null) { - statementsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.v1.ExecuteBatchDmlRequest.Statement, com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.Builder, com.google.spanner.v1.ExecuteBatchDmlRequest.StatementOrBuilder>( - statements_, - ((bitField0_ & 0x00000004) != 0), - getParentForChildren(), - isClean()); + statementsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.spanner.v1.ExecuteBatchDmlRequest.Statement, + com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.Builder, + com.google.spanner.v1.ExecuteBatchDmlRequest.StatementOrBuilder>( + statements_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); statements_ = null; } return statementsBuilder_; } - private long seqno_ ; + private long seqno_; /** + * + * *
      * Required. A per-transaction sequence number used to identify this request. This field
      * makes each request idempotent such that if the request is received multiple
@@ -2883,6 +3235,7 @@ public com.google.spanner.v1.ExecuteBatchDmlRequest.Statement.Builder addStateme
      * 
* * int64 seqno = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The seqno. */ @java.lang.Override @@ -2890,6 +3243,8 @@ public long getSeqno() { return seqno_; } /** + * + * *
      * Required. A per-transaction sequence number used to identify this request. This field
      * makes each request idempotent such that if the request is received multiple
@@ -2901,17 +3256,20 @@ public long getSeqno() {
      * 
* * int64 seqno = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The seqno to set. * @return This builder for chaining. */ public Builder setSeqno(long value) { - + seqno_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Required. A per-transaction sequence number used to identify this request. This field
      * makes each request idempotent such that if the request is received multiple
@@ -2923,6 +3281,7 @@ public Builder setSeqno(long value) {
      * 
* * int64 seqno = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearSeqno() { @@ -2934,34 +3293,47 @@ public Builder clearSeqno() { private com.google.spanner.v1.RequestOptions requestOptions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.RequestOptions, com.google.spanner.v1.RequestOptions.Builder, com.google.spanner.v1.RequestOptionsOrBuilder> requestOptionsBuilder_; + com.google.spanner.v1.RequestOptions, + com.google.spanner.v1.RequestOptions.Builder, + com.google.spanner.v1.RequestOptionsOrBuilder> + requestOptionsBuilder_; /** + * + * *
      * Common options for this request.
      * 
* * .google.spanner.v1.RequestOptions request_options = 5; + * * @return Whether the requestOptions field is set. */ public boolean hasRequestOptions() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * Common options for this request.
      * 
* * .google.spanner.v1.RequestOptions request_options = 5; + * * @return The requestOptions. */ public com.google.spanner.v1.RequestOptions getRequestOptions() { if (requestOptionsBuilder_ == null) { - return requestOptions_ == null ? com.google.spanner.v1.RequestOptions.getDefaultInstance() : requestOptions_; + return requestOptions_ == null + ? com.google.spanner.v1.RequestOptions.getDefaultInstance() + : requestOptions_; } else { return requestOptionsBuilder_.getMessage(); } } /** + * + * *
      * Common options for this request.
      * 
@@ -2982,14 +3354,15 @@ public Builder setRequestOptions(com.google.spanner.v1.RequestOptions value) { return this; } /** + * + * *
      * Common options for this request.
      * 
* * .google.spanner.v1.RequestOptions request_options = 5; */ - public Builder setRequestOptions( - com.google.spanner.v1.RequestOptions.Builder builderForValue) { + public Builder setRequestOptions(com.google.spanner.v1.RequestOptions.Builder builderForValue) { if (requestOptionsBuilder_ == null) { requestOptions_ = builderForValue.build(); } else { @@ -3000,6 +3373,8 @@ public Builder setRequestOptions( return this; } /** + * + * *
      * Common options for this request.
      * 
@@ -3008,9 +3383,9 @@ public Builder setRequestOptions( */ public Builder mergeRequestOptions(com.google.spanner.v1.RequestOptions value) { if (requestOptionsBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) && - requestOptions_ != null && - requestOptions_ != com.google.spanner.v1.RequestOptions.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) + && requestOptions_ != null + && requestOptions_ != com.google.spanner.v1.RequestOptions.getDefaultInstance()) { getRequestOptionsBuilder().mergeFrom(value); } else { requestOptions_ = value; @@ -3023,6 +3398,8 @@ public Builder mergeRequestOptions(com.google.spanner.v1.RequestOptions value) { return this; } /** + * + * *
      * Common options for this request.
      * 
@@ -3040,6 +3417,8 @@ public Builder clearRequestOptions() { return this; } /** + * + * *
      * Common options for this request.
      * 
@@ -3052,6 +3431,8 @@ public com.google.spanner.v1.RequestOptions.Builder getRequestOptionsBuilder() { return getRequestOptionsFieldBuilder().getBuilder(); } /** + * + * *
      * Common options for this request.
      * 
@@ -3062,11 +3443,14 @@ public com.google.spanner.v1.RequestOptionsOrBuilder getRequestOptionsOrBuilder( if (requestOptionsBuilder_ != null) { return requestOptionsBuilder_.getMessageOrBuilder(); } else { - return requestOptions_ == null ? - com.google.spanner.v1.RequestOptions.getDefaultInstance() : requestOptions_; + return requestOptions_ == null + ? com.google.spanner.v1.RequestOptions.getDefaultInstance() + : requestOptions_; } } /** + * + * *
      * Common options for this request.
      * 
@@ -3074,21 +3458,24 @@ public com.google.spanner.v1.RequestOptionsOrBuilder getRequestOptionsOrBuilder( * .google.spanner.v1.RequestOptions request_options = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.RequestOptions, com.google.spanner.v1.RequestOptions.Builder, com.google.spanner.v1.RequestOptionsOrBuilder> + com.google.spanner.v1.RequestOptions, + com.google.spanner.v1.RequestOptions.Builder, + com.google.spanner.v1.RequestOptionsOrBuilder> getRequestOptionsFieldBuilder() { if (requestOptionsBuilder_ == null) { - requestOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.RequestOptions, com.google.spanner.v1.RequestOptions.Builder, com.google.spanner.v1.RequestOptionsOrBuilder>( - getRequestOptions(), - getParentForChildren(), - isClean()); + requestOptionsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.v1.RequestOptions, + com.google.spanner.v1.RequestOptions.Builder, + com.google.spanner.v1.RequestOptionsOrBuilder>( + getRequestOptions(), getParentForChildren(), isClean()); requestOptions_ = null; } return requestOptionsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3098,12 +3485,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.v1.ExecuteBatchDmlRequest) } // @@protoc_insertion_point(class_scope:google.spanner.v1.ExecuteBatchDmlRequest) private static final com.google.spanner.v1.ExecuteBatchDmlRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.v1.ExecuteBatchDmlRequest(); } @@ -3112,27 +3499,27 @@ public static com.google.spanner.v1.ExecuteBatchDmlRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExecuteBatchDmlRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExecuteBatchDmlRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3147,6 +3534,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.ExecuteBatchDmlRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlRequestOrBuilder.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlRequestOrBuilder.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlRequestOrBuilder.java rename to proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlRequestOrBuilder.java index 84cdfdf1e7f..87364106697 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlRequestOrBuilder.java +++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlRequestOrBuilder.java @@ -1,33 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/spanner.proto package com.google.spanner.v1; -public interface ExecuteBatchDmlRequestOrBuilder extends +public interface ExecuteBatchDmlRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.ExecuteBatchDmlRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The session in which the DML statements should be performed.
    * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The session. */ java.lang.String getSession(); /** + * + * *
    * Required. The session in which the DML statements should be performed.
    * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for session. */ - com.google.protobuf.ByteString - getSessionBytes(); + com.google.protobuf.ByteString getSessionBytes(); /** + * + * *
    * Required. The transaction to use. Must be a read-write transaction.
    * To protect against replays, single-use transactions are not supported. The
@@ -35,11 +62,16 @@ public interface ExecuteBatchDmlRequestOrBuilder extends
    * transaction.
    * 
* - * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the transaction field is set. */ boolean hasTransaction(); /** + * + * *
    * Required. The transaction to use. Must be a read-write transaction.
    * To protect against replays, single-use transactions are not supported. The
@@ -47,11 +79,16 @@ public interface ExecuteBatchDmlRequestOrBuilder extends
    * transaction.
    * 
* - * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The transaction. */ com.google.spanner.v1.TransactionSelector getTransaction(); /** + * + * *
    * Required. The transaction to use. Must be a read-write transaction.
    * To protect against replays, single-use transactions are not supported. The
@@ -59,11 +96,15 @@ public interface ExecuteBatchDmlRequestOrBuilder extends
    * transaction.
    * 
* - * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilder(); /** + * + * *
    * Required. The list of statements to execute in this batch. Statements are executed
    * serially, such that the effects of statement `i` are visible to statement
@@ -72,11 +113,14 @@ public interface ExecuteBatchDmlRequestOrBuilder extends
    * Callers must provide at least one statement.
    * 
* - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List - getStatementsList(); + java.util.List getStatementsList(); /** + * + * *
    * Required. The list of statements to execute in this batch. Statements are executed
    * serially, such that the effects of statement `i` are visible to statement
@@ -85,10 +129,14 @@ public interface ExecuteBatchDmlRequestOrBuilder extends
    * Callers must provide at least one statement.
    * 
* - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.spanner.v1.ExecuteBatchDmlRequest.Statement getStatements(int index); /** + * + * *
    * Required. The list of statements to execute in this batch. Statements are executed
    * serially, such that the effects of statement `i` are visible to statement
@@ -97,10 +145,14 @@ public interface ExecuteBatchDmlRequestOrBuilder extends
    * Callers must provide at least one statement.
    * 
* - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ int getStatementsCount(); /** + * + * *
    * Required. The list of statements to execute in this batch. Statements are executed
    * serially, such that the effects of statement `i` are visible to statement
@@ -109,11 +161,15 @@ public interface ExecuteBatchDmlRequestOrBuilder extends
    * Callers must provide at least one statement.
    * 
* - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List + java.util.List getStatementsOrBuilderList(); /** + * + * *
    * Required. The list of statements to execute in this batch. Statements are executed
    * serially, such that the effects of statement `i` are visible to statement
@@ -122,12 +178,15 @@ public interface ExecuteBatchDmlRequestOrBuilder extends
    * Callers must provide at least one statement.
    * 
* - * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.spanner.v1.ExecuteBatchDmlRequest.StatementOrBuilder getStatementsOrBuilder( - int index); + com.google.spanner.v1.ExecuteBatchDmlRequest.StatementOrBuilder getStatementsOrBuilder(int index); /** + * + * *
    * Required. A per-transaction sequence number used to identify this request. This field
    * makes each request idempotent such that if the request is received multiple
@@ -139,29 +198,38 @@ com.google.spanner.v1.ExecuteBatchDmlRequest.StatementOrBuilder getStatementsOrB
    * 
* * int64 seqno = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The seqno. */ long getSeqno(); /** + * + * *
    * Common options for this request.
    * 
* * .google.spanner.v1.RequestOptions request_options = 5; + * * @return Whether the requestOptions field is set. */ boolean hasRequestOptions(); /** + * + * *
    * Common options for this request.
    * 
* * .google.spanner.v1.RequestOptions request_options = 5; + * * @return The requestOptions. */ com.google.spanner.v1.RequestOptions getRequestOptions(); /** + * + * *
    * Common options for this request.
    * 
diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlResponse.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlResponse.java similarity index 81% rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlResponse.java rename to proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlResponse.java index a09e7fbfd81..3e7163fe1be 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlResponse.java +++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlResponse.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/spanner.proto package com.google.spanner.v1; /** + * + * *
  * The response for [ExecuteBatchDml][google.spanner.v1.Spanner.ExecuteBatchDml]. Contains a list
  * of [ResultSet][google.spanner.v1.ResultSet] messages, one for each DML statement that has successfully
@@ -27,48 +44,53 @@
  *
  * Protobuf type {@code google.spanner.v1.ExecuteBatchDmlResponse}
  */
-public final class ExecuteBatchDmlResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ExecuteBatchDmlResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.spanner.v1.ExecuteBatchDmlResponse)
     ExecuteBatchDmlResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ExecuteBatchDmlResponse.newBuilder() to construct.
   private ExecuteBatchDmlResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ExecuteBatchDmlResponse() {
     resultSets_ = 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 ExecuteBatchDmlResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteBatchDmlResponse_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.spanner.v1.SpannerProto
+        .internal_static_google_spanner_v1_ExecuteBatchDmlResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteBatchDmlResponse_fieldAccessorTable
+    return com.google.spanner.v1.SpannerProto
+        .internal_static_google_spanner_v1_ExecuteBatchDmlResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.v1.ExecuteBatchDmlResponse.class, com.google.spanner.v1.ExecuteBatchDmlResponse.Builder.class);
+            com.google.spanner.v1.ExecuteBatchDmlResponse.class,
+            com.google.spanner.v1.ExecuteBatchDmlResponse.Builder.class);
   }
 
   public static final int RESULT_SETS_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private java.util.List resultSets_;
   /**
+   *
+   *
    * 
    * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
    * in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does
@@ -85,6 +107,8 @@ public java.util.List getResultSetsList() {
     return resultSets_;
   }
   /**
+   *
+   *
    * 
    * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
    * in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does
@@ -97,11 +121,13 @@ public java.util.List getResultSetsList() {
    * repeated .google.spanner.v1.ResultSet result_sets = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getResultSetsOrBuilderList() {
     return resultSets_;
   }
   /**
+   *
+   *
    * 
    * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
    * in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does
@@ -118,6 +144,8 @@ public int getResultSetsCount() {
     return resultSets_.size();
   }
   /**
+   *
+   *
    * 
    * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
    * in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does
@@ -134,6 +162,8 @@ public com.google.spanner.v1.ResultSet getResultSets(int index) {
     return resultSets_.get(index);
   }
   /**
+   *
+   *
    * 
    * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
    * in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does
@@ -146,20 +176,22 @@ public com.google.spanner.v1.ResultSet getResultSets(int index) {
    * repeated .google.spanner.v1.ResultSet result_sets = 1;
    */
   @java.lang.Override
-  public com.google.spanner.v1.ResultSetOrBuilder getResultSetsOrBuilder(
-      int index) {
+  public com.google.spanner.v1.ResultSetOrBuilder getResultSetsOrBuilder(int index) {
     return resultSets_.get(index);
   }
 
   public static final int STATUS_FIELD_NUMBER = 2;
   private com.google.rpc.Status status_;
   /**
+   *
+   *
    * 
    * If all DML statements are executed successfully, the status is `OK`.
    * Otherwise, the error status of the first failed statement.
    * 
* * .google.rpc.Status status = 2; + * * @return Whether the status field is set. */ @java.lang.Override @@ -167,12 +199,15 @@ public boolean hasStatus() { return status_ != null; } /** + * + * *
    * If all DML statements are executed successfully, the status is `OK`.
    * Otherwise, the error status of the first failed statement.
    * 
* * .google.rpc.Status status = 2; + * * @return The status. */ @java.lang.Override @@ -180,6 +215,8 @@ public com.google.rpc.Status getStatus() { return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; } /** + * + * *
    * If all DML statements are executed successfully, the status is `OK`.
    * Otherwise, the error status of the first failed statement.
@@ -193,6 +230,7 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -204,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 {
     for (int i = 0; i < resultSets_.size(); i++) {
       output.writeMessage(1, resultSets_.get(i));
     }
@@ -222,12 +259,10 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < resultSets_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, resultSets_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, resultSets_.get(i));
     }
     if (status_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getStatus());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStatus());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -237,19 +272,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.spanner.v1.ExecuteBatchDmlResponse)) {
       return super.equals(obj);
     }
-    com.google.spanner.v1.ExecuteBatchDmlResponse other = (com.google.spanner.v1.ExecuteBatchDmlResponse) obj;
+    com.google.spanner.v1.ExecuteBatchDmlResponse other =
+        (com.google.spanner.v1.ExecuteBatchDmlResponse) obj;
 
-    if (!getResultSetsList()
-        .equals(other.getResultSetsList())) return false;
+    if (!getResultSetsList().equals(other.getResultSetsList())) 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;
@@ -275,97 +309,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.spanner.v1.ExecuteBatchDmlResponse parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.spanner.v1.ExecuteBatchDmlResponse parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.spanner.v1.ExecuteBatchDmlResponse parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.spanner.v1.ExecuteBatchDmlResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.spanner.v1.ExecuteBatchDmlResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.spanner.v1.ExecuteBatchDmlResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.spanner.v1.ExecuteBatchDmlResponse parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.spanner.v1.ExecuteBatchDmlResponse parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.spanner.v1.ExecuteBatchDmlResponse parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.spanner.v1.ExecuteBatchDmlResponse parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.spanner.v1.ExecuteBatchDmlResponse parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.spanner.v1.ExecuteBatchDmlResponse parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.spanner.v1.ExecuteBatchDmlResponse parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.spanner.v1.ExecuteBatchDmlResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.spanner.v1.ExecuteBatchDmlResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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 [ExecuteBatchDml][google.spanner.v1.Spanner.ExecuteBatchDml]. Contains a list
    * of [ResultSet][google.spanner.v1.ResultSet] messages, one for each DML statement that has successfully
@@ -389,33 +430,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.spanner.v1.ExecuteBatchDmlResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.spanner.v1.ExecuteBatchDmlResponse)
       com.google.spanner.v1.ExecuteBatchDmlResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteBatchDmlResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.spanner.v1.SpannerProto
+          .internal_static_google_spanner_v1_ExecuteBatchDmlResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteBatchDmlResponse_fieldAccessorTable
+      return com.google.spanner.v1.SpannerProto
+          .internal_static_google_spanner_v1_ExecuteBatchDmlResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.v1.ExecuteBatchDmlResponse.class, com.google.spanner.v1.ExecuteBatchDmlResponse.Builder.class);
+              com.google.spanner.v1.ExecuteBatchDmlResponse.class,
+              com.google.spanner.v1.ExecuteBatchDmlResponse.Builder.class);
     }
 
     // Construct using com.google.spanner.v1.ExecuteBatchDmlResponse.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -436,9 +476,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteBatchDmlResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.spanner.v1.SpannerProto
+          .internal_static_google_spanner_v1_ExecuteBatchDmlResponse_descriptor;
     }
 
     @java.lang.Override
@@ -457,9 +497,12 @@ public com.google.spanner.v1.ExecuteBatchDmlResponse build() {
 
     @java.lang.Override
     public com.google.spanner.v1.ExecuteBatchDmlResponse buildPartial() {
-      com.google.spanner.v1.ExecuteBatchDmlResponse result = new com.google.spanner.v1.ExecuteBatchDmlResponse(this);
+      com.google.spanner.v1.ExecuteBatchDmlResponse result =
+          new com.google.spanner.v1.ExecuteBatchDmlResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -479,9 +522,7 @@ private void buildPartialRepeatedFields(com.google.spanner.v1.ExecuteBatchDmlRes
     private void buildPartial0(com.google.spanner.v1.ExecuteBatchDmlResponse result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.status_ = statusBuilder_ == null
-            ? status_
-            : statusBuilder_.build();
+        result.status_ = statusBuilder_ == null ? status_ : statusBuilder_.build();
       }
     }
 
@@ -489,38 +530,39 @@ private void buildPartial0(com.google.spanner.v1.ExecuteBatchDmlResponse 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.spanner.v1.ExecuteBatchDmlResponse) {
-        return mergeFrom((com.google.spanner.v1.ExecuteBatchDmlResponse)other);
+        return mergeFrom((com.google.spanner.v1.ExecuteBatchDmlResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -547,9 +589,10 @@ public Builder mergeFrom(com.google.spanner.v1.ExecuteBatchDmlResponse other) {
             resultSetsBuilder_ = null;
             resultSets_ = other.resultSets_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            resultSetsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getResultSetsFieldBuilder() : null;
+            resultSetsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getResultSetsFieldBuilder()
+                    : null;
           } else {
             resultSetsBuilder_.addAllMessages(other.resultSets_);
           }
@@ -584,32 +627,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.spanner.v1.ResultSet m =
-                  input.readMessage(
-                      com.google.spanner.v1.ResultSet.parser(),
-                      extensionRegistry);
-              if (resultSetsBuilder_ == null) {
-                ensureResultSetsIsMutable();
-                resultSets_.add(m);
-              } else {
-                resultSetsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 10
-            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 10:
+              {
+                com.google.spanner.v1.ResultSet m =
+                    input.readMessage(com.google.spanner.v1.ResultSet.parser(), extensionRegistry);
+                if (resultSetsBuilder_ == null) {
+                  ensureResultSetsIsMutable();
+                  resultSets_.add(m);
+                } else {
+                  resultSetsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+            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) {
@@ -619,21 +661,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.util.List resultSets_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureResultSetsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         resultSets_ = new java.util.ArrayList(resultSets_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.spanner.v1.ResultSet, com.google.spanner.v1.ResultSet.Builder, com.google.spanner.v1.ResultSetOrBuilder> resultSetsBuilder_;
+            com.google.spanner.v1.ResultSet,
+            com.google.spanner.v1.ResultSet.Builder,
+            com.google.spanner.v1.ResultSetOrBuilder>
+        resultSetsBuilder_;
 
     /**
+     *
+     *
      * 
      * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
      * in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does
@@ -653,6 +702,8 @@ public java.util.List getResultSetsList() {
       }
     }
     /**
+     *
+     *
      * 
      * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
      * in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does
@@ -672,6 +723,8 @@ public int getResultSetsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
      * in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does
@@ -691,6 +744,8 @@ public com.google.spanner.v1.ResultSet getResultSets(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
      * in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does
@@ -702,8 +757,7 @@ public com.google.spanner.v1.ResultSet getResultSets(int index) {
      *
      * repeated .google.spanner.v1.ResultSet result_sets = 1;
      */
-    public Builder setResultSets(
-        int index, com.google.spanner.v1.ResultSet value) {
+    public Builder setResultSets(int index, com.google.spanner.v1.ResultSet value) {
       if (resultSetsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -717,6 +771,8 @@ public Builder setResultSets(
       return this;
     }
     /**
+     *
+     *
      * 
      * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
      * in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does
@@ -740,6 +796,8 @@ public Builder setResultSets(
       return this;
     }
     /**
+     *
+     *
      * 
      * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
      * in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does
@@ -765,6 +823,8 @@ public Builder addResultSets(com.google.spanner.v1.ResultSet value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
      * in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does
@@ -776,8 +836,7 @@ public Builder addResultSets(com.google.spanner.v1.ResultSet value) {
      *
      * repeated .google.spanner.v1.ResultSet result_sets = 1;
      */
-    public Builder addResultSets(
-        int index, com.google.spanner.v1.ResultSet value) {
+    public Builder addResultSets(int index, com.google.spanner.v1.ResultSet value) {
       if (resultSetsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -791,6 +850,8 @@ public Builder addResultSets(
       return this;
     }
     /**
+     *
+     *
      * 
      * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
      * in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does
@@ -802,8 +863,7 @@ public Builder addResultSets(
      *
      * repeated .google.spanner.v1.ResultSet result_sets = 1;
      */
-    public Builder addResultSets(
-        com.google.spanner.v1.ResultSet.Builder builderForValue) {
+    public Builder addResultSets(com.google.spanner.v1.ResultSet.Builder builderForValue) {
       if (resultSetsBuilder_ == null) {
         ensureResultSetsIsMutable();
         resultSets_.add(builderForValue.build());
@@ -814,6 +874,8 @@ public Builder addResultSets(
       return this;
     }
     /**
+     *
+     *
      * 
      * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
      * in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does
@@ -837,6 +899,8 @@ public Builder addResultSets(
       return this;
     }
     /**
+     *
+     *
      * 
      * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
      * in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does
@@ -852,8 +916,7 @@ public Builder addAllResultSets(
         java.lang.Iterable values) {
       if (resultSetsBuilder_ == null) {
         ensureResultSetsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, resultSets_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, resultSets_);
         onChanged();
       } else {
         resultSetsBuilder_.addAllMessages(values);
@@ -861,6 +924,8 @@ public Builder addAllResultSets(
       return this;
     }
     /**
+     *
+     *
      * 
      * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
      * in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does
@@ -883,6 +948,8 @@ public Builder clearResultSets() {
       return this;
     }
     /**
+     *
+     *
      * 
      * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
      * in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does
@@ -905,6 +972,8 @@ public Builder removeResultSets(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
      * in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does
@@ -916,11 +985,12 @@ public Builder removeResultSets(int index) {
      *
      * repeated .google.spanner.v1.ResultSet result_sets = 1;
      */
-    public com.google.spanner.v1.ResultSet.Builder getResultSetsBuilder(
-        int index) {
+    public com.google.spanner.v1.ResultSet.Builder getResultSetsBuilder(int index) {
       return getResultSetsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
      * in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does
@@ -932,14 +1002,16 @@ public com.google.spanner.v1.ResultSet.Builder getResultSetsBuilder(
      *
      * repeated .google.spanner.v1.ResultSet result_sets = 1;
      */
-    public com.google.spanner.v1.ResultSetOrBuilder getResultSetsOrBuilder(
-        int index) {
+    public com.google.spanner.v1.ResultSetOrBuilder getResultSetsOrBuilder(int index) {
       if (resultSetsBuilder_ == null) {
-        return resultSets_.get(index);  } else {
+        return resultSets_.get(index);
+      } else {
         return resultSetsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
      * in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does
@@ -951,8 +1023,8 @@ public com.google.spanner.v1.ResultSetOrBuilder getResultSetsOrBuilder(
      *
      * repeated .google.spanner.v1.ResultSet result_sets = 1;
      */
-    public java.util.List 
-         getResultSetsOrBuilderList() {
+    public java.util.List
+        getResultSetsOrBuilderList() {
       if (resultSetsBuilder_ != null) {
         return resultSetsBuilder_.getMessageOrBuilderList();
       } else {
@@ -960,6 +1032,8 @@ public com.google.spanner.v1.ResultSetOrBuilder getResultSetsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
      * in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does
@@ -972,10 +1046,12 @@ public com.google.spanner.v1.ResultSetOrBuilder getResultSetsOrBuilder(
      * repeated .google.spanner.v1.ResultSet result_sets = 1;
      */
     public com.google.spanner.v1.ResultSet.Builder addResultSetsBuilder() {
-      return getResultSetsFieldBuilder().addBuilder(
-          com.google.spanner.v1.ResultSet.getDefaultInstance());
+      return getResultSetsFieldBuilder()
+          .addBuilder(com.google.spanner.v1.ResultSet.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
      * in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does
@@ -987,12 +1063,13 @@ public com.google.spanner.v1.ResultSet.Builder addResultSetsBuilder() {
      *
      * repeated .google.spanner.v1.ResultSet result_sets = 1;
      */
-    public com.google.spanner.v1.ResultSet.Builder addResultSetsBuilder(
-        int index) {
-      return getResultSetsFieldBuilder().addBuilder(
-          index, com.google.spanner.v1.ResultSet.getDefaultInstance());
+    public com.google.spanner.v1.ResultSet.Builder addResultSetsBuilder(int index) {
+      return getResultSetsFieldBuilder()
+          .addBuilder(index, com.google.spanner.v1.ResultSet.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
      * in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does
@@ -1004,20 +1081,22 @@ public com.google.spanner.v1.ResultSet.Builder addResultSetsBuilder(
      *
      * repeated .google.spanner.v1.ResultSet result_sets = 1;
      */
-    public java.util.List 
-         getResultSetsBuilderList() {
+    public java.util.List getResultSetsBuilderList() {
       return getResultSetsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.spanner.v1.ResultSet, com.google.spanner.v1.ResultSet.Builder, com.google.spanner.v1.ResultSetOrBuilder> 
+            com.google.spanner.v1.ResultSet,
+            com.google.spanner.v1.ResultSet.Builder,
+            com.google.spanner.v1.ResultSetOrBuilder>
         getResultSetsFieldBuilder() {
       if (resultSetsBuilder_ == null) {
-        resultSetsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.spanner.v1.ResultSet, com.google.spanner.v1.ResultSet.Builder, com.google.spanner.v1.ResultSetOrBuilder>(
-                resultSets_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        resultSetsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.spanner.v1.ResultSet,
+                com.google.spanner.v1.ResultSet.Builder,
+                com.google.spanner.v1.ResultSetOrBuilder>(
+                resultSets_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         resultSets_ = null;
       }
       return resultSetsBuilder_;
@@ -1025,26 +1104,33 @@ public com.google.spanner.v1.ResultSet.Builder addResultSetsBuilder(
 
     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_;
     /**
+     *
+     *
      * 
      * If all DML statements are executed successfully, the status is `OK`.
      * Otherwise, the error status of the first failed statement.
      * 
* * .google.rpc.Status status = 2; + * * @return Whether the status field is set. */ public boolean hasStatus() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * If all DML statements are executed successfully, the status is `OK`.
      * Otherwise, the error status of the first failed statement.
      * 
* * .google.rpc.Status status = 2; + * * @return The status. */ public com.google.rpc.Status getStatus() { @@ -1055,6 +1141,8 @@ public com.google.rpc.Status getStatus() { } } /** + * + * *
      * If all DML statements are executed successfully, the status is `OK`.
      * Otherwise, the error status of the first failed statement.
@@ -1076,6 +1164,8 @@ public Builder setStatus(com.google.rpc.Status value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If all DML statements are executed successfully, the status is `OK`.
      * Otherwise, the error status of the first failed statement.
@@ -1083,8 +1173,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 {
@@ -1095,6 +1184,8 @@ public Builder setStatus(
       return this;
     }
     /**
+     *
+     *
      * 
      * If all DML statements are executed successfully, the status is `OK`.
      * Otherwise, the error status of the first failed statement.
@@ -1104,9 +1195,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;
@@ -1119,6 +1210,8 @@ public Builder mergeStatus(com.google.rpc.Status value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If all DML statements are executed successfully, the status is `OK`.
      * Otherwise, the error status of the first failed statement.
@@ -1137,6 +1230,8 @@ public Builder clearStatus() {
       return this;
     }
     /**
+     *
+     *
      * 
      * If all DML statements are executed successfully, the status is `OK`.
      * Otherwise, the error status of the first failed statement.
@@ -1150,6 +1245,8 @@ public com.google.rpc.Status.Builder getStatusBuilder() {
       return getStatusFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * If all DML statements are executed successfully, the status is `OK`.
      * Otherwise, the error status of the first failed statement.
@@ -1161,11 +1258,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_;
       }
     }
     /**
+     *
+     *
      * 
      * If all DML statements are executed successfully, the status is `OK`.
      * Otherwise, the error status of the first failed statement.
@@ -1174,21 +1272,21 @@ 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) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1198,12 +1296,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.spanner.v1.ExecuteBatchDmlResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.spanner.v1.ExecuteBatchDmlResponse)
   private static final com.google.spanner.v1.ExecuteBatchDmlResponse DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.spanner.v1.ExecuteBatchDmlResponse();
   }
@@ -1212,27 +1310,27 @@ public static com.google.spanner.v1.ExecuteBatchDmlResponse getDefaultInstance()
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public ExecuteBatchDmlResponse parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public ExecuteBatchDmlResponse parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1247,6 +1345,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.spanner.v1.ExecuteBatchDmlResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlResponseOrBuilder.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlResponseOrBuilder.java
similarity index 84%
rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlResponseOrBuilder.java
rename to proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlResponseOrBuilder.java
index 878573b86d9..b2891c067a8 100644
--- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlResponseOrBuilder.java
+++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlResponseOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/v1/spanner.proto
 
 package com.google.spanner.v1;
 
-public interface ExecuteBatchDmlResponseOrBuilder extends
+public interface ExecuteBatchDmlResponseOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.spanner.v1.ExecuteBatchDmlResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
    * in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does
@@ -19,9 +37,10 @@ public interface ExecuteBatchDmlResponseOrBuilder extends
    *
    * repeated .google.spanner.v1.ResultSet result_sets = 1;
    */
-  java.util.List 
-      getResultSetsList();
+  java.util.List getResultSetsList();
   /**
+   *
+   *
    * 
    * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
    * in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does
@@ -35,6 +54,8 @@ public interface ExecuteBatchDmlResponseOrBuilder extends
    */
   com.google.spanner.v1.ResultSet getResultSets(int index);
   /**
+   *
+   *
    * 
    * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
    * in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does
@@ -48,6 +69,8 @@ public interface ExecuteBatchDmlResponseOrBuilder extends
    */
   int getResultSetsCount();
   /**
+   *
+   *
    * 
    * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
    * in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does
@@ -59,9 +82,10 @@ public interface ExecuteBatchDmlResponseOrBuilder extends
    *
    * repeated .google.spanner.v1.ResultSet result_sets = 1;
    */
-  java.util.List 
-      getResultSetsOrBuilderList();
+  java.util.List getResultSetsOrBuilderList();
   /**
+   *
+   *
    * 
    * One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
    * in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does
@@ -73,30 +97,37 @@ public interface ExecuteBatchDmlResponseOrBuilder extends
    *
    * repeated .google.spanner.v1.ResultSet result_sets = 1;
    */
-  com.google.spanner.v1.ResultSetOrBuilder getResultSetsOrBuilder(
-      int index);
+  com.google.spanner.v1.ResultSetOrBuilder getResultSetsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * If all DML statements are executed successfully, the status is `OK`.
    * Otherwise, the error status of the first failed statement.
    * 
* * .google.rpc.Status status = 2; + * * @return Whether the status field is set. */ boolean hasStatus(); /** + * + * *
    * If all DML statements are executed successfully, the status is `OK`.
    * Otherwise, the error status of the first failed statement.
    * 
* * .google.rpc.Status status = 2; + * * @return The status. */ com.google.rpc.Status getStatus(); /** + * + * *
    * If all DML statements are executed successfully, the status is `OK`.
    * Otherwise, the error status of the first failed statement.
diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteSqlRequest.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteSqlRequest.java
similarity index 78%
rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteSqlRequest.java
rename to proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteSqlRequest.java
index 8a26bd48d70..70f4c8219c2 100644
--- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteSqlRequest.java
+++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteSqlRequest.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/v1/spanner.proto
 
 package com.google.spanner.v1;
 
 /**
+ *
+ *
  * 
  * The request for [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql] and
  * [ExecuteStreamingSql][google.spanner.v1.Spanner.ExecuteStreamingSql].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.spanner.v1.ExecuteSqlRequest}
  */
-public final class ExecuteSqlRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ExecuteSqlRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.spanner.v1.ExecuteSqlRequest)
     ExecuteSqlRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ExecuteSqlRequest.newBuilder() to construct.
   private ExecuteSqlRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ExecuteSqlRequest() {
     session_ = "";
     sql_ = "";
@@ -30,51 +48,54 @@ private ExecuteSqlRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ExecuteSqlRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteSqlRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.spanner.v1.SpannerProto
+        .internal_static_google_spanner_v1_ExecuteSqlRequest_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 internalGetParamTypes();
       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.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteSqlRequest_fieldAccessorTable
+    return com.google.spanner.v1.SpannerProto
+        .internal_static_google_spanner_v1_ExecuteSqlRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.v1.ExecuteSqlRequest.class, com.google.spanner.v1.ExecuteSqlRequest.Builder.class);
+            com.google.spanner.v1.ExecuteSqlRequest.class,
+            com.google.spanner.v1.ExecuteSqlRequest.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Mode in which the statement must be processed.
    * 
* * Protobuf enum {@code google.spanner.v1.ExecuteSqlRequest.QueryMode} */ - public enum QueryMode - implements com.google.protobuf.ProtocolMessageEnum { + public enum QueryMode implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The default mode. Only the statement results are returned.
      * 
@@ -83,6 +104,8 @@ public enum QueryMode */ NORMAL(0), /** + * + * *
      * This mode returns only the query plan, without any results or
      * execution statistics information.
@@ -92,6 +115,8 @@ public enum QueryMode
      */
     PLAN(1),
     /**
+     *
+     *
      * 
      * This mode returns both the query plan and the execution statistics along
      * with the results.
@@ -104,6 +129,8 @@ public enum QueryMode
     ;
 
     /**
+     *
+     *
      * 
      * The default mode. Only the statement results are returned.
      * 
@@ -112,6 +139,8 @@ public enum QueryMode */ public static final int NORMAL_VALUE = 0; /** + * + * *
      * This mode returns only the query plan, without any results or
      * execution statistics information.
@@ -121,6 +150,8 @@ public enum QueryMode
      */
     public static final int PLAN_VALUE = 1;
     /**
+     *
+     *
      * 
      * This mode returns both the query plan and the execution statistics along
      * with the results.
@@ -130,7 +161,6 @@ public enum QueryMode
      */
     public static final int PROFILE_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -155,49 +185,49 @@ public static QueryMode valueOf(int value) {
      */
     public static QueryMode forNumber(int value) {
       switch (value) {
-        case 0: return NORMAL;
-        case 1: return PLAN;
-        case 2: return PROFILE;
-        default: return null;
+        case 0:
+          return NORMAL;
+        case 1:
+          return PLAN;
+        case 2:
+          return PROFILE;
+        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<
-        QueryMode> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public QueryMode findValueByNumber(int number) {
-              return QueryMode.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 QueryMode findValueByNumber(int number) {
+            return QueryMode.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.spanner.v1.ExecuteSqlRequest.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final QueryMode[] VALUES = values();
 
-    public static QueryMode valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static QueryMode 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;
@@ -214,11 +244,14 @@ private QueryMode(int value) {
     // @@protoc_insertion_point(enum_scope:google.spanner.v1.ExecuteSqlRequest.QueryMode)
   }
 
-  public interface QueryOptionsOrBuilder extends
+  public interface QueryOptionsOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.spanner.v1.ExecuteSqlRequest.QueryOptions)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * An option to control the selection of optimizer version.
      * This parameter allows individual queries to pick different query
@@ -239,10 +272,13 @@ public interface QueryOptionsOrBuilder extends
      * 
* * string optimizer_version = 1; + * * @return The optimizerVersion. */ java.lang.String getOptimizerVersion(); /** + * + * *
      * An option to control the selection of optimizer version.
      * This parameter allows individual queries to pick different query
@@ -263,12 +299,14 @@ public interface QueryOptionsOrBuilder extends
      * 
* * string optimizer_version = 1; + * * @return The bytes for optimizerVersion. */ - com.google.protobuf.ByteString - getOptimizerVersionBytes(); + com.google.protobuf.ByteString getOptimizerVersionBytes(); /** + * + * *
      * An option to control the selection of optimizer statistics package.
      * This parameter allows individual queries to use a different query
@@ -291,10 +329,13 @@ public interface QueryOptionsOrBuilder extends
      * 
* * string optimizer_statistics_package = 2; + * * @return The optimizerStatisticsPackage. */ java.lang.String getOptimizerStatisticsPackage(); /** + * + * *
      * An option to control the selection of optimizer statistics package.
      * This parameter allows individual queries to use a different query
@@ -317,27 +358,30 @@ public interface QueryOptionsOrBuilder extends
      * 
* * string optimizer_statistics_package = 2; + * * @return The bytes for optimizerStatisticsPackage. */ - com.google.protobuf.ByteString - getOptimizerStatisticsPackageBytes(); + com.google.protobuf.ByteString getOptimizerStatisticsPackageBytes(); } /** + * + * *
    * Query optimizer configuration.
    * 
* * Protobuf type {@code google.spanner.v1.ExecuteSqlRequest.QueryOptions} */ - public static final class QueryOptions extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class QueryOptions extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.spanner.v1.ExecuteSqlRequest.QueryOptions) QueryOptionsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use QueryOptions.newBuilder() to construct. private QueryOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private QueryOptions() { optimizerVersion_ = ""; optimizerStatisticsPackage_ = ""; @@ -345,33 +389,37 @@ private QueryOptions() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new QueryOptions(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteSqlRequest_QueryOptions_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_ExecuteSqlRequest_QueryOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteSqlRequest_QueryOptions_fieldAccessorTable + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_ExecuteSqlRequest_QueryOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.class, com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.Builder.class); + com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.class, + com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.Builder.class); } public static final int OPTIMIZER_VERSION_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object optimizerVersion_ = ""; /** + * + * *
      * An option to control the selection of optimizer version.
      * This parameter allows individual queries to pick different query
@@ -392,6 +440,7 @@ protected java.lang.Object newInstance(
      * 
* * string optimizer_version = 1; + * * @return The optimizerVersion. */ @java.lang.Override @@ -400,14 +449,15 @@ public java.lang.String getOptimizerVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); optimizerVersion_ = s; return s; } } /** + * + * *
      * An option to control the selection of optimizer version.
      * This parameter allows individual queries to pick different query
@@ -428,16 +478,15 @@ public java.lang.String getOptimizerVersion() {
      * 
* * string optimizer_version = 1; + * * @return The bytes for optimizerVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getOptimizerVersionBytes() { + public com.google.protobuf.ByteString getOptimizerVersionBytes() { java.lang.Object ref = optimizerVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); optimizerVersion_ = b; return b; } else { @@ -446,9 +495,12 @@ public java.lang.String getOptimizerVersion() { } public static final int OPTIMIZER_STATISTICS_PACKAGE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object optimizerStatisticsPackage_ = ""; /** + * + * *
      * An option to control the selection of optimizer statistics package.
      * This parameter allows individual queries to use a different query
@@ -471,6 +523,7 @@ public java.lang.String getOptimizerVersion() {
      * 
* * string optimizer_statistics_package = 2; + * * @return The optimizerStatisticsPackage. */ @java.lang.Override @@ -479,14 +532,15 @@ public java.lang.String getOptimizerStatisticsPackage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); optimizerStatisticsPackage_ = s; return s; } } /** + * + * *
      * An option to control the selection of optimizer statistics package.
      * This parameter allows individual queries to use a different query
@@ -509,16 +563,15 @@ public java.lang.String getOptimizerStatisticsPackage() {
      * 
* * string optimizer_statistics_package = 2; + * * @return The bytes for optimizerStatisticsPackage. */ @java.lang.Override - public com.google.protobuf.ByteString - getOptimizerStatisticsPackageBytes() { + public com.google.protobuf.ByteString getOptimizerStatisticsPackageBytes() { java.lang.Object ref = optimizerStatisticsPackage_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); optimizerStatisticsPackage_ = b; return b; } else { @@ -527,6 +580,7 @@ public java.lang.String getOptimizerStatisticsPackage() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -538,8 +592,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(optimizerVersion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, optimizerVersion_); } @@ -559,7 +612,9 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, optimizerVersion_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(optimizerStatisticsPackage_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, optimizerStatisticsPackage_); + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize( + 2, optimizerStatisticsPackage_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -569,17 +624,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.spanner.v1.ExecuteSqlRequest.QueryOptions)) { return super.equals(obj); } - com.google.spanner.v1.ExecuteSqlRequest.QueryOptions other = (com.google.spanner.v1.ExecuteSqlRequest.QueryOptions) obj; + com.google.spanner.v1.ExecuteSqlRequest.QueryOptions other = + (com.google.spanner.v1.ExecuteSqlRequest.QueryOptions) obj; - if (!getOptimizerVersion() - .equals(other.getOptimizerVersion())) return false; - if (!getOptimizerStatisticsPackage() - .equals(other.getOptimizerStatisticsPackage())) return false; + if (!getOptimizerVersion().equals(other.getOptimizerVersion())) return false; + if (!getOptimizerStatisticsPackage().equals(other.getOptimizerStatisticsPackage())) + return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -601,87 +656,94 @@ public int hashCode() { } public static com.google.spanner.v1.ExecuteSqlRequest.QueryOptions parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.ExecuteSqlRequest.QueryOptions parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.v1.ExecuteSqlRequest.QueryOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.ExecuteSqlRequest.QueryOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.v1.ExecuteSqlRequest.QueryOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.ExecuteSqlRequest.QueryOptions parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.ExecuteSqlRequest.QueryOptions parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.spanner.v1.ExecuteSqlRequest.QueryOptions parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.v1.ExecuteSqlRequest.QueryOptions parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.ExecuteSqlRequest.QueryOptions parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.spanner.v1.ExecuteSqlRequest.QueryOptions parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.spanner.v1.ExecuteSqlRequest.QueryOptions parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.spanner.v1.ExecuteSqlRequest.QueryOptions parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.v1.ExecuteSqlRequest.QueryOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.v1.ExecuteSqlRequest.QueryOptions prototype) { + + public static Builder newBuilder( + com.google.spanner.v1.ExecuteSqlRequest.QueryOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -691,39 +753,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Query optimizer configuration.
      * 
* * Protobuf type {@code google.spanner.v1.ExecuteSqlRequest.QueryOptions} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.ExecuteSqlRequest.QueryOptions) com.google.spanner.v1.ExecuteSqlRequest.QueryOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteSqlRequest_QueryOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_ExecuteSqlRequest_QueryOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteSqlRequest_QueryOptions_fieldAccessorTable + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_ExecuteSqlRequest_QueryOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.class, com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.Builder.class); + com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.class, + com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.Builder.class); } // Construct using com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -734,9 +798,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteSqlRequest_QueryOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_ExecuteSqlRequest_QueryOptions_descriptor; } @java.lang.Override @@ -755,8 +819,11 @@ public com.google.spanner.v1.ExecuteSqlRequest.QueryOptions build() { @java.lang.Override public com.google.spanner.v1.ExecuteSqlRequest.QueryOptions buildPartial() { - com.google.spanner.v1.ExecuteSqlRequest.QueryOptions result = new com.google.spanner.v1.ExecuteSqlRequest.QueryOptions(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.spanner.v1.ExecuteSqlRequest.QueryOptions result = + new com.google.spanner.v1.ExecuteSqlRequest.QueryOptions(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -775,38 +842,41 @@ private void buildPartial0(com.google.spanner.v1.ExecuteSqlRequest.QueryOptions public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.spanner.v1.ExecuteSqlRequest.QueryOptions) { - return mergeFrom((com.google.spanner.v1.ExecuteSqlRequest.QueryOptions)other); + return mergeFrom((com.google.spanner.v1.ExecuteSqlRequest.QueryOptions) other); } else { super.mergeFrom(other); return this; @@ -814,7 +884,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.v1.ExecuteSqlRequest.QueryOptions other) { - if (other == com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.getDefaultInstance()) return this; + if (other == com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.getDefaultInstance()) + return this; if (!other.getOptimizerVersion().isEmpty()) { optimizerVersion_ = other.optimizerVersion_; bitField0_ |= 0x00000001; @@ -851,22 +922,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - optimizerVersion_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - optimizerStatisticsPackage_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + optimizerVersion_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + optimizerStatisticsPackage_ = 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) { @@ -876,10 +950,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object optimizerVersion_ = ""; /** + * + * *
        * An option to control the selection of optimizer version.
        * This parameter allows individual queries to pick different query
@@ -900,13 +977,13 @@ public Builder mergeFrom(
        * 
* * string optimizer_version = 1; + * * @return The optimizerVersion. */ public java.lang.String getOptimizerVersion() { java.lang.Object ref = optimizerVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); optimizerVersion_ = s; return s; @@ -915,6 +992,8 @@ public java.lang.String getOptimizerVersion() { } } /** + * + * *
        * An option to control the selection of optimizer version.
        * This parameter allows individual queries to pick different query
@@ -935,15 +1014,14 @@ public java.lang.String getOptimizerVersion() {
        * 
* * string optimizer_version = 1; + * * @return The bytes for optimizerVersion. */ - public com.google.protobuf.ByteString - getOptimizerVersionBytes() { + public com.google.protobuf.ByteString getOptimizerVersionBytes() { java.lang.Object ref = optimizerVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); optimizerVersion_ = b; return b; } else { @@ -951,6 +1029,8 @@ public java.lang.String getOptimizerVersion() { } } /** + * + * *
        * An option to control the selection of optimizer version.
        * This parameter allows individual queries to pick different query
@@ -971,18 +1051,22 @@ public java.lang.String getOptimizerVersion() {
        * 
* * string optimizer_version = 1; + * * @param value The optimizerVersion to set. * @return This builder for chaining. */ - public Builder setOptimizerVersion( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOptimizerVersion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } optimizerVersion_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * An option to control the selection of optimizer version.
        * This parameter allows individual queries to pick different query
@@ -1003,6 +1087,7 @@ public Builder setOptimizerVersion(
        * 
* * string optimizer_version = 1; + * * @return This builder for chaining. */ public Builder clearOptimizerVersion() { @@ -1012,6 +1097,8 @@ public Builder clearOptimizerVersion() { return this; } /** + * + * *
        * An option to control the selection of optimizer version.
        * This parameter allows individual queries to pick different query
@@ -1032,12 +1119,14 @@ public Builder clearOptimizerVersion() {
        * 
* * string optimizer_version = 1; + * * @param value The bytes for optimizerVersion to set. * @return This builder for chaining. */ - public Builder setOptimizerVersionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOptimizerVersionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); optimizerVersion_ = value; bitField0_ |= 0x00000001; @@ -1047,6 +1136,8 @@ public Builder setOptimizerVersionBytes( private java.lang.Object optimizerStatisticsPackage_ = ""; /** + * + * *
        * An option to control the selection of optimizer statistics package.
        * This parameter allows individual queries to use a different query
@@ -1069,13 +1160,13 @@ public Builder setOptimizerVersionBytes(
        * 
* * string optimizer_statistics_package = 2; + * * @return The optimizerStatisticsPackage. */ public java.lang.String getOptimizerStatisticsPackage() { java.lang.Object ref = optimizerStatisticsPackage_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); optimizerStatisticsPackage_ = s; return s; @@ -1084,6 +1175,8 @@ public java.lang.String getOptimizerStatisticsPackage() { } } /** + * + * *
        * An option to control the selection of optimizer statistics package.
        * This parameter allows individual queries to use a different query
@@ -1106,15 +1199,14 @@ public java.lang.String getOptimizerStatisticsPackage() {
        * 
* * string optimizer_statistics_package = 2; + * * @return The bytes for optimizerStatisticsPackage. */ - public com.google.protobuf.ByteString - getOptimizerStatisticsPackageBytes() { + public com.google.protobuf.ByteString getOptimizerStatisticsPackageBytes() { java.lang.Object ref = optimizerStatisticsPackage_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); optimizerStatisticsPackage_ = b; return b; } else { @@ -1122,6 +1214,8 @@ public java.lang.String getOptimizerStatisticsPackage() { } } /** + * + * *
        * An option to control the selection of optimizer statistics package.
        * This parameter allows individual queries to use a different query
@@ -1144,18 +1238,22 @@ public java.lang.String getOptimizerStatisticsPackage() {
        * 
* * string optimizer_statistics_package = 2; + * * @param value The optimizerStatisticsPackage to set. * @return This builder for chaining. */ - public Builder setOptimizerStatisticsPackage( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOptimizerStatisticsPackage(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } optimizerStatisticsPackage_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * An option to control the selection of optimizer statistics package.
        * This parameter allows individual queries to use a different query
@@ -1178,6 +1276,7 @@ public Builder setOptimizerStatisticsPackage(
        * 
* * string optimizer_statistics_package = 2; + * * @return This builder for chaining. */ public Builder clearOptimizerStatisticsPackage() { @@ -1187,6 +1286,8 @@ public Builder clearOptimizerStatisticsPackage() { return this; } /** + * + * *
        * An option to control the selection of optimizer statistics package.
        * This parameter allows individual queries to use a different query
@@ -1209,18 +1310,21 @@ public Builder clearOptimizerStatisticsPackage() {
        * 
* * string optimizer_statistics_package = 2; + * * @param value The bytes for optimizerStatisticsPackage to set. * @return This builder for chaining. */ - public Builder setOptimizerStatisticsPackageBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOptimizerStatisticsPackageBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); optimizerStatisticsPackage_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1233,12 +1337,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.v1.ExecuteSqlRequest.QueryOptions) } // @@protoc_insertion_point(class_scope:google.spanner.v1.ExecuteSqlRequest.QueryOptions) private static final com.google.spanner.v1.ExecuteSqlRequest.QueryOptions DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.v1.ExecuteSqlRequest.QueryOptions(); } @@ -1247,27 +1351,28 @@ public static com.google.spanner.v1.ExecuteSqlRequest.QueryOptions getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QueryOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QueryOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1282,18 +1387,23 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.ExecuteSqlRequest.QueryOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int SESSION_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object session_ = ""; /** + * + * *
    * Required. The session in which the SQL query should be performed.
    * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The session. */ @java.lang.Override @@ -1302,29 +1412,31 @@ public java.lang.String getSession() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); session_ = s; return s; } } /** + * + * *
    * Required. The session in which the SQL query should be performed.
    * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for session. */ @java.lang.Override - public com.google.protobuf.ByteString - getSessionBytes() { + public com.google.protobuf.ByteString getSessionBytes() { java.lang.Object ref = session_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); session_ = b; return b; } else { @@ -1335,6 +1447,8 @@ public java.lang.String getSession() { public static final int TRANSACTION_FIELD_NUMBER = 2; private com.google.spanner.v1.TransactionSelector transaction_; /** + * + * *
    * The transaction to use.
    * For queries, if none is provided, the default is a temporary read-only
@@ -1346,6 +1460,7 @@ public java.lang.String getSession() {
    * 
* * .google.spanner.v1.TransactionSelector transaction = 2; + * * @return Whether the transaction field is set. */ @java.lang.Override @@ -1353,6 +1468,8 @@ public boolean hasTransaction() { return transaction_ != null; } /** + * + * *
    * The transaction to use.
    * For queries, if none is provided, the default is a temporary read-only
@@ -1364,13 +1481,18 @@ public boolean hasTransaction() {
    * 
* * .google.spanner.v1.TransactionSelector transaction = 2; + * * @return The transaction. */ @java.lang.Override public com.google.spanner.v1.TransactionSelector getTransaction() { - return transaction_ == null ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() : transaction_; + return transaction_ == null + ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() + : transaction_; } /** + * + * *
    * The transaction to use.
    * For queries, if none is provided, the default is a temporary read-only
@@ -1385,18 +1507,24 @@ public com.google.spanner.v1.TransactionSelector getTransaction() {
    */
   @java.lang.Override
   public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilder() {
-    return transaction_ == null ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() : transaction_;
+    return transaction_ == null
+        ? com.google.spanner.v1.TransactionSelector.getDefaultInstance()
+        : transaction_;
   }
 
   public static final int SQL_FIELD_NUMBER = 3;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object sql_ = "";
   /**
+   *
+   *
    * 
    * Required. The SQL string.
    * 
* * string sql = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The sql. */ @java.lang.Override @@ -1405,29 +1533,29 @@ public java.lang.String getSql() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sql_ = s; return s; } } /** + * + * *
    * Required. The SQL string.
    * 
* * string sql = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for sql. */ @java.lang.Override - public com.google.protobuf.ByteString - getSqlBytes() { + public com.google.protobuf.ByteString getSqlBytes() { java.lang.Object ref = sql_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sql_ = b; return b; } else { @@ -1438,6 +1566,8 @@ public java.lang.String getSql() { public static final int PARAMS_FIELD_NUMBER = 4; private com.google.protobuf.Struct params_; /** + * + * *
    * Parameter names and values that bind to placeholders in the SQL string.
    * A parameter placeholder consists of the `@` character followed by the
@@ -1451,6 +1581,7 @@ public java.lang.String getSql() {
    * 
* * .google.protobuf.Struct params = 4; + * * @return Whether the params field is set. */ @java.lang.Override @@ -1458,6 +1589,8 @@ public boolean hasParams() { return params_ != null; } /** + * + * *
    * Parameter names and values that bind to placeholders in the SQL string.
    * A parameter placeholder consists of the `@` character followed by the
@@ -1471,6 +1604,7 @@ public boolean hasParams() {
    * 
* * .google.protobuf.Struct params = 4; + * * @return The params. */ @java.lang.Override @@ -1478,6 +1612,8 @@ public com.google.protobuf.Struct getParams() { return params_ == null ? com.google.protobuf.Struct.getDefaultInstance() : params_; } /** + * + * *
    * Parameter names and values that bind to placeholders in the SQL string.
    * A parameter placeholder consists of the `@` character followed by the
@@ -1498,32 +1634,37 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
   }
 
   public static final int PARAM_TYPES_FIELD_NUMBER = 5;
+
   private static final class ParamTypesDefaultEntryHolder {
-    static final com.google.protobuf.MapEntry<
-        java.lang.String, com.google.spanner.v1.Type> defaultEntry =
+    static final com.google.protobuf.MapEntry
+        defaultEntry =
             com.google.protobuf.MapEntry
-            .newDefaultInstance(
-                com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteSqlRequest_ParamTypesEntry_descriptor, 
-                com.google.protobuf.WireFormat.FieldType.STRING,
-                "",
-                com.google.protobuf.WireFormat.FieldType.MESSAGE,
-                com.google.spanner.v1.Type.getDefaultInstance());
+                .newDefaultInstance(
+                    com.google.spanner.v1.SpannerProto
+                        .internal_static_google_spanner_v1_ExecuteSqlRequest_ParamTypesEntry_descriptor,
+                    com.google.protobuf.WireFormat.FieldType.STRING,
+                    "",
+                    com.google.protobuf.WireFormat.FieldType.MESSAGE,
+                    com.google.spanner.v1.Type.getDefaultInstance());
   }
+
   @SuppressWarnings("serial")
-  private com.google.protobuf.MapField<
-      java.lang.String, com.google.spanner.v1.Type> paramTypes_;
+  private com.google.protobuf.MapField paramTypes_;
+
   private com.google.protobuf.MapField
-  internalGetParamTypes() {
+      internalGetParamTypes() {
     if (paramTypes_ == null) {
-      return com.google.protobuf.MapField.emptyMapField(
-          ParamTypesDefaultEntryHolder.defaultEntry);
+      return com.google.protobuf.MapField.emptyMapField(ParamTypesDefaultEntryHolder.defaultEntry);
     }
     return paramTypes_;
   }
+
   public int getParamTypesCount() {
     return internalGetParamTypes().getMap().size();
   }
   /**
+   *
+   *
    * 
    * It is not always possible for Cloud Spanner to infer the right SQL type
    * from a JSON value.  For example, values of type `BYTES` and values
@@ -1537,20 +1678,21 @@ public int getParamTypesCount() {
    * map<string, .google.spanner.v1.Type> param_types = 5;
    */
   @java.lang.Override
-  public boolean containsParamTypes(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsParamTypes(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetParamTypes().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getParamTypesMap()} instead.
-   */
+  /** Use {@link #getParamTypesMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getParamTypes() {
     return getParamTypesMap();
   }
   /**
+   *
+   *
    * 
    * It is not always possible for Cloud Spanner to infer the right SQL type
    * from a JSON value.  For example, values of type `BYTES` and values
@@ -1568,6 +1710,8 @@ public java.util.Map getParamTypes
     return internalGetParamTypes().getMap();
   }
   /**
+   *
+   *
    * 
    * It is not always possible for Cloud Spanner to infer the right SQL type
    * from a JSON value.  For example, values of type `BYTES` and values
@@ -1581,17 +1725,20 @@ public java.util.Map getParamTypes
    * map<string, .google.spanner.v1.Type> param_types = 5;
    */
   @java.lang.Override
-  public /* nullable */
-com.google.spanner.v1.Type getParamTypesOrDefault(
+  public /* nullable */ com.google.spanner.v1.Type getParamTypesOrDefault(
       java.lang.String key,
       /* nullable */
-com.google.spanner.v1.Type defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
+      com.google.spanner.v1.Type defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     java.util.Map map =
         internalGetParamTypes().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * It is not always possible for Cloud Spanner to infer the right SQL type
    * from a JSON value.  For example, values of type `BYTES` and values
@@ -1605,9 +1752,10 @@ com.google.spanner.v1.Type getParamTypesOrDefault(
    * map<string, .google.spanner.v1.Type> param_types = 5;
    */
   @java.lang.Override
-  public com.google.spanner.v1.Type getParamTypesOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public com.google.spanner.v1.Type getParamTypesOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     java.util.Map map =
         internalGetParamTypes().getMap();
     if (!map.containsKey(key)) {
@@ -1619,6 +1767,8 @@ public com.google.spanner.v1.Type getParamTypesOrThrow(
   public static final int RESUME_TOKEN_FIELD_NUMBER = 6;
   private com.google.protobuf.ByteString resumeToken_ = com.google.protobuf.ByteString.EMPTY;
   /**
+   *
+   *
    * 
    * If this request is resuming a previously interrupted SQL statement
    * execution, `resume_token` should be copied from the last
@@ -1629,6 +1779,7 @@ public com.google.spanner.v1.Type getParamTypesOrThrow(
    * 
* * bytes resume_token = 6; + * * @return The resumeToken. */ @java.lang.Override @@ -1639,6 +1790,8 @@ public com.google.protobuf.ByteString getResumeToken() { public static final int QUERY_MODE_FIELD_NUMBER = 7; private int queryMode_ = 0; /** + * + * *
    * Used to control the amount of debugging information returned in
    * [ResultSetStats][google.spanner.v1.ResultSetStats]. If [partition_token][google.spanner.v1.ExecuteSqlRequest.partition_token] is set, [query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode] can only
@@ -1646,12 +1799,16 @@ public com.google.protobuf.ByteString getResumeToken() {
    * 
* * .google.spanner.v1.ExecuteSqlRequest.QueryMode query_mode = 7; + * * @return The enum numeric value on the wire for queryMode. */ - @java.lang.Override public int getQueryModeValue() { + @java.lang.Override + public int getQueryModeValue() { return queryMode_; } /** + * + * *
    * Used to control the amount of debugging information returned in
    * [ResultSetStats][google.spanner.v1.ResultSetStats]. If [partition_token][google.spanner.v1.ExecuteSqlRequest.partition_token] is set, [query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode] can only
@@ -1659,16 +1816,21 @@ public com.google.protobuf.ByteString getResumeToken() {
    * 
* * .google.spanner.v1.ExecuteSqlRequest.QueryMode query_mode = 7; + * * @return The queryMode. */ - @java.lang.Override public com.google.spanner.v1.ExecuteSqlRequest.QueryMode getQueryMode() { - com.google.spanner.v1.ExecuteSqlRequest.QueryMode result = com.google.spanner.v1.ExecuteSqlRequest.QueryMode.forNumber(queryMode_); + @java.lang.Override + public com.google.spanner.v1.ExecuteSqlRequest.QueryMode getQueryMode() { + com.google.spanner.v1.ExecuteSqlRequest.QueryMode result = + com.google.spanner.v1.ExecuteSqlRequest.QueryMode.forNumber(queryMode_); return result == null ? com.google.spanner.v1.ExecuteSqlRequest.QueryMode.UNRECOGNIZED : result; } public static final int PARTITION_TOKEN_FIELD_NUMBER = 8; private com.google.protobuf.ByteString partitionToken_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
    * If present, results will be restricted to the specified partition
    * previously created using PartitionQuery().  There must be an exact
@@ -1677,6 +1839,7 @@ public com.google.protobuf.ByteString getResumeToken() {
    * 
* * bytes partition_token = 8; + * * @return The partitionToken. */ @java.lang.Override @@ -1687,6 +1850,8 @@ public com.google.protobuf.ByteString getPartitionToken() { public static final int SEQNO_FIELD_NUMBER = 9; private long seqno_ = 0L; /** + * + * *
    * A per-transaction sequence number used to identify this request. This field
    * makes each request idempotent such that if the request is received multiple
@@ -1699,6 +1864,7 @@ public com.google.protobuf.ByteString getPartitionToken() {
    * 
* * int64 seqno = 9; + * * @return The seqno. */ @java.lang.Override @@ -1709,11 +1875,14 @@ public long getSeqno() { public static final int QUERY_OPTIONS_FIELD_NUMBER = 10; private com.google.spanner.v1.ExecuteSqlRequest.QueryOptions queryOptions_; /** + * + * *
    * Query optimizer configuration to use for the given query.
    * 
* * .google.spanner.v1.ExecuteSqlRequest.QueryOptions query_options = 10; + * * @return Whether the queryOptions field is set. */ @java.lang.Override @@ -1721,18 +1890,25 @@ public boolean hasQueryOptions() { return queryOptions_ != null; } /** + * + * *
    * Query optimizer configuration to use for the given query.
    * 
* * .google.spanner.v1.ExecuteSqlRequest.QueryOptions query_options = 10; + * * @return The queryOptions. */ @java.lang.Override public com.google.spanner.v1.ExecuteSqlRequest.QueryOptions getQueryOptions() { - return queryOptions_ == null ? com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.getDefaultInstance() : queryOptions_; + return queryOptions_ == null + ? com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.getDefaultInstance() + : queryOptions_; } /** + * + * *
    * Query optimizer configuration to use for the given query.
    * 
@@ -1741,17 +1917,22 @@ public com.google.spanner.v1.ExecuteSqlRequest.QueryOptions getQueryOptions() { */ @java.lang.Override public com.google.spanner.v1.ExecuteSqlRequest.QueryOptionsOrBuilder getQueryOptionsOrBuilder() { - return queryOptions_ == null ? com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.getDefaultInstance() : queryOptions_; + return queryOptions_ == null + ? com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.getDefaultInstance() + : queryOptions_; } public static final int REQUEST_OPTIONS_FIELD_NUMBER = 11; private com.google.spanner.v1.RequestOptions requestOptions_; /** + * + * *
    * Common options for this request.
    * 
* * .google.spanner.v1.RequestOptions request_options = 11; + * * @return Whether the requestOptions field is set. */ @java.lang.Override @@ -1759,18 +1940,25 @@ public boolean hasRequestOptions() { return requestOptions_ != null; } /** + * + * *
    * Common options for this request.
    * 
* * .google.spanner.v1.RequestOptions request_options = 11; + * * @return The requestOptions. */ @java.lang.Override public com.google.spanner.v1.RequestOptions getRequestOptions() { - return requestOptions_ == null ? com.google.spanner.v1.RequestOptions.getDefaultInstance() : requestOptions_; + return requestOptions_ == null + ? com.google.spanner.v1.RequestOptions.getDefaultInstance() + : requestOptions_; } /** + * + * *
    * Common options for this request.
    * 
@@ -1779,12 +1967,16 @@ public com.google.spanner.v1.RequestOptions getRequestOptions() { */ @java.lang.Override public com.google.spanner.v1.RequestOptionsOrBuilder getRequestOptionsOrBuilder() { - return requestOptions_ == null ? com.google.spanner.v1.RequestOptions.getDefaultInstance() : requestOptions_; + return requestOptions_ == null + ? com.google.spanner.v1.RequestOptions.getDefaultInstance() + : requestOptions_; } public static final int DATA_BOOST_ENABLED_FIELD_NUMBER = 16; private boolean dataBoostEnabled_ = false; /** + * + * *
    * If this is for a partitioned query and this field is set to `true`, the
    * request will be executed via Spanner independent compute resources.
@@ -1793,6 +1985,7 @@ public com.google.spanner.v1.RequestOptionsOrBuilder getRequestOptionsOrBuilder(
    * 
* * bool data_boost_enabled = 16; + * * @return The dataBoostEnabled. */ @java.lang.Override @@ -1801,6 +1994,7 @@ public boolean getDataBoostEnabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1812,8 +2006,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(session_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, session_); } @@ -1826,12 +2019,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (params_ != null) { output.writeMessage(4, getParams()); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetParamTypes(), - ParamTypesDefaultEntryHolder.defaultEntry, - 5); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetParamTypes(), ParamTypesDefaultEntryHolder.defaultEntry, 5); if (!resumeToken_.isEmpty()) { output.writeBytes(6, resumeToken_); } @@ -1866,53 +2055,44 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, session_); } if (transaction_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getTransaction()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTransaction()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sql_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, sql_); } if (params_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getParams()); - } - for (java.util.Map.Entry entry - : internalGetParamTypes().getMap().entrySet()) { - com.google.protobuf.MapEntry - paramTypes__ = ParamTypesDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, paramTypes__); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getParams()); + } + for (java.util.Map.Entry entry : + internalGetParamTypes().getMap().entrySet()) { + com.google.protobuf.MapEntry paramTypes__ = + ParamTypesDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, paramTypes__); } if (!resumeToken_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(6, resumeToken_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(6, resumeToken_); } if (queryMode_ != com.google.spanner.v1.ExecuteSqlRequest.QueryMode.NORMAL.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(7, queryMode_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, queryMode_); } if (!partitionToken_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(8, partitionToken_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(8, partitionToken_); } if (seqno_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(9, seqno_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(9, seqno_); } if (queryOptions_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, getQueryOptions()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getQueryOptions()); } if (requestOptions_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, getRequestOptions()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getRequestOptions()); } if (dataBoostEnabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(16, dataBoostEnabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(16, dataBoostEnabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1922,48 +2102,37 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.v1.ExecuteSqlRequest)) { return super.equals(obj); } com.google.spanner.v1.ExecuteSqlRequest other = (com.google.spanner.v1.ExecuteSqlRequest) obj; - if (!getSession() - .equals(other.getSession())) return false; + if (!getSession().equals(other.getSession())) return false; if (hasTransaction() != other.hasTransaction()) return false; if (hasTransaction()) { - if (!getTransaction() - .equals(other.getTransaction())) return false; + if (!getTransaction().equals(other.getTransaction())) return false; } - if (!getSql() - .equals(other.getSql())) return false; + if (!getSql().equals(other.getSql())) return false; if (hasParams() != other.hasParams()) return false; if (hasParams()) { - if (!getParams() - .equals(other.getParams())) return false; + if (!getParams().equals(other.getParams())) return false; } - if (!internalGetParamTypes().equals( - other.internalGetParamTypes())) return false; - if (!getResumeToken() - .equals(other.getResumeToken())) return false; + if (!internalGetParamTypes().equals(other.internalGetParamTypes())) return false; + if (!getResumeToken().equals(other.getResumeToken())) return false; if (queryMode_ != other.queryMode_) return false; - if (!getPartitionToken() - .equals(other.getPartitionToken())) return false; - if (getSeqno() - != other.getSeqno()) return false; + if (!getPartitionToken().equals(other.getPartitionToken())) return false; + if (getSeqno() != other.getSeqno()) return false; if (hasQueryOptions() != other.hasQueryOptions()) return false; if (hasQueryOptions()) { - if (!getQueryOptions() - .equals(other.getQueryOptions())) return false; + if (!getQueryOptions().equals(other.getQueryOptions())) return false; } if (hasRequestOptions() != other.hasRequestOptions()) return false; if (hasRequestOptions()) { - if (!getRequestOptions() - .equals(other.getRequestOptions())) return false; + if (!getRequestOptions().equals(other.getRequestOptions())) return false; } - if (getDataBoostEnabled() - != other.getDataBoostEnabled()) return false; + if (getDataBoostEnabled() != other.getDataBoostEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1998,8 +2167,7 @@ public int hashCode() { hash = (37 * hash) + PARTITION_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getPartitionToken().hashCode(); hash = (37 * hash) + SEQNO_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getSeqno()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getSeqno()); if (hasQueryOptions()) { hash = (37 * hash) + QUERY_OPTIONS_FIELD_NUMBER; hash = (53 * hash) + getQueryOptions().hashCode(); @@ -2009,104 +2177,110 @@ public int hashCode() { hash = (53 * hash) + getRequestOptions().hashCode(); } hash = (37 * hash) + DATA_BOOST_ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDataBoostEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDataBoostEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.spanner.v1.ExecuteSqlRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.spanner.v1.ExecuteSqlRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.ExecuteSqlRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.v1.ExecuteSqlRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.ExecuteSqlRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.v1.ExecuteSqlRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.ExecuteSqlRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.v1.ExecuteSqlRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.v1.ExecuteSqlRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.ExecuteSqlRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.spanner.v1.ExecuteSqlRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.spanner.v1.ExecuteSqlRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.spanner.v1.ExecuteSqlRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.v1.ExecuteSqlRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.spanner.v1.ExecuteSqlRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql] and
    * [ExecuteStreamingSql][google.spanner.v1.Spanner.ExecuteStreamingSql].
@@ -2114,55 +2288,52 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.spanner.v1.ExecuteSqlRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.spanner.v1.ExecuteSqlRequest)
       com.google.spanner.v1.ExecuteSqlRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteSqlRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.spanner.v1.SpannerProto
+          .internal_static_google_spanner_v1_ExecuteSqlRequest_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 5:
           return internalGetParamTypes();
         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 internalGetMutableParamTypes();
         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.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteSqlRequest_fieldAccessorTable
+      return com.google.spanner.v1.SpannerProto
+          .internal_static_google_spanner_v1_ExecuteSqlRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.v1.ExecuteSqlRequest.class, com.google.spanner.v1.ExecuteSqlRequest.Builder.class);
+              com.google.spanner.v1.ExecuteSqlRequest.class,
+              com.google.spanner.v1.ExecuteSqlRequest.Builder.class);
     }
 
     // Construct using com.google.spanner.v1.ExecuteSqlRequest.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2199,9 +2370,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ExecuteSqlRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.spanner.v1.SpannerProto
+          .internal_static_google_spanner_v1_ExecuteSqlRequest_descriptor;
     }
 
     @java.lang.Override
@@ -2220,8 +2391,11 @@ public com.google.spanner.v1.ExecuteSqlRequest build() {
 
     @java.lang.Override
     public com.google.spanner.v1.ExecuteSqlRequest buildPartial() {
-      com.google.spanner.v1.ExecuteSqlRequest result = new com.google.spanner.v1.ExecuteSqlRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.spanner.v1.ExecuteSqlRequest result =
+          new com.google.spanner.v1.ExecuteSqlRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -2232,17 +2406,14 @@ private void buildPartial0(com.google.spanner.v1.ExecuteSqlRequest result) {
         result.session_ = session_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.transaction_ = transactionBuilder_ == null
-            ? transaction_
-            : transactionBuilder_.build();
+        result.transaction_ =
+            transactionBuilder_ == null ? transaction_ : transactionBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
         result.sql_ = sql_;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.params_ = paramsBuilder_ == null
-            ? params_
-            : paramsBuilder_.build();
+        result.params_ = paramsBuilder_ == null ? params_ : paramsBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
         result.paramTypes_ = internalGetParamTypes();
@@ -2261,14 +2432,12 @@ private void buildPartial0(com.google.spanner.v1.ExecuteSqlRequest result) {
         result.seqno_ = seqno_;
       }
       if (((from_bitField0_ & 0x00000200) != 0)) {
-        result.queryOptions_ = queryOptionsBuilder_ == null
-            ? queryOptions_
-            : queryOptionsBuilder_.build();
+        result.queryOptions_ =
+            queryOptionsBuilder_ == null ? queryOptions_ : queryOptionsBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000400) != 0)) {
-        result.requestOptions_ = requestOptionsBuilder_ == null
-            ? requestOptions_
-            : requestOptionsBuilder_.build();
+        result.requestOptions_ =
+            requestOptionsBuilder_ == null ? requestOptions_ : requestOptionsBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000800) != 0)) {
         result.dataBoostEnabled_ = dataBoostEnabled_;
@@ -2279,38 +2448,39 @@ private void buildPartial0(com.google.spanner.v1.ExecuteSqlRequest 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.spanner.v1.ExecuteSqlRequest) {
-        return mergeFrom((com.google.spanner.v1.ExecuteSqlRequest)other);
+        return mergeFrom((com.google.spanner.v1.ExecuteSqlRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2335,8 +2505,7 @@ public Builder mergeFrom(com.google.spanner.v1.ExecuteSqlRequest other) {
       if (other.hasParams()) {
         mergeParams(other.getParams());
       }
-      internalGetMutableParamTypes().mergeFrom(
-          other.internalGetParamTypes());
+      internalGetMutableParamTypes().mergeFrom(other.internalGetParamTypes());
       bitField0_ |= 0x00000010;
       if (other.getResumeToken() != com.google.protobuf.ByteString.EMPTY) {
         setResumeToken(other.getResumeToken());
@@ -2385,84 +2554,92 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              session_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getTransactionFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              sql_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getParamsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            case 42: {
-              com.google.protobuf.MapEntry
-              paramTypes__ = input.readMessage(
-                  ParamTypesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableParamTypes().getMutableMap().put(
-                  paramTypes__.getKey(), paramTypes__.getValue());
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 42
-            case 50: {
-              resumeToken_ = input.readBytes();
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 50
-            case 56: {
-              queryMode_ = input.readEnum();
-              bitField0_ |= 0x00000040;
-              break;
-            } // case 56
-            case 66: {
-              partitionToken_ = input.readBytes();
-              bitField0_ |= 0x00000080;
-              break;
-            } // case 66
-            case 72: {
-              seqno_ = input.readInt64();
-              bitField0_ |= 0x00000100;
-              break;
-            } // case 72
-            case 82: {
-              input.readMessage(
-                  getQueryOptionsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000200;
-              break;
-            } // case 82
-            case 90: {
-              input.readMessage(
-                  getRequestOptionsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000400;
-              break;
-            } // case 90
-            case 128: {
-              dataBoostEnabled_ = input.readBool();
-              bitField0_ |= 0x00000800;
-              break;
-            } // case 128
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                session_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getTransactionFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                sql_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(getParamsFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            case 42:
+              {
+                com.google.protobuf.MapEntry
+                    paramTypes__ =
+                        input.readMessage(
+                            ParamTypesDefaultEntryHolder.defaultEntry.getParserForType(),
+                            extensionRegistry);
+                internalGetMutableParamTypes()
+                    .getMutableMap()
+                    .put(paramTypes__.getKey(), paramTypes__.getValue());
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 42
+            case 50:
+              {
+                resumeToken_ = input.readBytes();
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 50
+            case 56:
+              {
+                queryMode_ = input.readEnum();
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 56
+            case 66:
+              {
+                partitionToken_ = input.readBytes();
+                bitField0_ |= 0x00000080;
+                break;
+              } // case 66
+            case 72:
+              {
+                seqno_ = input.readInt64();
+                bitField0_ |= 0x00000100;
+                break;
+              } // case 72
+            case 82:
+              {
+                input.readMessage(getQueryOptionsFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000200;
+                break;
+              } // case 82
+            case 90:
+              {
+                input.readMessage(getRequestOptionsFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000400;
+                break;
+              } // case 90
+            case 128:
+              {
+                dataBoostEnabled_ = input.readBool();
+                bitField0_ |= 0x00000800;
+                break;
+              } // case 128
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2472,22 +2649,27 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object session_ = "";
     /**
+     *
+     *
      * 
      * Required. The session in which the SQL query should be performed.
      * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The session. */ public java.lang.String getSession() { java.lang.Object ref = session_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); session_ = s; return s; @@ -2496,20 +2678,23 @@ public java.lang.String getSession() { } } /** + * + * *
      * Required. The session in which the SQL query should be performed.
      * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for session. */ - public com.google.protobuf.ByteString - getSessionBytes() { + public com.google.protobuf.ByteString getSessionBytes() { java.lang.Object ref = session_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); session_ = b; return b; } else { @@ -2517,28 +2702,39 @@ public java.lang.String getSession() { } } /** + * + * *
      * Required. The session in which the SQL query should be performed.
      * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The session to set. * @return This builder for chaining. */ - public Builder setSession( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSession(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } session_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The session in which the SQL query should be performed.
      * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearSession() { @@ -2548,17 +2744,23 @@ public Builder clearSession() { return this; } /** + * + * *
      * Required. The session in which the SQL query should be performed.
      * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for session to set. * @return This builder for chaining. */ - public Builder setSessionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSessionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); session_ = value; bitField0_ |= 0x00000001; @@ -2568,8 +2770,13 @@ public Builder setSessionBytes( private com.google.spanner.v1.TransactionSelector transaction_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.TransactionSelector, com.google.spanner.v1.TransactionSelector.Builder, com.google.spanner.v1.TransactionSelectorOrBuilder> transactionBuilder_; + com.google.spanner.v1.TransactionSelector, + com.google.spanner.v1.TransactionSelector.Builder, + com.google.spanner.v1.TransactionSelectorOrBuilder> + transactionBuilder_; /** + * + * *
      * The transaction to use.
      * For queries, if none is provided, the default is a temporary read-only
@@ -2581,12 +2788,15 @@ public Builder setSessionBytes(
      * 
* * .google.spanner.v1.TransactionSelector transaction = 2; + * * @return Whether the transaction field is set. */ public boolean hasTransaction() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The transaction to use.
      * For queries, if none is provided, the default is a temporary read-only
@@ -2598,16 +2808,21 @@ public boolean hasTransaction() {
      * 
* * .google.spanner.v1.TransactionSelector transaction = 2; + * * @return The transaction. */ public com.google.spanner.v1.TransactionSelector getTransaction() { if (transactionBuilder_ == null) { - return transaction_ == null ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() : transaction_; + return transaction_ == null + ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() + : transaction_; } else { return transactionBuilder_.getMessage(); } } /** + * + * *
      * The transaction to use.
      * For queries, if none is provided, the default is a temporary read-only
@@ -2634,6 +2849,8 @@ public Builder setTransaction(com.google.spanner.v1.TransactionSelector value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The transaction to use.
      * For queries, if none is provided, the default is a temporary read-only
@@ -2658,6 +2875,8 @@ public Builder setTransaction(
       return this;
     }
     /**
+     *
+     *
      * 
      * The transaction to use.
      * For queries, if none is provided, the default is a temporary read-only
@@ -2672,9 +2891,9 @@ public Builder setTransaction(
      */
     public Builder mergeTransaction(com.google.spanner.v1.TransactionSelector value) {
       if (transactionBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0) &&
-          transaction_ != null &&
-          transaction_ != com.google.spanner.v1.TransactionSelector.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0)
+            && transaction_ != null
+            && transaction_ != com.google.spanner.v1.TransactionSelector.getDefaultInstance()) {
           getTransactionBuilder().mergeFrom(value);
         } else {
           transaction_ = value;
@@ -2687,6 +2906,8 @@ public Builder mergeTransaction(com.google.spanner.v1.TransactionSelector value)
       return this;
     }
     /**
+     *
+     *
      * 
      * The transaction to use.
      * For queries, if none is provided, the default is a temporary read-only
@@ -2710,6 +2931,8 @@ public Builder clearTransaction() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The transaction to use.
      * For queries, if none is provided, the default is a temporary read-only
@@ -2728,6 +2951,8 @@ public com.google.spanner.v1.TransactionSelector.Builder getTransactionBuilder()
       return getTransactionFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The transaction to use.
      * For queries, if none is provided, the default is a temporary read-only
@@ -2744,11 +2969,14 @@ public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilde
       if (transactionBuilder_ != null) {
         return transactionBuilder_.getMessageOrBuilder();
       } else {
-        return transaction_ == null ?
-            com.google.spanner.v1.TransactionSelector.getDefaultInstance() : transaction_;
+        return transaction_ == null
+            ? com.google.spanner.v1.TransactionSelector.getDefaultInstance()
+            : transaction_;
       }
     }
     /**
+     *
+     *
      * 
      * The transaction to use.
      * For queries, if none is provided, the default is a temporary read-only
@@ -2762,14 +2990,17 @@ public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilde
      * .google.spanner.v1.TransactionSelector transaction = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.spanner.v1.TransactionSelector, com.google.spanner.v1.TransactionSelector.Builder, com.google.spanner.v1.TransactionSelectorOrBuilder> 
+            com.google.spanner.v1.TransactionSelector,
+            com.google.spanner.v1.TransactionSelector.Builder,
+            com.google.spanner.v1.TransactionSelectorOrBuilder>
         getTransactionFieldBuilder() {
       if (transactionBuilder_ == null) {
-        transactionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.TransactionSelector, com.google.spanner.v1.TransactionSelector.Builder, com.google.spanner.v1.TransactionSelectorOrBuilder>(
-                getTransaction(),
-                getParentForChildren(),
-                isClean());
+        transactionBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.spanner.v1.TransactionSelector,
+                com.google.spanner.v1.TransactionSelector.Builder,
+                com.google.spanner.v1.TransactionSelectorOrBuilder>(
+                getTransaction(), getParentForChildren(), isClean());
         transaction_ = null;
       }
       return transactionBuilder_;
@@ -2777,18 +3008,20 @@ public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilde
 
     private java.lang.Object sql_ = "";
     /**
+     *
+     *
      * 
      * Required. The SQL string.
      * 
* * string sql = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The sql. */ public java.lang.String getSql() { java.lang.Object ref = sql_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sql_ = s; return s; @@ -2797,20 +3030,21 @@ public java.lang.String getSql() { } } /** + * + * *
      * Required. The SQL string.
      * 
* * string sql = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for sql. */ - public com.google.protobuf.ByteString - getSqlBytes() { + public com.google.protobuf.ByteString getSqlBytes() { java.lang.Object ref = sql_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sql_ = b; return b; } else { @@ -2818,28 +3052,35 @@ public java.lang.String getSql() { } } /** + * + * *
      * Required. The SQL string.
      * 
* * string sql = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The sql to set. * @return This builder for chaining. */ - public Builder setSql( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSql(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } sql_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Required. The SQL string.
      * 
* * string sql = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearSql() { @@ -2849,17 +3090,21 @@ public Builder clearSql() { return this; } /** + * + * *
      * Required. The SQL string.
      * 
* * string sql = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for sql to set. * @return This builder for chaining. */ - public Builder setSqlBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSqlBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); sql_ = value; bitField0_ |= 0x00000004; @@ -2869,8 +3114,13 @@ public Builder setSqlBytes( private com.google.protobuf.Struct params_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> paramsBuilder_; + com.google.protobuf.Struct, + com.google.protobuf.Struct.Builder, + com.google.protobuf.StructOrBuilder> + paramsBuilder_; /** + * + * *
      * Parameter names and values that bind to placeholders in the SQL string.
      * A parameter placeholder consists of the `@` character followed by the
@@ -2884,12 +3134,15 @@ public Builder setSqlBytes(
      * 
* * .google.protobuf.Struct params = 4; + * * @return Whether the params field is set. */ public boolean hasParams() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Parameter names and values that bind to placeholders in the SQL string.
      * A parameter placeholder consists of the `@` character followed by the
@@ -2903,6 +3156,7 @@ public boolean hasParams() {
      * 
* * .google.protobuf.Struct params = 4; + * * @return The params. */ public com.google.protobuf.Struct getParams() { @@ -2913,6 +3167,8 @@ public com.google.protobuf.Struct getParams() { } } /** + * + * *
      * Parameter names and values that bind to placeholders in the SQL string.
      * A parameter placeholder consists of the `@` character followed by the
@@ -2941,6 +3197,8 @@ public Builder setParams(com.google.protobuf.Struct value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Parameter names and values that bind to placeholders in the SQL string.
      * A parameter placeholder consists of the `@` character followed by the
@@ -2955,8 +3213,7 @@ public Builder setParams(com.google.protobuf.Struct value) {
      *
      * .google.protobuf.Struct params = 4;
      */
-    public Builder setParams(
-        com.google.protobuf.Struct.Builder builderForValue) {
+    public Builder setParams(com.google.protobuf.Struct.Builder builderForValue) {
       if (paramsBuilder_ == null) {
         params_ = builderForValue.build();
       } else {
@@ -2967,6 +3224,8 @@ public Builder setParams(
       return this;
     }
     /**
+     *
+     *
      * 
      * Parameter names and values that bind to placeholders in the SQL string.
      * A parameter placeholder consists of the `@` character followed by the
@@ -2983,9 +3242,9 @@ public Builder setParams(
      */
     public Builder mergeParams(com.google.protobuf.Struct value) {
       if (paramsBuilder_ == null) {
-        if (((bitField0_ & 0x00000008) != 0) &&
-          params_ != null &&
-          params_ != com.google.protobuf.Struct.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0)
+            && params_ != null
+            && params_ != com.google.protobuf.Struct.getDefaultInstance()) {
           getParamsBuilder().mergeFrom(value);
         } else {
           params_ = value;
@@ -2998,6 +3257,8 @@ public Builder mergeParams(com.google.protobuf.Struct value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Parameter names and values that bind to placeholders in the SQL string.
      * A parameter placeholder consists of the `@` character followed by the
@@ -3023,6 +3284,8 @@ public Builder clearParams() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Parameter names and values that bind to placeholders in the SQL string.
      * A parameter placeholder consists of the `@` character followed by the
@@ -3043,6 +3306,8 @@ public com.google.protobuf.Struct.Builder getParamsBuilder() {
       return getParamsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Parameter names and values that bind to placeholders in the SQL string.
      * A parameter placeholder consists of the `@` character followed by the
@@ -3061,11 +3326,12 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
       if (paramsBuilder_ != null) {
         return paramsBuilder_.getMessageOrBuilder();
       } else {
-        return params_ == null ?
-            com.google.protobuf.Struct.getDefaultInstance() : params_;
+        return params_ == null ? com.google.protobuf.Struct.getDefaultInstance() : params_;
       }
     }
     /**
+     *
+     *
      * 
      * Parameter names and values that bind to placeholders in the SQL string.
      * A parameter placeholder consists of the `@` character followed by the
@@ -3081,21 +3347,24 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
      * .google.protobuf.Struct params = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> 
+            com.google.protobuf.Struct,
+            com.google.protobuf.Struct.Builder,
+            com.google.protobuf.StructOrBuilder>
         getParamsFieldBuilder() {
       if (paramsBuilder_ == null) {
-        paramsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>(
-                getParams(),
-                getParentForChildren(),
-                isClean());
+        paramsBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Struct,
+                com.google.protobuf.Struct.Builder,
+                com.google.protobuf.StructOrBuilder>(
+                getParams(), getParentForChildren(), isClean());
         params_ = null;
       }
       return paramsBuilder_;
     }
 
-    private com.google.protobuf.MapField<
-        java.lang.String, com.google.spanner.v1.Type> paramTypes_;
+    private com.google.protobuf.MapField paramTypes_;
+
     private com.google.protobuf.MapField
         internalGetParamTypes() {
       if (paramTypes_ == null) {
@@ -3104,11 +3373,12 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
       }
       return paramTypes_;
     }
+
     private com.google.protobuf.MapField
         internalGetMutableParamTypes() {
       if (paramTypes_ == null) {
-        paramTypes_ = com.google.protobuf.MapField.newMapField(
-            ParamTypesDefaultEntryHolder.defaultEntry);
+        paramTypes_ =
+            com.google.protobuf.MapField.newMapField(ParamTypesDefaultEntryHolder.defaultEntry);
       }
       if (!paramTypes_.isMutable()) {
         paramTypes_ = paramTypes_.copy();
@@ -3117,10 +3387,13 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
       onChanged();
       return paramTypes_;
     }
+
     public int getParamTypesCount() {
       return internalGetParamTypes().getMap().size();
     }
     /**
+     *
+     *
      * 
      * It is not always possible for Cloud Spanner to infer the right SQL type
      * from a JSON value.  For example, values of type `BYTES` and values
@@ -3134,20 +3407,21 @@ public int getParamTypesCount() {
      * map<string, .google.spanner.v1.Type> param_types = 5;
      */
     @java.lang.Override
-    public boolean containsParamTypes(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsParamTypes(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetParamTypes().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getParamTypesMap()} instead.
-     */
+    /** Use {@link #getParamTypesMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getParamTypes() {
       return getParamTypesMap();
     }
     /**
+     *
+     *
      * 
      * It is not always possible for Cloud Spanner to infer the right SQL type
      * from a JSON value.  For example, values of type `BYTES` and values
@@ -3165,6 +3439,8 @@ public java.util.Map getParamTypes
       return internalGetParamTypes().getMap();
     }
     /**
+     *
+     *
      * 
      * It is not always possible for Cloud Spanner to infer the right SQL type
      * from a JSON value.  For example, values of type `BYTES` and values
@@ -3178,17 +3454,20 @@ public java.util.Map getParamTypes
      * map<string, .google.spanner.v1.Type> param_types = 5;
      */
     @java.lang.Override
-    public /* nullable */
-com.google.spanner.v1.Type getParamTypesOrDefault(
+    public /* nullable */ com.google.spanner.v1.Type getParamTypesOrDefault(
         java.lang.String key,
         /* nullable */
-com.google.spanner.v1.Type defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
+        com.google.spanner.v1.Type defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       java.util.Map map =
           internalGetParamTypes().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * It is not always possible for Cloud Spanner to infer the right SQL type
      * from a JSON value.  For example, values of type `BYTES` and values
@@ -3202,9 +3481,10 @@ com.google.spanner.v1.Type getParamTypesOrDefault(
      * map<string, .google.spanner.v1.Type> param_types = 5;
      */
     @java.lang.Override
-    public com.google.spanner.v1.Type getParamTypesOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public com.google.spanner.v1.Type getParamTypesOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       java.util.Map map =
           internalGetParamTypes().getMap();
       if (!map.containsKey(key)) {
@@ -3212,13 +3492,15 @@ public com.google.spanner.v1.Type getParamTypesOrThrow(
       }
       return map.get(key);
     }
+
     public Builder clearParamTypes() {
       bitField0_ = (bitField0_ & ~0x00000010);
-      internalGetMutableParamTypes().getMutableMap()
-          .clear();
+      internalGetMutableParamTypes().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * It is not always possible for Cloud Spanner to infer the right SQL type
      * from a JSON value.  For example, values of type `BYTES` and values
@@ -3231,23 +3513,22 @@ public Builder clearParamTypes() {
      *
      * map<string, .google.spanner.v1.Type> param_types = 5;
      */
-    public Builder removeParamTypes(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableParamTypes().getMutableMap()
-          .remove(key);
+    public Builder removeParamTypes(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableParamTypes().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-        getMutableParamTypes() {
+    public java.util.Map getMutableParamTypes() {
       bitField0_ |= 0x00000010;
       return internalGetMutableParamTypes().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * It is not always possible for Cloud Spanner to infer the right SQL type
      * from a JSON value.  For example, values of type `BYTES` and values
@@ -3260,17 +3541,20 @@ public Builder removeParamTypes(
      *
      * map<string, .google.spanner.v1.Type> param_types = 5;
      */
-    public Builder putParamTypes(
-        java.lang.String key,
-        com.google.spanner.v1.Type value) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      if (value == null) { throw new NullPointerException("map value"); }
-      internalGetMutableParamTypes().getMutableMap()
-          .put(key, value);
+    public Builder putParamTypes(java.lang.String key, com.google.spanner.v1.Type value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      if (value == null) {
+        throw new NullPointerException("map value");
+      }
+      internalGetMutableParamTypes().getMutableMap().put(key, value);
       bitField0_ |= 0x00000010;
       return this;
     }
     /**
+     *
+     *
      * 
      * It is not always possible for Cloud Spanner to infer the right SQL type
      * from a JSON value.  For example, values of type `BYTES` and values
@@ -3285,14 +3569,15 @@ public Builder putParamTypes(
      */
     public Builder putAllParamTypes(
         java.util.Map values) {
-      internalGetMutableParamTypes().getMutableMap()
-          .putAll(values);
+      internalGetMutableParamTypes().getMutableMap().putAll(values);
       bitField0_ |= 0x00000010;
       return this;
     }
 
     private com.google.protobuf.ByteString resumeToken_ = com.google.protobuf.ByteString.EMPTY;
     /**
+     *
+     *
      * 
      * If this request is resuming a previously interrupted SQL statement
      * execution, `resume_token` should be copied from the last
@@ -3303,6 +3588,7 @@ public Builder putAllParamTypes(
      * 
* * bytes resume_token = 6; + * * @return The resumeToken. */ @java.lang.Override @@ -3310,6 +3596,8 @@ public com.google.protobuf.ByteString getResumeToken() { return resumeToken_; } /** + * + * *
      * If this request is resuming a previously interrupted SQL statement
      * execution, `resume_token` should be copied from the last
@@ -3320,17 +3608,22 @@ public com.google.protobuf.ByteString getResumeToken() {
      * 
* * bytes resume_token = 6; + * * @param value The resumeToken to set. * @return This builder for chaining. */ public Builder setResumeToken(com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + if (value == null) { + throw new NullPointerException(); + } resumeToken_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * If this request is resuming a previously interrupted SQL statement
      * execution, `resume_token` should be copied from the last
@@ -3341,6 +3634,7 @@ public Builder setResumeToken(com.google.protobuf.ByteString value) {
      * 
* * bytes resume_token = 6; + * * @return This builder for chaining. */ public Builder clearResumeToken() { @@ -3352,6 +3646,8 @@ public Builder clearResumeToken() { private int queryMode_ = 0; /** + * + * *
      * Used to control the amount of debugging information returned in
      * [ResultSetStats][google.spanner.v1.ResultSetStats]. If [partition_token][google.spanner.v1.ExecuteSqlRequest.partition_token] is set, [query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode] can only
@@ -3359,12 +3655,16 @@ public Builder clearResumeToken() {
      * 
* * .google.spanner.v1.ExecuteSqlRequest.QueryMode query_mode = 7; + * * @return The enum numeric value on the wire for queryMode. */ - @java.lang.Override public int getQueryModeValue() { + @java.lang.Override + public int getQueryModeValue() { return queryMode_; } /** + * + * *
      * Used to control the amount of debugging information returned in
      * [ResultSetStats][google.spanner.v1.ResultSetStats]. If [partition_token][google.spanner.v1.ExecuteSqlRequest.partition_token] is set, [query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode] can only
@@ -3372,6 +3672,7 @@ public Builder clearResumeToken() {
      * 
* * .google.spanner.v1.ExecuteSqlRequest.QueryMode query_mode = 7; + * * @param value The enum numeric value on the wire for queryMode to set. * @return This builder for chaining. */ @@ -3382,6 +3683,8 @@ public Builder setQueryModeValue(int value) { return this; } /** + * + * *
      * Used to control the amount of debugging information returned in
      * [ResultSetStats][google.spanner.v1.ResultSetStats]. If [partition_token][google.spanner.v1.ExecuteSqlRequest.partition_token] is set, [query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode] can only
@@ -3389,14 +3692,20 @@ public Builder setQueryModeValue(int value) {
      * 
* * .google.spanner.v1.ExecuteSqlRequest.QueryMode query_mode = 7; + * * @return The queryMode. */ @java.lang.Override public com.google.spanner.v1.ExecuteSqlRequest.QueryMode getQueryMode() { - com.google.spanner.v1.ExecuteSqlRequest.QueryMode result = com.google.spanner.v1.ExecuteSqlRequest.QueryMode.forNumber(queryMode_); - return result == null ? com.google.spanner.v1.ExecuteSqlRequest.QueryMode.UNRECOGNIZED : result; + com.google.spanner.v1.ExecuteSqlRequest.QueryMode result = + com.google.spanner.v1.ExecuteSqlRequest.QueryMode.forNumber(queryMode_); + return result == null + ? com.google.spanner.v1.ExecuteSqlRequest.QueryMode.UNRECOGNIZED + : result; } /** + * + * *
      * Used to control the amount of debugging information returned in
      * [ResultSetStats][google.spanner.v1.ResultSetStats]. If [partition_token][google.spanner.v1.ExecuteSqlRequest.partition_token] is set, [query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode] can only
@@ -3404,6 +3713,7 @@ public com.google.spanner.v1.ExecuteSqlRequest.QueryMode getQueryMode() {
      * 
* * .google.spanner.v1.ExecuteSqlRequest.QueryMode query_mode = 7; + * * @param value The queryMode to set. * @return This builder for chaining. */ @@ -3417,6 +3727,8 @@ public Builder setQueryMode(com.google.spanner.v1.ExecuteSqlRequest.QueryMode va return this; } /** + * + * *
      * Used to control the amount of debugging information returned in
      * [ResultSetStats][google.spanner.v1.ResultSetStats]. If [partition_token][google.spanner.v1.ExecuteSqlRequest.partition_token] is set, [query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode] can only
@@ -3424,6 +3736,7 @@ public Builder setQueryMode(com.google.spanner.v1.ExecuteSqlRequest.QueryMode va
      * 
* * .google.spanner.v1.ExecuteSqlRequest.QueryMode query_mode = 7; + * * @return This builder for chaining. */ public Builder clearQueryMode() { @@ -3435,6 +3748,8 @@ public Builder clearQueryMode() { private com.google.protobuf.ByteString partitionToken_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
      * If present, results will be restricted to the specified partition
      * previously created using PartitionQuery().  There must be an exact
@@ -3443,6 +3758,7 @@ public Builder clearQueryMode() {
      * 
* * bytes partition_token = 8; + * * @return The partitionToken. */ @java.lang.Override @@ -3450,6 +3766,8 @@ public com.google.protobuf.ByteString getPartitionToken() { return partitionToken_; } /** + * + * *
      * If present, results will be restricted to the specified partition
      * previously created using PartitionQuery().  There must be an exact
@@ -3458,17 +3776,22 @@ public com.google.protobuf.ByteString getPartitionToken() {
      * 
* * bytes partition_token = 8; + * * @param value The partitionToken to set. * @return This builder for chaining. */ public Builder setPartitionToken(com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + if (value == null) { + throw new NullPointerException(); + } partitionToken_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** + * + * *
      * If present, results will be restricted to the specified partition
      * previously created using PartitionQuery().  There must be an exact
@@ -3477,6 +3800,7 @@ public Builder setPartitionToken(com.google.protobuf.ByteString value) {
      * 
* * bytes partition_token = 8; + * * @return This builder for chaining. */ public Builder clearPartitionToken() { @@ -3486,8 +3810,10 @@ public Builder clearPartitionToken() { return this; } - private long seqno_ ; + private long seqno_; /** + * + * *
      * A per-transaction sequence number used to identify this request. This field
      * makes each request idempotent such that if the request is received multiple
@@ -3500,6 +3826,7 @@ public Builder clearPartitionToken() {
      * 
* * int64 seqno = 9; + * * @return The seqno. */ @java.lang.Override @@ -3507,6 +3834,8 @@ public long getSeqno() { return seqno_; } /** + * + * *
      * A per-transaction sequence number used to identify this request. This field
      * makes each request idempotent such that if the request is received multiple
@@ -3519,17 +3848,20 @@ public long getSeqno() {
      * 
* * int64 seqno = 9; + * * @param value The seqno to set. * @return This builder for chaining. */ public Builder setSeqno(long value) { - + seqno_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** + * + * *
      * A per-transaction sequence number used to identify this request. This field
      * makes each request idempotent such that if the request is received multiple
@@ -3542,6 +3874,7 @@ public Builder setSeqno(long value) {
      * 
* * int64 seqno = 9; + * * @return This builder for chaining. */ public Builder clearSeqno() { @@ -3553,34 +3886,47 @@ public Builder clearSeqno() { private com.google.spanner.v1.ExecuteSqlRequest.QueryOptions queryOptions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.ExecuteSqlRequest.QueryOptions, com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.Builder, com.google.spanner.v1.ExecuteSqlRequest.QueryOptionsOrBuilder> queryOptionsBuilder_; + com.google.spanner.v1.ExecuteSqlRequest.QueryOptions, + com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.Builder, + com.google.spanner.v1.ExecuteSqlRequest.QueryOptionsOrBuilder> + queryOptionsBuilder_; /** + * + * *
      * Query optimizer configuration to use for the given query.
      * 
* * .google.spanner.v1.ExecuteSqlRequest.QueryOptions query_options = 10; + * * @return Whether the queryOptions field is set. */ public boolean hasQueryOptions() { return ((bitField0_ & 0x00000200) != 0); } /** + * + * *
      * Query optimizer configuration to use for the given query.
      * 
* * .google.spanner.v1.ExecuteSqlRequest.QueryOptions query_options = 10; + * * @return The queryOptions. */ public com.google.spanner.v1.ExecuteSqlRequest.QueryOptions getQueryOptions() { if (queryOptionsBuilder_ == null) { - return queryOptions_ == null ? com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.getDefaultInstance() : queryOptions_; + return queryOptions_ == null + ? com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.getDefaultInstance() + : queryOptions_; } else { return queryOptionsBuilder_.getMessage(); } } /** + * + * *
      * Query optimizer configuration to use for the given query.
      * 
@@ -3601,6 +3947,8 @@ public Builder setQueryOptions(com.google.spanner.v1.ExecuteSqlRequest.QueryOpti return this; } /** + * + * *
      * Query optimizer configuration to use for the given query.
      * 
@@ -3619,6 +3967,8 @@ public Builder setQueryOptions( return this; } /** + * + * *
      * Query optimizer configuration to use for the given query.
      * 
@@ -3627,9 +3977,10 @@ public Builder setQueryOptions( */ public Builder mergeQueryOptions(com.google.spanner.v1.ExecuteSqlRequest.QueryOptions value) { if (queryOptionsBuilder_ == null) { - if (((bitField0_ & 0x00000200) != 0) && - queryOptions_ != null && - queryOptions_ != com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.getDefaultInstance()) { + if (((bitField0_ & 0x00000200) != 0) + && queryOptions_ != null + && queryOptions_ + != com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.getDefaultInstance()) { getQueryOptionsBuilder().mergeFrom(value); } else { queryOptions_ = value; @@ -3642,6 +3993,8 @@ public Builder mergeQueryOptions(com.google.spanner.v1.ExecuteSqlRequest.QueryOp return this; } /** + * + * *
      * Query optimizer configuration to use for the given query.
      * 
@@ -3659,6 +4012,8 @@ public Builder clearQueryOptions() { return this; } /** + * + * *
      * Query optimizer configuration to use for the given query.
      * 
@@ -3671,21 +4026,27 @@ public com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.Builder getQueryOpti return getQueryOptionsFieldBuilder().getBuilder(); } /** + * + * *
      * Query optimizer configuration to use for the given query.
      * 
* * .google.spanner.v1.ExecuteSqlRequest.QueryOptions query_options = 10; */ - public com.google.spanner.v1.ExecuteSqlRequest.QueryOptionsOrBuilder getQueryOptionsOrBuilder() { + public com.google.spanner.v1.ExecuteSqlRequest.QueryOptionsOrBuilder + getQueryOptionsOrBuilder() { if (queryOptionsBuilder_ != null) { return queryOptionsBuilder_.getMessageOrBuilder(); } else { - return queryOptions_ == null ? - com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.getDefaultInstance() : queryOptions_; + return queryOptions_ == null + ? com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.getDefaultInstance() + : queryOptions_; } } /** + * + * *
      * Query optimizer configuration to use for the given query.
      * 
@@ -3693,14 +4054,17 @@ public com.google.spanner.v1.ExecuteSqlRequest.QueryOptionsOrBuilder getQueryOpt * .google.spanner.v1.ExecuteSqlRequest.QueryOptions query_options = 10; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.ExecuteSqlRequest.QueryOptions, com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.Builder, com.google.spanner.v1.ExecuteSqlRequest.QueryOptionsOrBuilder> + com.google.spanner.v1.ExecuteSqlRequest.QueryOptions, + com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.Builder, + com.google.spanner.v1.ExecuteSqlRequest.QueryOptionsOrBuilder> getQueryOptionsFieldBuilder() { if (queryOptionsBuilder_ == null) { - queryOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.ExecuteSqlRequest.QueryOptions, com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.Builder, com.google.spanner.v1.ExecuteSqlRequest.QueryOptionsOrBuilder>( - getQueryOptions(), - getParentForChildren(), - isClean()); + queryOptionsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.v1.ExecuteSqlRequest.QueryOptions, + com.google.spanner.v1.ExecuteSqlRequest.QueryOptions.Builder, + com.google.spanner.v1.ExecuteSqlRequest.QueryOptionsOrBuilder>( + getQueryOptions(), getParentForChildren(), isClean()); queryOptions_ = null; } return queryOptionsBuilder_; @@ -3708,34 +4072,47 @@ public com.google.spanner.v1.ExecuteSqlRequest.QueryOptionsOrBuilder getQueryOpt private com.google.spanner.v1.RequestOptions requestOptions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.RequestOptions, com.google.spanner.v1.RequestOptions.Builder, com.google.spanner.v1.RequestOptionsOrBuilder> requestOptionsBuilder_; + com.google.spanner.v1.RequestOptions, + com.google.spanner.v1.RequestOptions.Builder, + com.google.spanner.v1.RequestOptionsOrBuilder> + requestOptionsBuilder_; /** + * + * *
      * Common options for this request.
      * 
* * .google.spanner.v1.RequestOptions request_options = 11; + * * @return Whether the requestOptions field is set. */ public boolean hasRequestOptions() { return ((bitField0_ & 0x00000400) != 0); } /** + * + * *
      * Common options for this request.
      * 
* * .google.spanner.v1.RequestOptions request_options = 11; + * * @return The requestOptions. */ public com.google.spanner.v1.RequestOptions getRequestOptions() { if (requestOptionsBuilder_ == null) { - return requestOptions_ == null ? com.google.spanner.v1.RequestOptions.getDefaultInstance() : requestOptions_; + return requestOptions_ == null + ? com.google.spanner.v1.RequestOptions.getDefaultInstance() + : requestOptions_; } else { return requestOptionsBuilder_.getMessage(); } } /** + * + * *
      * Common options for this request.
      * 
@@ -3756,14 +4133,15 @@ public Builder setRequestOptions(com.google.spanner.v1.RequestOptions value) { return this; } /** + * + * *
      * Common options for this request.
      * 
* * .google.spanner.v1.RequestOptions request_options = 11; */ - public Builder setRequestOptions( - com.google.spanner.v1.RequestOptions.Builder builderForValue) { + public Builder setRequestOptions(com.google.spanner.v1.RequestOptions.Builder builderForValue) { if (requestOptionsBuilder_ == null) { requestOptions_ = builderForValue.build(); } else { @@ -3774,6 +4152,8 @@ public Builder setRequestOptions( return this; } /** + * + * *
      * Common options for this request.
      * 
@@ -3782,9 +4162,9 @@ public Builder setRequestOptions( */ public Builder mergeRequestOptions(com.google.spanner.v1.RequestOptions value) { if (requestOptionsBuilder_ == null) { - if (((bitField0_ & 0x00000400) != 0) && - requestOptions_ != null && - requestOptions_ != com.google.spanner.v1.RequestOptions.getDefaultInstance()) { + if (((bitField0_ & 0x00000400) != 0) + && requestOptions_ != null + && requestOptions_ != com.google.spanner.v1.RequestOptions.getDefaultInstance()) { getRequestOptionsBuilder().mergeFrom(value); } else { requestOptions_ = value; @@ -3797,6 +4177,8 @@ public Builder mergeRequestOptions(com.google.spanner.v1.RequestOptions value) { return this; } /** + * + * *
      * Common options for this request.
      * 
@@ -3814,6 +4196,8 @@ public Builder clearRequestOptions() { return this; } /** + * + * *
      * Common options for this request.
      * 
@@ -3826,6 +4210,8 @@ public com.google.spanner.v1.RequestOptions.Builder getRequestOptionsBuilder() { return getRequestOptionsFieldBuilder().getBuilder(); } /** + * + * *
      * Common options for this request.
      * 
@@ -3836,11 +4222,14 @@ public com.google.spanner.v1.RequestOptionsOrBuilder getRequestOptionsOrBuilder( if (requestOptionsBuilder_ != null) { return requestOptionsBuilder_.getMessageOrBuilder(); } else { - return requestOptions_ == null ? - com.google.spanner.v1.RequestOptions.getDefaultInstance() : requestOptions_; + return requestOptions_ == null + ? com.google.spanner.v1.RequestOptions.getDefaultInstance() + : requestOptions_; } } /** + * + * *
      * Common options for this request.
      * 
@@ -3848,21 +4237,26 @@ public com.google.spanner.v1.RequestOptionsOrBuilder getRequestOptionsOrBuilder( * .google.spanner.v1.RequestOptions request_options = 11; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.RequestOptions, com.google.spanner.v1.RequestOptions.Builder, com.google.spanner.v1.RequestOptionsOrBuilder> + com.google.spanner.v1.RequestOptions, + com.google.spanner.v1.RequestOptions.Builder, + com.google.spanner.v1.RequestOptionsOrBuilder> getRequestOptionsFieldBuilder() { if (requestOptionsBuilder_ == null) { - requestOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.RequestOptions, com.google.spanner.v1.RequestOptions.Builder, com.google.spanner.v1.RequestOptionsOrBuilder>( - getRequestOptions(), - getParentForChildren(), - isClean()); + requestOptionsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.v1.RequestOptions, + com.google.spanner.v1.RequestOptions.Builder, + com.google.spanner.v1.RequestOptionsOrBuilder>( + getRequestOptions(), getParentForChildren(), isClean()); requestOptions_ = null; } return requestOptionsBuilder_; } - private boolean dataBoostEnabled_ ; + private boolean dataBoostEnabled_; /** + * + * *
      * If this is for a partitioned query and this field is set to `true`, the
      * request will be executed via Spanner independent compute resources.
@@ -3871,6 +4265,7 @@ public com.google.spanner.v1.RequestOptionsOrBuilder getRequestOptionsOrBuilder(
      * 
* * bool data_boost_enabled = 16; + * * @return The dataBoostEnabled. */ @java.lang.Override @@ -3878,6 +4273,8 @@ public boolean getDataBoostEnabled() { return dataBoostEnabled_; } /** + * + * *
      * If this is for a partitioned query and this field is set to `true`, the
      * request will be executed via Spanner independent compute resources.
@@ -3886,17 +4283,20 @@ public boolean getDataBoostEnabled() {
      * 
* * bool data_boost_enabled = 16; + * * @param value The dataBoostEnabled to set. * @return This builder for chaining. */ public Builder setDataBoostEnabled(boolean value) { - + dataBoostEnabled_ = value; bitField0_ |= 0x00000800; onChanged(); return this; } /** + * + * *
      * If this is for a partitioned query and this field is set to `true`, the
      * request will be executed via Spanner independent compute resources.
@@ -3905,6 +4305,7 @@ public Builder setDataBoostEnabled(boolean value) {
      * 
* * bool data_boost_enabled = 16; + * * @return This builder for chaining. */ public Builder clearDataBoostEnabled() { @@ -3913,9 +4314,9 @@ public Builder clearDataBoostEnabled() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3925,12 +4326,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.v1.ExecuteSqlRequest) } // @@protoc_insertion_point(class_scope:google.spanner.v1.ExecuteSqlRequest) private static final com.google.spanner.v1.ExecuteSqlRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.v1.ExecuteSqlRequest(); } @@ -3939,27 +4340,27 @@ public static com.google.spanner.v1.ExecuteSqlRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExecuteSqlRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExecuteSqlRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3974,6 +4375,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.ExecuteSqlRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteSqlRequestOrBuilder.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteSqlRequestOrBuilder.java similarity index 88% rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteSqlRequestOrBuilder.java rename to proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteSqlRequestOrBuilder.java index 9d92a30a3d1..832c2f3c503 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteSqlRequestOrBuilder.java +++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteSqlRequestOrBuilder.java @@ -1,33 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/spanner.proto package com.google.spanner.v1; -public interface ExecuteSqlRequestOrBuilder extends +public interface ExecuteSqlRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.ExecuteSqlRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The session in which the SQL query should be performed.
    * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The session. */ java.lang.String getSession(); /** + * + * *
    * Required. The session in which the SQL query should be performed.
    * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for session. */ - com.google.protobuf.ByteString - getSessionBytes(); + com.google.protobuf.ByteString getSessionBytes(); /** + * + * *
    * The transaction to use.
    * For queries, if none is provided, the default is a temporary read-only
@@ -39,10 +66,13 @@ public interface ExecuteSqlRequestOrBuilder extends
    * 
* * .google.spanner.v1.TransactionSelector transaction = 2; + * * @return Whether the transaction field is set. */ boolean hasTransaction(); /** + * + * *
    * The transaction to use.
    * For queries, if none is provided, the default is a temporary read-only
@@ -54,10 +84,13 @@ public interface ExecuteSqlRequestOrBuilder extends
    * 
* * .google.spanner.v1.TransactionSelector transaction = 2; + * * @return The transaction. */ com.google.spanner.v1.TransactionSelector getTransaction(); /** + * + * *
    * The transaction to use.
    * For queries, if none is provided, the default is a temporary read-only
@@ -73,26 +106,33 @@ public interface ExecuteSqlRequestOrBuilder extends
   com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilder();
 
   /**
+   *
+   *
    * 
    * Required. The SQL string.
    * 
* * string sql = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The sql. */ java.lang.String getSql(); /** + * + * *
    * Required. The SQL string.
    * 
* * string sql = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for sql. */ - com.google.protobuf.ByteString - getSqlBytes(); + com.google.protobuf.ByteString getSqlBytes(); /** + * + * *
    * Parameter names and values that bind to placeholders in the SQL string.
    * A parameter placeholder consists of the `@` character followed by the
@@ -106,10 +146,13 @@ public interface ExecuteSqlRequestOrBuilder extends
    * 
* * .google.protobuf.Struct params = 4; + * * @return Whether the params field is set. */ boolean hasParams(); /** + * + * *
    * Parameter names and values that bind to placeholders in the SQL string.
    * A parameter placeholder consists of the `@` character followed by the
@@ -123,10 +166,13 @@ public interface ExecuteSqlRequestOrBuilder extends
    * 
* * .google.protobuf.Struct params = 4; + * * @return The params. */ com.google.protobuf.Struct getParams(); /** + * + * *
    * Parameter names and values that bind to placeholders in the SQL string.
    * A parameter placeholder consists of the `@` character followed by the
@@ -144,6 +190,8 @@ public interface ExecuteSqlRequestOrBuilder extends
   com.google.protobuf.StructOrBuilder getParamsOrBuilder();
 
   /**
+   *
+   *
    * 
    * It is not always possible for Cloud Spanner to infer the right SQL type
    * from a JSON value.  For example, values of type `BYTES` and values
@@ -158,6 +206,8 @@ public interface ExecuteSqlRequestOrBuilder extends
    */
   int getParamTypesCount();
   /**
+   *
+   *
    * 
    * It is not always possible for Cloud Spanner to infer the right SQL type
    * from a JSON value.  For example, values of type `BYTES` and values
@@ -170,15 +220,13 @@ public interface ExecuteSqlRequestOrBuilder extends
    *
    * map<string, .google.spanner.v1.Type> param_types = 5;
    */
-  boolean containsParamTypes(
-      java.lang.String key);
-  /**
-   * Use {@link #getParamTypesMap()} instead.
-   */
+  boolean containsParamTypes(java.lang.String key);
+  /** Use {@link #getParamTypesMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getParamTypes();
+  java.util.Map getParamTypes();
   /**
+   *
+   *
    * 
    * It is not always possible for Cloud Spanner to infer the right SQL type
    * from a JSON value.  For example, values of type `BYTES` and values
@@ -191,9 +239,10 @@ boolean containsParamTypes(
    *
    * map<string, .google.spanner.v1.Type> param_types = 5;
    */
-  java.util.Map
-  getParamTypesMap();
+  java.util.Map getParamTypesMap();
   /**
+   *
+   *
    * 
    * It is not always possible for Cloud Spanner to infer the right SQL type
    * from a JSON value.  For example, values of type `BYTES` and values
@@ -207,11 +256,13 @@ boolean containsParamTypes(
    * map<string, .google.spanner.v1.Type> param_types = 5;
    */
   /* nullable */
-com.google.spanner.v1.Type getParamTypesOrDefault(
+  com.google.spanner.v1.Type getParamTypesOrDefault(
       java.lang.String key,
       /* nullable */
-com.google.spanner.v1.Type defaultValue);
+      com.google.spanner.v1.Type defaultValue);
   /**
+   *
+   *
    * 
    * It is not always possible for Cloud Spanner to infer the right SQL type
    * from a JSON value.  For example, values of type `BYTES` and values
@@ -224,10 +275,11 @@ com.google.spanner.v1.Type getParamTypesOrDefault(
    *
    * map<string, .google.spanner.v1.Type> param_types = 5;
    */
-  com.google.spanner.v1.Type getParamTypesOrThrow(
-      java.lang.String key);
+  com.google.spanner.v1.Type getParamTypesOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * If this request is resuming a previously interrupted SQL statement
    * execution, `resume_token` should be copied from the last
@@ -238,11 +290,14 @@ com.google.spanner.v1.Type getParamTypesOrThrow(
    * 
* * bytes resume_token = 6; + * * @return The resumeToken. */ com.google.protobuf.ByteString getResumeToken(); /** + * + * *
    * Used to control the amount of debugging information returned in
    * [ResultSetStats][google.spanner.v1.ResultSetStats]. If [partition_token][google.spanner.v1.ExecuteSqlRequest.partition_token] is set, [query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode] can only
@@ -250,10 +305,13 @@ com.google.spanner.v1.Type getParamTypesOrThrow(
    * 
* * .google.spanner.v1.ExecuteSqlRequest.QueryMode query_mode = 7; + * * @return The enum numeric value on the wire for queryMode. */ int getQueryModeValue(); /** + * + * *
    * Used to control the amount of debugging information returned in
    * [ResultSetStats][google.spanner.v1.ResultSetStats]. If [partition_token][google.spanner.v1.ExecuteSqlRequest.partition_token] is set, [query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode] can only
@@ -261,11 +319,14 @@ com.google.spanner.v1.Type getParamTypesOrThrow(
    * 
* * .google.spanner.v1.ExecuteSqlRequest.QueryMode query_mode = 7; + * * @return The queryMode. */ com.google.spanner.v1.ExecuteSqlRequest.QueryMode getQueryMode(); /** + * + * *
    * If present, results will be restricted to the specified partition
    * previously created using PartitionQuery().  There must be an exact
@@ -274,11 +335,14 @@ com.google.spanner.v1.Type getParamTypesOrThrow(
    * 
* * bytes partition_token = 8; + * * @return The partitionToken. */ com.google.protobuf.ByteString getPartitionToken(); /** + * + * *
    * A per-transaction sequence number used to identify this request. This field
    * makes each request idempotent such that if the request is received multiple
@@ -291,29 +355,38 @@ com.google.spanner.v1.Type getParamTypesOrThrow(
    * 
* * int64 seqno = 9; + * * @return The seqno. */ long getSeqno(); /** + * + * *
    * Query optimizer configuration to use for the given query.
    * 
* * .google.spanner.v1.ExecuteSqlRequest.QueryOptions query_options = 10; + * * @return Whether the queryOptions field is set. */ boolean hasQueryOptions(); /** + * + * *
    * Query optimizer configuration to use for the given query.
    * 
* * .google.spanner.v1.ExecuteSqlRequest.QueryOptions query_options = 10; + * * @return The queryOptions. */ com.google.spanner.v1.ExecuteSqlRequest.QueryOptions getQueryOptions(); /** + * + * *
    * Query optimizer configuration to use for the given query.
    * 
@@ -323,24 +396,32 @@ com.google.spanner.v1.Type getParamTypesOrThrow( com.google.spanner.v1.ExecuteSqlRequest.QueryOptionsOrBuilder getQueryOptionsOrBuilder(); /** + * + * *
    * Common options for this request.
    * 
* * .google.spanner.v1.RequestOptions request_options = 11; + * * @return Whether the requestOptions field is set. */ boolean hasRequestOptions(); /** + * + * *
    * Common options for this request.
    * 
* * .google.spanner.v1.RequestOptions request_options = 11; + * * @return The requestOptions. */ com.google.spanner.v1.RequestOptions getRequestOptions(); /** + * + * *
    * Common options for this request.
    * 
@@ -350,6 +431,8 @@ com.google.spanner.v1.Type getParamTypesOrThrow( com.google.spanner.v1.RequestOptionsOrBuilder getRequestOptionsOrBuilder(); /** + * + * *
    * If this is for a partitioned query and this field is set to `true`, the
    * request will be executed via Spanner independent compute resources.
@@ -358,6 +441,7 @@ com.google.spanner.v1.Type getParamTypesOrThrow(
    * 
* * bool data_boost_enabled = 16; + * * @return The dataBoostEnabled. */ boolean getDataBoostEnabled(); diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/GetSessionRequest.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/GetSessionRequest.java similarity index 62% rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/GetSessionRequest.java rename to proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/GetSessionRequest.java index 4d86ee9b3f7..cef307ed07e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/GetSessionRequest.java +++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/GetSessionRequest.java @@ -1,62 +1,87 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/spanner.proto package com.google.spanner.v1; /** + * + * *
  * The request for [GetSession][google.spanner.v1.Spanner.GetSession].
  * 
* * Protobuf type {@code google.spanner.v1.GetSessionRequest} */ -public final class GetSessionRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetSessionRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.spanner.v1.GetSessionRequest) GetSessionRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetSessionRequest.newBuilder() to construct. private GetSessionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetSessionRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetSessionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_GetSessionRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_GetSessionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_GetSessionRequest_fieldAccessorTable + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_GetSessionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.GetSessionRequest.class, com.google.spanner.v1.GetSessionRequest.Builder.class); + com.google.spanner.v1.GetSessionRequest.class, + com.google.spanner.v1.GetSessionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the session to retrieve.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -65,29 +90,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 name of the session to retrieve.
    * 
* - * string name = 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,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.spanner.v1.GetSessionRequest)) { return super.equals(obj); } com.google.spanner.v1.GetSessionRequest other = (com.google.spanner.v1.GetSessionRequest) 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,130 +185,136 @@ public int hashCode() { return hash; } - public static com.google.spanner.v1.GetSessionRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.spanner.v1.GetSessionRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.GetSessionRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.v1.GetSessionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.GetSessionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.v1.GetSessionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.GetSessionRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.v1.GetSessionRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.v1.GetSessionRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.GetSessionRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.spanner.v1.GetSessionRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.spanner.v1.GetSessionRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.spanner.v1.GetSessionRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.v1.GetSessionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.spanner.v1.GetSessionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [GetSession][google.spanner.v1.Spanner.GetSession].
    * 
* * Protobuf type {@code google.spanner.v1.GetSessionRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.GetSessionRequest) com.google.spanner.v1.GetSessionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_GetSessionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_GetSessionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_GetSessionRequest_fieldAccessorTable + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_GetSessionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.GetSessionRequest.class, com.google.spanner.v1.GetSessionRequest.Builder.class); + com.google.spanner.v1.GetSessionRequest.class, + com.google.spanner.v1.GetSessionRequest.Builder.class); } // Construct using com.google.spanner.v1.GetSessionRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - 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 +324,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_GetSessionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_GetSessionRequest_descriptor; } @java.lang.Override @@ -313,8 +345,11 @@ public com.google.spanner.v1.GetSessionRequest build() { @java.lang.Override public com.google.spanner.v1.GetSessionRequest buildPartial() { - com.google.spanner.v1.GetSessionRequest result = new com.google.spanner.v1.GetSessionRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.spanner.v1.GetSessionRequest result = + new com.google.spanner.v1.GetSessionRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -330,38 +365,39 @@ private void buildPartial0(com.google.spanner.v1.GetSessionRequest 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.spanner.v1.GetSessionRequest) { - return mergeFrom((com.google.spanner.v1.GetSessionRequest)other); + return mergeFrom((com.google.spanner.v1.GetSessionRequest) other); } else { super.mergeFrom(other); return this; @@ -401,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) { @@ -421,22 +459,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the session to retrieve.
      * 
* - * string name = 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,20 +488,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the session to retrieve.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -466,28 +512,39 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the session to retrieve.
      * 
* - * 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 name of the session to retrieve.
      * 
* - * string 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() { @@ -497,26 +554,32 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the session to retrieve.
      * 
* - * 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); } @@ -526,12 +589,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.v1.GetSessionRequest) } // @@protoc_insertion_point(class_scope:google.spanner.v1.GetSessionRequest) private static final com.google.spanner.v1.GetSessionRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.v1.GetSessionRequest(); } @@ -540,27 +603,27 @@ public static com.google.spanner.v1.GetSessionRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetSessionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetSessionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -575,6 +638,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.GetSessionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/GetSessionRequestOrBuilder.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/GetSessionRequestOrBuilder.java new file mode 100644 index 00000000000..811caaed11a --- /dev/null +++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/GetSessionRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/spanner/v1/spanner.proto + +package com.google.spanner.v1; + +public interface GetSessionRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.spanner.v1.GetSessionRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the session to retrieve.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the session to retrieve.
+   * 
+ * + * + * 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/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeyRange.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeyRange.java similarity index 76% rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeyRange.java rename to proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeyRange.java index 552d67532be..2848ab4bdd3 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeyRange.java +++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeyRange.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/keys.proto package com.google.spanner.v1; /** + * + * *
  * KeyRange represents a range of rows in a table or index.
  * A range has a start key and an end key. These keys can be open or
@@ -70,52 +87,54 @@
  *
  * Protobuf type {@code google.spanner.v1.KeyRange}
  */
-public final class KeyRange extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class KeyRange extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.spanner.v1.KeyRange)
     KeyRangeOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use KeyRange.newBuilder() to construct.
   private KeyRange(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private KeyRange() {
-  }
+
+  private KeyRange() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new KeyRange();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.spanner.v1.KeysProto.internal_static_google_spanner_v1_KeyRange_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.v1.KeysProto.internal_static_google_spanner_v1_KeyRange_fieldAccessorTable
+    return com.google.spanner.v1.KeysProto
+        .internal_static_google_spanner_v1_KeyRange_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.spanner.v1.KeyRange.class, com.google.spanner.v1.KeyRange.Builder.class);
   }
 
   private int startKeyTypeCase_ = 0;
   private java.lang.Object startKeyType_;
+
   public enum StartKeyTypeCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     START_CLOSED(1),
     START_OPEN(2),
     STARTKEYTYPE_NOT_SET(0);
     private final int value;
+
     private StartKeyTypeCase(int value) {
       this.value = value;
     }
@@ -131,32 +150,38 @@ public static StartKeyTypeCase valueOf(int value) {
 
     public static StartKeyTypeCase forNumber(int value) {
       switch (value) {
-        case 1: return START_CLOSED;
-        case 2: return START_OPEN;
-        case 0: return STARTKEYTYPE_NOT_SET;
-        default: return null;
+        case 1:
+          return START_CLOSED;
+        case 2:
+          return START_OPEN;
+        case 0:
+          return STARTKEYTYPE_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public StartKeyTypeCase
-  getStartKeyTypeCase() {
-    return StartKeyTypeCase.forNumber(
-        startKeyTypeCase_);
+  public StartKeyTypeCase getStartKeyTypeCase() {
+    return StartKeyTypeCase.forNumber(startKeyTypeCase_);
   }
 
   private int endKeyTypeCase_ = 0;
   private java.lang.Object endKeyType_;
+
   public enum EndKeyTypeCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     END_CLOSED(3),
     END_OPEN(4),
     ENDKEYTYPE_NOT_SET(0);
     private final int value;
+
     private EndKeyTypeCase(int value) {
       this.value = value;
     }
@@ -172,31 +197,37 @@ public static EndKeyTypeCase valueOf(int value) {
 
     public static EndKeyTypeCase forNumber(int value) {
       switch (value) {
-        case 3: return END_CLOSED;
-        case 4: return END_OPEN;
-        case 0: return ENDKEYTYPE_NOT_SET;
-        default: return null;
+        case 3:
+          return END_CLOSED;
+        case 4:
+          return END_OPEN;
+        case 0:
+          return ENDKEYTYPE_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public EndKeyTypeCase
-  getEndKeyTypeCase() {
-    return EndKeyTypeCase.forNumber(
-        endKeyTypeCase_);
+  public EndKeyTypeCase getEndKeyTypeCase() {
+    return EndKeyTypeCase.forNumber(endKeyTypeCase_);
   }
 
   public static final int START_CLOSED_FIELD_NUMBER = 1;
   /**
+   *
+   *
    * 
    * If the start is closed, then the range includes all rows whose
    * first `len(start_closed)` key columns exactly match `start_closed`.
    * 
* * .google.protobuf.ListValue start_closed = 1; + * * @return Whether the startClosed field is set. */ @java.lang.Override @@ -204,22 +235,27 @@ public boolean hasStartClosed() { return startKeyTypeCase_ == 1; } /** + * + * *
    * If the start is closed, then the range includes all rows whose
    * first `len(start_closed)` key columns exactly match `start_closed`.
    * 
* * .google.protobuf.ListValue start_closed = 1; + * * @return The startClosed. */ @java.lang.Override public com.google.protobuf.ListValue getStartClosed() { if (startKeyTypeCase_ == 1) { - return (com.google.protobuf.ListValue) startKeyType_; + return (com.google.protobuf.ListValue) startKeyType_; } return com.google.protobuf.ListValue.getDefaultInstance(); } /** + * + * *
    * If the start is closed, then the range includes all rows whose
    * first `len(start_closed)` key columns exactly match `start_closed`.
@@ -230,19 +266,22 @@ public com.google.protobuf.ListValue getStartClosed() {
   @java.lang.Override
   public com.google.protobuf.ListValueOrBuilder getStartClosedOrBuilder() {
     if (startKeyTypeCase_ == 1) {
-       return (com.google.protobuf.ListValue) startKeyType_;
+      return (com.google.protobuf.ListValue) startKeyType_;
     }
     return com.google.protobuf.ListValue.getDefaultInstance();
   }
 
   public static final int START_OPEN_FIELD_NUMBER = 2;
   /**
+   *
+   *
    * 
    * If the start is open, then the range excludes rows whose first
    * `len(start_open)` key columns exactly match `start_open`.
    * 
* * .google.protobuf.ListValue start_open = 2; + * * @return Whether the startOpen field is set. */ @java.lang.Override @@ -250,22 +289,27 @@ public boolean hasStartOpen() { return startKeyTypeCase_ == 2; } /** + * + * *
    * If the start is open, then the range excludes rows whose first
    * `len(start_open)` key columns exactly match `start_open`.
    * 
* * .google.protobuf.ListValue start_open = 2; + * * @return The startOpen. */ @java.lang.Override public com.google.protobuf.ListValue getStartOpen() { if (startKeyTypeCase_ == 2) { - return (com.google.protobuf.ListValue) startKeyType_; + return (com.google.protobuf.ListValue) startKeyType_; } return com.google.protobuf.ListValue.getDefaultInstance(); } /** + * + * *
    * If the start is open, then the range excludes rows whose first
    * `len(start_open)` key columns exactly match `start_open`.
@@ -276,19 +320,22 @@ public com.google.protobuf.ListValue getStartOpen() {
   @java.lang.Override
   public com.google.protobuf.ListValueOrBuilder getStartOpenOrBuilder() {
     if (startKeyTypeCase_ == 2) {
-       return (com.google.protobuf.ListValue) startKeyType_;
+      return (com.google.protobuf.ListValue) startKeyType_;
     }
     return com.google.protobuf.ListValue.getDefaultInstance();
   }
 
   public static final int END_CLOSED_FIELD_NUMBER = 3;
   /**
+   *
+   *
    * 
    * If the end is closed, then the range includes all rows whose
    * first `len(end_closed)` key columns exactly match `end_closed`.
    * 
* * .google.protobuf.ListValue end_closed = 3; + * * @return Whether the endClosed field is set. */ @java.lang.Override @@ -296,22 +343,27 @@ public boolean hasEndClosed() { return endKeyTypeCase_ == 3; } /** + * + * *
    * If the end is closed, then the range includes all rows whose
    * first `len(end_closed)` key columns exactly match `end_closed`.
    * 
* * .google.protobuf.ListValue end_closed = 3; + * * @return The endClosed. */ @java.lang.Override public com.google.protobuf.ListValue getEndClosed() { if (endKeyTypeCase_ == 3) { - return (com.google.protobuf.ListValue) endKeyType_; + return (com.google.protobuf.ListValue) endKeyType_; } return com.google.protobuf.ListValue.getDefaultInstance(); } /** + * + * *
    * If the end is closed, then the range includes all rows whose
    * first `len(end_closed)` key columns exactly match `end_closed`.
@@ -322,19 +374,22 @@ public com.google.protobuf.ListValue getEndClosed() {
   @java.lang.Override
   public com.google.protobuf.ListValueOrBuilder getEndClosedOrBuilder() {
     if (endKeyTypeCase_ == 3) {
-       return (com.google.protobuf.ListValue) endKeyType_;
+      return (com.google.protobuf.ListValue) endKeyType_;
     }
     return com.google.protobuf.ListValue.getDefaultInstance();
   }
 
   public static final int END_OPEN_FIELD_NUMBER = 4;
   /**
+   *
+   *
    * 
    * If the end is open, then the range excludes rows whose first
    * `len(end_open)` key columns exactly match `end_open`.
    * 
* * .google.protobuf.ListValue end_open = 4; + * * @return Whether the endOpen field is set. */ @java.lang.Override @@ -342,22 +397,27 @@ public boolean hasEndOpen() { return endKeyTypeCase_ == 4; } /** + * + * *
    * If the end is open, then the range excludes rows whose first
    * `len(end_open)` key columns exactly match `end_open`.
    * 
* * .google.protobuf.ListValue end_open = 4; + * * @return The endOpen. */ @java.lang.Override public com.google.protobuf.ListValue getEndOpen() { if (endKeyTypeCase_ == 4) { - return (com.google.protobuf.ListValue) endKeyType_; + return (com.google.protobuf.ListValue) endKeyType_; } return com.google.protobuf.ListValue.getDefaultInstance(); } /** + * + * *
    * If the end is open, then the range excludes rows whose first
    * `len(end_open)` key columns exactly match `end_open`.
@@ -368,12 +428,13 @@ public com.google.protobuf.ListValue getEndOpen() {
   @java.lang.Override
   public com.google.protobuf.ListValueOrBuilder getEndOpenOrBuilder() {
     if (endKeyTypeCase_ == 4) {
-       return (com.google.protobuf.ListValue) endKeyType_;
+      return (com.google.protobuf.ListValue) endKeyType_;
     }
     return com.google.protobuf.ListValue.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -385,8 +446,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 (startKeyTypeCase_ == 1) {
       output.writeMessage(1, (com.google.protobuf.ListValue) startKeyType_);
     }
@@ -409,20 +469,24 @@ public int getSerializedSize() {
 
     size = 0;
     if (startKeyTypeCase_ == 1) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, (com.google.protobuf.ListValue) startKeyType_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              1, (com.google.protobuf.ListValue) startKeyType_);
     }
     if (startKeyTypeCase_ == 2) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, (com.google.protobuf.ListValue) startKeyType_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              2, (com.google.protobuf.ListValue) startKeyType_);
     }
     if (endKeyTypeCase_ == 3) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, (com.google.protobuf.ListValue) endKeyType_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              3, (com.google.protobuf.ListValue) endKeyType_);
     }
     if (endKeyTypeCase_ == 4) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, (com.google.protobuf.ListValue) endKeyType_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              4, (com.google.protobuf.ListValue) endKeyType_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -432,7 +496,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.spanner.v1.KeyRange)) {
       return super.equals(obj);
@@ -442,12 +506,10 @@ public boolean equals(final java.lang.Object obj) {
     if (!getStartKeyTypeCase().equals(other.getStartKeyTypeCase())) return false;
     switch (startKeyTypeCase_) {
       case 1:
-        if (!getStartClosed()
-            .equals(other.getStartClosed())) return false;
+        if (!getStartClosed().equals(other.getStartClosed())) return false;
         break;
       case 2:
-        if (!getStartOpen()
-            .equals(other.getStartOpen())) return false;
+        if (!getStartOpen().equals(other.getStartOpen())) return false;
         break;
       case 0:
       default:
@@ -455,12 +517,10 @@ public boolean equals(final java.lang.Object obj) {
     if (!getEndKeyTypeCase().equals(other.getEndKeyTypeCase())) return false;
     switch (endKeyTypeCase_) {
       case 3:
-        if (!getEndClosed()
-            .equals(other.getEndClosed())) return false;
+        if (!getEndClosed().equals(other.getEndClosed())) return false;
         break;
       case 4:
-        if (!getEndOpen()
-            .equals(other.getEndOpen())) return false;
+        if (!getEndOpen().equals(other.getEndOpen())) return false;
         break;
       case 0:
       default:
@@ -505,97 +565,103 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.spanner.v1.KeyRange parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.spanner.v1.KeyRange parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.spanner.v1.KeyRange parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.spanner.v1.KeyRange parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.spanner.v1.KeyRange parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.spanner.v1.KeyRange parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.spanner.v1.KeyRange parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.spanner.v1.KeyRange parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.spanner.v1.KeyRange parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.spanner.v1.KeyRange parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.spanner.v1.KeyRange 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.spanner.v1.KeyRange parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.spanner.v1.KeyRange parseFrom(
-      com.google.protobuf.CodedInputStream input)
+
+  public static com.google.spanner.v1.KeyRange 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.spanner.v1.KeyRange parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.spanner.v1.KeyRange prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * KeyRange represents a range of rows in a table or index.
    * A range has a start key and an end key. These keys can be open or
@@ -662,33 +728,30 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.spanner.v1.KeyRange}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.spanner.v1.KeyRange)
       com.google.spanner.v1.KeyRangeOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
       return com.google.spanner.v1.KeysProto.internal_static_google_spanner_v1_KeyRange_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.v1.KeysProto.internal_static_google_spanner_v1_KeyRange_fieldAccessorTable
+      return com.google.spanner.v1.KeysProto
+          .internal_static_google_spanner_v1_KeyRange_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
               com.google.spanner.v1.KeyRange.class, com.google.spanner.v1.KeyRange.Builder.class);
     }
 
     // Construct using com.google.spanner.v1.KeyRange.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -713,8 +776,7 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
       return com.google.spanner.v1.KeysProto.internal_static_google_spanner_v1_KeyRange_descriptor;
     }
 
@@ -735,7 +797,9 @@ public com.google.spanner.v1.KeyRange build() {
     @java.lang.Override
     public com.google.spanner.v1.KeyRange buildPartial() {
       com.google.spanner.v1.KeyRange result = new com.google.spanner.v1.KeyRange(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -748,22 +812,18 @@ private void buildPartial0(com.google.spanner.v1.KeyRange result) {
     private void buildPartialOneofs(com.google.spanner.v1.KeyRange result) {
       result.startKeyTypeCase_ = startKeyTypeCase_;
       result.startKeyType_ = this.startKeyType_;
-      if (startKeyTypeCase_ == 1 &&
-          startClosedBuilder_ != null) {
+      if (startKeyTypeCase_ == 1 && startClosedBuilder_ != null) {
         result.startKeyType_ = startClosedBuilder_.build();
       }
-      if (startKeyTypeCase_ == 2 &&
-          startOpenBuilder_ != null) {
+      if (startKeyTypeCase_ == 2 && startOpenBuilder_ != null) {
         result.startKeyType_ = startOpenBuilder_.build();
       }
       result.endKeyTypeCase_ = endKeyTypeCase_;
       result.endKeyType_ = this.endKeyType_;
-      if (endKeyTypeCase_ == 3 &&
-          endClosedBuilder_ != null) {
+      if (endKeyTypeCase_ == 3 && endClosedBuilder_ != null) {
         result.endKeyType_ = endClosedBuilder_.build();
       }
-      if (endKeyTypeCase_ == 4 &&
-          endOpenBuilder_ != null) {
+      if (endKeyTypeCase_ == 4 && endOpenBuilder_ != null) {
         result.endKeyType_ = endOpenBuilder_.build();
       }
     }
@@ -772,38 +832,39 @@ private void buildPartialOneofs(com.google.spanner.v1.KeyRange 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.spanner.v1.KeyRange) {
-        return mergeFrom((com.google.spanner.v1.KeyRange)other);
+        return mergeFrom((com.google.spanner.v1.KeyRange) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -813,30 +874,36 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     public Builder mergeFrom(com.google.spanner.v1.KeyRange other) {
       if (other == com.google.spanner.v1.KeyRange.getDefaultInstance()) return this;
       switch (other.getStartKeyTypeCase()) {
-        case START_CLOSED: {
-          mergeStartClosed(other.getStartClosed());
-          break;
-        }
-        case START_OPEN: {
-          mergeStartOpen(other.getStartOpen());
-          break;
-        }
-        case STARTKEYTYPE_NOT_SET: {
-          break;
-        }
+        case START_CLOSED:
+          {
+            mergeStartClosed(other.getStartClosed());
+            break;
+          }
+        case START_OPEN:
+          {
+            mergeStartOpen(other.getStartOpen());
+            break;
+          }
+        case STARTKEYTYPE_NOT_SET:
+          {
+            break;
+          }
       }
       switch (other.getEndKeyTypeCase()) {
-        case END_CLOSED: {
-          mergeEndClosed(other.getEndClosed());
-          break;
-        }
-        case END_OPEN: {
-          mergeEndOpen(other.getEndOpen());
-          break;
-        }
-        case ENDKEYTYPE_NOT_SET: {
-          break;
-        }
+        case END_CLOSED:
+          {
+            mergeEndClosed(other.getEndClosed());
+            break;
+          }
+        case END_OPEN:
+          {
+            mergeEndOpen(other.getEndOpen());
+            break;
+          }
+        case ENDKEYTYPE_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -864,40 +931,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getStartClosedFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              startKeyTypeCase_ = 1;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getStartOpenFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              startKeyTypeCase_ = 2;
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getEndClosedFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              endKeyTypeCase_ = 3;
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getEndOpenFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              endKeyTypeCase_ = 4;
-              break;
-            } // case 34
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getStartClosedFieldBuilder().getBuilder(), extensionRegistry);
+                startKeyTypeCase_ = 1;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getStartOpenFieldBuilder().getBuilder(), extensionRegistry);
+                startKeyTypeCase_ = 2;
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getEndClosedFieldBuilder().getBuilder(), extensionRegistry);
+                endKeyTypeCase_ = 3;
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(getEndOpenFieldBuilder().getBuilder(), extensionRegistry);
+                endKeyTypeCase_ = 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) {
@@ -907,12 +971,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int startKeyTypeCase_ = 0;
     private java.lang.Object startKeyType_;
-    public StartKeyTypeCase
-        getStartKeyTypeCase() {
-      return StartKeyTypeCase.forNumber(
-          startKeyTypeCase_);
+
+    public StartKeyTypeCase getStartKeyTypeCase() {
+      return StartKeyTypeCase.forNumber(startKeyTypeCase_);
     }
 
     public Builder clearStartKeyType() {
@@ -924,10 +988,9 @@ public Builder clearStartKeyType() {
 
     private int endKeyTypeCase_ = 0;
     private java.lang.Object endKeyType_;
-    public EndKeyTypeCase
-        getEndKeyTypeCase() {
-      return EndKeyTypeCase.forNumber(
-          endKeyTypeCase_);
+
+    public EndKeyTypeCase getEndKeyTypeCase() {
+      return EndKeyTypeCase.forNumber(endKeyTypeCase_);
     }
 
     public Builder clearEndKeyType() {
@@ -940,14 +1003,20 @@ public Builder clearEndKeyType() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.ListValue, com.google.protobuf.ListValue.Builder, com.google.protobuf.ListValueOrBuilder> startClosedBuilder_;
+            com.google.protobuf.ListValue,
+            com.google.protobuf.ListValue.Builder,
+            com.google.protobuf.ListValueOrBuilder>
+        startClosedBuilder_;
     /**
+     *
+     *
      * 
      * If the start is closed, then the range includes all rows whose
      * first `len(start_closed)` key columns exactly match `start_closed`.
      * 
* * .google.protobuf.ListValue start_closed = 1; + * * @return Whether the startClosed field is set. */ @java.lang.Override @@ -955,12 +1024,15 @@ public boolean hasStartClosed() { return startKeyTypeCase_ == 1; } /** + * + * *
      * If the start is closed, then the range includes all rows whose
      * first `len(start_closed)` key columns exactly match `start_closed`.
      * 
* * .google.protobuf.ListValue start_closed = 1; + * * @return The startClosed. */ @java.lang.Override @@ -978,6 +1050,8 @@ public com.google.protobuf.ListValue getStartClosed() { } } /** + * + * *
      * If the start is closed, then the range includes all rows whose
      * first `len(start_closed)` key columns exactly match `start_closed`.
@@ -999,6 +1073,8 @@ public Builder setStartClosed(com.google.protobuf.ListValue value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If the start is closed, then the range includes all rows whose
      * first `len(start_closed)` key columns exactly match `start_closed`.
@@ -1006,8 +1082,7 @@ public Builder setStartClosed(com.google.protobuf.ListValue value) {
      *
      * .google.protobuf.ListValue start_closed = 1;
      */
-    public Builder setStartClosed(
-        com.google.protobuf.ListValue.Builder builderForValue) {
+    public Builder setStartClosed(com.google.protobuf.ListValue.Builder builderForValue) {
       if (startClosedBuilder_ == null) {
         startKeyType_ = builderForValue.build();
         onChanged();
@@ -1018,6 +1093,8 @@ public Builder setStartClosed(
       return this;
     }
     /**
+     *
+     *
      * 
      * If the start is closed, then the range includes all rows whose
      * first `len(start_closed)` key columns exactly match `start_closed`.
@@ -1027,10 +1104,13 @@ public Builder setStartClosed(
      */
     public Builder mergeStartClosed(com.google.protobuf.ListValue value) {
       if (startClosedBuilder_ == null) {
-        if (startKeyTypeCase_ == 1 &&
-            startKeyType_ != com.google.protobuf.ListValue.getDefaultInstance()) {
-          startKeyType_ = com.google.protobuf.ListValue.newBuilder((com.google.protobuf.ListValue) startKeyType_)
-              .mergeFrom(value).buildPartial();
+        if (startKeyTypeCase_ == 1
+            && startKeyType_ != com.google.protobuf.ListValue.getDefaultInstance()) {
+          startKeyType_ =
+              com.google.protobuf.ListValue.newBuilder(
+                      (com.google.protobuf.ListValue) startKeyType_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           startKeyType_ = value;
         }
@@ -1046,6 +1126,8 @@ public Builder mergeStartClosed(com.google.protobuf.ListValue value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If the start is closed, then the range includes all rows whose
      * first `len(start_closed)` key columns exactly match `start_closed`.
@@ -1070,6 +1152,8 @@ public Builder clearStartClosed() {
       return this;
     }
     /**
+     *
+     *
      * 
      * If the start is closed, then the range includes all rows whose
      * first `len(start_closed)` key columns exactly match `start_closed`.
@@ -1081,6 +1165,8 @@ public com.google.protobuf.ListValue.Builder getStartClosedBuilder() {
       return getStartClosedFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * If the start is closed, then the range includes all rows whose
      * first `len(start_closed)` key columns exactly match `start_closed`.
@@ -1100,6 +1186,8 @@ public com.google.protobuf.ListValueOrBuilder getStartClosedOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * If the start is closed, then the range includes all rows whose
      * first `len(start_closed)` key columns exactly match `start_closed`.
@@ -1108,17 +1196,20 @@ public com.google.protobuf.ListValueOrBuilder getStartClosedOrBuilder() {
      * .google.protobuf.ListValue start_closed = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.ListValue, com.google.protobuf.ListValue.Builder, com.google.protobuf.ListValueOrBuilder> 
+            com.google.protobuf.ListValue,
+            com.google.protobuf.ListValue.Builder,
+            com.google.protobuf.ListValueOrBuilder>
         getStartClosedFieldBuilder() {
       if (startClosedBuilder_ == null) {
         if (!(startKeyTypeCase_ == 1)) {
           startKeyType_ = com.google.protobuf.ListValue.getDefaultInstance();
         }
-        startClosedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.ListValue, com.google.protobuf.ListValue.Builder, com.google.protobuf.ListValueOrBuilder>(
-                (com.google.protobuf.ListValue) startKeyType_,
-                getParentForChildren(),
-                isClean());
+        startClosedBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.ListValue,
+                com.google.protobuf.ListValue.Builder,
+                com.google.protobuf.ListValueOrBuilder>(
+                (com.google.protobuf.ListValue) startKeyType_, getParentForChildren(), isClean());
         startKeyType_ = null;
       }
       startKeyTypeCase_ = 1;
@@ -1127,14 +1218,20 @@ public com.google.protobuf.ListValueOrBuilder getStartClosedOrBuilder() {
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.ListValue, com.google.protobuf.ListValue.Builder, com.google.protobuf.ListValueOrBuilder> startOpenBuilder_;
+            com.google.protobuf.ListValue,
+            com.google.protobuf.ListValue.Builder,
+            com.google.protobuf.ListValueOrBuilder>
+        startOpenBuilder_;
     /**
+     *
+     *
      * 
      * If the start is open, then the range excludes rows whose first
      * `len(start_open)` key columns exactly match `start_open`.
      * 
* * .google.protobuf.ListValue start_open = 2; + * * @return Whether the startOpen field is set. */ @java.lang.Override @@ -1142,12 +1239,15 @@ public boolean hasStartOpen() { return startKeyTypeCase_ == 2; } /** + * + * *
      * If the start is open, then the range excludes rows whose first
      * `len(start_open)` key columns exactly match `start_open`.
      * 
* * .google.protobuf.ListValue start_open = 2; + * * @return The startOpen. */ @java.lang.Override @@ -1165,6 +1265,8 @@ public com.google.protobuf.ListValue getStartOpen() { } } /** + * + * *
      * If the start is open, then the range excludes rows whose first
      * `len(start_open)` key columns exactly match `start_open`.
@@ -1186,6 +1288,8 @@ public Builder setStartOpen(com.google.protobuf.ListValue value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If the start is open, then the range excludes rows whose first
      * `len(start_open)` key columns exactly match `start_open`.
@@ -1193,8 +1297,7 @@ public Builder setStartOpen(com.google.protobuf.ListValue value) {
      *
      * .google.protobuf.ListValue start_open = 2;
      */
-    public Builder setStartOpen(
-        com.google.protobuf.ListValue.Builder builderForValue) {
+    public Builder setStartOpen(com.google.protobuf.ListValue.Builder builderForValue) {
       if (startOpenBuilder_ == null) {
         startKeyType_ = builderForValue.build();
         onChanged();
@@ -1205,6 +1308,8 @@ public Builder setStartOpen(
       return this;
     }
     /**
+     *
+     *
      * 
      * If the start is open, then the range excludes rows whose first
      * `len(start_open)` key columns exactly match `start_open`.
@@ -1214,10 +1319,13 @@ public Builder setStartOpen(
      */
     public Builder mergeStartOpen(com.google.protobuf.ListValue value) {
       if (startOpenBuilder_ == null) {
-        if (startKeyTypeCase_ == 2 &&
-            startKeyType_ != com.google.protobuf.ListValue.getDefaultInstance()) {
-          startKeyType_ = com.google.protobuf.ListValue.newBuilder((com.google.protobuf.ListValue) startKeyType_)
-              .mergeFrom(value).buildPartial();
+        if (startKeyTypeCase_ == 2
+            && startKeyType_ != com.google.protobuf.ListValue.getDefaultInstance()) {
+          startKeyType_ =
+              com.google.protobuf.ListValue.newBuilder(
+                      (com.google.protobuf.ListValue) startKeyType_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           startKeyType_ = value;
         }
@@ -1233,6 +1341,8 @@ public Builder mergeStartOpen(com.google.protobuf.ListValue value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If the start is open, then the range excludes rows whose first
      * `len(start_open)` key columns exactly match `start_open`.
@@ -1257,6 +1367,8 @@ public Builder clearStartOpen() {
       return this;
     }
     /**
+     *
+     *
      * 
      * If the start is open, then the range excludes rows whose first
      * `len(start_open)` key columns exactly match `start_open`.
@@ -1268,6 +1380,8 @@ public com.google.protobuf.ListValue.Builder getStartOpenBuilder() {
       return getStartOpenFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * If the start is open, then the range excludes rows whose first
      * `len(start_open)` key columns exactly match `start_open`.
@@ -1287,6 +1401,8 @@ public com.google.protobuf.ListValueOrBuilder getStartOpenOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * If the start is open, then the range excludes rows whose first
      * `len(start_open)` key columns exactly match `start_open`.
@@ -1295,17 +1411,20 @@ public com.google.protobuf.ListValueOrBuilder getStartOpenOrBuilder() {
      * .google.protobuf.ListValue start_open = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.ListValue, com.google.protobuf.ListValue.Builder, com.google.protobuf.ListValueOrBuilder> 
+            com.google.protobuf.ListValue,
+            com.google.protobuf.ListValue.Builder,
+            com.google.protobuf.ListValueOrBuilder>
         getStartOpenFieldBuilder() {
       if (startOpenBuilder_ == null) {
         if (!(startKeyTypeCase_ == 2)) {
           startKeyType_ = com.google.protobuf.ListValue.getDefaultInstance();
         }
-        startOpenBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.ListValue, com.google.protobuf.ListValue.Builder, com.google.protobuf.ListValueOrBuilder>(
-                (com.google.protobuf.ListValue) startKeyType_,
-                getParentForChildren(),
-                isClean());
+        startOpenBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.ListValue,
+                com.google.protobuf.ListValue.Builder,
+                com.google.protobuf.ListValueOrBuilder>(
+                (com.google.protobuf.ListValue) startKeyType_, getParentForChildren(), isClean());
         startKeyType_ = null;
       }
       startKeyTypeCase_ = 2;
@@ -1314,14 +1433,20 @@ public com.google.protobuf.ListValueOrBuilder getStartOpenOrBuilder() {
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.ListValue, com.google.protobuf.ListValue.Builder, com.google.protobuf.ListValueOrBuilder> endClosedBuilder_;
+            com.google.protobuf.ListValue,
+            com.google.protobuf.ListValue.Builder,
+            com.google.protobuf.ListValueOrBuilder>
+        endClosedBuilder_;
     /**
+     *
+     *
      * 
      * If the end is closed, then the range includes all rows whose
      * first `len(end_closed)` key columns exactly match `end_closed`.
      * 
* * .google.protobuf.ListValue end_closed = 3; + * * @return Whether the endClosed field is set. */ @java.lang.Override @@ -1329,12 +1454,15 @@ public boolean hasEndClosed() { return endKeyTypeCase_ == 3; } /** + * + * *
      * If the end is closed, then the range includes all rows whose
      * first `len(end_closed)` key columns exactly match `end_closed`.
      * 
* * .google.protobuf.ListValue end_closed = 3; + * * @return The endClosed. */ @java.lang.Override @@ -1352,6 +1480,8 @@ public com.google.protobuf.ListValue getEndClosed() { } } /** + * + * *
      * If the end is closed, then the range includes all rows whose
      * first `len(end_closed)` key columns exactly match `end_closed`.
@@ -1373,6 +1503,8 @@ public Builder setEndClosed(com.google.protobuf.ListValue value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If the end is closed, then the range includes all rows whose
      * first `len(end_closed)` key columns exactly match `end_closed`.
@@ -1380,8 +1512,7 @@ public Builder setEndClosed(com.google.protobuf.ListValue value) {
      *
      * .google.protobuf.ListValue end_closed = 3;
      */
-    public Builder setEndClosed(
-        com.google.protobuf.ListValue.Builder builderForValue) {
+    public Builder setEndClosed(com.google.protobuf.ListValue.Builder builderForValue) {
       if (endClosedBuilder_ == null) {
         endKeyType_ = builderForValue.build();
         onChanged();
@@ -1392,6 +1523,8 @@ public Builder setEndClosed(
       return this;
     }
     /**
+     *
+     *
      * 
      * If the end is closed, then the range includes all rows whose
      * first `len(end_closed)` key columns exactly match `end_closed`.
@@ -1401,10 +1534,12 @@ public Builder setEndClosed(
      */
     public Builder mergeEndClosed(com.google.protobuf.ListValue value) {
       if (endClosedBuilder_ == null) {
-        if (endKeyTypeCase_ == 3 &&
-            endKeyType_ != com.google.protobuf.ListValue.getDefaultInstance()) {
-          endKeyType_ = com.google.protobuf.ListValue.newBuilder((com.google.protobuf.ListValue) endKeyType_)
-              .mergeFrom(value).buildPartial();
+        if (endKeyTypeCase_ == 3
+            && endKeyType_ != com.google.protobuf.ListValue.getDefaultInstance()) {
+          endKeyType_ =
+              com.google.protobuf.ListValue.newBuilder((com.google.protobuf.ListValue) endKeyType_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           endKeyType_ = value;
         }
@@ -1420,6 +1555,8 @@ public Builder mergeEndClosed(com.google.protobuf.ListValue value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If the end is closed, then the range includes all rows whose
      * first `len(end_closed)` key columns exactly match `end_closed`.
@@ -1444,6 +1581,8 @@ public Builder clearEndClosed() {
       return this;
     }
     /**
+     *
+     *
      * 
      * If the end is closed, then the range includes all rows whose
      * first `len(end_closed)` key columns exactly match `end_closed`.
@@ -1455,6 +1594,8 @@ public com.google.protobuf.ListValue.Builder getEndClosedBuilder() {
       return getEndClosedFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * If the end is closed, then the range includes all rows whose
      * first `len(end_closed)` key columns exactly match `end_closed`.
@@ -1474,6 +1615,8 @@ public com.google.protobuf.ListValueOrBuilder getEndClosedOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * If the end is closed, then the range includes all rows whose
      * first `len(end_closed)` key columns exactly match `end_closed`.
@@ -1482,17 +1625,20 @@ public com.google.protobuf.ListValueOrBuilder getEndClosedOrBuilder() {
      * .google.protobuf.ListValue end_closed = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.ListValue, com.google.protobuf.ListValue.Builder, com.google.protobuf.ListValueOrBuilder> 
+            com.google.protobuf.ListValue,
+            com.google.protobuf.ListValue.Builder,
+            com.google.protobuf.ListValueOrBuilder>
         getEndClosedFieldBuilder() {
       if (endClosedBuilder_ == null) {
         if (!(endKeyTypeCase_ == 3)) {
           endKeyType_ = com.google.protobuf.ListValue.getDefaultInstance();
         }
-        endClosedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.ListValue, com.google.protobuf.ListValue.Builder, com.google.protobuf.ListValueOrBuilder>(
-                (com.google.protobuf.ListValue) endKeyType_,
-                getParentForChildren(),
-                isClean());
+        endClosedBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.ListValue,
+                com.google.protobuf.ListValue.Builder,
+                com.google.protobuf.ListValueOrBuilder>(
+                (com.google.protobuf.ListValue) endKeyType_, getParentForChildren(), isClean());
         endKeyType_ = null;
       }
       endKeyTypeCase_ = 3;
@@ -1501,14 +1647,20 @@ public com.google.protobuf.ListValueOrBuilder getEndClosedOrBuilder() {
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.ListValue, com.google.protobuf.ListValue.Builder, com.google.protobuf.ListValueOrBuilder> endOpenBuilder_;
+            com.google.protobuf.ListValue,
+            com.google.protobuf.ListValue.Builder,
+            com.google.protobuf.ListValueOrBuilder>
+        endOpenBuilder_;
     /**
+     *
+     *
      * 
      * If the end is open, then the range excludes rows whose first
      * `len(end_open)` key columns exactly match `end_open`.
      * 
* * .google.protobuf.ListValue end_open = 4; + * * @return Whether the endOpen field is set. */ @java.lang.Override @@ -1516,12 +1668,15 @@ public boolean hasEndOpen() { return endKeyTypeCase_ == 4; } /** + * + * *
      * If the end is open, then the range excludes rows whose first
      * `len(end_open)` key columns exactly match `end_open`.
      * 
* * .google.protobuf.ListValue end_open = 4; + * * @return The endOpen. */ @java.lang.Override @@ -1539,6 +1694,8 @@ public com.google.protobuf.ListValue getEndOpen() { } } /** + * + * *
      * If the end is open, then the range excludes rows whose first
      * `len(end_open)` key columns exactly match `end_open`.
@@ -1560,6 +1717,8 @@ public Builder setEndOpen(com.google.protobuf.ListValue value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If the end is open, then the range excludes rows whose first
      * `len(end_open)` key columns exactly match `end_open`.
@@ -1567,8 +1726,7 @@ public Builder setEndOpen(com.google.protobuf.ListValue value) {
      *
      * .google.protobuf.ListValue end_open = 4;
      */
-    public Builder setEndOpen(
-        com.google.protobuf.ListValue.Builder builderForValue) {
+    public Builder setEndOpen(com.google.protobuf.ListValue.Builder builderForValue) {
       if (endOpenBuilder_ == null) {
         endKeyType_ = builderForValue.build();
         onChanged();
@@ -1579,6 +1737,8 @@ public Builder setEndOpen(
       return this;
     }
     /**
+     *
+     *
      * 
      * If the end is open, then the range excludes rows whose first
      * `len(end_open)` key columns exactly match `end_open`.
@@ -1588,10 +1748,12 @@ public Builder setEndOpen(
      */
     public Builder mergeEndOpen(com.google.protobuf.ListValue value) {
       if (endOpenBuilder_ == null) {
-        if (endKeyTypeCase_ == 4 &&
-            endKeyType_ != com.google.protobuf.ListValue.getDefaultInstance()) {
-          endKeyType_ = com.google.protobuf.ListValue.newBuilder((com.google.protobuf.ListValue) endKeyType_)
-              .mergeFrom(value).buildPartial();
+        if (endKeyTypeCase_ == 4
+            && endKeyType_ != com.google.protobuf.ListValue.getDefaultInstance()) {
+          endKeyType_ =
+              com.google.protobuf.ListValue.newBuilder((com.google.protobuf.ListValue) endKeyType_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           endKeyType_ = value;
         }
@@ -1607,6 +1769,8 @@ public Builder mergeEndOpen(com.google.protobuf.ListValue value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If the end is open, then the range excludes rows whose first
      * `len(end_open)` key columns exactly match `end_open`.
@@ -1631,6 +1795,8 @@ public Builder clearEndOpen() {
       return this;
     }
     /**
+     *
+     *
      * 
      * If the end is open, then the range excludes rows whose first
      * `len(end_open)` key columns exactly match `end_open`.
@@ -1642,6 +1808,8 @@ public com.google.protobuf.ListValue.Builder getEndOpenBuilder() {
       return getEndOpenFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * If the end is open, then the range excludes rows whose first
      * `len(end_open)` key columns exactly match `end_open`.
@@ -1661,6 +1829,8 @@ public com.google.protobuf.ListValueOrBuilder getEndOpenOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * If the end is open, then the range excludes rows whose first
      * `len(end_open)` key columns exactly match `end_open`.
@@ -1669,26 +1839,29 @@ public com.google.protobuf.ListValueOrBuilder getEndOpenOrBuilder() {
      * .google.protobuf.ListValue end_open = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.ListValue, com.google.protobuf.ListValue.Builder, com.google.protobuf.ListValueOrBuilder> 
+            com.google.protobuf.ListValue,
+            com.google.protobuf.ListValue.Builder,
+            com.google.protobuf.ListValueOrBuilder>
         getEndOpenFieldBuilder() {
       if (endOpenBuilder_ == null) {
         if (!(endKeyTypeCase_ == 4)) {
           endKeyType_ = com.google.protobuf.ListValue.getDefaultInstance();
         }
-        endOpenBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.ListValue, com.google.protobuf.ListValue.Builder, com.google.protobuf.ListValueOrBuilder>(
-                (com.google.protobuf.ListValue) endKeyType_,
-                getParentForChildren(),
-                isClean());
+        endOpenBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.ListValue,
+                com.google.protobuf.ListValue.Builder,
+                com.google.protobuf.ListValueOrBuilder>(
+                (com.google.protobuf.ListValue) endKeyType_, getParentForChildren(), isClean());
         endKeyType_ = null;
       }
       endKeyTypeCase_ = 4;
       onChanged();
       return endOpenBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1698,12 +1871,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.spanner.v1.KeyRange)
   }
 
   // @@protoc_insertion_point(class_scope:google.spanner.v1.KeyRange)
   private static final com.google.spanner.v1.KeyRange DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.spanner.v1.KeyRange();
   }
@@ -1712,27 +1885,27 @@ public static com.google.spanner.v1.KeyRange getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public KeyRange parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public KeyRange parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1747,6 +1920,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.spanner.v1.KeyRange getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeyRangeOrBuilder.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeyRangeOrBuilder.java
similarity index 83%
rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeyRangeOrBuilder.java
rename to proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeyRangeOrBuilder.java
index 7d60ad33ddb..c6a5e89496f 100644
--- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeyRangeOrBuilder.java
+++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeyRangeOrBuilder.java
@@ -1,33 +1,57 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/v1/keys.proto
 
 package com.google.spanner.v1;
 
-public interface KeyRangeOrBuilder extends
+public interface KeyRangeOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.spanner.v1.KeyRange)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * If the start is closed, then the range includes all rows whose
    * first `len(start_closed)` key columns exactly match `start_closed`.
    * 
* * .google.protobuf.ListValue start_closed = 1; + * * @return Whether the startClosed field is set. */ boolean hasStartClosed(); /** + * + * *
    * If the start is closed, then the range includes all rows whose
    * first `len(start_closed)` key columns exactly match `start_closed`.
    * 
* * .google.protobuf.ListValue start_closed = 1; + * * @return The startClosed. */ com.google.protobuf.ListValue getStartClosed(); /** + * + * *
    * If the start is closed, then the range includes all rows whose
    * first `len(start_closed)` key columns exactly match `start_closed`.
@@ -38,26 +62,34 @@ public interface KeyRangeOrBuilder extends
   com.google.protobuf.ListValueOrBuilder getStartClosedOrBuilder();
 
   /**
+   *
+   *
    * 
    * If the start is open, then the range excludes rows whose first
    * `len(start_open)` key columns exactly match `start_open`.
    * 
* * .google.protobuf.ListValue start_open = 2; + * * @return Whether the startOpen field is set. */ boolean hasStartOpen(); /** + * + * *
    * If the start is open, then the range excludes rows whose first
    * `len(start_open)` key columns exactly match `start_open`.
    * 
* * .google.protobuf.ListValue start_open = 2; + * * @return The startOpen. */ com.google.protobuf.ListValue getStartOpen(); /** + * + * *
    * If the start is open, then the range excludes rows whose first
    * `len(start_open)` key columns exactly match `start_open`.
@@ -68,26 +100,34 @@ public interface KeyRangeOrBuilder extends
   com.google.protobuf.ListValueOrBuilder getStartOpenOrBuilder();
 
   /**
+   *
+   *
    * 
    * If the end is closed, then the range includes all rows whose
    * first `len(end_closed)` key columns exactly match `end_closed`.
    * 
* * .google.protobuf.ListValue end_closed = 3; + * * @return Whether the endClosed field is set. */ boolean hasEndClosed(); /** + * + * *
    * If the end is closed, then the range includes all rows whose
    * first `len(end_closed)` key columns exactly match `end_closed`.
    * 
* * .google.protobuf.ListValue end_closed = 3; + * * @return The endClosed. */ com.google.protobuf.ListValue getEndClosed(); /** + * + * *
    * If the end is closed, then the range includes all rows whose
    * first `len(end_closed)` key columns exactly match `end_closed`.
@@ -98,26 +138,34 @@ public interface KeyRangeOrBuilder extends
   com.google.protobuf.ListValueOrBuilder getEndClosedOrBuilder();
 
   /**
+   *
+   *
    * 
    * If the end is open, then the range excludes rows whose first
    * `len(end_open)` key columns exactly match `end_open`.
    * 
* * .google.protobuf.ListValue end_open = 4; + * * @return Whether the endOpen field is set. */ boolean hasEndOpen(); /** + * + * *
    * If the end is open, then the range excludes rows whose first
    * `len(end_open)` key columns exactly match `end_open`.
    * 
* * .google.protobuf.ListValue end_open = 4; + * * @return The endOpen. */ com.google.protobuf.ListValue getEndOpen(); /** + * + * *
    * If the end is open, then the range excludes rows whose first
    * `len(end_open)` key columns exactly match `end_open`.
diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeySet.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeySet.java
similarity index 78%
rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeySet.java
rename to proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeySet.java
index 9ea264e51af..fca1f9f6fbb 100644
--- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeySet.java
+++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeySet.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/v1/keys.proto
 
 package com.google.spanner.v1;
 
 /**
+ *
+ *
  * 
  * `KeySet` defines a collection of Cloud Spanner keys and/or key ranges. All
  * the keys are expected to be in the same table or index. The keys need
@@ -15,15 +32,16 @@
  *
  * Protobuf type {@code google.spanner.v1.KeySet}
  */
-public final class KeySet extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class KeySet extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.spanner.v1.KeySet)
     KeySetOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use KeySet.newBuilder() to construct.
   private KeySet(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private KeySet() {
     keys_ = java.util.Collections.emptyList();
     ranges_ = java.util.Collections.emptyList();
@@ -31,33 +49,35 @@ private KeySet() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new KeySet();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.spanner.v1.KeysProto.internal_static_google_spanner_v1_KeySet_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.v1.KeysProto.internal_static_google_spanner_v1_KeySet_fieldAccessorTable
+    return com.google.spanner.v1.KeysProto
+        .internal_static_google_spanner_v1_KeySet_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.spanner.v1.KeySet.class, com.google.spanner.v1.KeySet.Builder.class);
   }
 
   public static final int KEYS_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private java.util.List keys_;
   /**
+   *
+   *
    * 
    * A list of specific keys. Entries in `keys` should have exactly as
    * many elements as there are columns in the primary or index key
@@ -72,6 +92,8 @@ public java.util.List getKeysList() {
     return keys_;
   }
   /**
+   *
+   *
    * 
    * A list of specific keys. Entries in `keys` should have exactly as
    * many elements as there are columns in the primary or index key
@@ -82,11 +104,12 @@ public java.util.List getKeysList() {
    * repeated .google.protobuf.ListValue keys = 1;
    */
   @java.lang.Override
-  public java.util.List 
-      getKeysOrBuilderList() {
+  public java.util.List getKeysOrBuilderList() {
     return keys_;
   }
   /**
+   *
+   *
    * 
    * A list of specific keys. Entries in `keys` should have exactly as
    * many elements as there are columns in the primary or index key
@@ -101,6 +124,8 @@ public int getKeysCount() {
     return keys_.size();
   }
   /**
+   *
+   *
    * 
    * A list of specific keys. Entries in `keys` should have exactly as
    * many elements as there are columns in the primary or index key
@@ -115,6 +140,8 @@ public com.google.protobuf.ListValue getKeys(int index) {
     return keys_.get(index);
   }
   /**
+   *
+   *
    * 
    * A list of specific keys. Entries in `keys` should have exactly as
    * many elements as there are columns in the primary or index key
@@ -125,15 +152,17 @@ public com.google.protobuf.ListValue getKeys(int index) {
    * repeated .google.protobuf.ListValue keys = 1;
    */
   @java.lang.Override
-  public com.google.protobuf.ListValueOrBuilder getKeysOrBuilder(
-      int index) {
+  public com.google.protobuf.ListValueOrBuilder getKeysOrBuilder(int index) {
     return keys_.get(index);
   }
 
   public static final int RANGES_FIELD_NUMBER = 2;
+
   @SuppressWarnings("serial")
   private java.util.List ranges_;
   /**
+   *
+   *
    * 
    * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
    * key range specifications.
@@ -146,6 +175,8 @@ public java.util.List getRangesList() {
     return ranges_;
   }
   /**
+   *
+   *
    * 
    * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
    * key range specifications.
@@ -154,11 +185,13 @@ public java.util.List getRangesList() {
    * repeated .google.spanner.v1.KeyRange ranges = 2;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getRangesOrBuilderList() {
     return ranges_;
   }
   /**
+   *
+   *
    * 
    * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
    * key range specifications.
@@ -171,6 +204,8 @@ public int getRangesCount() {
     return ranges_.size();
   }
   /**
+   *
+   *
    * 
    * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
    * key range specifications.
@@ -183,6 +218,8 @@ public com.google.spanner.v1.KeyRange getRanges(int index) {
     return ranges_.get(index);
   }
   /**
+   *
+   *
    * 
    * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
    * key range specifications.
@@ -191,14 +228,15 @@ public com.google.spanner.v1.KeyRange getRanges(int index) {
    * repeated .google.spanner.v1.KeyRange ranges = 2;
    */
   @java.lang.Override
-  public com.google.spanner.v1.KeyRangeOrBuilder getRangesOrBuilder(
-      int index) {
+  public com.google.spanner.v1.KeyRangeOrBuilder getRangesOrBuilder(int index) {
     return ranges_.get(index);
   }
 
   public static final int ALL_FIELD_NUMBER = 3;
   private boolean all_ = false;
   /**
+   *
+   *
    * 
    * For convenience `all` can be set to `true` to indicate that this
    * `KeySet` matches all keys in the table or index. Note that any keys
@@ -206,6 +244,7 @@ public com.google.spanner.v1.KeyRangeOrBuilder getRangesOrBuilder(
    * 
* * bool all = 3; + * * @return The all. */ @java.lang.Override @@ -214,6 +253,7 @@ public boolean getAll() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -225,8 +265,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 < keys_.size(); i++) { output.writeMessage(1, keys_.get(i)); } @@ -246,16 +285,13 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < keys_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, keys_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, keys_.get(i)); } for (int i = 0; i < ranges_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, ranges_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, ranges_.get(i)); } if (all_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, all_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, all_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -265,19 +301,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.spanner.v1.KeySet)) { return super.equals(obj); } com.google.spanner.v1.KeySet other = (com.google.spanner.v1.KeySet) obj; - if (!getKeysList() - .equals(other.getKeysList())) return false; - if (!getRangesList() - .equals(other.getRangesList())) return false; - if (getAll() - != other.getAll()) return false; + if (!getKeysList().equals(other.getKeysList())) return false; + if (!getRangesList().equals(other.getRangesList())) return false; + if (getAll() != other.getAll()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -298,104 +331,109 @@ public int hashCode() { hash = (53 * hash) + getRangesList().hashCode(); } hash = (37 * hash) + ALL_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAll()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAll()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.spanner.v1.KeySet parseFrom( - java.nio.ByteBuffer data) + public static com.google.spanner.v1.KeySet parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.KeySet parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.KeySet parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.spanner.v1.KeySet parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.KeySet parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.v1.KeySet parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.KeySet parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.v1.KeySet parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.v1.KeySet parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.spanner.v1.KeySet 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.spanner.v1.KeySet parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.KeySet parseFrom( - com.google.protobuf.CodedInputStream input) + + public static com.google.spanner.v1.KeySet 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.spanner.v1.KeySet parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.spanner.v1.KeySet prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `KeySet` defines a collection of Cloud Spanner keys and/or key ranges. All
    * the keys are expected to be in the same table or index. The keys need
@@ -407,33 +445,30 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.spanner.v1.KeySet}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.spanner.v1.KeySet)
       com.google.spanner.v1.KeySetOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
       return com.google.spanner.v1.KeysProto.internal_static_google_spanner_v1_KeySet_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.v1.KeysProto.internal_static_google_spanner_v1_KeySet_fieldAccessorTable
+      return com.google.spanner.v1.KeysProto
+          .internal_static_google_spanner_v1_KeySet_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
               com.google.spanner.v1.KeySet.class, com.google.spanner.v1.KeySet.Builder.class);
     }
 
     // Construct using com.google.spanner.v1.KeySet.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -457,8 +492,7 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
       return com.google.spanner.v1.KeysProto.internal_static_google_spanner_v1_KeySet_descriptor;
     }
 
@@ -480,7 +514,9 @@ public com.google.spanner.v1.KeySet build() {
     public com.google.spanner.v1.KeySet buildPartial() {
       com.google.spanner.v1.KeySet result = new com.google.spanner.v1.KeySet(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -517,38 +553,39 @@ private void buildPartial0(com.google.spanner.v1.KeySet 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.spanner.v1.KeySet) {
-        return mergeFrom((com.google.spanner.v1.KeySet)other);
+        return mergeFrom((com.google.spanner.v1.KeySet) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -575,9 +612,10 @@ public Builder mergeFrom(com.google.spanner.v1.KeySet other) {
             keysBuilder_ = null;
             keys_ = other.keys_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            keysBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getKeysFieldBuilder() : null;
+            keysBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getKeysFieldBuilder()
+                    : null;
           } else {
             keysBuilder_.addAllMessages(other.keys_);
           }
@@ -601,9 +639,10 @@ public Builder mergeFrom(com.google.spanner.v1.KeySet other) {
             rangesBuilder_ = null;
             ranges_ = other.ranges_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            rangesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getRangesFieldBuilder() : null;
+            rangesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getRangesFieldBuilder()
+                    : null;
           } else {
             rangesBuilder_.addAllMessages(other.ranges_);
           }
@@ -638,43 +677,43 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.protobuf.ListValue m =
-                  input.readMessage(
-                      com.google.protobuf.ListValue.parser(),
-                      extensionRegistry);
-              if (keysBuilder_ == null) {
-                ensureKeysIsMutable();
-                keys_.add(m);
-              } else {
-                keysBuilder_.addMessage(m);
-              }
-              break;
-            } // case 10
-            case 18: {
-              com.google.spanner.v1.KeyRange m =
-                  input.readMessage(
-                      com.google.spanner.v1.KeyRange.parser(),
-                      extensionRegistry);
-              if (rangesBuilder_ == null) {
-                ensureRangesIsMutable();
-                ranges_.add(m);
-              } else {
-                rangesBuilder_.addMessage(m);
-              }
-              break;
-            } // case 18
-            case 24: {
-              all_ = input.readBool();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 24
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                com.google.protobuf.ListValue m =
+                    input.readMessage(com.google.protobuf.ListValue.parser(), extensionRegistry);
+                if (keysBuilder_ == null) {
+                  ensureKeysIsMutable();
+                  keys_.add(m);
+                } else {
+                  keysBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+            case 18:
+              {
+                com.google.spanner.v1.KeyRange m =
+                    input.readMessage(com.google.spanner.v1.KeyRange.parser(), extensionRegistry);
+                if (rangesBuilder_ == null) {
+                  ensureRangesIsMutable();
+                  ranges_.add(m);
+                } else {
+                  rangesBuilder_.addMessage(m);
+                }
+                break;
+              } // case 18
+            case 24:
+              {
+                all_ = 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) {
@@ -684,21 +723,27 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
-    private java.util.List keys_ =
-      java.util.Collections.emptyList();
+    private java.util.List keys_ = java.util.Collections.emptyList();
+
     private void ensureKeysIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         keys_ = new java.util.ArrayList(keys_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.protobuf.ListValue, com.google.protobuf.ListValue.Builder, com.google.protobuf.ListValueOrBuilder> keysBuilder_;
+            com.google.protobuf.ListValue,
+            com.google.protobuf.ListValue.Builder,
+            com.google.protobuf.ListValueOrBuilder>
+        keysBuilder_;
 
     /**
+     *
+     *
      * 
      * A list of specific keys. Entries in `keys` should have exactly as
      * many elements as there are columns in the primary or index key
@@ -716,6 +761,8 @@ public java.util.List getKeysList() {
       }
     }
     /**
+     *
+     *
      * 
      * A list of specific keys. Entries in `keys` should have exactly as
      * many elements as there are columns in the primary or index key
@@ -733,6 +780,8 @@ public int getKeysCount() {
       }
     }
     /**
+     *
+     *
      * 
      * A list of specific keys. Entries in `keys` should have exactly as
      * many elements as there are columns in the primary or index key
@@ -750,6 +799,8 @@ public com.google.protobuf.ListValue getKeys(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * A list of specific keys. Entries in `keys` should have exactly as
      * many elements as there are columns in the primary or index key
@@ -759,8 +810,7 @@ public com.google.protobuf.ListValue getKeys(int index) {
      *
      * repeated .google.protobuf.ListValue keys = 1;
      */
-    public Builder setKeys(
-        int index, com.google.protobuf.ListValue value) {
+    public Builder setKeys(int index, com.google.protobuf.ListValue value) {
       if (keysBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -774,6 +824,8 @@ public Builder setKeys(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of specific keys. Entries in `keys` should have exactly as
      * many elements as there are columns in the primary or index key
@@ -783,8 +835,7 @@ public Builder setKeys(
      *
      * repeated .google.protobuf.ListValue keys = 1;
      */
-    public Builder setKeys(
-        int index, com.google.protobuf.ListValue.Builder builderForValue) {
+    public Builder setKeys(int index, com.google.protobuf.ListValue.Builder builderForValue) {
       if (keysBuilder_ == null) {
         ensureKeysIsMutable();
         keys_.set(index, builderForValue.build());
@@ -795,6 +846,8 @@ public Builder setKeys(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of specific keys. Entries in `keys` should have exactly as
      * many elements as there are columns in the primary or index key
@@ -818,6 +871,8 @@ public Builder addKeys(com.google.protobuf.ListValue value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of specific keys. Entries in `keys` should have exactly as
      * many elements as there are columns in the primary or index key
@@ -827,8 +882,7 @@ public Builder addKeys(com.google.protobuf.ListValue value) {
      *
      * repeated .google.protobuf.ListValue keys = 1;
      */
-    public Builder addKeys(
-        int index, com.google.protobuf.ListValue value) {
+    public Builder addKeys(int index, com.google.protobuf.ListValue value) {
       if (keysBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -842,6 +896,8 @@ public Builder addKeys(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of specific keys. Entries in `keys` should have exactly as
      * many elements as there are columns in the primary or index key
@@ -851,8 +907,7 @@ public Builder addKeys(
      *
      * repeated .google.protobuf.ListValue keys = 1;
      */
-    public Builder addKeys(
-        com.google.protobuf.ListValue.Builder builderForValue) {
+    public Builder addKeys(com.google.protobuf.ListValue.Builder builderForValue) {
       if (keysBuilder_ == null) {
         ensureKeysIsMutable();
         keys_.add(builderForValue.build());
@@ -863,6 +918,8 @@ public Builder addKeys(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of specific keys. Entries in `keys` should have exactly as
      * many elements as there are columns in the primary or index key
@@ -872,8 +929,7 @@ public Builder addKeys(
      *
      * repeated .google.protobuf.ListValue keys = 1;
      */
-    public Builder addKeys(
-        int index, com.google.protobuf.ListValue.Builder builderForValue) {
+    public Builder addKeys(int index, com.google.protobuf.ListValue.Builder builderForValue) {
       if (keysBuilder_ == null) {
         ensureKeysIsMutable();
         keys_.add(index, builderForValue.build());
@@ -884,6 +940,8 @@ public Builder addKeys(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of specific keys. Entries in `keys` should have exactly as
      * many elements as there are columns in the primary or index key
@@ -893,12 +951,10 @@ public Builder addKeys(
      *
      * repeated .google.protobuf.ListValue keys = 1;
      */
-    public Builder addAllKeys(
-        java.lang.Iterable values) {
+    public Builder addAllKeys(java.lang.Iterable values) {
       if (keysBuilder_ == null) {
         ensureKeysIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, keys_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, keys_);
         onChanged();
       } else {
         keysBuilder_.addAllMessages(values);
@@ -906,6 +962,8 @@ public Builder addAllKeys(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of specific keys. Entries in `keys` should have exactly as
      * many elements as there are columns in the primary or index key
@@ -926,6 +984,8 @@ public Builder clearKeys() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of specific keys. Entries in `keys` should have exactly as
      * many elements as there are columns in the primary or index key
@@ -946,6 +1006,8 @@ public Builder removeKeys(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of specific keys. Entries in `keys` should have exactly as
      * many elements as there are columns in the primary or index key
@@ -955,11 +1017,12 @@ public Builder removeKeys(int index) {
      *
      * repeated .google.protobuf.ListValue keys = 1;
      */
-    public com.google.protobuf.ListValue.Builder getKeysBuilder(
-        int index) {
+    public com.google.protobuf.ListValue.Builder getKeysBuilder(int index) {
       return getKeysFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * A list of specific keys. Entries in `keys` should have exactly as
      * many elements as there are columns in the primary or index key
@@ -969,14 +1032,16 @@ public com.google.protobuf.ListValue.Builder getKeysBuilder(
      *
      * repeated .google.protobuf.ListValue keys = 1;
      */
-    public com.google.protobuf.ListValueOrBuilder getKeysOrBuilder(
-        int index) {
+    public com.google.protobuf.ListValueOrBuilder getKeysOrBuilder(int index) {
       if (keysBuilder_ == null) {
-        return keys_.get(index);  } else {
+        return keys_.get(index);
+      } else {
         return keysBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * A list of specific keys. Entries in `keys` should have exactly as
      * many elements as there are columns in the primary or index key
@@ -986,8 +1051,7 @@ public com.google.protobuf.ListValueOrBuilder getKeysOrBuilder(
      *
      * repeated .google.protobuf.ListValue keys = 1;
      */
-    public java.util.List 
-         getKeysOrBuilderList() {
+    public java.util.List getKeysOrBuilderList() {
       if (keysBuilder_ != null) {
         return keysBuilder_.getMessageOrBuilderList();
       } else {
@@ -995,6 +1059,8 @@ public com.google.protobuf.ListValueOrBuilder getKeysOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * A list of specific keys. Entries in `keys` should have exactly as
      * many elements as there are columns in the primary or index key
@@ -1005,10 +1071,11 @@ public com.google.protobuf.ListValueOrBuilder getKeysOrBuilder(
      * repeated .google.protobuf.ListValue keys = 1;
      */
     public com.google.protobuf.ListValue.Builder addKeysBuilder() {
-      return getKeysFieldBuilder().addBuilder(
-          com.google.protobuf.ListValue.getDefaultInstance());
+      return getKeysFieldBuilder().addBuilder(com.google.protobuf.ListValue.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A list of specific keys. Entries in `keys` should have exactly as
      * many elements as there are columns in the primary or index key
@@ -1018,12 +1085,13 @@ public com.google.protobuf.ListValue.Builder addKeysBuilder() {
      *
      * repeated .google.protobuf.ListValue keys = 1;
      */
-    public com.google.protobuf.ListValue.Builder addKeysBuilder(
-        int index) {
-      return getKeysFieldBuilder().addBuilder(
-          index, com.google.protobuf.ListValue.getDefaultInstance());
+    public com.google.protobuf.ListValue.Builder addKeysBuilder(int index) {
+      return getKeysFieldBuilder()
+          .addBuilder(index, com.google.protobuf.ListValue.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A list of specific keys. Entries in `keys` should have exactly as
      * many elements as there are columns in the primary or index key
@@ -1033,38 +1101,46 @@ public com.google.protobuf.ListValue.Builder addKeysBuilder(
      *
      * repeated .google.protobuf.ListValue keys = 1;
      */
-    public java.util.List 
-         getKeysBuilderList() {
+    public java.util.List getKeysBuilderList() {
       return getKeysFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.protobuf.ListValue, com.google.protobuf.ListValue.Builder, com.google.protobuf.ListValueOrBuilder> 
+            com.google.protobuf.ListValue,
+            com.google.protobuf.ListValue.Builder,
+            com.google.protobuf.ListValueOrBuilder>
         getKeysFieldBuilder() {
       if (keysBuilder_ == null) {
-        keysBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.protobuf.ListValue, com.google.protobuf.ListValue.Builder, com.google.protobuf.ListValueOrBuilder>(
-                keys_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        keysBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.protobuf.ListValue,
+                com.google.protobuf.ListValue.Builder,
+                com.google.protobuf.ListValueOrBuilder>(
+                keys_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         keys_ = null;
       }
       return keysBuilder_;
     }
 
     private java.util.List ranges_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureRangesIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
         ranges_ = new java.util.ArrayList(ranges_);
         bitField0_ |= 0x00000002;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.spanner.v1.KeyRange, com.google.spanner.v1.KeyRange.Builder, com.google.spanner.v1.KeyRangeOrBuilder> rangesBuilder_;
+            com.google.spanner.v1.KeyRange,
+            com.google.spanner.v1.KeyRange.Builder,
+            com.google.spanner.v1.KeyRangeOrBuilder>
+        rangesBuilder_;
 
     /**
+     *
+     *
      * 
      * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
      * key range specifications.
@@ -1080,6 +1156,8 @@ public java.util.List getRangesList() {
       }
     }
     /**
+     *
+     *
      * 
      * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
      * key range specifications.
@@ -1095,6 +1173,8 @@ public int getRangesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
      * key range specifications.
@@ -1110,6 +1190,8 @@ public com.google.spanner.v1.KeyRange getRanges(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
      * key range specifications.
@@ -1117,8 +1199,7 @@ public com.google.spanner.v1.KeyRange getRanges(int index) {
      *
      * repeated .google.spanner.v1.KeyRange ranges = 2;
      */
-    public Builder setRanges(
-        int index, com.google.spanner.v1.KeyRange value) {
+    public Builder setRanges(int index, com.google.spanner.v1.KeyRange value) {
       if (rangesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1132,6 +1213,8 @@ public Builder setRanges(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
      * key range specifications.
@@ -1139,8 +1222,7 @@ public Builder setRanges(
      *
      * repeated .google.spanner.v1.KeyRange ranges = 2;
      */
-    public Builder setRanges(
-        int index, com.google.spanner.v1.KeyRange.Builder builderForValue) {
+    public Builder setRanges(int index, com.google.spanner.v1.KeyRange.Builder builderForValue) {
       if (rangesBuilder_ == null) {
         ensureRangesIsMutable();
         ranges_.set(index, builderForValue.build());
@@ -1151,6 +1233,8 @@ public Builder setRanges(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
      * key range specifications.
@@ -1172,6 +1256,8 @@ public Builder addRanges(com.google.spanner.v1.KeyRange value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
      * key range specifications.
@@ -1179,8 +1265,7 @@ public Builder addRanges(com.google.spanner.v1.KeyRange value) {
      *
      * repeated .google.spanner.v1.KeyRange ranges = 2;
      */
-    public Builder addRanges(
-        int index, com.google.spanner.v1.KeyRange value) {
+    public Builder addRanges(int index, com.google.spanner.v1.KeyRange value) {
       if (rangesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1194,6 +1279,8 @@ public Builder addRanges(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
      * key range specifications.
@@ -1201,8 +1288,7 @@ public Builder addRanges(
      *
      * repeated .google.spanner.v1.KeyRange ranges = 2;
      */
-    public Builder addRanges(
-        com.google.spanner.v1.KeyRange.Builder builderForValue) {
+    public Builder addRanges(com.google.spanner.v1.KeyRange.Builder builderForValue) {
       if (rangesBuilder_ == null) {
         ensureRangesIsMutable();
         ranges_.add(builderForValue.build());
@@ -1213,6 +1299,8 @@ public Builder addRanges(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
      * key range specifications.
@@ -1220,8 +1308,7 @@ public Builder addRanges(
      *
      * repeated .google.spanner.v1.KeyRange ranges = 2;
      */
-    public Builder addRanges(
-        int index, com.google.spanner.v1.KeyRange.Builder builderForValue) {
+    public Builder addRanges(int index, com.google.spanner.v1.KeyRange.Builder builderForValue) {
       if (rangesBuilder_ == null) {
         ensureRangesIsMutable();
         ranges_.add(index, builderForValue.build());
@@ -1232,6 +1319,8 @@ public Builder addRanges(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
      * key range specifications.
@@ -1243,8 +1332,7 @@ public Builder addAllRanges(
         java.lang.Iterable values) {
       if (rangesBuilder_ == null) {
         ensureRangesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, ranges_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, ranges_);
         onChanged();
       } else {
         rangesBuilder_.addAllMessages(values);
@@ -1252,6 +1340,8 @@ public Builder addAllRanges(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
      * key range specifications.
@@ -1270,6 +1360,8 @@ public Builder clearRanges() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
      * key range specifications.
@@ -1288,6 +1380,8 @@ public Builder removeRanges(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
      * key range specifications.
@@ -1295,11 +1389,12 @@ public Builder removeRanges(int index) {
      *
      * repeated .google.spanner.v1.KeyRange ranges = 2;
      */
-    public com.google.spanner.v1.KeyRange.Builder getRangesBuilder(
-        int index) {
+    public com.google.spanner.v1.KeyRange.Builder getRangesBuilder(int index) {
       return getRangesFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
      * key range specifications.
@@ -1307,14 +1402,16 @@ public com.google.spanner.v1.KeyRange.Builder getRangesBuilder(
      *
      * repeated .google.spanner.v1.KeyRange ranges = 2;
      */
-    public com.google.spanner.v1.KeyRangeOrBuilder getRangesOrBuilder(
-        int index) {
+    public com.google.spanner.v1.KeyRangeOrBuilder getRangesOrBuilder(int index) {
       if (rangesBuilder_ == null) {
-        return ranges_.get(index);  } else {
+        return ranges_.get(index);
+      } else {
         return rangesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
      * key range specifications.
@@ -1322,8 +1419,8 @@ public com.google.spanner.v1.KeyRangeOrBuilder getRangesOrBuilder(
      *
      * repeated .google.spanner.v1.KeyRange ranges = 2;
      */
-    public java.util.List 
-         getRangesOrBuilderList() {
+    public java.util.List
+        getRangesOrBuilderList() {
       if (rangesBuilder_ != null) {
         return rangesBuilder_.getMessageOrBuilderList();
       } else {
@@ -1331,6 +1428,8 @@ public com.google.spanner.v1.KeyRangeOrBuilder getRangesOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
      * key range specifications.
@@ -1339,10 +1438,12 @@ public com.google.spanner.v1.KeyRangeOrBuilder getRangesOrBuilder(
      * repeated .google.spanner.v1.KeyRange ranges = 2;
      */
     public com.google.spanner.v1.KeyRange.Builder addRangesBuilder() {
-      return getRangesFieldBuilder().addBuilder(
-          com.google.spanner.v1.KeyRange.getDefaultInstance());
+      return getRangesFieldBuilder()
+          .addBuilder(com.google.spanner.v1.KeyRange.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
      * key range specifications.
@@ -1350,12 +1451,13 @@ public com.google.spanner.v1.KeyRange.Builder addRangesBuilder() {
      *
      * repeated .google.spanner.v1.KeyRange ranges = 2;
      */
-    public com.google.spanner.v1.KeyRange.Builder addRangesBuilder(
-        int index) {
-      return getRangesFieldBuilder().addBuilder(
-          index, com.google.spanner.v1.KeyRange.getDefaultInstance());
+    public com.google.spanner.v1.KeyRange.Builder addRangesBuilder(int index) {
+      return getRangesFieldBuilder()
+          .addBuilder(index, com.google.spanner.v1.KeyRange.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
      * key range specifications.
@@ -1363,27 +1465,31 @@ public com.google.spanner.v1.KeyRange.Builder addRangesBuilder(
      *
      * repeated .google.spanner.v1.KeyRange ranges = 2;
      */
-    public java.util.List 
-         getRangesBuilderList() {
+    public java.util.List getRangesBuilderList() {
       return getRangesFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.spanner.v1.KeyRange, com.google.spanner.v1.KeyRange.Builder, com.google.spanner.v1.KeyRangeOrBuilder> 
+            com.google.spanner.v1.KeyRange,
+            com.google.spanner.v1.KeyRange.Builder,
+            com.google.spanner.v1.KeyRangeOrBuilder>
         getRangesFieldBuilder() {
       if (rangesBuilder_ == null) {
-        rangesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.spanner.v1.KeyRange, com.google.spanner.v1.KeyRange.Builder, com.google.spanner.v1.KeyRangeOrBuilder>(
-                ranges_,
-                ((bitField0_ & 0x00000002) != 0),
-                getParentForChildren(),
-                isClean());
+        rangesBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.spanner.v1.KeyRange,
+                com.google.spanner.v1.KeyRange.Builder,
+                com.google.spanner.v1.KeyRangeOrBuilder>(
+                ranges_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
         ranges_ = null;
       }
       return rangesBuilder_;
     }
 
-    private boolean all_ ;
+    private boolean all_;
     /**
+     *
+     *
      * 
      * For convenience `all` can be set to `true` to indicate that this
      * `KeySet` matches all keys in the table or index. Note that any keys
@@ -1391,6 +1497,7 @@ public com.google.spanner.v1.KeyRange.Builder addRangesBuilder(
      * 
* * bool all = 3; + * * @return The all. */ @java.lang.Override @@ -1398,6 +1505,8 @@ public boolean getAll() { return all_; } /** + * + * *
      * For convenience `all` can be set to `true` to indicate that this
      * `KeySet` matches all keys in the table or index. Note that any keys
@@ -1405,17 +1514,20 @@ public boolean getAll() {
      * 
* * bool all = 3; + * * @param value The all to set. * @return This builder for chaining. */ public Builder setAll(boolean value) { - + all_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * For convenience `all` can be set to `true` to indicate that this
      * `KeySet` matches all keys in the table or index. Note that any keys
@@ -1423,6 +1535,7 @@ public Builder setAll(boolean value) {
      * 
* * bool all = 3; + * * @return This builder for chaining. */ public Builder clearAll() { @@ -1431,9 +1544,9 @@ public Builder clearAll() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1443,12 +1556,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.v1.KeySet) } // @@protoc_insertion_point(class_scope:google.spanner.v1.KeySet) private static final com.google.spanner.v1.KeySet DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.v1.KeySet(); } @@ -1457,27 +1570,27 @@ public static com.google.spanner.v1.KeySet getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public KeySet parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public KeySet parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1492,6 +1605,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.KeySet getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeySetOrBuilder.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeySetOrBuilder.java similarity index 78% rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeySetOrBuilder.java rename to proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeySetOrBuilder.java index c30facaf93f..7ff32d68436 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeySetOrBuilder.java +++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeySetOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/keys.proto package com.google.spanner.v1; -public interface KeySetOrBuilder extends +public interface KeySetOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.KeySet) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A list of specific keys. Entries in `keys` should have exactly as
    * many elements as there are columns in the primary or index key
@@ -17,9 +35,10 @@ public interface KeySetOrBuilder extends
    *
    * repeated .google.protobuf.ListValue keys = 1;
    */
-  java.util.List 
-      getKeysList();
+  java.util.List getKeysList();
   /**
+   *
+   *
    * 
    * A list of specific keys. Entries in `keys` should have exactly as
    * many elements as there are columns in the primary or index key
@@ -31,6 +50,8 @@ public interface KeySetOrBuilder extends
    */
   com.google.protobuf.ListValue getKeys(int index);
   /**
+   *
+   *
    * 
    * A list of specific keys. Entries in `keys` should have exactly as
    * many elements as there are columns in the primary or index key
@@ -42,6 +63,8 @@ public interface KeySetOrBuilder extends
    */
   int getKeysCount();
   /**
+   *
+   *
    * 
    * A list of specific keys. Entries in `keys` should have exactly as
    * many elements as there are columns in the primary or index key
@@ -51,9 +74,10 @@ public interface KeySetOrBuilder extends
    *
    * repeated .google.protobuf.ListValue keys = 1;
    */
-  java.util.List 
-      getKeysOrBuilderList();
+  java.util.List getKeysOrBuilderList();
   /**
+   *
+   *
    * 
    * A list of specific keys. Entries in `keys` should have exactly as
    * many elements as there are columns in the primary or index key
@@ -63,10 +87,11 @@ public interface KeySetOrBuilder extends
    *
    * repeated .google.protobuf.ListValue keys = 1;
    */
-  com.google.protobuf.ListValueOrBuilder getKeysOrBuilder(
-      int index);
+  com.google.protobuf.ListValueOrBuilder getKeysOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
    * key range specifications.
@@ -74,9 +99,10 @@ com.google.protobuf.ListValueOrBuilder getKeysOrBuilder(
    *
    * repeated .google.spanner.v1.KeyRange ranges = 2;
    */
-  java.util.List 
-      getRangesList();
+  java.util.List getRangesList();
   /**
+   *
+   *
    * 
    * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
    * key range specifications.
@@ -86,6 +112,8 @@ com.google.protobuf.ListValueOrBuilder getKeysOrBuilder(
    */
   com.google.spanner.v1.KeyRange getRanges(int index);
   /**
+   *
+   *
    * 
    * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
    * key range specifications.
@@ -95,6 +123,8 @@ com.google.protobuf.ListValueOrBuilder getKeysOrBuilder(
    */
   int getRangesCount();
   /**
+   *
+   *
    * 
    * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
    * key range specifications.
@@ -102,9 +132,10 @@ com.google.protobuf.ListValueOrBuilder getKeysOrBuilder(
    *
    * repeated .google.spanner.v1.KeyRange ranges = 2;
    */
-  java.util.List 
-      getRangesOrBuilderList();
+  java.util.List getRangesOrBuilderList();
   /**
+   *
+   *
    * 
    * A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about
    * key range specifications.
@@ -112,10 +143,11 @@ com.google.protobuf.ListValueOrBuilder getKeysOrBuilder(
    *
    * repeated .google.spanner.v1.KeyRange ranges = 2;
    */
-  com.google.spanner.v1.KeyRangeOrBuilder getRangesOrBuilder(
-      int index);
+  com.google.spanner.v1.KeyRangeOrBuilder getRangesOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * For convenience `all` can be set to `true` to indicate that this
    * `KeySet` matches all keys in the table or index. Note that any keys
@@ -123,6 +155,7 @@ com.google.spanner.v1.KeyRangeOrBuilder getRangesOrBuilder(
    * 
* * bool all = 3; + * * @return The all. */ boolean getAll(); diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeysProto.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeysProto.java new file mode 100644 index 00000000000..c448bd7a673 --- /dev/null +++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/KeysProto.java @@ -0,0 +1,89 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/spanner/v1/keys.proto + +package com.google.spanner.v1; + +public final class KeysProto { + private KeysProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_KeyRange_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_KeyRange_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_KeySet_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_KeySet_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\034google/spanner/v1/keys.proto\022\021google.s" + + "panner.v1\032\034google/protobuf/struct.proto\"" + + "\364\001\n\010KeyRange\0222\n\014start_closed\030\001 \001(\0132\032.goo" + + "gle.protobuf.ListValueH\000\0220\n\nstart_open\030\002" + + " \001(\0132\032.google.protobuf.ListValueH\000\0220\n\nen" + + "d_closed\030\003 \001(\0132\032.google.protobuf.ListVal" + + "ueH\001\022.\n\010end_open\030\004 \001(\0132\032.google.protobuf" + + ".ListValueH\001B\020\n\016start_key_typeB\016\n\014end_ke" + + "y_type\"l\n\006KeySet\022(\n\004keys\030\001 \003(\0132\032.google." + + "protobuf.ListValue\022+\n\006ranges\030\002 \003(\0132\033.goo" + + "gle.spanner.v1.KeyRange\022\013\n\003all\030\003 \001(\010B\254\001\n" + + "\025com.google.spanner.v1B\tKeysProtoP\001Z5clo" + + "ud.google.com/go/spanner/apiv1/spannerpb" + + ";spannerpb\252\002\027Google.Cloud.Spanner.V1\312\002\027G" + + "oogle\\Cloud\\Spanner\\V1\352\002\032Google::Cloud::" + + "Spanner::V1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.protobuf.StructProto.getDescriptor(), + }); + internal_static_google_spanner_v1_KeyRange_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_spanner_v1_KeyRange_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_v1_KeyRange_descriptor, + new java.lang.String[] { + "StartClosed", "StartOpen", "EndClosed", "EndOpen", "StartKeyType", "EndKeyType", + }); + internal_static_google_spanner_v1_KeySet_descriptor = getDescriptor().getMessageTypes().get(1); + internal_static_google_spanner_v1_KeySet_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_v1_KeySet_descriptor, + new java.lang.String[] { + "Keys", "Ranges", "All", + }); + com.google.protobuf.StructProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsRequest.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsRequest.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsRequest.java rename to proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsRequest.java index e06de914b37..fb6f3e29725 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsRequest.java +++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/spanner.proto package com.google.spanner.v1; /** + * + * *
  * The request for [ListSessions][google.spanner.v1.Spanner.ListSessions].
  * 
* * Protobuf type {@code google.spanner.v1.ListSessionsRequest} */ -public final class ListSessionsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListSessionsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.spanner.v1.ListSessionsRequest) ListSessionsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListSessionsRequest.newBuilder() to construct. private ListSessionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListSessionsRequest() { database_ = ""; pageToken_ = ""; @@ -27,38 +45,45 @@ private ListSessionsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListSessionsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ListSessionsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_ListSessionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ListSessionsRequest_fieldAccessorTable + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_ListSessionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.ListSessionsRequest.class, com.google.spanner.v1.ListSessionsRequest.Builder.class); + com.google.spanner.v1.ListSessionsRequest.class, + com.google.spanner.v1.ListSessionsRequest.Builder.class); } public static final int DATABASE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object database_ = ""; /** + * + * *
    * Required. The database in which to list sessions.
    * 
* - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The database. */ @java.lang.Override @@ -67,29 +92,31 @@ public java.lang.String getDatabase() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; } } /** + * + * *
    * Required. The database in which to list sessions.
    * 
* - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for database. */ @java.lang.Override - public com.google.protobuf.ByteString - getDatabaseBytes() { + public com.google.protobuf.ByteString getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); database_ = b; return b; } else { @@ -100,12 +127,15 @@ public java.lang.String getDatabase() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * Number of sessions to be returned in the response. If 0 or less, defaults
    * to the server's maximum allowed page size.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -114,9 +144,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.v1.ListSessionsResponse.next_page_token] from a previous
@@ -124,6 +157,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -132,14 +166,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.spanner.v1.ListSessionsResponse.next_page_token] from a previous
@@ -147,16 +182,15 @@ public java.lang.String getPageToken() {
    * 
* * 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 { @@ -165,9 +199,12 @@ public java.lang.String getPageToken() { } public static final int FILTER_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** + * + * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -179,6 +216,7 @@ public java.lang.String getPageToken() {
    * 
* * string filter = 4; + * * @return The filter. */ @java.lang.Override @@ -187,14 +225,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; } } /** + * + * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -206,16 +245,15 @@ public java.lang.String getFilter() {
    * 
* * string filter = 4; + * * @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 { @@ -224,6 +262,7 @@ public java.lang.String getFilter() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -235,8 +274,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(database_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, database_); } @@ -262,8 +300,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, database_); } 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_); @@ -279,21 +316,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.spanner.v1.ListSessionsRequest)) { return super.equals(obj); } - com.google.spanner.v1.ListSessionsRequest other = (com.google.spanner.v1.ListSessionsRequest) obj; - - if (!getDatabase() - .equals(other.getDatabase())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; + com.google.spanner.v1.ListSessionsRequest other = + (com.google.spanner.v1.ListSessionsRequest) obj; + + if (!getDatabase().equals(other.getDatabase())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -318,130 +352,136 @@ public int hashCode() { return hash; } - public static com.google.spanner.v1.ListSessionsRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.spanner.v1.ListSessionsRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.ListSessionsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.v1.ListSessionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.ListSessionsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.v1.ListSessionsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.ListSessionsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.v1.ListSessionsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.v1.ListSessionsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.ListSessionsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.spanner.v1.ListSessionsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.spanner.v1.ListSessionsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.spanner.v1.ListSessionsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.v1.ListSessionsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.spanner.v1.ListSessionsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [ListSessions][google.spanner.v1.Spanner.ListSessions].
    * 
* * Protobuf type {@code google.spanner.v1.ListSessionsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.ListSessionsRequest) com.google.spanner.v1.ListSessionsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ListSessionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_ListSessionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ListSessionsRequest_fieldAccessorTable + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_ListSessionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.ListSessionsRequest.class, com.google.spanner.v1.ListSessionsRequest.Builder.class); + com.google.spanner.v1.ListSessionsRequest.class, + com.google.spanner.v1.ListSessionsRequest.Builder.class); } // Construct using com.google.spanner.v1.ListSessionsRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - 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,9 +494,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ListSessionsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_ListSessionsRequest_descriptor; } @java.lang.Override @@ -475,8 +515,11 @@ public com.google.spanner.v1.ListSessionsRequest build() { @java.lang.Override public com.google.spanner.v1.ListSessionsRequest buildPartial() { - com.google.spanner.v1.ListSessionsRequest result = new com.google.spanner.v1.ListSessionsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.spanner.v1.ListSessionsRequest result = + new com.google.spanner.v1.ListSessionsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -501,38 +544,39 @@ private void buildPartial0(com.google.spanner.v1.ListSessionsRequest 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.spanner.v1.ListSessionsRequest) { - return mergeFrom((com.google.spanner.v1.ListSessionsRequest)other); + return mergeFrom((com.google.spanner.v1.ListSessionsRequest) other); } else { super.mergeFrom(other); return this; @@ -585,32 +629,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - database_ = 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 - case 34: { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + database_ = 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 + case 34: + { + filter_ = 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) { @@ -620,22 +669,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object database_ = ""; /** + * + * *
      * Required. The database in which to list sessions.
      * 
* - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The database. */ public java.lang.String getDatabase() { java.lang.Object ref = database_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; @@ -644,20 +698,23 @@ public java.lang.String getDatabase() { } } /** + * + * *
      * Required. The database in which to list sessions.
      * 
* - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for database. */ - public com.google.protobuf.ByteString - getDatabaseBytes() { + public com.google.protobuf.ByteString getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); database_ = b; return b; } else { @@ -665,28 +722,39 @@ public java.lang.String getDatabase() { } } /** + * + * *
      * Required. The database in which to list sessions.
      * 
* - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The database to set. * @return This builder for chaining. */ - public Builder setDatabase( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDatabase(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } database_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The database in which to list sessions.
      * 
* - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearDatabase() { @@ -696,17 +764,23 @@ public Builder clearDatabase() { return this; } /** + * + * *
      * Required. The database in which to list sessions.
      * 
* - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for database to set. * @return This builder for chaining. */ - public Builder setDatabaseBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); database_ = value; bitField0_ |= 0x00000001; @@ -714,14 +788,17 @@ public Builder setDatabaseBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Number of sessions to be returned in the response. If 0 or less, defaults
      * to the server's maximum allowed page size.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -729,29 +806,35 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Number of sessions to be returned in the response. If 0 or less, defaults
      * to the server's maximum allowed page size.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Number of sessions to be returned in the response. If 0 or less, defaults
      * to the server's maximum allowed page size.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -763,6 +846,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.v1.ListSessionsResponse.next_page_token] from a previous
@@ -770,13 +855,13 @@ public Builder clearPageSize() {
      * 
* * 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; @@ -785,6 +870,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.v1.ListSessionsResponse.next_page_token] from a previous
@@ -792,15 +879,14 @@ public java.lang.String getPageToken() {
      * 
* * 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 { @@ -808,6 +894,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.v1.ListSessionsResponse.next_page_token] from a previous
@@ -815,18 +903,22 @@ public java.lang.String getPageToken() {
      * 
* * 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; } /** + * + * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.v1.ListSessionsResponse.next_page_token] from a previous
@@ -834,6 +926,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -843,6 +936,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.spanner.v1.ListSessionsResponse.next_page_token] from a previous
@@ -850,12 +945,14 @@ public Builder clearPageToken() {
      * 
* * 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; @@ -865,6 +962,8 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -876,13 +975,13 @@ public Builder setPageTokenBytes(
      * 
* * string filter = 4; + * * @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; @@ -891,6 +990,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -902,15 +1003,14 @@ public java.lang.String getFilter() {
      * 
* * string filter = 4; + * * @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 { @@ -918,6 +1018,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -929,18 +1031,22 @@ public java.lang.String getFilter() {
      * 
* * string filter = 4; + * * @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_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -952,6 +1058,7 @@ public Builder setFilter(
      * 
* * string filter = 4; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -961,6 +1068,8 @@ public Builder clearFilter() { return this; } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -972,21 +1081,23 @@ public Builder clearFilter() {
      * 
* * string filter = 4; + * * @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_ |= 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); } @@ -996,12 +1107,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.v1.ListSessionsRequest) } // @@protoc_insertion_point(class_scope:google.spanner.v1.ListSessionsRequest) private static final com.google.spanner.v1.ListSessionsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.v1.ListSessionsRequest(); } @@ -1010,27 +1121,27 @@ public static com.google.spanner.v1.ListSessionsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListSessionsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListSessionsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1045,6 +1156,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.ListSessionsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsRequestOrBuilder.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsRequestOrBuilder.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsRequestOrBuilder.java rename to proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsRequestOrBuilder.java index 6c95049d981..98c63809bbc 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsRequestOrBuilder.java +++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsRequestOrBuilder.java @@ -1,44 +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/spanner/v1/spanner.proto package com.google.spanner.v1; -public interface ListSessionsRequestOrBuilder extends +public interface ListSessionsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.ListSessionsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The database in which to list sessions.
    * 
* - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The database. */ java.lang.String getDatabase(); /** + * + * *
    * Required. The database in which to list sessions.
    * 
* - * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for database. */ - com.google.protobuf.ByteString - getDatabaseBytes(); + com.google.protobuf.ByteString getDatabaseBytes(); /** + * + * *
    * Number of sessions to be returned in the response. If 0 or less, defaults
    * to the server's maximum allowed page size.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.v1.ListSessionsResponse.next_page_token] from a previous
@@ -46,10 +76,13 @@ public interface ListSessionsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.spanner.v1.ListSessionsResponse.next_page_token] from a previous
@@ -57,12 +90,14 @@ public interface ListSessionsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -74,10 +109,13 @@ public interface ListSessionsRequestOrBuilder extends
    * 
* * string filter = 4; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -89,8 +127,8 @@ public interface ListSessionsRequestOrBuilder extends
    * 
* * string filter = 4; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsResponse.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsResponse.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsResponse.java rename to proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsResponse.java index 2e3abc706ed..204cd5a790f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsResponse.java +++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/spanner.proto package com.google.spanner.v1; /** + * + * *
  * The response for [ListSessions][google.spanner.v1.Spanner.ListSessions].
  * 
* * Protobuf type {@code google.spanner.v1.ListSessionsResponse} */ -public final class ListSessionsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListSessionsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.spanner.v1.ListSessionsResponse) ListSessionsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListSessionsResponse.newBuilder() to construct. private ListSessionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListSessionsResponse() { sessions_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,33 +44,37 @@ private ListSessionsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListSessionsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ListSessionsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_ListSessionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ListSessionsResponse_fieldAccessorTable + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_ListSessionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.ListSessionsResponse.class, com.google.spanner.v1.ListSessionsResponse.Builder.class); + com.google.spanner.v1.ListSessionsResponse.class, + com.google.spanner.v1.ListSessionsResponse.Builder.class); } public static final int SESSIONS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List sessions_; /** + * + * *
    * The list of requested sessions.
    * 
@@ -64,6 +86,8 @@ public java.util.List getSessionsList() { return sessions_; } /** + * + * *
    * The list of requested sessions.
    * 
@@ -71,11 +95,13 @@ public java.util.List getSessionsList() { * repeated .google.spanner.v1.Session sessions = 1; */ @java.lang.Override - public java.util.List + public java.util.List getSessionsOrBuilderList() { return sessions_; } /** + * + * *
    * The list of requested sessions.
    * 
@@ -87,6 +113,8 @@ public int getSessionsCount() { return sessions_.size(); } /** + * + * *
    * The list of requested sessions.
    * 
@@ -98,6 +126,8 @@ public com.google.spanner.v1.Session getSessions(int index) { return sessions_.get(index); } /** + * + * *
    * The list of requested sessions.
    * 
@@ -105,15 +135,17 @@ public com.google.spanner.v1.Session getSessions(int index) { * repeated .google.spanner.v1.Session sessions = 1; */ @java.lang.Override - public com.google.spanner.v1.SessionOrBuilder getSessionsOrBuilder( - int index) { + public com.google.spanner.v1.SessionOrBuilder getSessionsOrBuilder(int index) { return sessions_.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
    * [ListSessions][google.spanner.v1.Spanner.ListSessions] call to fetch more of the matching
@@ -121,6 +153,7 @@ public com.google.spanner.v1.SessionOrBuilder getSessionsOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -129,14 +162,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
    * [ListSessions][google.spanner.v1.Spanner.ListSessions] call to fetch more of the matching
@@ -144,16 +178,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 { @@ -162,6 +195,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -173,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 { for (int i = 0; i < sessions_.size(); i++) { output.writeMessage(1, sessions_.get(i)); } @@ -191,8 +224,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < sessions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, sessions_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, sessions_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -205,17 +237,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.spanner.v1.ListSessionsResponse)) { return super.equals(obj); } - com.google.spanner.v1.ListSessionsResponse other = (com.google.spanner.v1.ListSessionsResponse) obj; + com.google.spanner.v1.ListSessionsResponse other = + (com.google.spanner.v1.ListSessionsResponse) obj; - if (!getSessionsList() - .equals(other.getSessionsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getSessionsList().equals(other.getSessionsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -238,130 +269,136 @@ public int hashCode() { return hash; } - public static com.google.spanner.v1.ListSessionsResponse parseFrom( - java.nio.ByteBuffer data) + public static com.google.spanner.v1.ListSessionsResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.ListSessionsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.v1.ListSessionsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.ListSessionsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.v1.ListSessionsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.ListSessionsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.v1.ListSessionsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.v1.ListSessionsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.ListSessionsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.spanner.v1.ListSessionsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.spanner.v1.ListSessionsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.spanner.v1.ListSessionsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.v1.ListSessionsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.spanner.v1.ListSessionsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [ListSessions][google.spanner.v1.Spanner.ListSessions].
    * 
* * Protobuf type {@code google.spanner.v1.ListSessionsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.ListSessionsResponse) com.google.spanner.v1.ListSessionsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ListSessionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_ListSessionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ListSessionsResponse_fieldAccessorTable + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_ListSessionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.ListSessionsResponse.class, com.google.spanner.v1.ListSessionsResponse.Builder.class); + com.google.spanner.v1.ListSessionsResponse.class, + com.google.spanner.v1.ListSessionsResponse.Builder.class); } // Construct using com.google.spanner.v1.ListSessionsResponse.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +415,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ListSessionsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_ListSessionsResponse_descriptor; } @java.lang.Override @@ -399,9 +436,12 @@ public com.google.spanner.v1.ListSessionsResponse build() { @java.lang.Override public com.google.spanner.v1.ListSessionsResponse buildPartial() { - com.google.spanner.v1.ListSessionsResponse result = new com.google.spanner.v1.ListSessionsResponse(this); + com.google.spanner.v1.ListSessionsResponse result = + new com.google.spanner.v1.ListSessionsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -429,38 +469,39 @@ private void buildPartial0(com.google.spanner.v1.ListSessionsResponse 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.spanner.v1.ListSessionsResponse) { - return mergeFrom((com.google.spanner.v1.ListSessionsResponse)other); + return mergeFrom((com.google.spanner.v1.ListSessionsResponse) other); } else { super.mergeFrom(other); return this; @@ -487,9 +528,10 @@ public Builder mergeFrom(com.google.spanner.v1.ListSessionsResponse other) { sessionsBuilder_ = null; sessions_ = other.sessions_; bitField0_ = (bitField0_ & ~0x00000001); - sessionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getSessionsFieldBuilder() : null; + sessionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getSessionsFieldBuilder() + : null; } else { sessionsBuilder_.addAllMessages(other.sessions_); } @@ -526,30 +568,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.spanner.v1.Session m = - input.readMessage( - com.google.spanner.v1.Session.parser(), - extensionRegistry); - if (sessionsBuilder_ == null) { - ensureSessionsIsMutable(); - sessions_.add(m); - } else { - sessionsBuilder_.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.spanner.v1.Session m = + input.readMessage(com.google.spanner.v1.Session.parser(), extensionRegistry); + if (sessionsBuilder_ == null) { + ensureSessionsIsMutable(); + sessions_.add(m); + } else { + sessionsBuilder_.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) { @@ -559,21 +602,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List sessions_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureSessionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { sessions_ = new java.util.ArrayList(sessions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.v1.Session, com.google.spanner.v1.Session.Builder, com.google.spanner.v1.SessionOrBuilder> sessionsBuilder_; + com.google.spanner.v1.Session, + com.google.spanner.v1.Session.Builder, + com.google.spanner.v1.SessionOrBuilder> + sessionsBuilder_; /** + * + * *
      * The list of requested sessions.
      * 
@@ -588,6 +638,8 @@ public java.util.List getSessionsList() { } } /** + * + * *
      * The list of requested sessions.
      * 
@@ -602,6 +654,8 @@ public int getSessionsCount() { } } /** + * + * *
      * The list of requested sessions.
      * 
@@ -616,14 +670,15 @@ public com.google.spanner.v1.Session getSessions(int index) { } } /** + * + * *
      * The list of requested sessions.
      * 
* * repeated .google.spanner.v1.Session sessions = 1; */ - public Builder setSessions( - int index, com.google.spanner.v1.Session value) { + public Builder setSessions(int index, com.google.spanner.v1.Session value) { if (sessionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -637,14 +692,15 @@ public Builder setSessions( return this; } /** + * + * *
      * The list of requested sessions.
      * 
* * repeated .google.spanner.v1.Session sessions = 1; */ - public Builder setSessions( - int index, com.google.spanner.v1.Session.Builder builderForValue) { + public Builder setSessions(int index, com.google.spanner.v1.Session.Builder builderForValue) { if (sessionsBuilder_ == null) { ensureSessionsIsMutable(); sessions_.set(index, builderForValue.build()); @@ -655,6 +711,8 @@ public Builder setSessions( return this; } /** + * + * *
      * The list of requested sessions.
      * 
@@ -675,14 +733,15 @@ public Builder addSessions(com.google.spanner.v1.Session value) { return this; } /** + * + * *
      * The list of requested sessions.
      * 
* * repeated .google.spanner.v1.Session sessions = 1; */ - public Builder addSessions( - int index, com.google.spanner.v1.Session value) { + public Builder addSessions(int index, com.google.spanner.v1.Session value) { if (sessionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -696,14 +755,15 @@ public Builder addSessions( return this; } /** + * + * *
      * The list of requested sessions.
      * 
* * repeated .google.spanner.v1.Session sessions = 1; */ - public Builder addSessions( - com.google.spanner.v1.Session.Builder builderForValue) { + public Builder addSessions(com.google.spanner.v1.Session.Builder builderForValue) { if (sessionsBuilder_ == null) { ensureSessionsIsMutable(); sessions_.add(builderForValue.build()); @@ -714,14 +774,15 @@ public Builder addSessions( return this; } /** + * + * *
      * The list of requested sessions.
      * 
* * repeated .google.spanner.v1.Session sessions = 1; */ - public Builder addSessions( - int index, com.google.spanner.v1.Session.Builder builderForValue) { + public Builder addSessions(int index, com.google.spanner.v1.Session.Builder builderForValue) { if (sessionsBuilder_ == null) { ensureSessionsIsMutable(); sessions_.add(index, builderForValue.build()); @@ -732,6 +793,8 @@ public Builder addSessions( return this; } /** + * + * *
      * The list of requested sessions.
      * 
@@ -742,8 +805,7 @@ public Builder addAllSessions( java.lang.Iterable values) { if (sessionsBuilder_ == null) { ensureSessionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, sessions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, sessions_); onChanged(); } else { sessionsBuilder_.addAllMessages(values); @@ -751,6 +813,8 @@ public Builder addAllSessions( return this; } /** + * + * *
      * The list of requested sessions.
      * 
@@ -768,6 +832,8 @@ public Builder clearSessions() { return this; } /** + * + * *
      * The list of requested sessions.
      * 
@@ -785,39 +851,44 @@ public Builder removeSessions(int index) { return this; } /** + * + * *
      * The list of requested sessions.
      * 
* * repeated .google.spanner.v1.Session sessions = 1; */ - public com.google.spanner.v1.Session.Builder getSessionsBuilder( - int index) { + public com.google.spanner.v1.Session.Builder getSessionsBuilder(int index) { return getSessionsFieldBuilder().getBuilder(index); } /** + * + * *
      * The list of requested sessions.
      * 
* * repeated .google.spanner.v1.Session sessions = 1; */ - public com.google.spanner.v1.SessionOrBuilder getSessionsOrBuilder( - int index) { + public com.google.spanner.v1.SessionOrBuilder getSessionsOrBuilder(int index) { if (sessionsBuilder_ == null) { - return sessions_.get(index); } else { + return sessions_.get(index); + } else { return sessionsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The list of requested sessions.
      * 
* * repeated .google.spanner.v1.Session sessions = 1; */ - public java.util.List - getSessionsOrBuilderList() { + public java.util.List + getSessionsOrBuilderList() { if (sessionsBuilder_ != null) { return sessionsBuilder_.getMessageOrBuilderList(); } else { @@ -825,6 +896,8 @@ public com.google.spanner.v1.SessionOrBuilder getSessionsOrBuilder( } } /** + * + * *
      * The list of requested sessions.
      * 
@@ -832,42 +905,47 @@ public com.google.spanner.v1.SessionOrBuilder getSessionsOrBuilder( * repeated .google.spanner.v1.Session sessions = 1; */ public com.google.spanner.v1.Session.Builder addSessionsBuilder() { - return getSessionsFieldBuilder().addBuilder( - com.google.spanner.v1.Session.getDefaultInstance()); + return getSessionsFieldBuilder() + .addBuilder(com.google.spanner.v1.Session.getDefaultInstance()); } /** + * + * *
      * The list of requested sessions.
      * 
* * repeated .google.spanner.v1.Session sessions = 1; */ - public com.google.spanner.v1.Session.Builder addSessionsBuilder( - int index) { - return getSessionsFieldBuilder().addBuilder( - index, com.google.spanner.v1.Session.getDefaultInstance()); + public com.google.spanner.v1.Session.Builder addSessionsBuilder(int index) { + return getSessionsFieldBuilder() + .addBuilder(index, com.google.spanner.v1.Session.getDefaultInstance()); } /** + * + * *
      * The list of requested sessions.
      * 
* * repeated .google.spanner.v1.Session sessions = 1; */ - public java.util.List - getSessionsBuilderList() { + public java.util.List getSessionsBuilderList() { return getSessionsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.v1.Session, com.google.spanner.v1.Session.Builder, com.google.spanner.v1.SessionOrBuilder> + com.google.spanner.v1.Session, + com.google.spanner.v1.Session.Builder, + com.google.spanner.v1.SessionOrBuilder> getSessionsFieldBuilder() { if (sessionsBuilder_ == null) { - sessionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.v1.Session, com.google.spanner.v1.Session.Builder, com.google.spanner.v1.SessionOrBuilder>( - sessions_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + sessionsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.spanner.v1.Session, + com.google.spanner.v1.Session.Builder, + com.google.spanner.v1.SessionOrBuilder>( + sessions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); sessions_ = null; } return sessionsBuilder_; @@ -875,6 +953,8 @@ public com.google.spanner.v1.Session.Builder addSessionsBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * `next_page_token` can be sent in a subsequent
      * [ListSessions][google.spanner.v1.Spanner.ListSessions] call to fetch more of the matching
@@ -882,13 +962,13 @@ public com.google.spanner.v1.Session.Builder addSessionsBuilder(
      * 
* * 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; @@ -897,6 +977,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * `next_page_token` can be sent in a subsequent
      * [ListSessions][google.spanner.v1.Spanner.ListSessions] call to fetch more of the matching
@@ -904,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 { @@ -920,6 +1001,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * `next_page_token` can be sent in a subsequent
      * [ListSessions][google.spanner.v1.Spanner.ListSessions] call to fetch more of the matching
@@ -927,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
      * [ListSessions][google.spanner.v1.Spanner.ListSessions] call to fetch more of the matching
@@ -946,6 +1033,7 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -955,6 +1043,8 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * `next_page_token` can be sent in a subsequent
      * [ListSessions][google.spanner.v1.Spanner.ListSessions] call to fetch more of the matching
@@ -962,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); } @@ -986,12 +1078,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.v1.ListSessionsResponse) } // @@protoc_insertion_point(class_scope:google.spanner.v1.ListSessionsResponse) private static final com.google.spanner.v1.ListSessionsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.v1.ListSessionsResponse(); } @@ -1000,27 +1092,27 @@ public static com.google.spanner.v1.ListSessionsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListSessionsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListSessionsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,6 +1127,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.ListSessionsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsResponseOrBuilder.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsResponseOrBuilder.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsResponseOrBuilder.java rename to proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsResponseOrBuilder.java index b9786ba19cb..3f42309cc36 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsResponseOrBuilder.java +++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/spanner.proto package com.google.spanner.v1; -public interface ListSessionsResponseOrBuilder extends +public interface ListSessionsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.ListSessionsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The list of requested sessions.
    * 
* * repeated .google.spanner.v1.Session sessions = 1; */ - java.util.List - getSessionsList(); + java.util.List getSessionsList(); /** + * + * *
    * The list of requested sessions.
    * 
@@ -25,6 +44,8 @@ public interface ListSessionsResponseOrBuilder extends */ com.google.spanner.v1.Session getSessions(int index); /** + * + * *
    * The list of requested sessions.
    * 
@@ -33,25 +54,29 @@ public interface ListSessionsResponseOrBuilder extends */ int getSessionsCount(); /** + * + * *
    * The list of requested sessions.
    * 
* * repeated .google.spanner.v1.Session sessions = 1; */ - java.util.List - getSessionsOrBuilderList(); + java.util.List getSessionsOrBuilderList(); /** + * + * *
    * The list of requested sessions.
    * 
* * repeated .google.spanner.v1.Session sessions = 1; */ - com.google.spanner.v1.SessionOrBuilder getSessionsOrBuilder( - int index); + com.google.spanner.v1.SessionOrBuilder getSessionsOrBuilder(int index); /** + * + * *
    * `next_page_token` can be sent in a subsequent
    * [ListSessions][google.spanner.v1.Spanner.ListSessions] call to fetch more of the matching
@@ -59,10 +84,13 @@ com.google.spanner.v1.SessionOrBuilder getSessionsOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * `next_page_token` can be sent in a subsequent
    * [ListSessions][google.spanner.v1.Spanner.ListSessions] call to fetch more of the matching
@@ -70,8 +98,8 @@ com.google.spanner.v1.SessionOrBuilder getSessionsOrBuilder(
    * 
* * 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/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Mutation.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Mutation.java similarity index 80% rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Mutation.java rename to proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Mutation.java index f1d9079edad..9c06e66de8f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Mutation.java +++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Mutation.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/mutation.proto package com.google.spanner.v1; /** + * + * *
  * A modification to one or more Cloud Spanner rows.  Mutations can be
  * applied to a Cloud Spanner database by sending them in a
@@ -12,68 +29,76 @@
  *
  * Protobuf type {@code google.spanner.v1.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.spanner.v1.Mutation)
     MutationOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Mutation.newBuilder() to construct.
   private Mutation(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private Mutation() {
-  }
+
+  private Mutation() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Mutation();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.spanner.v1.MutationProto.internal_static_google_spanner_v1_Mutation_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.spanner.v1.MutationProto
+        .internal_static_google_spanner_v1_Mutation_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.v1.MutationProto.internal_static_google_spanner_v1_Mutation_fieldAccessorTable
+    return com.google.spanner.v1.MutationProto
+        .internal_static_google_spanner_v1_Mutation_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.spanner.v1.Mutation.class, com.google.spanner.v1.Mutation.Builder.class);
   }
 
-  public interface WriteOrBuilder extends
+  public interface WriteOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.spanner.v1.Mutation.Write)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Required. The table whose rows will be written.
      * 
* * string table = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The table. */ java.lang.String getTable(); /** + * + * *
      * Required. The table whose rows will be written.
      * 
* * string table = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for table. */ - com.google.protobuf.ByteString - getTableBytes(); + com.google.protobuf.ByteString getTableBytes(); /** + * + * *
      * The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written.
      * The list of columns must contain enough columns to allow
@@ -82,11 +107,13 @@ public interface WriteOrBuilder extends
      * 
* * repeated string columns = 2; + * * @return A list containing the columns. */ - java.util.List - getColumnsList(); + java.util.List getColumnsList(); /** + * + * *
      * The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written.
      * The list of columns must contain enough columns to allow
@@ -95,10 +122,13 @@ public interface WriteOrBuilder extends
      * 
* * repeated string columns = 2; + * * @return The count of columns. */ int getColumnsCount(); /** + * + * *
      * The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written.
      * The list of columns must contain enough columns to allow
@@ -107,11 +137,14 @@ public interface WriteOrBuilder extends
      * 
* * repeated string columns = 2; + * * @param index The index of the element to return. * @return The columns at the given index. */ java.lang.String getColumns(int index); /** + * + * *
      * The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written.
      * The list of columns must contain enough columns to allow
@@ -120,13 +153,15 @@ public interface WriteOrBuilder extends
      * 
* * repeated string columns = 2; + * * @param index The index of the value to return. * @return The bytes of the columns at the given index. */ - com.google.protobuf.ByteString - getColumnsBytes(int index); + com.google.protobuf.ByteString getColumnsBytes(int index); /** + * + * *
      * The values to be written. `values` can contain more than one
      * list of values. If it does, then multiple rows are written, one
@@ -140,9 +175,10 @@ public interface WriteOrBuilder extends
      *
      * repeated .google.protobuf.ListValue values = 3;
      */
-    java.util.List 
-        getValuesList();
+    java.util.List getValuesList();
     /**
+     *
+     *
      * 
      * The values to be written. `values` can contain more than one
      * list of values. If it does, then multiple rows are written, one
@@ -158,6 +194,8 @@ public interface WriteOrBuilder extends
      */
     com.google.protobuf.ListValue getValues(int index);
     /**
+     *
+     *
      * 
      * The values to be written. `values` can contain more than one
      * list of values. If it does, then multiple rows are written, one
@@ -173,6 +211,8 @@ public interface WriteOrBuilder extends
      */
     int getValuesCount();
     /**
+     *
+     *
      * 
      * The values to be written. `values` can contain more than one
      * list of values. If it does, then multiple rows are written, one
@@ -186,9 +226,10 @@ public interface WriteOrBuilder extends
      *
      * repeated .google.protobuf.ListValue values = 3;
      */
-    java.util.List 
-        getValuesOrBuilderList();
+    java.util.List getValuesOrBuilderList();
     /**
+     *
+     *
      * 
      * The values to be written. `values` can contain more than one
      * list of values. If it does, then multiple rows are written, one
@@ -202,10 +243,11 @@ public interface WriteOrBuilder extends
      *
      * repeated .google.protobuf.ListValue values = 3;
      */
-    com.google.protobuf.ListValueOrBuilder getValuesOrBuilder(
-        int index);
+    com.google.protobuf.ListValueOrBuilder getValuesOrBuilder(int index);
   }
   /**
+   *
+   *
    * 
    * Arguments to [insert][google.spanner.v1.Mutation.insert], [update][google.spanner.v1.Mutation.update], [insert_or_update][google.spanner.v1.Mutation.insert_or_update], and
    * [replace][google.spanner.v1.Mutation.replace] operations.
@@ -213,15 +255,16 @@ com.google.protobuf.ListValueOrBuilder getValuesOrBuilder(
    *
    * Protobuf type {@code google.spanner.v1.Mutation.Write}
    */
-  public static final class Write extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class Write extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.spanner.v1.Mutation.Write)
       WriteOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use Write.newBuilder() to construct.
     private Write(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private Write() {
       table_ = "";
       columns_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -230,38 +273,43 @@ private Write() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new Write();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.spanner.v1.MutationProto.internal_static_google_spanner_v1_Mutation_Write_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.spanner.v1.MutationProto
+          .internal_static_google_spanner_v1_Mutation_Write_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.v1.MutationProto.internal_static_google_spanner_v1_Mutation_Write_fieldAccessorTable
+      return com.google.spanner.v1.MutationProto
+          .internal_static_google_spanner_v1_Mutation_Write_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.v1.Mutation.Write.class, com.google.spanner.v1.Mutation.Write.Builder.class);
+              com.google.spanner.v1.Mutation.Write.class,
+              com.google.spanner.v1.Mutation.Write.Builder.class);
     }
 
     public static final int TABLE_FIELD_NUMBER = 1;
+
     @SuppressWarnings("serial")
     private volatile java.lang.Object table_ = "";
     /**
+     *
+     *
      * 
      * Required. The table whose rows will be written.
      * 
* * string table = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The table. */ @java.lang.Override @@ -270,29 +318,29 @@ public java.lang.String getTable() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); table_ = s; return s; } } /** + * + * *
      * Required. The table whose rows will be written.
      * 
* * string table = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for table. */ @java.lang.Override - public com.google.protobuf.ByteString - getTableBytes() { + public com.google.protobuf.ByteString getTableBytes() { java.lang.Object ref = table_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); table_ = b; return b; } else { @@ -301,9 +349,12 @@ public java.lang.String getTable() { } public static final int COLUMNS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringList columns_; /** + * + * *
      * The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written.
      * The list of columns must contain enough columns to allow
@@ -312,13 +363,15 @@ public java.lang.String getTable() {
      * 
* * repeated string columns = 2; + * * @return A list containing the columns. */ - public com.google.protobuf.ProtocolStringList - getColumnsList() { + public com.google.protobuf.ProtocolStringList getColumnsList() { return columns_; } /** + * + * *
      * The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written.
      * The list of columns must contain enough columns to allow
@@ -327,12 +380,15 @@ public java.lang.String getTable() {
      * 
* * repeated string columns = 2; + * * @return The count of columns. */ public int getColumnsCount() { return columns_.size(); } /** + * + * *
      * The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written.
      * The list of columns must contain enough columns to allow
@@ -341,6 +397,7 @@ public int getColumnsCount() {
      * 
* * repeated string columns = 2; + * * @param index The index of the element to return. * @return The columns at the given index. */ @@ -348,6 +405,8 @@ public java.lang.String getColumns(int index) { return columns_.get(index); } /** + * + * *
      * The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written.
      * The list of columns must contain enough columns to allow
@@ -356,18 +415,21 @@ public java.lang.String getColumns(int index) {
      * 
* * repeated string columns = 2; + * * @param index The index of the value to return. * @return The bytes of the columns at the given index. */ - public com.google.protobuf.ByteString - getColumnsBytes(int index) { + public com.google.protobuf.ByteString getColumnsBytes(int index) { return columns_.getByteString(index); } public static final int VALUES_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private java.util.List values_; /** + * + * *
      * The values to be written. `values` can contain more than one
      * list of values. If it does, then multiple rows are written, one
@@ -386,6 +448,8 @@ public java.util.List getValuesList() {
       return values_;
     }
     /**
+     *
+     *
      * 
      * The values to be written. `values` can contain more than one
      * list of values. If it does, then multiple rows are written, one
@@ -400,11 +464,13 @@ public java.util.List getValuesList() {
      * repeated .google.protobuf.ListValue values = 3;
      */
     @java.lang.Override
-    public java.util.List 
+    public java.util.List
         getValuesOrBuilderList() {
       return values_;
     }
     /**
+     *
+     *
      * 
      * The values to be written. `values` can contain more than one
      * list of values. If it does, then multiple rows are written, one
@@ -423,6 +489,8 @@ public int getValuesCount() {
       return values_.size();
     }
     /**
+     *
+     *
      * 
      * The values to be written. `values` can contain more than one
      * list of values. If it does, then multiple rows are written, one
@@ -441,6 +509,8 @@ public com.google.protobuf.ListValue getValues(int index) {
       return values_.get(index);
     }
     /**
+     *
+     *
      * 
      * The values to be written. `values` can contain more than one
      * list of values. If it does, then multiple rows are written, one
@@ -455,12 +525,12 @@ public com.google.protobuf.ListValue getValues(int index) {
      * repeated .google.protobuf.ListValue values = 3;
      */
     @java.lang.Override
-    public com.google.protobuf.ListValueOrBuilder getValuesOrBuilder(
-        int index) {
+    public com.google.protobuf.ListValueOrBuilder getValuesOrBuilder(int index) {
       return values_.get(index);
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -472,8 +542,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(table_)) {
         com.google.protobuf.GeneratedMessageV3.writeString(output, 1, table_);
       }
@@ -504,8 +573,7 @@ public int getSerializedSize() {
         size += 1 * getColumnsList().size();
       }
       for (int i = 0; i < values_.size(); i++) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(3, values_.get(i));
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, values_.get(i));
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -515,19 +583,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.spanner.v1.Mutation.Write)) {
         return super.equals(obj);
       }
       com.google.spanner.v1.Mutation.Write other = (com.google.spanner.v1.Mutation.Write) obj;
 
-      if (!getTable()
-          .equals(other.getTable())) return false;
-      if (!getColumnsList()
-          .equals(other.getColumnsList())) return false;
-      if (!getValuesList()
-          .equals(other.getValuesList())) return false;
+      if (!getTable().equals(other.getTable())) return false;
+      if (!getColumnsList().equals(other.getColumnsList())) return false;
+      if (!getValuesList().equals(other.getValuesList())) return false;
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
     }
@@ -554,88 +619,94 @@ public int hashCode() {
       return hash;
     }
 
-    public static com.google.spanner.v1.Mutation.Write parseFrom(
-        java.nio.ByteBuffer data)
+    public static com.google.spanner.v1.Mutation.Write parseFrom(java.nio.ByteBuffer data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.spanner.v1.Mutation.Write parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.spanner.v1.Mutation.Write parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.spanner.v1.Mutation.Write parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.spanner.v1.Mutation.Write parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.spanner.v1.Mutation.Write parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.spanner.v1.Mutation.Write parseFrom(java.io.InputStream input)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.spanner.v1.Mutation.Write parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.spanner.v1.Mutation.Write 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.spanner.v1.Mutation.Write parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.spanner.v1.Mutation.Write parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.spanner.v1.Mutation.Write parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
+
     public static Builder newBuilder(com.google.spanner.v1.Mutation.Write prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -645,6 +716,8 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Arguments to [insert][google.spanner.v1.Mutation.insert], [update][google.spanner.v1.Mutation.update], [insert_or_update][google.spanner.v1.Mutation.insert_or_update], and
      * [replace][google.spanner.v1.Mutation.replace] operations.
@@ -652,33 +725,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.spanner.v1.Mutation.Write}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.spanner.v1.Mutation.Write)
         com.google.spanner.v1.Mutation.WriteOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.spanner.v1.MutationProto.internal_static_google_spanner_v1_Mutation_Write_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.spanner.v1.MutationProto
+            .internal_static_google_spanner_v1_Mutation_Write_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.spanner.v1.MutationProto.internal_static_google_spanner_v1_Mutation_Write_fieldAccessorTable
+        return com.google.spanner.v1.MutationProto
+            .internal_static_google_spanner_v1_Mutation_Write_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.spanner.v1.Mutation.Write.class, com.google.spanner.v1.Mutation.Write.Builder.class);
+                com.google.spanner.v1.Mutation.Write.class,
+                com.google.spanner.v1.Mutation.Write.Builder.class);
       }
 
       // Construct using com.google.spanner.v1.Mutation.Write.newBuilder()
-      private Builder() {
+      private Builder() {}
 
-      }
-
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -697,9 +770,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.spanner.v1.MutationProto.internal_static_google_spanner_v1_Mutation_Write_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.spanner.v1.MutationProto
+            .internal_static_google_spanner_v1_Mutation_Write_descriptor;
       }
 
       @java.lang.Override
@@ -718,9 +791,12 @@ public com.google.spanner.v1.Mutation.Write build() {
 
       @java.lang.Override
       public com.google.spanner.v1.Mutation.Write buildPartial() {
-        com.google.spanner.v1.Mutation.Write result = new com.google.spanner.v1.Mutation.Write(this);
+        com.google.spanner.v1.Mutation.Write result =
+            new com.google.spanner.v1.Mutation.Write(this);
         buildPartialRepeatedFields(result);
-        if (bitField0_ != 0) { buildPartial0(result); }
+        if (bitField0_ != 0) {
+          buildPartial0(result);
+        }
         onBuilt();
         return result;
       }
@@ -753,38 +829,41 @@ private void buildPartial0(com.google.spanner.v1.Mutation.Write 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.spanner.v1.Mutation.Write) {
-          return mergeFrom((com.google.spanner.v1.Mutation.Write)other);
+          return mergeFrom((com.google.spanner.v1.Mutation.Write) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -826,9 +905,10 @@ public Builder mergeFrom(com.google.spanner.v1.Mutation.Write other) {
               valuesBuilder_ = null;
               values_ = other.values_;
               bitField0_ = (bitField0_ & ~0x00000004);
-              valuesBuilder_ = 
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                   getValuesFieldBuilder() : null;
+              valuesBuilder_ =
+                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                      ? getValuesFieldBuilder()
+                      : null;
             } else {
               valuesBuilder_.addAllMessages(other.values_);
             }
@@ -860,36 +940,38 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                table_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-              case 18: {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureColumnsIsMutable();
-                columns_.add(s);
-                break;
-              } // case 18
-              case 26: {
-                com.google.protobuf.ListValue m =
-                    input.readMessage(
-                        com.google.protobuf.ListValue.parser(),
-                        extensionRegistry);
-                if (valuesBuilder_ == null) {
-                  ensureValuesIsMutable();
-                  values_.add(m);
-                } else {
-                  valuesBuilder_.addMessage(m);
-                }
-                break;
-              } // case 26
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              case 10:
+                {
+                  table_ = input.readStringRequireUtf8();
+                  bitField0_ |= 0x00000001;
+                  break;
+                } // case 10
+              case 18:
+                {
+                  java.lang.String s = input.readStringRequireUtf8();
+                  ensureColumnsIsMutable();
+                  columns_.add(s);
+                  break;
+                } // case 18
+              case 26:
+                {
+                  com.google.protobuf.ListValue m =
+                      input.readMessage(com.google.protobuf.ListValue.parser(), extensionRegistry);
+                  if (valuesBuilder_ == null) {
+                    ensureValuesIsMutable();
+                    values_.add(m);
+                  } else {
+                    valuesBuilder_.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) {
@@ -899,22 +981,25 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int bitField0_;
 
       private java.lang.Object table_ = "";
       /**
+       *
+       *
        * 
        * Required. The table whose rows will be written.
        * 
* * string table = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The table. */ public java.lang.String getTable() { java.lang.Object ref = table_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); table_ = s; return s; @@ -923,20 +1008,21 @@ public java.lang.String getTable() { } } /** + * + * *
        * Required. The table whose rows will be written.
        * 
* * string table = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for table. */ - public com.google.protobuf.ByteString - getTableBytes() { + public com.google.protobuf.ByteString getTableBytes() { java.lang.Object ref = table_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); table_ = b; return b; } else { @@ -944,28 +1030,35 @@ public java.lang.String getTable() { } } /** + * + * *
        * Required. The table whose rows will be written.
        * 
* * string table = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The table to set. * @return This builder for chaining. */ - public Builder setTable( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTable(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } table_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Required. The table whose rows will be written.
        * 
* * string table = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearTable() { @@ -975,17 +1068,21 @@ public Builder clearTable() { return this; } /** + * + * *
        * Required. The table whose rows will be written.
        * 
* * string table = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for table to set. * @return This builder for chaining. */ - public Builder setTableBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTableBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); table_ = value; bitField0_ |= 0x00000001; @@ -993,14 +1090,18 @@ public Builder setTableBytes( return this; } - private com.google.protobuf.LazyStringList columns_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList columns_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureColumnsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { columns_ = new com.google.protobuf.LazyStringArrayList(columns_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
        * The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written.
        * The list of columns must contain enough columns to allow
@@ -1009,13 +1110,15 @@ private void ensureColumnsIsMutable() {
        * 
* * repeated string columns = 2; + * * @return A list containing the columns. */ - public com.google.protobuf.ProtocolStringList - getColumnsList() { + public com.google.protobuf.ProtocolStringList getColumnsList() { return columns_.getUnmodifiableView(); } /** + * + * *
        * The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written.
        * The list of columns must contain enough columns to allow
@@ -1024,12 +1127,15 @@ private void ensureColumnsIsMutable() {
        * 
* * repeated string columns = 2; + * * @return The count of columns. */ public int getColumnsCount() { return columns_.size(); } /** + * + * *
        * The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written.
        * The list of columns must contain enough columns to allow
@@ -1038,6 +1144,7 @@ public int getColumnsCount() {
        * 
* * repeated string columns = 2; + * * @param index The index of the element to return. * @return The columns at the given index. */ @@ -1045,6 +1152,8 @@ public java.lang.String getColumns(int index) { return columns_.get(index); } /** + * + * *
        * The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written.
        * The list of columns must contain enough columns to allow
@@ -1053,14 +1162,16 @@ public java.lang.String getColumns(int index) {
        * 
* * repeated string columns = 2; + * * @param index The index of the value to return. * @return The bytes of the columns at the given index. */ - public com.google.protobuf.ByteString - getColumnsBytes(int index) { + public com.google.protobuf.ByteString getColumnsBytes(int index) { return columns_.getByteString(index); } /** + * + * *
        * The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written.
        * The list of columns must contain enough columns to allow
@@ -1069,19 +1180,23 @@ public java.lang.String getColumns(int index) {
        * 
* * repeated string columns = 2; + * * @param index The index to set the value at. * @param value The columns to set. * @return This builder for chaining. */ - public Builder setColumns( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setColumns(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureColumnsIsMutable(); columns_.set(index, value); onChanged(); return this; } /** + * + * *
        * The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written.
        * The list of columns must contain enough columns to allow
@@ -1090,18 +1205,22 @@ public Builder setColumns(
        * 
* * repeated string columns = 2; + * * @param value The columns to add. * @return This builder for chaining. */ - public Builder addColumns( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addColumns(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureColumnsIsMutable(); columns_.add(value); onChanged(); return this; } /** + * + * *
        * The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written.
        * The list of columns must contain enough columns to allow
@@ -1110,18 +1229,19 @@ public Builder addColumns(
        * 
* * repeated string columns = 2; + * * @param values The columns to add. * @return This builder for chaining. */ - public Builder addAllColumns( - java.lang.Iterable values) { + public Builder addAllColumns(java.lang.Iterable values) { ensureColumnsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, columns_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, columns_); onChanged(); return this; } /** + * + * *
        * The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written.
        * The list of columns must contain enough columns to allow
@@ -1130,6 +1250,7 @@ public Builder addAllColumns(
        * 
* * repeated string columns = 2; + * * @return This builder for chaining. */ public Builder clearColumns() { @@ -1139,6 +1260,8 @@ public Builder clearColumns() { return this; } /** + * + * *
        * The names of the columns in [table][google.spanner.v1.Mutation.Write.table] to be written.
        * The list of columns must contain enough columns to allow
@@ -1147,12 +1270,14 @@ public Builder clearColumns() {
        * 
* * repeated string columns = 2; + * * @param value The bytes of the columns to add. * @return This builder for chaining. */ - public Builder addColumnsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addColumnsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureColumnsIsMutable(); columns_.add(value); @@ -1161,18 +1286,24 @@ public Builder addColumnsBytes( } private java.util.List values_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureValuesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { values_ = new java.util.ArrayList(values_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.protobuf.ListValue, com.google.protobuf.ListValue.Builder, com.google.protobuf.ListValueOrBuilder> valuesBuilder_; + com.google.protobuf.ListValue, + com.google.protobuf.ListValue.Builder, + com.google.protobuf.ListValueOrBuilder> + valuesBuilder_; /** + * + * *
        * The values to be written. `values` can contain more than one
        * list of values. If it does, then multiple rows are written, one
@@ -1194,6 +1325,8 @@ public java.util.List getValuesList() {
         }
       }
       /**
+       *
+       *
        * 
        * The values to be written. `values` can contain more than one
        * list of values. If it does, then multiple rows are written, one
@@ -1215,6 +1348,8 @@ public int getValuesCount() {
         }
       }
       /**
+       *
+       *
        * 
        * The values to be written. `values` can contain more than one
        * list of values. If it does, then multiple rows are written, one
@@ -1236,6 +1371,8 @@ public com.google.protobuf.ListValue getValues(int index) {
         }
       }
       /**
+       *
+       *
        * 
        * The values to be written. `values` can contain more than one
        * list of values. If it does, then multiple rows are written, one
@@ -1249,8 +1386,7 @@ public com.google.protobuf.ListValue getValues(int index) {
        *
        * repeated .google.protobuf.ListValue values = 3;
        */
-      public Builder setValues(
-          int index, com.google.protobuf.ListValue value) {
+      public Builder setValues(int index, com.google.protobuf.ListValue value) {
         if (valuesBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -1264,6 +1400,8 @@ public Builder setValues(
         return this;
       }
       /**
+       *
+       *
        * 
        * The values to be written. `values` can contain more than one
        * list of values. If it does, then multiple rows are written, one
@@ -1277,8 +1415,7 @@ public Builder setValues(
        *
        * repeated .google.protobuf.ListValue values = 3;
        */
-      public Builder setValues(
-          int index, com.google.protobuf.ListValue.Builder builderForValue) {
+      public Builder setValues(int index, com.google.protobuf.ListValue.Builder builderForValue) {
         if (valuesBuilder_ == null) {
           ensureValuesIsMutable();
           values_.set(index, builderForValue.build());
@@ -1289,6 +1426,8 @@ public Builder setValues(
         return this;
       }
       /**
+       *
+       *
        * 
        * The values to be written. `values` can contain more than one
        * list of values. If it does, then multiple rows are written, one
@@ -1316,6 +1455,8 @@ public Builder addValues(com.google.protobuf.ListValue value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The values to be written. `values` can contain more than one
        * list of values. If it does, then multiple rows are written, one
@@ -1329,8 +1470,7 @@ public Builder addValues(com.google.protobuf.ListValue value) {
        *
        * repeated .google.protobuf.ListValue values = 3;
        */
-      public Builder addValues(
-          int index, com.google.protobuf.ListValue value) {
+      public Builder addValues(int index, com.google.protobuf.ListValue value) {
         if (valuesBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -1344,6 +1484,8 @@ public Builder addValues(
         return this;
       }
       /**
+       *
+       *
        * 
        * The values to be written. `values` can contain more than one
        * list of values. If it does, then multiple rows are written, one
@@ -1357,8 +1499,7 @@ public Builder addValues(
        *
        * repeated .google.protobuf.ListValue values = 3;
        */
-      public Builder addValues(
-          com.google.protobuf.ListValue.Builder builderForValue) {
+      public Builder addValues(com.google.protobuf.ListValue.Builder builderForValue) {
         if (valuesBuilder_ == null) {
           ensureValuesIsMutable();
           values_.add(builderForValue.build());
@@ -1369,6 +1510,8 @@ public Builder addValues(
         return this;
       }
       /**
+       *
+       *
        * 
        * The values to be written. `values` can contain more than one
        * list of values. If it does, then multiple rows are written, one
@@ -1382,8 +1525,7 @@ public Builder addValues(
        *
        * repeated .google.protobuf.ListValue values = 3;
        */
-      public Builder addValues(
-          int index, com.google.protobuf.ListValue.Builder builderForValue) {
+      public Builder addValues(int index, com.google.protobuf.ListValue.Builder builderForValue) {
         if (valuesBuilder_ == null) {
           ensureValuesIsMutable();
           values_.add(index, builderForValue.build());
@@ -1394,6 +1536,8 @@ public Builder addValues(
         return this;
       }
       /**
+       *
+       *
        * 
        * The values to be written. `values` can contain more than one
        * list of values. If it does, then multiple rows are written, one
@@ -1411,8 +1555,7 @@ public Builder addAllValues(
           java.lang.Iterable values) {
         if (valuesBuilder_ == null) {
           ensureValuesIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(
-              values, values_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, values_);
           onChanged();
         } else {
           valuesBuilder_.addAllMessages(values);
@@ -1420,6 +1563,8 @@ public Builder addAllValues(
         return this;
       }
       /**
+       *
+       *
        * 
        * The values to be written. `values` can contain more than one
        * list of values. If it does, then multiple rows are written, one
@@ -1444,6 +1589,8 @@ public Builder clearValues() {
         return this;
       }
       /**
+       *
+       *
        * 
        * The values to be written. `values` can contain more than one
        * list of values. If it does, then multiple rows are written, one
@@ -1468,6 +1615,8 @@ public Builder removeValues(int index) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The values to be written. `values` can contain more than one
        * list of values. If it does, then multiple rows are written, one
@@ -1481,11 +1630,12 @@ public Builder removeValues(int index) {
        *
        * repeated .google.protobuf.ListValue values = 3;
        */
-      public com.google.protobuf.ListValue.Builder getValuesBuilder(
-          int index) {
+      public com.google.protobuf.ListValue.Builder getValuesBuilder(int index) {
         return getValuesFieldBuilder().getBuilder(index);
       }
       /**
+       *
+       *
        * 
        * The values to be written. `values` can contain more than one
        * list of values. If it does, then multiple rows are written, one
@@ -1499,14 +1649,16 @@ public com.google.protobuf.ListValue.Builder getValuesBuilder(
        *
        * repeated .google.protobuf.ListValue values = 3;
        */
-      public com.google.protobuf.ListValueOrBuilder getValuesOrBuilder(
-          int index) {
+      public com.google.protobuf.ListValueOrBuilder getValuesOrBuilder(int index) {
         if (valuesBuilder_ == null) {
-          return values_.get(index);  } else {
+          return values_.get(index);
+        } else {
           return valuesBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
+       *
+       *
        * 
        * The values to be written. `values` can contain more than one
        * list of values. If it does, then multiple rows are written, one
@@ -1520,8 +1672,8 @@ public com.google.protobuf.ListValueOrBuilder getValuesOrBuilder(
        *
        * repeated .google.protobuf.ListValue values = 3;
        */
-      public java.util.List 
-           getValuesOrBuilderList() {
+      public java.util.List
+          getValuesOrBuilderList() {
         if (valuesBuilder_ != null) {
           return valuesBuilder_.getMessageOrBuilderList();
         } else {
@@ -1529,6 +1681,8 @@ public com.google.protobuf.ListValueOrBuilder getValuesOrBuilder(
         }
       }
       /**
+       *
+       *
        * 
        * The values to be written. `values` can contain more than one
        * list of values. If it does, then multiple rows are written, one
@@ -1543,10 +1697,12 @@ public com.google.protobuf.ListValueOrBuilder getValuesOrBuilder(
        * repeated .google.protobuf.ListValue values = 3;
        */
       public com.google.protobuf.ListValue.Builder addValuesBuilder() {
-        return getValuesFieldBuilder().addBuilder(
-            com.google.protobuf.ListValue.getDefaultInstance());
+        return getValuesFieldBuilder()
+            .addBuilder(com.google.protobuf.ListValue.getDefaultInstance());
       }
       /**
+       *
+       *
        * 
        * The values to be written. `values` can contain more than one
        * list of values. If it does, then multiple rows are written, one
@@ -1560,12 +1716,13 @@ public com.google.protobuf.ListValue.Builder addValuesBuilder() {
        *
        * repeated .google.protobuf.ListValue values = 3;
        */
-      public com.google.protobuf.ListValue.Builder addValuesBuilder(
-          int index) {
-        return getValuesFieldBuilder().addBuilder(
-            index, com.google.protobuf.ListValue.getDefaultInstance());
+      public com.google.protobuf.ListValue.Builder addValuesBuilder(int index) {
+        return getValuesFieldBuilder()
+            .addBuilder(index, com.google.protobuf.ListValue.getDefaultInstance());
       }
       /**
+       *
+       *
        * 
        * The values to be written. `values` can contain more than one
        * list of values. If it does, then multiple rows are written, one
@@ -1579,24 +1736,27 @@ public com.google.protobuf.ListValue.Builder addValuesBuilder(
        *
        * repeated .google.protobuf.ListValue values = 3;
        */
-      public java.util.List 
-           getValuesBuilderList() {
+      public java.util.List getValuesBuilderList() {
         return getValuesFieldBuilder().getBuilderList();
       }
+
       private com.google.protobuf.RepeatedFieldBuilderV3<
-          com.google.protobuf.ListValue, com.google.protobuf.ListValue.Builder, com.google.protobuf.ListValueOrBuilder> 
+              com.google.protobuf.ListValue,
+              com.google.protobuf.ListValue.Builder,
+              com.google.protobuf.ListValueOrBuilder>
           getValuesFieldBuilder() {
         if (valuesBuilder_ == null) {
-          valuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.protobuf.ListValue, com.google.protobuf.ListValue.Builder, com.google.protobuf.ListValueOrBuilder>(
-                  values_,
-                  ((bitField0_ & 0x00000004) != 0),
-                  getParentForChildren(),
-                  isClean());
+          valuesBuilder_ =
+              new com.google.protobuf.RepeatedFieldBuilderV3<
+                  com.google.protobuf.ListValue,
+                  com.google.protobuf.ListValue.Builder,
+                  com.google.protobuf.ListValueOrBuilder>(
+                  values_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean());
           values_ = null;
         }
         return valuesBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1609,12 +1769,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.spanner.v1.Mutation.Write)
     }
 
     // @@protoc_insertion_point(class_scope:google.spanner.v1.Mutation.Write)
     private static final com.google.spanner.v1.Mutation.Write DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.spanner.v1.Mutation.Write();
     }
@@ -1623,27 +1783,28 @@ public static com.google.spanner.v1.Mutation.Write getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public Write parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        Builder builder = newBuilder();
-        try {
-          builder.mergeFrom(input, extensionRegistry);
-        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          throw e.setUnfinishedMessage(builder.buildPartial());
-        } catch (com.google.protobuf.UninitializedMessageException e) {
-          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-        } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(builder.buildPartial());
-        }
-        return builder.buildPartial();
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public Write parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            Builder builder = newBuilder();
+            try {
+              builder.mergeFrom(input, extensionRegistry);
+            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+              throw e.setUnfinishedMessage(builder.buildPartial());
+            } catch (com.google.protobuf.UninitializedMessageException e) {
+              throw e.asInvalidProtocolBufferException()
+                  .setUnfinishedMessage(builder.buildPartial());
+            } catch (java.io.IOException e) {
+              throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                  .setUnfinishedMessage(builder.buildPartial());
+            }
+            return builder.buildPartial();
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -1658,34 +1819,41 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.spanner.v1.Mutation.Write getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
-  public interface DeleteOrBuilder extends
+  public interface DeleteOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.spanner.v1.Mutation.Delete)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Required. The table whose rows will be deleted.
      * 
* * string table = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The table. */ java.lang.String getTable(); /** + * + * *
      * Required. The table whose rows will be deleted.
      * 
* * string table = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for table. */ - com.google.protobuf.ByteString - getTableBytes(); + com.google.protobuf.ByteString getTableBytes(); /** + * + * *
      * Required. The primary keys of the rows within [table][google.spanner.v1.Mutation.Delete.table] to delete.  The
      * primary keys must be specified in the order in which they appear in the
@@ -1696,10 +1864,13 @@ public interface DeleteOrBuilder extends
      * 
* * .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the keySet field is set. */ boolean hasKeySet(); /** + * + * *
      * Required. The primary keys of the rows within [table][google.spanner.v1.Mutation.Delete.table] to delete.  The
      * primary keys must be specified in the order in which they appear in the
@@ -1710,10 +1881,13 @@ public interface DeleteOrBuilder extends
      * 
* * .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The keySet. */ com.google.spanner.v1.KeySet getKeySet(); /** + * + * *
      * Required. The primary keys of the rows within [table][google.spanner.v1.Mutation.Delete.table] to delete.  The
      * primary keys must be specified in the order in which they appear in the
@@ -1728,59 +1902,67 @@ public interface DeleteOrBuilder extends
     com.google.spanner.v1.KeySetOrBuilder getKeySetOrBuilder();
   }
   /**
+   *
+   *
    * 
    * Arguments to [delete][google.spanner.v1.Mutation.delete] operations.
    * 
* * Protobuf type {@code google.spanner.v1.Mutation.Delete} */ - public static final class Delete extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Delete extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.spanner.v1.Mutation.Delete) DeleteOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Delete.newBuilder() to construct. private Delete(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Delete() { table_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Delete(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.v1.MutationProto.internal_static_google_spanner_v1_Mutation_Delete_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.v1.MutationProto + .internal_static_google_spanner_v1_Mutation_Delete_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.MutationProto.internal_static_google_spanner_v1_Mutation_Delete_fieldAccessorTable + return com.google.spanner.v1.MutationProto + .internal_static_google_spanner_v1_Mutation_Delete_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.Mutation.Delete.class, com.google.spanner.v1.Mutation.Delete.Builder.class); + com.google.spanner.v1.Mutation.Delete.class, + com.google.spanner.v1.Mutation.Delete.Builder.class); } public static final int TABLE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object table_ = ""; /** + * + * *
      * Required. The table whose rows will be deleted.
      * 
* * string table = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The table. */ @java.lang.Override @@ -1789,29 +1971,29 @@ public java.lang.String getTable() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); table_ = s; return s; } } /** + * + * *
      * Required. The table whose rows will be deleted.
      * 
* * string table = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for table. */ @java.lang.Override - public com.google.protobuf.ByteString - getTableBytes() { + public com.google.protobuf.ByteString getTableBytes() { java.lang.Object ref = table_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); table_ = b; return b; } else { @@ -1822,6 +2004,8 @@ public java.lang.String getTable() { public static final int KEY_SET_FIELD_NUMBER = 2; private com.google.spanner.v1.KeySet keySet_; /** + * + * *
      * Required. The primary keys of the rows within [table][google.spanner.v1.Mutation.Delete.table] to delete.  The
      * primary keys must be specified in the order in which they appear in the
@@ -1832,6 +2016,7 @@ public java.lang.String getTable() {
      * 
* * .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the keySet field is set. */ @java.lang.Override @@ -1839,6 +2024,8 @@ public boolean hasKeySet() { return keySet_ != null; } /** + * + * *
      * Required. The primary keys of the rows within [table][google.spanner.v1.Mutation.Delete.table] to delete.  The
      * primary keys must be specified in the order in which they appear in the
@@ -1849,6 +2036,7 @@ public boolean hasKeySet() {
      * 
* * .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The keySet. */ @java.lang.Override @@ -1856,6 +2044,8 @@ public com.google.spanner.v1.KeySet getKeySet() { return keySet_ == null ? com.google.spanner.v1.KeySet.getDefaultInstance() : keySet_; } /** + * + * *
      * Required. The primary keys of the rows within [table][google.spanner.v1.Mutation.Delete.table] to delete.  The
      * primary keys must be specified in the order in which they appear in the
@@ -1873,6 +2063,7 @@ public com.google.spanner.v1.KeySetOrBuilder getKeySetOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -1884,8 +2075,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(table_)) {
         com.google.protobuf.GeneratedMessageV3.writeString(output, 1, table_);
       }
@@ -1905,8 +2095,7 @@ public int getSerializedSize() {
         size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, table_);
       }
       if (keySet_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(2, getKeySet());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getKeySet());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -1916,19 +2105,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.spanner.v1.Mutation.Delete)) {
         return super.equals(obj);
       }
       com.google.spanner.v1.Mutation.Delete other = (com.google.spanner.v1.Mutation.Delete) obj;
 
-      if (!getTable()
-          .equals(other.getTable())) return false;
+      if (!getTable().equals(other.getTable())) return false;
       if (hasKeySet() != other.hasKeySet()) return false;
       if (hasKeySet()) {
-        if (!getKeySet()
-            .equals(other.getKeySet())) return false;
+        if (!getKeySet().equals(other.getKeySet())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -1952,88 +2139,94 @@ public int hashCode() {
       return hash;
     }
 
-    public static com.google.spanner.v1.Mutation.Delete parseFrom(
-        java.nio.ByteBuffer data)
+    public static com.google.spanner.v1.Mutation.Delete parseFrom(java.nio.ByteBuffer data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.spanner.v1.Mutation.Delete parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.spanner.v1.Mutation.Delete parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.spanner.v1.Mutation.Delete parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.spanner.v1.Mutation.Delete parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.spanner.v1.Mutation.Delete parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.spanner.v1.Mutation.Delete parseFrom(java.io.InputStream input)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.spanner.v1.Mutation.Delete parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.spanner.v1.Mutation.Delete parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.spanner.v1.Mutation.Delete parseDelimitedFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
+
     public static com.google.spanner.v1.Mutation.Delete parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.spanner.v1.Mutation.Delete parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.spanner.v1.Mutation.Delete parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
+
     public static Builder newBuilder(com.google.spanner.v1.Mutation.Delete prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -2043,39 +2236,41 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Arguments to [delete][google.spanner.v1.Mutation.delete] operations.
      * 
* * Protobuf type {@code google.spanner.v1.Mutation.Delete} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.Mutation.Delete) com.google.spanner.v1.Mutation.DeleteOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.v1.MutationProto.internal_static_google_spanner_v1_Mutation_Delete_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.v1.MutationProto + .internal_static_google_spanner_v1_Mutation_Delete_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.MutationProto.internal_static_google_spanner_v1_Mutation_Delete_fieldAccessorTable + return com.google.spanner.v1.MutationProto + .internal_static_google_spanner_v1_Mutation_Delete_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.Mutation.Delete.class, com.google.spanner.v1.Mutation.Delete.Builder.class); + com.google.spanner.v1.Mutation.Delete.class, + com.google.spanner.v1.Mutation.Delete.Builder.class); } // Construct using com.google.spanner.v1.Mutation.Delete.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -2090,9 +2285,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.spanner.v1.MutationProto.internal_static_google_spanner_v1_Mutation_Delete_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.spanner.v1.MutationProto + .internal_static_google_spanner_v1_Mutation_Delete_descriptor; } @java.lang.Override @@ -2111,8 +2306,11 @@ public com.google.spanner.v1.Mutation.Delete build() { @java.lang.Override public com.google.spanner.v1.Mutation.Delete buildPartial() { - com.google.spanner.v1.Mutation.Delete result = new com.google.spanner.v1.Mutation.Delete(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.spanner.v1.Mutation.Delete result = + new com.google.spanner.v1.Mutation.Delete(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -2123,9 +2321,7 @@ private void buildPartial0(com.google.spanner.v1.Mutation.Delete result) { result.table_ = table_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.keySet_ = keySetBuilder_ == null - ? keySet_ - : keySetBuilder_.build(); + result.keySet_ = keySetBuilder_ == null ? keySet_ : keySetBuilder_.build(); } } @@ -2133,38 +2329,41 @@ private void buildPartial0(com.google.spanner.v1.Mutation.Delete 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.spanner.v1.Mutation.Delete) { - return mergeFrom((com.google.spanner.v1.Mutation.Delete)other); + return mergeFrom((com.google.spanner.v1.Mutation.Delete) other); } else { super.mergeFrom(other); return this; @@ -2207,24 +2406,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - table_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getKeySetFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + table_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getKeySetFieldBuilder().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) { @@ -2234,22 +2434,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object table_ = ""; /** + * + * *
        * Required. The table whose rows will be deleted.
        * 
* * string table = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The table. */ public java.lang.String getTable() { java.lang.Object ref = table_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); table_ = s; return s; @@ -2258,20 +2461,21 @@ public java.lang.String getTable() { } } /** + * + * *
        * Required. The table whose rows will be deleted.
        * 
* * string table = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for table. */ - public com.google.protobuf.ByteString - getTableBytes() { + public com.google.protobuf.ByteString getTableBytes() { java.lang.Object ref = table_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); table_ = b; return b; } else { @@ -2279,28 +2483,35 @@ public java.lang.String getTable() { } } /** + * + * *
        * Required. The table whose rows will be deleted.
        * 
* * string table = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The table to set. * @return This builder for chaining. */ - public Builder setTable( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTable(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } table_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Required. The table whose rows will be deleted.
        * 
* * string table = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearTable() { @@ -2310,17 +2521,21 @@ public Builder clearTable() { return this; } /** + * + * *
        * Required. The table whose rows will be deleted.
        * 
* * string table = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for table to set. * @return This builder for chaining. */ - public Builder setTableBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTableBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); table_ = value; bitField0_ |= 0x00000001; @@ -2330,8 +2545,13 @@ public Builder setTableBytes( private com.google.spanner.v1.KeySet keySet_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.KeySet, com.google.spanner.v1.KeySet.Builder, com.google.spanner.v1.KeySetOrBuilder> keySetBuilder_; + com.google.spanner.v1.KeySet, + com.google.spanner.v1.KeySet.Builder, + com.google.spanner.v1.KeySetOrBuilder> + keySetBuilder_; /** + * + * *
        * Required. The primary keys of the rows within [table][google.spanner.v1.Mutation.Delete.table] to delete.  The
        * primary keys must be specified in the order in which they appear in the
@@ -2341,13 +2561,17 @@ public Builder setTableBytes(
        * rows do not exist.
        * 
* - * .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the keySet field is set. */ public boolean hasKeySet() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
        * Required. The primary keys of the rows within [table][google.spanner.v1.Mutation.Delete.table] to delete.  The
        * primary keys must be specified in the order in which they appear in the
@@ -2357,7 +2581,9 @@ public boolean hasKeySet() {
        * rows do not exist.
        * 
* - * .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The keySet. */ public com.google.spanner.v1.KeySet getKeySet() { @@ -2368,6 +2594,8 @@ public com.google.spanner.v1.KeySet getKeySet() { } } /** + * + * *
        * Required. The primary keys of the rows within [table][google.spanner.v1.Mutation.Delete.table] to delete.  The
        * primary keys must be specified in the order in which they appear in the
@@ -2377,7 +2605,8 @@ public com.google.spanner.v1.KeySet getKeySet() {
        * rows do not exist.
        * 
* - * .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setKeySet(com.google.spanner.v1.KeySet value) { if (keySetBuilder_ == null) { @@ -2393,6 +2622,8 @@ public Builder setKeySet(com.google.spanner.v1.KeySet value) { return this; } /** + * + * *
        * Required. The primary keys of the rows within [table][google.spanner.v1.Mutation.Delete.table] to delete.  The
        * primary keys must be specified in the order in which they appear in the
@@ -2402,10 +2633,10 @@ public Builder setKeySet(com.google.spanner.v1.KeySet value) {
        * rows do not exist.
        * 
* - * .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setKeySet( - com.google.spanner.v1.KeySet.Builder builderForValue) { + public Builder setKeySet(com.google.spanner.v1.KeySet.Builder builderForValue) { if (keySetBuilder_ == null) { keySet_ = builderForValue.build(); } else { @@ -2416,6 +2647,8 @@ public Builder setKeySet( return this; } /** + * + * *
        * Required. The primary keys of the rows within [table][google.spanner.v1.Mutation.Delete.table] to delete.  The
        * primary keys must be specified in the order in which they appear in the
@@ -2425,13 +2658,14 @@ public Builder setKeySet(
        * rows do not exist.
        * 
* - * .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeKeySet(com.google.spanner.v1.KeySet value) { if (keySetBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - keySet_ != null && - keySet_ != com.google.spanner.v1.KeySet.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && keySet_ != null + && keySet_ != com.google.spanner.v1.KeySet.getDefaultInstance()) { getKeySetBuilder().mergeFrom(value); } else { keySet_ = value; @@ -2444,6 +2678,8 @@ public Builder mergeKeySet(com.google.spanner.v1.KeySet value) { return this; } /** + * + * *
        * Required. The primary keys of the rows within [table][google.spanner.v1.Mutation.Delete.table] to delete.  The
        * primary keys must be specified in the order in which they appear in the
@@ -2453,7 +2689,8 @@ public Builder mergeKeySet(com.google.spanner.v1.KeySet value) {
        * rows do not exist.
        * 
* - * .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearKeySet() { bitField0_ = (bitField0_ & ~0x00000002); @@ -2466,6 +2703,8 @@ public Builder clearKeySet() { return this; } /** + * + * *
        * Required. The primary keys of the rows within [table][google.spanner.v1.Mutation.Delete.table] to delete.  The
        * primary keys must be specified in the order in which they appear in the
@@ -2475,7 +2714,8 @@ public Builder clearKeySet() {
        * rows do not exist.
        * 
* - * .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.spanner.v1.KeySet.Builder getKeySetBuilder() { bitField0_ |= 0x00000002; @@ -2483,6 +2723,8 @@ public com.google.spanner.v1.KeySet.Builder getKeySetBuilder() { return getKeySetFieldBuilder().getBuilder(); } /** + * + * *
        * Required. The primary keys of the rows within [table][google.spanner.v1.Mutation.Delete.table] to delete.  The
        * primary keys must be specified in the order in which they appear in the
@@ -2492,17 +2734,19 @@ public com.google.spanner.v1.KeySet.Builder getKeySetBuilder() {
        * rows do not exist.
        * 
* - * .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.spanner.v1.KeySetOrBuilder getKeySetOrBuilder() { if (keySetBuilder_ != null) { return keySetBuilder_.getMessageOrBuilder(); } else { - return keySet_ == null ? - com.google.spanner.v1.KeySet.getDefaultInstance() : keySet_; + return keySet_ == null ? com.google.spanner.v1.KeySet.getDefaultInstance() : keySet_; } } /** + * + * *
        * Required. The primary keys of the rows within [table][google.spanner.v1.Mutation.Delete.table] to delete.  The
        * primary keys must be specified in the order in which they appear in the
@@ -2512,21 +2756,26 @@ public com.google.spanner.v1.KeySetOrBuilder getKeySetOrBuilder() {
        * rows do not exist.
        * 
* - * .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.spanner.v1.KeySet key_set = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.KeySet, com.google.spanner.v1.KeySet.Builder, com.google.spanner.v1.KeySetOrBuilder> + com.google.spanner.v1.KeySet, + com.google.spanner.v1.KeySet.Builder, + com.google.spanner.v1.KeySetOrBuilder> getKeySetFieldBuilder() { if (keySetBuilder_ == null) { - keySetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.KeySet, com.google.spanner.v1.KeySet.Builder, com.google.spanner.v1.KeySetOrBuilder>( - getKeySet(), - getParentForChildren(), - isClean()); + keySetBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.v1.KeySet, + com.google.spanner.v1.KeySet.Builder, + com.google.spanner.v1.KeySetOrBuilder>( + getKeySet(), getParentForChildren(), isClean()); keySet_ = null; } return keySetBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2539,12 +2788,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.v1.Mutation.Delete) } // @@protoc_insertion_point(class_scope:google.spanner.v1.Mutation.Delete) private static final com.google.spanner.v1.Mutation.Delete DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.v1.Mutation.Delete(); } @@ -2553,27 +2802,28 @@ public static com.google.spanner.v1.Mutation.Delete getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Delete parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Delete parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2588,13 +2838,14 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.Mutation.Delete getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int operationCase_ = 0; private java.lang.Object operation_; + public enum OperationCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { INSERT(1), UPDATE(2), @@ -2603,6 +2854,7 @@ public enum OperationCase DELETE(5), OPERATION_NOT_SET(0); private final int value; + private OperationCase(int value) { this.value = value; } @@ -2618,34 +2870,43 @@ public static OperationCase valueOf(int value) { public static OperationCase forNumber(int value) { switch (value) { - case 1: return INSERT; - case 2: return UPDATE; - case 3: return INSERT_OR_UPDATE; - case 4: return REPLACE; - case 5: return DELETE; - case 0: return OPERATION_NOT_SET; - default: return null; + case 1: + return INSERT; + case 2: + return UPDATE; + case 3: + return INSERT_OR_UPDATE; + case 4: + return REPLACE; + case 5: + return DELETE; + case 0: + return OPERATION_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public OperationCase - getOperationCase() { - return OperationCase.forNumber( - operationCase_); + public OperationCase getOperationCase() { + return OperationCase.forNumber(operationCase_); } public static final int INSERT_FIELD_NUMBER = 1; /** + * + * *
    * Insert new rows in a table. If any of the rows already exist,
    * the write or transaction fails with error `ALREADY_EXISTS`.
    * 
* * .google.spanner.v1.Mutation.Write insert = 1; + * * @return Whether the insert field is set. */ @java.lang.Override @@ -2653,22 +2914,27 @@ public boolean hasInsert() { return operationCase_ == 1; } /** + * + * *
    * Insert new rows in a table. If any of the rows already exist,
    * the write or transaction fails with error `ALREADY_EXISTS`.
    * 
* * .google.spanner.v1.Mutation.Write insert = 1; + * * @return The insert. */ @java.lang.Override public com.google.spanner.v1.Mutation.Write getInsert() { if (operationCase_ == 1) { - return (com.google.spanner.v1.Mutation.Write) operation_; + return (com.google.spanner.v1.Mutation.Write) operation_; } return com.google.spanner.v1.Mutation.Write.getDefaultInstance(); } /** + * + * *
    * Insert new rows in a table. If any of the rows already exist,
    * the write or transaction fails with error `ALREADY_EXISTS`.
@@ -2679,19 +2945,22 @@ public com.google.spanner.v1.Mutation.Write getInsert() {
   @java.lang.Override
   public com.google.spanner.v1.Mutation.WriteOrBuilder getInsertOrBuilder() {
     if (operationCase_ == 1) {
-       return (com.google.spanner.v1.Mutation.Write) operation_;
+      return (com.google.spanner.v1.Mutation.Write) operation_;
     }
     return com.google.spanner.v1.Mutation.Write.getDefaultInstance();
   }
 
   public static final int UPDATE_FIELD_NUMBER = 2;
   /**
+   *
+   *
    * 
    * Update existing rows in a table. If any of the rows does not
    * already exist, the transaction fails with error `NOT_FOUND`.
    * 
* * .google.spanner.v1.Mutation.Write update = 2; + * * @return Whether the update field is set. */ @java.lang.Override @@ -2699,22 +2968,27 @@ public boolean hasUpdate() { return operationCase_ == 2; } /** + * + * *
    * Update existing rows in a table. If any of the rows does not
    * already exist, the transaction fails with error `NOT_FOUND`.
    * 
* * .google.spanner.v1.Mutation.Write update = 2; + * * @return The update. */ @java.lang.Override public com.google.spanner.v1.Mutation.Write getUpdate() { if (operationCase_ == 2) { - return (com.google.spanner.v1.Mutation.Write) operation_; + return (com.google.spanner.v1.Mutation.Write) operation_; } return com.google.spanner.v1.Mutation.Write.getDefaultInstance(); } /** + * + * *
    * Update existing rows in a table. If any of the rows does not
    * already exist, the transaction fails with error `NOT_FOUND`.
@@ -2725,13 +2999,15 @@ public com.google.spanner.v1.Mutation.Write getUpdate() {
   @java.lang.Override
   public com.google.spanner.v1.Mutation.WriteOrBuilder getUpdateOrBuilder() {
     if (operationCase_ == 2) {
-       return (com.google.spanner.v1.Mutation.Write) operation_;
+      return (com.google.spanner.v1.Mutation.Write) operation_;
     }
     return com.google.spanner.v1.Mutation.Write.getDefaultInstance();
   }
 
   public static final int INSERT_OR_UPDATE_FIELD_NUMBER = 3;
   /**
+   *
+   *
    * 
    * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, then
    * its column values are overwritten with the ones provided. Any
@@ -2742,6 +3018,7 @@ public com.google.spanner.v1.Mutation.WriteOrBuilder getUpdateOrBuilder() {
    * 
* * .google.spanner.v1.Mutation.Write insert_or_update = 3; + * * @return Whether the insertOrUpdate field is set. */ @java.lang.Override @@ -2749,6 +3026,8 @@ public boolean hasInsertOrUpdate() { return operationCase_ == 3; } /** + * + * *
    * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, then
    * its column values are overwritten with the ones provided. Any
@@ -2759,16 +3038,19 @@ public boolean hasInsertOrUpdate() {
    * 
* * .google.spanner.v1.Mutation.Write insert_or_update = 3; + * * @return The insertOrUpdate. */ @java.lang.Override public com.google.spanner.v1.Mutation.Write getInsertOrUpdate() { if (operationCase_ == 3) { - return (com.google.spanner.v1.Mutation.Write) operation_; + return (com.google.spanner.v1.Mutation.Write) operation_; } return com.google.spanner.v1.Mutation.Write.getDefaultInstance(); } /** + * + * *
    * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, then
    * its column values are overwritten with the ones provided. Any
@@ -2783,13 +3065,15 @@ public com.google.spanner.v1.Mutation.Write getInsertOrUpdate() {
   @java.lang.Override
   public com.google.spanner.v1.Mutation.WriteOrBuilder getInsertOrUpdateOrBuilder() {
     if (operationCase_ == 3) {
-       return (com.google.spanner.v1.Mutation.Write) operation_;
+      return (com.google.spanner.v1.Mutation.Write) operation_;
     }
     return com.google.spanner.v1.Mutation.Write.getDefaultInstance();
   }
 
   public static final int REPLACE_FIELD_NUMBER = 4;
   /**
+   *
+   *
    * 
    * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, it is
    * deleted, and the column values provided are inserted
@@ -2802,6 +3086,7 @@ public com.google.spanner.v1.Mutation.WriteOrBuilder getInsertOrUpdateOrBuilder(
    * 
* * .google.spanner.v1.Mutation.Write replace = 4; + * * @return Whether the replace field is set. */ @java.lang.Override @@ -2809,6 +3094,8 @@ public boolean hasReplace() { return operationCase_ == 4; } /** + * + * *
    * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, it is
    * deleted, and the column values provided are inserted
@@ -2821,16 +3108,19 @@ public boolean hasReplace() {
    * 
* * .google.spanner.v1.Mutation.Write replace = 4; + * * @return The replace. */ @java.lang.Override public com.google.spanner.v1.Mutation.Write getReplace() { if (operationCase_ == 4) { - return (com.google.spanner.v1.Mutation.Write) operation_; + return (com.google.spanner.v1.Mutation.Write) operation_; } return com.google.spanner.v1.Mutation.Write.getDefaultInstance(); } /** + * + * *
    * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, it is
    * deleted, and the column values provided are inserted
@@ -2847,19 +3137,22 @@ public com.google.spanner.v1.Mutation.Write getReplace() {
   @java.lang.Override
   public com.google.spanner.v1.Mutation.WriteOrBuilder getReplaceOrBuilder() {
     if (operationCase_ == 4) {
-       return (com.google.spanner.v1.Mutation.Write) operation_;
+      return (com.google.spanner.v1.Mutation.Write) operation_;
     }
     return com.google.spanner.v1.Mutation.Write.getDefaultInstance();
   }
 
   public static final int DELETE_FIELD_NUMBER = 5;
   /**
+   *
+   *
    * 
    * Delete rows from a table. Succeeds whether or not the named
    * rows were present.
    * 
* * .google.spanner.v1.Mutation.Delete delete = 5; + * * @return Whether the delete field is set. */ @java.lang.Override @@ -2867,22 +3160,27 @@ public boolean hasDelete() { return operationCase_ == 5; } /** + * + * *
    * Delete rows from a table. Succeeds whether or not the named
    * rows were present.
    * 
* * .google.spanner.v1.Mutation.Delete delete = 5; + * * @return The delete. */ @java.lang.Override public com.google.spanner.v1.Mutation.Delete getDelete() { if (operationCase_ == 5) { - return (com.google.spanner.v1.Mutation.Delete) operation_; + return (com.google.spanner.v1.Mutation.Delete) operation_; } return com.google.spanner.v1.Mutation.Delete.getDefaultInstance(); } /** + * + * *
    * Delete rows from a table. Succeeds whether or not the named
    * rows were present.
@@ -2893,12 +3191,13 @@ public com.google.spanner.v1.Mutation.Delete getDelete() {
   @java.lang.Override
   public com.google.spanner.v1.Mutation.DeleteOrBuilder getDeleteOrBuilder() {
     if (operationCase_ == 5) {
-       return (com.google.spanner.v1.Mutation.Delete) operation_;
+      return (com.google.spanner.v1.Mutation.Delete) operation_;
     }
     return com.google.spanner.v1.Mutation.Delete.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -2910,8 +3209,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 (operationCase_ == 1) {
       output.writeMessage(1, (com.google.spanner.v1.Mutation.Write) operation_);
     }
@@ -2937,24 +3235,29 @@ public int getSerializedSize() {
 
     size = 0;
     if (operationCase_ == 1) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, (com.google.spanner.v1.Mutation.Write) operation_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              1, (com.google.spanner.v1.Mutation.Write) operation_);
     }
     if (operationCase_ == 2) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, (com.google.spanner.v1.Mutation.Write) operation_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              2, (com.google.spanner.v1.Mutation.Write) operation_);
     }
     if (operationCase_ == 3) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, (com.google.spanner.v1.Mutation.Write) operation_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              3, (com.google.spanner.v1.Mutation.Write) operation_);
     }
     if (operationCase_ == 4) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, (com.google.spanner.v1.Mutation.Write) operation_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              4, (com.google.spanner.v1.Mutation.Write) operation_);
     }
     if (operationCase_ == 5) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, (com.google.spanner.v1.Mutation.Delete) operation_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              5, (com.google.spanner.v1.Mutation.Delete) operation_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -2964,7 +3267,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.spanner.v1.Mutation)) {
       return super.equals(obj);
@@ -2974,24 +3277,19 @@ public boolean equals(final java.lang.Object obj) {
     if (!getOperationCase().equals(other.getOperationCase())) return false;
     switch (operationCase_) {
       case 1:
-        if (!getInsert()
-            .equals(other.getInsert())) return false;
+        if (!getInsert().equals(other.getInsert())) return false;
         break;
       case 2:
-        if (!getUpdate()
-            .equals(other.getUpdate())) return false;
+        if (!getUpdate().equals(other.getUpdate())) return false;
         break;
       case 3:
-        if (!getInsertOrUpdate()
-            .equals(other.getInsertOrUpdate())) return false;
+        if (!getInsertOrUpdate().equals(other.getInsertOrUpdate())) return false;
         break;
       case 4:
-        if (!getReplace()
-            .equals(other.getReplace())) return false;
+        if (!getReplace().equals(other.getReplace())) return false;
         break;
       case 5:
-        if (!getDelete()
-            .equals(other.getDelete())) return false;
+        if (!getDelete().equals(other.getDelete())) return false;
         break;
       case 0:
       default:
@@ -3036,97 +3334,103 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.spanner.v1.Mutation parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.spanner.v1.Mutation parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.spanner.v1.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.spanner.v1.Mutation parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.spanner.v1.Mutation parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.spanner.v1.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.spanner.v1.Mutation parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.spanner.v1.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.spanner.v1.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.spanner.v1.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.spanner.v1.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.spanner.v1.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.spanner.v1.Mutation parseFrom(
-      com.google.protobuf.CodedInputStream input)
+
+  public static com.google.spanner.v1.Mutation 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.spanner.v1.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.spanner.v1.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;
   }
   /**
+   *
+   *
    * 
    * A modification to one or more Cloud Spanner rows.  Mutations can be
    * applied to a Cloud Spanner database by sending them in a
@@ -3135,33 +3439,31 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.spanner.v1.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.spanner.v1.Mutation)
       com.google.spanner.v1.MutationOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.spanner.v1.MutationProto.internal_static_google_spanner_v1_Mutation_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.spanner.v1.MutationProto
+          .internal_static_google_spanner_v1_Mutation_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.v1.MutationProto.internal_static_google_spanner_v1_Mutation_fieldAccessorTable
+      return com.google.spanner.v1.MutationProto
+          .internal_static_google_spanner_v1_Mutation_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
               com.google.spanner.v1.Mutation.class, com.google.spanner.v1.Mutation.Builder.class);
     }
 
     // Construct using com.google.spanner.v1.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();
@@ -3187,9 +3489,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.spanner.v1.MutationProto.internal_static_google_spanner_v1_Mutation_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.spanner.v1.MutationProto
+          .internal_static_google_spanner_v1_Mutation_descriptor;
     }
 
     @java.lang.Override
@@ -3209,7 +3511,9 @@ public com.google.spanner.v1.Mutation build() {
     @java.lang.Override
     public com.google.spanner.v1.Mutation buildPartial() {
       com.google.spanner.v1.Mutation result = new com.google.spanner.v1.Mutation(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -3222,24 +3526,19 @@ private void buildPartial0(com.google.spanner.v1.Mutation result) {
     private void buildPartialOneofs(com.google.spanner.v1.Mutation result) {
       result.operationCase_ = operationCase_;
       result.operation_ = this.operation_;
-      if (operationCase_ == 1 &&
-          insertBuilder_ != null) {
+      if (operationCase_ == 1 && insertBuilder_ != null) {
         result.operation_ = insertBuilder_.build();
       }
-      if (operationCase_ == 2 &&
-          updateBuilder_ != null) {
+      if (operationCase_ == 2 && updateBuilder_ != null) {
         result.operation_ = updateBuilder_.build();
       }
-      if (operationCase_ == 3 &&
-          insertOrUpdateBuilder_ != null) {
+      if (operationCase_ == 3 && insertOrUpdateBuilder_ != null) {
         result.operation_ = insertOrUpdateBuilder_.build();
       }
-      if (operationCase_ == 4 &&
-          replaceBuilder_ != null) {
+      if (operationCase_ == 4 && replaceBuilder_ != null) {
         result.operation_ = replaceBuilder_.build();
       }
-      if (operationCase_ == 5 &&
-          deleteBuilder_ != null) {
+      if (operationCase_ == 5 && deleteBuilder_ != null) {
         result.operation_ = deleteBuilder_.build();
       }
     }
@@ -3248,38 +3547,39 @@ private void buildPartialOneofs(com.google.spanner.v1.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.spanner.v1.Mutation) {
-        return mergeFrom((com.google.spanner.v1.Mutation)other);
+        return mergeFrom((com.google.spanner.v1.Mutation) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -3289,29 +3589,35 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     public Builder mergeFrom(com.google.spanner.v1.Mutation other) {
       if (other == com.google.spanner.v1.Mutation.getDefaultInstance()) return this;
       switch (other.getOperationCase()) {
-        case INSERT: {
-          mergeInsert(other.getInsert());
-          break;
-        }
-        case UPDATE: {
-          mergeUpdate(other.getUpdate());
-          break;
-        }
-        case INSERT_OR_UPDATE: {
-          mergeInsertOrUpdate(other.getInsertOrUpdate());
-          break;
-        }
-        case REPLACE: {
-          mergeReplace(other.getReplace());
-          break;
-        }
-        case DELETE: {
-          mergeDelete(other.getDelete());
-          break;
-        }
-        case OPERATION_NOT_SET: {
-          break;
-        }
+        case INSERT:
+          {
+            mergeInsert(other.getInsert());
+            break;
+          }
+        case UPDATE:
+          {
+            mergeUpdate(other.getUpdate());
+            break;
+          }
+        case INSERT_OR_UPDATE:
+          {
+            mergeInsertOrUpdate(other.getInsertOrUpdate());
+            break;
+          }
+        case REPLACE:
+          {
+            mergeReplace(other.getReplace());
+            break;
+          }
+        case DELETE:
+          {
+            mergeDelete(other.getDelete());
+            break;
+          }
+        case OPERATION_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -3339,47 +3645,43 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getInsertFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              operationCase_ = 1;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getUpdateFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              operationCase_ = 2;
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getInsertOrUpdateFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              operationCase_ = 3;
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getReplaceFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              operationCase_ = 4;
-              break;
-            } // case 34
-            case 42: {
-              input.readMessage(
-                  getDeleteFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              operationCase_ = 5;
-              break;
-            } // case 42
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getInsertFieldBuilder().getBuilder(), extensionRegistry);
+                operationCase_ = 1;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getUpdateFieldBuilder().getBuilder(), extensionRegistry);
+                operationCase_ = 2;
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getInsertOrUpdateFieldBuilder().getBuilder(), extensionRegistry);
+                operationCase_ = 3;
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(getReplaceFieldBuilder().getBuilder(), extensionRegistry);
+                operationCase_ = 4;
+                break;
+              } // case 34
+            case 42:
+              {
+                input.readMessage(getDeleteFieldBuilder().getBuilder(), extensionRegistry);
+                operationCase_ = 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) {
@@ -3389,12 +3691,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int operationCase_ = 0;
     private java.lang.Object operation_;
-    public OperationCase
-        getOperationCase() {
-      return OperationCase.forNumber(
-          operationCase_);
+
+    public OperationCase getOperationCase() {
+      return OperationCase.forNumber(operationCase_);
     }
 
     public Builder clearOperation() {
@@ -3407,14 +3709,20 @@ public Builder clearOperation() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.spanner.v1.Mutation.Write, com.google.spanner.v1.Mutation.Write.Builder, com.google.spanner.v1.Mutation.WriteOrBuilder> insertBuilder_;
+            com.google.spanner.v1.Mutation.Write,
+            com.google.spanner.v1.Mutation.Write.Builder,
+            com.google.spanner.v1.Mutation.WriteOrBuilder>
+        insertBuilder_;
     /**
+     *
+     *
      * 
      * Insert new rows in a table. If any of the rows already exist,
      * the write or transaction fails with error `ALREADY_EXISTS`.
      * 
* * .google.spanner.v1.Mutation.Write insert = 1; + * * @return Whether the insert field is set. */ @java.lang.Override @@ -3422,12 +3730,15 @@ public boolean hasInsert() { return operationCase_ == 1; } /** + * + * *
      * Insert new rows in a table. If any of the rows already exist,
      * the write or transaction fails with error `ALREADY_EXISTS`.
      * 
* * .google.spanner.v1.Mutation.Write insert = 1; + * * @return The insert. */ @java.lang.Override @@ -3445,6 +3756,8 @@ public com.google.spanner.v1.Mutation.Write getInsert() { } } /** + * + * *
      * Insert new rows in a table. If any of the rows already exist,
      * the write or transaction fails with error `ALREADY_EXISTS`.
@@ -3466,6 +3779,8 @@ public Builder setInsert(com.google.spanner.v1.Mutation.Write value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Insert new rows in a table. If any of the rows already exist,
      * the write or transaction fails with error `ALREADY_EXISTS`.
@@ -3473,8 +3788,7 @@ public Builder setInsert(com.google.spanner.v1.Mutation.Write value) {
      *
      * .google.spanner.v1.Mutation.Write insert = 1;
      */
-    public Builder setInsert(
-        com.google.spanner.v1.Mutation.Write.Builder builderForValue) {
+    public Builder setInsert(com.google.spanner.v1.Mutation.Write.Builder builderForValue) {
       if (insertBuilder_ == null) {
         operation_ = builderForValue.build();
         onChanged();
@@ -3485,6 +3799,8 @@ public Builder setInsert(
       return this;
     }
     /**
+     *
+     *
      * 
      * Insert new rows in a table. If any of the rows already exist,
      * the write or transaction fails with error `ALREADY_EXISTS`.
@@ -3494,10 +3810,13 @@ public Builder setInsert(
      */
     public Builder mergeInsert(com.google.spanner.v1.Mutation.Write value) {
       if (insertBuilder_ == null) {
-        if (operationCase_ == 1 &&
-            operation_ != com.google.spanner.v1.Mutation.Write.getDefaultInstance()) {
-          operation_ = com.google.spanner.v1.Mutation.Write.newBuilder((com.google.spanner.v1.Mutation.Write) operation_)
-              .mergeFrom(value).buildPartial();
+        if (operationCase_ == 1
+            && operation_ != com.google.spanner.v1.Mutation.Write.getDefaultInstance()) {
+          operation_ =
+              com.google.spanner.v1.Mutation.Write.newBuilder(
+                      (com.google.spanner.v1.Mutation.Write) operation_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           operation_ = value;
         }
@@ -3513,6 +3832,8 @@ public Builder mergeInsert(com.google.spanner.v1.Mutation.Write value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Insert new rows in a table. If any of the rows already exist,
      * the write or transaction fails with error `ALREADY_EXISTS`.
@@ -3537,6 +3858,8 @@ public Builder clearInsert() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Insert new rows in a table. If any of the rows already exist,
      * the write or transaction fails with error `ALREADY_EXISTS`.
@@ -3548,6 +3871,8 @@ public com.google.spanner.v1.Mutation.Write.Builder getInsertBuilder() {
       return getInsertFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Insert new rows in a table. If any of the rows already exist,
      * the write or transaction fails with error `ALREADY_EXISTS`.
@@ -3567,6 +3892,8 @@ public com.google.spanner.v1.Mutation.WriteOrBuilder getInsertOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * Insert new rows in a table. If any of the rows already exist,
      * the write or transaction fails with error `ALREADY_EXISTS`.
@@ -3575,14 +3902,19 @@ public com.google.spanner.v1.Mutation.WriteOrBuilder getInsertOrBuilder() {
      * .google.spanner.v1.Mutation.Write insert = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.spanner.v1.Mutation.Write, com.google.spanner.v1.Mutation.Write.Builder, com.google.spanner.v1.Mutation.WriteOrBuilder> 
+            com.google.spanner.v1.Mutation.Write,
+            com.google.spanner.v1.Mutation.Write.Builder,
+            com.google.spanner.v1.Mutation.WriteOrBuilder>
         getInsertFieldBuilder() {
       if (insertBuilder_ == null) {
         if (!(operationCase_ == 1)) {
           operation_ = com.google.spanner.v1.Mutation.Write.getDefaultInstance();
         }
-        insertBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.Mutation.Write, com.google.spanner.v1.Mutation.Write.Builder, com.google.spanner.v1.Mutation.WriteOrBuilder>(
+        insertBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.spanner.v1.Mutation.Write,
+                com.google.spanner.v1.Mutation.Write.Builder,
+                com.google.spanner.v1.Mutation.WriteOrBuilder>(
                 (com.google.spanner.v1.Mutation.Write) operation_,
                 getParentForChildren(),
                 isClean());
@@ -3594,14 +3926,20 @@ public com.google.spanner.v1.Mutation.WriteOrBuilder getInsertOrBuilder() {
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.spanner.v1.Mutation.Write, com.google.spanner.v1.Mutation.Write.Builder, com.google.spanner.v1.Mutation.WriteOrBuilder> updateBuilder_;
+            com.google.spanner.v1.Mutation.Write,
+            com.google.spanner.v1.Mutation.Write.Builder,
+            com.google.spanner.v1.Mutation.WriteOrBuilder>
+        updateBuilder_;
     /**
+     *
+     *
      * 
      * Update existing rows in a table. If any of the rows does not
      * already exist, the transaction fails with error `NOT_FOUND`.
      * 
* * .google.spanner.v1.Mutation.Write update = 2; + * * @return Whether the update field is set. */ @java.lang.Override @@ -3609,12 +3947,15 @@ public boolean hasUpdate() { return operationCase_ == 2; } /** + * + * *
      * Update existing rows in a table. If any of the rows does not
      * already exist, the transaction fails with error `NOT_FOUND`.
      * 
* * .google.spanner.v1.Mutation.Write update = 2; + * * @return The update. */ @java.lang.Override @@ -3632,6 +3973,8 @@ public com.google.spanner.v1.Mutation.Write getUpdate() { } } /** + * + * *
      * Update existing rows in a table. If any of the rows does not
      * already exist, the transaction fails with error `NOT_FOUND`.
@@ -3653,6 +3996,8 @@ public Builder setUpdate(com.google.spanner.v1.Mutation.Write value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Update existing rows in a table. If any of the rows does not
      * already exist, the transaction fails with error `NOT_FOUND`.
@@ -3660,8 +4005,7 @@ public Builder setUpdate(com.google.spanner.v1.Mutation.Write value) {
      *
      * .google.spanner.v1.Mutation.Write update = 2;
      */
-    public Builder setUpdate(
-        com.google.spanner.v1.Mutation.Write.Builder builderForValue) {
+    public Builder setUpdate(com.google.spanner.v1.Mutation.Write.Builder builderForValue) {
       if (updateBuilder_ == null) {
         operation_ = builderForValue.build();
         onChanged();
@@ -3672,6 +4016,8 @@ public Builder setUpdate(
       return this;
     }
     /**
+     *
+     *
      * 
      * Update existing rows in a table. If any of the rows does not
      * already exist, the transaction fails with error `NOT_FOUND`.
@@ -3681,10 +4027,13 @@ public Builder setUpdate(
      */
     public Builder mergeUpdate(com.google.spanner.v1.Mutation.Write value) {
       if (updateBuilder_ == null) {
-        if (operationCase_ == 2 &&
-            operation_ != com.google.spanner.v1.Mutation.Write.getDefaultInstance()) {
-          operation_ = com.google.spanner.v1.Mutation.Write.newBuilder((com.google.spanner.v1.Mutation.Write) operation_)
-              .mergeFrom(value).buildPartial();
+        if (operationCase_ == 2
+            && operation_ != com.google.spanner.v1.Mutation.Write.getDefaultInstance()) {
+          operation_ =
+              com.google.spanner.v1.Mutation.Write.newBuilder(
+                      (com.google.spanner.v1.Mutation.Write) operation_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           operation_ = value;
         }
@@ -3700,6 +4049,8 @@ public Builder mergeUpdate(com.google.spanner.v1.Mutation.Write value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Update existing rows in a table. If any of the rows does not
      * already exist, the transaction fails with error `NOT_FOUND`.
@@ -3724,6 +4075,8 @@ public Builder clearUpdate() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Update existing rows in a table. If any of the rows does not
      * already exist, the transaction fails with error `NOT_FOUND`.
@@ -3735,6 +4088,8 @@ public com.google.spanner.v1.Mutation.Write.Builder getUpdateBuilder() {
       return getUpdateFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Update existing rows in a table. If any of the rows does not
      * already exist, the transaction fails with error `NOT_FOUND`.
@@ -3754,6 +4109,8 @@ public com.google.spanner.v1.Mutation.WriteOrBuilder getUpdateOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * Update existing rows in a table. If any of the rows does not
      * already exist, the transaction fails with error `NOT_FOUND`.
@@ -3762,14 +4119,19 @@ public com.google.spanner.v1.Mutation.WriteOrBuilder getUpdateOrBuilder() {
      * .google.spanner.v1.Mutation.Write update = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.spanner.v1.Mutation.Write, com.google.spanner.v1.Mutation.Write.Builder, com.google.spanner.v1.Mutation.WriteOrBuilder> 
+            com.google.spanner.v1.Mutation.Write,
+            com.google.spanner.v1.Mutation.Write.Builder,
+            com.google.spanner.v1.Mutation.WriteOrBuilder>
         getUpdateFieldBuilder() {
       if (updateBuilder_ == null) {
         if (!(operationCase_ == 2)) {
           operation_ = com.google.spanner.v1.Mutation.Write.getDefaultInstance();
         }
-        updateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.Mutation.Write, com.google.spanner.v1.Mutation.Write.Builder, com.google.spanner.v1.Mutation.WriteOrBuilder>(
+        updateBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.spanner.v1.Mutation.Write,
+                com.google.spanner.v1.Mutation.Write.Builder,
+                com.google.spanner.v1.Mutation.WriteOrBuilder>(
                 (com.google.spanner.v1.Mutation.Write) operation_,
                 getParentForChildren(),
                 isClean());
@@ -3781,8 +4143,13 @@ public com.google.spanner.v1.Mutation.WriteOrBuilder getUpdateOrBuilder() {
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.spanner.v1.Mutation.Write, com.google.spanner.v1.Mutation.Write.Builder, com.google.spanner.v1.Mutation.WriteOrBuilder> insertOrUpdateBuilder_;
+            com.google.spanner.v1.Mutation.Write,
+            com.google.spanner.v1.Mutation.Write.Builder,
+            com.google.spanner.v1.Mutation.WriteOrBuilder>
+        insertOrUpdateBuilder_;
     /**
+     *
+     *
      * 
      * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, then
      * its column values are overwritten with the ones provided. Any
@@ -3793,6 +4160,7 @@ public com.google.spanner.v1.Mutation.WriteOrBuilder getUpdateOrBuilder() {
      * 
* * .google.spanner.v1.Mutation.Write insert_or_update = 3; + * * @return Whether the insertOrUpdate field is set. */ @java.lang.Override @@ -3800,6 +4168,8 @@ public boolean hasInsertOrUpdate() { return operationCase_ == 3; } /** + * + * *
      * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, then
      * its column values are overwritten with the ones provided. Any
@@ -3810,6 +4180,7 @@ public boolean hasInsertOrUpdate() {
      * 
* * .google.spanner.v1.Mutation.Write insert_or_update = 3; + * * @return The insertOrUpdate. */ @java.lang.Override @@ -3827,6 +4198,8 @@ public com.google.spanner.v1.Mutation.Write getInsertOrUpdate() { } } /** + * + * *
      * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, then
      * its column values are overwritten with the ones provided. Any
@@ -3852,6 +4225,8 @@ public Builder setInsertOrUpdate(com.google.spanner.v1.Mutation.Write value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, then
      * its column values are overwritten with the ones provided. Any
@@ -3863,8 +4238,7 @@ public Builder setInsertOrUpdate(com.google.spanner.v1.Mutation.Write value) {
      *
      * .google.spanner.v1.Mutation.Write insert_or_update = 3;
      */
-    public Builder setInsertOrUpdate(
-        com.google.spanner.v1.Mutation.Write.Builder builderForValue) {
+    public Builder setInsertOrUpdate(com.google.spanner.v1.Mutation.Write.Builder builderForValue) {
       if (insertOrUpdateBuilder_ == null) {
         operation_ = builderForValue.build();
         onChanged();
@@ -3875,6 +4249,8 @@ public Builder setInsertOrUpdate(
       return this;
     }
     /**
+     *
+     *
      * 
      * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, then
      * its column values are overwritten with the ones provided. Any
@@ -3888,10 +4264,13 @@ public Builder setInsertOrUpdate(
      */
     public Builder mergeInsertOrUpdate(com.google.spanner.v1.Mutation.Write value) {
       if (insertOrUpdateBuilder_ == null) {
-        if (operationCase_ == 3 &&
-            operation_ != com.google.spanner.v1.Mutation.Write.getDefaultInstance()) {
-          operation_ = com.google.spanner.v1.Mutation.Write.newBuilder((com.google.spanner.v1.Mutation.Write) operation_)
-              .mergeFrom(value).buildPartial();
+        if (operationCase_ == 3
+            && operation_ != com.google.spanner.v1.Mutation.Write.getDefaultInstance()) {
+          operation_ =
+              com.google.spanner.v1.Mutation.Write.newBuilder(
+                      (com.google.spanner.v1.Mutation.Write) operation_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           operation_ = value;
         }
@@ -3907,6 +4286,8 @@ public Builder mergeInsertOrUpdate(com.google.spanner.v1.Mutation.Write value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, then
      * its column values are overwritten with the ones provided. Any
@@ -3935,6 +4316,8 @@ public Builder clearInsertOrUpdate() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, then
      * its column values are overwritten with the ones provided. Any
@@ -3950,6 +4333,8 @@ public com.google.spanner.v1.Mutation.Write.Builder getInsertOrUpdateBuilder() {
       return getInsertOrUpdateFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, then
      * its column values are overwritten with the ones provided. Any
@@ -3973,6 +4358,8 @@ public com.google.spanner.v1.Mutation.WriteOrBuilder getInsertOrUpdateOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, then
      * its column values are overwritten with the ones provided. Any
@@ -3985,14 +4372,19 @@ public com.google.spanner.v1.Mutation.WriteOrBuilder getInsertOrUpdateOrBuilder(
      * .google.spanner.v1.Mutation.Write insert_or_update = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.spanner.v1.Mutation.Write, com.google.spanner.v1.Mutation.Write.Builder, com.google.spanner.v1.Mutation.WriteOrBuilder> 
+            com.google.spanner.v1.Mutation.Write,
+            com.google.spanner.v1.Mutation.Write.Builder,
+            com.google.spanner.v1.Mutation.WriteOrBuilder>
         getInsertOrUpdateFieldBuilder() {
       if (insertOrUpdateBuilder_ == null) {
         if (!(operationCase_ == 3)) {
           operation_ = com.google.spanner.v1.Mutation.Write.getDefaultInstance();
         }
-        insertOrUpdateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.Mutation.Write, com.google.spanner.v1.Mutation.Write.Builder, com.google.spanner.v1.Mutation.WriteOrBuilder>(
+        insertOrUpdateBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.spanner.v1.Mutation.Write,
+                com.google.spanner.v1.Mutation.Write.Builder,
+                com.google.spanner.v1.Mutation.WriteOrBuilder>(
                 (com.google.spanner.v1.Mutation.Write) operation_,
                 getParentForChildren(),
                 isClean());
@@ -4004,8 +4396,13 @@ public com.google.spanner.v1.Mutation.WriteOrBuilder getInsertOrUpdateOrBuilder(
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.spanner.v1.Mutation.Write, com.google.spanner.v1.Mutation.Write.Builder, com.google.spanner.v1.Mutation.WriteOrBuilder> replaceBuilder_;
+            com.google.spanner.v1.Mutation.Write,
+            com.google.spanner.v1.Mutation.Write.Builder,
+            com.google.spanner.v1.Mutation.WriteOrBuilder>
+        replaceBuilder_;
     /**
+     *
+     *
      * 
      * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, it is
      * deleted, and the column values provided are inserted
@@ -4018,6 +4415,7 @@ public com.google.spanner.v1.Mutation.WriteOrBuilder getInsertOrUpdateOrBuilder(
      * 
* * .google.spanner.v1.Mutation.Write replace = 4; + * * @return Whether the replace field is set. */ @java.lang.Override @@ -4025,6 +4423,8 @@ public boolean hasReplace() { return operationCase_ == 4; } /** + * + * *
      * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, it is
      * deleted, and the column values provided are inserted
@@ -4037,6 +4437,7 @@ public boolean hasReplace() {
      * 
* * .google.spanner.v1.Mutation.Write replace = 4; + * * @return The replace. */ @java.lang.Override @@ -4054,6 +4455,8 @@ public com.google.spanner.v1.Mutation.Write getReplace() { } } /** + * + * *
      * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, it is
      * deleted, and the column values provided are inserted
@@ -4081,6 +4484,8 @@ public Builder setReplace(com.google.spanner.v1.Mutation.Write value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, it is
      * deleted, and the column values provided are inserted
@@ -4094,8 +4499,7 @@ public Builder setReplace(com.google.spanner.v1.Mutation.Write value) {
      *
      * .google.spanner.v1.Mutation.Write replace = 4;
      */
-    public Builder setReplace(
-        com.google.spanner.v1.Mutation.Write.Builder builderForValue) {
+    public Builder setReplace(com.google.spanner.v1.Mutation.Write.Builder builderForValue) {
       if (replaceBuilder_ == null) {
         operation_ = builderForValue.build();
         onChanged();
@@ -4106,6 +4510,8 @@ public Builder setReplace(
       return this;
     }
     /**
+     *
+     *
      * 
      * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, it is
      * deleted, and the column values provided are inserted
@@ -4121,10 +4527,13 @@ public Builder setReplace(
      */
     public Builder mergeReplace(com.google.spanner.v1.Mutation.Write value) {
       if (replaceBuilder_ == null) {
-        if (operationCase_ == 4 &&
-            operation_ != com.google.spanner.v1.Mutation.Write.getDefaultInstance()) {
-          operation_ = com.google.spanner.v1.Mutation.Write.newBuilder((com.google.spanner.v1.Mutation.Write) operation_)
-              .mergeFrom(value).buildPartial();
+        if (operationCase_ == 4
+            && operation_ != com.google.spanner.v1.Mutation.Write.getDefaultInstance()) {
+          operation_ =
+              com.google.spanner.v1.Mutation.Write.newBuilder(
+                      (com.google.spanner.v1.Mutation.Write) operation_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           operation_ = value;
         }
@@ -4140,6 +4549,8 @@ public Builder mergeReplace(com.google.spanner.v1.Mutation.Write value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, it is
      * deleted, and the column values provided are inserted
@@ -4170,6 +4581,8 @@ public Builder clearReplace() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, it is
      * deleted, and the column values provided are inserted
@@ -4187,6 +4600,8 @@ public com.google.spanner.v1.Mutation.Write.Builder getReplaceBuilder() {
       return getReplaceFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, it is
      * deleted, and the column values provided are inserted
@@ -4212,6 +4627,8 @@ public com.google.spanner.v1.Mutation.WriteOrBuilder getReplaceOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, it is
      * deleted, and the column values provided are inserted
@@ -4226,14 +4643,19 @@ public com.google.spanner.v1.Mutation.WriteOrBuilder getReplaceOrBuilder() {
      * .google.spanner.v1.Mutation.Write replace = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.spanner.v1.Mutation.Write, com.google.spanner.v1.Mutation.Write.Builder, com.google.spanner.v1.Mutation.WriteOrBuilder> 
+            com.google.spanner.v1.Mutation.Write,
+            com.google.spanner.v1.Mutation.Write.Builder,
+            com.google.spanner.v1.Mutation.WriteOrBuilder>
         getReplaceFieldBuilder() {
       if (replaceBuilder_ == null) {
         if (!(operationCase_ == 4)) {
           operation_ = com.google.spanner.v1.Mutation.Write.getDefaultInstance();
         }
-        replaceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.Mutation.Write, com.google.spanner.v1.Mutation.Write.Builder, com.google.spanner.v1.Mutation.WriteOrBuilder>(
+        replaceBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.spanner.v1.Mutation.Write,
+                com.google.spanner.v1.Mutation.Write.Builder,
+                com.google.spanner.v1.Mutation.WriteOrBuilder>(
                 (com.google.spanner.v1.Mutation.Write) operation_,
                 getParentForChildren(),
                 isClean());
@@ -4245,14 +4667,20 @@ public com.google.spanner.v1.Mutation.WriteOrBuilder getReplaceOrBuilder() {
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.spanner.v1.Mutation.Delete, com.google.spanner.v1.Mutation.Delete.Builder, com.google.spanner.v1.Mutation.DeleteOrBuilder> deleteBuilder_;
+            com.google.spanner.v1.Mutation.Delete,
+            com.google.spanner.v1.Mutation.Delete.Builder,
+            com.google.spanner.v1.Mutation.DeleteOrBuilder>
+        deleteBuilder_;
     /**
+     *
+     *
      * 
      * Delete rows from a table. Succeeds whether or not the named
      * rows were present.
      * 
* * .google.spanner.v1.Mutation.Delete delete = 5; + * * @return Whether the delete field is set. */ @java.lang.Override @@ -4260,12 +4688,15 @@ public boolean hasDelete() { return operationCase_ == 5; } /** + * + * *
      * Delete rows from a table. Succeeds whether or not the named
      * rows were present.
      * 
* * .google.spanner.v1.Mutation.Delete delete = 5; + * * @return The delete. */ @java.lang.Override @@ -4283,6 +4714,8 @@ public com.google.spanner.v1.Mutation.Delete getDelete() { } } /** + * + * *
      * Delete rows from a table. Succeeds whether or not the named
      * rows were present.
@@ -4304,6 +4737,8 @@ public Builder setDelete(com.google.spanner.v1.Mutation.Delete value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Delete rows from a table. Succeeds whether or not the named
      * rows were present.
@@ -4311,8 +4746,7 @@ public Builder setDelete(com.google.spanner.v1.Mutation.Delete value) {
      *
      * .google.spanner.v1.Mutation.Delete delete = 5;
      */
-    public Builder setDelete(
-        com.google.spanner.v1.Mutation.Delete.Builder builderForValue) {
+    public Builder setDelete(com.google.spanner.v1.Mutation.Delete.Builder builderForValue) {
       if (deleteBuilder_ == null) {
         operation_ = builderForValue.build();
         onChanged();
@@ -4323,6 +4757,8 @@ public Builder setDelete(
       return this;
     }
     /**
+     *
+     *
      * 
      * Delete rows from a table. Succeeds whether or not the named
      * rows were present.
@@ -4332,10 +4768,13 @@ public Builder setDelete(
      */
     public Builder mergeDelete(com.google.spanner.v1.Mutation.Delete value) {
       if (deleteBuilder_ == null) {
-        if (operationCase_ == 5 &&
-            operation_ != com.google.spanner.v1.Mutation.Delete.getDefaultInstance()) {
-          operation_ = com.google.spanner.v1.Mutation.Delete.newBuilder((com.google.spanner.v1.Mutation.Delete) operation_)
-              .mergeFrom(value).buildPartial();
+        if (operationCase_ == 5
+            && operation_ != com.google.spanner.v1.Mutation.Delete.getDefaultInstance()) {
+          operation_ =
+              com.google.spanner.v1.Mutation.Delete.newBuilder(
+                      (com.google.spanner.v1.Mutation.Delete) operation_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           operation_ = value;
         }
@@ -4351,6 +4790,8 @@ public Builder mergeDelete(com.google.spanner.v1.Mutation.Delete value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Delete rows from a table. Succeeds whether or not the named
      * rows were present.
@@ -4375,6 +4816,8 @@ public Builder clearDelete() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Delete rows from a table. Succeeds whether or not the named
      * rows were present.
@@ -4386,6 +4829,8 @@ public com.google.spanner.v1.Mutation.Delete.Builder getDeleteBuilder() {
       return getDeleteFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Delete rows from a table. Succeeds whether or not the named
      * rows were present.
@@ -4405,6 +4850,8 @@ public com.google.spanner.v1.Mutation.DeleteOrBuilder getDeleteOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * Delete rows from a table. Succeeds whether or not the named
      * rows were present.
@@ -4413,14 +4860,19 @@ public com.google.spanner.v1.Mutation.DeleteOrBuilder getDeleteOrBuilder() {
      * .google.spanner.v1.Mutation.Delete delete = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.spanner.v1.Mutation.Delete, com.google.spanner.v1.Mutation.Delete.Builder, com.google.spanner.v1.Mutation.DeleteOrBuilder> 
+            com.google.spanner.v1.Mutation.Delete,
+            com.google.spanner.v1.Mutation.Delete.Builder,
+            com.google.spanner.v1.Mutation.DeleteOrBuilder>
         getDeleteFieldBuilder() {
       if (deleteBuilder_ == null) {
         if (!(operationCase_ == 5)) {
           operation_ = com.google.spanner.v1.Mutation.Delete.getDefaultInstance();
         }
-        deleteBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.Mutation.Delete, com.google.spanner.v1.Mutation.Delete.Builder, com.google.spanner.v1.Mutation.DeleteOrBuilder>(
+        deleteBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.spanner.v1.Mutation.Delete,
+                com.google.spanner.v1.Mutation.Delete.Builder,
+                com.google.spanner.v1.Mutation.DeleteOrBuilder>(
                 (com.google.spanner.v1.Mutation.Delete) operation_,
                 getParentForChildren(),
                 isClean());
@@ -4430,9 +4882,9 @@ public com.google.spanner.v1.Mutation.DeleteOrBuilder getDeleteOrBuilder() {
       onChanged();
       return deleteBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -4442,12 +4894,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.spanner.v1.Mutation)
   }
 
   // @@protoc_insertion_point(class_scope:google.spanner.v1.Mutation)
   private static final com.google.spanner.v1.Mutation DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.spanner.v1.Mutation();
   }
@@ -4456,27 +4908,27 @@ public static com.google.spanner.v1.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;
@@ -4491,6 +4943,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.spanner.v1.Mutation getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/MutationOrBuilder.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/MutationOrBuilder.java
similarity index 89%
rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/MutationOrBuilder.java
rename to proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/MutationOrBuilder.java
index bd1535d1663..c91b2bbb83f 100644
--- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/MutationOrBuilder.java
+++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/MutationOrBuilder.java
@@ -1,33 +1,57 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/v1/mutation.proto
 
 package com.google.spanner.v1;
 
-public interface MutationOrBuilder extends
+public interface MutationOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.spanner.v1.Mutation)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Insert new rows in a table. If any of the rows already exist,
    * the write or transaction fails with error `ALREADY_EXISTS`.
    * 
* * .google.spanner.v1.Mutation.Write insert = 1; + * * @return Whether the insert field is set. */ boolean hasInsert(); /** + * + * *
    * Insert new rows in a table. If any of the rows already exist,
    * the write or transaction fails with error `ALREADY_EXISTS`.
    * 
* * .google.spanner.v1.Mutation.Write insert = 1; + * * @return The insert. */ com.google.spanner.v1.Mutation.Write getInsert(); /** + * + * *
    * Insert new rows in a table. If any of the rows already exist,
    * the write or transaction fails with error `ALREADY_EXISTS`.
@@ -38,26 +62,34 @@ public interface MutationOrBuilder extends
   com.google.spanner.v1.Mutation.WriteOrBuilder getInsertOrBuilder();
 
   /**
+   *
+   *
    * 
    * Update existing rows in a table. If any of the rows does not
    * already exist, the transaction fails with error `NOT_FOUND`.
    * 
* * .google.spanner.v1.Mutation.Write update = 2; + * * @return Whether the update field is set. */ boolean hasUpdate(); /** + * + * *
    * Update existing rows in a table. If any of the rows does not
    * already exist, the transaction fails with error `NOT_FOUND`.
    * 
* * .google.spanner.v1.Mutation.Write update = 2; + * * @return The update. */ com.google.spanner.v1.Mutation.Write getUpdate(); /** + * + * *
    * Update existing rows in a table. If any of the rows does not
    * already exist, the transaction fails with error `NOT_FOUND`.
@@ -68,6 +100,8 @@ public interface MutationOrBuilder extends
   com.google.spanner.v1.Mutation.WriteOrBuilder getUpdateOrBuilder();
 
   /**
+   *
+   *
    * 
    * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, then
    * its column values are overwritten with the ones provided. Any
@@ -78,10 +112,13 @@ public interface MutationOrBuilder extends
    * 
* * .google.spanner.v1.Mutation.Write insert_or_update = 3; + * * @return Whether the insertOrUpdate field is set. */ boolean hasInsertOrUpdate(); /** + * + * *
    * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, then
    * its column values are overwritten with the ones provided. Any
@@ -92,10 +129,13 @@ public interface MutationOrBuilder extends
    * 
* * .google.spanner.v1.Mutation.Write insert_or_update = 3; + * * @return The insertOrUpdate. */ com.google.spanner.v1.Mutation.Write getInsertOrUpdate(); /** + * + * *
    * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, then
    * its column values are overwritten with the ones provided. Any
@@ -110,6 +150,8 @@ public interface MutationOrBuilder extends
   com.google.spanner.v1.Mutation.WriteOrBuilder getInsertOrUpdateOrBuilder();
 
   /**
+   *
+   *
    * 
    * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, it is
    * deleted, and the column values provided are inserted
@@ -122,10 +164,13 @@ public interface MutationOrBuilder extends
    * 
* * .google.spanner.v1.Mutation.Write replace = 4; + * * @return Whether the replace field is set. */ boolean hasReplace(); /** + * + * *
    * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, it is
    * deleted, and the column values provided are inserted
@@ -138,10 +183,13 @@ public interface MutationOrBuilder extends
    * 
* * .google.spanner.v1.Mutation.Write replace = 4; + * * @return The replace. */ com.google.spanner.v1.Mutation.Write getReplace(); /** + * + * *
    * Like [insert][google.spanner.v1.Mutation.insert], except that if the row already exists, it is
    * deleted, and the column values provided are inserted
@@ -158,26 +206,34 @@ public interface MutationOrBuilder extends
   com.google.spanner.v1.Mutation.WriteOrBuilder getReplaceOrBuilder();
 
   /**
+   *
+   *
    * 
    * Delete rows from a table. Succeeds whether or not the named
    * rows were present.
    * 
* * .google.spanner.v1.Mutation.Delete delete = 5; + * * @return Whether the delete field is set. */ boolean hasDelete(); /** + * + * *
    * Delete rows from a table. Succeeds whether or not the named
    * rows were present.
    * 
* * .google.spanner.v1.Mutation.Delete delete = 5; + * * @return The delete. */ com.google.spanner.v1.Mutation.Delete getDelete(); /** + * + * *
    * Delete rows from a table. Succeeds whether or not the named
    * rows were present.
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/MutationProto.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/MutationProto.java
new file mode 100644
index 00000000000..a1706fc4cd1
--- /dev/null
+++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/MutationProto.java
@@ -0,0 +1,116 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/spanner/v1/mutation.proto
+
+package com.google.spanner.v1;
+
+public final class MutationProto {
+  private MutationProto() {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_spanner_v1_Mutation_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_spanner_v1_Mutation_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_spanner_v1_Mutation_Write_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_spanner_v1_Mutation_Write_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_spanner_v1_Mutation_Delete_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_spanner_v1_Mutation_Delete_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+    return descriptor;
+  }
+
+  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
+
+  static {
+    java.lang.String[] descriptorData = {
+      "\n google/spanner/v1/mutation.proto\022\021goog"
+          + "le.spanner.v1\032\037google/api/field_behavior"
+          + ".proto\032\034google/protobuf/struct.proto\032\034go"
+          + "ogle/spanner/v1/keys.proto\"\325\003\n\010Mutation\022"
+          + "3\n\006insert\030\001 \001(\0132!.google.spanner.v1.Muta"
+          + "tion.WriteH\000\0223\n\006update\030\002 \001(\0132!.google.sp"
+          + "anner.v1.Mutation.WriteH\000\022=\n\020insert_or_u"
+          + "pdate\030\003 \001(\0132!.google.spanner.v1.Mutation"
+          + ".WriteH\000\0224\n\007replace\030\004 \001(\0132!.google.spann"
+          + "er.v1.Mutation.WriteH\000\0224\n\006delete\030\005 \001(\0132\""
+          + ".google.spanner.v1.Mutation.DeleteH\000\032X\n\005"
+          + "Write\022\022\n\005table\030\001 \001(\tB\003\340A\002\022\017\n\007columns\030\002 \003"
+          + "(\t\022*\n\006values\030\003 \003(\0132\032.google.protobuf.Lis"
+          + "tValue\032M\n\006Delete\022\022\n\005table\030\001 \001(\tB\003\340A\002\022/\n\007"
+          + "key_set\030\002 \001(\0132\031.google.spanner.v1.KeySet"
+          + "B\003\340A\002B\013\n\toperationB\260\001\n\025com.google.spanne"
+          + "r.v1B\rMutationProtoP\001Z5cloud.google.com/"
+          + "go/spanner/apiv1/spannerpb;spannerpb\252\002\027G"
+          + "oogle.Cloud.Spanner.V1\312\002\027Google\\Cloud\\Sp"
+          + "anner\\V1\352\002\032Google::Cloud::Spanner::V1b\006p"
+          + "roto3"
+    };
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData,
+            new com.google.protobuf.Descriptors.FileDescriptor[] {
+              com.google.api.FieldBehaviorProto.getDescriptor(),
+              com.google.protobuf.StructProto.getDescriptor(),
+              com.google.spanner.v1.KeysProto.getDescriptor(),
+            });
+    internal_static_google_spanner_v1_Mutation_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_spanner_v1_Mutation_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_spanner_v1_Mutation_descriptor,
+            new java.lang.String[] {
+              "Insert", "Update", "InsertOrUpdate", "Replace", "Delete", "Operation",
+            });
+    internal_static_google_spanner_v1_Mutation_Write_descriptor =
+        internal_static_google_spanner_v1_Mutation_descriptor.getNestedTypes().get(0);
+    internal_static_google_spanner_v1_Mutation_Write_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_spanner_v1_Mutation_Write_descriptor,
+            new java.lang.String[] {
+              "Table", "Columns", "Values",
+            });
+    internal_static_google_spanner_v1_Mutation_Delete_descriptor =
+        internal_static_google_spanner_v1_Mutation_descriptor.getNestedTypes().get(1);
+    internal_static_google_spanner_v1_Mutation_Delete_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_spanner_v1_Mutation_Delete_descriptor,
+            new java.lang.String[] {
+              "Table", "KeySet",
+            });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
+        descriptor, registry);
+    com.google.api.FieldBehaviorProto.getDescriptor();
+    com.google.protobuf.StructProto.getDescriptor();
+    com.google.spanner.v1.KeysProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartialResultSet.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartialResultSet.java
similarity index 89%
rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartialResultSet.java
rename to proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartialResultSet.java
index 77f5364d29d..4453ef0c119 100644
--- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartialResultSet.java
+++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartialResultSet.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/v1/result_set.proto
 
 package com.google.spanner.v1;
 
 /**
+ *
+ *
  * 
  * Partial results from a streaming read or SQL query. Streaming reads and
  * SQL queries better tolerate large result sets, large rows, and large
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.spanner.v1.PartialResultSet}
  */
-public final class PartialResultSet extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class PartialResultSet extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.spanner.v1.PartialResultSet)
     PartialResultSetOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use PartialResultSet.newBuilder() to construct.
   private PartialResultSet(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private PartialResultSet() {
     values_ = java.util.Collections.emptyList();
     resumeToken_ = com.google.protobuf.ByteString.EMPTY;
@@ -28,38 +46,42 @@ private PartialResultSet() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new PartialResultSet();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.spanner.v1.ResultSetProto.internal_static_google_spanner_v1_PartialResultSet_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.spanner.v1.ResultSetProto
+        .internal_static_google_spanner_v1_PartialResultSet_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.v1.ResultSetProto.internal_static_google_spanner_v1_PartialResultSet_fieldAccessorTable
+    return com.google.spanner.v1.ResultSetProto
+        .internal_static_google_spanner_v1_PartialResultSet_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.v1.PartialResultSet.class, com.google.spanner.v1.PartialResultSet.Builder.class);
+            com.google.spanner.v1.PartialResultSet.class,
+            com.google.spanner.v1.PartialResultSet.Builder.class);
   }
 
   public static final int METADATA_FIELD_NUMBER = 1;
   private com.google.spanner.v1.ResultSetMetadata metadata_;
   /**
+   *
+   *
    * 
    * Metadata about the result set, such as row type information.
    * Only present in the first response.
    * 
* * .google.spanner.v1.ResultSetMetadata metadata = 1; + * * @return Whether the metadata field is set. */ @java.lang.Override @@ -67,19 +89,26 @@ public boolean hasMetadata() { return metadata_ != null; } /** + * + * *
    * Metadata about the result set, such as row type information.
    * Only present in the first response.
    * 
* * .google.spanner.v1.ResultSetMetadata metadata = 1; + * * @return The metadata. */ @java.lang.Override public com.google.spanner.v1.ResultSetMetadata getMetadata() { - return metadata_ == null ? com.google.spanner.v1.ResultSetMetadata.getDefaultInstance() : metadata_; + return metadata_ == null + ? com.google.spanner.v1.ResultSetMetadata.getDefaultInstance() + : metadata_; } /** + * + * *
    * Metadata about the result set, such as row type information.
    * Only present in the first response.
@@ -89,13 +118,18 @@ public com.google.spanner.v1.ResultSetMetadata getMetadata() {
    */
   @java.lang.Override
   public com.google.spanner.v1.ResultSetMetadataOrBuilder getMetadataOrBuilder() {
-    return metadata_ == null ? com.google.spanner.v1.ResultSetMetadata.getDefaultInstance() : metadata_;
+    return metadata_ == null
+        ? com.google.spanner.v1.ResultSetMetadata.getDefaultInstance()
+        : metadata_;
   }
 
   public static final int VALUES_FIELD_NUMBER = 2;
+
   @SuppressWarnings("serial")
   private java.util.List values_;
   /**
+   *
+   *
    * 
    * A streamed result set consists of a stream of values, which might
    * be split into many `PartialResultSet` messages to accommodate
@@ -165,6 +199,8 @@ public java.util.List getValuesList() {
     return values_;
   }
   /**
+   *
+   *
    * 
    * A streamed result set consists of a stream of values, which might
    * be split into many `PartialResultSet` messages to accommodate
@@ -230,11 +266,12 @@ public java.util.List getValuesList() {
    * repeated .google.protobuf.Value values = 2;
    */
   @java.lang.Override
-  public java.util.List 
-      getValuesOrBuilderList() {
+  public java.util.List getValuesOrBuilderList() {
     return values_;
   }
   /**
+   *
+   *
    * 
    * A streamed result set consists of a stream of values, which might
    * be split into many `PartialResultSet` messages to accommodate
@@ -304,6 +341,8 @@ public int getValuesCount() {
     return values_.size();
   }
   /**
+   *
+   *
    * 
    * A streamed result set consists of a stream of values, which might
    * be split into many `PartialResultSet` messages to accommodate
@@ -373,6 +412,8 @@ public com.google.protobuf.Value getValues(int index) {
     return values_.get(index);
   }
   /**
+   *
+   *
    * 
    * A streamed result set consists of a stream of values, which might
    * be split into many `PartialResultSet` messages to accommodate
@@ -438,14 +479,15 @@ public com.google.protobuf.Value getValues(int index) {
    * repeated .google.protobuf.Value values = 2;
    */
   @java.lang.Override
-  public com.google.protobuf.ValueOrBuilder getValuesOrBuilder(
-      int index) {
+  public com.google.protobuf.ValueOrBuilder getValuesOrBuilder(int index) {
     return values_.get(index);
   }
 
   public static final int CHUNKED_VALUE_FIELD_NUMBER = 3;
   private boolean chunkedValue_ = false;
   /**
+   *
+   *
    * 
    * If true, then the final value in [values][google.spanner.v1.PartialResultSet.values] is chunked, and must
    * be combined with more values from subsequent `PartialResultSet`s
@@ -453,6 +495,7 @@ public com.google.protobuf.ValueOrBuilder getValuesOrBuilder(
    * 
* * bool chunked_value = 3; + * * @return The chunkedValue. */ @java.lang.Override @@ -463,6 +506,8 @@ public boolean getChunkedValue() { public static final int RESUME_TOKEN_FIELD_NUMBER = 4; private com.google.protobuf.ByteString resumeToken_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
    * Streaming calls might be interrupted for a variety of reasons, such
    * as TCP connection loss. If this occurs, the stream of results can
@@ -472,6 +517,7 @@ public boolean getChunkedValue() {
    * 
* * bytes resume_token = 4; + * * @return The resumeToken. */ @java.lang.Override @@ -482,6 +528,8 @@ public com.google.protobuf.ByteString getResumeToken() { public static final int STATS_FIELD_NUMBER = 5; private com.google.spanner.v1.ResultSetStats stats_; /** + * + * *
    * Query plan and execution statistics for the statement that produced this
    * streaming result set. These can be requested by setting
@@ -492,6 +540,7 @@ public com.google.protobuf.ByteString getResumeToken() {
    * 
* * .google.spanner.v1.ResultSetStats stats = 5; + * * @return Whether the stats field is set. */ @java.lang.Override @@ -499,6 +548,8 @@ public boolean hasStats() { return stats_ != null; } /** + * + * *
    * Query plan and execution statistics for the statement that produced this
    * streaming result set. These can be requested by setting
@@ -509,6 +560,7 @@ public boolean hasStats() {
    * 
* * .google.spanner.v1.ResultSetStats stats = 5; + * * @return The stats. */ @java.lang.Override @@ -516,6 +568,8 @@ public com.google.spanner.v1.ResultSetStats getStats() { return stats_ == null ? com.google.spanner.v1.ResultSetStats.getDefaultInstance() : stats_; } /** + * + * *
    * Query plan and execution statistics for the statement that produced this
    * streaming result set. These can be requested by setting
@@ -533,6 +587,7 @@ public com.google.spanner.v1.ResultSetStatsOrBuilder getStatsOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -544,8 +599,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 (metadata_ != null) {
       output.writeMessage(1, getMetadata());
     }
@@ -571,24 +625,19 @@ public int getSerializedSize() {
 
     size = 0;
     if (metadata_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getMetadata());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getMetadata());
     }
     for (int i = 0; i < values_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, values_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, values_.get(i));
     }
     if (chunkedValue_ != false) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeBoolSize(3, chunkedValue_);
+      size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, chunkedValue_);
     }
     if (!resumeToken_.isEmpty()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeBytesSize(4, resumeToken_);
+      size += com.google.protobuf.CodedOutputStream.computeBytesSize(4, resumeToken_);
     }
     if (stats_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, getStats());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getStats());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -598,7 +647,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.spanner.v1.PartialResultSet)) {
       return super.equals(obj);
@@ -607,19 +656,14 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasMetadata() != other.hasMetadata()) return false;
     if (hasMetadata()) {
-      if (!getMetadata()
-          .equals(other.getMetadata())) return false;
-    }
-    if (!getValuesList()
-        .equals(other.getValuesList())) return false;
-    if (getChunkedValue()
-        != other.getChunkedValue()) return false;
-    if (!getResumeToken()
-        .equals(other.getResumeToken())) return false;
+      if (!getMetadata().equals(other.getMetadata())) return false;
+    }
+    if (!getValuesList().equals(other.getValuesList())) return false;
+    if (getChunkedValue() != other.getChunkedValue()) return false;
+    if (!getResumeToken().equals(other.getResumeToken())) return false;
     if (hasStats() != other.hasStats()) return false;
     if (hasStats()) {
-      if (!getStats()
-          .equals(other.getStats())) return false;
+      if (!getStats().equals(other.getStats())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -641,8 +685,7 @@ public int hashCode() {
       hash = (53 * hash) + getValuesList().hashCode();
     }
     hash = (37 * hash) + CHUNKED_VALUE_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
-        getChunkedValue());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getChunkedValue());
     hash = (37 * hash) + RESUME_TOKEN_FIELD_NUMBER;
     hash = (53 * hash) + getResumeToken().hashCode();
     if (hasStats()) {
@@ -654,97 +697,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.spanner.v1.PartialResultSet parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.spanner.v1.PartialResultSet parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.spanner.v1.PartialResultSet parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.spanner.v1.PartialResultSet parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.spanner.v1.PartialResultSet parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.spanner.v1.PartialResultSet parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.spanner.v1.PartialResultSet parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.spanner.v1.PartialResultSet parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.spanner.v1.PartialResultSet parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.spanner.v1.PartialResultSet 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.spanner.v1.PartialResultSet parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.spanner.v1.PartialResultSet parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.spanner.v1.PartialResultSet parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.spanner.v1.PartialResultSet prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Partial results from a streaming read or SQL query. Streaming reads and
    * SQL queries better tolerate large result sets, large rows, and large
@@ -753,33 +803,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.spanner.v1.PartialResultSet}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.spanner.v1.PartialResultSet)
       com.google.spanner.v1.PartialResultSetOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.spanner.v1.ResultSetProto.internal_static_google_spanner_v1_PartialResultSet_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.spanner.v1.ResultSetProto
+          .internal_static_google_spanner_v1_PartialResultSet_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.v1.ResultSetProto.internal_static_google_spanner_v1_PartialResultSet_fieldAccessorTable
+      return com.google.spanner.v1.ResultSetProto
+          .internal_static_google_spanner_v1_PartialResultSet_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.v1.PartialResultSet.class, com.google.spanner.v1.PartialResultSet.Builder.class);
+              com.google.spanner.v1.PartialResultSet.class,
+              com.google.spanner.v1.PartialResultSet.Builder.class);
     }
 
     // Construct using com.google.spanner.v1.PartialResultSet.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -807,9 +856,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.spanner.v1.ResultSetProto.internal_static_google_spanner_v1_PartialResultSet_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.spanner.v1.ResultSetProto
+          .internal_static_google_spanner_v1_PartialResultSet_descriptor;
     }
 
     @java.lang.Override
@@ -828,9 +877,12 @@ public com.google.spanner.v1.PartialResultSet build() {
 
     @java.lang.Override
     public com.google.spanner.v1.PartialResultSet buildPartial() {
-      com.google.spanner.v1.PartialResultSet result = new com.google.spanner.v1.PartialResultSet(this);
+      com.google.spanner.v1.PartialResultSet result =
+          new com.google.spanner.v1.PartialResultSet(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -850,9 +902,7 @@ private void buildPartialRepeatedFields(com.google.spanner.v1.PartialResultSet r
     private void buildPartial0(com.google.spanner.v1.PartialResultSet result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.metadata_ = metadataBuilder_ == null
-            ? metadata_
-            : metadataBuilder_.build();
+        result.metadata_ = metadataBuilder_ == null ? metadata_ : metadataBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
         result.chunkedValue_ = chunkedValue_;
@@ -861,9 +911,7 @@ private void buildPartial0(com.google.spanner.v1.PartialResultSet result) {
         result.resumeToken_ = resumeToken_;
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.stats_ = statsBuilder_ == null
-            ? stats_
-            : statsBuilder_.build();
+        result.stats_ = statsBuilder_ == null ? stats_ : statsBuilder_.build();
       }
     }
 
@@ -871,38 +919,39 @@ private void buildPartial0(com.google.spanner.v1.PartialResultSet 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.spanner.v1.PartialResultSet) {
-        return mergeFrom((com.google.spanner.v1.PartialResultSet)other);
+        return mergeFrom((com.google.spanner.v1.PartialResultSet) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -932,9 +981,10 @@ public Builder mergeFrom(com.google.spanner.v1.PartialResultSet other) {
             valuesBuilder_ = null;
             values_ = other.values_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            valuesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getValuesFieldBuilder() : null;
+            valuesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getValuesFieldBuilder()
+                    : null;
           } else {
             valuesBuilder_.addAllMessages(other.values_);
           }
@@ -975,49 +1025,49 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getMetadataFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              com.google.protobuf.Value m =
-                  input.readMessage(
-                      com.google.protobuf.Value.parser(),
-                      extensionRegistry);
-              if (valuesBuilder_ == null) {
-                ensureValuesIsMutable();
-                values_.add(m);
-              } else {
-                valuesBuilder_.addMessage(m);
-              }
-              break;
-            } // case 18
-            case 24: {
-              chunkedValue_ = input.readBool();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 24
-            case 34: {
-              resumeToken_ = input.readBytes();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            case 42: {
-              input.readMessage(
-                  getStatsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 42
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getMetadataFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                com.google.protobuf.Value m =
+                    input.readMessage(com.google.protobuf.Value.parser(), extensionRegistry);
+                if (valuesBuilder_ == null) {
+                  ensureValuesIsMutable();
+                  values_.add(m);
+                } else {
+                  valuesBuilder_.addMessage(m);
+                }
+                break;
+              } // case 18
+            case 24:
+              {
+                chunkedValue_ = input.readBool();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 24
+            case 34:
+              {
+                resumeToken_ = input.readBytes();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            case 42:
+              {
+                input.readMessage(getStatsFieldBuilder().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) {
@@ -1027,40 +1077,54 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.spanner.v1.ResultSetMetadata metadata_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.spanner.v1.ResultSetMetadata, com.google.spanner.v1.ResultSetMetadata.Builder, com.google.spanner.v1.ResultSetMetadataOrBuilder> metadataBuilder_;
+            com.google.spanner.v1.ResultSetMetadata,
+            com.google.spanner.v1.ResultSetMetadata.Builder,
+            com.google.spanner.v1.ResultSetMetadataOrBuilder>
+        metadataBuilder_;
     /**
+     *
+     *
      * 
      * Metadata about the result set, such as row type information.
      * Only present in the first response.
      * 
* * .google.spanner.v1.ResultSetMetadata metadata = 1; + * * @return Whether the metadata field is set. */ public boolean hasMetadata() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Metadata about the result set, such as row type information.
      * Only present in the first response.
      * 
* * .google.spanner.v1.ResultSetMetadata metadata = 1; + * * @return The metadata. */ public com.google.spanner.v1.ResultSetMetadata getMetadata() { if (metadataBuilder_ == null) { - return metadata_ == null ? com.google.spanner.v1.ResultSetMetadata.getDefaultInstance() : metadata_; + return metadata_ == null + ? com.google.spanner.v1.ResultSetMetadata.getDefaultInstance() + : metadata_; } else { return metadataBuilder_.getMessage(); } } /** + * + * *
      * Metadata about the result set, such as row type information.
      * Only present in the first response.
@@ -1082,6 +1146,8 @@ public Builder setMetadata(com.google.spanner.v1.ResultSetMetadata value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Metadata about the result set, such as row type information.
      * Only present in the first response.
@@ -1089,8 +1155,7 @@ public Builder setMetadata(com.google.spanner.v1.ResultSetMetadata value) {
      *
      * .google.spanner.v1.ResultSetMetadata metadata = 1;
      */
-    public Builder setMetadata(
-        com.google.spanner.v1.ResultSetMetadata.Builder builderForValue) {
+    public Builder setMetadata(com.google.spanner.v1.ResultSetMetadata.Builder builderForValue) {
       if (metadataBuilder_ == null) {
         metadata_ = builderForValue.build();
       } else {
@@ -1101,6 +1166,8 @@ public Builder setMetadata(
       return this;
     }
     /**
+     *
+     *
      * 
      * Metadata about the result set, such as row type information.
      * Only present in the first response.
@@ -1110,9 +1177,9 @@ public Builder setMetadata(
      */
     public Builder mergeMetadata(com.google.spanner.v1.ResultSetMetadata value) {
       if (metadataBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0) &&
-          metadata_ != null &&
-          metadata_ != com.google.spanner.v1.ResultSetMetadata.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0)
+            && metadata_ != null
+            && metadata_ != com.google.spanner.v1.ResultSetMetadata.getDefaultInstance()) {
           getMetadataBuilder().mergeFrom(value);
         } else {
           metadata_ = value;
@@ -1125,6 +1192,8 @@ public Builder mergeMetadata(com.google.spanner.v1.ResultSetMetadata value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Metadata about the result set, such as row type information.
      * Only present in the first response.
@@ -1143,6 +1212,8 @@ public Builder clearMetadata() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Metadata about the result set, such as row type information.
      * Only present in the first response.
@@ -1156,6 +1227,8 @@ public com.google.spanner.v1.ResultSetMetadata.Builder getMetadataBuilder() {
       return getMetadataFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Metadata about the result set, such as row type information.
      * Only present in the first response.
@@ -1167,11 +1240,14 @@ public com.google.spanner.v1.ResultSetMetadataOrBuilder getMetadataOrBuilder() {
       if (metadataBuilder_ != null) {
         return metadataBuilder_.getMessageOrBuilder();
       } else {
-        return metadata_ == null ?
-            com.google.spanner.v1.ResultSetMetadata.getDefaultInstance() : metadata_;
+        return metadata_ == null
+            ? com.google.spanner.v1.ResultSetMetadata.getDefaultInstance()
+            : metadata_;
       }
     }
     /**
+     *
+     *
      * 
      * Metadata about the result set, such as row type information.
      * Only present in the first response.
@@ -1180,32 +1256,40 @@ public com.google.spanner.v1.ResultSetMetadataOrBuilder getMetadataOrBuilder() {
      * .google.spanner.v1.ResultSetMetadata metadata = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.spanner.v1.ResultSetMetadata, com.google.spanner.v1.ResultSetMetadata.Builder, com.google.spanner.v1.ResultSetMetadataOrBuilder> 
+            com.google.spanner.v1.ResultSetMetadata,
+            com.google.spanner.v1.ResultSetMetadata.Builder,
+            com.google.spanner.v1.ResultSetMetadataOrBuilder>
         getMetadataFieldBuilder() {
       if (metadataBuilder_ == null) {
-        metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.ResultSetMetadata, com.google.spanner.v1.ResultSetMetadata.Builder, com.google.spanner.v1.ResultSetMetadataOrBuilder>(
-                getMetadata(),
-                getParentForChildren(),
-                isClean());
+        metadataBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.spanner.v1.ResultSetMetadata,
+                com.google.spanner.v1.ResultSetMetadata.Builder,
+                com.google.spanner.v1.ResultSetMetadataOrBuilder>(
+                getMetadata(), getParentForChildren(), isClean());
         metadata_ = null;
       }
       return metadataBuilder_;
     }
 
-    private java.util.List values_ =
-      java.util.Collections.emptyList();
+    private java.util.List values_ = java.util.Collections.emptyList();
+
     private void ensureValuesIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
         values_ = new java.util.ArrayList(values_);
         bitField0_ |= 0x00000002;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.protobuf.Value, com.google.protobuf.Value.Builder, com.google.protobuf.ValueOrBuilder> valuesBuilder_;
+            com.google.protobuf.Value,
+            com.google.protobuf.Value.Builder,
+            com.google.protobuf.ValueOrBuilder>
+        valuesBuilder_;
 
     /**
+     *
+     *
      * 
      * A streamed result set consists of a stream of values, which might
      * be split into many `PartialResultSet` messages to accommodate
@@ -1278,6 +1362,8 @@ public java.util.List getValuesList() {
       }
     }
     /**
+     *
+     *
      * 
      * A streamed result set consists of a stream of values, which might
      * be split into many `PartialResultSet` messages to accommodate
@@ -1350,6 +1436,8 @@ public int getValuesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * A streamed result set consists of a stream of values, which might
      * be split into many `PartialResultSet` messages to accommodate
@@ -1422,6 +1510,8 @@ public com.google.protobuf.Value getValues(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * A streamed result set consists of a stream of values, which might
      * be split into many `PartialResultSet` messages to accommodate
@@ -1486,8 +1576,7 @@ public com.google.protobuf.Value getValues(int index) {
      *
      * repeated .google.protobuf.Value values = 2;
      */
-    public Builder setValues(
-        int index, com.google.protobuf.Value value) {
+    public Builder setValues(int index, com.google.protobuf.Value value) {
       if (valuesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1501,6 +1590,8 @@ public Builder setValues(
       return this;
     }
     /**
+     *
+     *
      * 
      * A streamed result set consists of a stream of values, which might
      * be split into many `PartialResultSet` messages to accommodate
@@ -1565,8 +1656,7 @@ public Builder setValues(
      *
      * repeated .google.protobuf.Value values = 2;
      */
-    public Builder setValues(
-        int index, com.google.protobuf.Value.Builder builderForValue) {
+    public Builder setValues(int index, com.google.protobuf.Value.Builder builderForValue) {
       if (valuesBuilder_ == null) {
         ensureValuesIsMutable();
         values_.set(index, builderForValue.build());
@@ -1577,6 +1667,8 @@ public Builder setValues(
       return this;
     }
     /**
+     *
+     *
      * 
      * A streamed result set consists of a stream of values, which might
      * be split into many `PartialResultSet` messages to accommodate
@@ -1655,6 +1747,8 @@ public Builder addValues(com.google.protobuf.Value value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A streamed result set consists of a stream of values, which might
      * be split into many `PartialResultSet` messages to accommodate
@@ -1719,8 +1813,7 @@ public Builder addValues(com.google.protobuf.Value value) {
      *
      * repeated .google.protobuf.Value values = 2;
      */
-    public Builder addValues(
-        int index, com.google.protobuf.Value value) {
+    public Builder addValues(int index, com.google.protobuf.Value value) {
       if (valuesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1734,6 +1827,8 @@ public Builder addValues(
       return this;
     }
     /**
+     *
+     *
      * 
      * A streamed result set consists of a stream of values, which might
      * be split into many `PartialResultSet` messages to accommodate
@@ -1798,8 +1893,7 @@ public Builder addValues(
      *
      * repeated .google.protobuf.Value values = 2;
      */
-    public Builder addValues(
-        com.google.protobuf.Value.Builder builderForValue) {
+    public Builder addValues(com.google.protobuf.Value.Builder builderForValue) {
       if (valuesBuilder_ == null) {
         ensureValuesIsMutable();
         values_.add(builderForValue.build());
@@ -1810,6 +1904,8 @@ public Builder addValues(
       return this;
     }
     /**
+     *
+     *
      * 
      * A streamed result set consists of a stream of values, which might
      * be split into many `PartialResultSet` messages to accommodate
@@ -1874,8 +1970,7 @@ public Builder addValues(
      *
      * repeated .google.protobuf.Value values = 2;
      */
-    public Builder addValues(
-        int index, com.google.protobuf.Value.Builder builderForValue) {
+    public Builder addValues(int index, com.google.protobuf.Value.Builder builderForValue) {
       if (valuesBuilder_ == null) {
         ensureValuesIsMutable();
         values_.add(index, builderForValue.build());
@@ -1886,6 +1981,8 @@ public Builder addValues(
       return this;
     }
     /**
+     *
+     *
      * 
      * A streamed result set consists of a stream of values, which might
      * be split into many `PartialResultSet` messages to accommodate
@@ -1950,12 +2047,10 @@ public Builder addValues(
      *
      * repeated .google.protobuf.Value values = 2;
      */
-    public Builder addAllValues(
-        java.lang.Iterable values) {
+    public Builder addAllValues(java.lang.Iterable values) {
       if (valuesBuilder_ == null) {
         ensureValuesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, values_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, values_);
         onChanged();
       } else {
         valuesBuilder_.addAllMessages(values);
@@ -1963,6 +2058,8 @@ public Builder addAllValues(
       return this;
     }
     /**
+     *
+     *
      * 
      * A streamed result set consists of a stream of values, which might
      * be split into many `PartialResultSet` messages to accommodate
@@ -2038,6 +2135,8 @@ public Builder clearValues() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A streamed result set consists of a stream of values, which might
      * be split into many `PartialResultSet` messages to accommodate
@@ -2113,6 +2212,8 @@ public Builder removeValues(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A streamed result set consists of a stream of values, which might
      * be split into many `PartialResultSet` messages to accommodate
@@ -2177,11 +2278,12 @@ public Builder removeValues(int index) {
      *
      * repeated .google.protobuf.Value values = 2;
      */
-    public com.google.protobuf.Value.Builder getValuesBuilder(
-        int index) {
+    public com.google.protobuf.Value.Builder getValuesBuilder(int index) {
       return getValuesFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * A streamed result set consists of a stream of values, which might
      * be split into many `PartialResultSet` messages to accommodate
@@ -2246,14 +2348,16 @@ public com.google.protobuf.Value.Builder getValuesBuilder(
      *
      * repeated .google.protobuf.Value values = 2;
      */
-    public com.google.protobuf.ValueOrBuilder getValuesOrBuilder(
-        int index) {
+    public com.google.protobuf.ValueOrBuilder getValuesOrBuilder(int index) {
       if (valuesBuilder_ == null) {
-        return values_.get(index);  } else {
+        return values_.get(index);
+      } else {
         return valuesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * A streamed result set consists of a stream of values, which might
      * be split into many `PartialResultSet` messages to accommodate
@@ -2318,8 +2422,7 @@ public com.google.protobuf.ValueOrBuilder getValuesOrBuilder(
      *
      * repeated .google.protobuf.Value values = 2;
      */
-    public java.util.List 
-         getValuesOrBuilderList() {
+    public java.util.List getValuesOrBuilderList() {
       if (valuesBuilder_ != null) {
         return valuesBuilder_.getMessageOrBuilderList();
       } else {
@@ -2327,6 +2430,8 @@ public com.google.protobuf.ValueOrBuilder getValuesOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * A streamed result set consists of a stream of values, which might
      * be split into many `PartialResultSet` messages to accommodate
@@ -2392,10 +2497,11 @@ public com.google.protobuf.ValueOrBuilder getValuesOrBuilder(
      * repeated .google.protobuf.Value values = 2;
      */
     public com.google.protobuf.Value.Builder addValuesBuilder() {
-      return getValuesFieldBuilder().addBuilder(
-          com.google.protobuf.Value.getDefaultInstance());
+      return getValuesFieldBuilder().addBuilder(com.google.protobuf.Value.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A streamed result set consists of a stream of values, which might
      * be split into many `PartialResultSet` messages to accommodate
@@ -2460,12 +2566,13 @@ public com.google.protobuf.Value.Builder addValuesBuilder() {
      *
      * repeated .google.protobuf.Value values = 2;
      */
-    public com.google.protobuf.Value.Builder addValuesBuilder(
-        int index) {
-      return getValuesFieldBuilder().addBuilder(
-          index, com.google.protobuf.Value.getDefaultInstance());
+    public com.google.protobuf.Value.Builder addValuesBuilder(int index) {
+      return getValuesFieldBuilder()
+          .addBuilder(index, com.google.protobuf.Value.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A streamed result set consists of a stream of values, which might
      * be split into many `PartialResultSet` messages to accommodate
@@ -2530,27 +2637,31 @@ public com.google.protobuf.Value.Builder addValuesBuilder(
      *
      * repeated .google.protobuf.Value values = 2;
      */
-    public java.util.List 
-         getValuesBuilderList() {
+    public java.util.List getValuesBuilderList() {
       return getValuesFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.protobuf.Value, com.google.protobuf.Value.Builder, com.google.protobuf.ValueOrBuilder> 
+            com.google.protobuf.Value,
+            com.google.protobuf.Value.Builder,
+            com.google.protobuf.ValueOrBuilder>
         getValuesFieldBuilder() {
       if (valuesBuilder_ == null) {
-        valuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.protobuf.Value, com.google.protobuf.Value.Builder, com.google.protobuf.ValueOrBuilder>(
-                values_,
-                ((bitField0_ & 0x00000002) != 0),
-                getParentForChildren(),
-                isClean());
+        valuesBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.protobuf.Value,
+                com.google.protobuf.Value.Builder,
+                com.google.protobuf.ValueOrBuilder>(
+                values_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
         values_ = null;
       }
       return valuesBuilder_;
     }
 
-    private boolean chunkedValue_ ;
+    private boolean chunkedValue_;
     /**
+     *
+     *
      * 
      * If true, then the final value in [values][google.spanner.v1.PartialResultSet.values] is chunked, and must
      * be combined with more values from subsequent `PartialResultSet`s
@@ -2558,6 +2669,7 @@ public com.google.protobuf.Value.Builder addValuesBuilder(
      * 
* * bool chunked_value = 3; + * * @return The chunkedValue. */ @java.lang.Override @@ -2565,6 +2677,8 @@ public boolean getChunkedValue() { return chunkedValue_; } /** + * + * *
      * If true, then the final value in [values][google.spanner.v1.PartialResultSet.values] is chunked, and must
      * be combined with more values from subsequent `PartialResultSet`s
@@ -2572,17 +2686,20 @@ public boolean getChunkedValue() {
      * 
* * bool chunked_value = 3; + * * @param value The chunkedValue to set. * @return This builder for chaining. */ public Builder setChunkedValue(boolean value) { - + chunkedValue_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * If true, then the final value in [values][google.spanner.v1.PartialResultSet.values] is chunked, and must
      * be combined with more values from subsequent `PartialResultSet`s
@@ -2590,6 +2707,7 @@ public Builder setChunkedValue(boolean value) {
      * 
* * bool chunked_value = 3; + * * @return This builder for chaining. */ public Builder clearChunkedValue() { @@ -2601,6 +2719,8 @@ public Builder clearChunkedValue() { private com.google.protobuf.ByteString resumeToken_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
      * Streaming calls might be interrupted for a variety of reasons, such
      * as TCP connection loss. If this occurs, the stream of results can
@@ -2610,6 +2730,7 @@ public Builder clearChunkedValue() {
      * 
* * bytes resume_token = 4; + * * @return The resumeToken. */ @java.lang.Override @@ -2617,6 +2738,8 @@ public com.google.protobuf.ByteString getResumeToken() { return resumeToken_; } /** + * + * *
      * Streaming calls might be interrupted for a variety of reasons, such
      * as TCP connection loss. If this occurs, the stream of results can
@@ -2626,17 +2749,22 @@ public com.google.protobuf.ByteString getResumeToken() {
      * 
* * bytes resume_token = 4; + * * @param value The resumeToken to set. * @return This builder for chaining. */ public Builder setResumeToken(com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + if (value == null) { + throw new NullPointerException(); + } resumeToken_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Streaming calls might be interrupted for a variety of reasons, such
      * as TCP connection loss. If this occurs, the stream of results can
@@ -2646,6 +2774,7 @@ public Builder setResumeToken(com.google.protobuf.ByteString value) {
      * 
* * bytes resume_token = 4; + * * @return This builder for chaining. */ public Builder clearResumeToken() { @@ -2657,8 +2786,13 @@ public Builder clearResumeToken() { private com.google.spanner.v1.ResultSetStats stats_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.ResultSetStats, com.google.spanner.v1.ResultSetStats.Builder, com.google.spanner.v1.ResultSetStatsOrBuilder> statsBuilder_; + com.google.spanner.v1.ResultSetStats, + com.google.spanner.v1.ResultSetStats.Builder, + com.google.spanner.v1.ResultSetStatsOrBuilder> + statsBuilder_; /** + * + * *
      * Query plan and execution statistics for the statement that produced this
      * streaming result set. These can be requested by setting
@@ -2669,12 +2803,15 @@ public Builder clearResumeToken() {
      * 
* * .google.spanner.v1.ResultSetStats stats = 5; + * * @return Whether the stats field is set. */ public boolean hasStats() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * Query plan and execution statistics for the statement that produced this
      * streaming result set. These can be requested by setting
@@ -2685,6 +2822,7 @@ public boolean hasStats() {
      * 
* * .google.spanner.v1.ResultSetStats stats = 5; + * * @return The stats. */ public com.google.spanner.v1.ResultSetStats getStats() { @@ -2695,6 +2833,8 @@ public com.google.spanner.v1.ResultSetStats getStats() { } } /** + * + * *
      * Query plan and execution statistics for the statement that produced this
      * streaming result set. These can be requested by setting
@@ -2720,6 +2860,8 @@ public Builder setStats(com.google.spanner.v1.ResultSetStats value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Query plan and execution statistics for the statement that produced this
      * streaming result set. These can be requested by setting
@@ -2731,8 +2873,7 @@ public Builder setStats(com.google.spanner.v1.ResultSetStats value) {
      *
      * .google.spanner.v1.ResultSetStats stats = 5;
      */
-    public Builder setStats(
-        com.google.spanner.v1.ResultSetStats.Builder builderForValue) {
+    public Builder setStats(com.google.spanner.v1.ResultSetStats.Builder builderForValue) {
       if (statsBuilder_ == null) {
         stats_ = builderForValue.build();
       } else {
@@ -2743,6 +2884,8 @@ public Builder setStats(
       return this;
     }
     /**
+     *
+     *
      * 
      * Query plan and execution statistics for the statement that produced this
      * streaming result set. These can be requested by setting
@@ -2756,9 +2899,9 @@ public Builder setStats(
      */
     public Builder mergeStats(com.google.spanner.v1.ResultSetStats value) {
       if (statsBuilder_ == null) {
-        if (((bitField0_ & 0x00000010) != 0) &&
-          stats_ != null &&
-          stats_ != com.google.spanner.v1.ResultSetStats.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000010) != 0)
+            && stats_ != null
+            && stats_ != com.google.spanner.v1.ResultSetStats.getDefaultInstance()) {
           getStatsBuilder().mergeFrom(value);
         } else {
           stats_ = value;
@@ -2771,6 +2914,8 @@ public Builder mergeStats(com.google.spanner.v1.ResultSetStats value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Query plan and execution statistics for the statement that produced this
      * streaming result set. These can be requested by setting
@@ -2793,6 +2938,8 @@ public Builder clearStats() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Query plan and execution statistics for the statement that produced this
      * streaming result set. These can be requested by setting
@@ -2810,6 +2957,8 @@ public com.google.spanner.v1.ResultSetStats.Builder getStatsBuilder() {
       return getStatsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Query plan and execution statistics for the statement that produced this
      * streaming result set. These can be requested by setting
@@ -2825,11 +2974,12 @@ public com.google.spanner.v1.ResultSetStatsOrBuilder getStatsOrBuilder() {
       if (statsBuilder_ != null) {
         return statsBuilder_.getMessageOrBuilder();
       } else {
-        return stats_ == null ?
-            com.google.spanner.v1.ResultSetStats.getDefaultInstance() : stats_;
+        return stats_ == null ? com.google.spanner.v1.ResultSetStats.getDefaultInstance() : stats_;
       }
     }
     /**
+     *
+     *
      * 
      * Query plan and execution statistics for the statement that produced this
      * streaming result set. These can be requested by setting
@@ -2842,21 +2992,24 @@ public com.google.spanner.v1.ResultSetStatsOrBuilder getStatsOrBuilder() {
      * .google.spanner.v1.ResultSetStats stats = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.spanner.v1.ResultSetStats, com.google.spanner.v1.ResultSetStats.Builder, com.google.spanner.v1.ResultSetStatsOrBuilder> 
+            com.google.spanner.v1.ResultSetStats,
+            com.google.spanner.v1.ResultSetStats.Builder,
+            com.google.spanner.v1.ResultSetStatsOrBuilder>
         getStatsFieldBuilder() {
       if (statsBuilder_ == null) {
-        statsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.ResultSetStats, com.google.spanner.v1.ResultSetStats.Builder, com.google.spanner.v1.ResultSetStatsOrBuilder>(
-                getStats(),
-                getParentForChildren(),
-                isClean());
+        statsBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.spanner.v1.ResultSetStats,
+                com.google.spanner.v1.ResultSetStats.Builder,
+                com.google.spanner.v1.ResultSetStatsOrBuilder>(
+                getStats(), getParentForChildren(), isClean());
         stats_ = null;
       }
       return statsBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2866,12 +3019,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.spanner.v1.PartialResultSet)
   }
 
   // @@protoc_insertion_point(class_scope:google.spanner.v1.PartialResultSet)
   private static final com.google.spanner.v1.PartialResultSet DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.spanner.v1.PartialResultSet();
   }
@@ -2880,27 +3033,27 @@ public static com.google.spanner.v1.PartialResultSet getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public PartialResultSet parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public PartialResultSet parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2915,6 +3068,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.spanner.v1.PartialResultSet getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartialResultSetOrBuilder.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartialResultSetOrBuilder.java
similarity index 94%
rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartialResultSetOrBuilder.java
rename to proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartialResultSetOrBuilder.java
index e342c3d2ae0..60b851170fa 100644
--- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartialResultSetOrBuilder.java
+++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartialResultSetOrBuilder.java
@@ -1,33 +1,57 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/v1/result_set.proto
 
 package com.google.spanner.v1;
 
-public interface PartialResultSetOrBuilder extends
+public interface PartialResultSetOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.spanner.v1.PartialResultSet)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Metadata about the result set, such as row type information.
    * Only present in the first response.
    * 
* * .google.spanner.v1.ResultSetMetadata metadata = 1; + * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** + * + * *
    * Metadata about the result set, such as row type information.
    * Only present in the first response.
    * 
* * .google.spanner.v1.ResultSetMetadata metadata = 1; + * * @return The metadata. */ com.google.spanner.v1.ResultSetMetadata getMetadata(); /** + * + * *
    * Metadata about the result set, such as row type information.
    * Only present in the first response.
@@ -38,6 +62,8 @@ public interface PartialResultSetOrBuilder extends
   com.google.spanner.v1.ResultSetMetadataOrBuilder getMetadataOrBuilder();
 
   /**
+   *
+   *
    * 
    * A streamed result set consists of a stream of values, which might
    * be split into many `PartialResultSet` messages to accommodate
@@ -102,9 +128,10 @@ public interface PartialResultSetOrBuilder extends
    *
    * repeated .google.protobuf.Value values = 2;
    */
-  java.util.List 
-      getValuesList();
+  java.util.List getValuesList();
   /**
+   *
+   *
    * 
    * A streamed result set consists of a stream of values, which might
    * be split into many `PartialResultSet` messages to accommodate
@@ -171,6 +198,8 @@ public interface PartialResultSetOrBuilder extends
    */
   com.google.protobuf.Value getValues(int index);
   /**
+   *
+   *
    * 
    * A streamed result set consists of a stream of values, which might
    * be split into many `PartialResultSet` messages to accommodate
@@ -237,6 +266,8 @@ public interface PartialResultSetOrBuilder extends
    */
   int getValuesCount();
   /**
+   *
+   *
    * 
    * A streamed result set consists of a stream of values, which might
    * be split into many `PartialResultSet` messages to accommodate
@@ -301,9 +332,10 @@ public interface PartialResultSetOrBuilder extends
    *
    * repeated .google.protobuf.Value values = 2;
    */
-  java.util.List 
-      getValuesOrBuilderList();
+  java.util.List getValuesOrBuilderList();
   /**
+   *
+   *
    * 
    * A streamed result set consists of a stream of values, which might
    * be split into many `PartialResultSet` messages to accommodate
@@ -368,10 +400,11 @@ public interface PartialResultSetOrBuilder extends
    *
    * repeated .google.protobuf.Value values = 2;
    */
-  com.google.protobuf.ValueOrBuilder getValuesOrBuilder(
-      int index);
+  com.google.protobuf.ValueOrBuilder getValuesOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * If true, then the final value in [values][google.spanner.v1.PartialResultSet.values] is chunked, and must
    * be combined with more values from subsequent `PartialResultSet`s
@@ -379,11 +412,14 @@ com.google.protobuf.ValueOrBuilder getValuesOrBuilder(
    * 
* * bool chunked_value = 3; + * * @return The chunkedValue. */ boolean getChunkedValue(); /** + * + * *
    * Streaming calls might be interrupted for a variety of reasons, such
    * as TCP connection loss. If this occurs, the stream of results can
@@ -393,11 +429,14 @@ com.google.protobuf.ValueOrBuilder getValuesOrBuilder(
    * 
* * bytes resume_token = 4; + * * @return The resumeToken. */ com.google.protobuf.ByteString getResumeToken(); /** + * + * *
    * Query plan and execution statistics for the statement that produced this
    * streaming result set. These can be requested by setting
@@ -408,10 +447,13 @@ com.google.protobuf.ValueOrBuilder getValuesOrBuilder(
    * 
* * .google.spanner.v1.ResultSetStats stats = 5; + * * @return Whether the stats field is set. */ boolean hasStats(); /** + * + * *
    * Query plan and execution statistics for the statement that produced this
    * streaming result set. These can be requested by setting
@@ -422,10 +464,13 @@ com.google.protobuf.ValueOrBuilder getValuesOrBuilder(
    * 
* * .google.spanner.v1.ResultSetStats stats = 5; + * * @return The stats. */ com.google.spanner.v1.ResultSetStats getStats(); /** + * + * *
    * Query plan and execution statistics for the statement that produced this
    * streaming result set. These can be requested by setting
diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Partition.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Partition.java
similarity index 67%
rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Partition.java
rename to proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Partition.java
index fae5c6ddac5..c052325fad6 100644
--- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Partition.java
+++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Partition.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/v1/spanner.proto
 
 package com.google.spanner.v1;
 
 /**
+ *
+ *
  * 
  * Information returned for each partition returned in a
  * PartitionResponse.
@@ -11,40 +28,41 @@
  *
  * Protobuf type {@code google.spanner.v1.Partition}
  */
-public final class Partition extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Partition extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.spanner.v1.Partition)
     PartitionOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Partition.newBuilder() to construct.
   private Partition(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Partition() {
     partitionToken_ = 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 Partition();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_Partition_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.spanner.v1.SpannerProto
+        .internal_static_google_spanner_v1_Partition_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_Partition_fieldAccessorTable
+    return com.google.spanner.v1.SpannerProto
+        .internal_static_google_spanner_v1_Partition_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.spanner.v1.Partition.class, com.google.spanner.v1.Partition.Builder.class);
   }
@@ -52,6 +70,8 @@ protected java.lang.Object newInstance(
   public static final int PARTITION_TOKEN_FIELD_NUMBER = 1;
   private com.google.protobuf.ByteString partitionToken_ = com.google.protobuf.ByteString.EMPTY;
   /**
+   *
+   *
    * 
    * This token can be passed to Read, StreamingRead, ExecuteSql, or
    * ExecuteStreamingSql requests to restrict the results to those identified by
@@ -59,6 +79,7 @@ protected java.lang.Object newInstance(
    * 
* * bytes partition_token = 1; + * * @return The partitionToken. */ @java.lang.Override @@ -67,6 +88,7 @@ public com.google.protobuf.ByteString getPartitionToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -78,8 +100,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 (!partitionToken_.isEmpty()) { output.writeBytes(1, partitionToken_); } @@ -93,8 +114,7 @@ public int getSerializedSize() { size = 0; if (!partitionToken_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(1, partitionToken_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, partitionToken_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -104,15 +124,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.spanner.v1.Partition)) { return super.equals(obj); } com.google.spanner.v1.Partition other = (com.google.spanner.v1.Partition) obj; - if (!getPartitionToken() - .equals(other.getPartitionToken())) return false; + if (!getPartitionToken().equals(other.getPartitionToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -131,97 +150,103 @@ public int hashCode() { return hash; } - public static com.google.spanner.v1.Partition parseFrom( - java.nio.ByteBuffer data) + public static com.google.spanner.v1.Partition parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.Partition parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.Partition parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.spanner.v1.Partition parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.Partition parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.v1.Partition parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.Partition parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.v1.Partition parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.v1.Partition parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.spanner.v1.Partition 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.spanner.v1.Partition parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.spanner.v1.Partition parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.v1.Partition parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.spanner.v1.Partition prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 returned for each partition returned in a
    * PartitionResponse.
@@ -229,33 +254,31 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.spanner.v1.Partition}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.spanner.v1.Partition)
       com.google.spanner.v1.PartitionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_Partition_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.spanner.v1.SpannerProto
+          .internal_static_google_spanner_v1_Partition_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_Partition_fieldAccessorTable
+      return com.google.spanner.v1.SpannerProto
+          .internal_static_google_spanner_v1_Partition_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
               com.google.spanner.v1.Partition.class, com.google.spanner.v1.Partition.Builder.class);
     }
 
     // Construct using com.google.spanner.v1.Partition.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -265,9 +288,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_Partition_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.spanner.v1.SpannerProto
+          .internal_static_google_spanner_v1_Partition_descriptor;
     }
 
     @java.lang.Override
@@ -287,7 +310,9 @@ public com.google.spanner.v1.Partition build() {
     @java.lang.Override
     public com.google.spanner.v1.Partition buildPartial() {
       com.google.spanner.v1.Partition result = new com.google.spanner.v1.Partition(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -303,38 +328,39 @@ private void buildPartial0(com.google.spanner.v1.Partition 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.spanner.v1.Partition) {
-        return mergeFrom((com.google.spanner.v1.Partition)other);
+        return mergeFrom((com.google.spanner.v1.Partition) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -372,17 +398,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              partitionToken_ = input.readBytes();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                partitionToken_ = 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) {
@@ -392,10 +420,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.protobuf.ByteString partitionToken_ = com.google.protobuf.ByteString.EMPTY;
     /**
+     *
+     *
      * 
      * This token can be passed to Read, StreamingRead, ExecuteSql, or
      * ExecuteStreamingSql requests to restrict the results to those identified by
@@ -403,6 +434,7 @@ public Builder mergeFrom(
      * 
* * bytes partition_token = 1; + * * @return The partitionToken. */ @java.lang.Override @@ -410,6 +442,8 @@ public com.google.protobuf.ByteString getPartitionToken() { return partitionToken_; } /** + * + * *
      * This token can be passed to Read, StreamingRead, ExecuteSql, or
      * ExecuteStreamingSql requests to restrict the results to those identified by
@@ -417,17 +451,22 @@ public com.google.protobuf.ByteString getPartitionToken() {
      * 
* * bytes partition_token = 1; + * * @param value The partitionToken to set. * @return This builder for chaining. */ public Builder setPartitionToken(com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + if (value == null) { + throw new NullPointerException(); + } partitionToken_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * This token can be passed to Read, StreamingRead, ExecuteSql, or
      * ExecuteStreamingSql requests to restrict the results to those identified by
@@ -435,6 +474,7 @@ public Builder setPartitionToken(com.google.protobuf.ByteString value) {
      * 
* * bytes partition_token = 1; + * * @return This builder for chaining. */ public Builder clearPartitionToken() { @@ -443,9 +483,9 @@ public Builder clearPartitionToken() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -455,12 +495,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.v1.Partition) } // @@protoc_insertion_point(class_scope:google.spanner.v1.Partition) private static final com.google.spanner.v1.Partition DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.v1.Partition(); } @@ -469,27 +509,27 @@ public static com.google.spanner.v1.Partition getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Partition parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Partition parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -504,6 +544,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.Partition getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionOptions.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionOptions.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionOptions.java rename to proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionOptions.java index 67d1883bc51..fb704ea89af 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionOptions.java +++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionOptions.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/spanner.proto package com.google.spanner.v1; /** + * + * *
  * Options for a PartitionQueryRequest and
  * PartitionReadRequest.
@@ -11,46 +28,49 @@
  *
  * Protobuf type {@code google.spanner.v1.PartitionOptions}
  */
-public final class PartitionOptions extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class PartitionOptions extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.spanner.v1.PartitionOptions)
     PartitionOptionsOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use PartitionOptions.newBuilder() to construct.
   private PartitionOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private PartitionOptions() {
-  }
+
+  private PartitionOptions() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new PartitionOptions();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_PartitionOptions_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.spanner.v1.SpannerProto
+        .internal_static_google_spanner_v1_PartitionOptions_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_PartitionOptions_fieldAccessorTable
+    return com.google.spanner.v1.SpannerProto
+        .internal_static_google_spanner_v1_PartitionOptions_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.v1.PartitionOptions.class, com.google.spanner.v1.PartitionOptions.Builder.class);
+            com.google.spanner.v1.PartitionOptions.class,
+            com.google.spanner.v1.PartitionOptions.Builder.class);
   }
 
   public static final int PARTITION_SIZE_BYTES_FIELD_NUMBER = 1;
   private long partitionSizeBytes_ = 0L;
   /**
+   *
+   *
    * 
    * **Note:** This hint is currently ignored by PartitionQuery and
    * PartitionRead requests.
@@ -60,6 +80,7 @@ protected java.lang.Object newInstance(
    * 
* * int64 partition_size_bytes = 1; + * * @return The partitionSizeBytes. */ @java.lang.Override @@ -70,6 +91,8 @@ public long getPartitionSizeBytes() { public static final int MAX_PARTITIONS_FIELD_NUMBER = 2; private long maxPartitions_ = 0L; /** + * + * *
    * **Note:** This hint is currently ignored by PartitionQuery and
    * PartitionRead requests.
@@ -81,6 +104,7 @@ public long getPartitionSizeBytes() {
    * 
* * int64 max_partitions = 2; + * * @return The maxPartitions. */ @java.lang.Override @@ -89,6 +113,7 @@ public long getMaxPartitions() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -100,8 +125,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (partitionSizeBytes_ != 0L) { output.writeInt64(1, partitionSizeBytes_); } @@ -118,12 +142,10 @@ public int getSerializedSize() { size = 0; if (partitionSizeBytes_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, partitionSizeBytes_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, partitionSizeBytes_); } if (maxPartitions_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(2, maxPartitions_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, maxPartitions_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -133,17 +155,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.v1.PartitionOptions)) { return super.equals(obj); } com.google.spanner.v1.PartitionOptions other = (com.google.spanner.v1.PartitionOptions) obj; - if (getPartitionSizeBytes() - != other.getPartitionSizeBytes()) return false; - if (getMaxPartitions() - != other.getMaxPartitions()) return false; + if (getPartitionSizeBytes() != other.getPartitionSizeBytes()) return false; + if (getMaxPartitions() != other.getMaxPartitions()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -156,107 +176,112 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + PARTITION_SIZE_BYTES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getPartitionSizeBytes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getPartitionSizeBytes()); hash = (37 * hash) + MAX_PARTITIONS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getMaxPartitions()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getMaxPartitions()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.spanner.v1.PartitionOptions parseFrom( - java.nio.ByteBuffer data) + public static com.google.spanner.v1.PartitionOptions parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.PartitionOptions parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.v1.PartitionOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.PartitionOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.v1.PartitionOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.PartitionOptions parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.v1.PartitionOptions parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.v1.PartitionOptions parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.spanner.v1.PartitionOptions 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.spanner.v1.PartitionOptions parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.spanner.v1.PartitionOptions parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.v1.PartitionOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.spanner.v1.PartitionOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Options for a PartitionQueryRequest and
    * PartitionReadRequest.
@@ -264,33 +289,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.spanner.v1.PartitionOptions}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.spanner.v1.PartitionOptions)
       com.google.spanner.v1.PartitionOptionsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_PartitionOptions_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.spanner.v1.SpannerProto
+          .internal_static_google_spanner_v1_PartitionOptions_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_PartitionOptions_fieldAccessorTable
+      return com.google.spanner.v1.SpannerProto
+          .internal_static_google_spanner_v1_PartitionOptions_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.v1.PartitionOptions.class, com.google.spanner.v1.PartitionOptions.Builder.class);
+              com.google.spanner.v1.PartitionOptions.class,
+              com.google.spanner.v1.PartitionOptions.Builder.class);
     }
 
     // Construct using com.google.spanner.v1.PartitionOptions.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        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 +325,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_PartitionOptions_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.spanner.v1.SpannerProto
+          .internal_static_google_spanner_v1_PartitionOptions_descriptor;
     }
 
     @java.lang.Override
@@ -322,8 +346,11 @@ public com.google.spanner.v1.PartitionOptions build() {
 
     @java.lang.Override
     public com.google.spanner.v1.PartitionOptions buildPartial() {
-      com.google.spanner.v1.PartitionOptions result = new com.google.spanner.v1.PartitionOptions(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.spanner.v1.PartitionOptions result =
+          new com.google.spanner.v1.PartitionOptions(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -342,38 +369,39 @@ private void buildPartial0(com.google.spanner.v1.PartitionOptions 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.spanner.v1.PartitionOptions) {
-        return mergeFrom((com.google.spanner.v1.PartitionOptions)other);
+        return mergeFrom((com.google.spanner.v1.PartitionOptions) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -414,22 +442,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              partitionSizeBytes_ = input.readInt64();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 8
-            case 16: {
-              maxPartitions_ = input.readInt64();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 16
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                partitionSizeBytes_ = input.readInt64();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 8
+            case 16:
+              {
+                maxPartitions_ = 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) {
@@ -439,10 +470,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
-    private long partitionSizeBytes_ ;
+    private long partitionSizeBytes_;
     /**
+     *
+     *
      * 
      * **Note:** This hint is currently ignored by PartitionQuery and
      * PartitionRead requests.
@@ -452,6 +486,7 @@ public Builder mergeFrom(
      * 
* * int64 partition_size_bytes = 1; + * * @return The partitionSizeBytes. */ @java.lang.Override @@ -459,6 +494,8 @@ public long getPartitionSizeBytes() { return partitionSizeBytes_; } /** + * + * *
      * **Note:** This hint is currently ignored by PartitionQuery and
      * PartitionRead requests.
@@ -468,17 +505,20 @@ public long getPartitionSizeBytes() {
      * 
* * int64 partition_size_bytes = 1; + * * @param value The partitionSizeBytes to set. * @return This builder for chaining. */ public Builder setPartitionSizeBytes(long value) { - + partitionSizeBytes_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * **Note:** This hint is currently ignored by PartitionQuery and
      * PartitionRead requests.
@@ -488,6 +528,7 @@ public Builder setPartitionSizeBytes(long value) {
      * 
* * int64 partition_size_bytes = 1; + * * @return This builder for chaining. */ public Builder clearPartitionSizeBytes() { @@ -497,8 +538,10 @@ public Builder clearPartitionSizeBytes() { return this; } - private long maxPartitions_ ; + private long maxPartitions_; /** + * + * *
      * **Note:** This hint is currently ignored by PartitionQuery and
      * PartitionRead requests.
@@ -510,6 +553,7 @@ public Builder clearPartitionSizeBytes() {
      * 
* * int64 max_partitions = 2; + * * @return The maxPartitions. */ @java.lang.Override @@ -517,6 +561,8 @@ public long getMaxPartitions() { return maxPartitions_; } /** + * + * *
      * **Note:** This hint is currently ignored by PartitionQuery and
      * PartitionRead requests.
@@ -528,17 +574,20 @@ public long getMaxPartitions() {
      * 
* * int64 max_partitions = 2; + * * @param value The maxPartitions to set. * @return This builder for chaining. */ public Builder setMaxPartitions(long value) { - + maxPartitions_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * **Note:** This hint is currently ignored by PartitionQuery and
      * PartitionRead requests.
@@ -550,6 +599,7 @@ public Builder setMaxPartitions(long value) {
      * 
* * int64 max_partitions = 2; + * * @return This builder for chaining. */ public Builder clearMaxPartitions() { @@ -558,9 +608,9 @@ public Builder clearMaxPartitions() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -570,12 +620,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.v1.PartitionOptions) } // @@protoc_insertion_point(class_scope:google.spanner.v1.PartitionOptions) private static final com.google.spanner.v1.PartitionOptions DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.v1.PartitionOptions(); } @@ -584,27 +634,27 @@ public static com.google.spanner.v1.PartitionOptions getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PartitionOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PartitionOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -619,6 +669,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.PartitionOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionOptionsOrBuilder.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionOptionsOrBuilder.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionOptionsOrBuilder.java rename to proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionOptionsOrBuilder.java index b6bf81dfc49..e1461014cb9 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionOptionsOrBuilder.java +++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionOptionsOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/spanner.proto package com.google.spanner.v1; -public interface PartitionOptionsOrBuilder extends +public interface PartitionOptionsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.PartitionOptions) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * **Note:** This hint is currently ignored by PartitionQuery and
    * PartitionRead requests.
@@ -17,11 +35,14 @@ public interface PartitionOptionsOrBuilder extends
    * 
* * int64 partition_size_bytes = 1; + * * @return The partitionSizeBytes. */ long getPartitionSizeBytes(); /** + * + * *
    * **Note:** This hint is currently ignored by PartitionQuery and
    * PartitionRead requests.
@@ -33,6 +54,7 @@ public interface PartitionOptionsOrBuilder extends
    * 
* * int64 max_partitions = 2; + * * @return The maxPartitions. */ long getMaxPartitions(); diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionOrBuilder.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionOrBuilder.java new file mode 100644 index 00000000000..cec517cd5df --- /dev/null +++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionOrBuilder.java @@ -0,0 +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/spanner/v1/spanner.proto + +package com.google.spanner.v1; + +public interface PartitionOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.spanner.v1.Partition) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * This token can be passed to Read, StreamingRead, ExecuteSql, or
+   * ExecuteStreamingSql requests to restrict the results to those identified by
+   * this partition token.
+   * 
+ * + * bytes partition_token = 1; + * + * @return The partitionToken. + */ + com.google.protobuf.ByteString getPartitionToken(); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionQueryRequest.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionQueryRequest.java similarity index 74% rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionQueryRequest.java rename to proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionQueryRequest.java index 829f05d0ede..bb5809c2692 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionQueryRequest.java +++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionQueryRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/spanner.proto package com.google.spanner.v1; /** + * + * *
  * The request for [PartitionQuery][google.spanner.v1.Spanner.PartitionQuery]
  * 
* * Protobuf type {@code google.spanner.v1.PartitionQueryRequest} */ -public final class PartitionQueryRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PartitionQueryRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.spanner.v1.PartitionQueryRequest) PartitionQueryRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PartitionQueryRequest.newBuilder() to construct. private PartitionQueryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PartitionQueryRequest() { session_ = ""; sql_ = ""; @@ -26,50 +44,56 @@ private PartitionQueryRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PartitionQueryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_PartitionQueryRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_PartitionQueryRequest_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 internalGetParamTypes(); 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.spanner.v1.SpannerProto.internal_static_google_spanner_v1_PartitionQueryRequest_fieldAccessorTable + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_PartitionQueryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.PartitionQueryRequest.class, com.google.spanner.v1.PartitionQueryRequest.Builder.class); + com.google.spanner.v1.PartitionQueryRequest.class, + com.google.spanner.v1.PartitionQueryRequest.Builder.class); } public static final int SESSION_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object session_ = ""; /** + * + * *
    * Required. The session used to create the partitions.
    * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The session. */ @java.lang.Override @@ -78,29 +102,31 @@ public java.lang.String getSession() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); session_ = s; return s; } } /** + * + * *
    * Required. The session used to create the partitions.
    * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for session. */ @java.lang.Override - public com.google.protobuf.ByteString - getSessionBytes() { + public com.google.protobuf.ByteString getSessionBytes() { java.lang.Object ref = session_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); session_ = b; return b; } else { @@ -111,12 +137,15 @@ public java.lang.String getSession() { public static final int TRANSACTION_FIELD_NUMBER = 2; private com.google.spanner.v1.TransactionSelector transaction_; /** + * + * *
    * Read only snapshot transactions are supported, read/write and single use
    * transactions are not.
    * 
* * .google.spanner.v1.TransactionSelector transaction = 2; + * * @return Whether the transaction field is set. */ @java.lang.Override @@ -124,19 +153,26 @@ public boolean hasTransaction() { return transaction_ != null; } /** + * + * *
    * Read only snapshot transactions are supported, read/write and single use
    * transactions are not.
    * 
* * .google.spanner.v1.TransactionSelector transaction = 2; + * * @return The transaction. */ @java.lang.Override public com.google.spanner.v1.TransactionSelector getTransaction() { - return transaction_ == null ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() : transaction_; + return transaction_ == null + ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() + : transaction_; } /** + * + * *
    * Read only snapshot transactions are supported, read/write and single use
    * transactions are not.
@@ -146,13 +182,18 @@ public com.google.spanner.v1.TransactionSelector getTransaction() {
    */
   @java.lang.Override
   public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilder() {
-    return transaction_ == null ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() : transaction_;
+    return transaction_ == null
+        ? com.google.spanner.v1.TransactionSelector.getDefaultInstance()
+        : transaction_;
   }
 
   public static final int SQL_FIELD_NUMBER = 3;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object sql_ = "";
   /**
+   *
+   *
    * 
    * Required. The query request to generate partitions for. The request will fail if
    * the query is not root partitionable. The query plan of a root
@@ -166,6 +207,7 @@ public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilde
    * 
* * string sql = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The sql. */ @java.lang.Override @@ -174,14 +216,15 @@ public java.lang.String getSql() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sql_ = s; return s; } } /** + * + * *
    * Required. The query request to generate partitions for. The request will fail if
    * the query is not root partitionable. The query plan of a root
@@ -195,16 +238,15 @@ public java.lang.String getSql() {
    * 
* * string sql = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for sql. */ @java.lang.Override - public com.google.protobuf.ByteString - getSqlBytes() { + public com.google.protobuf.ByteString getSqlBytes() { java.lang.Object ref = sql_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sql_ = b; return b; } else { @@ -215,6 +257,8 @@ public java.lang.String getSql() { public static final int PARAMS_FIELD_NUMBER = 4; private com.google.protobuf.Struct params_; /** + * + * *
    * Parameter names and values that bind to placeholders in the SQL string.
    * A parameter placeholder consists of the `@` character followed by the
@@ -227,6 +271,7 @@ public java.lang.String getSql() {
    * 
* * .google.protobuf.Struct params = 4; + * * @return Whether the params field is set. */ @java.lang.Override @@ -234,6 +279,8 @@ public boolean hasParams() { return params_ != null; } /** + * + * *
    * Parameter names and values that bind to placeholders in the SQL string.
    * A parameter placeholder consists of the `@` character followed by the
@@ -246,6 +293,7 @@ public boolean hasParams() {
    * 
* * .google.protobuf.Struct params = 4; + * * @return The params. */ @java.lang.Override @@ -253,6 +301,8 @@ public com.google.protobuf.Struct getParams() { return params_ == null ? com.google.protobuf.Struct.getDefaultInstance() : params_; } /** + * + * *
    * Parameter names and values that bind to placeholders in the SQL string.
    * A parameter placeholder consists of the `@` character followed by the
@@ -272,32 +322,37 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
   }
 
   public static final int PARAM_TYPES_FIELD_NUMBER = 5;
+
   private static final class ParamTypesDefaultEntryHolder {
-    static final com.google.protobuf.MapEntry<
-        java.lang.String, com.google.spanner.v1.Type> defaultEntry =
+    static final com.google.protobuf.MapEntry
+        defaultEntry =
             com.google.protobuf.MapEntry
-            .newDefaultInstance(
-                com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_PartitionQueryRequest_ParamTypesEntry_descriptor, 
-                com.google.protobuf.WireFormat.FieldType.STRING,
-                "",
-                com.google.protobuf.WireFormat.FieldType.MESSAGE,
-                com.google.spanner.v1.Type.getDefaultInstance());
+                .newDefaultInstance(
+                    com.google.spanner.v1.SpannerProto
+                        .internal_static_google_spanner_v1_PartitionQueryRequest_ParamTypesEntry_descriptor,
+                    com.google.protobuf.WireFormat.FieldType.STRING,
+                    "",
+                    com.google.protobuf.WireFormat.FieldType.MESSAGE,
+                    com.google.spanner.v1.Type.getDefaultInstance());
   }
+
   @SuppressWarnings("serial")
-  private com.google.protobuf.MapField<
-      java.lang.String, com.google.spanner.v1.Type> paramTypes_;
+  private com.google.protobuf.MapField paramTypes_;
+
   private com.google.protobuf.MapField
-  internalGetParamTypes() {
+      internalGetParamTypes() {
     if (paramTypes_ == null) {
-      return com.google.protobuf.MapField.emptyMapField(
-          ParamTypesDefaultEntryHolder.defaultEntry);
+      return com.google.protobuf.MapField.emptyMapField(ParamTypesDefaultEntryHolder.defaultEntry);
     }
     return paramTypes_;
   }
+
   public int getParamTypesCount() {
     return internalGetParamTypes().getMap().size();
   }
   /**
+   *
+   *
    * 
    * It is not always possible for Cloud Spanner to infer the right SQL type
    * from a JSON value.  For example, values of type `BYTES` and values
@@ -311,20 +366,21 @@ public int getParamTypesCount() {
    * map<string, .google.spanner.v1.Type> param_types = 5;
    */
   @java.lang.Override
-  public boolean containsParamTypes(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsParamTypes(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetParamTypes().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getParamTypesMap()} instead.
-   */
+  /** Use {@link #getParamTypesMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getParamTypes() {
     return getParamTypesMap();
   }
   /**
+   *
+   *
    * 
    * It is not always possible for Cloud Spanner to infer the right SQL type
    * from a JSON value.  For example, values of type `BYTES` and values
@@ -342,6 +398,8 @@ public java.util.Map getParamTypes
     return internalGetParamTypes().getMap();
   }
   /**
+   *
+   *
    * 
    * It is not always possible for Cloud Spanner to infer the right SQL type
    * from a JSON value.  For example, values of type `BYTES` and values
@@ -355,17 +413,20 @@ public java.util.Map getParamTypes
    * map<string, .google.spanner.v1.Type> param_types = 5;
    */
   @java.lang.Override
-  public /* nullable */
-com.google.spanner.v1.Type getParamTypesOrDefault(
+  public /* nullable */ com.google.spanner.v1.Type getParamTypesOrDefault(
       java.lang.String key,
       /* nullable */
-com.google.spanner.v1.Type defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
+      com.google.spanner.v1.Type defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     java.util.Map map =
         internalGetParamTypes().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * It is not always possible for Cloud Spanner to infer the right SQL type
    * from a JSON value.  For example, values of type `BYTES` and values
@@ -379,9 +440,10 @@ com.google.spanner.v1.Type getParamTypesOrDefault(
    * map<string, .google.spanner.v1.Type> param_types = 5;
    */
   @java.lang.Override
-  public com.google.spanner.v1.Type getParamTypesOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public com.google.spanner.v1.Type getParamTypesOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     java.util.Map map =
         internalGetParamTypes().getMap();
     if (!map.containsKey(key)) {
@@ -393,11 +455,14 @@ public com.google.spanner.v1.Type getParamTypesOrThrow(
   public static final int PARTITION_OPTIONS_FIELD_NUMBER = 6;
   private com.google.spanner.v1.PartitionOptions partitionOptions_;
   /**
+   *
+   *
    * 
    * Additional options that affect how many partitions are created.
    * 
* * .google.spanner.v1.PartitionOptions partition_options = 6; + * * @return Whether the partitionOptions field is set. */ @java.lang.Override @@ -405,18 +470,25 @@ public boolean hasPartitionOptions() { return partitionOptions_ != null; } /** + * + * *
    * Additional options that affect how many partitions are created.
    * 
* * .google.spanner.v1.PartitionOptions partition_options = 6; + * * @return The partitionOptions. */ @java.lang.Override public com.google.spanner.v1.PartitionOptions getPartitionOptions() { - return partitionOptions_ == null ? com.google.spanner.v1.PartitionOptions.getDefaultInstance() : partitionOptions_; + return partitionOptions_ == null + ? com.google.spanner.v1.PartitionOptions.getDefaultInstance() + : partitionOptions_; } /** + * + * *
    * Additional options that affect how many partitions are created.
    * 
@@ -425,10 +497,13 @@ public com.google.spanner.v1.PartitionOptions getPartitionOptions() { */ @java.lang.Override public com.google.spanner.v1.PartitionOptionsOrBuilder getPartitionOptionsOrBuilder() { - return partitionOptions_ == null ? com.google.spanner.v1.PartitionOptions.getDefaultInstance() : partitionOptions_; + return partitionOptions_ == null + ? com.google.spanner.v1.PartitionOptions.getDefaultInstance() + : partitionOptions_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -440,8 +515,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(session_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, session_); } @@ -454,12 +528,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (params_ != null) { output.writeMessage(4, getParams()); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetParamTypes(), - ParamTypesDefaultEntryHolder.defaultEntry, - 5); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetParamTypes(), ParamTypesDefaultEntryHolder.defaultEntry, 5); if (partitionOptions_ != null) { output.writeMessage(6, getPartitionOptions()); } @@ -476,29 +546,26 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, session_); } if (transaction_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getTransaction()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTransaction()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sql_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, sql_); } if (params_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getParams()); - } - for (java.util.Map.Entry entry - : internalGetParamTypes().getMap().entrySet()) { - com.google.protobuf.MapEntry - paramTypes__ = ParamTypesDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, paramTypes__); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getParams()); + } + for (java.util.Map.Entry entry : + internalGetParamTypes().getMap().entrySet()) { + com.google.protobuf.MapEntry paramTypes__ = + ParamTypesDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, paramTypes__); } if (partitionOptions_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getPartitionOptions()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getPartitionOptions()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -508,33 +575,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.spanner.v1.PartitionQueryRequest)) { return super.equals(obj); } - com.google.spanner.v1.PartitionQueryRequest other = (com.google.spanner.v1.PartitionQueryRequest) obj; + com.google.spanner.v1.PartitionQueryRequest other = + (com.google.spanner.v1.PartitionQueryRequest) obj; - if (!getSession() - .equals(other.getSession())) return false; + if (!getSession().equals(other.getSession())) return false; if (hasTransaction() != other.hasTransaction()) return false; if (hasTransaction()) { - if (!getTransaction() - .equals(other.getTransaction())) return false; + if (!getTransaction().equals(other.getTransaction())) return false; } - if (!getSql() - .equals(other.getSql())) return false; + if (!getSql().equals(other.getSql())) return false; if (hasParams() != other.hasParams()) return false; if (hasParams()) { - if (!getParams() - .equals(other.getParams())) return false; + if (!getParams().equals(other.getParams())) return false; } - if (!internalGetParamTypes().equals( - other.internalGetParamTypes())) return false; + if (!internalGetParamTypes().equals(other.internalGetParamTypes())) return false; if (hasPartitionOptions() != other.hasPartitionOptions()) return false; if (hasPartitionOptions()) { - if (!getPartitionOptions() - .equals(other.getPartitionOptions())) return false; + if (!getPartitionOptions().equals(other.getPartitionOptions())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -572,152 +634,156 @@ public int hashCode() { return hash; } - public static com.google.spanner.v1.PartitionQueryRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.spanner.v1.PartitionQueryRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.PartitionQueryRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.v1.PartitionQueryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.PartitionQueryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.v1.PartitionQueryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.PartitionQueryRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.v1.PartitionQueryRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.v1.PartitionQueryRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.PartitionQueryRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.spanner.v1.PartitionQueryRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.spanner.v1.PartitionQueryRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.spanner.v1.PartitionQueryRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.v1.PartitionQueryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.spanner.v1.PartitionQueryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [PartitionQuery][google.spanner.v1.Spanner.PartitionQuery]
    * 
* * Protobuf type {@code google.spanner.v1.PartitionQueryRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.PartitionQueryRequest) com.google.spanner.v1.PartitionQueryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_PartitionQueryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_PartitionQueryRequest_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 5: return internalGetParamTypes(); 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 internalGetMutableParamTypes(); 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.spanner.v1.SpannerProto.internal_static_google_spanner_v1_PartitionQueryRequest_fieldAccessorTable + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_PartitionQueryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.PartitionQueryRequest.class, com.google.spanner.v1.PartitionQueryRequest.Builder.class); + com.google.spanner.v1.PartitionQueryRequest.class, + com.google.spanner.v1.PartitionQueryRequest.Builder.class); } // Construct using com.google.spanner.v1.PartitionQueryRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -744,9 +810,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_PartitionQueryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_PartitionQueryRequest_descriptor; } @java.lang.Override @@ -765,8 +831,11 @@ public com.google.spanner.v1.PartitionQueryRequest build() { @java.lang.Override public com.google.spanner.v1.PartitionQueryRequest buildPartial() { - com.google.spanner.v1.PartitionQueryRequest result = new com.google.spanner.v1.PartitionQueryRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.spanner.v1.PartitionQueryRequest result = + new com.google.spanner.v1.PartitionQueryRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -777,26 +846,22 @@ private void buildPartial0(com.google.spanner.v1.PartitionQueryRequest result) { result.session_ = session_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.transaction_ = transactionBuilder_ == null - ? transaction_ - : transactionBuilder_.build(); + result.transaction_ = + transactionBuilder_ == null ? transaction_ : transactionBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.sql_ = sql_; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.params_ = paramsBuilder_ == null - ? params_ - : paramsBuilder_.build(); + result.params_ = paramsBuilder_ == null ? params_ : paramsBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { result.paramTypes_ = internalGetParamTypes(); result.paramTypes_.makeImmutable(); } if (((from_bitField0_ & 0x00000020) != 0)) { - result.partitionOptions_ = partitionOptionsBuilder_ == null - ? partitionOptions_ - : partitionOptionsBuilder_.build(); + result.partitionOptions_ = + partitionOptionsBuilder_ == null ? partitionOptions_ : partitionOptionsBuilder_.build(); } } @@ -804,38 +869,39 @@ private void buildPartial0(com.google.spanner.v1.PartitionQueryRequest 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.spanner.v1.PartitionQueryRequest) { - return mergeFrom((com.google.spanner.v1.PartitionQueryRequest)other); + return mergeFrom((com.google.spanner.v1.PartitionQueryRequest) other); } else { super.mergeFrom(other); return this; @@ -860,8 +926,7 @@ public Builder mergeFrom(com.google.spanner.v1.PartitionQueryRequest other) { if (other.hasParams()) { mergeParams(other.getParams()); } - internalGetMutableParamTypes().mergeFrom( - other.internalGetParamTypes()); + internalGetMutableParamTypes().mergeFrom(other.internalGetParamTypes()); bitField0_ |= 0x00000010; if (other.hasPartitionOptions()) { mergePartitionOptions(other.getPartitionOptions()); @@ -892,52 +957,57 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - session_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getTransactionFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - sql_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - input.readMessage( - getParamsFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - com.google.protobuf.MapEntry - paramTypes__ = input.readMessage( - ParamTypesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableParamTypes().getMutableMap().put( - paramTypes__.getKey(), paramTypes__.getValue()); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: { - input.readMessage( - getPartitionOptionsFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 50 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + session_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getTransactionFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + sql_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + input.readMessage(getParamsFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + com.google.protobuf.MapEntry + paramTypes__ = + input.readMessage( + ParamTypesDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableParamTypes() + .getMutableMap() + .put(paramTypes__.getKey(), paramTypes__.getValue()); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: + { + input.readMessage( + getPartitionOptionsFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000020; + 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) { @@ -947,22 +1017,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object session_ = ""; /** + * + * *
      * Required. The session used to create the partitions.
      * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The session. */ public java.lang.String getSession() { java.lang.Object ref = session_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); session_ = s; return s; @@ -971,20 +1046,23 @@ public java.lang.String getSession() { } } /** + * + * *
      * Required. The session used to create the partitions.
      * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for session. */ - public com.google.protobuf.ByteString - getSessionBytes() { + public com.google.protobuf.ByteString getSessionBytes() { java.lang.Object ref = session_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); session_ = b; return b; } else { @@ -992,28 +1070,39 @@ public java.lang.String getSession() { } } /** + * + * *
      * Required. The session used to create the partitions.
      * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The session to set. * @return This builder for chaining. */ - public Builder setSession( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSession(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } session_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The session used to create the partitions.
      * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearSession() { @@ -1023,17 +1112,23 @@ public Builder clearSession() { return this; } /** + * + * *
      * Required. The session used to create the partitions.
      * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for session to set. * @return This builder for chaining. */ - public Builder setSessionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSessionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); session_ = value; bitField0_ |= 0x00000001; @@ -1043,36 +1138,49 @@ public Builder setSessionBytes( private com.google.spanner.v1.TransactionSelector transaction_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.TransactionSelector, com.google.spanner.v1.TransactionSelector.Builder, com.google.spanner.v1.TransactionSelectorOrBuilder> transactionBuilder_; + com.google.spanner.v1.TransactionSelector, + com.google.spanner.v1.TransactionSelector.Builder, + com.google.spanner.v1.TransactionSelectorOrBuilder> + transactionBuilder_; /** + * + * *
      * Read only snapshot transactions are supported, read/write and single use
      * transactions are not.
      * 
* * .google.spanner.v1.TransactionSelector transaction = 2; + * * @return Whether the transaction field is set. */ public boolean hasTransaction() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Read only snapshot transactions are supported, read/write and single use
      * transactions are not.
      * 
* * .google.spanner.v1.TransactionSelector transaction = 2; + * * @return The transaction. */ public com.google.spanner.v1.TransactionSelector getTransaction() { if (transactionBuilder_ == null) { - return transaction_ == null ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() : transaction_; + return transaction_ == null + ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() + : transaction_; } else { return transactionBuilder_.getMessage(); } } /** + * + * *
      * Read only snapshot transactions are supported, read/write and single use
      * transactions are not.
@@ -1094,6 +1202,8 @@ public Builder setTransaction(com.google.spanner.v1.TransactionSelector value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Read only snapshot transactions are supported, read/write and single use
      * transactions are not.
@@ -1113,6 +1223,8 @@ public Builder setTransaction(
       return this;
     }
     /**
+     *
+     *
      * 
      * Read only snapshot transactions are supported, read/write and single use
      * transactions are not.
@@ -1122,9 +1234,9 @@ public Builder setTransaction(
      */
     public Builder mergeTransaction(com.google.spanner.v1.TransactionSelector value) {
       if (transactionBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0) &&
-          transaction_ != null &&
-          transaction_ != com.google.spanner.v1.TransactionSelector.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0)
+            && transaction_ != null
+            && transaction_ != com.google.spanner.v1.TransactionSelector.getDefaultInstance()) {
           getTransactionBuilder().mergeFrom(value);
         } else {
           transaction_ = value;
@@ -1137,6 +1249,8 @@ public Builder mergeTransaction(com.google.spanner.v1.TransactionSelector value)
       return this;
     }
     /**
+     *
+     *
      * 
      * Read only snapshot transactions are supported, read/write and single use
      * transactions are not.
@@ -1155,6 +1269,8 @@ public Builder clearTransaction() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Read only snapshot transactions are supported, read/write and single use
      * transactions are not.
@@ -1168,6 +1284,8 @@ public com.google.spanner.v1.TransactionSelector.Builder getTransactionBuilder()
       return getTransactionFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Read only snapshot transactions are supported, read/write and single use
      * transactions are not.
@@ -1179,11 +1297,14 @@ public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilde
       if (transactionBuilder_ != null) {
         return transactionBuilder_.getMessageOrBuilder();
       } else {
-        return transaction_ == null ?
-            com.google.spanner.v1.TransactionSelector.getDefaultInstance() : transaction_;
+        return transaction_ == null
+            ? com.google.spanner.v1.TransactionSelector.getDefaultInstance()
+            : transaction_;
       }
     }
     /**
+     *
+     *
      * 
      * Read only snapshot transactions are supported, read/write and single use
      * transactions are not.
@@ -1192,14 +1313,17 @@ public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilde
      * .google.spanner.v1.TransactionSelector transaction = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.spanner.v1.TransactionSelector, com.google.spanner.v1.TransactionSelector.Builder, com.google.spanner.v1.TransactionSelectorOrBuilder> 
+            com.google.spanner.v1.TransactionSelector,
+            com.google.spanner.v1.TransactionSelector.Builder,
+            com.google.spanner.v1.TransactionSelectorOrBuilder>
         getTransactionFieldBuilder() {
       if (transactionBuilder_ == null) {
-        transactionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.TransactionSelector, com.google.spanner.v1.TransactionSelector.Builder, com.google.spanner.v1.TransactionSelectorOrBuilder>(
-                getTransaction(),
-                getParentForChildren(),
-                isClean());
+        transactionBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.spanner.v1.TransactionSelector,
+                com.google.spanner.v1.TransactionSelector.Builder,
+                com.google.spanner.v1.TransactionSelectorOrBuilder>(
+                getTransaction(), getParentForChildren(), isClean());
         transaction_ = null;
       }
       return transactionBuilder_;
@@ -1207,6 +1331,8 @@ public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilde
 
     private java.lang.Object sql_ = "";
     /**
+     *
+     *
      * 
      * Required. The query request to generate partitions for. The request will fail if
      * the query is not root partitionable. The query plan of a root
@@ -1220,13 +1346,13 @@ public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilde
      * 
* * string sql = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The sql. */ public java.lang.String getSql() { java.lang.Object ref = sql_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sql_ = s; return s; @@ -1235,6 +1361,8 @@ public java.lang.String getSql() { } } /** + * + * *
      * Required. The query request to generate partitions for. The request will fail if
      * the query is not root partitionable. The query plan of a root
@@ -1248,15 +1376,14 @@ public java.lang.String getSql() {
      * 
* * string sql = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for sql. */ - public com.google.protobuf.ByteString - getSqlBytes() { + public com.google.protobuf.ByteString getSqlBytes() { java.lang.Object ref = sql_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sql_ = b; return b; } else { @@ -1264,6 +1391,8 @@ public java.lang.String getSql() { } } /** + * + * *
      * Required. The query request to generate partitions for. The request will fail if
      * the query is not root partitionable. The query plan of a root
@@ -1277,18 +1406,22 @@ public java.lang.String getSql() {
      * 
* * string sql = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The sql to set. * @return This builder for chaining. */ - public Builder setSql( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSql(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } sql_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Required. The query request to generate partitions for. The request will fail if
      * the query is not root partitionable. The query plan of a root
@@ -1302,6 +1435,7 @@ public Builder setSql(
      * 
* * string sql = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearSql() { @@ -1311,6 +1445,8 @@ public Builder clearSql() { return this; } /** + * + * *
      * Required. The query request to generate partitions for. The request will fail if
      * the query is not root partitionable. The query plan of a root
@@ -1324,12 +1460,14 @@ public Builder clearSql() {
      * 
* * string sql = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for sql to set. * @return This builder for chaining. */ - public Builder setSqlBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSqlBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); sql_ = value; bitField0_ |= 0x00000004; @@ -1339,8 +1477,13 @@ public Builder setSqlBytes( private com.google.protobuf.Struct params_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> paramsBuilder_; + com.google.protobuf.Struct, + com.google.protobuf.Struct.Builder, + com.google.protobuf.StructOrBuilder> + paramsBuilder_; /** + * + * *
      * Parameter names and values that bind to placeholders in the SQL string.
      * A parameter placeholder consists of the `@` character followed by the
@@ -1353,12 +1496,15 @@ public Builder setSqlBytes(
      * 
* * .google.protobuf.Struct params = 4; + * * @return Whether the params field is set. */ public boolean hasParams() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Parameter names and values that bind to placeholders in the SQL string.
      * A parameter placeholder consists of the `@` character followed by the
@@ -1371,6 +1517,7 @@ public boolean hasParams() {
      * 
* * .google.protobuf.Struct params = 4; + * * @return The params. */ public com.google.protobuf.Struct getParams() { @@ -1381,6 +1528,8 @@ public com.google.protobuf.Struct getParams() { } } /** + * + * *
      * Parameter names and values that bind to placeholders in the SQL string.
      * A parameter placeholder consists of the `@` character followed by the
@@ -1408,6 +1557,8 @@ public Builder setParams(com.google.protobuf.Struct value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Parameter names and values that bind to placeholders in the SQL string.
      * A parameter placeholder consists of the `@` character followed by the
@@ -1421,8 +1572,7 @@ public Builder setParams(com.google.protobuf.Struct value) {
      *
      * .google.protobuf.Struct params = 4;
      */
-    public Builder setParams(
-        com.google.protobuf.Struct.Builder builderForValue) {
+    public Builder setParams(com.google.protobuf.Struct.Builder builderForValue) {
       if (paramsBuilder_ == null) {
         params_ = builderForValue.build();
       } else {
@@ -1433,6 +1583,8 @@ public Builder setParams(
       return this;
     }
     /**
+     *
+     *
      * 
      * Parameter names and values that bind to placeholders in the SQL string.
      * A parameter placeholder consists of the `@` character followed by the
@@ -1448,9 +1600,9 @@ public Builder setParams(
      */
     public Builder mergeParams(com.google.protobuf.Struct value) {
       if (paramsBuilder_ == null) {
-        if (((bitField0_ & 0x00000008) != 0) &&
-          params_ != null &&
-          params_ != com.google.protobuf.Struct.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0)
+            && params_ != null
+            && params_ != com.google.protobuf.Struct.getDefaultInstance()) {
           getParamsBuilder().mergeFrom(value);
         } else {
           params_ = value;
@@ -1463,6 +1615,8 @@ public Builder mergeParams(com.google.protobuf.Struct value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Parameter names and values that bind to placeholders in the SQL string.
      * A parameter placeholder consists of the `@` character followed by the
@@ -1487,6 +1641,8 @@ public Builder clearParams() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Parameter names and values that bind to placeholders in the SQL string.
      * A parameter placeholder consists of the `@` character followed by the
@@ -1506,6 +1662,8 @@ public com.google.protobuf.Struct.Builder getParamsBuilder() {
       return getParamsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Parameter names and values that bind to placeholders in the SQL string.
      * A parameter placeholder consists of the `@` character followed by the
@@ -1523,11 +1681,12 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
       if (paramsBuilder_ != null) {
         return paramsBuilder_.getMessageOrBuilder();
       } else {
-        return params_ == null ?
-            com.google.protobuf.Struct.getDefaultInstance() : params_;
+        return params_ == null ? com.google.protobuf.Struct.getDefaultInstance() : params_;
       }
     }
     /**
+     *
+     *
      * 
      * Parameter names and values that bind to placeholders in the SQL string.
      * A parameter placeholder consists of the `@` character followed by the
@@ -1542,21 +1701,24 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
      * .google.protobuf.Struct params = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> 
+            com.google.protobuf.Struct,
+            com.google.protobuf.Struct.Builder,
+            com.google.protobuf.StructOrBuilder>
         getParamsFieldBuilder() {
       if (paramsBuilder_ == null) {
-        paramsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>(
-                getParams(),
-                getParentForChildren(),
-                isClean());
+        paramsBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Struct,
+                com.google.protobuf.Struct.Builder,
+                com.google.protobuf.StructOrBuilder>(
+                getParams(), getParentForChildren(), isClean());
         params_ = null;
       }
       return paramsBuilder_;
     }
 
-    private com.google.protobuf.MapField<
-        java.lang.String, com.google.spanner.v1.Type> paramTypes_;
+    private com.google.protobuf.MapField paramTypes_;
+
     private com.google.protobuf.MapField
         internalGetParamTypes() {
       if (paramTypes_ == null) {
@@ -1565,11 +1727,12 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
       }
       return paramTypes_;
     }
+
     private com.google.protobuf.MapField
         internalGetMutableParamTypes() {
       if (paramTypes_ == null) {
-        paramTypes_ = com.google.protobuf.MapField.newMapField(
-            ParamTypesDefaultEntryHolder.defaultEntry);
+        paramTypes_ =
+            com.google.protobuf.MapField.newMapField(ParamTypesDefaultEntryHolder.defaultEntry);
       }
       if (!paramTypes_.isMutable()) {
         paramTypes_ = paramTypes_.copy();
@@ -1578,10 +1741,13 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
       onChanged();
       return paramTypes_;
     }
+
     public int getParamTypesCount() {
       return internalGetParamTypes().getMap().size();
     }
     /**
+     *
+     *
      * 
      * It is not always possible for Cloud Spanner to infer the right SQL type
      * from a JSON value.  For example, values of type `BYTES` and values
@@ -1595,20 +1761,21 @@ public int getParamTypesCount() {
      * map<string, .google.spanner.v1.Type> param_types = 5;
      */
     @java.lang.Override
-    public boolean containsParamTypes(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsParamTypes(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetParamTypes().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getParamTypesMap()} instead.
-     */
+    /** Use {@link #getParamTypesMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getParamTypes() {
       return getParamTypesMap();
     }
     /**
+     *
+     *
      * 
      * It is not always possible for Cloud Spanner to infer the right SQL type
      * from a JSON value.  For example, values of type `BYTES` and values
@@ -1626,6 +1793,8 @@ public java.util.Map getParamTypes
       return internalGetParamTypes().getMap();
     }
     /**
+     *
+     *
      * 
      * It is not always possible for Cloud Spanner to infer the right SQL type
      * from a JSON value.  For example, values of type `BYTES` and values
@@ -1639,17 +1808,20 @@ public java.util.Map getParamTypes
      * map<string, .google.spanner.v1.Type> param_types = 5;
      */
     @java.lang.Override
-    public /* nullable */
-com.google.spanner.v1.Type getParamTypesOrDefault(
+    public /* nullable */ com.google.spanner.v1.Type getParamTypesOrDefault(
         java.lang.String key,
         /* nullable */
-com.google.spanner.v1.Type defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
+        com.google.spanner.v1.Type defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       java.util.Map map =
           internalGetParamTypes().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * It is not always possible for Cloud Spanner to infer the right SQL type
      * from a JSON value.  For example, values of type `BYTES` and values
@@ -1663,9 +1835,10 @@ com.google.spanner.v1.Type getParamTypesOrDefault(
      * map<string, .google.spanner.v1.Type> param_types = 5;
      */
     @java.lang.Override
-    public com.google.spanner.v1.Type getParamTypesOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public com.google.spanner.v1.Type getParamTypesOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       java.util.Map map =
           internalGetParamTypes().getMap();
       if (!map.containsKey(key)) {
@@ -1673,13 +1846,15 @@ public com.google.spanner.v1.Type getParamTypesOrThrow(
       }
       return map.get(key);
     }
+
     public Builder clearParamTypes() {
       bitField0_ = (bitField0_ & ~0x00000010);
-      internalGetMutableParamTypes().getMutableMap()
-          .clear();
+      internalGetMutableParamTypes().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * It is not always possible for Cloud Spanner to infer the right SQL type
      * from a JSON value.  For example, values of type `BYTES` and values
@@ -1692,23 +1867,22 @@ public Builder clearParamTypes() {
      *
      * map<string, .google.spanner.v1.Type> param_types = 5;
      */
-    public Builder removeParamTypes(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableParamTypes().getMutableMap()
-          .remove(key);
+    public Builder removeParamTypes(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableParamTypes().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-        getMutableParamTypes() {
+    public java.util.Map getMutableParamTypes() {
       bitField0_ |= 0x00000010;
       return internalGetMutableParamTypes().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * It is not always possible for Cloud Spanner to infer the right SQL type
      * from a JSON value.  For example, values of type `BYTES` and values
@@ -1721,17 +1895,20 @@ public Builder removeParamTypes(
      *
      * map<string, .google.spanner.v1.Type> param_types = 5;
      */
-    public Builder putParamTypes(
-        java.lang.String key,
-        com.google.spanner.v1.Type value) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      if (value == null) { throw new NullPointerException("map value"); }
-      internalGetMutableParamTypes().getMutableMap()
-          .put(key, value);
+    public Builder putParamTypes(java.lang.String key, com.google.spanner.v1.Type value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      if (value == null) {
+        throw new NullPointerException("map value");
+      }
+      internalGetMutableParamTypes().getMutableMap().put(key, value);
       bitField0_ |= 0x00000010;
       return this;
     }
     /**
+     *
+     *
      * 
      * It is not always possible for Cloud Spanner to infer the right SQL type
      * from a JSON value.  For example, values of type `BYTES` and values
@@ -1746,42 +1923,54 @@ public Builder putParamTypes(
      */
     public Builder putAllParamTypes(
         java.util.Map values) {
-      internalGetMutableParamTypes().getMutableMap()
-          .putAll(values);
+      internalGetMutableParamTypes().getMutableMap().putAll(values);
       bitField0_ |= 0x00000010;
       return this;
     }
 
     private com.google.spanner.v1.PartitionOptions partitionOptions_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.spanner.v1.PartitionOptions, com.google.spanner.v1.PartitionOptions.Builder, com.google.spanner.v1.PartitionOptionsOrBuilder> partitionOptionsBuilder_;
+            com.google.spanner.v1.PartitionOptions,
+            com.google.spanner.v1.PartitionOptions.Builder,
+            com.google.spanner.v1.PartitionOptionsOrBuilder>
+        partitionOptionsBuilder_;
     /**
+     *
+     *
      * 
      * Additional options that affect how many partitions are created.
      * 
* * .google.spanner.v1.PartitionOptions partition_options = 6; + * * @return Whether the partitionOptions field is set. */ public boolean hasPartitionOptions() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * *
      * Additional options that affect how many partitions are created.
      * 
* * .google.spanner.v1.PartitionOptions partition_options = 6; + * * @return The partitionOptions. */ public com.google.spanner.v1.PartitionOptions getPartitionOptions() { if (partitionOptionsBuilder_ == null) { - return partitionOptions_ == null ? com.google.spanner.v1.PartitionOptions.getDefaultInstance() : partitionOptions_; + return partitionOptions_ == null + ? com.google.spanner.v1.PartitionOptions.getDefaultInstance() + : partitionOptions_; } else { return partitionOptionsBuilder_.getMessage(); } } /** + * + * *
      * Additional options that affect how many partitions are created.
      * 
@@ -1802,6 +1991,8 @@ public Builder setPartitionOptions(com.google.spanner.v1.PartitionOptions value) return this; } /** + * + * *
      * Additional options that affect how many partitions are created.
      * 
@@ -1820,6 +2011,8 @@ public Builder setPartitionOptions( return this; } /** + * + * *
      * Additional options that affect how many partitions are created.
      * 
@@ -1828,9 +2021,9 @@ public Builder setPartitionOptions( */ public Builder mergePartitionOptions(com.google.spanner.v1.PartitionOptions value) { if (partitionOptionsBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) && - partitionOptions_ != null && - partitionOptions_ != com.google.spanner.v1.PartitionOptions.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) + && partitionOptions_ != null + && partitionOptions_ != com.google.spanner.v1.PartitionOptions.getDefaultInstance()) { getPartitionOptionsBuilder().mergeFrom(value); } else { partitionOptions_ = value; @@ -1843,6 +2036,8 @@ public Builder mergePartitionOptions(com.google.spanner.v1.PartitionOptions valu return this; } /** + * + * *
      * Additional options that affect how many partitions are created.
      * 
@@ -1860,6 +2055,8 @@ public Builder clearPartitionOptions() { return this; } /** + * + * *
      * Additional options that affect how many partitions are created.
      * 
@@ -1872,6 +2069,8 @@ public com.google.spanner.v1.PartitionOptions.Builder getPartitionOptionsBuilder return getPartitionOptionsFieldBuilder().getBuilder(); } /** + * + * *
      * Additional options that affect how many partitions are created.
      * 
@@ -1882,11 +2081,14 @@ public com.google.spanner.v1.PartitionOptionsOrBuilder getPartitionOptionsOrBuil if (partitionOptionsBuilder_ != null) { return partitionOptionsBuilder_.getMessageOrBuilder(); } else { - return partitionOptions_ == null ? - com.google.spanner.v1.PartitionOptions.getDefaultInstance() : partitionOptions_; + return partitionOptions_ == null + ? com.google.spanner.v1.PartitionOptions.getDefaultInstance() + : partitionOptions_; } } /** + * + * *
      * Additional options that affect how many partitions are created.
      * 
@@ -1894,21 +2096,24 @@ public com.google.spanner.v1.PartitionOptionsOrBuilder getPartitionOptionsOrBuil * .google.spanner.v1.PartitionOptions partition_options = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.PartitionOptions, com.google.spanner.v1.PartitionOptions.Builder, com.google.spanner.v1.PartitionOptionsOrBuilder> + com.google.spanner.v1.PartitionOptions, + com.google.spanner.v1.PartitionOptions.Builder, + com.google.spanner.v1.PartitionOptionsOrBuilder> getPartitionOptionsFieldBuilder() { if (partitionOptionsBuilder_ == null) { - partitionOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.PartitionOptions, com.google.spanner.v1.PartitionOptions.Builder, com.google.spanner.v1.PartitionOptionsOrBuilder>( - getPartitionOptions(), - getParentForChildren(), - isClean()); + partitionOptionsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.v1.PartitionOptions, + com.google.spanner.v1.PartitionOptions.Builder, + com.google.spanner.v1.PartitionOptionsOrBuilder>( + getPartitionOptions(), getParentForChildren(), isClean()); partitionOptions_ = null; } return partitionOptionsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1918,12 +2123,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.v1.PartitionQueryRequest) } // @@protoc_insertion_point(class_scope:google.spanner.v1.PartitionQueryRequest) private static final com.google.spanner.v1.PartitionQueryRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.v1.PartitionQueryRequest(); } @@ -1932,27 +2137,27 @@ public static com.google.spanner.v1.PartitionQueryRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PartitionQueryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PartitionQueryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1967,6 +2172,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.PartitionQueryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionQueryRequestOrBuilder.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionQueryRequestOrBuilder.java similarity index 84% rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionQueryRequestOrBuilder.java rename to proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionQueryRequestOrBuilder.java index b057ff6b795..7c71cf32d5e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionQueryRequestOrBuilder.java +++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionQueryRequestOrBuilder.java @@ -1,53 +1,86 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/spanner.proto package com.google.spanner.v1; -public interface PartitionQueryRequestOrBuilder extends +public interface PartitionQueryRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.PartitionQueryRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The session used to create the partitions.
    * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The session. */ java.lang.String getSession(); /** + * + * *
    * Required. The session used to create the partitions.
    * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for session. */ - com.google.protobuf.ByteString - getSessionBytes(); + com.google.protobuf.ByteString getSessionBytes(); /** + * + * *
    * Read only snapshot transactions are supported, read/write and single use
    * transactions are not.
    * 
* * .google.spanner.v1.TransactionSelector transaction = 2; + * * @return Whether the transaction field is set. */ boolean hasTransaction(); /** + * + * *
    * Read only snapshot transactions are supported, read/write and single use
    * transactions are not.
    * 
* * .google.spanner.v1.TransactionSelector transaction = 2; + * * @return The transaction. */ com.google.spanner.v1.TransactionSelector getTransaction(); /** + * + * *
    * Read only snapshot transactions are supported, read/write and single use
    * transactions are not.
@@ -58,6 +91,8 @@ public interface PartitionQueryRequestOrBuilder extends
   com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilder();
 
   /**
+   *
+   *
    * 
    * Required. The query request to generate partitions for. The request will fail if
    * the query is not root partitionable. The query plan of a root
@@ -71,10 +106,13 @@ public interface PartitionQueryRequestOrBuilder extends
    * 
* * string sql = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The sql. */ java.lang.String getSql(); /** + * + * *
    * Required. The query request to generate partitions for. The request will fail if
    * the query is not root partitionable. The query plan of a root
@@ -88,12 +126,14 @@ public interface PartitionQueryRequestOrBuilder extends
    * 
* * string sql = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for sql. */ - com.google.protobuf.ByteString - getSqlBytes(); + com.google.protobuf.ByteString getSqlBytes(); /** + * + * *
    * Parameter names and values that bind to placeholders in the SQL string.
    * A parameter placeholder consists of the `@` character followed by the
@@ -106,10 +146,13 @@ public interface PartitionQueryRequestOrBuilder extends
    * 
* * .google.protobuf.Struct params = 4; + * * @return Whether the params field is set. */ boolean hasParams(); /** + * + * *
    * Parameter names and values that bind to placeholders in the SQL string.
    * A parameter placeholder consists of the `@` character followed by the
@@ -122,10 +165,13 @@ public interface PartitionQueryRequestOrBuilder extends
    * 
* * .google.protobuf.Struct params = 4; + * * @return The params. */ com.google.protobuf.Struct getParams(); /** + * + * *
    * Parameter names and values that bind to placeholders in the SQL string.
    * A parameter placeholder consists of the `@` character followed by the
@@ -142,6 +188,8 @@ public interface PartitionQueryRequestOrBuilder extends
   com.google.protobuf.StructOrBuilder getParamsOrBuilder();
 
   /**
+   *
+   *
    * 
    * It is not always possible for Cloud Spanner to infer the right SQL type
    * from a JSON value.  For example, values of type `BYTES` and values
@@ -156,6 +204,8 @@ public interface PartitionQueryRequestOrBuilder extends
    */
   int getParamTypesCount();
   /**
+   *
+   *
    * 
    * It is not always possible for Cloud Spanner to infer the right SQL type
    * from a JSON value.  For example, values of type `BYTES` and values
@@ -168,15 +218,13 @@ public interface PartitionQueryRequestOrBuilder extends
    *
    * map<string, .google.spanner.v1.Type> param_types = 5;
    */
-  boolean containsParamTypes(
-      java.lang.String key);
-  /**
-   * Use {@link #getParamTypesMap()} instead.
-   */
+  boolean containsParamTypes(java.lang.String key);
+  /** Use {@link #getParamTypesMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getParamTypes();
+  java.util.Map getParamTypes();
   /**
+   *
+   *
    * 
    * It is not always possible for Cloud Spanner to infer the right SQL type
    * from a JSON value.  For example, values of type `BYTES` and values
@@ -189,9 +237,10 @@ boolean containsParamTypes(
    *
    * map<string, .google.spanner.v1.Type> param_types = 5;
    */
-  java.util.Map
-  getParamTypesMap();
+  java.util.Map getParamTypesMap();
   /**
+   *
+   *
    * 
    * It is not always possible for Cloud Spanner to infer the right SQL type
    * from a JSON value.  For example, values of type `BYTES` and values
@@ -205,11 +254,13 @@ boolean containsParamTypes(
    * map<string, .google.spanner.v1.Type> param_types = 5;
    */
   /* nullable */
-com.google.spanner.v1.Type getParamTypesOrDefault(
+  com.google.spanner.v1.Type getParamTypesOrDefault(
       java.lang.String key,
       /* nullable */
-com.google.spanner.v1.Type defaultValue);
+      com.google.spanner.v1.Type defaultValue);
   /**
+   *
+   *
    * 
    * It is not always possible for Cloud Spanner to infer the right SQL type
    * from a JSON value.  For example, values of type `BYTES` and values
@@ -222,28 +273,35 @@ com.google.spanner.v1.Type getParamTypesOrDefault(
    *
    * map<string, .google.spanner.v1.Type> param_types = 5;
    */
-  com.google.spanner.v1.Type getParamTypesOrThrow(
-      java.lang.String key);
+  com.google.spanner.v1.Type getParamTypesOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * Additional options that affect how many partitions are created.
    * 
* * .google.spanner.v1.PartitionOptions partition_options = 6; + * * @return Whether the partitionOptions field is set. */ boolean hasPartitionOptions(); /** + * + * *
    * Additional options that affect how many partitions are created.
    * 
* * .google.spanner.v1.PartitionOptions partition_options = 6; + * * @return The partitionOptions. */ com.google.spanner.v1.PartitionOptions getPartitionOptions(); /** + * + * *
    * Additional options that affect how many partitions are created.
    * 
diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionReadRequest.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionReadRequest.java similarity index 75% rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionReadRequest.java rename to proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionReadRequest.java index 8cd8bfa0851..46155e66a27 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionReadRequest.java +++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionReadRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/spanner.proto package com.google.spanner.v1; /** + * + * *
  * The request for [PartitionRead][google.spanner.v1.Spanner.PartitionRead]
  * 
* * Protobuf type {@code google.spanner.v1.PartitionReadRequest} */ -public final class PartitionReadRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PartitionReadRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.spanner.v1.PartitionReadRequest) PartitionReadRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PartitionReadRequest.newBuilder() to construct. private PartitionReadRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PartitionReadRequest() { session_ = ""; table_ = ""; @@ -28,38 +46,45 @@ private PartitionReadRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PartitionReadRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_PartitionReadRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_PartitionReadRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_PartitionReadRequest_fieldAccessorTable + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_PartitionReadRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.PartitionReadRequest.class, com.google.spanner.v1.PartitionReadRequest.Builder.class); + com.google.spanner.v1.PartitionReadRequest.class, + com.google.spanner.v1.PartitionReadRequest.Builder.class); } public static final int SESSION_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object session_ = ""; /** + * + * *
    * Required. The session used to create the partitions.
    * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The session. */ @java.lang.Override @@ -68,29 +93,31 @@ public java.lang.String getSession() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); session_ = s; return s; } } /** + * + * *
    * Required. The session used to create the partitions.
    * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for session. */ @java.lang.Override - public com.google.protobuf.ByteString - getSessionBytes() { + public com.google.protobuf.ByteString getSessionBytes() { java.lang.Object ref = session_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); session_ = b; return b; } else { @@ -101,12 +128,15 @@ public java.lang.String getSession() { public static final int TRANSACTION_FIELD_NUMBER = 2; private com.google.spanner.v1.TransactionSelector transaction_; /** + * + * *
    * Read only snapshot transactions are supported, read/write and single use
    * transactions are not.
    * 
* * .google.spanner.v1.TransactionSelector transaction = 2; + * * @return Whether the transaction field is set. */ @java.lang.Override @@ -114,19 +144,26 @@ public boolean hasTransaction() { return transaction_ != null; } /** + * + * *
    * Read only snapshot transactions are supported, read/write and single use
    * transactions are not.
    * 
* * .google.spanner.v1.TransactionSelector transaction = 2; + * * @return The transaction. */ @java.lang.Override public com.google.spanner.v1.TransactionSelector getTransaction() { - return transaction_ == null ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() : transaction_; + return transaction_ == null + ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() + : transaction_; } /** + * + * *
    * Read only snapshot transactions are supported, read/write and single use
    * transactions are not.
@@ -136,18 +173,24 @@ public com.google.spanner.v1.TransactionSelector getTransaction() {
    */
   @java.lang.Override
   public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilder() {
-    return transaction_ == null ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() : transaction_;
+    return transaction_ == null
+        ? com.google.spanner.v1.TransactionSelector.getDefaultInstance()
+        : transaction_;
   }
 
   public static final int TABLE_FIELD_NUMBER = 3;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object table_ = "";
   /**
+   *
+   *
    * 
    * Required. The name of the table in the database to be read.
    * 
* * string table = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The table. */ @java.lang.Override @@ -156,29 +199,29 @@ public java.lang.String getTable() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); table_ = s; return s; } } /** + * + * *
    * Required. The name of the table in the database to be read.
    * 
* * string table = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for table. */ @java.lang.Override - public com.google.protobuf.ByteString - getTableBytes() { + public com.google.protobuf.ByteString getTableBytes() { java.lang.Object ref = table_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); table_ = b; return b; } else { @@ -187,9 +230,12 @@ public java.lang.String getTable() { } public static final int INDEX_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object index_ = ""; /** + * + * *
    * If non-empty, the name of an index on [table][google.spanner.v1.PartitionReadRequest.table]. This index is
    * used instead of the table primary key when interpreting [key_set][google.spanner.v1.PartitionReadRequest.key_set]
@@ -197,6 +243,7 @@ public java.lang.String getTable() {
    * 
* * string index = 4; + * * @return The index. */ @java.lang.Override @@ -205,14 +252,15 @@ public java.lang.String getIndex() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); index_ = s; return s; } } /** + * + * *
    * If non-empty, the name of an index on [table][google.spanner.v1.PartitionReadRequest.table]. This index is
    * used instead of the table primary key when interpreting [key_set][google.spanner.v1.PartitionReadRequest.key_set]
@@ -220,16 +268,15 @@ public java.lang.String getIndex() {
    * 
* * string index = 4; + * * @return The bytes for index. */ @java.lang.Override - public com.google.protobuf.ByteString - getIndexBytes() { + public com.google.protobuf.ByteString getIndexBytes() { java.lang.Object ref = index_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); index_ = b; return b; } else { @@ -238,40 +285,49 @@ public java.lang.String getIndex() { } public static final int COLUMNS_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringList columns_; /** + * + * *
    * The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be returned for each row matching
    * this request.
    * 
* * repeated string columns = 5; + * * @return A list containing the columns. */ - public com.google.protobuf.ProtocolStringList - getColumnsList() { + public com.google.protobuf.ProtocolStringList getColumnsList() { return columns_; } /** + * + * *
    * The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be returned for each row matching
    * this request.
    * 
* * repeated string columns = 5; + * * @return The count of columns. */ public int getColumnsCount() { return columns_.size(); } /** + * + * *
    * The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be returned for each row matching
    * this request.
    * 
* * repeated string columns = 5; + * * @param index The index of the element to return. * @return The columns at the given index. */ @@ -279,23 +335,27 @@ public java.lang.String getColumns(int index) { return columns_.get(index); } /** + * + * *
    * The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be returned for each row matching
    * this request.
    * 
* * repeated string columns = 5; + * * @param index The index of the value to return. * @return The bytes of the columns at the given index. */ - public com.google.protobuf.ByteString - getColumnsBytes(int index) { + public com.google.protobuf.ByteString getColumnsBytes(int index) { return columns_.getByteString(index); } public static final int KEY_SET_FIELD_NUMBER = 6; private com.google.spanner.v1.KeySet keySet_; /** + * + * *
    * Required. `key_set` identifies the rows to be yielded. `key_set` names the
    * primary keys of the rows in [table][google.spanner.v1.PartitionReadRequest.table] to be yielded, unless [index][google.spanner.v1.PartitionReadRequest.index]
@@ -306,6 +366,7 @@ public java.lang.String getColumns(int index) {
    * 
* * .google.spanner.v1.KeySet key_set = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the keySet field is set. */ @java.lang.Override @@ -313,6 +374,8 @@ public boolean hasKeySet() { return keySet_ != null; } /** + * + * *
    * Required. `key_set` identifies the rows to be yielded. `key_set` names the
    * primary keys of the rows in [table][google.spanner.v1.PartitionReadRequest.table] to be yielded, unless [index][google.spanner.v1.PartitionReadRequest.index]
@@ -323,6 +386,7 @@ public boolean hasKeySet() {
    * 
* * .google.spanner.v1.KeySet key_set = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return The keySet. */ @java.lang.Override @@ -330,6 +394,8 @@ public com.google.spanner.v1.KeySet getKeySet() { return keySet_ == null ? com.google.spanner.v1.KeySet.getDefaultInstance() : keySet_; } /** + * + * *
    * Required. `key_set` identifies the rows to be yielded. `key_set` names the
    * primary keys of the rows in [table][google.spanner.v1.PartitionReadRequest.table] to be yielded, unless [index][google.spanner.v1.PartitionReadRequest.index]
@@ -349,11 +415,14 @@ public com.google.spanner.v1.KeySetOrBuilder getKeySetOrBuilder() {
   public static final int PARTITION_OPTIONS_FIELD_NUMBER = 9;
   private com.google.spanner.v1.PartitionOptions partitionOptions_;
   /**
+   *
+   *
    * 
    * Additional options that affect how many partitions are created.
    * 
* * .google.spanner.v1.PartitionOptions partition_options = 9; + * * @return Whether the partitionOptions field is set. */ @java.lang.Override @@ -361,18 +430,25 @@ public boolean hasPartitionOptions() { return partitionOptions_ != null; } /** + * + * *
    * Additional options that affect how many partitions are created.
    * 
* * .google.spanner.v1.PartitionOptions partition_options = 9; + * * @return The partitionOptions. */ @java.lang.Override public com.google.spanner.v1.PartitionOptions getPartitionOptions() { - return partitionOptions_ == null ? com.google.spanner.v1.PartitionOptions.getDefaultInstance() : partitionOptions_; + return partitionOptions_ == null + ? com.google.spanner.v1.PartitionOptions.getDefaultInstance() + : partitionOptions_; } /** + * + * *
    * Additional options that affect how many partitions are created.
    * 
@@ -381,10 +457,13 @@ public com.google.spanner.v1.PartitionOptions getPartitionOptions() { */ @java.lang.Override public com.google.spanner.v1.PartitionOptionsOrBuilder getPartitionOptionsOrBuilder() { - return partitionOptions_ == null ? com.google.spanner.v1.PartitionOptions.getDefaultInstance() : partitionOptions_; + return partitionOptions_ == null + ? com.google.spanner.v1.PartitionOptions.getDefaultInstance() + : partitionOptions_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -396,8 +475,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(session_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, session_); } @@ -432,8 +510,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, session_); } if (transaction_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getTransaction()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTransaction()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(table_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, table_); @@ -450,12 +527,10 @@ public int getSerializedSize() { size += 1 * getColumnsList().size(); } if (keySet_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getKeySet()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getKeySet()); } if (partitionOptions_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getPartitionOptions()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getPartitionOptions()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -465,35 +540,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.spanner.v1.PartitionReadRequest)) { return super.equals(obj); } - com.google.spanner.v1.PartitionReadRequest other = (com.google.spanner.v1.PartitionReadRequest) obj; + com.google.spanner.v1.PartitionReadRequest other = + (com.google.spanner.v1.PartitionReadRequest) obj; - if (!getSession() - .equals(other.getSession())) return false; + if (!getSession().equals(other.getSession())) return false; if (hasTransaction() != other.hasTransaction()) return false; if (hasTransaction()) { - if (!getTransaction() - .equals(other.getTransaction())) return false; - } - if (!getTable() - .equals(other.getTable())) return false; - if (!getIndex() - .equals(other.getIndex())) return false; - if (!getColumnsList() - .equals(other.getColumnsList())) return false; + if (!getTransaction().equals(other.getTransaction())) return false; + } + if (!getTable().equals(other.getTable())) return false; + if (!getIndex().equals(other.getIndex())) return false; + if (!getColumnsList().equals(other.getColumnsList())) return false; if (hasKeySet() != other.hasKeySet()) return false; if (hasKeySet()) { - if (!getKeySet() - .equals(other.getKeySet())) return false; + if (!getKeySet().equals(other.getKeySet())) return false; } if (hasPartitionOptions() != other.hasPartitionOptions()) return false; if (hasPartitionOptions()) { - if (!getPartitionOptions() - .equals(other.getPartitionOptions())) return false; + if (!getPartitionOptions().equals(other.getPartitionOptions())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -533,130 +602,136 @@ public int hashCode() { return hash; } - public static com.google.spanner.v1.PartitionReadRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.spanner.v1.PartitionReadRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.PartitionReadRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.v1.PartitionReadRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.PartitionReadRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.v1.PartitionReadRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.PartitionReadRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.v1.PartitionReadRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.v1.PartitionReadRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.PartitionReadRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.spanner.v1.PartitionReadRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.spanner.v1.PartitionReadRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.spanner.v1.PartitionReadRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.v1.PartitionReadRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.spanner.v1.PartitionReadRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [PartitionRead][google.spanner.v1.Spanner.PartitionRead]
    * 
* * Protobuf type {@code google.spanner.v1.PartitionReadRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.PartitionReadRequest) com.google.spanner.v1.PartitionReadRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_PartitionReadRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_PartitionReadRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_PartitionReadRequest_fieldAccessorTable + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_PartitionReadRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.PartitionReadRequest.class, com.google.spanner.v1.PartitionReadRequest.Builder.class); + com.google.spanner.v1.PartitionReadRequest.class, + com.google.spanner.v1.PartitionReadRequest.Builder.class); } // Construct using com.google.spanner.v1.PartitionReadRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -685,9 +760,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_PartitionReadRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_PartitionReadRequest_descriptor; } @java.lang.Override @@ -706,9 +781,12 @@ public com.google.spanner.v1.PartitionReadRequest build() { @java.lang.Override public com.google.spanner.v1.PartitionReadRequest buildPartial() { - com.google.spanner.v1.PartitionReadRequest result = new com.google.spanner.v1.PartitionReadRequest(this); + com.google.spanner.v1.PartitionReadRequest result = + new com.google.spanner.v1.PartitionReadRequest(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -727,9 +805,8 @@ private void buildPartial0(com.google.spanner.v1.PartitionReadRequest result) { result.session_ = session_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.transaction_ = transactionBuilder_ == null - ? transaction_ - : transactionBuilder_.build(); + result.transaction_ = + transactionBuilder_ == null ? transaction_ : transactionBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.table_ = table_; @@ -738,14 +815,11 @@ private void buildPartial0(com.google.spanner.v1.PartitionReadRequest result) { result.index_ = index_; } if (((from_bitField0_ & 0x00000020) != 0)) { - result.keySet_ = keySetBuilder_ == null - ? keySet_ - : keySetBuilder_.build(); + result.keySet_ = keySetBuilder_ == null ? keySet_ : keySetBuilder_.build(); } if (((from_bitField0_ & 0x00000040) != 0)) { - result.partitionOptions_ = partitionOptionsBuilder_ == null - ? partitionOptions_ - : partitionOptionsBuilder_.build(); + result.partitionOptions_ = + partitionOptionsBuilder_ == null ? partitionOptions_ : partitionOptionsBuilder_.build(); } } @@ -753,38 +827,39 @@ private void buildPartial0(com.google.spanner.v1.PartitionReadRequest 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.spanner.v1.PartitionReadRequest) { - return mergeFrom((com.google.spanner.v1.PartitionReadRequest)other); + return mergeFrom((com.google.spanner.v1.PartitionReadRequest) other); } else { super.mergeFrom(other); return this; @@ -853,54 +928,57 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - session_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getTransactionFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - table_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - index_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - java.lang.String s = input.readStringRequireUtf8(); - ensureColumnsIsMutable(); - columns_.add(s); - break; - } // case 42 - case 50: { - input.readMessage( - getKeySetFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 74: { - input.readMessage( - getPartitionOptionsFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000040; - break; - } // case 74 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + session_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getTransactionFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + table_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + index_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureColumnsIsMutable(); + columns_.add(s); + break; + } // case 42 + case 50: + { + input.readMessage(getKeySetFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 74: + { + input.readMessage( + getPartitionOptionsFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000040; + 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) { @@ -910,22 +988,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object session_ = ""; /** + * + * *
      * Required. The session used to create the partitions.
      * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The session. */ public java.lang.String getSession() { java.lang.Object ref = session_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); session_ = s; return s; @@ -934,20 +1017,23 @@ public java.lang.String getSession() { } } /** + * + * *
      * Required. The session used to create the partitions.
      * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for session. */ - public com.google.protobuf.ByteString - getSessionBytes() { + public com.google.protobuf.ByteString getSessionBytes() { java.lang.Object ref = session_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); session_ = b; return b; } else { @@ -955,28 +1041,39 @@ public java.lang.String getSession() { } } /** + * + * *
      * Required. The session used to create the partitions.
      * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The session to set. * @return This builder for chaining. */ - public Builder setSession( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSession(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } session_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The session used to create the partitions.
      * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearSession() { @@ -986,17 +1083,23 @@ public Builder clearSession() { return this; } /** + * + * *
      * Required. The session used to create the partitions.
      * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for session to set. * @return This builder for chaining. */ - public Builder setSessionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSessionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); session_ = value; bitField0_ |= 0x00000001; @@ -1006,36 +1109,49 @@ public Builder setSessionBytes( private com.google.spanner.v1.TransactionSelector transaction_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.TransactionSelector, com.google.spanner.v1.TransactionSelector.Builder, com.google.spanner.v1.TransactionSelectorOrBuilder> transactionBuilder_; + com.google.spanner.v1.TransactionSelector, + com.google.spanner.v1.TransactionSelector.Builder, + com.google.spanner.v1.TransactionSelectorOrBuilder> + transactionBuilder_; /** + * + * *
      * Read only snapshot transactions are supported, read/write and single use
      * transactions are not.
      * 
* * .google.spanner.v1.TransactionSelector transaction = 2; + * * @return Whether the transaction field is set. */ public boolean hasTransaction() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Read only snapshot transactions are supported, read/write and single use
      * transactions are not.
      * 
* * .google.spanner.v1.TransactionSelector transaction = 2; + * * @return The transaction. */ public com.google.spanner.v1.TransactionSelector getTransaction() { if (transactionBuilder_ == null) { - return transaction_ == null ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() : transaction_; + return transaction_ == null + ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() + : transaction_; } else { return transactionBuilder_.getMessage(); } } /** + * + * *
      * Read only snapshot transactions are supported, read/write and single use
      * transactions are not.
@@ -1057,6 +1173,8 @@ public Builder setTransaction(com.google.spanner.v1.TransactionSelector value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Read only snapshot transactions are supported, read/write and single use
      * transactions are not.
@@ -1076,6 +1194,8 @@ public Builder setTransaction(
       return this;
     }
     /**
+     *
+     *
      * 
      * Read only snapshot transactions are supported, read/write and single use
      * transactions are not.
@@ -1085,9 +1205,9 @@ public Builder setTransaction(
      */
     public Builder mergeTransaction(com.google.spanner.v1.TransactionSelector value) {
       if (transactionBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0) &&
-          transaction_ != null &&
-          transaction_ != com.google.spanner.v1.TransactionSelector.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0)
+            && transaction_ != null
+            && transaction_ != com.google.spanner.v1.TransactionSelector.getDefaultInstance()) {
           getTransactionBuilder().mergeFrom(value);
         } else {
           transaction_ = value;
@@ -1100,6 +1220,8 @@ public Builder mergeTransaction(com.google.spanner.v1.TransactionSelector value)
       return this;
     }
     /**
+     *
+     *
      * 
      * Read only snapshot transactions are supported, read/write and single use
      * transactions are not.
@@ -1118,6 +1240,8 @@ public Builder clearTransaction() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Read only snapshot transactions are supported, read/write and single use
      * transactions are not.
@@ -1131,6 +1255,8 @@ public com.google.spanner.v1.TransactionSelector.Builder getTransactionBuilder()
       return getTransactionFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Read only snapshot transactions are supported, read/write and single use
      * transactions are not.
@@ -1142,11 +1268,14 @@ public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilde
       if (transactionBuilder_ != null) {
         return transactionBuilder_.getMessageOrBuilder();
       } else {
-        return transaction_ == null ?
-            com.google.spanner.v1.TransactionSelector.getDefaultInstance() : transaction_;
+        return transaction_ == null
+            ? com.google.spanner.v1.TransactionSelector.getDefaultInstance()
+            : transaction_;
       }
     }
     /**
+     *
+     *
      * 
      * Read only snapshot transactions are supported, read/write and single use
      * transactions are not.
@@ -1155,14 +1284,17 @@ public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilde
      * .google.spanner.v1.TransactionSelector transaction = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.spanner.v1.TransactionSelector, com.google.spanner.v1.TransactionSelector.Builder, com.google.spanner.v1.TransactionSelectorOrBuilder> 
+            com.google.spanner.v1.TransactionSelector,
+            com.google.spanner.v1.TransactionSelector.Builder,
+            com.google.spanner.v1.TransactionSelectorOrBuilder>
         getTransactionFieldBuilder() {
       if (transactionBuilder_ == null) {
-        transactionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.TransactionSelector, com.google.spanner.v1.TransactionSelector.Builder, com.google.spanner.v1.TransactionSelectorOrBuilder>(
-                getTransaction(),
-                getParentForChildren(),
-                isClean());
+        transactionBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.spanner.v1.TransactionSelector,
+                com.google.spanner.v1.TransactionSelector.Builder,
+                com.google.spanner.v1.TransactionSelectorOrBuilder>(
+                getTransaction(), getParentForChildren(), isClean());
         transaction_ = null;
       }
       return transactionBuilder_;
@@ -1170,18 +1302,20 @@ public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilde
 
     private java.lang.Object table_ = "";
     /**
+     *
+     *
      * 
      * Required. The name of the table in the database to be read.
      * 
* * string table = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The table. */ public java.lang.String getTable() { java.lang.Object ref = table_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); table_ = s; return s; @@ -1190,20 +1324,21 @@ public java.lang.String getTable() { } } /** + * + * *
      * Required. The name of the table in the database to be read.
      * 
* * string table = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for table. */ - public com.google.protobuf.ByteString - getTableBytes() { + public com.google.protobuf.ByteString getTableBytes() { java.lang.Object ref = table_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); table_ = b; return b; } else { @@ -1211,28 +1346,35 @@ public java.lang.String getTable() { } } /** + * + * *
      * Required. The name of the table in the database to be read.
      * 
* * string table = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The table to set. * @return This builder for chaining. */ - public Builder setTable( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTable(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } table_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Required. The name of the table in the database to be read.
      * 
* * string table = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearTable() { @@ -1242,17 +1384,21 @@ public Builder clearTable() { return this; } /** + * + * *
      * Required. The name of the table in the database to be read.
      * 
* * string table = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for table to set. * @return This builder for chaining. */ - public Builder setTableBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTableBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); table_ = value; bitField0_ |= 0x00000004; @@ -1262,6 +1408,8 @@ public Builder setTableBytes( private java.lang.Object index_ = ""; /** + * + * *
      * If non-empty, the name of an index on [table][google.spanner.v1.PartitionReadRequest.table]. This index is
      * used instead of the table primary key when interpreting [key_set][google.spanner.v1.PartitionReadRequest.key_set]
@@ -1269,13 +1417,13 @@ public Builder setTableBytes(
      * 
* * string index = 4; + * * @return The index. */ public java.lang.String getIndex() { java.lang.Object ref = index_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); index_ = s; return s; @@ -1284,6 +1432,8 @@ public java.lang.String getIndex() { } } /** + * + * *
      * If non-empty, the name of an index on [table][google.spanner.v1.PartitionReadRequest.table]. This index is
      * used instead of the table primary key when interpreting [key_set][google.spanner.v1.PartitionReadRequest.key_set]
@@ -1291,15 +1441,14 @@ public java.lang.String getIndex() {
      * 
* * string index = 4; + * * @return The bytes for index. */ - public com.google.protobuf.ByteString - getIndexBytes() { + public com.google.protobuf.ByteString getIndexBytes() { java.lang.Object ref = index_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); index_ = b; return b; } else { @@ -1307,6 +1456,8 @@ public java.lang.String getIndex() { } } /** + * + * *
      * If non-empty, the name of an index on [table][google.spanner.v1.PartitionReadRequest.table]. This index is
      * used instead of the table primary key when interpreting [key_set][google.spanner.v1.PartitionReadRequest.key_set]
@@ -1314,18 +1465,22 @@ public java.lang.String getIndex() {
      * 
* * string index = 4; + * * @param value The index to set. * @return This builder for chaining. */ - public Builder setIndex( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIndex(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } index_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * If non-empty, the name of an index on [table][google.spanner.v1.PartitionReadRequest.table]. This index is
      * used instead of the table primary key when interpreting [key_set][google.spanner.v1.PartitionReadRequest.key_set]
@@ -1333,6 +1488,7 @@ public Builder setIndex(
      * 
* * string index = 4; + * * @return This builder for chaining. */ public Builder clearIndex() { @@ -1342,6 +1498,8 @@ public Builder clearIndex() { return this; } /** + * + * *
      * If non-empty, the name of an index on [table][google.spanner.v1.PartitionReadRequest.table]. This index is
      * used instead of the table primary key when interpreting [key_set][google.spanner.v1.PartitionReadRequest.key_set]
@@ -1349,12 +1507,14 @@ public Builder clearIndex() {
      * 
* * string index = 4; + * * @param value The bytes for index to set. * @return This builder for chaining. */ - public Builder setIndexBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIndexBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); index_ = value; bitField0_ |= 0x00000008; @@ -1362,45 +1522,55 @@ public Builder setIndexBytes( return this; } - private com.google.protobuf.LazyStringList columns_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList columns_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureColumnsIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { columns_ = new com.google.protobuf.LazyStringArrayList(columns_); bitField0_ |= 0x00000010; - } + } } /** + * + * *
      * The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be returned for each row matching
      * this request.
      * 
* * repeated string columns = 5; + * * @return A list containing the columns. */ - public com.google.protobuf.ProtocolStringList - getColumnsList() { + public com.google.protobuf.ProtocolStringList getColumnsList() { return columns_.getUnmodifiableView(); } /** + * + * *
      * The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be returned for each row matching
      * this request.
      * 
* * repeated string columns = 5; + * * @return The count of columns. */ public int getColumnsCount() { return columns_.size(); } /** + * + * *
      * The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be returned for each row matching
      * this request.
      * 
* * repeated string columns = 5; + * * @param index The index of the element to return. * @return The columns at the given index. */ @@ -1408,81 +1578,95 @@ public java.lang.String getColumns(int index) { return columns_.get(index); } /** + * + * *
      * The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be returned for each row matching
      * this request.
      * 
* * repeated string columns = 5; + * * @param index The index of the value to return. * @return The bytes of the columns at the given index. */ - public com.google.protobuf.ByteString - getColumnsBytes(int index) { + public com.google.protobuf.ByteString getColumnsBytes(int index) { return columns_.getByteString(index); } /** + * + * *
      * The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be returned for each row matching
      * this request.
      * 
* * repeated string columns = 5; + * * @param index The index to set the value at. * @param value The columns to set. * @return This builder for chaining. */ - public Builder setColumns( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setColumns(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureColumnsIsMutable(); columns_.set(index, value); onChanged(); return this; } /** + * + * *
      * The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be returned for each row matching
      * this request.
      * 
* * repeated string columns = 5; + * * @param value The columns to add. * @return This builder for chaining. */ - public Builder addColumns( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addColumns(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureColumnsIsMutable(); columns_.add(value); onChanged(); return this; } /** + * + * *
      * The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be returned for each row matching
      * this request.
      * 
* * repeated string columns = 5; + * * @param values The columns to add. * @return This builder for chaining. */ - public Builder addAllColumns( - java.lang.Iterable values) { + public Builder addAllColumns(java.lang.Iterable values) { ensureColumnsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, columns_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, columns_); onChanged(); return this; } /** + * + * *
      * The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be returned for each row matching
      * this request.
      * 
* * repeated string columns = 5; + * * @return This builder for chaining. */ public Builder clearColumns() { @@ -1492,18 +1676,22 @@ public Builder clearColumns() { return this; } /** + * + * *
      * The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be returned for each row matching
      * this request.
      * 
* * repeated string columns = 5; + * * @param value The bytes of the columns to add. * @return This builder for chaining. */ - public Builder addColumnsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addColumnsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureColumnsIsMutable(); columns_.add(value); @@ -1513,8 +1701,13 @@ public Builder addColumnsBytes( private com.google.spanner.v1.KeySet keySet_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.KeySet, com.google.spanner.v1.KeySet.Builder, com.google.spanner.v1.KeySetOrBuilder> keySetBuilder_; + com.google.spanner.v1.KeySet, + com.google.spanner.v1.KeySet.Builder, + com.google.spanner.v1.KeySetOrBuilder> + keySetBuilder_; /** + * + * *
      * Required. `key_set` identifies the rows to be yielded. `key_set` names the
      * primary keys of the rows in [table][google.spanner.v1.PartitionReadRequest.table] to be yielded, unless [index][google.spanner.v1.PartitionReadRequest.index]
@@ -1525,12 +1718,15 @@ public Builder addColumnsBytes(
      * 
* * .google.spanner.v1.KeySet key_set = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the keySet field is set. */ public boolean hasKeySet() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * *
      * Required. `key_set` identifies the rows to be yielded. `key_set` names the
      * primary keys of the rows in [table][google.spanner.v1.PartitionReadRequest.table] to be yielded, unless [index][google.spanner.v1.PartitionReadRequest.index]
@@ -1541,6 +1737,7 @@ public boolean hasKeySet() {
      * 
* * .google.spanner.v1.KeySet key_set = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return The keySet. */ public com.google.spanner.v1.KeySet getKeySet() { @@ -1551,6 +1748,8 @@ public com.google.spanner.v1.KeySet getKeySet() { } } /** + * + * *
      * Required. `key_set` identifies the rows to be yielded. `key_set` names the
      * primary keys of the rows in [table][google.spanner.v1.PartitionReadRequest.table] to be yielded, unless [index][google.spanner.v1.PartitionReadRequest.index]
@@ -1576,6 +1775,8 @@ public Builder setKeySet(com.google.spanner.v1.KeySet value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Required. `key_set` identifies the rows to be yielded. `key_set` names the
      * primary keys of the rows in [table][google.spanner.v1.PartitionReadRequest.table] to be yielded, unless [index][google.spanner.v1.PartitionReadRequest.index]
@@ -1587,8 +1788,7 @@ public Builder setKeySet(com.google.spanner.v1.KeySet value) {
      *
      * .google.spanner.v1.KeySet key_set = 6 [(.google.api.field_behavior) = REQUIRED];
      */
-    public Builder setKeySet(
-        com.google.spanner.v1.KeySet.Builder builderForValue) {
+    public Builder setKeySet(com.google.spanner.v1.KeySet.Builder builderForValue) {
       if (keySetBuilder_ == null) {
         keySet_ = builderForValue.build();
       } else {
@@ -1599,6 +1799,8 @@ public Builder setKeySet(
       return this;
     }
     /**
+     *
+     *
      * 
      * Required. `key_set` identifies the rows to be yielded. `key_set` names the
      * primary keys of the rows in [table][google.spanner.v1.PartitionReadRequest.table] to be yielded, unless [index][google.spanner.v1.PartitionReadRequest.index]
@@ -1612,9 +1814,9 @@ public Builder setKeySet(
      */
     public Builder mergeKeySet(com.google.spanner.v1.KeySet value) {
       if (keySetBuilder_ == null) {
-        if (((bitField0_ & 0x00000020) != 0) &&
-          keySet_ != null &&
-          keySet_ != com.google.spanner.v1.KeySet.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000020) != 0)
+            && keySet_ != null
+            && keySet_ != com.google.spanner.v1.KeySet.getDefaultInstance()) {
           getKeySetBuilder().mergeFrom(value);
         } else {
           keySet_ = value;
@@ -1627,6 +1829,8 @@ public Builder mergeKeySet(com.google.spanner.v1.KeySet value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Required. `key_set` identifies the rows to be yielded. `key_set` names the
      * primary keys of the rows in [table][google.spanner.v1.PartitionReadRequest.table] to be yielded, unless [index][google.spanner.v1.PartitionReadRequest.index]
@@ -1649,6 +1853,8 @@ public Builder clearKeySet() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Required. `key_set` identifies the rows to be yielded. `key_set` names the
      * primary keys of the rows in [table][google.spanner.v1.PartitionReadRequest.table] to be yielded, unless [index][google.spanner.v1.PartitionReadRequest.index]
@@ -1666,6 +1872,8 @@ public com.google.spanner.v1.KeySet.Builder getKeySetBuilder() {
       return getKeySetFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Required. `key_set` identifies the rows to be yielded. `key_set` names the
      * primary keys of the rows in [table][google.spanner.v1.PartitionReadRequest.table] to be yielded, unless [index][google.spanner.v1.PartitionReadRequest.index]
@@ -1681,11 +1889,12 @@ public com.google.spanner.v1.KeySetOrBuilder getKeySetOrBuilder() {
       if (keySetBuilder_ != null) {
         return keySetBuilder_.getMessageOrBuilder();
       } else {
-        return keySet_ == null ?
-            com.google.spanner.v1.KeySet.getDefaultInstance() : keySet_;
+        return keySet_ == null ? com.google.spanner.v1.KeySet.getDefaultInstance() : keySet_;
       }
     }
     /**
+     *
+     *
      * 
      * Required. `key_set` identifies the rows to be yielded. `key_set` names the
      * primary keys of the rows in [table][google.spanner.v1.PartitionReadRequest.table] to be yielded, unless [index][google.spanner.v1.PartitionReadRequest.index]
@@ -1698,14 +1907,17 @@ public com.google.spanner.v1.KeySetOrBuilder getKeySetOrBuilder() {
      * .google.spanner.v1.KeySet key_set = 6 [(.google.api.field_behavior) = REQUIRED];
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.spanner.v1.KeySet, com.google.spanner.v1.KeySet.Builder, com.google.spanner.v1.KeySetOrBuilder> 
+            com.google.spanner.v1.KeySet,
+            com.google.spanner.v1.KeySet.Builder,
+            com.google.spanner.v1.KeySetOrBuilder>
         getKeySetFieldBuilder() {
       if (keySetBuilder_ == null) {
-        keySetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.KeySet, com.google.spanner.v1.KeySet.Builder, com.google.spanner.v1.KeySetOrBuilder>(
-                getKeySet(),
-                getParentForChildren(),
-                isClean());
+        keySetBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.spanner.v1.KeySet,
+                com.google.spanner.v1.KeySet.Builder,
+                com.google.spanner.v1.KeySetOrBuilder>(
+                getKeySet(), getParentForChildren(), isClean());
         keySet_ = null;
       }
       return keySetBuilder_;
@@ -1713,34 +1925,47 @@ public com.google.spanner.v1.KeySetOrBuilder getKeySetOrBuilder() {
 
     private com.google.spanner.v1.PartitionOptions partitionOptions_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.spanner.v1.PartitionOptions, com.google.spanner.v1.PartitionOptions.Builder, com.google.spanner.v1.PartitionOptionsOrBuilder> partitionOptionsBuilder_;
+            com.google.spanner.v1.PartitionOptions,
+            com.google.spanner.v1.PartitionOptions.Builder,
+            com.google.spanner.v1.PartitionOptionsOrBuilder>
+        partitionOptionsBuilder_;
     /**
+     *
+     *
      * 
      * Additional options that affect how many partitions are created.
      * 
* * .google.spanner.v1.PartitionOptions partition_options = 9; + * * @return Whether the partitionOptions field is set. */ public boolean hasPartitionOptions() { return ((bitField0_ & 0x00000040) != 0); } /** + * + * *
      * Additional options that affect how many partitions are created.
      * 
* * .google.spanner.v1.PartitionOptions partition_options = 9; + * * @return The partitionOptions. */ public com.google.spanner.v1.PartitionOptions getPartitionOptions() { if (partitionOptionsBuilder_ == null) { - return partitionOptions_ == null ? com.google.spanner.v1.PartitionOptions.getDefaultInstance() : partitionOptions_; + return partitionOptions_ == null + ? com.google.spanner.v1.PartitionOptions.getDefaultInstance() + : partitionOptions_; } else { return partitionOptionsBuilder_.getMessage(); } } /** + * + * *
      * Additional options that affect how many partitions are created.
      * 
@@ -1761,6 +1986,8 @@ public Builder setPartitionOptions(com.google.spanner.v1.PartitionOptions value) return this; } /** + * + * *
      * Additional options that affect how many partitions are created.
      * 
@@ -1779,6 +2006,8 @@ public Builder setPartitionOptions( return this; } /** + * + * *
      * Additional options that affect how many partitions are created.
      * 
@@ -1787,9 +2016,9 @@ public Builder setPartitionOptions( */ public Builder mergePartitionOptions(com.google.spanner.v1.PartitionOptions value) { if (partitionOptionsBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) && - partitionOptions_ != null && - partitionOptions_ != com.google.spanner.v1.PartitionOptions.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) + && partitionOptions_ != null + && partitionOptions_ != com.google.spanner.v1.PartitionOptions.getDefaultInstance()) { getPartitionOptionsBuilder().mergeFrom(value); } else { partitionOptions_ = value; @@ -1802,6 +2031,8 @@ public Builder mergePartitionOptions(com.google.spanner.v1.PartitionOptions valu return this; } /** + * + * *
      * Additional options that affect how many partitions are created.
      * 
@@ -1819,6 +2050,8 @@ public Builder clearPartitionOptions() { return this; } /** + * + * *
      * Additional options that affect how many partitions are created.
      * 
@@ -1831,6 +2064,8 @@ public com.google.spanner.v1.PartitionOptions.Builder getPartitionOptionsBuilder return getPartitionOptionsFieldBuilder().getBuilder(); } /** + * + * *
      * Additional options that affect how many partitions are created.
      * 
@@ -1841,11 +2076,14 @@ public com.google.spanner.v1.PartitionOptionsOrBuilder getPartitionOptionsOrBuil if (partitionOptionsBuilder_ != null) { return partitionOptionsBuilder_.getMessageOrBuilder(); } else { - return partitionOptions_ == null ? - com.google.spanner.v1.PartitionOptions.getDefaultInstance() : partitionOptions_; + return partitionOptions_ == null + ? com.google.spanner.v1.PartitionOptions.getDefaultInstance() + : partitionOptions_; } } /** + * + * *
      * Additional options that affect how many partitions are created.
      * 
@@ -1853,21 +2091,24 @@ public com.google.spanner.v1.PartitionOptionsOrBuilder getPartitionOptionsOrBuil * .google.spanner.v1.PartitionOptions partition_options = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.PartitionOptions, com.google.spanner.v1.PartitionOptions.Builder, com.google.spanner.v1.PartitionOptionsOrBuilder> + com.google.spanner.v1.PartitionOptions, + com.google.spanner.v1.PartitionOptions.Builder, + com.google.spanner.v1.PartitionOptionsOrBuilder> getPartitionOptionsFieldBuilder() { if (partitionOptionsBuilder_ == null) { - partitionOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.PartitionOptions, com.google.spanner.v1.PartitionOptions.Builder, com.google.spanner.v1.PartitionOptionsOrBuilder>( - getPartitionOptions(), - getParentForChildren(), - isClean()); + partitionOptionsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.v1.PartitionOptions, + com.google.spanner.v1.PartitionOptions.Builder, + com.google.spanner.v1.PartitionOptionsOrBuilder>( + getPartitionOptions(), getParentForChildren(), isClean()); partitionOptions_ = null; } return partitionOptionsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1877,12 +2118,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.v1.PartitionReadRequest) } // @@protoc_insertion_point(class_scope:google.spanner.v1.PartitionReadRequest) private static final com.google.spanner.v1.PartitionReadRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.v1.PartitionReadRequest(); } @@ -1891,27 +2132,27 @@ public static com.google.spanner.v1.PartitionReadRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PartitionReadRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PartitionReadRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1926,6 +2167,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.PartitionReadRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionReadRequestOrBuilder.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionReadRequestOrBuilder.java similarity index 83% rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionReadRequestOrBuilder.java rename to proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionReadRequestOrBuilder.java index dc3bb3d0b8f..3b178f71836 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionReadRequestOrBuilder.java +++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionReadRequestOrBuilder.java @@ -1,53 +1,86 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/spanner.proto package com.google.spanner.v1; -public interface PartitionReadRequestOrBuilder extends +public interface PartitionReadRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.PartitionReadRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The session used to create the partitions.
    * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The session. */ java.lang.String getSession(); /** + * + * *
    * Required. The session used to create the partitions.
    * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for session. */ - com.google.protobuf.ByteString - getSessionBytes(); + com.google.protobuf.ByteString getSessionBytes(); /** + * + * *
    * Read only snapshot transactions are supported, read/write and single use
    * transactions are not.
    * 
* * .google.spanner.v1.TransactionSelector transaction = 2; + * * @return Whether the transaction field is set. */ boolean hasTransaction(); /** + * + * *
    * Read only snapshot transactions are supported, read/write and single use
    * transactions are not.
    * 
* * .google.spanner.v1.TransactionSelector transaction = 2; + * * @return The transaction. */ com.google.spanner.v1.TransactionSelector getTransaction(); /** + * + * *
    * Read only snapshot transactions are supported, read/write and single use
    * transactions are not.
@@ -58,26 +91,33 @@ public interface PartitionReadRequestOrBuilder extends
   com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilder();
 
   /**
+   *
+   *
    * 
    * Required. The name of the table in the database to be read.
    * 
* * string table = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The table. */ java.lang.String getTable(); /** + * + * *
    * Required. The name of the table in the database to be read.
    * 
* * string table = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for table. */ - com.google.protobuf.ByteString - getTableBytes(); + com.google.protobuf.ByteString getTableBytes(); /** + * + * *
    * If non-empty, the name of an index on [table][google.spanner.v1.PartitionReadRequest.table]. This index is
    * used instead of the table primary key when interpreting [key_set][google.spanner.v1.PartitionReadRequest.key_set]
@@ -85,10 +125,13 @@ public interface PartitionReadRequestOrBuilder extends
    * 
* * string index = 4; + * * @return The index. */ java.lang.String getIndex(); /** + * + * *
    * If non-empty, the name of an index on [table][google.spanner.v1.PartitionReadRequest.table]. This index is
    * used instead of the table primary key when interpreting [key_set][google.spanner.v1.PartitionReadRequest.key_set]
@@ -96,57 +139,69 @@ public interface PartitionReadRequestOrBuilder extends
    * 
* * string index = 4; + * * @return The bytes for index. */ - com.google.protobuf.ByteString - getIndexBytes(); + com.google.protobuf.ByteString getIndexBytes(); /** + * + * *
    * The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be returned for each row matching
    * this request.
    * 
* * repeated string columns = 5; + * * @return A list containing the columns. */ - java.util.List - getColumnsList(); + java.util.List getColumnsList(); /** + * + * *
    * The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be returned for each row matching
    * this request.
    * 
* * repeated string columns = 5; + * * @return The count of columns. */ int getColumnsCount(); /** + * + * *
    * The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be returned for each row matching
    * this request.
    * 
* * repeated string columns = 5; + * * @param index The index of the element to return. * @return The columns at the given index. */ java.lang.String getColumns(int index); /** + * + * *
    * The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be returned for each row matching
    * this request.
    * 
* * repeated string columns = 5; + * * @param index The index of the value to return. * @return The bytes of the columns at the given index. */ - com.google.protobuf.ByteString - getColumnsBytes(int index); + com.google.protobuf.ByteString getColumnsBytes(int index); /** + * + * *
    * Required. `key_set` identifies the rows to be yielded. `key_set` names the
    * primary keys of the rows in [table][google.spanner.v1.PartitionReadRequest.table] to be yielded, unless [index][google.spanner.v1.PartitionReadRequest.index]
@@ -157,10 +212,13 @@ public interface PartitionReadRequestOrBuilder extends
    * 
* * .google.spanner.v1.KeySet key_set = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the keySet field is set. */ boolean hasKeySet(); /** + * + * *
    * Required. `key_set` identifies the rows to be yielded. `key_set` names the
    * primary keys of the rows in [table][google.spanner.v1.PartitionReadRequest.table] to be yielded, unless [index][google.spanner.v1.PartitionReadRequest.index]
@@ -171,10 +229,13 @@ public interface PartitionReadRequestOrBuilder extends
    * 
* * .google.spanner.v1.KeySet key_set = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return The keySet. */ com.google.spanner.v1.KeySet getKeySet(); /** + * + * *
    * Required. `key_set` identifies the rows to be yielded. `key_set` names the
    * primary keys of the rows in [table][google.spanner.v1.PartitionReadRequest.table] to be yielded, unless [index][google.spanner.v1.PartitionReadRequest.index]
@@ -189,24 +250,32 @@ public interface PartitionReadRequestOrBuilder extends
   com.google.spanner.v1.KeySetOrBuilder getKeySetOrBuilder();
 
   /**
+   *
+   *
    * 
    * Additional options that affect how many partitions are created.
    * 
* * .google.spanner.v1.PartitionOptions partition_options = 9; + * * @return Whether the partitionOptions field is set. */ boolean hasPartitionOptions(); /** + * + * *
    * Additional options that affect how many partitions are created.
    * 
* * .google.spanner.v1.PartitionOptions partition_options = 9; + * * @return The partitionOptions. */ com.google.spanner.v1.PartitionOptions getPartitionOptions(); /** + * + * *
    * Additional options that affect how many partitions are created.
    * 
diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionResponse.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionResponse.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionResponse.java rename to proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionResponse.java index 058e144d3a4..5216448c858 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionResponse.java +++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionResponse.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/spanner.proto package com.google.spanner.v1; /** + * + * *
  * The response for [PartitionQuery][google.spanner.v1.Spanner.PartitionQuery]
  * or [PartitionRead][google.spanner.v1.Spanner.PartitionRead]
@@ -11,48 +28,53 @@
  *
  * Protobuf type {@code google.spanner.v1.PartitionResponse}
  */
-public final class PartitionResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class PartitionResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.spanner.v1.PartitionResponse)
     PartitionResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use PartitionResponse.newBuilder() to construct.
   private PartitionResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private PartitionResponse() {
     partitions_ = 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 PartitionResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_PartitionResponse_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.spanner.v1.SpannerProto
+        .internal_static_google_spanner_v1_PartitionResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_PartitionResponse_fieldAccessorTable
+    return com.google.spanner.v1.SpannerProto
+        .internal_static_google_spanner_v1_PartitionResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.v1.PartitionResponse.class, com.google.spanner.v1.PartitionResponse.Builder.class);
+            com.google.spanner.v1.PartitionResponse.class,
+            com.google.spanner.v1.PartitionResponse.Builder.class);
   }
 
   public static final int PARTITIONS_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private java.util.List partitions_;
   /**
+   *
+   *
    * 
    * Partitions created by this request.
    * 
@@ -64,6 +86,8 @@ public java.util.List getPartitionsList() { return partitions_; } /** + * + * *
    * Partitions created by this request.
    * 
@@ -71,11 +95,13 @@ public java.util.List getPartitionsList() { * repeated .google.spanner.v1.Partition partitions = 1; */ @java.lang.Override - public java.util.List + public java.util.List getPartitionsOrBuilderList() { return partitions_; } /** + * + * *
    * Partitions created by this request.
    * 
@@ -87,6 +113,8 @@ public int getPartitionsCount() { return partitions_.size(); } /** + * + * *
    * Partitions created by this request.
    * 
@@ -98,6 +126,8 @@ public com.google.spanner.v1.Partition getPartitions(int index) { return partitions_.get(index); } /** + * + * *
    * Partitions created by this request.
    * 
@@ -105,19 +135,21 @@ public com.google.spanner.v1.Partition getPartitions(int index) { * repeated .google.spanner.v1.Partition partitions = 1; */ @java.lang.Override - public com.google.spanner.v1.PartitionOrBuilder getPartitionsOrBuilder( - int index) { + public com.google.spanner.v1.PartitionOrBuilder getPartitionsOrBuilder(int index) { return partitions_.get(index); } public static final int TRANSACTION_FIELD_NUMBER = 2; private com.google.spanner.v1.Transaction transaction_; /** + * + * *
    * Transaction created by this request.
    * 
* * .google.spanner.v1.Transaction transaction = 2; + * * @return Whether the transaction field is set. */ @java.lang.Override @@ -125,18 +157,25 @@ public boolean hasTransaction() { return transaction_ != null; } /** + * + * *
    * Transaction created by this request.
    * 
* * .google.spanner.v1.Transaction transaction = 2; + * * @return The transaction. */ @java.lang.Override public com.google.spanner.v1.Transaction getTransaction() { - return transaction_ == null ? com.google.spanner.v1.Transaction.getDefaultInstance() : transaction_; + return transaction_ == null + ? com.google.spanner.v1.Transaction.getDefaultInstance() + : transaction_; } /** + * + * *
    * Transaction created by this request.
    * 
@@ -145,10 +184,13 @@ public com.google.spanner.v1.Transaction getTransaction() { */ @java.lang.Override public com.google.spanner.v1.TransactionOrBuilder getTransactionOrBuilder() { - return transaction_ == null ? com.google.spanner.v1.Transaction.getDefaultInstance() : transaction_; + return transaction_ == null + ? com.google.spanner.v1.Transaction.getDefaultInstance() + : transaction_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -160,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 < partitions_.size(); i++) { output.writeMessage(1, partitions_.get(i)); } @@ -178,12 +219,10 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < partitions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, partitions_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, partitions_.get(i)); } if (transaction_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getTransaction()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTransaction()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -193,19 +232,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.spanner.v1.PartitionResponse)) { return super.equals(obj); } com.google.spanner.v1.PartitionResponse other = (com.google.spanner.v1.PartitionResponse) obj; - if (!getPartitionsList() - .equals(other.getPartitionsList())) return false; + if (!getPartitionsList().equals(other.getPartitionsList())) return false; if (hasTransaction() != other.hasTransaction()) return false; if (hasTransaction()) { - if (!getTransaction() - .equals(other.getTransaction())) return false; + if (!getTransaction().equals(other.getTransaction())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -231,97 +268,104 @@ public int hashCode() { return hash; } - public static com.google.spanner.v1.PartitionResponse parseFrom( - java.nio.ByteBuffer data) + public static com.google.spanner.v1.PartitionResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.PartitionResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.v1.PartitionResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.PartitionResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.v1.PartitionResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.PartitionResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.v1.PartitionResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.v1.PartitionResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.PartitionResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.spanner.v1.PartitionResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.spanner.v1.PartitionResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.spanner.v1.PartitionResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.v1.PartitionResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.spanner.v1.PartitionResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [PartitionQuery][google.spanner.v1.Spanner.PartitionQuery]
    * or [PartitionRead][google.spanner.v1.Spanner.PartitionRead]
@@ -329,33 +373,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.spanner.v1.PartitionResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.spanner.v1.PartitionResponse)
       com.google.spanner.v1.PartitionResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_PartitionResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.spanner.v1.SpannerProto
+          .internal_static_google_spanner_v1_PartitionResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_PartitionResponse_fieldAccessorTable
+      return com.google.spanner.v1.SpannerProto
+          .internal_static_google_spanner_v1_PartitionResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.v1.PartitionResponse.class, com.google.spanner.v1.PartitionResponse.Builder.class);
+              com.google.spanner.v1.PartitionResponse.class,
+              com.google.spanner.v1.PartitionResponse.Builder.class);
     }
 
     // Construct using com.google.spanner.v1.PartitionResponse.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -376,9 +419,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_PartitionResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.spanner.v1.SpannerProto
+          .internal_static_google_spanner_v1_PartitionResponse_descriptor;
     }
 
     @java.lang.Override
@@ -397,9 +440,12 @@ public com.google.spanner.v1.PartitionResponse build() {
 
     @java.lang.Override
     public com.google.spanner.v1.PartitionResponse buildPartial() {
-      com.google.spanner.v1.PartitionResponse result = new com.google.spanner.v1.PartitionResponse(this);
+      com.google.spanner.v1.PartitionResponse result =
+          new com.google.spanner.v1.PartitionResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -419,9 +465,8 @@ private void buildPartialRepeatedFields(com.google.spanner.v1.PartitionResponse
     private void buildPartial0(com.google.spanner.v1.PartitionResponse result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.transaction_ = transactionBuilder_ == null
-            ? transaction_
-            : transactionBuilder_.build();
+        result.transaction_ =
+            transactionBuilder_ == null ? transaction_ : transactionBuilder_.build();
       }
     }
 
@@ -429,38 +474,39 @@ private void buildPartial0(com.google.spanner.v1.PartitionResponse 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.spanner.v1.PartitionResponse) {
-        return mergeFrom((com.google.spanner.v1.PartitionResponse)other);
+        return mergeFrom((com.google.spanner.v1.PartitionResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -487,9 +533,10 @@ public Builder mergeFrom(com.google.spanner.v1.PartitionResponse other) {
             partitionsBuilder_ = null;
             partitions_ = other.partitions_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            partitionsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getPartitionsFieldBuilder() : null;
+            partitionsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getPartitionsFieldBuilder()
+                    : null;
           } else {
             partitionsBuilder_.addAllMessages(other.partitions_);
           }
@@ -524,32 +571,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.spanner.v1.Partition m =
-                  input.readMessage(
-                      com.google.spanner.v1.Partition.parser(),
-                      extensionRegistry);
-              if (partitionsBuilder_ == null) {
-                ensurePartitionsIsMutable();
-                partitions_.add(m);
-              } else {
-                partitionsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getTransactionFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                com.google.spanner.v1.Partition m =
+                    input.readMessage(com.google.spanner.v1.Partition.parser(), extensionRegistry);
+                if (partitionsBuilder_ == null) {
+                  ensurePartitionsIsMutable();
+                  partitions_.add(m);
+                } else {
+                  partitionsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getTransactionFieldBuilder().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) {
@@ -559,21 +605,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.util.List partitions_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensurePartitionsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         partitions_ = new java.util.ArrayList(partitions_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.spanner.v1.Partition, com.google.spanner.v1.Partition.Builder, com.google.spanner.v1.PartitionOrBuilder> partitionsBuilder_;
+            com.google.spanner.v1.Partition,
+            com.google.spanner.v1.Partition.Builder,
+            com.google.spanner.v1.PartitionOrBuilder>
+        partitionsBuilder_;
 
     /**
+     *
+     *
      * 
      * Partitions created by this request.
      * 
@@ -588,6 +641,8 @@ public java.util.List getPartitionsList() { } } /** + * + * *
      * Partitions created by this request.
      * 
@@ -602,6 +657,8 @@ public int getPartitionsCount() { } } /** + * + * *
      * Partitions created by this request.
      * 
@@ -616,14 +673,15 @@ public com.google.spanner.v1.Partition getPartitions(int index) { } } /** + * + * *
      * Partitions created by this request.
      * 
* * repeated .google.spanner.v1.Partition partitions = 1; */ - public Builder setPartitions( - int index, com.google.spanner.v1.Partition value) { + public Builder setPartitions(int index, com.google.spanner.v1.Partition value) { if (partitionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -637,6 +695,8 @@ public Builder setPartitions( return this; } /** + * + * *
      * Partitions created by this request.
      * 
@@ -655,6 +715,8 @@ public Builder setPartitions( return this; } /** + * + * *
      * Partitions created by this request.
      * 
@@ -675,14 +737,15 @@ public Builder addPartitions(com.google.spanner.v1.Partition value) { return this; } /** + * + * *
      * Partitions created by this request.
      * 
* * repeated .google.spanner.v1.Partition partitions = 1; */ - public Builder addPartitions( - int index, com.google.spanner.v1.Partition value) { + public Builder addPartitions(int index, com.google.spanner.v1.Partition value) { if (partitionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -696,14 +759,15 @@ public Builder addPartitions( return this; } /** + * + * *
      * Partitions created by this request.
      * 
* * repeated .google.spanner.v1.Partition partitions = 1; */ - public Builder addPartitions( - com.google.spanner.v1.Partition.Builder builderForValue) { + public Builder addPartitions(com.google.spanner.v1.Partition.Builder builderForValue) { if (partitionsBuilder_ == null) { ensurePartitionsIsMutable(); partitions_.add(builderForValue.build()); @@ -714,6 +778,8 @@ public Builder addPartitions( return this; } /** + * + * *
      * Partitions created by this request.
      * 
@@ -732,6 +798,8 @@ public Builder addPartitions( return this; } /** + * + * *
      * Partitions created by this request.
      * 
@@ -742,8 +810,7 @@ public Builder addAllPartitions( java.lang.Iterable values) { if (partitionsBuilder_ == null) { ensurePartitionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, partitions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, partitions_); onChanged(); } else { partitionsBuilder_.addAllMessages(values); @@ -751,6 +818,8 @@ public Builder addAllPartitions( return this; } /** + * + * *
      * Partitions created by this request.
      * 
@@ -768,6 +837,8 @@ public Builder clearPartitions() { return this; } /** + * + * *
      * Partitions created by this request.
      * 
@@ -785,39 +856,44 @@ public Builder removePartitions(int index) { return this; } /** + * + * *
      * Partitions created by this request.
      * 
* * repeated .google.spanner.v1.Partition partitions = 1; */ - public com.google.spanner.v1.Partition.Builder getPartitionsBuilder( - int index) { + public com.google.spanner.v1.Partition.Builder getPartitionsBuilder(int index) { return getPartitionsFieldBuilder().getBuilder(index); } /** + * + * *
      * Partitions created by this request.
      * 
* * repeated .google.spanner.v1.Partition partitions = 1; */ - public com.google.spanner.v1.PartitionOrBuilder getPartitionsOrBuilder( - int index) { + public com.google.spanner.v1.PartitionOrBuilder getPartitionsOrBuilder(int index) { if (partitionsBuilder_ == null) { - return partitions_.get(index); } else { + return partitions_.get(index); + } else { return partitionsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Partitions created by this request.
      * 
* * repeated .google.spanner.v1.Partition partitions = 1; */ - public java.util.List - getPartitionsOrBuilderList() { + public java.util.List + getPartitionsOrBuilderList() { if (partitionsBuilder_ != null) { return partitionsBuilder_.getMessageOrBuilderList(); } else { @@ -825,6 +901,8 @@ public com.google.spanner.v1.PartitionOrBuilder getPartitionsOrBuilder( } } /** + * + * *
      * Partitions created by this request.
      * 
@@ -832,42 +910,47 @@ public com.google.spanner.v1.PartitionOrBuilder getPartitionsOrBuilder( * repeated .google.spanner.v1.Partition partitions = 1; */ public com.google.spanner.v1.Partition.Builder addPartitionsBuilder() { - return getPartitionsFieldBuilder().addBuilder( - com.google.spanner.v1.Partition.getDefaultInstance()); + return getPartitionsFieldBuilder() + .addBuilder(com.google.spanner.v1.Partition.getDefaultInstance()); } /** + * + * *
      * Partitions created by this request.
      * 
* * repeated .google.spanner.v1.Partition partitions = 1; */ - public com.google.spanner.v1.Partition.Builder addPartitionsBuilder( - int index) { - return getPartitionsFieldBuilder().addBuilder( - index, com.google.spanner.v1.Partition.getDefaultInstance()); + public com.google.spanner.v1.Partition.Builder addPartitionsBuilder(int index) { + return getPartitionsFieldBuilder() + .addBuilder(index, com.google.spanner.v1.Partition.getDefaultInstance()); } /** + * + * *
      * Partitions created by this request.
      * 
* * repeated .google.spanner.v1.Partition partitions = 1; */ - public java.util.List - getPartitionsBuilderList() { + public java.util.List getPartitionsBuilderList() { return getPartitionsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.v1.Partition, com.google.spanner.v1.Partition.Builder, com.google.spanner.v1.PartitionOrBuilder> + com.google.spanner.v1.Partition, + com.google.spanner.v1.Partition.Builder, + com.google.spanner.v1.PartitionOrBuilder> getPartitionsFieldBuilder() { if (partitionsBuilder_ == null) { - partitionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.v1.Partition, com.google.spanner.v1.Partition.Builder, com.google.spanner.v1.PartitionOrBuilder>( - partitions_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + partitionsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.spanner.v1.Partition, + com.google.spanner.v1.Partition.Builder, + com.google.spanner.v1.PartitionOrBuilder>( + partitions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); partitions_ = null; } return partitionsBuilder_; @@ -875,34 +958,47 @@ public com.google.spanner.v1.Partition.Builder addPartitionsBuilder( private com.google.spanner.v1.Transaction transaction_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.Transaction, com.google.spanner.v1.Transaction.Builder, com.google.spanner.v1.TransactionOrBuilder> transactionBuilder_; + com.google.spanner.v1.Transaction, + com.google.spanner.v1.Transaction.Builder, + com.google.spanner.v1.TransactionOrBuilder> + transactionBuilder_; /** + * + * *
      * Transaction created by this request.
      * 
* * .google.spanner.v1.Transaction transaction = 2; + * * @return Whether the transaction field is set. */ public boolean hasTransaction() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Transaction created by this request.
      * 
* * .google.spanner.v1.Transaction transaction = 2; + * * @return The transaction. */ public com.google.spanner.v1.Transaction getTransaction() { if (transactionBuilder_ == null) { - return transaction_ == null ? com.google.spanner.v1.Transaction.getDefaultInstance() : transaction_; + return transaction_ == null + ? com.google.spanner.v1.Transaction.getDefaultInstance() + : transaction_; } else { return transactionBuilder_.getMessage(); } } /** + * + * *
      * Transaction created by this request.
      * 
@@ -923,14 +1019,15 @@ public Builder setTransaction(com.google.spanner.v1.Transaction value) { return this; } /** + * + * *
      * Transaction created by this request.
      * 
* * .google.spanner.v1.Transaction transaction = 2; */ - public Builder setTransaction( - com.google.spanner.v1.Transaction.Builder builderForValue) { + public Builder setTransaction(com.google.spanner.v1.Transaction.Builder builderForValue) { if (transactionBuilder_ == null) { transaction_ = builderForValue.build(); } else { @@ -941,6 +1038,8 @@ public Builder setTransaction( return this; } /** + * + * *
      * Transaction created by this request.
      * 
@@ -949,9 +1048,9 @@ public Builder setTransaction( */ public Builder mergeTransaction(com.google.spanner.v1.Transaction value) { if (transactionBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - transaction_ != null && - transaction_ != com.google.spanner.v1.Transaction.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && transaction_ != null + && transaction_ != com.google.spanner.v1.Transaction.getDefaultInstance()) { getTransactionBuilder().mergeFrom(value); } else { transaction_ = value; @@ -964,6 +1063,8 @@ public Builder mergeTransaction(com.google.spanner.v1.Transaction value) { return this; } /** + * + * *
      * Transaction created by this request.
      * 
@@ -981,6 +1082,8 @@ public Builder clearTransaction() { return this; } /** + * + * *
      * Transaction created by this request.
      * 
@@ -993,6 +1096,8 @@ public com.google.spanner.v1.Transaction.Builder getTransactionBuilder() { return getTransactionFieldBuilder().getBuilder(); } /** + * + * *
      * Transaction created by this request.
      * 
@@ -1003,11 +1108,14 @@ public com.google.spanner.v1.TransactionOrBuilder getTransactionOrBuilder() { if (transactionBuilder_ != null) { return transactionBuilder_.getMessageOrBuilder(); } else { - return transaction_ == null ? - com.google.spanner.v1.Transaction.getDefaultInstance() : transaction_; + return transaction_ == null + ? com.google.spanner.v1.Transaction.getDefaultInstance() + : transaction_; } } /** + * + * *
      * Transaction created by this request.
      * 
@@ -1015,21 +1123,24 @@ public com.google.spanner.v1.TransactionOrBuilder getTransactionOrBuilder() { * .google.spanner.v1.Transaction transaction = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.Transaction, com.google.spanner.v1.Transaction.Builder, com.google.spanner.v1.TransactionOrBuilder> + com.google.spanner.v1.Transaction, + com.google.spanner.v1.Transaction.Builder, + com.google.spanner.v1.TransactionOrBuilder> getTransactionFieldBuilder() { if (transactionBuilder_ == null) { - transactionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.Transaction, com.google.spanner.v1.Transaction.Builder, com.google.spanner.v1.TransactionOrBuilder>( - getTransaction(), - getParentForChildren(), - isClean()); + transactionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.v1.Transaction, + com.google.spanner.v1.Transaction.Builder, + com.google.spanner.v1.TransactionOrBuilder>( + getTransaction(), getParentForChildren(), isClean()); transaction_ = null; } return transactionBuilder_; } + @java.lang.Override - 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 +1150,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.v1.PartitionResponse) } // @@protoc_insertion_point(class_scope:google.spanner.v1.PartitionResponse) private static final com.google.spanner.v1.PartitionResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.v1.PartitionResponse(); } @@ -1053,27 +1164,27 @@ public static com.google.spanner.v1.PartitionResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PartitionResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PartitionResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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 +1199,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.PartitionResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionResponseOrBuilder.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionResponseOrBuilder.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionResponseOrBuilder.java rename to proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionResponseOrBuilder.java index 3ab60d3a4b3..0015b84f03f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionResponseOrBuilder.java +++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/spanner.proto package com.google.spanner.v1; -public interface PartitionResponseOrBuilder extends +public interface PartitionResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.PartitionResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Partitions created by this request.
    * 
* * repeated .google.spanner.v1.Partition partitions = 1; */ - java.util.List - getPartitionsList(); + java.util.List getPartitionsList(); /** + * + * *
    * Partitions created by this request.
    * 
@@ -25,6 +44,8 @@ public interface PartitionResponseOrBuilder extends */ com.google.spanner.v1.Partition getPartitions(int index); /** + * + * *
    * Partitions created by this request.
    * 
@@ -33,43 +54,53 @@ public interface PartitionResponseOrBuilder extends */ int getPartitionsCount(); /** + * + * *
    * Partitions created by this request.
    * 
* * repeated .google.spanner.v1.Partition partitions = 1; */ - java.util.List - getPartitionsOrBuilderList(); + java.util.List getPartitionsOrBuilderList(); /** + * + * *
    * Partitions created by this request.
    * 
* * repeated .google.spanner.v1.Partition partitions = 1; */ - com.google.spanner.v1.PartitionOrBuilder getPartitionsOrBuilder( - int index); + com.google.spanner.v1.PartitionOrBuilder getPartitionsOrBuilder(int index); /** + * + * *
    * Transaction created by this request.
    * 
* * .google.spanner.v1.Transaction transaction = 2; + * * @return Whether the transaction field is set. */ boolean hasTransaction(); /** + * + * *
    * Transaction created by this request.
    * 
* * .google.spanner.v1.Transaction transaction = 2; + * * @return The transaction. */ com.google.spanner.v1.Transaction getTransaction(); /** + * + * *
    * Transaction created by this request.
    * 
diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PlanNode.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PlanNode.java similarity index 75% rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PlanNode.java rename to proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PlanNode.java index ea9c4c2f67f..21fc82e6924 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PlanNode.java +++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PlanNode.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/query_plan.proto package com.google.spanner.v1; /** + * + * *
  * Node information for nodes appearing in a [QueryPlan.plan_nodes][google.spanner.v1.QueryPlan.plan_nodes].
  * 
* * Protobuf type {@code google.spanner.v1.PlanNode} */ -public final class PlanNode extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PlanNode extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.spanner.v1.PlanNode) PlanNodeOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PlanNode.newBuilder() to construct. private PlanNode(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PlanNode() { kind_ = 0; displayName_ = ""; @@ -27,30 +45,32 @@ private PlanNode() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PlanNode(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.v1.QueryPlanProto.internal_static_google_spanner_v1_PlanNode_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.v1.QueryPlanProto + .internal_static_google_spanner_v1_PlanNode_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.QueryPlanProto.internal_static_google_spanner_v1_PlanNode_fieldAccessorTable + return com.google.spanner.v1.QueryPlanProto + .internal_static_google_spanner_v1_PlanNode_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.spanner.v1.PlanNode.class, com.google.spanner.v1.PlanNode.Builder.class); } /** + * + * *
    * The kind of [PlanNode][google.spanner.v1.PlanNode]. Distinguishes between the two different kinds of
    * nodes that can appear in a query plan.
@@ -58,9 +78,10 @@ protected java.lang.Object newInstance(
    *
    * Protobuf enum {@code google.spanner.v1.PlanNode.Kind}
    */
-  public enum Kind
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum Kind implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Not specified.
      * 
@@ -69,6 +90,8 @@ public enum Kind */ KIND_UNSPECIFIED(0), /** + * + * *
      * Denotes a Relational operator node in the expression tree. Relational
      * operators represent iterative processing of rows during query execution.
@@ -79,6 +102,8 @@ public enum Kind
      */
     RELATIONAL(1),
     /**
+     *
+     *
      * 
      * Denotes a Scalar node in the expression tree. Scalar nodes represent
      * non-iterable entities in the query plan. For example, constants or
@@ -93,6 +118,8 @@ public enum Kind
     ;
 
     /**
+     *
+     *
      * 
      * Not specified.
      * 
@@ -101,6 +128,8 @@ public enum Kind */ public static final int KIND_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Denotes a Relational operator node in the expression tree. Relational
      * operators represent iterative processing of rows during query execution.
@@ -111,6 +140,8 @@ public enum Kind
      */
     public static final int RELATIONAL_VALUE = 1;
     /**
+     *
+     *
      * 
      * Denotes a Scalar node in the expression tree. Scalar nodes represent
      * non-iterable entities in the query plan. For example, constants or
@@ -122,7 +153,6 @@ public enum Kind
      */
     public static final int SCALAR_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -147,49 +177,49 @@ public static Kind valueOf(int value) {
      */
     public static Kind forNumber(int value) {
       switch (value) {
-        case 0: return KIND_UNSPECIFIED;
-        case 1: return RELATIONAL;
-        case 2: return SCALAR;
-        default: return null;
+        case 0:
+          return KIND_UNSPECIFIED;
+        case 1:
+          return RELATIONAL;
+        case 2:
+          return SCALAR;
+        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<
-        Kind> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public Kind findValueByNumber(int number) {
-              return Kind.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 Kind findValueByNumber(int number) {
+            return Kind.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.spanner.v1.PlanNode.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final Kind[] VALUES = values();
 
-    public static Kind valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Kind 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;
@@ -206,21 +236,27 @@ private Kind(int value) {
     // @@protoc_insertion_point(enum_scope:google.spanner.v1.PlanNode.Kind)
   }
 
-  public interface ChildLinkOrBuilder extends
+  public interface ChildLinkOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.spanner.v1.PlanNode.ChildLink)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * The node to which the link points.
      * 
* * int32 child_index = 1; + * * @return The childIndex. */ int getChildIndex(); /** + * + * *
      * The type of the link. For example, in Hash Joins this could be used to
      * distinguish between the build child and the probe child, or in the case
@@ -229,10 +265,13 @@ public interface ChildLinkOrBuilder extends
      * 
* * string type = 2; + * * @return The type. */ java.lang.String getType(); /** + * + * *
      * The type of the link. For example, in Hash Joins this could be used to
      * distinguish between the build child and the probe child, or in the case
@@ -241,12 +280,14 @@ public interface ChildLinkOrBuilder extends
      * 
* * string type = 2; + * * @return The bytes for type. */ - com.google.protobuf.ByteString - getTypeBytes(); + com.google.protobuf.ByteString getTypeBytes(); /** + * + * *
      * Only present if the child node is [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] and corresponds
      * to an output variable of the parent node. The field carries the name of
@@ -259,10 +300,13 @@ public interface ChildLinkOrBuilder extends
      * 
* * string variable = 3; + * * @return The variable. */ java.lang.String getVariable(); /** + * + * *
      * Only present if the child node is [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] and corresponds
      * to an output variable of the parent node. The field carries the name of
@@ -275,12 +319,14 @@ public interface ChildLinkOrBuilder extends
      * 
* * string variable = 3; + * * @return The bytes for variable. */ - com.google.protobuf.ByteString - getVariableBytes(); + com.google.protobuf.ByteString getVariableBytes(); } /** + * + * *
    * Metadata associated with a parent-child relationship appearing in a
    * [PlanNode][google.spanner.v1.PlanNode].
@@ -288,15 +334,16 @@ public interface ChildLinkOrBuilder extends
    *
    * Protobuf type {@code google.spanner.v1.PlanNode.ChildLink}
    */
-  public static final class ChildLink extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class ChildLink extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.spanner.v1.PlanNode.ChildLink)
       ChildLinkOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use ChildLink.newBuilder() to construct.
     private ChildLink(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private ChildLink() {
       type_ = "";
       variable_ = "";
@@ -304,37 +351,41 @@ private ChildLink() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new ChildLink();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.spanner.v1.QueryPlanProto.internal_static_google_spanner_v1_PlanNode_ChildLink_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.spanner.v1.QueryPlanProto
+          .internal_static_google_spanner_v1_PlanNode_ChildLink_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.v1.QueryPlanProto.internal_static_google_spanner_v1_PlanNode_ChildLink_fieldAccessorTable
+      return com.google.spanner.v1.QueryPlanProto
+          .internal_static_google_spanner_v1_PlanNode_ChildLink_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.v1.PlanNode.ChildLink.class, com.google.spanner.v1.PlanNode.ChildLink.Builder.class);
+              com.google.spanner.v1.PlanNode.ChildLink.class,
+              com.google.spanner.v1.PlanNode.ChildLink.Builder.class);
     }
 
     public static final int CHILD_INDEX_FIELD_NUMBER = 1;
     private int childIndex_ = 0;
     /**
+     *
+     *
      * 
      * The node to which the link points.
      * 
* * int32 child_index = 1; + * * @return The childIndex. */ @java.lang.Override @@ -343,9 +394,12 @@ public int getChildIndex() { } public static final int TYPE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object type_ = ""; /** + * + * *
      * The type of the link. For example, in Hash Joins this could be used to
      * distinguish between the build child and the probe child, or in the case
@@ -354,6 +408,7 @@ public int getChildIndex() {
      * 
* * string type = 2; + * * @return The type. */ @java.lang.Override @@ -362,14 +417,15 @@ public java.lang.String getType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); type_ = s; return s; } } /** + * + * *
      * The type of the link. For example, in Hash Joins this could be used to
      * distinguish between the build child and the probe child, or in the case
@@ -378,16 +434,15 @@ public java.lang.String getType() {
      * 
* * string type = 2; + * * @return The bytes for type. */ @java.lang.Override - public com.google.protobuf.ByteString - getTypeBytes() { + public com.google.protobuf.ByteString getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); type_ = b; return b; } else { @@ -396,9 +451,12 @@ public java.lang.String getType() { } public static final int VARIABLE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object variable_ = ""; /** + * + * *
      * Only present if the child node is [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] and corresponds
      * to an output variable of the parent node. The field carries the name of
@@ -411,6 +469,7 @@ public java.lang.String getType() {
      * 
* * string variable = 3; + * * @return The variable. */ @java.lang.Override @@ -419,14 +478,15 @@ public java.lang.String getVariable() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); variable_ = s; return s; } } /** + * + * *
      * Only present if the child node is [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] and corresponds
      * to an output variable of the parent node. The field carries the name of
@@ -439,16 +499,15 @@ public java.lang.String getVariable() {
      * 
* * string variable = 3; + * * @return The bytes for variable. */ @java.lang.Override - public com.google.protobuf.ByteString - getVariableBytes() { + public com.google.protobuf.ByteString getVariableBytes() { java.lang.Object ref = variable_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); variable_ = b; return b; } else { @@ -457,6 +516,7 @@ public java.lang.String getVariable() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -468,8 +528,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 (childIndex_ != 0) { output.writeInt32(1, childIndex_); } @@ -489,8 +548,7 @@ public int getSerializedSize() { size = 0; if (childIndex_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, childIndex_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, childIndex_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, type_); @@ -506,19 +564,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.spanner.v1.PlanNode.ChildLink)) { return super.equals(obj); } - com.google.spanner.v1.PlanNode.ChildLink other = (com.google.spanner.v1.PlanNode.ChildLink) obj; + com.google.spanner.v1.PlanNode.ChildLink other = + (com.google.spanner.v1.PlanNode.ChildLink) obj; - if (getChildIndex() - != other.getChildIndex()) return false; - if (!getType() - .equals(other.getType())) return false; - if (!getVariable() - .equals(other.getVariable())) return false; + if (getChildIndex() != other.getChildIndex()) return false; + if (!getType().equals(other.getType())) return false; + if (!getVariable().equals(other.getVariable())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -541,88 +597,94 @@ public int hashCode() { return hash; } - public static com.google.spanner.v1.PlanNode.ChildLink parseFrom( - java.nio.ByteBuffer data) + public static com.google.spanner.v1.PlanNode.ChildLink parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.PlanNode.ChildLink parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.v1.PlanNode.ChildLink parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.PlanNode.ChildLink parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.v1.PlanNode.ChildLink parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.PlanNode.ChildLink parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.v1.PlanNode.ChildLink parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.v1.PlanNode.ChildLink parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.PlanNode.ChildLink parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.spanner.v1.PlanNode.ChildLink parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.spanner.v1.PlanNode.ChildLink parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.spanner.v1.PlanNode.ChildLink parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.v1.PlanNode.ChildLink parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.spanner.v1.PlanNode.ChildLink prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -632,6 +694,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Metadata associated with a parent-child relationship appearing in a
      * [PlanNode][google.spanner.v1.PlanNode].
@@ -639,33 +703,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.spanner.v1.PlanNode.ChildLink}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.spanner.v1.PlanNode.ChildLink)
         com.google.spanner.v1.PlanNode.ChildLinkOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.spanner.v1.QueryPlanProto.internal_static_google_spanner_v1_PlanNode_ChildLink_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.spanner.v1.QueryPlanProto
+            .internal_static_google_spanner_v1_PlanNode_ChildLink_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.spanner.v1.QueryPlanProto.internal_static_google_spanner_v1_PlanNode_ChildLink_fieldAccessorTable
+        return com.google.spanner.v1.QueryPlanProto
+            .internal_static_google_spanner_v1_PlanNode_ChildLink_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.spanner.v1.PlanNode.ChildLink.class, com.google.spanner.v1.PlanNode.ChildLink.Builder.class);
+                com.google.spanner.v1.PlanNode.ChildLink.class,
+                com.google.spanner.v1.PlanNode.ChildLink.Builder.class);
       }
 
       // Construct using com.google.spanner.v1.PlanNode.ChildLink.newBuilder()
-      private Builder() {
-
-      }
+      private Builder() {}
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -677,9 +741,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.spanner.v1.QueryPlanProto.internal_static_google_spanner_v1_PlanNode_ChildLink_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.spanner.v1.QueryPlanProto
+            .internal_static_google_spanner_v1_PlanNode_ChildLink_descriptor;
       }
 
       @java.lang.Override
@@ -698,8 +762,11 @@ public com.google.spanner.v1.PlanNode.ChildLink build() {
 
       @java.lang.Override
       public com.google.spanner.v1.PlanNode.ChildLink buildPartial() {
-        com.google.spanner.v1.PlanNode.ChildLink result = new com.google.spanner.v1.PlanNode.ChildLink(this);
-        if (bitField0_ != 0) { buildPartial0(result); }
+        com.google.spanner.v1.PlanNode.ChildLink result =
+            new com.google.spanner.v1.PlanNode.ChildLink(this);
+        if (bitField0_ != 0) {
+          buildPartial0(result);
+        }
         onBuilt();
         return result;
       }
@@ -721,38 +788,41 @@ private void buildPartial0(com.google.spanner.v1.PlanNode.ChildLink 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.spanner.v1.PlanNode.ChildLink) {
-          return mergeFrom((com.google.spanner.v1.PlanNode.ChildLink)other);
+          return mergeFrom((com.google.spanner.v1.PlanNode.ChildLink) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -800,27 +870,31 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 8: {
-                childIndex_ = input.readInt32();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 8
-              case 18: {
-                type_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-              case 26: {
-                variable_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              case 8:
+                {
+                  childIndex_ = input.readInt32();
+                  bitField0_ |= 0x00000001;
+                  break;
+                } // case 8
+              case 18:
+                {
+                  type_ = input.readStringRequireUtf8();
+                  bitField0_ |= 0x00000002;
+                  break;
+                } // case 18
+              case 26:
+                {
+                  variable_ = 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) {
@@ -830,15 +904,19 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int bitField0_;
 
-      private int childIndex_ ;
+      private int childIndex_;
       /**
+       *
+       *
        * 
        * The node to which the link points.
        * 
* * int32 child_index = 1; + * * @return The childIndex. */ @java.lang.Override @@ -846,27 +924,33 @@ public int getChildIndex() { return childIndex_; } /** + * + * *
        * The node to which the link points.
        * 
* * int32 child_index = 1; + * * @param value The childIndex to set. * @return This builder for chaining. */ public Builder setChildIndex(int value) { - + childIndex_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * The node to which the link points.
        * 
* * int32 child_index = 1; + * * @return This builder for chaining. */ public Builder clearChildIndex() { @@ -878,6 +962,8 @@ public Builder clearChildIndex() { private java.lang.Object type_ = ""; /** + * + * *
        * The type of the link. For example, in Hash Joins this could be used to
        * distinguish between the build child and the probe child, or in the case
@@ -886,13 +972,13 @@ public Builder clearChildIndex() {
        * 
* * string type = 2; + * * @return The type. */ public java.lang.String getType() { java.lang.Object ref = type_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); type_ = s; return s; @@ -901,6 +987,8 @@ public java.lang.String getType() { } } /** + * + * *
        * The type of the link. For example, in Hash Joins this could be used to
        * distinguish between the build child and the probe child, or in the case
@@ -909,15 +997,14 @@ public java.lang.String getType() {
        * 
* * string type = 2; + * * @return The bytes for type. */ - public com.google.protobuf.ByteString - getTypeBytes() { + public com.google.protobuf.ByteString getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); type_ = b; return b; } else { @@ -925,6 +1012,8 @@ public java.lang.String getType() { } } /** + * + * *
        * The type of the link. For example, in Hash Joins this could be used to
        * distinguish between the build child and the probe child, or in the case
@@ -933,18 +1022,22 @@ public java.lang.String getType() {
        * 
* * string type = 2; + * * @param value The type to set. * @return This builder for chaining. */ - public Builder setType( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setType(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } type_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * The type of the link. For example, in Hash Joins this could be used to
        * distinguish between the build child and the probe child, or in the case
@@ -953,6 +1046,7 @@ public Builder setType(
        * 
* * string type = 2; + * * @return This builder for chaining. */ public Builder clearType() { @@ -962,6 +1056,8 @@ public Builder clearType() { return this; } /** + * + * *
        * The type of the link. For example, in Hash Joins this could be used to
        * distinguish between the build child and the probe child, or in the case
@@ -970,12 +1066,14 @@ public Builder clearType() {
        * 
* * string type = 2; + * * @param value The bytes for type to set. * @return This builder for chaining. */ - public Builder setTypeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTypeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); type_ = value; bitField0_ |= 0x00000002; @@ -985,6 +1083,8 @@ public Builder setTypeBytes( private java.lang.Object variable_ = ""; /** + * + * *
        * Only present if the child node is [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] and corresponds
        * to an output variable of the parent node. The field carries the name of
@@ -997,13 +1097,13 @@ public Builder setTypeBytes(
        * 
* * string variable = 3; + * * @return The variable. */ public java.lang.String getVariable() { java.lang.Object ref = variable_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); variable_ = s; return s; @@ -1012,6 +1112,8 @@ public java.lang.String getVariable() { } } /** + * + * *
        * Only present if the child node is [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] and corresponds
        * to an output variable of the parent node. The field carries the name of
@@ -1024,15 +1126,14 @@ public java.lang.String getVariable() {
        * 
* * string variable = 3; + * * @return The bytes for variable. */ - public com.google.protobuf.ByteString - getVariableBytes() { + public com.google.protobuf.ByteString getVariableBytes() { java.lang.Object ref = variable_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); variable_ = b; return b; } else { @@ -1040,6 +1141,8 @@ public java.lang.String getVariable() { } } /** + * + * *
        * Only present if the child node is [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] and corresponds
        * to an output variable of the parent node. The field carries the name of
@@ -1052,18 +1155,22 @@ public java.lang.String getVariable() {
        * 
* * string variable = 3; + * * @param value The variable to set. * @return This builder for chaining. */ - public Builder setVariable( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setVariable(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } variable_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
        * Only present if the child node is [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] and corresponds
        * to an output variable of the parent node. The field carries the name of
@@ -1076,6 +1183,7 @@ public Builder setVariable(
        * 
* * string variable = 3; + * * @return This builder for chaining. */ public Builder clearVariable() { @@ -1085,6 +1193,8 @@ public Builder clearVariable() { return this; } /** + * + * *
        * Only present if the child node is [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] and corresponds
        * to an output variable of the parent node. The field carries the name of
@@ -1097,18 +1207,21 @@ public Builder clearVariable() {
        * 
* * string variable = 3; + * * @param value The bytes for variable to set. * @return This builder for chaining. */ - public Builder setVariableBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setVariableBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); variable_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1121,12 +1234,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.v1.PlanNode.ChildLink) } // @@protoc_insertion_point(class_scope:google.spanner.v1.PlanNode.ChildLink) private static final com.google.spanner.v1.PlanNode.ChildLink DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.v1.PlanNode.ChildLink(); } @@ -1135,27 +1248,28 @@ public static com.google.spanner.v1.PlanNode.ChildLink getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ChildLink parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ChildLink parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1170,34 +1284,41 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.PlanNode.ChildLink getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ShortRepresentationOrBuilder extends + public interface ShortRepresentationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.PlanNode.ShortRepresentation) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * A string representation of the expression subtree rooted at this node.
      * 
* * string description = 1; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
      * A string representation of the expression subtree rooted at this node.
      * 
* * string description = 1; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
      * A mapping of (subquery variable name) -> (subquery node id) for cases
      * where the `description` string of this node references a `SCALAR`
@@ -1210,6 +1331,8 @@ public interface ShortRepresentationOrBuilder extends
      */
     int getSubqueriesCount();
     /**
+     *
+     *
      * 
      * A mapping of (subquery variable name) -> (subquery node id) for cases
      * where the `description` string of this node references a `SCALAR`
@@ -1220,15 +1343,13 @@ public interface ShortRepresentationOrBuilder extends
      *
      * map<string, int32> subqueries = 2;
      */
-    boolean containsSubqueries(
-        java.lang.String key);
-    /**
-     * Use {@link #getSubqueriesMap()} instead.
-     */
+    boolean containsSubqueries(java.lang.String key);
+    /** Use {@link #getSubqueriesMap()} instead. */
     @java.lang.Deprecated
-    java.util.Map
-    getSubqueries();
+    java.util.Map getSubqueries();
     /**
+     *
+     *
      * 
      * A mapping of (subquery variable name) -> (subquery node id) for cases
      * where the `description` string of this node references a `SCALAR`
@@ -1239,9 +1360,10 @@ boolean containsSubqueries(
      *
      * map<string, int32> subqueries = 2;
      */
-    java.util.Map
-    getSubqueriesMap();
+    java.util.Map getSubqueriesMap();
     /**
+     *
+     *
      * 
      * A mapping of (subquery variable name) -> (subquery node id) for cases
      * where the `description` string of this node references a `SCALAR`
@@ -1252,10 +1374,10 @@ boolean containsSubqueries(
      *
      * map<string, int32> subqueries = 2;
      */
-    int getSubqueriesOrDefault(
-        java.lang.String key,
-        int defaultValue);
+    int getSubqueriesOrDefault(java.lang.String key, int defaultValue);
     /**
+     *
+     *
      * 
      * A mapping of (subquery variable name) -> (subquery node id) for cases
      * where the `description` string of this node references a `SCALAR`
@@ -1266,10 +1388,11 @@ int getSubqueriesOrDefault(
      *
      * map<string, int32> subqueries = 2;
      */
-    int getSubqueriesOrThrow(
-        java.lang.String key);
+    int getSubqueriesOrThrow(java.lang.String key);
   }
   /**
+   *
+   *
    * 
    * Condensed representation of a node and its subtree. Only present for
    * `SCALAR` [PlanNode(s)][google.spanner.v1.PlanNode].
@@ -1277,65 +1400,70 @@ int getSubqueriesOrThrow(
    *
    * Protobuf type {@code google.spanner.v1.PlanNode.ShortRepresentation}
    */
-  public static final class ShortRepresentation extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class ShortRepresentation extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.spanner.v1.PlanNode.ShortRepresentation)
       ShortRepresentationOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use ShortRepresentation.newBuilder() to construct.
     private ShortRepresentation(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private ShortRepresentation() {
       description_ = "";
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new ShortRepresentation();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.spanner.v1.QueryPlanProto.internal_static_google_spanner_v1_PlanNode_ShortRepresentation_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.spanner.v1.QueryPlanProto
+          .internal_static_google_spanner_v1_PlanNode_ShortRepresentation_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 internalGetSubqueries();
         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.spanner.v1.QueryPlanProto.internal_static_google_spanner_v1_PlanNode_ShortRepresentation_fieldAccessorTable
+      return com.google.spanner.v1.QueryPlanProto
+          .internal_static_google_spanner_v1_PlanNode_ShortRepresentation_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.v1.PlanNode.ShortRepresentation.class, com.google.spanner.v1.PlanNode.ShortRepresentation.Builder.class);
+              com.google.spanner.v1.PlanNode.ShortRepresentation.class,
+              com.google.spanner.v1.PlanNode.ShortRepresentation.Builder.class);
     }
 
     public static final int DESCRIPTION_FIELD_NUMBER = 1;
+
     @SuppressWarnings("serial")
     private volatile java.lang.Object description_ = "";
     /**
+     *
+     *
      * 
      * A string representation of the expression subtree rooted at this node.
      * 
* * string description = 1; + * * @return The description. */ @java.lang.Override @@ -1344,29 +1472,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; } } /** + * + * *
      * A string representation of the expression subtree rooted at this node.
      * 
* * string description = 1; + * * @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 { @@ -1375,32 +1503,36 @@ public java.lang.String getDescription() { } public static final int SUBQUERIES_FIELD_NUMBER = 2; + private static final class SubqueriesDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.Integer> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.spanner.v1.QueryPlanProto.internal_static_google_spanner_v1_PlanNode_ShortRepresentation_SubqueriesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.INT32, - 0); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.spanner.v1.QueryPlanProto + .internal_static_google_spanner_v1_PlanNode_ShortRepresentation_SubqueriesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.INT32, + 0); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.Integer> subqueries_; + private com.google.protobuf.MapField subqueries_; + private com.google.protobuf.MapField - internalGetSubqueries() { + internalGetSubqueries() { if (subqueries_ == null) { return com.google.protobuf.MapField.emptyMapField( SubqueriesDefaultEntryHolder.defaultEntry); } return subqueries_; } + public int getSubqueriesCount() { return internalGetSubqueries().getMap().size(); } /** + * + * *
      * A mapping of (subquery variable name) -> (subquery node id) for cases
      * where the `description` string of this node references a `SCALAR`
@@ -1412,20 +1544,21 @@ public int getSubqueriesCount() {
      * map<string, int32> subqueries = 2;
      */
     @java.lang.Override
-    public boolean containsSubqueries(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsSubqueries(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetSubqueries().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getSubqueriesMap()} instead.
-     */
+    /** Use {@link #getSubqueriesMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getSubqueries() {
       return getSubqueriesMap();
     }
     /**
+     *
+     *
      * 
      * A mapping of (subquery variable name) -> (subquery node id) for cases
      * where the `description` string of this node references a `SCALAR`
@@ -1441,6 +1574,8 @@ public java.util.Map getSubqueriesMap() {
       return internalGetSubqueries().getMap();
     }
     /**
+     *
+     *
      * 
      * A mapping of (subquery variable name) -> (subquery node id) for cases
      * where the `description` string of this node references a `SCALAR`
@@ -1452,15 +1587,16 @@ public java.util.Map getSubqueriesMap() {
      * map<string, int32> subqueries = 2;
      */
     @java.lang.Override
-    public int getSubqueriesOrDefault(
-        java.lang.String key,
-        int defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetSubqueries().getMap();
+    public int getSubqueriesOrDefault(java.lang.String key, int defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetSubqueries().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * A mapping of (subquery variable name) -> (subquery node id) for cases
      * where the `description` string of this node references a `SCALAR`
@@ -1472,11 +1608,11 @@ public int getSubqueriesOrDefault(
      * map<string, int32> subqueries = 2;
      */
     @java.lang.Override
-    public int getSubqueriesOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetSubqueries().getMap();
+    public int getSubqueriesOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetSubqueries().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -1484,6 +1620,7 @@ public int getSubqueriesOrThrow(
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -1495,17 +1632,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(description_)) {
         com.google.protobuf.GeneratedMessageV3.writeString(output, 1, description_);
       }
-      com.google.protobuf.GeneratedMessageV3
-        .serializeStringMapTo(
-          output,
-          internalGetSubqueries(),
-          SubqueriesDefaultEntryHolder.defaultEntry,
-          2);
+      com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
+          output, internalGetSubqueries(), SubqueriesDefaultEntryHolder.defaultEntry, 2);
       getUnknownFields().writeTo(output);
     }
 
@@ -1518,15 +1650,15 @@ public int getSerializedSize() {
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
         size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, description_);
       }
-      for (java.util.Map.Entry entry
-           : internalGetSubqueries().getMap().entrySet()) {
-        com.google.protobuf.MapEntry
-        subqueries__ = SubqueriesDefaultEntryHolder.defaultEntry.newBuilderForType()
-            .setKey(entry.getKey())
-            .setValue(entry.getValue())
-            .build();
-        size += com.google.protobuf.CodedOutputStream
-            .computeMessageSize(2, subqueries__);
+      for (java.util.Map.Entry entry :
+          internalGetSubqueries().getMap().entrySet()) {
+        com.google.protobuf.MapEntry subqueries__ =
+            SubqueriesDefaultEntryHolder.defaultEntry
+                .newBuilderForType()
+                .setKey(entry.getKey())
+                .setValue(entry.getValue())
+                .build();
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, subqueries__);
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -1536,17 +1668,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.spanner.v1.PlanNode.ShortRepresentation)) {
         return super.equals(obj);
       }
-      com.google.spanner.v1.PlanNode.ShortRepresentation other = (com.google.spanner.v1.PlanNode.ShortRepresentation) obj;
+      com.google.spanner.v1.PlanNode.ShortRepresentation other =
+          (com.google.spanner.v1.PlanNode.ShortRepresentation) obj;
 
-      if (!getDescription()
-          .equals(other.getDescription())) return false;
-      if (!internalGetSubqueries().equals(
-          other.internalGetSubqueries())) return false;
+      if (!getDescription().equals(other.getDescription())) return false;
+      if (!internalGetSubqueries().equals(other.internalGetSubqueries())) return false;
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
     }
@@ -1570,87 +1701,93 @@ public int hashCode() {
     }
 
     public static com.google.spanner.v1.PlanNode.ShortRepresentation parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.spanner.v1.PlanNode.ShortRepresentation parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.spanner.v1.PlanNode.ShortRepresentation parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.spanner.v1.PlanNode.ShortRepresentation parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.spanner.v1.PlanNode.ShortRepresentation parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.spanner.v1.PlanNode.ShortRepresentation parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.spanner.v1.PlanNode.ShortRepresentation parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.spanner.v1.PlanNode.ShortRepresentation parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.spanner.v1.PlanNode.ShortRepresentation parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.spanner.v1.PlanNode.ShortRepresentation parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.spanner.v1.PlanNode.ShortRepresentation parseDelimitedFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
+
     public static com.google.spanner.v1.PlanNode.ShortRepresentation parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.spanner.v1.PlanNode.ShortRepresentation parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.spanner.v1.PlanNode.ShortRepresentation parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
+
     public static Builder newBuilder(com.google.spanner.v1.PlanNode.ShortRepresentation prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -1660,6 +1797,8 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Condensed representation of a node and its subtree. Only present for
      * `SCALAR` [PlanNode(s)][google.spanner.v1.PlanNode].
@@ -1667,55 +1806,53 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.spanner.v1.PlanNode.ShortRepresentation}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.spanner.v1.PlanNode.ShortRepresentation)
         com.google.spanner.v1.PlanNode.ShortRepresentationOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.spanner.v1.QueryPlanProto.internal_static_google_spanner_v1_PlanNode_ShortRepresentation_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.spanner.v1.QueryPlanProto
+            .internal_static_google_spanner_v1_PlanNode_ShortRepresentation_descriptor;
       }
 
       @SuppressWarnings({"rawtypes"})
-      protected com.google.protobuf.MapField internalGetMapField(
-          int number) {
+      protected com.google.protobuf.MapField internalGetMapField(int number) {
         switch (number) {
           case 2:
             return internalGetSubqueries();
           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 internalGetMutableSubqueries();
           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.spanner.v1.QueryPlanProto.internal_static_google_spanner_v1_PlanNode_ShortRepresentation_fieldAccessorTable
+        return com.google.spanner.v1.QueryPlanProto
+            .internal_static_google_spanner_v1_PlanNode_ShortRepresentation_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.spanner.v1.PlanNode.ShortRepresentation.class, com.google.spanner.v1.PlanNode.ShortRepresentation.Builder.class);
+                com.google.spanner.v1.PlanNode.ShortRepresentation.class,
+                com.google.spanner.v1.PlanNode.ShortRepresentation.Builder.class);
       }
 
       // Construct using com.google.spanner.v1.PlanNode.ShortRepresentation.newBuilder()
-      private Builder() {
+      private Builder() {}
 
-      }
-
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1726,9 +1863,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.spanner.v1.QueryPlanProto.internal_static_google_spanner_v1_PlanNode_ShortRepresentation_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.spanner.v1.QueryPlanProto
+            .internal_static_google_spanner_v1_PlanNode_ShortRepresentation_descriptor;
       }
 
       @java.lang.Override
@@ -1747,8 +1884,11 @@ public com.google.spanner.v1.PlanNode.ShortRepresentation build() {
 
       @java.lang.Override
       public com.google.spanner.v1.PlanNode.ShortRepresentation buildPartial() {
-        com.google.spanner.v1.PlanNode.ShortRepresentation result = new com.google.spanner.v1.PlanNode.ShortRepresentation(this);
-        if (bitField0_ != 0) { buildPartial0(result); }
+        com.google.spanner.v1.PlanNode.ShortRepresentation result =
+            new com.google.spanner.v1.PlanNode.ShortRepresentation(this);
+        if (bitField0_ != 0) {
+          buildPartial0(result);
+        }
         onBuilt();
         return result;
       }
@@ -1768,38 +1908,41 @@ private void buildPartial0(com.google.spanner.v1.PlanNode.ShortRepresentation 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.spanner.v1.PlanNode.ShortRepresentation) {
-          return mergeFrom((com.google.spanner.v1.PlanNode.ShortRepresentation)other);
+          return mergeFrom((com.google.spanner.v1.PlanNode.ShortRepresentation) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -1807,14 +1950,14 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.spanner.v1.PlanNode.ShortRepresentation other) {
-        if (other == com.google.spanner.v1.PlanNode.ShortRepresentation.getDefaultInstance()) return this;
+        if (other == com.google.spanner.v1.PlanNode.ShortRepresentation.getDefaultInstance())
+          return this;
         if (!other.getDescription().isEmpty()) {
           description_ = other.description_;
           bitField0_ |= 0x00000001;
           onChanged();
         }
-        internalGetMutableSubqueries().mergeFrom(
-            other.internalGetSubqueries());
+        internalGetMutableSubqueries().mergeFrom(other.internalGetSubqueries());
         bitField0_ |= 0x00000002;
         this.mergeUnknownFields(other.getUnknownFields());
         onChanged();
@@ -1842,26 +1985,31 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                description_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-              case 18: {
-                com.google.protobuf.MapEntry
-                subqueries__ = input.readMessage(
-                    SubqueriesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-                internalGetMutableSubqueries().getMutableMap().put(
-                    subqueries__.getKey(), subqueries__.getValue());
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              case 10:
+                {
+                  description_ = input.readStringRequireUtf8();
+                  bitField0_ |= 0x00000001;
+                  break;
+                } // case 10
+              case 18:
+                {
+                  com.google.protobuf.MapEntry subqueries__ =
+                      input.readMessage(
+                          SubqueriesDefaultEntryHolder.defaultEntry.getParserForType(),
+                          extensionRegistry);
+                  internalGetMutableSubqueries()
+                      .getMutableMap()
+                      .put(subqueries__.getKey(), subqueries__.getValue());
+                  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) {
@@ -1871,22 +2019,25 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int bitField0_;
 
       private java.lang.Object description_ = "";
       /**
+       *
+       *
        * 
        * A string representation of the expression subtree rooted at this node.
        * 
* * string description = 1; + * * @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; @@ -1895,20 +2046,21 @@ public java.lang.String getDescription() { } } /** + * + * *
        * A string representation of the expression subtree rooted at this node.
        * 
* * string description = 1; + * * @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 { @@ -1916,28 +2068,35 @@ public java.lang.String getDescription() { } } /** + * + * *
        * A string representation of the expression subtree rooted at this node.
        * 
* * string description = 1; + * * @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_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * A string representation of the expression subtree rooted at this node.
        * 
* * string description = 1; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -1947,17 +2106,21 @@ public Builder clearDescription() { return this; } /** + * + * *
        * A string representation of the expression subtree rooted at this node.
        * 
* * string description = 1; + * * @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_ |= 0x00000001; @@ -1965,8 +2128,8 @@ public Builder setDescriptionBytes( return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.Integer> subqueries_; + private com.google.protobuf.MapField subqueries_; + private com.google.protobuf.MapField internalGetSubqueries() { if (subqueries_ == null) { @@ -1975,11 +2138,12 @@ public Builder setDescriptionBytes( } return subqueries_; } + private com.google.protobuf.MapField internalGetMutableSubqueries() { if (subqueries_ == null) { - subqueries_ = com.google.protobuf.MapField.newMapField( - SubqueriesDefaultEntryHolder.defaultEntry); + subqueries_ = + com.google.protobuf.MapField.newMapField(SubqueriesDefaultEntryHolder.defaultEntry); } if (!subqueries_.isMutable()) { subqueries_ = subqueries_.copy(); @@ -1988,10 +2152,13 @@ public Builder setDescriptionBytes( onChanged(); return subqueries_; } + public int getSubqueriesCount() { return internalGetSubqueries().getMap().size(); } /** + * + * *
        * A mapping of (subquery variable name) -> (subquery node id) for cases
        * where the `description` string of this node references a `SCALAR`
@@ -2003,20 +2170,21 @@ public int getSubqueriesCount() {
        * map<string, int32> subqueries = 2;
        */
       @java.lang.Override
-      public boolean containsSubqueries(
-          java.lang.String key) {
-        if (key == null) { throw new NullPointerException("map key"); }
+      public boolean containsSubqueries(java.lang.String key) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
         return internalGetSubqueries().getMap().containsKey(key);
       }
-      /**
-       * Use {@link #getSubqueriesMap()} instead.
-       */
+      /** Use {@link #getSubqueriesMap()} instead. */
       @java.lang.Override
       @java.lang.Deprecated
       public java.util.Map getSubqueries() {
         return getSubqueriesMap();
       }
       /**
+       *
+       *
        * 
        * A mapping of (subquery variable name) -> (subquery node id) for cases
        * where the `description` string of this node references a `SCALAR`
@@ -2032,6 +2200,8 @@ public java.util.Map getSubqueriesMap() {
         return internalGetSubqueries().getMap();
       }
       /**
+       *
+       *
        * 
        * A mapping of (subquery variable name) -> (subquery node id) for cases
        * where the `description` string of this node references a `SCALAR`
@@ -2043,15 +2213,16 @@ public java.util.Map getSubqueriesMap() {
        * map<string, int32> subqueries = 2;
        */
       @java.lang.Override
-      public int getSubqueriesOrDefault(
-          java.lang.String key,
-          int defaultValue) {
-        if (key == null) { throw new NullPointerException("map key"); }
-        java.util.Map map =
-            internalGetSubqueries().getMap();
+      public int getSubqueriesOrDefault(java.lang.String key, int defaultValue) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
+        java.util.Map map = internalGetSubqueries().getMap();
         return map.containsKey(key) ? map.get(key) : defaultValue;
       }
       /**
+       *
+       *
        * 
        * A mapping of (subquery variable name) -> (subquery node id) for cases
        * where the `description` string of this node references a `SCALAR`
@@ -2063,23 +2234,25 @@ public int getSubqueriesOrDefault(
        * map<string, int32> subqueries = 2;
        */
       @java.lang.Override
-      public int getSubqueriesOrThrow(
-          java.lang.String key) {
-        if (key == null) { throw new NullPointerException("map key"); }
-        java.util.Map map =
-            internalGetSubqueries().getMap();
+      public int getSubqueriesOrThrow(java.lang.String key) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
+        java.util.Map map = internalGetSubqueries().getMap();
         if (!map.containsKey(key)) {
           throw new java.lang.IllegalArgumentException();
         }
         return map.get(key);
       }
+
       public Builder clearSubqueries() {
         bitField0_ = (bitField0_ & ~0x00000002);
-        internalGetMutableSubqueries().getMutableMap()
-            .clear();
+        internalGetMutableSubqueries().getMutableMap().clear();
         return this;
       }
       /**
+       *
+       *
        * 
        * A mapping of (subquery variable name) -> (subquery node id) for cases
        * where the `description` string of this node references a `SCALAR`
@@ -2090,23 +2263,22 @@ public Builder clearSubqueries() {
        *
        * map<string, int32> subqueries = 2;
        */
-      public Builder removeSubqueries(
-          java.lang.String key) {
-        if (key == null) { throw new NullPointerException("map key"); }
-        internalGetMutableSubqueries().getMutableMap()
-            .remove(key);
+      public Builder removeSubqueries(java.lang.String key) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
+        internalGetMutableSubqueries().getMutableMap().remove(key);
         return this;
       }
-      /**
-       * Use alternate mutation accessors instead.
-       */
+      /** Use alternate mutation accessors instead. */
       @java.lang.Deprecated
-      public java.util.Map
-          getMutableSubqueries() {
+      public java.util.Map getMutableSubqueries() {
         bitField0_ |= 0x00000002;
         return internalGetMutableSubqueries().getMutableMap();
       }
       /**
+       *
+       *
        * 
        * A mapping of (subquery variable name) -> (subquery node id) for cases
        * where the `description` string of this node references a `SCALAR`
@@ -2117,17 +2289,18 @@ public Builder removeSubqueries(
        *
        * map<string, int32> subqueries = 2;
        */
-      public Builder putSubqueries(
-          java.lang.String key,
-          int value) {
-        if (key == null) { throw new NullPointerException("map key"); }
-        
-        internalGetMutableSubqueries().getMutableMap()
-            .put(key, value);
+      public Builder putSubqueries(java.lang.String key, int value) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
+
+        internalGetMutableSubqueries().getMutableMap().put(key, value);
         bitField0_ |= 0x00000002;
         return this;
       }
       /**
+       *
+       *
        * 
        * A mapping of (subquery variable name) -> (subquery node id) for cases
        * where the `description` string of this node references a `SCALAR`
@@ -2138,13 +2311,12 @@ public Builder putSubqueries(
        *
        * map<string, int32> subqueries = 2;
        */
-      public Builder putAllSubqueries(
-          java.util.Map values) {
-        internalGetMutableSubqueries().getMutableMap()
-            .putAll(values);
+      public Builder putAllSubqueries(java.util.Map values) {
+        internalGetMutableSubqueries().getMutableMap().putAll(values);
         bitField0_ |= 0x00000002;
         return this;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -2157,12 +2329,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.spanner.v1.PlanNode.ShortRepresentation)
     }
 
     // @@protoc_insertion_point(class_scope:google.spanner.v1.PlanNode.ShortRepresentation)
     private static final com.google.spanner.v1.PlanNode.ShortRepresentation DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.spanner.v1.PlanNode.ShortRepresentation();
     }
@@ -2171,27 +2343,28 @@ public static com.google.spanner.v1.PlanNode.ShortRepresentation getDefaultInsta
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public ShortRepresentation parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        Builder builder = newBuilder();
-        try {
-          builder.mergeFrom(input, extensionRegistry);
-        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          throw e.setUnfinishedMessage(builder.buildPartial());
-        } catch (com.google.protobuf.UninitializedMessageException e) {
-          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-        } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(builder.buildPartial());
-        }
-        return builder.buildPartial();
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public ShortRepresentation parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            Builder builder = newBuilder();
+            try {
+              builder.mergeFrom(input, extensionRegistry);
+            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+              throw e.setUnfinishedMessage(builder.buildPartial());
+            } catch (com.google.protobuf.UninitializedMessageException e) {
+              throw e.asInvalidProtocolBufferException()
+                  .setUnfinishedMessage(builder.buildPartial());
+            } catch (java.io.IOException e) {
+              throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                  .setUnfinishedMessage(builder.buildPartial());
+            }
+            return builder.buildPartial();
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -2206,17 +2379,19 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.spanner.v1.PlanNode.ShortRepresentation getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
   public static final int INDEX_FIELD_NUMBER = 1;
   private int index_ = 0;
   /**
+   *
+   *
    * 
    * The `PlanNode`'s index in [node list][google.spanner.v1.QueryPlan.plan_nodes].
    * 
* * int32 index = 1; + * * @return The index. */ @java.lang.Override @@ -2227,6 +2402,8 @@ public int getIndex() { public static final int KIND_FIELD_NUMBER = 2; private int kind_ = 0; /** + * + * *
    * Used to determine the type of node. May be needed for visualizing
    * different kinds of nodes differently. For example, If the node is a
@@ -2236,12 +2413,16 @@ public int getIndex() {
    * 
* * .google.spanner.v1.PlanNode.Kind kind = 2; + * * @return The enum numeric value on the wire for kind. */ - @java.lang.Override public int getKindValue() { + @java.lang.Override + public int getKindValue() { return kind_; } /** + * + * *
    * Used to determine the type of node. May be needed for visualizing
    * different kinds of nodes differently. For example, If the node is a
@@ -2251,22 +2432,29 @@ public int getIndex() {
    * 
* * .google.spanner.v1.PlanNode.Kind kind = 2; + * * @return The kind. */ - @java.lang.Override public com.google.spanner.v1.PlanNode.Kind getKind() { - com.google.spanner.v1.PlanNode.Kind result = com.google.spanner.v1.PlanNode.Kind.forNumber(kind_); + @java.lang.Override + public com.google.spanner.v1.PlanNode.Kind getKind() { + com.google.spanner.v1.PlanNode.Kind result = + com.google.spanner.v1.PlanNode.Kind.forNumber(kind_); return result == null ? com.google.spanner.v1.PlanNode.Kind.UNRECOGNIZED : result; } public static final int DISPLAY_NAME_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * The display name for the node.
    * 
* * string display_name = 3; + * * @return The displayName. */ @java.lang.Override @@ -2275,29 +2463,29 @@ 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; } } /** + * + * *
    * The display name for the node.
    * 
* * string display_name = 3; + * * @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 { @@ -2306,9 +2494,12 @@ public java.lang.String getDisplayName() { } public static final int CHILD_LINKS_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private java.util.List childLinks_; /** + * + * *
    * List of child node `index`es and their relationship to this parent.
    * 
@@ -2320,6 +2511,8 @@ public java.util.List getChildLinksLis return childLinks_; } /** + * + * *
    * List of child node `index`es and their relationship to this parent.
    * 
@@ -2327,11 +2520,13 @@ public java.util.List getChildLinksLis * repeated .google.spanner.v1.PlanNode.ChildLink child_links = 4; */ @java.lang.Override - public java.util.List + public java.util.List getChildLinksOrBuilderList() { return childLinks_; } /** + * + * *
    * List of child node `index`es and their relationship to this parent.
    * 
@@ -2343,6 +2538,8 @@ public int getChildLinksCount() { return childLinks_.size(); } /** + * + * *
    * List of child node `index`es and their relationship to this parent.
    * 
@@ -2354,6 +2551,8 @@ public com.google.spanner.v1.PlanNode.ChildLink getChildLinks(int index) { return childLinks_.get(index); } /** + * + * *
    * List of child node `index`es and their relationship to this parent.
    * 
@@ -2361,19 +2560,21 @@ public com.google.spanner.v1.PlanNode.ChildLink getChildLinks(int index) { * repeated .google.spanner.v1.PlanNode.ChildLink child_links = 4; */ @java.lang.Override - public com.google.spanner.v1.PlanNode.ChildLinkOrBuilder getChildLinksOrBuilder( - int index) { + public com.google.spanner.v1.PlanNode.ChildLinkOrBuilder getChildLinksOrBuilder(int index) { return childLinks_.get(index); } public static final int SHORT_REPRESENTATION_FIELD_NUMBER = 5; private com.google.spanner.v1.PlanNode.ShortRepresentation shortRepresentation_; /** + * + * *
    * Condensed representation for [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] nodes.
    * 
* * .google.spanner.v1.PlanNode.ShortRepresentation short_representation = 5; + * * @return Whether the shortRepresentation field is set. */ @java.lang.Override @@ -2381,18 +2582,25 @@ public boolean hasShortRepresentation() { return shortRepresentation_ != null; } /** + * + * *
    * Condensed representation for [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] nodes.
    * 
* * .google.spanner.v1.PlanNode.ShortRepresentation short_representation = 5; + * * @return The shortRepresentation. */ @java.lang.Override public com.google.spanner.v1.PlanNode.ShortRepresentation getShortRepresentation() { - return shortRepresentation_ == null ? com.google.spanner.v1.PlanNode.ShortRepresentation.getDefaultInstance() : shortRepresentation_; + return shortRepresentation_ == null + ? com.google.spanner.v1.PlanNode.ShortRepresentation.getDefaultInstance() + : shortRepresentation_; } /** + * + * *
    * Condensed representation for [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] nodes.
    * 
@@ -2400,13 +2608,18 @@ public com.google.spanner.v1.PlanNode.ShortRepresentation getShortRepresentation * .google.spanner.v1.PlanNode.ShortRepresentation short_representation = 5; */ @java.lang.Override - public com.google.spanner.v1.PlanNode.ShortRepresentationOrBuilder getShortRepresentationOrBuilder() { - return shortRepresentation_ == null ? com.google.spanner.v1.PlanNode.ShortRepresentation.getDefaultInstance() : shortRepresentation_; + public com.google.spanner.v1.PlanNode.ShortRepresentationOrBuilder + getShortRepresentationOrBuilder() { + return shortRepresentation_ == null + ? com.google.spanner.v1.PlanNode.ShortRepresentation.getDefaultInstance() + : shortRepresentation_; } public static final int METADATA_FIELD_NUMBER = 6; private com.google.protobuf.Struct metadata_; /** + * + * *
    * Attributes relevant to the node contained in a group of key-value pairs.
    * For example, a Parameter Reference node could have the following
@@ -2418,6 +2631,7 @@ public com.google.spanner.v1.PlanNode.ShortRepresentationOrBuilder getShortRepre
    * 
* * .google.protobuf.Struct metadata = 6; + * * @return Whether the metadata field is set. */ @java.lang.Override @@ -2425,6 +2639,8 @@ public boolean hasMetadata() { return metadata_ != null; } /** + * + * *
    * Attributes relevant to the node contained in a group of key-value pairs.
    * For example, a Parameter Reference node could have the following
@@ -2436,6 +2652,7 @@ public boolean hasMetadata() {
    * 
* * .google.protobuf.Struct metadata = 6; + * * @return The metadata. */ @java.lang.Override @@ -2443,6 +2660,8 @@ public com.google.protobuf.Struct getMetadata() { return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_; } /** + * + * *
    * Attributes relevant to the node contained in a group of key-value pairs.
    * For example, a Parameter Reference node could have the following
@@ -2463,6 +2682,8 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {
   public static final int EXECUTION_STATS_FIELD_NUMBER = 7;
   private com.google.protobuf.Struct executionStats_;
   /**
+   *
+   *
    * 
    * The execution statistics associated with the node, contained in a group of
    * key-value pairs. Only present if the plan was returned as a result of a
@@ -2471,6 +2692,7 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {
    * 
* * .google.protobuf.Struct execution_stats = 7; + * * @return Whether the executionStats field is set. */ @java.lang.Override @@ -2478,6 +2700,8 @@ public boolean hasExecutionStats() { return executionStats_ != null; } /** + * + * *
    * The execution statistics associated with the node, contained in a group of
    * key-value pairs. Only present if the plan was returned as a result of a
@@ -2486,13 +2710,18 @@ public boolean hasExecutionStats() {
    * 
* * .google.protobuf.Struct execution_stats = 7; + * * @return The executionStats. */ @java.lang.Override public com.google.protobuf.Struct getExecutionStats() { - return executionStats_ == null ? com.google.protobuf.Struct.getDefaultInstance() : executionStats_; + return executionStats_ == null + ? com.google.protobuf.Struct.getDefaultInstance() + : executionStats_; } /** + * + * *
    * The execution statistics associated with the node, contained in a group of
    * key-value pairs. Only present if the plan was returned as a result of a
@@ -2504,10 +2733,13 @@ public com.google.protobuf.Struct getExecutionStats() {
    */
   @java.lang.Override
   public com.google.protobuf.StructOrBuilder getExecutionStatsOrBuilder() {
-    return executionStats_ == null ? com.google.protobuf.Struct.getDefaultInstance() : executionStats_;
+    return executionStats_ == null
+        ? com.google.protobuf.Struct.getDefaultInstance()
+        : executionStats_;
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -2519,8 +2751,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_ != 0) {
       output.writeInt32(1, index_);
     }
@@ -2552,31 +2783,25 @@ public int getSerializedSize() {
 
     size = 0;
     if (index_ != 0) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeInt32Size(1, index_);
+      size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, index_);
     }
     if (kind_ != com.google.spanner.v1.PlanNode.Kind.KIND_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeEnumSize(2, kind_);
+      size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, kind_);
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, displayName_);
     }
     for (int i = 0; i < childLinks_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, childLinks_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, childLinks_.get(i));
     }
     if (shortRepresentation_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, getShortRepresentation());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getShortRepresentation());
     }
     if (metadata_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, getMetadata());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getMetadata());
     }
     if (executionStats_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(7, getExecutionStats());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getExecutionStats());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -2586,34 +2811,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.spanner.v1.PlanNode)) {
       return super.equals(obj);
     }
     com.google.spanner.v1.PlanNode other = (com.google.spanner.v1.PlanNode) obj;
 
-    if (getIndex()
-        != other.getIndex()) return false;
+    if (getIndex() != other.getIndex()) return false;
     if (kind_ != other.kind_) return false;
-    if (!getDisplayName()
-        .equals(other.getDisplayName())) return false;
-    if (!getChildLinksList()
-        .equals(other.getChildLinksList())) return false;
+    if (!getDisplayName().equals(other.getDisplayName())) return false;
+    if (!getChildLinksList().equals(other.getChildLinksList())) return false;
     if (hasShortRepresentation() != other.hasShortRepresentation()) return false;
     if (hasShortRepresentation()) {
-      if (!getShortRepresentation()
-          .equals(other.getShortRepresentation())) return false;
+      if (!getShortRepresentation().equals(other.getShortRepresentation())) return false;
     }
     if (hasMetadata() != other.hasMetadata()) return false;
     if (hasMetadata()) {
-      if (!getMetadata()
-          .equals(other.getMetadata())) return false;
+      if (!getMetadata().equals(other.getMetadata())) return false;
     }
     if (hasExecutionStats() != other.hasExecutionStats()) return false;
     if (hasExecutionStats()) {
-      if (!getExecutionStats()
-          .equals(other.getExecutionStats())) return false;
+      if (!getExecutionStats().equals(other.getExecutionStats())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -2653,130 +2872,134 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.spanner.v1.PlanNode parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.spanner.v1.PlanNode parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.spanner.v1.PlanNode parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.spanner.v1.PlanNode parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.spanner.v1.PlanNode parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.spanner.v1.PlanNode parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.spanner.v1.PlanNode parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.spanner.v1.PlanNode parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.spanner.v1.PlanNode parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.spanner.v1.PlanNode parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.spanner.v1.PlanNode 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.spanner.v1.PlanNode parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.spanner.v1.PlanNode parseFrom(
-      com.google.protobuf.CodedInputStream input)
+
+  public static com.google.spanner.v1.PlanNode 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.spanner.v1.PlanNode parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.spanner.v1.PlanNode prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Node information for nodes appearing in a [QueryPlan.plan_nodes][google.spanner.v1.QueryPlan.plan_nodes].
    * 
* * Protobuf type {@code google.spanner.v1.PlanNode} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.PlanNode) com.google.spanner.v1.PlanNodeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.v1.QueryPlanProto.internal_static_google_spanner_v1_PlanNode_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.v1.QueryPlanProto + .internal_static_google_spanner_v1_PlanNode_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.QueryPlanProto.internal_static_google_spanner_v1_PlanNode_fieldAccessorTable + return com.google.spanner.v1.QueryPlanProto + .internal_static_google_spanner_v1_PlanNode_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.spanner.v1.PlanNode.class, com.google.spanner.v1.PlanNode.Builder.class); } // Construct using com.google.spanner.v1.PlanNode.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -2810,9 +3033,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.spanner.v1.QueryPlanProto.internal_static_google_spanner_v1_PlanNode_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.spanner.v1.QueryPlanProto + .internal_static_google_spanner_v1_PlanNode_descriptor; } @java.lang.Override @@ -2833,7 +3056,9 @@ public com.google.spanner.v1.PlanNode build() { public com.google.spanner.v1.PlanNode buildPartial() { com.google.spanner.v1.PlanNode result = new com.google.spanner.v1.PlanNode(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -2862,19 +3087,17 @@ private void buildPartial0(com.google.spanner.v1.PlanNode result) { result.displayName_ = displayName_; } if (((from_bitField0_ & 0x00000010) != 0)) { - result.shortRepresentation_ = shortRepresentationBuilder_ == null - ? shortRepresentation_ - : shortRepresentationBuilder_.build(); + result.shortRepresentation_ = + shortRepresentationBuilder_ == null + ? shortRepresentation_ + : shortRepresentationBuilder_.build(); } if (((from_bitField0_ & 0x00000020) != 0)) { - result.metadata_ = metadataBuilder_ == null - ? metadata_ - : metadataBuilder_.build(); + result.metadata_ = metadataBuilder_ == null ? metadata_ : metadataBuilder_.build(); } if (((from_bitField0_ & 0x00000040) != 0)) { - result.executionStats_ = executionStatsBuilder_ == null - ? executionStats_ - : executionStatsBuilder_.build(); + result.executionStats_ = + executionStatsBuilder_ == null ? executionStats_ : executionStatsBuilder_.build(); } } @@ -2882,38 +3105,39 @@ private void buildPartial0(com.google.spanner.v1.PlanNode 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.spanner.v1.PlanNode) { - return mergeFrom((com.google.spanner.v1.PlanNode)other); + return mergeFrom((com.google.spanner.v1.PlanNode) other); } else { super.mergeFrom(other); return this; @@ -2951,9 +3175,10 @@ public Builder mergeFrom(com.google.spanner.v1.PlanNode other) { childLinksBuilder_ = null; childLinks_ = other.childLinks_; bitField0_ = (bitField0_ & ~0x00000008); - childLinksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getChildLinksFieldBuilder() : null; + childLinksBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getChildLinksFieldBuilder() + : null; } else { childLinksBuilder_.addAllMessages(other.childLinks_); } @@ -2994,61 +3219,63 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - index_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: { - kind_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - com.google.spanner.v1.PlanNode.ChildLink m = - input.readMessage( - com.google.spanner.v1.PlanNode.ChildLink.parser(), - extensionRegistry); - if (childLinksBuilder_ == null) { - ensureChildLinksIsMutable(); - childLinks_.add(m); - } else { - childLinksBuilder_.addMessage(m); - } - break; - } // case 34 - case 42: { - input.readMessage( - getShortRepresentationFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: { - input.readMessage( - getMetadataFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 58: { - input.readMessage( - getExecutionStatsFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000040; - break; - } // case 58 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + index_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: + { + kind_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + com.google.spanner.v1.PlanNode.ChildLink m = + input.readMessage( + com.google.spanner.v1.PlanNode.ChildLink.parser(), extensionRegistry); + if (childLinksBuilder_ == null) { + ensureChildLinksIsMutable(); + childLinks_.add(m); + } else { + childLinksBuilder_.addMessage(m); + } + break; + } // case 34 + case 42: + { + input.readMessage( + getShortRepresentationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: + { + input.readMessage(getMetadataFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: + { + input.readMessage(getExecutionStatsFieldBuilder().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) { @@ -3058,15 +3285,19 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private int index_ ; + private int index_; /** + * + * *
      * The `PlanNode`'s index in [node list][google.spanner.v1.QueryPlan.plan_nodes].
      * 
* * int32 index = 1; + * * @return The index. */ @java.lang.Override @@ -3074,27 +3305,33 @@ public int getIndex() { return index_; } /** + * + * *
      * The `PlanNode`'s index in [node list][google.spanner.v1.QueryPlan.plan_nodes].
      * 
* * int32 index = 1; + * * @param value The index to set. * @return This builder for chaining. */ public Builder setIndex(int value) { - + index_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The `PlanNode`'s index in [node list][google.spanner.v1.QueryPlan.plan_nodes].
      * 
* * int32 index = 1; + * * @return This builder for chaining. */ public Builder clearIndex() { @@ -3106,6 +3343,8 @@ public Builder clearIndex() { private int kind_ = 0; /** + * + * *
      * Used to determine the type of node. May be needed for visualizing
      * different kinds of nodes differently. For example, If the node is a
@@ -3115,12 +3354,16 @@ public Builder clearIndex() {
      * 
* * .google.spanner.v1.PlanNode.Kind kind = 2; + * * @return The enum numeric value on the wire for kind. */ - @java.lang.Override public int getKindValue() { + @java.lang.Override + public int getKindValue() { return kind_; } /** + * + * *
      * Used to determine the type of node. May be needed for visualizing
      * different kinds of nodes differently. For example, If the node is a
@@ -3130,6 +3373,7 @@ public Builder clearIndex() {
      * 
* * .google.spanner.v1.PlanNode.Kind kind = 2; + * * @param value The enum numeric value on the wire for kind to set. * @return This builder for chaining. */ @@ -3140,6 +3384,8 @@ public Builder setKindValue(int value) { return this; } /** + * + * *
      * Used to determine the type of node. May be needed for visualizing
      * different kinds of nodes differently. For example, If the node is a
@@ -3149,14 +3395,18 @@ public Builder setKindValue(int value) {
      * 
* * .google.spanner.v1.PlanNode.Kind kind = 2; + * * @return The kind. */ @java.lang.Override public com.google.spanner.v1.PlanNode.Kind getKind() { - com.google.spanner.v1.PlanNode.Kind result = com.google.spanner.v1.PlanNode.Kind.forNumber(kind_); + com.google.spanner.v1.PlanNode.Kind result = + com.google.spanner.v1.PlanNode.Kind.forNumber(kind_); return result == null ? com.google.spanner.v1.PlanNode.Kind.UNRECOGNIZED : result; } /** + * + * *
      * Used to determine the type of node. May be needed for visualizing
      * different kinds of nodes differently. For example, If the node is a
@@ -3166,6 +3416,7 @@ public com.google.spanner.v1.PlanNode.Kind getKind() {
      * 
* * .google.spanner.v1.PlanNode.Kind kind = 2; + * * @param value The kind to set. * @return This builder for chaining. */ @@ -3179,6 +3430,8 @@ public Builder setKind(com.google.spanner.v1.PlanNode.Kind value) { return this; } /** + * + * *
      * Used to determine the type of node. May be needed for visualizing
      * different kinds of nodes differently. For example, If the node is a
@@ -3188,6 +3441,7 @@ public Builder setKind(com.google.spanner.v1.PlanNode.Kind value) {
      * 
* * .google.spanner.v1.PlanNode.Kind kind = 2; + * * @return This builder for chaining. */ public Builder clearKind() { @@ -3199,18 +3453,20 @@ public Builder clearKind() { private java.lang.Object displayName_ = ""; /** + * + * *
      * The display name for the node.
      * 
* * string display_name = 3; + * * @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; @@ -3219,20 +3475,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The display name for the node.
      * 
* * string display_name = 3; + * * @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 { @@ -3240,28 +3497,35 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The display name for the node.
      * 
* * string display_name = 3; + * * @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_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * The display name for the node.
      * 
* * string display_name = 3; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -3271,17 +3535,21 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * The display name for the node.
      * 
* * string display_name = 3; + * * @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_ |= 0x00000004; @@ -3290,18 +3558,25 @@ public Builder setDisplayNameBytes( } private java.util.List childLinks_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureChildLinksIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - childLinks_ = new java.util.ArrayList(childLinks_); + childLinks_ = + new java.util.ArrayList(childLinks_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.v1.PlanNode.ChildLink, com.google.spanner.v1.PlanNode.ChildLink.Builder, com.google.spanner.v1.PlanNode.ChildLinkOrBuilder> childLinksBuilder_; + com.google.spanner.v1.PlanNode.ChildLink, + com.google.spanner.v1.PlanNode.ChildLink.Builder, + com.google.spanner.v1.PlanNode.ChildLinkOrBuilder> + childLinksBuilder_; /** + * + * *
      * List of child node `index`es and their relationship to this parent.
      * 
@@ -3316,6 +3591,8 @@ public java.util.List getChildLinksLis } } /** + * + * *
      * List of child node `index`es and their relationship to this parent.
      * 
@@ -3330,6 +3607,8 @@ public int getChildLinksCount() { } } /** + * + * *
      * List of child node `index`es and their relationship to this parent.
      * 
@@ -3344,14 +3623,15 @@ public com.google.spanner.v1.PlanNode.ChildLink getChildLinks(int index) { } } /** + * + * *
      * List of child node `index`es and their relationship to this parent.
      * 
* * repeated .google.spanner.v1.PlanNode.ChildLink child_links = 4; */ - public Builder setChildLinks( - int index, com.google.spanner.v1.PlanNode.ChildLink value) { + public Builder setChildLinks(int index, com.google.spanner.v1.PlanNode.ChildLink value) { if (childLinksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3365,6 +3645,8 @@ public Builder setChildLinks( return this; } /** + * + * *
      * List of child node `index`es and their relationship to this parent.
      * 
@@ -3383,6 +3665,8 @@ public Builder setChildLinks( return this; } /** + * + * *
      * List of child node `index`es and their relationship to this parent.
      * 
@@ -3403,14 +3687,15 @@ public Builder addChildLinks(com.google.spanner.v1.PlanNode.ChildLink value) { return this; } /** + * + * *
      * List of child node `index`es and their relationship to this parent.
      * 
* * repeated .google.spanner.v1.PlanNode.ChildLink child_links = 4; */ - public Builder addChildLinks( - int index, com.google.spanner.v1.PlanNode.ChildLink value) { + public Builder addChildLinks(int index, com.google.spanner.v1.PlanNode.ChildLink value) { if (childLinksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3424,14 +3709,15 @@ public Builder addChildLinks( return this; } /** + * + * *
      * List of child node `index`es and their relationship to this parent.
      * 
* * repeated .google.spanner.v1.PlanNode.ChildLink child_links = 4; */ - public Builder addChildLinks( - com.google.spanner.v1.PlanNode.ChildLink.Builder builderForValue) { + public Builder addChildLinks(com.google.spanner.v1.PlanNode.ChildLink.Builder builderForValue) { if (childLinksBuilder_ == null) { ensureChildLinksIsMutable(); childLinks_.add(builderForValue.build()); @@ -3442,6 +3728,8 @@ public Builder addChildLinks( return this; } /** + * + * *
      * List of child node `index`es and their relationship to this parent.
      * 
@@ -3460,6 +3748,8 @@ public Builder addChildLinks( return this; } /** + * + * *
      * List of child node `index`es and their relationship to this parent.
      * 
@@ -3470,8 +3760,7 @@ public Builder addAllChildLinks( java.lang.Iterable values) { if (childLinksBuilder_ == null) { ensureChildLinksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, childLinks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, childLinks_); onChanged(); } else { childLinksBuilder_.addAllMessages(values); @@ -3479,6 +3768,8 @@ public Builder addAllChildLinks( return this; } /** + * + * *
      * List of child node `index`es and their relationship to this parent.
      * 
@@ -3496,6 +3787,8 @@ public Builder clearChildLinks() { return this; } /** + * + * *
      * List of child node `index`es and their relationship to this parent.
      * 
@@ -3513,39 +3806,44 @@ public Builder removeChildLinks(int index) { return this; } /** + * + * *
      * List of child node `index`es and their relationship to this parent.
      * 
* * repeated .google.spanner.v1.PlanNode.ChildLink child_links = 4; */ - public com.google.spanner.v1.PlanNode.ChildLink.Builder getChildLinksBuilder( - int index) { + public com.google.spanner.v1.PlanNode.ChildLink.Builder getChildLinksBuilder(int index) { return getChildLinksFieldBuilder().getBuilder(index); } /** + * + * *
      * List of child node `index`es and their relationship to this parent.
      * 
* * repeated .google.spanner.v1.PlanNode.ChildLink child_links = 4; */ - public com.google.spanner.v1.PlanNode.ChildLinkOrBuilder getChildLinksOrBuilder( - int index) { + public com.google.spanner.v1.PlanNode.ChildLinkOrBuilder getChildLinksOrBuilder(int index) { if (childLinksBuilder_ == null) { - return childLinks_.get(index); } else { + return childLinks_.get(index); + } else { return childLinksBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of child node `index`es and their relationship to this parent.
      * 
* * repeated .google.spanner.v1.PlanNode.ChildLink child_links = 4; */ - public java.util.List - getChildLinksOrBuilderList() { + public java.util.List + getChildLinksOrBuilderList() { if (childLinksBuilder_ != null) { return childLinksBuilder_.getMessageOrBuilderList(); } else { @@ -3553,6 +3851,8 @@ public com.google.spanner.v1.PlanNode.ChildLinkOrBuilder getChildLinksOrBuilder( } } /** + * + * *
      * List of child node `index`es and their relationship to this parent.
      * 
@@ -3560,42 +3860,48 @@ public com.google.spanner.v1.PlanNode.ChildLinkOrBuilder getChildLinksOrBuilder( * repeated .google.spanner.v1.PlanNode.ChildLink child_links = 4; */ public com.google.spanner.v1.PlanNode.ChildLink.Builder addChildLinksBuilder() { - return getChildLinksFieldBuilder().addBuilder( - com.google.spanner.v1.PlanNode.ChildLink.getDefaultInstance()); + return getChildLinksFieldBuilder() + .addBuilder(com.google.spanner.v1.PlanNode.ChildLink.getDefaultInstance()); } /** + * + * *
      * List of child node `index`es and their relationship to this parent.
      * 
* * repeated .google.spanner.v1.PlanNode.ChildLink child_links = 4; */ - public com.google.spanner.v1.PlanNode.ChildLink.Builder addChildLinksBuilder( - int index) { - return getChildLinksFieldBuilder().addBuilder( - index, com.google.spanner.v1.PlanNode.ChildLink.getDefaultInstance()); + public com.google.spanner.v1.PlanNode.ChildLink.Builder addChildLinksBuilder(int index) { + return getChildLinksFieldBuilder() + .addBuilder(index, com.google.spanner.v1.PlanNode.ChildLink.getDefaultInstance()); } /** + * + * *
      * List of child node `index`es and their relationship to this parent.
      * 
* * repeated .google.spanner.v1.PlanNode.ChildLink child_links = 4; */ - public java.util.List - getChildLinksBuilderList() { + public java.util.List + getChildLinksBuilderList() { return getChildLinksFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.v1.PlanNode.ChildLink, com.google.spanner.v1.PlanNode.ChildLink.Builder, com.google.spanner.v1.PlanNode.ChildLinkOrBuilder> + com.google.spanner.v1.PlanNode.ChildLink, + com.google.spanner.v1.PlanNode.ChildLink.Builder, + com.google.spanner.v1.PlanNode.ChildLinkOrBuilder> getChildLinksFieldBuilder() { if (childLinksBuilder_ == null) { - childLinksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.v1.PlanNode.ChildLink, com.google.spanner.v1.PlanNode.ChildLink.Builder, com.google.spanner.v1.PlanNode.ChildLinkOrBuilder>( - childLinks_, - ((bitField0_ & 0x00000008) != 0), - getParentForChildren(), - isClean()); + childLinksBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.spanner.v1.PlanNode.ChildLink, + com.google.spanner.v1.PlanNode.ChildLink.Builder, + com.google.spanner.v1.PlanNode.ChildLinkOrBuilder>( + childLinks_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); childLinks_ = null; } return childLinksBuilder_; @@ -3603,41 +3909,55 @@ public com.google.spanner.v1.PlanNode.ChildLink.Builder addChildLinksBuilder( private com.google.spanner.v1.PlanNode.ShortRepresentation shortRepresentation_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.PlanNode.ShortRepresentation, com.google.spanner.v1.PlanNode.ShortRepresentation.Builder, com.google.spanner.v1.PlanNode.ShortRepresentationOrBuilder> shortRepresentationBuilder_; + com.google.spanner.v1.PlanNode.ShortRepresentation, + com.google.spanner.v1.PlanNode.ShortRepresentation.Builder, + com.google.spanner.v1.PlanNode.ShortRepresentationOrBuilder> + shortRepresentationBuilder_; /** + * + * *
      * Condensed representation for [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] nodes.
      * 
* * .google.spanner.v1.PlanNode.ShortRepresentation short_representation = 5; + * * @return Whether the shortRepresentation field is set. */ public boolean hasShortRepresentation() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * Condensed representation for [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] nodes.
      * 
* * .google.spanner.v1.PlanNode.ShortRepresentation short_representation = 5; + * * @return The shortRepresentation. */ public com.google.spanner.v1.PlanNode.ShortRepresentation getShortRepresentation() { if (shortRepresentationBuilder_ == null) { - return shortRepresentation_ == null ? com.google.spanner.v1.PlanNode.ShortRepresentation.getDefaultInstance() : shortRepresentation_; + return shortRepresentation_ == null + ? com.google.spanner.v1.PlanNode.ShortRepresentation.getDefaultInstance() + : shortRepresentation_; } else { return shortRepresentationBuilder_.getMessage(); } } /** + * + * *
      * Condensed representation for [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] nodes.
      * 
* * .google.spanner.v1.PlanNode.ShortRepresentation short_representation = 5; */ - public Builder setShortRepresentation(com.google.spanner.v1.PlanNode.ShortRepresentation value) { + public Builder setShortRepresentation( + com.google.spanner.v1.PlanNode.ShortRepresentation value) { if (shortRepresentationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3651,6 +3971,8 @@ public Builder setShortRepresentation(com.google.spanner.v1.PlanNode.ShortRepres return this; } /** + * + * *
      * Condensed representation for [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] nodes.
      * 
@@ -3669,17 +3991,21 @@ public Builder setShortRepresentation( return this; } /** + * + * *
      * Condensed representation for [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] nodes.
      * 
* * .google.spanner.v1.PlanNode.ShortRepresentation short_representation = 5; */ - public Builder mergeShortRepresentation(com.google.spanner.v1.PlanNode.ShortRepresentation value) { + public Builder mergeShortRepresentation( + com.google.spanner.v1.PlanNode.ShortRepresentation value) { if (shortRepresentationBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) && - shortRepresentation_ != null && - shortRepresentation_ != com.google.spanner.v1.PlanNode.ShortRepresentation.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) + && shortRepresentation_ != null + && shortRepresentation_ + != com.google.spanner.v1.PlanNode.ShortRepresentation.getDefaultInstance()) { getShortRepresentationBuilder().mergeFrom(value); } else { shortRepresentation_ = value; @@ -3692,6 +4018,8 @@ public Builder mergeShortRepresentation(com.google.spanner.v1.PlanNode.ShortRepr return this; } /** + * + * *
      * Condensed representation for [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] nodes.
      * 
@@ -3709,33 +4037,42 @@ public Builder clearShortRepresentation() { return this; } /** + * + * *
      * Condensed representation for [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] nodes.
      * 
* * .google.spanner.v1.PlanNode.ShortRepresentation short_representation = 5; */ - public com.google.spanner.v1.PlanNode.ShortRepresentation.Builder getShortRepresentationBuilder() { + public com.google.spanner.v1.PlanNode.ShortRepresentation.Builder + getShortRepresentationBuilder() { bitField0_ |= 0x00000010; onChanged(); return getShortRepresentationFieldBuilder().getBuilder(); } /** + * + * *
      * Condensed representation for [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] nodes.
      * 
* * .google.spanner.v1.PlanNode.ShortRepresentation short_representation = 5; */ - public com.google.spanner.v1.PlanNode.ShortRepresentationOrBuilder getShortRepresentationOrBuilder() { + public com.google.spanner.v1.PlanNode.ShortRepresentationOrBuilder + getShortRepresentationOrBuilder() { if (shortRepresentationBuilder_ != null) { return shortRepresentationBuilder_.getMessageOrBuilder(); } else { - return shortRepresentation_ == null ? - com.google.spanner.v1.PlanNode.ShortRepresentation.getDefaultInstance() : shortRepresentation_; + return shortRepresentation_ == null + ? com.google.spanner.v1.PlanNode.ShortRepresentation.getDefaultInstance() + : shortRepresentation_; } } /** + * + * *
      * Condensed representation for [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] nodes.
      * 
@@ -3743,14 +4080,17 @@ public com.google.spanner.v1.PlanNode.ShortRepresentationOrBuilder getShortRepre * .google.spanner.v1.PlanNode.ShortRepresentation short_representation = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.PlanNode.ShortRepresentation, com.google.spanner.v1.PlanNode.ShortRepresentation.Builder, com.google.spanner.v1.PlanNode.ShortRepresentationOrBuilder> + com.google.spanner.v1.PlanNode.ShortRepresentation, + com.google.spanner.v1.PlanNode.ShortRepresentation.Builder, + com.google.spanner.v1.PlanNode.ShortRepresentationOrBuilder> getShortRepresentationFieldBuilder() { if (shortRepresentationBuilder_ == null) { - shortRepresentationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.PlanNode.ShortRepresentation, com.google.spanner.v1.PlanNode.ShortRepresentation.Builder, com.google.spanner.v1.PlanNode.ShortRepresentationOrBuilder>( - getShortRepresentation(), - getParentForChildren(), - isClean()); + shortRepresentationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.v1.PlanNode.ShortRepresentation, + com.google.spanner.v1.PlanNode.ShortRepresentation.Builder, + com.google.spanner.v1.PlanNode.ShortRepresentationOrBuilder>( + getShortRepresentation(), getParentForChildren(), isClean()); shortRepresentation_ = null; } return shortRepresentationBuilder_; @@ -3758,8 +4098,13 @@ public com.google.spanner.v1.PlanNode.ShortRepresentationOrBuilder getShortRepre private com.google.protobuf.Struct metadata_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> metadataBuilder_; + com.google.protobuf.Struct, + com.google.protobuf.Struct.Builder, + com.google.protobuf.StructOrBuilder> + metadataBuilder_; /** + * + * *
      * Attributes relevant to the node contained in a group of key-value pairs.
      * For example, a Parameter Reference node could have the following
@@ -3771,12 +4116,15 @@ public com.google.spanner.v1.PlanNode.ShortRepresentationOrBuilder getShortRepre
      * 
* * .google.protobuf.Struct metadata = 6; + * * @return Whether the metadata field is set. */ public boolean hasMetadata() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * *
      * Attributes relevant to the node contained in a group of key-value pairs.
      * For example, a Parameter Reference node could have the following
@@ -3788,6 +4136,7 @@ public boolean hasMetadata() {
      * 
* * .google.protobuf.Struct metadata = 6; + * * @return The metadata. */ public com.google.protobuf.Struct getMetadata() { @@ -3798,6 +4147,8 @@ public com.google.protobuf.Struct getMetadata() { } } /** + * + * *
      * Attributes relevant to the node contained in a group of key-value pairs.
      * For example, a Parameter Reference node could have the following
@@ -3824,6 +4175,8 @@ public Builder setMetadata(com.google.protobuf.Struct value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Attributes relevant to the node contained in a group of key-value pairs.
      * For example, a Parameter Reference node could have the following
@@ -3836,8 +4189,7 @@ public Builder setMetadata(com.google.protobuf.Struct value) {
      *
      * .google.protobuf.Struct metadata = 6;
      */
-    public Builder setMetadata(
-        com.google.protobuf.Struct.Builder builderForValue) {
+    public Builder setMetadata(com.google.protobuf.Struct.Builder builderForValue) {
       if (metadataBuilder_ == null) {
         metadata_ = builderForValue.build();
       } else {
@@ -3848,6 +4200,8 @@ public Builder setMetadata(
       return this;
     }
     /**
+     *
+     *
      * 
      * Attributes relevant to the node contained in a group of key-value pairs.
      * For example, a Parameter Reference node could have the following
@@ -3862,9 +4216,9 @@ public Builder setMetadata(
      */
     public Builder mergeMetadata(com.google.protobuf.Struct value) {
       if (metadataBuilder_ == null) {
-        if (((bitField0_ & 0x00000020) != 0) &&
-          metadata_ != null &&
-          metadata_ != com.google.protobuf.Struct.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000020) != 0)
+            && metadata_ != null
+            && metadata_ != com.google.protobuf.Struct.getDefaultInstance()) {
           getMetadataBuilder().mergeFrom(value);
         } else {
           metadata_ = value;
@@ -3877,6 +4231,8 @@ public Builder mergeMetadata(com.google.protobuf.Struct value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Attributes relevant to the node contained in a group of key-value pairs.
      * For example, a Parameter Reference node could have the following
@@ -3900,6 +4256,8 @@ public Builder clearMetadata() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Attributes relevant to the node contained in a group of key-value pairs.
      * For example, a Parameter Reference node could have the following
@@ -3918,6 +4276,8 @@ public com.google.protobuf.Struct.Builder getMetadataBuilder() {
       return getMetadataFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Attributes relevant to the node contained in a group of key-value pairs.
      * For example, a Parameter Reference node could have the following
@@ -3934,11 +4294,12 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {
       if (metadataBuilder_ != null) {
         return metadataBuilder_.getMessageOrBuilder();
       } else {
-        return metadata_ == null ?
-            com.google.protobuf.Struct.getDefaultInstance() : metadata_;
+        return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_;
       }
     }
     /**
+     *
+     *
      * 
      * Attributes relevant to the node contained in a group of key-value pairs.
      * For example, a Parameter Reference node could have the following
@@ -3952,14 +4313,17 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {
      * .google.protobuf.Struct metadata = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> 
+            com.google.protobuf.Struct,
+            com.google.protobuf.Struct.Builder,
+            com.google.protobuf.StructOrBuilder>
         getMetadataFieldBuilder() {
       if (metadataBuilder_ == null) {
-        metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>(
-                getMetadata(),
-                getParentForChildren(),
-                isClean());
+        metadataBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Struct,
+                com.google.protobuf.Struct.Builder,
+                com.google.protobuf.StructOrBuilder>(
+                getMetadata(), getParentForChildren(), isClean());
         metadata_ = null;
       }
       return metadataBuilder_;
@@ -3967,8 +4331,13 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {
 
     private com.google.protobuf.Struct executionStats_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> executionStatsBuilder_;
+            com.google.protobuf.Struct,
+            com.google.protobuf.Struct.Builder,
+            com.google.protobuf.StructOrBuilder>
+        executionStatsBuilder_;
     /**
+     *
+     *
      * 
      * The execution statistics associated with the node, contained in a group of
      * key-value pairs. Only present if the plan was returned as a result of a
@@ -3977,12 +4346,15 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {
      * 
* * .google.protobuf.Struct execution_stats = 7; + * * @return Whether the executionStats field is set. */ public boolean hasExecutionStats() { return ((bitField0_ & 0x00000040) != 0); } /** + * + * *
      * The execution statistics associated with the node, contained in a group of
      * key-value pairs. Only present if the plan was returned as a result of a
@@ -3991,16 +4363,21 @@ public boolean hasExecutionStats() {
      * 
* * .google.protobuf.Struct execution_stats = 7; + * * @return The executionStats. */ public com.google.protobuf.Struct getExecutionStats() { if (executionStatsBuilder_ == null) { - return executionStats_ == null ? com.google.protobuf.Struct.getDefaultInstance() : executionStats_; + return executionStats_ == null + ? com.google.protobuf.Struct.getDefaultInstance() + : executionStats_; } else { return executionStatsBuilder_.getMessage(); } } /** + * + * *
      * The execution statistics associated with the node, contained in a group of
      * key-value pairs. Only present if the plan was returned as a result of a
@@ -4024,6 +4401,8 @@ public Builder setExecutionStats(com.google.protobuf.Struct value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The execution statistics associated with the node, contained in a group of
      * key-value pairs. Only present if the plan was returned as a result of a
@@ -4033,8 +4412,7 @@ public Builder setExecutionStats(com.google.protobuf.Struct value) {
      *
      * .google.protobuf.Struct execution_stats = 7;
      */
-    public Builder setExecutionStats(
-        com.google.protobuf.Struct.Builder builderForValue) {
+    public Builder setExecutionStats(com.google.protobuf.Struct.Builder builderForValue) {
       if (executionStatsBuilder_ == null) {
         executionStats_ = builderForValue.build();
       } else {
@@ -4045,6 +4423,8 @@ public Builder setExecutionStats(
       return this;
     }
     /**
+     *
+     *
      * 
      * The execution statistics associated with the node, contained in a group of
      * key-value pairs. Only present if the plan was returned as a result of a
@@ -4056,9 +4436,9 @@ public Builder setExecutionStats(
      */
     public Builder mergeExecutionStats(com.google.protobuf.Struct value) {
       if (executionStatsBuilder_ == null) {
-        if (((bitField0_ & 0x00000040) != 0) &&
-          executionStats_ != null &&
-          executionStats_ != com.google.protobuf.Struct.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000040) != 0)
+            && executionStats_ != null
+            && executionStats_ != com.google.protobuf.Struct.getDefaultInstance()) {
           getExecutionStatsBuilder().mergeFrom(value);
         } else {
           executionStats_ = value;
@@ -4071,6 +4451,8 @@ public Builder mergeExecutionStats(com.google.protobuf.Struct value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The execution statistics associated with the node, contained in a group of
      * key-value pairs. Only present if the plan was returned as a result of a
@@ -4091,6 +4473,8 @@ public Builder clearExecutionStats() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The execution statistics associated with the node, contained in a group of
      * key-value pairs. Only present if the plan was returned as a result of a
@@ -4106,6 +4490,8 @@ public com.google.protobuf.Struct.Builder getExecutionStatsBuilder() {
       return getExecutionStatsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The execution statistics associated with the node, contained in a group of
      * key-value pairs. Only present if the plan was returned as a result of a
@@ -4119,11 +4505,14 @@ public com.google.protobuf.StructOrBuilder getExecutionStatsOrBuilder() {
       if (executionStatsBuilder_ != null) {
         return executionStatsBuilder_.getMessageOrBuilder();
       } else {
-        return executionStats_ == null ?
-            com.google.protobuf.Struct.getDefaultInstance() : executionStats_;
+        return executionStats_ == null
+            ? com.google.protobuf.Struct.getDefaultInstance()
+            : executionStats_;
       }
     }
     /**
+     *
+     *
      * 
      * The execution statistics associated with the node, contained in a group of
      * key-value pairs. Only present if the plan was returned as a result of a
@@ -4134,21 +4523,24 @@ public com.google.protobuf.StructOrBuilder getExecutionStatsOrBuilder() {
      * .google.protobuf.Struct execution_stats = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> 
+            com.google.protobuf.Struct,
+            com.google.protobuf.Struct.Builder,
+            com.google.protobuf.StructOrBuilder>
         getExecutionStatsFieldBuilder() {
       if (executionStatsBuilder_ == null) {
-        executionStatsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>(
-                getExecutionStats(),
-                getParentForChildren(),
-                isClean());
+        executionStatsBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Struct,
+                com.google.protobuf.Struct.Builder,
+                com.google.protobuf.StructOrBuilder>(
+                getExecutionStats(), getParentForChildren(), isClean());
         executionStats_ = null;
       }
       return executionStatsBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -4158,12 +4550,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.spanner.v1.PlanNode)
   }
 
   // @@protoc_insertion_point(class_scope:google.spanner.v1.PlanNode)
   private static final com.google.spanner.v1.PlanNode DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.spanner.v1.PlanNode();
   }
@@ -4172,27 +4564,27 @@ public static com.google.spanner.v1.PlanNode getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public PlanNode parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public PlanNode parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -4207,6 +4599,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.spanner.v1.PlanNode getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PlanNodeOrBuilder.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PlanNodeOrBuilder.java
similarity index 86%
rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PlanNodeOrBuilder.java
rename to proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PlanNodeOrBuilder.java
index 6d9d85132b9..fa57b333d5f 100644
--- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PlanNodeOrBuilder.java
+++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PlanNodeOrBuilder.java
@@ -1,23 +1,44 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/v1/query_plan.proto
 
 package com.google.spanner.v1;
 
-public interface PlanNodeOrBuilder extends
+public interface PlanNodeOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.spanner.v1.PlanNode)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The `PlanNode`'s index in [node list][google.spanner.v1.QueryPlan.plan_nodes].
    * 
* * int32 index = 1; + * * @return The index. */ int getIndex(); /** + * + * *
    * Used to determine the type of node. May be needed for visualizing
    * different kinds of nodes differently. For example, If the node is a
@@ -27,10 +48,13 @@ public interface PlanNodeOrBuilder extends
    * 
* * .google.spanner.v1.PlanNode.Kind kind = 2; + * * @return The enum numeric value on the wire for kind. */ int getKindValue(); /** + * + * *
    * Used to determine the type of node. May be needed for visualizing
    * different kinds of nodes differently. For example, If the node is a
@@ -40,40 +64,49 @@ public interface PlanNodeOrBuilder extends
    * 
* * .google.spanner.v1.PlanNode.Kind kind = 2; + * * @return The kind. */ com.google.spanner.v1.PlanNode.Kind getKind(); /** + * + * *
    * The display name for the node.
    * 
* * string display_name = 3; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * The display name for the node.
    * 
* * string display_name = 3; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * List of child node `index`es and their relationship to this parent.
    * 
* * repeated .google.spanner.v1.PlanNode.ChildLink child_links = 4; */ - java.util.List - getChildLinksList(); + java.util.List getChildLinksList(); /** + * + * *
    * List of child node `index`es and their relationship to this parent.
    * 
@@ -82,6 +115,8 @@ public interface PlanNodeOrBuilder extends */ com.google.spanner.v1.PlanNode.ChildLink getChildLinks(int index); /** + * + * *
    * List of child node `index`es and their relationship to this parent.
    * 
@@ -90,43 +125,54 @@ public interface PlanNodeOrBuilder extends */ int getChildLinksCount(); /** + * + * *
    * List of child node `index`es and their relationship to this parent.
    * 
* * repeated .google.spanner.v1.PlanNode.ChildLink child_links = 4; */ - java.util.List + java.util.List getChildLinksOrBuilderList(); /** + * + * *
    * List of child node `index`es and their relationship to this parent.
    * 
* * repeated .google.spanner.v1.PlanNode.ChildLink child_links = 4; */ - com.google.spanner.v1.PlanNode.ChildLinkOrBuilder getChildLinksOrBuilder( - int index); + com.google.spanner.v1.PlanNode.ChildLinkOrBuilder getChildLinksOrBuilder(int index); /** + * + * *
    * Condensed representation for [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] nodes.
    * 
* * .google.spanner.v1.PlanNode.ShortRepresentation short_representation = 5; + * * @return Whether the shortRepresentation field is set. */ boolean hasShortRepresentation(); /** + * + * *
    * Condensed representation for [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] nodes.
    * 
* * .google.spanner.v1.PlanNode.ShortRepresentation short_representation = 5; + * * @return The shortRepresentation. */ com.google.spanner.v1.PlanNode.ShortRepresentation getShortRepresentation(); /** + * + * *
    * Condensed representation for [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] nodes.
    * 
@@ -136,6 +182,8 @@ com.google.spanner.v1.PlanNode.ChildLinkOrBuilder getChildLinksOrBuilder( com.google.spanner.v1.PlanNode.ShortRepresentationOrBuilder getShortRepresentationOrBuilder(); /** + * + * *
    * Attributes relevant to the node contained in a group of key-value pairs.
    * For example, a Parameter Reference node could have the following
@@ -147,10 +195,13 @@ com.google.spanner.v1.PlanNode.ChildLinkOrBuilder getChildLinksOrBuilder(
    * 
* * .google.protobuf.Struct metadata = 6; + * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** + * + * *
    * Attributes relevant to the node contained in a group of key-value pairs.
    * For example, a Parameter Reference node could have the following
@@ -162,10 +213,13 @@ com.google.spanner.v1.PlanNode.ChildLinkOrBuilder getChildLinksOrBuilder(
    * 
* * .google.protobuf.Struct metadata = 6; + * * @return The metadata. */ com.google.protobuf.Struct getMetadata(); /** + * + * *
    * Attributes relevant to the node contained in a group of key-value pairs.
    * For example, a Parameter Reference node could have the following
@@ -181,6 +235,8 @@ com.google.spanner.v1.PlanNode.ChildLinkOrBuilder getChildLinksOrBuilder(
   com.google.protobuf.StructOrBuilder getMetadataOrBuilder();
 
   /**
+   *
+   *
    * 
    * The execution statistics associated with the node, contained in a group of
    * key-value pairs. Only present if the plan was returned as a result of a
@@ -189,10 +245,13 @@ com.google.spanner.v1.PlanNode.ChildLinkOrBuilder getChildLinksOrBuilder(
    * 
* * .google.protobuf.Struct execution_stats = 7; + * * @return Whether the executionStats field is set. */ boolean hasExecutionStats(); /** + * + * *
    * The execution statistics associated with the node, contained in a group of
    * key-value pairs. Only present if the plan was returned as a result of a
@@ -201,10 +260,13 @@ com.google.spanner.v1.PlanNode.ChildLinkOrBuilder getChildLinksOrBuilder(
    * 
* * .google.protobuf.Struct execution_stats = 7; + * * @return The executionStats. */ com.google.protobuf.Struct getExecutionStats(); /** + * + * *
    * The execution statistics associated with the node, contained in a group of
    * key-value pairs. Only present if the plan was returned as a result of a
diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/QueryPlan.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/QueryPlan.java
similarity index 74%
rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/QueryPlan.java
rename to proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/QueryPlan.java
index e069c6fac02..609fb5cd3ae 100644
--- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/QueryPlan.java
+++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/QueryPlan.java
@@ -1,57 +1,78 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/v1/query_plan.proto
 
 package com.google.spanner.v1;
 
 /**
+ *
+ *
  * 
  * Contains an ordered list of nodes appearing in the query plan.
  * 
* * Protobuf type {@code google.spanner.v1.QueryPlan} */ -public final class QueryPlan extends - com.google.protobuf.GeneratedMessageV3 implements +public final class QueryPlan extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.spanner.v1.QueryPlan) QueryPlanOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use QueryPlan.newBuilder() to construct. private QueryPlan(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private QueryPlan() { planNodes_ = 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 QueryPlan(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.v1.QueryPlanProto.internal_static_google_spanner_v1_QueryPlan_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.v1.QueryPlanProto + .internal_static_google_spanner_v1_QueryPlan_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.QueryPlanProto.internal_static_google_spanner_v1_QueryPlan_fieldAccessorTable + return com.google.spanner.v1.QueryPlanProto + .internal_static_google_spanner_v1_QueryPlan_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.spanner.v1.QueryPlan.class, com.google.spanner.v1.QueryPlan.Builder.class); } public static final int PLAN_NODES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List planNodes_; /** + * + * *
    * The nodes in the query plan. Plan nodes are returned in pre-order starting
    * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -65,6 +86,8 @@ public java.util.List getPlanNodesList() {
     return planNodes_;
   }
   /**
+   *
+   *
    * 
    * The nodes in the query plan. Plan nodes are returned in pre-order starting
    * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -74,11 +97,13 @@ public java.util.List getPlanNodesList() {
    * repeated .google.spanner.v1.PlanNode plan_nodes = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getPlanNodesOrBuilderList() {
     return planNodes_;
   }
   /**
+   *
+   *
    * 
    * The nodes in the query plan. Plan nodes are returned in pre-order starting
    * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -92,6 +117,8 @@ public int getPlanNodesCount() {
     return planNodes_.size();
   }
   /**
+   *
+   *
    * 
    * The nodes in the query plan. Plan nodes are returned in pre-order starting
    * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -105,6 +132,8 @@ public com.google.spanner.v1.PlanNode getPlanNodes(int index) {
     return planNodes_.get(index);
   }
   /**
+   *
+   *
    * 
    * The nodes in the query plan. Plan nodes are returned in pre-order starting
    * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -114,12 +143,12 @@ public com.google.spanner.v1.PlanNode getPlanNodes(int index) {
    * repeated .google.spanner.v1.PlanNode plan_nodes = 1;
    */
   @java.lang.Override
-  public com.google.spanner.v1.PlanNodeOrBuilder getPlanNodesOrBuilder(
-      int index) {
+  public com.google.spanner.v1.PlanNodeOrBuilder getPlanNodesOrBuilder(int index) {
     return planNodes_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -131,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 {
     for (int i = 0; i < planNodes_.size(); i++) {
       output.writeMessage(1, planNodes_.get(i));
     }
@@ -146,8 +174,7 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < planNodes_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, planNodes_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, planNodes_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -157,15 +184,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.spanner.v1.QueryPlan)) {
       return super.equals(obj);
     }
     com.google.spanner.v1.QueryPlan other = (com.google.spanner.v1.QueryPlan) obj;
 
-    if (!getPlanNodesList()
-        .equals(other.getPlanNodesList())) return false;
+    if (!getPlanNodesList().equals(other.getPlanNodesList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -186,130 +212,134 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.spanner.v1.QueryPlan parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.spanner.v1.QueryPlan parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.spanner.v1.QueryPlan parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.spanner.v1.QueryPlan parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.spanner.v1.QueryPlan parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.spanner.v1.QueryPlan parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.spanner.v1.QueryPlan parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.spanner.v1.QueryPlan parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.spanner.v1.QueryPlan parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.spanner.v1.QueryPlan parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.spanner.v1.QueryPlan 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.spanner.v1.QueryPlan parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.spanner.v1.QueryPlan parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.spanner.v1.QueryPlan parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.spanner.v1.QueryPlan prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Contains an ordered list of nodes appearing in the query plan.
    * 
* * Protobuf type {@code google.spanner.v1.QueryPlan} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.QueryPlan) com.google.spanner.v1.QueryPlanOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.v1.QueryPlanProto.internal_static_google_spanner_v1_QueryPlan_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.v1.QueryPlanProto + .internal_static_google_spanner_v1_QueryPlan_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.QueryPlanProto.internal_static_google_spanner_v1_QueryPlan_fieldAccessorTable + return com.google.spanner.v1.QueryPlanProto + .internal_static_google_spanner_v1_QueryPlan_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.spanner.v1.QueryPlan.class, com.google.spanner.v1.QueryPlan.Builder.class); } // Construct using com.google.spanner.v1.QueryPlan.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -325,9 +355,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.spanner.v1.QueryPlanProto.internal_static_google_spanner_v1_QueryPlan_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.spanner.v1.QueryPlanProto + .internal_static_google_spanner_v1_QueryPlan_descriptor; } @java.lang.Override @@ -348,7 +378,9 @@ public com.google.spanner.v1.QueryPlan build() { public com.google.spanner.v1.QueryPlan buildPartial() { com.google.spanner.v1.QueryPlan result = new com.google.spanner.v1.QueryPlan(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -373,38 +405,39 @@ private void buildPartial0(com.google.spanner.v1.QueryPlan 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.spanner.v1.QueryPlan) { - return mergeFrom((com.google.spanner.v1.QueryPlan)other); + return mergeFrom((com.google.spanner.v1.QueryPlan) other); } else { super.mergeFrom(other); return this; @@ -431,9 +464,10 @@ public Builder mergeFrom(com.google.spanner.v1.QueryPlan other) { planNodesBuilder_ = null; planNodes_ = other.planNodes_; bitField0_ = (bitField0_ & ~0x00000001); - planNodesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getPlanNodesFieldBuilder() : null; + planNodesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getPlanNodesFieldBuilder() + : null; } else { planNodesBuilder_.addAllMessages(other.planNodes_); } @@ -465,25 +499,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.spanner.v1.PlanNode m = - input.readMessage( - com.google.spanner.v1.PlanNode.parser(), - extensionRegistry); - if (planNodesBuilder_ == null) { - ensurePlanNodesIsMutable(); - planNodes_.add(m); - } else { - planNodesBuilder_.addMessage(m); - } - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.spanner.v1.PlanNode m = + input.readMessage(com.google.spanner.v1.PlanNode.parser(), extensionRegistry); + if (planNodesBuilder_ == null) { + ensurePlanNodesIsMutable(); + planNodes_.add(m); + } else { + planNodesBuilder_.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) { @@ -493,21 +527,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List planNodes_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensurePlanNodesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { planNodes_ = new java.util.ArrayList(planNodes_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.v1.PlanNode, com.google.spanner.v1.PlanNode.Builder, com.google.spanner.v1.PlanNodeOrBuilder> planNodesBuilder_; + com.google.spanner.v1.PlanNode, + com.google.spanner.v1.PlanNode.Builder, + com.google.spanner.v1.PlanNodeOrBuilder> + planNodesBuilder_; /** + * + * *
      * The nodes in the query plan. Plan nodes are returned in pre-order starting
      * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -524,6 +565,8 @@ public java.util.List getPlanNodesList() {
       }
     }
     /**
+     *
+     *
      * 
      * The nodes in the query plan. Plan nodes are returned in pre-order starting
      * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -540,6 +583,8 @@ public int getPlanNodesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The nodes in the query plan. Plan nodes are returned in pre-order starting
      * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -556,6 +601,8 @@ public com.google.spanner.v1.PlanNode getPlanNodes(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The nodes in the query plan. Plan nodes are returned in pre-order starting
      * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -564,8 +611,7 @@ public com.google.spanner.v1.PlanNode getPlanNodes(int index) {
      *
      * repeated .google.spanner.v1.PlanNode plan_nodes = 1;
      */
-    public Builder setPlanNodes(
-        int index, com.google.spanner.v1.PlanNode value) {
+    public Builder setPlanNodes(int index, com.google.spanner.v1.PlanNode value) {
       if (planNodesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -579,6 +625,8 @@ public Builder setPlanNodes(
       return this;
     }
     /**
+     *
+     *
      * 
      * The nodes in the query plan. Plan nodes are returned in pre-order starting
      * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -587,8 +635,7 @@ public Builder setPlanNodes(
      *
      * repeated .google.spanner.v1.PlanNode plan_nodes = 1;
      */
-    public Builder setPlanNodes(
-        int index, com.google.spanner.v1.PlanNode.Builder builderForValue) {
+    public Builder setPlanNodes(int index, com.google.spanner.v1.PlanNode.Builder builderForValue) {
       if (planNodesBuilder_ == null) {
         ensurePlanNodesIsMutable();
         planNodes_.set(index, builderForValue.build());
@@ -599,6 +646,8 @@ public Builder setPlanNodes(
       return this;
     }
     /**
+     *
+     *
      * 
      * The nodes in the query plan. Plan nodes are returned in pre-order starting
      * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -621,6 +670,8 @@ public Builder addPlanNodes(com.google.spanner.v1.PlanNode value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The nodes in the query plan. Plan nodes are returned in pre-order starting
      * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -629,8 +680,7 @@ public Builder addPlanNodes(com.google.spanner.v1.PlanNode value) {
      *
      * repeated .google.spanner.v1.PlanNode plan_nodes = 1;
      */
-    public Builder addPlanNodes(
-        int index, com.google.spanner.v1.PlanNode value) {
+    public Builder addPlanNodes(int index, com.google.spanner.v1.PlanNode value) {
       if (planNodesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -644,6 +694,8 @@ public Builder addPlanNodes(
       return this;
     }
     /**
+     *
+     *
      * 
      * The nodes in the query plan. Plan nodes are returned in pre-order starting
      * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -652,8 +704,7 @@ public Builder addPlanNodes(
      *
      * repeated .google.spanner.v1.PlanNode plan_nodes = 1;
      */
-    public Builder addPlanNodes(
-        com.google.spanner.v1.PlanNode.Builder builderForValue) {
+    public Builder addPlanNodes(com.google.spanner.v1.PlanNode.Builder builderForValue) {
       if (planNodesBuilder_ == null) {
         ensurePlanNodesIsMutable();
         planNodes_.add(builderForValue.build());
@@ -664,6 +715,8 @@ public Builder addPlanNodes(
       return this;
     }
     /**
+     *
+     *
      * 
      * The nodes in the query plan. Plan nodes are returned in pre-order starting
      * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -672,8 +725,7 @@ public Builder addPlanNodes(
      *
      * repeated .google.spanner.v1.PlanNode plan_nodes = 1;
      */
-    public Builder addPlanNodes(
-        int index, com.google.spanner.v1.PlanNode.Builder builderForValue) {
+    public Builder addPlanNodes(int index, com.google.spanner.v1.PlanNode.Builder builderForValue) {
       if (planNodesBuilder_ == null) {
         ensurePlanNodesIsMutable();
         planNodes_.add(index, builderForValue.build());
@@ -684,6 +736,8 @@ public Builder addPlanNodes(
       return this;
     }
     /**
+     *
+     *
      * 
      * The nodes in the query plan. Plan nodes are returned in pre-order starting
      * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -696,8 +750,7 @@ public Builder addAllPlanNodes(
         java.lang.Iterable values) {
       if (planNodesBuilder_ == null) {
         ensurePlanNodesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, planNodes_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, planNodes_);
         onChanged();
       } else {
         planNodesBuilder_.addAllMessages(values);
@@ -705,6 +758,8 @@ public Builder addAllPlanNodes(
       return this;
     }
     /**
+     *
+     *
      * 
      * The nodes in the query plan. Plan nodes are returned in pre-order starting
      * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -724,6 +779,8 @@ public Builder clearPlanNodes() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The nodes in the query plan. Plan nodes are returned in pre-order starting
      * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -743,6 +800,8 @@ public Builder removePlanNodes(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The nodes in the query plan. Plan nodes are returned in pre-order starting
      * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -751,11 +810,12 @@ public Builder removePlanNodes(int index) {
      *
      * repeated .google.spanner.v1.PlanNode plan_nodes = 1;
      */
-    public com.google.spanner.v1.PlanNode.Builder getPlanNodesBuilder(
-        int index) {
+    public com.google.spanner.v1.PlanNode.Builder getPlanNodesBuilder(int index) {
       return getPlanNodesFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The nodes in the query plan. Plan nodes are returned in pre-order starting
      * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -764,14 +824,16 @@ public com.google.spanner.v1.PlanNode.Builder getPlanNodesBuilder(
      *
      * repeated .google.spanner.v1.PlanNode plan_nodes = 1;
      */
-    public com.google.spanner.v1.PlanNodeOrBuilder getPlanNodesOrBuilder(
-        int index) {
+    public com.google.spanner.v1.PlanNodeOrBuilder getPlanNodesOrBuilder(int index) {
       if (planNodesBuilder_ == null) {
-        return planNodes_.get(index);  } else {
+        return planNodes_.get(index);
+      } else {
         return planNodesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The nodes in the query plan. Plan nodes are returned in pre-order starting
      * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -780,8 +842,8 @@ public com.google.spanner.v1.PlanNodeOrBuilder getPlanNodesOrBuilder(
      *
      * repeated .google.spanner.v1.PlanNode plan_nodes = 1;
      */
-    public java.util.List 
-         getPlanNodesOrBuilderList() {
+    public java.util.List
+        getPlanNodesOrBuilderList() {
       if (planNodesBuilder_ != null) {
         return planNodesBuilder_.getMessageOrBuilderList();
       } else {
@@ -789,6 +851,8 @@ public com.google.spanner.v1.PlanNodeOrBuilder getPlanNodesOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * The nodes in the query plan. Plan nodes are returned in pre-order starting
      * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -798,10 +862,12 @@ public com.google.spanner.v1.PlanNodeOrBuilder getPlanNodesOrBuilder(
      * repeated .google.spanner.v1.PlanNode plan_nodes = 1;
      */
     public com.google.spanner.v1.PlanNode.Builder addPlanNodesBuilder() {
-      return getPlanNodesFieldBuilder().addBuilder(
-          com.google.spanner.v1.PlanNode.getDefaultInstance());
+      return getPlanNodesFieldBuilder()
+          .addBuilder(com.google.spanner.v1.PlanNode.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The nodes in the query plan. Plan nodes are returned in pre-order starting
      * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -810,12 +876,13 @@ public com.google.spanner.v1.PlanNode.Builder addPlanNodesBuilder() {
      *
      * repeated .google.spanner.v1.PlanNode plan_nodes = 1;
      */
-    public com.google.spanner.v1.PlanNode.Builder addPlanNodesBuilder(
-        int index) {
-      return getPlanNodesFieldBuilder().addBuilder(
-          index, com.google.spanner.v1.PlanNode.getDefaultInstance());
+    public com.google.spanner.v1.PlanNode.Builder addPlanNodesBuilder(int index) {
+      return getPlanNodesFieldBuilder()
+          .addBuilder(index, com.google.spanner.v1.PlanNode.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The nodes in the query plan. Plan nodes are returned in pre-order starting
      * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -824,27 +891,29 @@ public com.google.spanner.v1.PlanNode.Builder addPlanNodesBuilder(
      *
      * repeated .google.spanner.v1.PlanNode plan_nodes = 1;
      */
-    public java.util.List 
-         getPlanNodesBuilderList() {
+    public java.util.List getPlanNodesBuilderList() {
       return getPlanNodesFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.spanner.v1.PlanNode, com.google.spanner.v1.PlanNode.Builder, com.google.spanner.v1.PlanNodeOrBuilder> 
+            com.google.spanner.v1.PlanNode,
+            com.google.spanner.v1.PlanNode.Builder,
+            com.google.spanner.v1.PlanNodeOrBuilder>
         getPlanNodesFieldBuilder() {
       if (planNodesBuilder_ == null) {
-        planNodesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.spanner.v1.PlanNode, com.google.spanner.v1.PlanNode.Builder, com.google.spanner.v1.PlanNodeOrBuilder>(
-                planNodes_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        planNodesBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.spanner.v1.PlanNode,
+                com.google.spanner.v1.PlanNode.Builder,
+                com.google.spanner.v1.PlanNodeOrBuilder>(
+                planNodes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         planNodes_ = null;
       }
       return planNodesBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -854,12 +923,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.spanner.v1.QueryPlan)
   }
 
   // @@protoc_insertion_point(class_scope:google.spanner.v1.QueryPlan)
   private static final com.google.spanner.v1.QueryPlan DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.spanner.v1.QueryPlan();
   }
@@ -868,27 +937,27 @@ public static com.google.spanner.v1.QueryPlan getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public QueryPlan parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public QueryPlan parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -903,6 +972,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.spanner.v1.QueryPlan getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/QueryPlanOrBuilder.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/QueryPlanOrBuilder.java
similarity index 71%
rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/QueryPlanOrBuilder.java
rename to proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/QueryPlanOrBuilder.java
index ba855426f0d..2c570c1e9e1 100644
--- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/QueryPlanOrBuilder.java
+++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/QueryPlanOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/v1/query_plan.proto
 
 package com.google.spanner.v1;
 
-public interface QueryPlanOrBuilder extends
+public interface QueryPlanOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.spanner.v1.QueryPlan)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The nodes in the query plan. Plan nodes are returned in pre-order starting
    * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -16,9 +34,10 @@ public interface QueryPlanOrBuilder extends
    *
    * repeated .google.spanner.v1.PlanNode plan_nodes = 1;
    */
-  java.util.List 
-      getPlanNodesList();
+  java.util.List getPlanNodesList();
   /**
+   *
+   *
    * 
    * The nodes in the query plan. Plan nodes are returned in pre-order starting
    * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -29,6 +48,8 @@ public interface QueryPlanOrBuilder extends
    */
   com.google.spanner.v1.PlanNode getPlanNodes(int index);
   /**
+   *
+   *
    * 
    * The nodes in the query plan. Plan nodes are returned in pre-order starting
    * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -39,6 +60,8 @@ public interface QueryPlanOrBuilder extends
    */
   int getPlanNodesCount();
   /**
+   *
+   *
    * 
    * The nodes in the query plan. Plan nodes are returned in pre-order starting
    * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -47,9 +70,10 @@ public interface QueryPlanOrBuilder extends
    *
    * repeated .google.spanner.v1.PlanNode plan_nodes = 1;
    */
-  java.util.List 
-      getPlanNodesOrBuilderList();
+  java.util.List getPlanNodesOrBuilderList();
   /**
+   *
+   *
    * 
    * The nodes in the query plan. Plan nodes are returned in pre-order starting
    * with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s `id` corresponds to its index in
@@ -58,6 +82,5 @@ public interface QueryPlanOrBuilder extends
    *
    * repeated .google.spanner.v1.PlanNode plan_nodes = 1;
    */
-  com.google.spanner.v1.PlanNodeOrBuilder getPlanNodesOrBuilder(
-      int index);
+  com.google.spanner.v1.PlanNodeOrBuilder getPlanNodesOrBuilder(int index);
 }
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/QueryPlanProto.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/QueryPlanProto.java
new file mode 100644
index 00000000000..c3bc87108b6
--- /dev/null
+++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/QueryPlanProto.java
@@ -0,0 +1,143 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/spanner/v1/query_plan.proto
+
+package com.google.spanner.v1;
+
+public final class QueryPlanProto {
+  private QueryPlanProto() {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_spanner_v1_PlanNode_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_spanner_v1_PlanNode_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_spanner_v1_PlanNode_ChildLink_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_spanner_v1_PlanNode_ChildLink_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_spanner_v1_PlanNode_ShortRepresentation_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_spanner_v1_PlanNode_ShortRepresentation_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_spanner_v1_PlanNode_ShortRepresentation_SubqueriesEntry_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_spanner_v1_PlanNode_ShortRepresentation_SubqueriesEntry_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_spanner_v1_QueryPlan_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_spanner_v1_QueryPlan_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+    return descriptor;
+  }
+
+  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
+
+  static {
+    java.lang.String[] descriptorData = {
+      "\n\"google/spanner/v1/query_plan.proto\022\021go"
+          + "ogle.spanner.v1\032\034google/protobuf/struct."
+          + "proto\"\370\004\n\010PlanNode\022\r\n\005index\030\001 \001(\005\022.\n\004kin"
+          + "d\030\002 \001(\0162 .google.spanner.v1.PlanNode.Kin"
+          + "d\022\024\n\014display_name\030\003 \001(\t\022:\n\013child_links\030\004"
+          + " \003(\0132%.google.spanner.v1.PlanNode.ChildL"
+          + "ink\022M\n\024short_representation\030\005 \001(\0132/.goog"
+          + "le.spanner.v1.PlanNode.ShortRepresentati"
+          + "on\022)\n\010metadata\030\006 \001(\0132\027.google.protobuf.S"
+          + "truct\0220\n\017execution_stats\030\007 \001(\0132\027.google."
+          + "protobuf.Struct\032@\n\tChildLink\022\023\n\013child_in"
+          + "dex\030\001 \001(\005\022\014\n\004type\030\002 \001(\t\022\020\n\010variable\030\003 \001("
+          + "\t\032\262\001\n\023ShortRepresentation\022\023\n\013description"
+          + "\030\001 \001(\t\022S\n\nsubqueries\030\002 \003(\0132?.google.span"
+          + "ner.v1.PlanNode.ShortRepresentation.Subq"
+          + "ueriesEntry\0321\n\017SubqueriesEntry\022\013\n\003key\030\001 "
+          + "\001(\t\022\r\n\005value\030\002 \001(\005:\0028\001\"8\n\004Kind\022\024\n\020KIND_U"
+          + "NSPECIFIED\020\000\022\016\n\nRELATIONAL\020\001\022\n\n\006SCALAR\020\002"
+          + "\"<\n\tQueryPlan\022/\n\nplan_nodes\030\001 \003(\0132\033.goog"
+          + "le.spanner.v1.PlanNodeB\261\001\n\025com.google.sp"
+          + "anner.v1B\016QueryPlanProtoP\001Z5cloud.google"
+          + ".com/go/spanner/apiv1/spannerpb;spannerp"
+          + "b\252\002\027Google.Cloud.Spanner.V1\312\002\027Google\\Clo"
+          + "ud\\Spanner\\V1\352\002\032Google::Cloud::Spanner::"
+          + "V1b\006proto3"
+    };
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData,
+            new com.google.protobuf.Descriptors.FileDescriptor[] {
+              com.google.protobuf.StructProto.getDescriptor(),
+            });
+    internal_static_google_spanner_v1_PlanNode_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_spanner_v1_PlanNode_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_spanner_v1_PlanNode_descriptor,
+            new java.lang.String[] {
+              "Index",
+              "Kind",
+              "DisplayName",
+              "ChildLinks",
+              "ShortRepresentation",
+              "Metadata",
+              "ExecutionStats",
+            });
+    internal_static_google_spanner_v1_PlanNode_ChildLink_descriptor =
+        internal_static_google_spanner_v1_PlanNode_descriptor.getNestedTypes().get(0);
+    internal_static_google_spanner_v1_PlanNode_ChildLink_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_spanner_v1_PlanNode_ChildLink_descriptor,
+            new java.lang.String[] {
+              "ChildIndex", "Type", "Variable",
+            });
+    internal_static_google_spanner_v1_PlanNode_ShortRepresentation_descriptor =
+        internal_static_google_spanner_v1_PlanNode_descriptor.getNestedTypes().get(1);
+    internal_static_google_spanner_v1_PlanNode_ShortRepresentation_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_spanner_v1_PlanNode_ShortRepresentation_descriptor,
+            new java.lang.String[] {
+              "Description", "Subqueries",
+            });
+    internal_static_google_spanner_v1_PlanNode_ShortRepresentation_SubqueriesEntry_descriptor =
+        internal_static_google_spanner_v1_PlanNode_ShortRepresentation_descriptor
+            .getNestedTypes()
+            .get(0);
+    internal_static_google_spanner_v1_PlanNode_ShortRepresentation_SubqueriesEntry_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_spanner_v1_PlanNode_ShortRepresentation_SubqueriesEntry_descriptor,
+            new java.lang.String[] {
+              "Key", "Value",
+            });
+    internal_static_google_spanner_v1_QueryPlan_descriptor =
+        getDescriptor().getMessageTypes().get(1);
+    internal_static_google_spanner_v1_QueryPlan_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_spanner_v1_QueryPlan_descriptor,
+            new java.lang.String[] {
+              "PlanNodes",
+            });
+    com.google.protobuf.StructProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ReadRequest.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ReadRequest.java
similarity index 78%
rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ReadRequest.java
rename to proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ReadRequest.java
index 5791bbde565..5b75750eabf 100644
--- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ReadRequest.java
+++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ReadRequest.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/v1/spanner.proto
 
 package com.google.spanner.v1;
 
 /**
+ *
+ *
  * 
  * The request for [Read][google.spanner.v1.Spanner.Read] and
  * [StreamingRead][google.spanner.v1.Spanner.StreamingRead].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.spanner.v1.ReadRequest}
  */
-public final class ReadRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ReadRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.spanner.v1.ReadRequest)
     ReadRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ReadRequest.newBuilder() to construct.
   private ReadRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ReadRequest() {
     session_ = "";
     table_ = "";
@@ -31,38 +49,45 @@ private ReadRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ReadRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ReadRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.spanner.v1.SpannerProto
+        .internal_static_google_spanner_v1_ReadRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ReadRequest_fieldAccessorTable
+    return com.google.spanner.v1.SpannerProto
+        .internal_static_google_spanner_v1_ReadRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.v1.ReadRequest.class, com.google.spanner.v1.ReadRequest.Builder.class);
+            com.google.spanner.v1.ReadRequest.class,
+            com.google.spanner.v1.ReadRequest.Builder.class);
   }
 
   public static final int SESSION_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object session_ = "";
   /**
+   *
+   *
    * 
    * Required. The session in which the read should be performed.
    * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The session. */ @java.lang.Override @@ -71,29 +96,31 @@ public java.lang.String getSession() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); session_ = s; return s; } } /** + * + * *
    * Required. The session in which the read should be performed.
    * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for session. */ @java.lang.Override - public com.google.protobuf.ByteString - getSessionBytes() { + public com.google.protobuf.ByteString getSessionBytes() { java.lang.Object ref = session_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); session_ = b; return b; } else { @@ -104,12 +131,15 @@ public java.lang.String getSession() { public static final int TRANSACTION_FIELD_NUMBER = 2; private com.google.spanner.v1.TransactionSelector transaction_; /** + * + * *
    * The transaction to use. If none is provided, the default is a
    * temporary read-only transaction with strong concurrency.
    * 
* * .google.spanner.v1.TransactionSelector transaction = 2; + * * @return Whether the transaction field is set. */ @java.lang.Override @@ -117,19 +147,26 @@ public boolean hasTransaction() { return transaction_ != null; } /** + * + * *
    * The transaction to use. If none is provided, the default is a
    * temporary read-only transaction with strong concurrency.
    * 
* * .google.spanner.v1.TransactionSelector transaction = 2; + * * @return The transaction. */ @java.lang.Override public com.google.spanner.v1.TransactionSelector getTransaction() { - return transaction_ == null ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() : transaction_; + return transaction_ == null + ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() + : transaction_; } /** + * + * *
    * The transaction to use. If none is provided, the default is a
    * temporary read-only transaction with strong concurrency.
@@ -139,18 +176,24 @@ public com.google.spanner.v1.TransactionSelector getTransaction() {
    */
   @java.lang.Override
   public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilder() {
-    return transaction_ == null ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() : transaction_;
+    return transaction_ == null
+        ? com.google.spanner.v1.TransactionSelector.getDefaultInstance()
+        : transaction_;
   }
 
   public static final int TABLE_FIELD_NUMBER = 3;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object table_ = "";
   /**
+   *
+   *
    * 
    * Required. The name of the table in the database to be read.
    * 
* * string table = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The table. */ @java.lang.Override @@ -159,29 +202,29 @@ public java.lang.String getTable() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); table_ = s; return s; } } /** + * + * *
    * Required. The name of the table in the database to be read.
    * 
* * string table = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for table. */ @java.lang.Override - public com.google.protobuf.ByteString - getTableBytes() { + public com.google.protobuf.ByteString getTableBytes() { java.lang.Object ref = table_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); table_ = b; return b; } else { @@ -190,9 +233,12 @@ public java.lang.String getTable() { } public static final int INDEX_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object index_ = ""; /** + * + * *
    * If non-empty, the name of an index on [table][google.spanner.v1.ReadRequest.table]. This index is
    * used instead of the table primary key when interpreting [key_set][google.spanner.v1.ReadRequest.key_set]
@@ -200,6 +246,7 @@ public java.lang.String getTable() {
    * 
* * string index = 4; + * * @return The index. */ @java.lang.Override @@ -208,14 +255,15 @@ public java.lang.String getIndex() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); index_ = s; return s; } } /** + * + * *
    * If non-empty, the name of an index on [table][google.spanner.v1.ReadRequest.table]. This index is
    * used instead of the table primary key when interpreting [key_set][google.spanner.v1.ReadRequest.key_set]
@@ -223,16 +271,15 @@ public java.lang.String getIndex() {
    * 
* * string index = 4; + * * @return The bytes for index. */ @java.lang.Override - public com.google.protobuf.ByteString - getIndexBytes() { + public com.google.protobuf.ByteString getIndexBytes() { java.lang.Object ref = index_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); index_ = b; return b; } else { @@ -241,40 +288,49 @@ public java.lang.String getIndex() { } public static final int COLUMNS_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringList columns_; /** + * + * *
    * Required. The columns of [table][google.spanner.v1.ReadRequest.table] to be returned for each row matching
    * this request.
    * 
* * repeated string columns = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return A list containing the columns. */ - public com.google.protobuf.ProtocolStringList - getColumnsList() { + public com.google.protobuf.ProtocolStringList getColumnsList() { return columns_; } /** + * + * *
    * Required. The columns of [table][google.spanner.v1.ReadRequest.table] to be returned for each row matching
    * this request.
    * 
* * repeated string columns = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The count of columns. */ public int getColumnsCount() { return columns_.size(); } /** + * + * *
    * Required. The columns of [table][google.spanner.v1.ReadRequest.table] to be returned for each row matching
    * this request.
    * 
* * repeated string columns = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the element to return. * @return The columns at the given index. */ @@ -282,23 +338,27 @@ public java.lang.String getColumns(int index) { return columns_.get(index); } /** + * + * *
    * Required. The columns of [table][google.spanner.v1.ReadRequest.table] to be returned for each row matching
    * this request.
    * 
* * repeated string columns = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the value to return. * @return The bytes of the columns at the given index. */ - public com.google.protobuf.ByteString - getColumnsBytes(int index) { + public com.google.protobuf.ByteString getColumnsBytes(int index) { return columns_.getByteString(index); } public static final int KEY_SET_FIELD_NUMBER = 6; private com.google.spanner.v1.KeySet keySet_; /** + * + * *
    * Required. `key_set` identifies the rows to be yielded. `key_set` names the
    * primary keys of the rows in [table][google.spanner.v1.ReadRequest.table] to be yielded, unless [index][google.spanner.v1.ReadRequest.index]
@@ -313,6 +373,7 @@ public java.lang.String getColumns(int index) {
    * 
* * .google.spanner.v1.KeySet key_set = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the keySet field is set. */ @java.lang.Override @@ -320,6 +381,8 @@ public boolean hasKeySet() { return keySet_ != null; } /** + * + * *
    * Required. `key_set` identifies the rows to be yielded. `key_set` names the
    * primary keys of the rows in [table][google.spanner.v1.ReadRequest.table] to be yielded, unless [index][google.spanner.v1.ReadRequest.index]
@@ -334,6 +397,7 @@ public boolean hasKeySet() {
    * 
* * .google.spanner.v1.KeySet key_set = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return The keySet. */ @java.lang.Override @@ -341,6 +405,8 @@ public com.google.spanner.v1.KeySet getKeySet() { return keySet_ == null ? com.google.spanner.v1.KeySet.getDefaultInstance() : keySet_; } /** + * + * *
    * Required. `key_set` identifies the rows to be yielded. `key_set` names the
    * primary keys of the rows in [table][google.spanner.v1.ReadRequest.table] to be yielded, unless [index][google.spanner.v1.ReadRequest.index]
@@ -364,6 +430,8 @@ public com.google.spanner.v1.KeySetOrBuilder getKeySetOrBuilder() {
   public static final int LIMIT_FIELD_NUMBER = 8;
   private long limit_ = 0L;
   /**
+   *
+   *
    * 
    * If greater than zero, only the first `limit` rows are yielded. If `limit`
    * is zero, the default is no limit. A limit cannot be specified if
@@ -371,6 +439,7 @@ public com.google.spanner.v1.KeySetOrBuilder getKeySetOrBuilder() {
    * 
* * int64 limit = 8; + * * @return The limit. */ @java.lang.Override @@ -381,6 +450,8 @@ public long getLimit() { public static final int RESUME_TOKEN_FIELD_NUMBER = 9; private com.google.protobuf.ByteString resumeToken_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
    * If this request is resuming a previously interrupted read,
    * `resume_token` should be copied from the last
@@ -391,6 +462,7 @@ public long getLimit() {
    * 
* * bytes resume_token = 9; + * * @return The resumeToken. */ @java.lang.Override @@ -401,6 +473,8 @@ public com.google.protobuf.ByteString getResumeToken() { public static final int PARTITION_TOKEN_FIELD_NUMBER = 10; private com.google.protobuf.ByteString partitionToken_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
    * If present, results will be restricted to the specified partition
    * previously created using PartitionRead().    There must be an exact
@@ -409,6 +483,7 @@ public com.google.protobuf.ByteString getResumeToken() {
    * 
* * bytes partition_token = 10; + * * @return The partitionToken. */ @java.lang.Override @@ -419,11 +494,14 @@ public com.google.protobuf.ByteString getPartitionToken() { public static final int REQUEST_OPTIONS_FIELD_NUMBER = 11; private com.google.spanner.v1.RequestOptions requestOptions_; /** + * + * *
    * Common options for this request.
    * 
* * .google.spanner.v1.RequestOptions request_options = 11; + * * @return Whether the requestOptions field is set. */ @java.lang.Override @@ -431,18 +509,25 @@ public boolean hasRequestOptions() { return requestOptions_ != null; } /** + * + * *
    * Common options for this request.
    * 
* * .google.spanner.v1.RequestOptions request_options = 11; + * * @return The requestOptions. */ @java.lang.Override public com.google.spanner.v1.RequestOptions getRequestOptions() { - return requestOptions_ == null ? com.google.spanner.v1.RequestOptions.getDefaultInstance() : requestOptions_; + return requestOptions_ == null + ? com.google.spanner.v1.RequestOptions.getDefaultInstance() + : requestOptions_; } /** + * + * *
    * Common options for this request.
    * 
@@ -451,12 +536,16 @@ public com.google.spanner.v1.RequestOptions getRequestOptions() { */ @java.lang.Override public com.google.spanner.v1.RequestOptionsOrBuilder getRequestOptionsOrBuilder() { - return requestOptions_ == null ? com.google.spanner.v1.RequestOptions.getDefaultInstance() : requestOptions_; + return requestOptions_ == null + ? com.google.spanner.v1.RequestOptions.getDefaultInstance() + : requestOptions_; } public static final int DATA_BOOST_ENABLED_FIELD_NUMBER = 15; private boolean dataBoostEnabled_ = false; /** + * + * *
    * If this is for a partitioned read and this field is set to `true`, the
    * request will be executed via Spanner independent compute resources.
@@ -465,6 +554,7 @@ public com.google.spanner.v1.RequestOptionsOrBuilder getRequestOptionsOrBuilder(
    * 
* * bool data_boost_enabled = 15; + * * @return The dataBoostEnabled. */ @java.lang.Override @@ -473,6 +563,7 @@ public boolean getDataBoostEnabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -484,8 +575,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(session_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, session_); } @@ -532,8 +622,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, session_); } if (transaction_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getTransaction()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTransaction()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(table_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, table_); @@ -550,28 +639,22 @@ public int getSerializedSize() { size += 1 * getColumnsList().size(); } if (keySet_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getKeySet()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getKeySet()); } if (limit_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(8, limit_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(8, limit_); } if (!resumeToken_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(9, resumeToken_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(9, resumeToken_); } if (!partitionToken_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(10, partitionToken_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(10, partitionToken_); } if (requestOptions_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, getRequestOptions()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getRequestOptions()); } if (dataBoostEnabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(15, dataBoostEnabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(15, dataBoostEnabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -581,44 +664,33 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.spanner.v1.ReadRequest)) { return super.equals(obj); } com.google.spanner.v1.ReadRequest other = (com.google.spanner.v1.ReadRequest) obj; - if (!getSession() - .equals(other.getSession())) return false; + if (!getSession().equals(other.getSession())) return false; if (hasTransaction() != other.hasTransaction()) return false; if (hasTransaction()) { - if (!getTransaction() - .equals(other.getTransaction())) return false; - } - if (!getTable() - .equals(other.getTable())) return false; - if (!getIndex() - .equals(other.getIndex())) return false; - if (!getColumnsList() - .equals(other.getColumnsList())) return false; + if (!getTransaction().equals(other.getTransaction())) return false; + } + if (!getTable().equals(other.getTable())) return false; + if (!getIndex().equals(other.getIndex())) return false; + if (!getColumnsList().equals(other.getColumnsList())) return false; if (hasKeySet() != other.hasKeySet()) return false; if (hasKeySet()) { - if (!getKeySet() - .equals(other.getKeySet())) return false; - } - if (getLimit() - != other.getLimit()) return false; - if (!getResumeToken() - .equals(other.getResumeToken())) return false; - if (!getPartitionToken() - .equals(other.getPartitionToken())) return false; + if (!getKeySet().equals(other.getKeySet())) return false; + } + if (getLimit() != other.getLimit()) return false; + if (!getResumeToken().equals(other.getResumeToken())) return false; + if (!getPartitionToken().equals(other.getPartitionToken())) return false; if (hasRequestOptions() != other.hasRequestOptions()) return false; if (hasRequestOptions()) { - if (!getRequestOptions() - .equals(other.getRequestOptions())) return false; + if (!getRequestOptions().equals(other.getRequestOptions())) return false; } - if (getDataBoostEnabled() - != other.getDataBoostEnabled()) return false; + if (getDataBoostEnabled() != other.getDataBoostEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -649,8 +721,7 @@ public int hashCode() { hash = (53 * hash) + getKeySet().hashCode(); } hash = (37 * hash) + LIMIT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getLimit()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getLimit()); hash = (37 * hash) + RESUME_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getResumeToken().hashCode(); hash = (37 * hash) + PARTITION_TOKEN_FIELD_NUMBER; @@ -660,104 +731,109 @@ public int hashCode() { hash = (53 * hash) + getRequestOptions().hashCode(); } hash = (37 * hash) + DATA_BOOST_ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDataBoostEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDataBoostEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.spanner.v1.ReadRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.spanner.v1.ReadRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.ReadRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.ReadRequest parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.spanner.v1.ReadRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.ReadRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.v1.ReadRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.ReadRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.v1.ReadRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.v1.ReadRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.spanner.v1.ReadRequest 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.spanner.v1.ReadRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.spanner.v1.ReadRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.v1.ReadRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.spanner.v1.ReadRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [Read][google.spanner.v1.Spanner.Read] and
    * [StreamingRead][google.spanner.v1.Spanner.StreamingRead].
@@ -765,33 +841,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.spanner.v1.ReadRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.spanner.v1.ReadRequest)
       com.google.spanner.v1.ReadRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ReadRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.spanner.v1.SpannerProto
+          .internal_static_google_spanner_v1_ReadRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ReadRequest_fieldAccessorTable
+      return com.google.spanner.v1.SpannerProto
+          .internal_static_google_spanner_v1_ReadRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.v1.ReadRequest.class, com.google.spanner.v1.ReadRequest.Builder.class);
+              com.google.spanner.v1.ReadRequest.class,
+              com.google.spanner.v1.ReadRequest.Builder.class);
     }
 
     // Construct using com.google.spanner.v1.ReadRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -824,9 +899,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_ReadRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.spanner.v1.SpannerProto
+          .internal_static_google_spanner_v1_ReadRequest_descriptor;
     }
 
     @java.lang.Override
@@ -847,7 +922,9 @@ public com.google.spanner.v1.ReadRequest build() {
     public com.google.spanner.v1.ReadRequest buildPartial() {
       com.google.spanner.v1.ReadRequest result = new com.google.spanner.v1.ReadRequest(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -866,9 +943,8 @@ private void buildPartial0(com.google.spanner.v1.ReadRequest result) {
         result.session_ = session_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.transaction_ = transactionBuilder_ == null
-            ? transaction_
-            : transactionBuilder_.build();
+        result.transaction_ =
+            transactionBuilder_ == null ? transaction_ : transactionBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
         result.table_ = table_;
@@ -877,9 +953,7 @@ private void buildPartial0(com.google.spanner.v1.ReadRequest result) {
         result.index_ = index_;
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
-        result.keySet_ = keySetBuilder_ == null
-            ? keySet_
-            : keySetBuilder_.build();
+        result.keySet_ = keySetBuilder_ == null ? keySet_ : keySetBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000040) != 0)) {
         result.limit_ = limit_;
@@ -891,9 +965,8 @@ private void buildPartial0(com.google.spanner.v1.ReadRequest result) {
         result.partitionToken_ = partitionToken_;
       }
       if (((from_bitField0_ & 0x00000200) != 0)) {
-        result.requestOptions_ = requestOptionsBuilder_ == null
-            ? requestOptions_
-            : requestOptionsBuilder_.build();
+        result.requestOptions_ =
+            requestOptionsBuilder_ == null ? requestOptions_ : requestOptionsBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000400) != 0)) {
         result.dataBoostEnabled_ = dataBoostEnabled_;
@@ -904,38 +977,39 @@ private void buildPartial0(com.google.spanner.v1.ReadRequest 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.spanner.v1.ReadRequest) {
-        return mergeFrom((com.google.spanner.v1.ReadRequest)other);
+        return mergeFrom((com.google.spanner.v1.ReadRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1016,74 +1090,80 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              session_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getTransactionFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              table_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 34: {
-              index_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            case 42: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureColumnsIsMutable();
-              columns_.add(s);
-              break;
-            } // case 42
-            case 50: {
-              input.readMessage(
-                  getKeySetFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 50
-            case 64: {
-              limit_ = input.readInt64();
-              bitField0_ |= 0x00000040;
-              break;
-            } // case 64
-            case 74: {
-              resumeToken_ = input.readBytes();
-              bitField0_ |= 0x00000080;
-              break;
-            } // case 74
-            case 82: {
-              partitionToken_ = input.readBytes();
-              bitField0_ |= 0x00000100;
-              break;
-            } // case 82
-            case 90: {
-              input.readMessage(
-                  getRequestOptionsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000200;
-              break;
-            } // case 90
-            case 120: {
-              dataBoostEnabled_ = input.readBool();
-              bitField0_ |= 0x00000400;
-              break;
-            } // case 120
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                session_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getTransactionFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                table_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 34:
+              {
+                index_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            case 42:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureColumnsIsMutable();
+                columns_.add(s);
+                break;
+              } // case 42
+            case 50:
+              {
+                input.readMessage(getKeySetFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 50
+            case 64:
+              {
+                limit_ = input.readInt64();
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 64
+            case 74:
+              {
+                resumeToken_ = input.readBytes();
+                bitField0_ |= 0x00000080;
+                break;
+              } // case 74
+            case 82:
+              {
+                partitionToken_ = input.readBytes();
+                bitField0_ |= 0x00000100;
+                break;
+              } // case 82
+            case 90:
+              {
+                input.readMessage(getRequestOptionsFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000200;
+                break;
+              } // case 90
+            case 120:
+              {
+                dataBoostEnabled_ = input.readBool();
+                bitField0_ |= 0x00000400;
+                break;
+              } // case 120
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1093,22 +1173,27 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object session_ = "";
     /**
+     *
+     *
      * 
      * Required. The session in which the read should be performed.
      * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The session. */ public java.lang.String getSession() { java.lang.Object ref = session_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); session_ = s; return s; @@ -1117,20 +1202,23 @@ public java.lang.String getSession() { } } /** + * + * *
      * Required. The session in which the read should be performed.
      * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for session. */ - public com.google.protobuf.ByteString - getSessionBytes() { + public com.google.protobuf.ByteString getSessionBytes() { java.lang.Object ref = session_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); session_ = b; return b; } else { @@ -1138,28 +1226,39 @@ public java.lang.String getSession() { } } /** + * + * *
      * Required. The session in which the read should be performed.
      * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The session to set. * @return This builder for chaining. */ - public Builder setSession( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSession(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } session_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The session in which the read should be performed.
      * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearSession() { @@ -1169,17 +1268,23 @@ public Builder clearSession() { return this; } /** + * + * *
      * Required. The session in which the read should be performed.
      * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for session to set. * @return This builder for chaining. */ - public Builder setSessionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSessionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); session_ = value; bitField0_ |= 0x00000001; @@ -1189,36 +1294,49 @@ public Builder setSessionBytes( private com.google.spanner.v1.TransactionSelector transaction_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.TransactionSelector, com.google.spanner.v1.TransactionSelector.Builder, com.google.spanner.v1.TransactionSelectorOrBuilder> transactionBuilder_; + com.google.spanner.v1.TransactionSelector, + com.google.spanner.v1.TransactionSelector.Builder, + com.google.spanner.v1.TransactionSelectorOrBuilder> + transactionBuilder_; /** + * + * *
      * The transaction to use. If none is provided, the default is a
      * temporary read-only transaction with strong concurrency.
      * 
* * .google.spanner.v1.TransactionSelector transaction = 2; + * * @return Whether the transaction field is set. */ public boolean hasTransaction() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The transaction to use. If none is provided, the default is a
      * temporary read-only transaction with strong concurrency.
      * 
* * .google.spanner.v1.TransactionSelector transaction = 2; + * * @return The transaction. */ public com.google.spanner.v1.TransactionSelector getTransaction() { if (transactionBuilder_ == null) { - return transaction_ == null ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() : transaction_; + return transaction_ == null + ? com.google.spanner.v1.TransactionSelector.getDefaultInstance() + : transaction_; } else { return transactionBuilder_.getMessage(); } } /** + * + * *
      * The transaction to use. If none is provided, the default is a
      * temporary read-only transaction with strong concurrency.
@@ -1240,6 +1358,8 @@ public Builder setTransaction(com.google.spanner.v1.TransactionSelector value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The transaction to use. If none is provided, the default is a
      * temporary read-only transaction with strong concurrency.
@@ -1259,6 +1379,8 @@ public Builder setTransaction(
       return this;
     }
     /**
+     *
+     *
      * 
      * The transaction to use. If none is provided, the default is a
      * temporary read-only transaction with strong concurrency.
@@ -1268,9 +1390,9 @@ public Builder setTransaction(
      */
     public Builder mergeTransaction(com.google.spanner.v1.TransactionSelector value) {
       if (transactionBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0) &&
-          transaction_ != null &&
-          transaction_ != com.google.spanner.v1.TransactionSelector.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0)
+            && transaction_ != null
+            && transaction_ != com.google.spanner.v1.TransactionSelector.getDefaultInstance()) {
           getTransactionBuilder().mergeFrom(value);
         } else {
           transaction_ = value;
@@ -1283,6 +1405,8 @@ public Builder mergeTransaction(com.google.spanner.v1.TransactionSelector value)
       return this;
     }
     /**
+     *
+     *
      * 
      * The transaction to use. If none is provided, the default is a
      * temporary read-only transaction with strong concurrency.
@@ -1301,6 +1425,8 @@ public Builder clearTransaction() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The transaction to use. If none is provided, the default is a
      * temporary read-only transaction with strong concurrency.
@@ -1314,6 +1440,8 @@ public com.google.spanner.v1.TransactionSelector.Builder getTransactionBuilder()
       return getTransactionFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The transaction to use. If none is provided, the default is a
      * temporary read-only transaction with strong concurrency.
@@ -1325,11 +1453,14 @@ public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilde
       if (transactionBuilder_ != null) {
         return transactionBuilder_.getMessageOrBuilder();
       } else {
-        return transaction_ == null ?
-            com.google.spanner.v1.TransactionSelector.getDefaultInstance() : transaction_;
+        return transaction_ == null
+            ? com.google.spanner.v1.TransactionSelector.getDefaultInstance()
+            : transaction_;
       }
     }
     /**
+     *
+     *
      * 
      * The transaction to use. If none is provided, the default is a
      * temporary read-only transaction with strong concurrency.
@@ -1338,14 +1469,17 @@ public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilde
      * .google.spanner.v1.TransactionSelector transaction = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.spanner.v1.TransactionSelector, com.google.spanner.v1.TransactionSelector.Builder, com.google.spanner.v1.TransactionSelectorOrBuilder> 
+            com.google.spanner.v1.TransactionSelector,
+            com.google.spanner.v1.TransactionSelector.Builder,
+            com.google.spanner.v1.TransactionSelectorOrBuilder>
         getTransactionFieldBuilder() {
       if (transactionBuilder_ == null) {
-        transactionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.TransactionSelector, com.google.spanner.v1.TransactionSelector.Builder, com.google.spanner.v1.TransactionSelectorOrBuilder>(
-                getTransaction(),
-                getParentForChildren(),
-                isClean());
+        transactionBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.spanner.v1.TransactionSelector,
+                com.google.spanner.v1.TransactionSelector.Builder,
+                com.google.spanner.v1.TransactionSelectorOrBuilder>(
+                getTransaction(), getParentForChildren(), isClean());
         transaction_ = null;
       }
       return transactionBuilder_;
@@ -1353,18 +1487,20 @@ public com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilde
 
     private java.lang.Object table_ = "";
     /**
+     *
+     *
      * 
      * Required. The name of the table in the database to be read.
      * 
* * string table = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The table. */ public java.lang.String getTable() { java.lang.Object ref = table_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); table_ = s; return s; @@ -1373,20 +1509,21 @@ public java.lang.String getTable() { } } /** + * + * *
      * Required. The name of the table in the database to be read.
      * 
* * string table = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for table. */ - public com.google.protobuf.ByteString - getTableBytes() { + public com.google.protobuf.ByteString getTableBytes() { java.lang.Object ref = table_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); table_ = b; return b; } else { @@ -1394,28 +1531,35 @@ public java.lang.String getTable() { } } /** + * + * *
      * Required. The name of the table in the database to be read.
      * 
* * string table = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The table to set. * @return This builder for chaining. */ - public Builder setTable( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTable(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } table_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Required. The name of the table in the database to be read.
      * 
* * string table = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearTable() { @@ -1425,17 +1569,21 @@ public Builder clearTable() { return this; } /** + * + * *
      * Required. The name of the table in the database to be read.
      * 
* * string table = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for table to set. * @return This builder for chaining. */ - public Builder setTableBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTableBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); table_ = value; bitField0_ |= 0x00000004; @@ -1445,6 +1593,8 @@ public Builder setTableBytes( private java.lang.Object index_ = ""; /** + * + * *
      * If non-empty, the name of an index on [table][google.spanner.v1.ReadRequest.table]. This index is
      * used instead of the table primary key when interpreting [key_set][google.spanner.v1.ReadRequest.key_set]
@@ -1452,13 +1602,13 @@ public Builder setTableBytes(
      * 
* * string index = 4; + * * @return The index. */ public java.lang.String getIndex() { java.lang.Object ref = index_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); index_ = s; return s; @@ -1467,6 +1617,8 @@ public java.lang.String getIndex() { } } /** + * + * *
      * If non-empty, the name of an index on [table][google.spanner.v1.ReadRequest.table]. This index is
      * used instead of the table primary key when interpreting [key_set][google.spanner.v1.ReadRequest.key_set]
@@ -1474,15 +1626,14 @@ public java.lang.String getIndex() {
      * 
* * string index = 4; + * * @return The bytes for index. */ - public com.google.protobuf.ByteString - getIndexBytes() { + public com.google.protobuf.ByteString getIndexBytes() { java.lang.Object ref = index_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); index_ = b; return b; } else { @@ -1490,6 +1641,8 @@ public java.lang.String getIndex() { } } /** + * + * *
      * If non-empty, the name of an index on [table][google.spanner.v1.ReadRequest.table]. This index is
      * used instead of the table primary key when interpreting [key_set][google.spanner.v1.ReadRequest.key_set]
@@ -1497,18 +1650,22 @@ public java.lang.String getIndex() {
      * 
* * string index = 4; + * * @param value The index to set. * @return This builder for chaining. */ - public Builder setIndex( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIndex(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } index_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * If non-empty, the name of an index on [table][google.spanner.v1.ReadRequest.table]. This index is
      * used instead of the table primary key when interpreting [key_set][google.spanner.v1.ReadRequest.key_set]
@@ -1516,6 +1673,7 @@ public Builder setIndex(
      * 
* * string index = 4; + * * @return This builder for chaining. */ public Builder clearIndex() { @@ -1525,6 +1683,8 @@ public Builder clearIndex() { return this; } /** + * + * *
      * If non-empty, the name of an index on [table][google.spanner.v1.ReadRequest.table]. This index is
      * used instead of the table primary key when interpreting [key_set][google.spanner.v1.ReadRequest.key_set]
@@ -1532,12 +1692,14 @@ public Builder clearIndex() {
      * 
* * string index = 4; + * * @param value The bytes for index to set. * @return This builder for chaining. */ - public Builder setIndexBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIndexBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); index_ = value; bitField0_ |= 0x00000008; @@ -1545,45 +1707,55 @@ public Builder setIndexBytes( return this; } - private com.google.protobuf.LazyStringList columns_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList columns_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureColumnsIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { columns_ = new com.google.protobuf.LazyStringArrayList(columns_); bitField0_ |= 0x00000010; - } + } } /** + * + * *
      * Required. The columns of [table][google.spanner.v1.ReadRequest.table] to be returned for each row matching
      * this request.
      * 
* * repeated string columns = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return A list containing the columns. */ - public com.google.protobuf.ProtocolStringList - getColumnsList() { + public com.google.protobuf.ProtocolStringList getColumnsList() { return columns_.getUnmodifiableView(); } /** + * + * *
      * Required. The columns of [table][google.spanner.v1.ReadRequest.table] to be returned for each row matching
      * this request.
      * 
* * repeated string columns = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The count of columns. */ public int getColumnsCount() { return columns_.size(); } /** + * + * *
      * Required. The columns of [table][google.spanner.v1.ReadRequest.table] to be returned for each row matching
      * this request.
      * 
* * repeated string columns = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the element to return. * @return The columns at the given index. */ @@ -1591,81 +1763,95 @@ public java.lang.String getColumns(int index) { return columns_.get(index); } /** + * + * *
      * Required. The columns of [table][google.spanner.v1.ReadRequest.table] to be returned for each row matching
      * this request.
      * 
* * repeated string columns = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the value to return. * @return The bytes of the columns at the given index. */ - public com.google.protobuf.ByteString - getColumnsBytes(int index) { + public com.google.protobuf.ByteString getColumnsBytes(int index) { return columns_.getByteString(index); } /** + * + * *
      * Required. The columns of [table][google.spanner.v1.ReadRequest.table] to be returned for each row matching
      * this request.
      * 
* * repeated string columns = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index to set the value at. * @param value The columns to set. * @return This builder for chaining. */ - public Builder setColumns( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setColumns(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureColumnsIsMutable(); columns_.set(index, value); onChanged(); return this; } /** + * + * *
      * Required. The columns of [table][google.spanner.v1.ReadRequest.table] to be returned for each row matching
      * this request.
      * 
* * repeated string columns = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The columns to add. * @return This builder for chaining. */ - public Builder addColumns( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addColumns(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureColumnsIsMutable(); columns_.add(value); onChanged(); return this; } /** + * + * *
      * Required. The columns of [table][google.spanner.v1.ReadRequest.table] to be returned for each row matching
      * this request.
      * 
* * repeated string columns = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @param values The columns to add. * @return This builder for chaining. */ - public Builder addAllColumns( - java.lang.Iterable values) { + public Builder addAllColumns(java.lang.Iterable values) { ensureColumnsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, columns_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, columns_); onChanged(); return this; } /** + * + * *
      * Required. The columns of [table][google.spanner.v1.ReadRequest.table] to be returned for each row matching
      * this request.
      * 
* * repeated string columns = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearColumns() { @@ -1675,18 +1861,22 @@ public Builder clearColumns() { return this; } /** + * + * *
      * Required. The columns of [table][google.spanner.v1.ReadRequest.table] to be returned for each row matching
      * this request.
      * 
* * repeated string columns = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes of the columns to add. * @return This builder for chaining. */ - public Builder addColumnsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addColumnsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureColumnsIsMutable(); columns_.add(value); @@ -1696,8 +1886,13 @@ public Builder addColumnsBytes( private com.google.spanner.v1.KeySet keySet_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.KeySet, com.google.spanner.v1.KeySet.Builder, com.google.spanner.v1.KeySetOrBuilder> keySetBuilder_; + com.google.spanner.v1.KeySet, + com.google.spanner.v1.KeySet.Builder, + com.google.spanner.v1.KeySetOrBuilder> + keySetBuilder_; /** + * + * *
      * Required. `key_set` identifies the rows to be yielded. `key_set` names the
      * primary keys of the rows in [table][google.spanner.v1.ReadRequest.table] to be yielded, unless [index][google.spanner.v1.ReadRequest.index]
@@ -1712,12 +1907,15 @@ public Builder addColumnsBytes(
      * 
* * .google.spanner.v1.KeySet key_set = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the keySet field is set. */ public boolean hasKeySet() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * *
      * Required. `key_set` identifies the rows to be yielded. `key_set` names the
      * primary keys of the rows in [table][google.spanner.v1.ReadRequest.table] to be yielded, unless [index][google.spanner.v1.ReadRequest.index]
@@ -1732,6 +1930,7 @@ public boolean hasKeySet() {
      * 
* * .google.spanner.v1.KeySet key_set = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return The keySet. */ public com.google.spanner.v1.KeySet getKeySet() { @@ -1742,6 +1941,8 @@ public com.google.spanner.v1.KeySet getKeySet() { } } /** + * + * *
      * Required. `key_set` identifies the rows to be yielded. `key_set` names the
      * primary keys of the rows in [table][google.spanner.v1.ReadRequest.table] to be yielded, unless [index][google.spanner.v1.ReadRequest.index]
@@ -1771,6 +1972,8 @@ public Builder setKeySet(com.google.spanner.v1.KeySet value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Required. `key_set` identifies the rows to be yielded. `key_set` names the
      * primary keys of the rows in [table][google.spanner.v1.ReadRequest.table] to be yielded, unless [index][google.spanner.v1.ReadRequest.index]
@@ -1786,8 +1989,7 @@ public Builder setKeySet(com.google.spanner.v1.KeySet value) {
      *
      * .google.spanner.v1.KeySet key_set = 6 [(.google.api.field_behavior) = REQUIRED];
      */
-    public Builder setKeySet(
-        com.google.spanner.v1.KeySet.Builder builderForValue) {
+    public Builder setKeySet(com.google.spanner.v1.KeySet.Builder builderForValue) {
       if (keySetBuilder_ == null) {
         keySet_ = builderForValue.build();
       } else {
@@ -1798,6 +2000,8 @@ public Builder setKeySet(
       return this;
     }
     /**
+     *
+     *
      * 
      * Required. `key_set` identifies the rows to be yielded. `key_set` names the
      * primary keys of the rows in [table][google.spanner.v1.ReadRequest.table] to be yielded, unless [index][google.spanner.v1.ReadRequest.index]
@@ -1815,9 +2019,9 @@ public Builder setKeySet(
      */
     public Builder mergeKeySet(com.google.spanner.v1.KeySet value) {
       if (keySetBuilder_ == null) {
-        if (((bitField0_ & 0x00000020) != 0) &&
-          keySet_ != null &&
-          keySet_ != com.google.spanner.v1.KeySet.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000020) != 0)
+            && keySet_ != null
+            && keySet_ != com.google.spanner.v1.KeySet.getDefaultInstance()) {
           getKeySetBuilder().mergeFrom(value);
         } else {
           keySet_ = value;
@@ -1830,6 +2034,8 @@ public Builder mergeKeySet(com.google.spanner.v1.KeySet value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Required. `key_set` identifies the rows to be yielded. `key_set` names the
      * primary keys of the rows in [table][google.spanner.v1.ReadRequest.table] to be yielded, unless [index][google.spanner.v1.ReadRequest.index]
@@ -1856,6 +2062,8 @@ public Builder clearKeySet() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Required. `key_set` identifies the rows to be yielded. `key_set` names the
      * primary keys of the rows in [table][google.spanner.v1.ReadRequest.table] to be yielded, unless [index][google.spanner.v1.ReadRequest.index]
@@ -1877,6 +2085,8 @@ public com.google.spanner.v1.KeySet.Builder getKeySetBuilder() {
       return getKeySetFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Required. `key_set` identifies the rows to be yielded. `key_set` names the
      * primary keys of the rows in [table][google.spanner.v1.ReadRequest.table] to be yielded, unless [index][google.spanner.v1.ReadRequest.index]
@@ -1896,11 +2106,12 @@ public com.google.spanner.v1.KeySetOrBuilder getKeySetOrBuilder() {
       if (keySetBuilder_ != null) {
         return keySetBuilder_.getMessageOrBuilder();
       } else {
-        return keySet_ == null ?
-            com.google.spanner.v1.KeySet.getDefaultInstance() : keySet_;
+        return keySet_ == null ? com.google.spanner.v1.KeySet.getDefaultInstance() : keySet_;
       }
     }
     /**
+     *
+     *
      * 
      * Required. `key_set` identifies the rows to be yielded. `key_set` names the
      * primary keys of the rows in [table][google.spanner.v1.ReadRequest.table] to be yielded, unless [index][google.spanner.v1.ReadRequest.index]
@@ -1917,21 +2128,26 @@ public com.google.spanner.v1.KeySetOrBuilder getKeySetOrBuilder() {
      * .google.spanner.v1.KeySet key_set = 6 [(.google.api.field_behavior) = REQUIRED];
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.spanner.v1.KeySet, com.google.spanner.v1.KeySet.Builder, com.google.spanner.v1.KeySetOrBuilder> 
+            com.google.spanner.v1.KeySet,
+            com.google.spanner.v1.KeySet.Builder,
+            com.google.spanner.v1.KeySetOrBuilder>
         getKeySetFieldBuilder() {
       if (keySetBuilder_ == null) {
-        keySetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.KeySet, com.google.spanner.v1.KeySet.Builder, com.google.spanner.v1.KeySetOrBuilder>(
-                getKeySet(),
-                getParentForChildren(),
-                isClean());
+        keySetBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.spanner.v1.KeySet,
+                com.google.spanner.v1.KeySet.Builder,
+                com.google.spanner.v1.KeySetOrBuilder>(
+                getKeySet(), getParentForChildren(), isClean());
         keySet_ = null;
       }
       return keySetBuilder_;
     }
 
-    private long limit_ ;
+    private long limit_;
     /**
+     *
+     *
      * 
      * If greater than zero, only the first `limit` rows are yielded. If `limit`
      * is zero, the default is no limit. A limit cannot be specified if
@@ -1939,6 +2155,7 @@ public com.google.spanner.v1.KeySetOrBuilder getKeySetOrBuilder() {
      * 
* * int64 limit = 8; + * * @return The limit. */ @java.lang.Override @@ -1946,6 +2163,8 @@ public long getLimit() { return limit_; } /** + * + * *
      * If greater than zero, only the first `limit` rows are yielded. If `limit`
      * is zero, the default is no limit. A limit cannot be specified if
@@ -1953,17 +2172,20 @@ public long getLimit() {
      * 
* * int64 limit = 8; + * * @param value The limit to set. * @return This builder for chaining. */ public Builder setLimit(long value) { - + limit_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * *
      * If greater than zero, only the first `limit` rows are yielded. If `limit`
      * is zero, the default is no limit. A limit cannot be specified if
@@ -1971,6 +2193,7 @@ public Builder setLimit(long value) {
      * 
* * int64 limit = 8; + * * @return This builder for chaining. */ public Builder clearLimit() { @@ -1982,6 +2205,8 @@ public Builder clearLimit() { private com.google.protobuf.ByteString resumeToken_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
      * If this request is resuming a previously interrupted read,
      * `resume_token` should be copied from the last
@@ -1992,6 +2217,7 @@ public Builder clearLimit() {
      * 
* * bytes resume_token = 9; + * * @return The resumeToken. */ @java.lang.Override @@ -1999,6 +2225,8 @@ public com.google.protobuf.ByteString getResumeToken() { return resumeToken_; } /** + * + * *
      * If this request is resuming a previously interrupted read,
      * `resume_token` should be copied from the last
@@ -2009,17 +2237,22 @@ public com.google.protobuf.ByteString getResumeToken() {
      * 
* * bytes resume_token = 9; + * * @param value The resumeToken to set. * @return This builder for chaining. */ public Builder setResumeToken(com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + if (value == null) { + throw new NullPointerException(); + } resumeToken_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** + * + * *
      * If this request is resuming a previously interrupted read,
      * `resume_token` should be copied from the last
@@ -2030,6 +2263,7 @@ public Builder setResumeToken(com.google.protobuf.ByteString value) {
      * 
* * bytes resume_token = 9; + * * @return This builder for chaining. */ public Builder clearResumeToken() { @@ -2041,6 +2275,8 @@ public Builder clearResumeToken() { private com.google.protobuf.ByteString partitionToken_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
      * If present, results will be restricted to the specified partition
      * previously created using PartitionRead().    There must be an exact
@@ -2049,6 +2285,7 @@ public Builder clearResumeToken() {
      * 
* * bytes partition_token = 10; + * * @return The partitionToken. */ @java.lang.Override @@ -2056,6 +2293,8 @@ public com.google.protobuf.ByteString getPartitionToken() { return partitionToken_; } /** + * + * *
      * If present, results will be restricted to the specified partition
      * previously created using PartitionRead().    There must be an exact
@@ -2064,17 +2303,22 @@ public com.google.protobuf.ByteString getPartitionToken() {
      * 
* * bytes partition_token = 10; + * * @param value The partitionToken to set. * @return This builder for chaining. */ public Builder setPartitionToken(com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + if (value == null) { + throw new NullPointerException(); + } partitionToken_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** + * + * *
      * If present, results will be restricted to the specified partition
      * previously created using PartitionRead().    There must be an exact
@@ -2083,6 +2327,7 @@ public Builder setPartitionToken(com.google.protobuf.ByteString value) {
      * 
* * bytes partition_token = 10; + * * @return This builder for chaining. */ public Builder clearPartitionToken() { @@ -2094,34 +2339,47 @@ public Builder clearPartitionToken() { private com.google.spanner.v1.RequestOptions requestOptions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.RequestOptions, com.google.spanner.v1.RequestOptions.Builder, com.google.spanner.v1.RequestOptionsOrBuilder> requestOptionsBuilder_; + com.google.spanner.v1.RequestOptions, + com.google.spanner.v1.RequestOptions.Builder, + com.google.spanner.v1.RequestOptionsOrBuilder> + requestOptionsBuilder_; /** + * + * *
      * Common options for this request.
      * 
* * .google.spanner.v1.RequestOptions request_options = 11; + * * @return Whether the requestOptions field is set. */ public boolean hasRequestOptions() { return ((bitField0_ & 0x00000200) != 0); } /** + * + * *
      * Common options for this request.
      * 
* * .google.spanner.v1.RequestOptions request_options = 11; + * * @return The requestOptions. */ public com.google.spanner.v1.RequestOptions getRequestOptions() { if (requestOptionsBuilder_ == null) { - return requestOptions_ == null ? com.google.spanner.v1.RequestOptions.getDefaultInstance() : requestOptions_; + return requestOptions_ == null + ? com.google.spanner.v1.RequestOptions.getDefaultInstance() + : requestOptions_; } else { return requestOptionsBuilder_.getMessage(); } } /** + * + * *
      * Common options for this request.
      * 
@@ -2142,14 +2400,15 @@ public Builder setRequestOptions(com.google.spanner.v1.RequestOptions value) { return this; } /** + * + * *
      * Common options for this request.
      * 
* * .google.spanner.v1.RequestOptions request_options = 11; */ - public Builder setRequestOptions( - com.google.spanner.v1.RequestOptions.Builder builderForValue) { + public Builder setRequestOptions(com.google.spanner.v1.RequestOptions.Builder builderForValue) { if (requestOptionsBuilder_ == null) { requestOptions_ = builderForValue.build(); } else { @@ -2160,6 +2419,8 @@ public Builder setRequestOptions( return this; } /** + * + * *
      * Common options for this request.
      * 
@@ -2168,9 +2429,9 @@ public Builder setRequestOptions( */ public Builder mergeRequestOptions(com.google.spanner.v1.RequestOptions value) { if (requestOptionsBuilder_ == null) { - if (((bitField0_ & 0x00000200) != 0) && - requestOptions_ != null && - requestOptions_ != com.google.spanner.v1.RequestOptions.getDefaultInstance()) { + if (((bitField0_ & 0x00000200) != 0) + && requestOptions_ != null + && requestOptions_ != com.google.spanner.v1.RequestOptions.getDefaultInstance()) { getRequestOptionsBuilder().mergeFrom(value); } else { requestOptions_ = value; @@ -2183,6 +2444,8 @@ public Builder mergeRequestOptions(com.google.spanner.v1.RequestOptions value) { return this; } /** + * + * *
      * Common options for this request.
      * 
@@ -2200,6 +2463,8 @@ public Builder clearRequestOptions() { return this; } /** + * + * *
      * Common options for this request.
      * 
@@ -2212,6 +2477,8 @@ public com.google.spanner.v1.RequestOptions.Builder getRequestOptionsBuilder() { return getRequestOptionsFieldBuilder().getBuilder(); } /** + * + * *
      * Common options for this request.
      * 
@@ -2222,11 +2489,14 @@ public com.google.spanner.v1.RequestOptionsOrBuilder getRequestOptionsOrBuilder( if (requestOptionsBuilder_ != null) { return requestOptionsBuilder_.getMessageOrBuilder(); } else { - return requestOptions_ == null ? - com.google.spanner.v1.RequestOptions.getDefaultInstance() : requestOptions_; + return requestOptions_ == null + ? com.google.spanner.v1.RequestOptions.getDefaultInstance() + : requestOptions_; } } /** + * + * *
      * Common options for this request.
      * 
@@ -2234,21 +2504,26 @@ public com.google.spanner.v1.RequestOptionsOrBuilder getRequestOptionsOrBuilder( * .google.spanner.v1.RequestOptions request_options = 11; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.RequestOptions, com.google.spanner.v1.RequestOptions.Builder, com.google.spanner.v1.RequestOptionsOrBuilder> + com.google.spanner.v1.RequestOptions, + com.google.spanner.v1.RequestOptions.Builder, + com.google.spanner.v1.RequestOptionsOrBuilder> getRequestOptionsFieldBuilder() { if (requestOptionsBuilder_ == null) { - requestOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.RequestOptions, com.google.spanner.v1.RequestOptions.Builder, com.google.spanner.v1.RequestOptionsOrBuilder>( - getRequestOptions(), - getParentForChildren(), - isClean()); + requestOptionsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.v1.RequestOptions, + com.google.spanner.v1.RequestOptions.Builder, + com.google.spanner.v1.RequestOptionsOrBuilder>( + getRequestOptions(), getParentForChildren(), isClean()); requestOptions_ = null; } return requestOptionsBuilder_; } - private boolean dataBoostEnabled_ ; + private boolean dataBoostEnabled_; /** + * + * *
      * If this is for a partitioned read and this field is set to `true`, the
      * request will be executed via Spanner independent compute resources.
@@ -2257,6 +2532,7 @@ public com.google.spanner.v1.RequestOptionsOrBuilder getRequestOptionsOrBuilder(
      * 
* * bool data_boost_enabled = 15; + * * @return The dataBoostEnabled. */ @java.lang.Override @@ -2264,6 +2540,8 @@ public boolean getDataBoostEnabled() { return dataBoostEnabled_; } /** + * + * *
      * If this is for a partitioned read and this field is set to `true`, the
      * request will be executed via Spanner independent compute resources.
@@ -2272,17 +2550,20 @@ public boolean getDataBoostEnabled() {
      * 
* * bool data_boost_enabled = 15; + * * @param value The dataBoostEnabled to set. * @return This builder for chaining. */ public Builder setDataBoostEnabled(boolean value) { - + dataBoostEnabled_ = value; bitField0_ |= 0x00000400; onChanged(); return this; } /** + * + * *
      * If this is for a partitioned read and this field is set to `true`, the
      * request will be executed via Spanner independent compute resources.
@@ -2291,6 +2572,7 @@ public Builder setDataBoostEnabled(boolean value) {
      * 
* * bool data_boost_enabled = 15; + * * @return This builder for chaining. */ public Builder clearDataBoostEnabled() { @@ -2299,9 +2581,9 @@ public Builder clearDataBoostEnabled() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2311,12 +2593,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.v1.ReadRequest) } // @@protoc_insertion_point(class_scope:google.spanner.v1.ReadRequest) private static final com.google.spanner.v1.ReadRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.v1.ReadRequest(); } @@ -2325,27 +2607,27 @@ public static com.google.spanner.v1.ReadRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReadRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReadRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2360,6 +2642,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.ReadRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ReadRequestOrBuilder.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ReadRequestOrBuilder.java similarity index 87% rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ReadRequestOrBuilder.java rename to proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ReadRequestOrBuilder.java index 9372473838f..fc986d632d4 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ReadRequestOrBuilder.java +++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ReadRequestOrBuilder.java @@ -1,53 +1,86 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/spanner.proto package com.google.spanner.v1; -public interface ReadRequestOrBuilder extends +public interface ReadRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.ReadRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The session in which the read should be performed.
    * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The session. */ java.lang.String getSession(); /** + * + * *
    * Required. The session in which the read should be performed.
    * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for session. */ - com.google.protobuf.ByteString - getSessionBytes(); + com.google.protobuf.ByteString getSessionBytes(); /** + * + * *
    * The transaction to use. If none is provided, the default is a
    * temporary read-only transaction with strong concurrency.
    * 
* * .google.spanner.v1.TransactionSelector transaction = 2; + * * @return Whether the transaction field is set. */ boolean hasTransaction(); /** + * + * *
    * The transaction to use. If none is provided, the default is a
    * temporary read-only transaction with strong concurrency.
    * 
* * .google.spanner.v1.TransactionSelector transaction = 2; + * * @return The transaction. */ com.google.spanner.v1.TransactionSelector getTransaction(); /** + * + * *
    * The transaction to use. If none is provided, the default is a
    * temporary read-only transaction with strong concurrency.
@@ -58,26 +91,33 @@ public interface ReadRequestOrBuilder extends
   com.google.spanner.v1.TransactionSelectorOrBuilder getTransactionOrBuilder();
 
   /**
+   *
+   *
    * 
    * Required. The name of the table in the database to be read.
    * 
* * string table = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The table. */ java.lang.String getTable(); /** + * + * *
    * Required. The name of the table in the database to be read.
    * 
* * string table = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for table. */ - com.google.protobuf.ByteString - getTableBytes(); + com.google.protobuf.ByteString getTableBytes(); /** + * + * *
    * If non-empty, the name of an index on [table][google.spanner.v1.ReadRequest.table]. This index is
    * used instead of the table primary key when interpreting [key_set][google.spanner.v1.ReadRequest.key_set]
@@ -85,10 +125,13 @@ public interface ReadRequestOrBuilder extends
    * 
* * string index = 4; + * * @return The index. */ java.lang.String getIndex(); /** + * + * *
    * If non-empty, the name of an index on [table][google.spanner.v1.ReadRequest.table]. This index is
    * used instead of the table primary key when interpreting [key_set][google.spanner.v1.ReadRequest.key_set]
@@ -96,57 +139,69 @@ public interface ReadRequestOrBuilder extends
    * 
* * string index = 4; + * * @return The bytes for index. */ - com.google.protobuf.ByteString - getIndexBytes(); + com.google.protobuf.ByteString getIndexBytes(); /** + * + * *
    * Required. The columns of [table][google.spanner.v1.ReadRequest.table] to be returned for each row matching
    * this request.
    * 
* * repeated string columns = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return A list containing the columns. */ - java.util.List - getColumnsList(); + java.util.List getColumnsList(); /** + * + * *
    * Required. The columns of [table][google.spanner.v1.ReadRequest.table] to be returned for each row matching
    * this request.
    * 
* * repeated string columns = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The count of columns. */ int getColumnsCount(); /** + * + * *
    * Required. The columns of [table][google.spanner.v1.ReadRequest.table] to be returned for each row matching
    * this request.
    * 
* * repeated string columns = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the element to return. * @return The columns at the given index. */ java.lang.String getColumns(int index); /** + * + * *
    * Required. The columns of [table][google.spanner.v1.ReadRequest.table] to be returned for each row matching
    * this request.
    * 
* * repeated string columns = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the value to return. * @return The bytes of the columns at the given index. */ - com.google.protobuf.ByteString - getColumnsBytes(int index); + com.google.protobuf.ByteString getColumnsBytes(int index); /** + * + * *
    * Required. `key_set` identifies the rows to be yielded. `key_set` names the
    * primary keys of the rows in [table][google.spanner.v1.ReadRequest.table] to be yielded, unless [index][google.spanner.v1.ReadRequest.index]
@@ -161,10 +216,13 @@ public interface ReadRequestOrBuilder extends
    * 
* * .google.spanner.v1.KeySet key_set = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the keySet field is set. */ boolean hasKeySet(); /** + * + * *
    * Required. `key_set` identifies the rows to be yielded. `key_set` names the
    * primary keys of the rows in [table][google.spanner.v1.ReadRequest.table] to be yielded, unless [index][google.spanner.v1.ReadRequest.index]
@@ -179,10 +237,13 @@ public interface ReadRequestOrBuilder extends
    * 
* * .google.spanner.v1.KeySet key_set = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return The keySet. */ com.google.spanner.v1.KeySet getKeySet(); /** + * + * *
    * Required. `key_set` identifies the rows to be yielded. `key_set` names the
    * primary keys of the rows in [table][google.spanner.v1.ReadRequest.table] to be yielded, unless [index][google.spanner.v1.ReadRequest.index]
@@ -201,6 +262,8 @@ public interface ReadRequestOrBuilder extends
   com.google.spanner.v1.KeySetOrBuilder getKeySetOrBuilder();
 
   /**
+   *
+   *
    * 
    * If greater than zero, only the first `limit` rows are yielded. If `limit`
    * is zero, the default is no limit. A limit cannot be specified if
@@ -208,11 +271,14 @@ public interface ReadRequestOrBuilder extends
    * 
* * int64 limit = 8; + * * @return The limit. */ long getLimit(); /** + * + * *
    * If this request is resuming a previously interrupted read,
    * `resume_token` should be copied from the last
@@ -223,11 +289,14 @@ public interface ReadRequestOrBuilder extends
    * 
* * bytes resume_token = 9; + * * @return The resumeToken. */ com.google.protobuf.ByteString getResumeToken(); /** + * + * *
    * If present, results will be restricted to the specified partition
    * previously created using PartitionRead().    There must be an exact
@@ -236,29 +305,38 @@ public interface ReadRequestOrBuilder extends
    * 
* * bytes partition_token = 10; + * * @return The partitionToken. */ com.google.protobuf.ByteString getPartitionToken(); /** + * + * *
    * Common options for this request.
    * 
* * .google.spanner.v1.RequestOptions request_options = 11; + * * @return Whether the requestOptions field is set. */ boolean hasRequestOptions(); /** + * + * *
    * Common options for this request.
    * 
* * .google.spanner.v1.RequestOptions request_options = 11; + * * @return The requestOptions. */ com.google.spanner.v1.RequestOptions getRequestOptions(); /** + * + * *
    * Common options for this request.
    * 
@@ -268,6 +346,8 @@ public interface ReadRequestOrBuilder extends com.google.spanner.v1.RequestOptionsOrBuilder getRequestOptionsOrBuilder(); /** + * + * *
    * If this is for a partitioned read and this field is set to `true`, the
    * request will be executed via Spanner independent compute resources.
@@ -276,6 +356,7 @@ public interface ReadRequestOrBuilder extends
    * 
* * bool data_boost_enabled = 15; + * * @return The dataBoostEnabled. */ boolean getDataBoostEnabled(); diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RequestOptions.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RequestOptions.java similarity index 76% rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RequestOptions.java rename to proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RequestOptions.java index 8b366ed3e99..bdce7978e3a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RequestOptions.java +++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RequestOptions.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/spanner.proto package com.google.spanner.v1; /** + * + * *
  * Common request options for various APIs.
  * 
* * Protobuf type {@code google.spanner.v1.RequestOptions} */ -public final class RequestOptions extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RequestOptions extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.spanner.v1.RequestOptions) RequestOptionsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RequestOptions.newBuilder() to construct. private RequestOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RequestOptions() { priority_ = 0; requestTag_ = ""; @@ -27,30 +45,33 @@ private RequestOptions() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RequestOptions(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_RequestOptions_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_RequestOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_RequestOptions_fieldAccessorTable + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_RequestOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.RequestOptions.class, com.google.spanner.v1.RequestOptions.Builder.class); + com.google.spanner.v1.RequestOptions.class, + com.google.spanner.v1.RequestOptions.Builder.class); } /** + * + * *
    * The relative priority for requests. Note that priority is not applicable
    * for [BeginTransaction][google.spanner.v1.Spanner.BeginTransaction].
@@ -70,9 +91,10 @@ protected java.lang.Object newInstance(
    *
    * Protobuf enum {@code google.spanner.v1.RequestOptions.Priority}
    */
-  public enum Priority
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum Priority implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * `PRIORITY_UNSPECIFIED` is equivalent to `PRIORITY_HIGH`.
      * 
@@ -81,6 +103,8 @@ public enum Priority */ PRIORITY_UNSPECIFIED(0), /** + * + * *
      * This specifies that the request is low priority.
      * 
@@ -89,6 +113,8 @@ public enum Priority */ PRIORITY_LOW(1), /** + * + * *
      * This specifies that the request is medium priority.
      * 
@@ -97,6 +123,8 @@ public enum Priority */ PRIORITY_MEDIUM(2), /** + * + * *
      * This specifies that the request is high priority.
      * 
@@ -108,6 +136,8 @@ public enum Priority ; /** + * + * *
      * `PRIORITY_UNSPECIFIED` is equivalent to `PRIORITY_HIGH`.
      * 
@@ -116,6 +146,8 @@ public enum Priority */ public static final int PRIORITY_UNSPECIFIED_VALUE = 0; /** + * + * *
      * This specifies that the request is low priority.
      * 
@@ -124,6 +156,8 @@ public enum Priority */ public static final int PRIORITY_LOW_VALUE = 1; /** + * + * *
      * This specifies that the request is medium priority.
      * 
@@ -132,6 +166,8 @@ public enum Priority */ public static final int PRIORITY_MEDIUM_VALUE = 2; /** + * + * *
      * This specifies that the request is high priority.
      * 
@@ -140,7 +176,6 @@ public enum Priority */ public static final int PRIORITY_HIGH_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -165,50 +200,51 @@ public static Priority valueOf(int value) { */ public static Priority forNumber(int value) { switch (value) { - case 0: return PRIORITY_UNSPECIFIED; - case 1: return PRIORITY_LOW; - case 2: return PRIORITY_MEDIUM; - case 3: return PRIORITY_HIGH; - default: return null; + case 0: + return PRIORITY_UNSPECIFIED; + case 1: + return PRIORITY_LOW; + case 2: + return PRIORITY_MEDIUM; + case 3: + return PRIORITY_HIGH; + 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< - Priority> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Priority findValueByNumber(int number) { - return Priority.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 Priority findValueByNumber(int number) { + return Priority.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.spanner.v1.RequestOptions.getDescriptor().getEnumTypes().get(0); } private static final Priority[] VALUES = values(); - public static Priority valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Priority 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; @@ -228,33 +264,45 @@ private Priority(int value) { public static final int PRIORITY_FIELD_NUMBER = 1; private int priority_ = 0; /** + * + * *
    * Priority for the request.
    * 
* * .google.spanner.v1.RequestOptions.Priority priority = 1; + * * @return The enum numeric value on the wire for priority. */ - @java.lang.Override public int getPriorityValue() { + @java.lang.Override + public int getPriorityValue() { return priority_; } /** + * + * *
    * Priority for the request.
    * 
* * .google.spanner.v1.RequestOptions.Priority priority = 1; + * * @return The priority. */ - @java.lang.Override public com.google.spanner.v1.RequestOptions.Priority getPriority() { - com.google.spanner.v1.RequestOptions.Priority result = com.google.spanner.v1.RequestOptions.Priority.forNumber(priority_); + @java.lang.Override + public com.google.spanner.v1.RequestOptions.Priority getPriority() { + com.google.spanner.v1.RequestOptions.Priority result = + com.google.spanner.v1.RequestOptions.Priority.forNumber(priority_); return result == null ? com.google.spanner.v1.RequestOptions.Priority.UNRECOGNIZED : result; } public static final int REQUEST_TAG_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object requestTag_ = ""; /** + * + * *
    * A per-request tag which can be applied to queries or reads, used for
    * statistics collection.
@@ -269,6 +317,7 @@ private Priority(int value) {
    * 
* * string request_tag = 2; + * * @return The requestTag. */ @java.lang.Override @@ -277,14 +326,15 @@ public java.lang.String getRequestTag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestTag_ = s; return s; } } /** + * + * *
    * A per-request tag which can be applied to queries or reads, used for
    * statistics collection.
@@ -299,16 +349,15 @@ public java.lang.String getRequestTag() {
    * 
* * string request_tag = 2; + * * @return The bytes for requestTag. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestTagBytes() { + public com.google.protobuf.ByteString getRequestTagBytes() { java.lang.Object ref = requestTag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestTag_ = b; return b; } else { @@ -317,9 +366,12 @@ public java.lang.String getRequestTag() { } public static final int TRANSACTION_TAG_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object transactionTag_ = ""; /** + * + * *
    * A tag used for statistics collection about this transaction.
    * Both request_tag and transaction_tag can be specified for a read or query
@@ -335,6 +387,7 @@ public java.lang.String getRequestTag() {
    * 
* * string transaction_tag = 3; + * * @return The transactionTag. */ @java.lang.Override @@ -343,14 +396,15 @@ public java.lang.String getTransactionTag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); transactionTag_ = s; return s; } } /** + * + * *
    * A tag used for statistics collection about this transaction.
    * Both request_tag and transaction_tag can be specified for a read or query
@@ -366,16 +420,15 @@ public java.lang.String getTransactionTag() {
    * 
* * string transaction_tag = 3; + * * @return The bytes for transactionTag. */ @java.lang.Override - public com.google.protobuf.ByteString - getTransactionTagBytes() { + public com.google.protobuf.ByteString getTransactionTagBytes() { java.lang.Object ref = transactionTag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); transactionTag_ = b; return b; } else { @@ -384,6 +437,7 @@ public java.lang.String getTransactionTag() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -395,9 +449,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (priority_ != com.google.spanner.v1.RequestOptions.Priority.PRIORITY_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (priority_ + != com.google.spanner.v1.RequestOptions.Priority.PRIORITY_UNSPECIFIED.getNumber()) { output.writeEnum(1, priority_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestTag_)) { @@ -415,9 +469,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (priority_ != com.google.spanner.v1.RequestOptions.Priority.PRIORITY_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, priority_); + if (priority_ + != com.google.spanner.v1.RequestOptions.Priority.PRIORITY_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, priority_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestTag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, requestTag_); @@ -433,7 +487,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.spanner.v1.RequestOptions)) { return super.equals(obj); @@ -441,10 +495,8 @@ public boolean equals(final java.lang.Object obj) { com.google.spanner.v1.RequestOptions other = (com.google.spanner.v1.RequestOptions) obj; if (priority_ != other.priority_) return false; - if (!getRequestTag() - .equals(other.getRequestTag())) return false; - if (!getTransactionTag() - .equals(other.getTransactionTag())) return false; + if (!getRequestTag().equals(other.getRequestTag())) return false; + if (!getTransactionTag().equals(other.getTransactionTag())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -467,130 +519,135 @@ public int hashCode() { return hash; } - public static com.google.spanner.v1.RequestOptions parseFrom( - java.nio.ByteBuffer data) + public static com.google.spanner.v1.RequestOptions parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.RequestOptions parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.RequestOptions parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.spanner.v1.RequestOptions parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.RequestOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.v1.RequestOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.RequestOptions parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.v1.RequestOptions parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.v1.RequestOptions parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.spanner.v1.RequestOptions 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.spanner.v1.RequestOptions parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.spanner.v1.RequestOptions parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.v1.RequestOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.spanner.v1.RequestOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Common request options for various APIs.
    * 
* * Protobuf type {@code google.spanner.v1.RequestOptions} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.RequestOptions) com.google.spanner.v1.RequestOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_RequestOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_RequestOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_RequestOptions_fieldAccessorTable + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_RequestOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.RequestOptions.class, com.google.spanner.v1.RequestOptions.Builder.class); + com.google.spanner.v1.RequestOptions.class, + com.google.spanner.v1.RequestOptions.Builder.class); } // Construct using com.google.spanner.v1.RequestOptions.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -602,9 +659,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_RequestOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_RequestOptions_descriptor; } @java.lang.Override @@ -624,7 +681,9 @@ public com.google.spanner.v1.RequestOptions build() { @java.lang.Override public com.google.spanner.v1.RequestOptions buildPartial() { com.google.spanner.v1.RequestOptions result = new com.google.spanner.v1.RequestOptions(this); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -646,38 +705,39 @@ private void buildPartial0(com.google.spanner.v1.RequestOptions 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.spanner.v1.RequestOptions) { - return mergeFrom((com.google.spanner.v1.RequestOptions)other); + return mergeFrom((com.google.spanner.v1.RequestOptions) other); } else { super.mergeFrom(other); return this; @@ -725,27 +785,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - priority_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - requestTag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - transactionTag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + priority_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + requestTag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + transactionTag_ = 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) { @@ -755,26 +819,34 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int priority_ = 0; /** + * + * *
      * Priority for the request.
      * 
* * .google.spanner.v1.RequestOptions.Priority priority = 1; + * * @return The enum numeric value on the wire for priority. */ - @java.lang.Override public int getPriorityValue() { + @java.lang.Override + public int getPriorityValue() { return priority_; } /** + * + * *
      * Priority for the request.
      * 
* * .google.spanner.v1.RequestOptions.Priority priority = 1; + * * @param value The enum numeric value on the wire for priority to set. * @return This builder for chaining. */ @@ -785,24 +857,31 @@ public Builder setPriorityValue(int value) { return this; } /** + * + * *
      * Priority for the request.
      * 
* * .google.spanner.v1.RequestOptions.Priority priority = 1; + * * @return The priority. */ @java.lang.Override public com.google.spanner.v1.RequestOptions.Priority getPriority() { - com.google.spanner.v1.RequestOptions.Priority result = com.google.spanner.v1.RequestOptions.Priority.forNumber(priority_); + com.google.spanner.v1.RequestOptions.Priority result = + com.google.spanner.v1.RequestOptions.Priority.forNumber(priority_); return result == null ? com.google.spanner.v1.RequestOptions.Priority.UNRECOGNIZED : result; } /** + * + * *
      * Priority for the request.
      * 
* * .google.spanner.v1.RequestOptions.Priority priority = 1; + * * @param value The priority to set. * @return This builder for chaining. */ @@ -816,11 +895,14 @@ public Builder setPriority(com.google.spanner.v1.RequestOptions.Priority value) return this; } /** + * + * *
      * Priority for the request.
      * 
* * .google.spanner.v1.RequestOptions.Priority priority = 1; + * * @return This builder for chaining. */ public Builder clearPriority() { @@ -832,6 +914,8 @@ public Builder clearPriority() { private java.lang.Object requestTag_ = ""; /** + * + * *
      * A per-request tag which can be applied to queries or reads, used for
      * statistics collection.
@@ -846,13 +930,13 @@ public Builder clearPriority() {
      * 
* * string request_tag = 2; + * * @return The requestTag. */ public java.lang.String getRequestTag() { java.lang.Object ref = requestTag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestTag_ = s; return s; @@ -861,6 +945,8 @@ public java.lang.String getRequestTag() { } } /** + * + * *
      * A per-request tag which can be applied to queries or reads, used for
      * statistics collection.
@@ -875,15 +961,14 @@ public java.lang.String getRequestTag() {
      * 
* * string request_tag = 2; + * * @return The bytes for requestTag. */ - public com.google.protobuf.ByteString - getRequestTagBytes() { + public com.google.protobuf.ByteString getRequestTagBytes() { java.lang.Object ref = requestTag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestTag_ = b; return b; } else { @@ -891,6 +976,8 @@ public java.lang.String getRequestTag() { } } /** + * + * *
      * A per-request tag which can be applied to queries or reads, used for
      * statistics collection.
@@ -905,18 +992,22 @@ public java.lang.String getRequestTag() {
      * 
* * string request_tag = 2; + * * @param value The requestTag to set. * @return This builder for chaining. */ - public Builder setRequestTag( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestTag(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestTag_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * A per-request tag which can be applied to queries or reads, used for
      * statistics collection.
@@ -931,6 +1022,7 @@ public Builder setRequestTag(
      * 
* * string request_tag = 2; + * * @return This builder for chaining. */ public Builder clearRequestTag() { @@ -940,6 +1032,8 @@ public Builder clearRequestTag() { return this; } /** + * + * *
      * A per-request tag which can be applied to queries or reads, used for
      * statistics collection.
@@ -954,12 +1048,14 @@ public Builder clearRequestTag() {
      * 
* * string request_tag = 2; + * * @param value The bytes for requestTag to set. * @return This builder for chaining. */ - public Builder setRequestTagBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestTagBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestTag_ = value; bitField0_ |= 0x00000002; @@ -969,6 +1065,8 @@ public Builder setRequestTagBytes( private java.lang.Object transactionTag_ = ""; /** + * + * *
      * A tag used for statistics collection about this transaction.
      * Both request_tag and transaction_tag can be specified for a read or query
@@ -984,13 +1082,13 @@ public Builder setRequestTagBytes(
      * 
* * string transaction_tag = 3; + * * @return The transactionTag. */ public java.lang.String getTransactionTag() { java.lang.Object ref = transactionTag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); transactionTag_ = s; return s; @@ -999,6 +1097,8 @@ public java.lang.String getTransactionTag() { } } /** + * + * *
      * A tag used for statistics collection about this transaction.
      * Both request_tag and transaction_tag can be specified for a read or query
@@ -1014,15 +1114,14 @@ public java.lang.String getTransactionTag() {
      * 
* * string transaction_tag = 3; + * * @return The bytes for transactionTag. */ - public com.google.protobuf.ByteString - getTransactionTagBytes() { + public com.google.protobuf.ByteString getTransactionTagBytes() { java.lang.Object ref = transactionTag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); transactionTag_ = b; return b; } else { @@ -1030,6 +1129,8 @@ public java.lang.String getTransactionTag() { } } /** + * + * *
      * A tag used for statistics collection about this transaction.
      * Both request_tag and transaction_tag can be specified for a read or query
@@ -1045,18 +1146,22 @@ public java.lang.String getTransactionTag() {
      * 
* * string transaction_tag = 3; + * * @param value The transactionTag to set. * @return This builder for chaining. */ - public Builder setTransactionTag( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTransactionTag(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } transactionTag_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * A tag used for statistics collection about this transaction.
      * Both request_tag and transaction_tag can be specified for a read or query
@@ -1072,6 +1177,7 @@ public Builder setTransactionTag(
      * 
* * string transaction_tag = 3; + * * @return This builder for chaining. */ public Builder clearTransactionTag() { @@ -1081,6 +1187,8 @@ public Builder clearTransactionTag() { return this; } /** + * + * *
      * A tag used for statistics collection about this transaction.
      * Both request_tag and transaction_tag can be specified for a read or query
@@ -1096,21 +1204,23 @@ public Builder clearTransactionTag() {
      * 
* * string transaction_tag = 3; + * * @param value The bytes for transactionTag to set. * @return This builder for chaining. */ - public Builder setTransactionTagBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTransactionTagBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); transactionTag_ = 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); } @@ -1120,12 +1230,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.v1.RequestOptions) } // @@protoc_insertion_point(class_scope:google.spanner.v1.RequestOptions) private static final com.google.spanner.v1.RequestOptions DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.v1.RequestOptions(); } @@ -1134,27 +1244,27 @@ public static com.google.spanner.v1.RequestOptions getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RequestOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RequestOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1169,6 +1279,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.RequestOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RequestOptionsOrBuilder.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RequestOptionsOrBuilder.java similarity index 81% rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RequestOptionsOrBuilder.java rename to proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RequestOptionsOrBuilder.java index 1c8e5a3ddd3..c2c12f4a0b1 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RequestOptionsOrBuilder.java +++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RequestOptionsOrBuilder.java @@ -1,32 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/spanner.proto package com.google.spanner.v1; -public interface RequestOptionsOrBuilder extends +public interface RequestOptionsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.RequestOptions) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Priority for the request.
    * 
* * .google.spanner.v1.RequestOptions.Priority priority = 1; + * * @return The enum numeric value on the wire for priority. */ int getPriorityValue(); /** + * + * *
    * Priority for the request.
    * 
* * .google.spanner.v1.RequestOptions.Priority priority = 1; + * * @return The priority. */ com.google.spanner.v1.RequestOptions.Priority getPriority(); /** + * + * *
    * A per-request tag which can be applied to queries or reads, used for
    * statistics collection.
@@ -41,10 +65,13 @@ public interface RequestOptionsOrBuilder extends
    * 
* * string request_tag = 2; + * * @return The requestTag. */ java.lang.String getRequestTag(); /** + * + * *
    * A per-request tag which can be applied to queries or reads, used for
    * statistics collection.
@@ -59,12 +86,14 @@ public interface RequestOptionsOrBuilder extends
    * 
* * string request_tag = 2; + * * @return The bytes for requestTag. */ - com.google.protobuf.ByteString - getRequestTagBytes(); + com.google.protobuf.ByteString getRequestTagBytes(); /** + * + * *
    * A tag used for statistics collection about this transaction.
    * Both request_tag and transaction_tag can be specified for a read or query
@@ -80,10 +109,13 @@ public interface RequestOptionsOrBuilder extends
    * 
* * string transaction_tag = 3; + * * @return The transactionTag. */ java.lang.String getTransactionTag(); /** + * + * *
    * A tag used for statistics collection about this transaction.
    * Both request_tag and transaction_tag can be specified for a read or query
@@ -99,8 +131,8 @@ public interface RequestOptionsOrBuilder extends
    * 
* * string transaction_tag = 3; + * * @return The bytes for transactionTag. */ - com.google.protobuf.ByteString - getTransactionTagBytes(); + com.google.protobuf.ByteString getTransactionTagBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSet.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSet.java similarity index 79% rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSet.java rename to proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSet.java index c86fdb5b8c6..574ee4b5d29 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSet.java +++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSet.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/result_set.proto package com.google.spanner.v1; /** + * + * *
  * Results from [Read][google.spanner.v1.Spanner.Read] or
  * [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql].
@@ -11,40 +28,41 @@
  *
  * Protobuf type {@code google.spanner.v1.ResultSet}
  */
-public final class ResultSet extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ResultSet extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.spanner.v1.ResultSet)
     ResultSetOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ResultSet.newBuilder() to construct.
   private ResultSet(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ResultSet() {
     rows_ = 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 ResultSet();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.spanner.v1.ResultSetProto.internal_static_google_spanner_v1_ResultSet_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.spanner.v1.ResultSetProto
+        .internal_static_google_spanner_v1_ResultSet_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.v1.ResultSetProto.internal_static_google_spanner_v1_ResultSet_fieldAccessorTable
+    return com.google.spanner.v1.ResultSetProto
+        .internal_static_google_spanner_v1_ResultSet_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.spanner.v1.ResultSet.class, com.google.spanner.v1.ResultSet.Builder.class);
   }
@@ -52,11 +70,14 @@ protected java.lang.Object newInstance(
   public static final int METADATA_FIELD_NUMBER = 1;
   private com.google.spanner.v1.ResultSetMetadata metadata_;
   /**
+   *
+   *
    * 
    * Metadata about the result set, such as row type information.
    * 
* * .google.spanner.v1.ResultSetMetadata metadata = 1; + * * @return Whether the metadata field is set. */ @java.lang.Override @@ -64,18 +85,25 @@ public boolean hasMetadata() { return metadata_ != null; } /** + * + * *
    * Metadata about the result set, such as row type information.
    * 
* * .google.spanner.v1.ResultSetMetadata metadata = 1; + * * @return The metadata. */ @java.lang.Override public com.google.spanner.v1.ResultSetMetadata getMetadata() { - return metadata_ == null ? com.google.spanner.v1.ResultSetMetadata.getDefaultInstance() : metadata_; + return metadata_ == null + ? com.google.spanner.v1.ResultSetMetadata.getDefaultInstance() + : metadata_; } /** + * + * *
    * Metadata about the result set, such as row type information.
    * 
@@ -84,13 +112,18 @@ public com.google.spanner.v1.ResultSetMetadata getMetadata() { */ @java.lang.Override public com.google.spanner.v1.ResultSetMetadataOrBuilder getMetadataOrBuilder() { - return metadata_ == null ? com.google.spanner.v1.ResultSetMetadata.getDefaultInstance() : metadata_; + return metadata_ == null + ? com.google.spanner.v1.ResultSetMetadata.getDefaultInstance() + : metadata_; } public static final int ROWS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private java.util.List rows_; /** + * + * *
    * Each element in `rows` is a row whose format is defined by
    * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -107,6 +140,8 @@ public java.util.List getRowsList() {
     return rows_;
   }
   /**
+   *
+   *
    * 
    * Each element in `rows` is a row whose format is defined by
    * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -119,11 +154,12 @@ public java.util.List getRowsList() {
    * repeated .google.protobuf.ListValue rows = 2;
    */
   @java.lang.Override
-  public java.util.List 
-      getRowsOrBuilderList() {
+  public java.util.List getRowsOrBuilderList() {
     return rows_;
   }
   /**
+   *
+   *
    * 
    * Each element in `rows` is a row whose format is defined by
    * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -140,6 +176,8 @@ public int getRowsCount() {
     return rows_.size();
   }
   /**
+   *
+   *
    * 
    * Each element in `rows` is a row whose format is defined by
    * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -156,6 +194,8 @@ public com.google.protobuf.ListValue getRows(int index) {
     return rows_.get(index);
   }
   /**
+   *
+   *
    * 
    * Each element in `rows` is a row whose format is defined by
    * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -168,14 +208,15 @@ public com.google.protobuf.ListValue getRows(int index) {
    * repeated .google.protobuf.ListValue rows = 2;
    */
   @java.lang.Override
-  public com.google.protobuf.ListValueOrBuilder getRowsOrBuilder(
-      int index) {
+  public com.google.protobuf.ListValueOrBuilder getRowsOrBuilder(int index) {
     return rows_.get(index);
   }
 
   public static final int STATS_FIELD_NUMBER = 3;
   private com.google.spanner.v1.ResultSetStats stats_;
   /**
+   *
+   *
    * 
    * Query plan and execution statistics for the SQL statement that
    * produced this result set. These can be requested by setting
@@ -188,6 +229,7 @@ public com.google.protobuf.ListValueOrBuilder getRowsOrBuilder(
    * 
* * .google.spanner.v1.ResultSetStats stats = 3; + * * @return Whether the stats field is set. */ @java.lang.Override @@ -195,6 +237,8 @@ public boolean hasStats() { return stats_ != null; } /** + * + * *
    * Query plan and execution statistics for the SQL statement that
    * produced this result set. These can be requested by setting
@@ -207,6 +251,7 @@ public boolean hasStats() {
    * 
* * .google.spanner.v1.ResultSetStats stats = 3; + * * @return The stats. */ @java.lang.Override @@ -214,6 +259,8 @@ public com.google.spanner.v1.ResultSetStats getStats() { return stats_ == null ? com.google.spanner.v1.ResultSetStats.getDefaultInstance() : stats_; } /** + * + * *
    * Query plan and execution statistics for the SQL statement that
    * produced this result set. These can be requested by setting
@@ -233,6 +280,7 @@ public com.google.spanner.v1.ResultSetStatsOrBuilder getStatsOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -244,8 +292,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 (metadata_ != null) {
       output.writeMessage(1, getMetadata());
     }
@@ -265,16 +312,13 @@ public int getSerializedSize() {
 
     size = 0;
     if (metadata_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getMetadata());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getMetadata());
     }
     for (int i = 0; i < rows_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, rows_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, rows_.get(i));
     }
     if (stats_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getStats());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getStats());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -284,7 +328,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.spanner.v1.ResultSet)) {
       return super.equals(obj);
@@ -293,15 +337,12 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasMetadata() != other.hasMetadata()) return false;
     if (hasMetadata()) {
-      if (!getMetadata()
-          .equals(other.getMetadata())) return false;
+      if (!getMetadata().equals(other.getMetadata())) return false;
     }
-    if (!getRowsList()
-        .equals(other.getRowsList())) return false;
+    if (!getRowsList().equals(other.getRowsList())) return false;
     if (hasStats() != other.hasStats()) return false;
     if (hasStats()) {
-      if (!getStats()
-          .equals(other.getStats())) return false;
+      if (!getStats().equals(other.getStats())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -331,97 +372,103 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.spanner.v1.ResultSet parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.spanner.v1.ResultSet parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.spanner.v1.ResultSet parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.spanner.v1.ResultSet parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.spanner.v1.ResultSet parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.spanner.v1.ResultSet parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.spanner.v1.ResultSet parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.spanner.v1.ResultSet parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.spanner.v1.ResultSet parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.spanner.v1.ResultSet parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.spanner.v1.ResultSet 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.spanner.v1.ResultSet parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.spanner.v1.ResultSet parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.spanner.v1.ResultSet parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.spanner.v1.ResultSet prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Results from [Read][google.spanner.v1.Spanner.Read] or
    * [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql].
@@ -429,33 +476,31 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.spanner.v1.ResultSet}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.spanner.v1.ResultSet)
       com.google.spanner.v1.ResultSetOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.spanner.v1.ResultSetProto.internal_static_google_spanner_v1_ResultSet_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.spanner.v1.ResultSetProto
+          .internal_static_google_spanner_v1_ResultSet_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.v1.ResultSetProto.internal_static_google_spanner_v1_ResultSet_fieldAccessorTable
+      return com.google.spanner.v1.ResultSetProto
+          .internal_static_google_spanner_v1_ResultSet_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
               com.google.spanner.v1.ResultSet.class, com.google.spanner.v1.ResultSet.Builder.class);
     }
 
     // Construct using com.google.spanner.v1.ResultSet.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -481,9 +526,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.spanner.v1.ResultSetProto.internal_static_google_spanner_v1_ResultSet_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.spanner.v1.ResultSetProto
+          .internal_static_google_spanner_v1_ResultSet_descriptor;
     }
 
     @java.lang.Override
@@ -504,7 +549,9 @@ public com.google.spanner.v1.ResultSet build() {
     public com.google.spanner.v1.ResultSet buildPartial() {
       com.google.spanner.v1.ResultSet result = new com.google.spanner.v1.ResultSet(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -524,14 +571,10 @@ private void buildPartialRepeatedFields(com.google.spanner.v1.ResultSet result)
     private void buildPartial0(com.google.spanner.v1.ResultSet result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.metadata_ = metadataBuilder_ == null
-            ? metadata_
-            : metadataBuilder_.build();
+        result.metadata_ = metadataBuilder_ == null ? metadata_ : metadataBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.stats_ = statsBuilder_ == null
-            ? stats_
-            : statsBuilder_.build();
+        result.stats_ = statsBuilder_ == null ? stats_ : statsBuilder_.build();
       }
     }
 
@@ -539,38 +582,39 @@ private void buildPartial0(com.google.spanner.v1.ResultSet 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.spanner.v1.ResultSet) {
-        return mergeFrom((com.google.spanner.v1.ResultSet)other);
+        return mergeFrom((com.google.spanner.v1.ResultSet) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -600,9 +644,10 @@ public Builder mergeFrom(com.google.spanner.v1.ResultSet other) {
             rowsBuilder_ = null;
             rows_ = other.rows_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            rowsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getRowsFieldBuilder() : null;
+            rowsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getRowsFieldBuilder()
+                    : null;
           } else {
             rowsBuilder_.addAllMessages(other.rows_);
           }
@@ -637,39 +682,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getMetadataFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              com.google.protobuf.ListValue m =
-                  input.readMessage(
-                      com.google.protobuf.ListValue.parser(),
-                      extensionRegistry);
-              if (rowsBuilder_ == null) {
-                ensureRowsIsMutable();
-                rows_.add(m);
-              } else {
-                rowsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getStatsFieldBuilder().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(getMetadataFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                com.google.protobuf.ListValue m =
+                    input.readMessage(com.google.protobuf.ListValue.parser(), extensionRegistry);
+                if (rowsBuilder_ == null) {
+                  ensureRowsIsMutable();
+                  rows_.add(m);
+                } else {
+                  rowsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getStatsFieldBuilder().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) {
@@ -679,38 +722,52 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.spanner.v1.ResultSetMetadata metadata_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.spanner.v1.ResultSetMetadata, com.google.spanner.v1.ResultSetMetadata.Builder, com.google.spanner.v1.ResultSetMetadataOrBuilder> metadataBuilder_;
+            com.google.spanner.v1.ResultSetMetadata,
+            com.google.spanner.v1.ResultSetMetadata.Builder,
+            com.google.spanner.v1.ResultSetMetadataOrBuilder>
+        metadataBuilder_;
     /**
+     *
+     *
      * 
      * Metadata about the result set, such as row type information.
      * 
* * .google.spanner.v1.ResultSetMetadata metadata = 1; + * * @return Whether the metadata field is set. */ public boolean hasMetadata() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Metadata about the result set, such as row type information.
      * 
* * .google.spanner.v1.ResultSetMetadata metadata = 1; + * * @return The metadata. */ public com.google.spanner.v1.ResultSetMetadata getMetadata() { if (metadataBuilder_ == null) { - return metadata_ == null ? com.google.spanner.v1.ResultSetMetadata.getDefaultInstance() : metadata_; + return metadata_ == null + ? com.google.spanner.v1.ResultSetMetadata.getDefaultInstance() + : metadata_; } else { return metadataBuilder_.getMessage(); } } /** + * + * *
      * Metadata about the result set, such as row type information.
      * 
@@ -731,14 +788,15 @@ public Builder setMetadata(com.google.spanner.v1.ResultSetMetadata value) { return this; } /** + * + * *
      * Metadata about the result set, such as row type information.
      * 
* * .google.spanner.v1.ResultSetMetadata metadata = 1; */ - public Builder setMetadata( - com.google.spanner.v1.ResultSetMetadata.Builder builderForValue) { + public Builder setMetadata(com.google.spanner.v1.ResultSetMetadata.Builder builderForValue) { if (metadataBuilder_ == null) { metadata_ = builderForValue.build(); } else { @@ -749,6 +807,8 @@ public Builder setMetadata( return this; } /** + * + * *
      * Metadata about the result set, such as row type information.
      * 
@@ -757,9 +817,9 @@ public Builder setMetadata( */ public Builder mergeMetadata(com.google.spanner.v1.ResultSetMetadata value) { if (metadataBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - metadata_ != null && - metadata_ != com.google.spanner.v1.ResultSetMetadata.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && metadata_ != null + && metadata_ != com.google.spanner.v1.ResultSetMetadata.getDefaultInstance()) { getMetadataBuilder().mergeFrom(value); } else { metadata_ = value; @@ -772,6 +832,8 @@ public Builder mergeMetadata(com.google.spanner.v1.ResultSetMetadata value) { return this; } /** + * + * *
      * Metadata about the result set, such as row type information.
      * 
@@ -789,6 +851,8 @@ public Builder clearMetadata() { return this; } /** + * + * *
      * Metadata about the result set, such as row type information.
      * 
@@ -801,6 +865,8 @@ public com.google.spanner.v1.ResultSetMetadata.Builder getMetadataBuilder() { return getMetadataFieldBuilder().getBuilder(); } /** + * + * *
      * Metadata about the result set, such as row type information.
      * 
@@ -811,11 +877,14 @@ public com.google.spanner.v1.ResultSetMetadataOrBuilder getMetadataOrBuilder() { if (metadataBuilder_ != null) { return metadataBuilder_.getMessageOrBuilder(); } else { - return metadata_ == null ? - com.google.spanner.v1.ResultSetMetadata.getDefaultInstance() : metadata_; + return metadata_ == null + ? com.google.spanner.v1.ResultSetMetadata.getDefaultInstance() + : metadata_; } } /** + * + * *
      * Metadata about the result set, such as row type information.
      * 
@@ -823,32 +892,40 @@ public com.google.spanner.v1.ResultSetMetadataOrBuilder getMetadataOrBuilder() { * .google.spanner.v1.ResultSetMetadata metadata = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.ResultSetMetadata, com.google.spanner.v1.ResultSetMetadata.Builder, com.google.spanner.v1.ResultSetMetadataOrBuilder> + com.google.spanner.v1.ResultSetMetadata, + com.google.spanner.v1.ResultSetMetadata.Builder, + com.google.spanner.v1.ResultSetMetadataOrBuilder> getMetadataFieldBuilder() { if (metadataBuilder_ == null) { - metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.ResultSetMetadata, com.google.spanner.v1.ResultSetMetadata.Builder, com.google.spanner.v1.ResultSetMetadataOrBuilder>( - getMetadata(), - getParentForChildren(), - isClean()); + metadataBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.v1.ResultSetMetadata, + com.google.spanner.v1.ResultSetMetadata.Builder, + com.google.spanner.v1.ResultSetMetadataOrBuilder>( + getMetadata(), getParentForChildren(), isClean()); metadata_ = null; } return metadataBuilder_; } - private java.util.List rows_ = - java.util.Collections.emptyList(); + private java.util.List rows_ = java.util.Collections.emptyList(); + private void ensureRowsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { rows_ = new java.util.ArrayList(rows_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.protobuf.ListValue, com.google.protobuf.ListValue.Builder, com.google.protobuf.ListValueOrBuilder> rowsBuilder_; + com.google.protobuf.ListValue, + com.google.protobuf.ListValue.Builder, + com.google.protobuf.ListValueOrBuilder> + rowsBuilder_; /** + * + * *
      * Each element in `rows` is a row whose format is defined by
      * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -868,6 +945,8 @@ public java.util.List getRowsList() {
       }
     }
     /**
+     *
+     *
      * 
      * Each element in `rows` is a row whose format is defined by
      * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -887,6 +966,8 @@ public int getRowsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Each element in `rows` is a row whose format is defined by
      * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -906,6 +987,8 @@ public com.google.protobuf.ListValue getRows(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * Each element in `rows` is a row whose format is defined by
      * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -917,8 +1000,7 @@ public com.google.protobuf.ListValue getRows(int index) {
      *
      * repeated .google.protobuf.ListValue rows = 2;
      */
-    public Builder setRows(
-        int index, com.google.protobuf.ListValue value) {
+    public Builder setRows(int index, com.google.protobuf.ListValue value) {
       if (rowsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -932,6 +1014,8 @@ public Builder setRows(
       return this;
     }
     /**
+     *
+     *
      * 
      * Each element in `rows` is a row whose format is defined by
      * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -943,8 +1027,7 @@ public Builder setRows(
      *
      * repeated .google.protobuf.ListValue rows = 2;
      */
-    public Builder setRows(
-        int index, com.google.protobuf.ListValue.Builder builderForValue) {
+    public Builder setRows(int index, com.google.protobuf.ListValue.Builder builderForValue) {
       if (rowsBuilder_ == null) {
         ensureRowsIsMutable();
         rows_.set(index, builderForValue.build());
@@ -955,6 +1038,8 @@ public Builder setRows(
       return this;
     }
     /**
+     *
+     *
      * 
      * Each element in `rows` is a row whose format is defined by
      * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -980,6 +1065,8 @@ public Builder addRows(com.google.protobuf.ListValue value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Each element in `rows` is a row whose format is defined by
      * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -991,8 +1078,7 @@ public Builder addRows(com.google.protobuf.ListValue value) {
      *
      * repeated .google.protobuf.ListValue rows = 2;
      */
-    public Builder addRows(
-        int index, com.google.protobuf.ListValue value) {
+    public Builder addRows(int index, com.google.protobuf.ListValue value) {
       if (rowsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1006,6 +1092,8 @@ public Builder addRows(
       return this;
     }
     /**
+     *
+     *
      * 
      * Each element in `rows` is a row whose format is defined by
      * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -1017,8 +1105,7 @@ public Builder addRows(
      *
      * repeated .google.protobuf.ListValue rows = 2;
      */
-    public Builder addRows(
-        com.google.protobuf.ListValue.Builder builderForValue) {
+    public Builder addRows(com.google.protobuf.ListValue.Builder builderForValue) {
       if (rowsBuilder_ == null) {
         ensureRowsIsMutable();
         rows_.add(builderForValue.build());
@@ -1029,6 +1116,8 @@ public Builder addRows(
       return this;
     }
     /**
+     *
+     *
      * 
      * Each element in `rows` is a row whose format is defined by
      * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -1040,8 +1129,7 @@ public Builder addRows(
      *
      * repeated .google.protobuf.ListValue rows = 2;
      */
-    public Builder addRows(
-        int index, com.google.protobuf.ListValue.Builder builderForValue) {
+    public Builder addRows(int index, com.google.protobuf.ListValue.Builder builderForValue) {
       if (rowsBuilder_ == null) {
         ensureRowsIsMutable();
         rows_.add(index, builderForValue.build());
@@ -1052,6 +1140,8 @@ public Builder addRows(
       return this;
     }
     /**
+     *
+     *
      * 
      * Each element in `rows` is a row whose format is defined by
      * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -1063,12 +1153,10 @@ public Builder addRows(
      *
      * repeated .google.protobuf.ListValue rows = 2;
      */
-    public Builder addAllRows(
-        java.lang.Iterable values) {
+    public Builder addAllRows(java.lang.Iterable values) {
       if (rowsBuilder_ == null) {
         ensureRowsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, rows_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, rows_);
         onChanged();
       } else {
         rowsBuilder_.addAllMessages(values);
@@ -1076,6 +1164,8 @@ public Builder addAllRows(
       return this;
     }
     /**
+     *
+     *
      * 
      * Each element in `rows` is a row whose format is defined by
      * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -1098,6 +1188,8 @@ public Builder clearRows() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Each element in `rows` is a row whose format is defined by
      * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -1120,6 +1212,8 @@ public Builder removeRows(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Each element in `rows` is a row whose format is defined by
      * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -1131,11 +1225,12 @@ public Builder removeRows(int index) {
      *
      * repeated .google.protobuf.ListValue rows = 2;
      */
-    public com.google.protobuf.ListValue.Builder getRowsBuilder(
-        int index) {
+    public com.google.protobuf.ListValue.Builder getRowsBuilder(int index) {
       return getRowsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Each element in `rows` is a row whose format is defined by
      * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -1147,14 +1242,16 @@ public com.google.protobuf.ListValue.Builder getRowsBuilder(
      *
      * repeated .google.protobuf.ListValue rows = 2;
      */
-    public com.google.protobuf.ListValueOrBuilder getRowsOrBuilder(
-        int index) {
+    public com.google.protobuf.ListValueOrBuilder getRowsOrBuilder(int index) {
       if (rowsBuilder_ == null) {
-        return rows_.get(index);  } else {
+        return rows_.get(index);
+      } else {
         return rowsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Each element in `rows` is a row whose format is defined by
      * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -1166,8 +1263,7 @@ public com.google.protobuf.ListValueOrBuilder getRowsOrBuilder(
      *
      * repeated .google.protobuf.ListValue rows = 2;
      */
-    public java.util.List 
-         getRowsOrBuilderList() {
+    public java.util.List getRowsOrBuilderList() {
       if (rowsBuilder_ != null) {
         return rowsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1175,6 +1271,8 @@ public com.google.protobuf.ListValueOrBuilder getRowsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * Each element in `rows` is a row whose format is defined by
      * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -1187,10 +1285,11 @@ public com.google.protobuf.ListValueOrBuilder getRowsOrBuilder(
      * repeated .google.protobuf.ListValue rows = 2;
      */
     public com.google.protobuf.ListValue.Builder addRowsBuilder() {
-      return getRowsFieldBuilder().addBuilder(
-          com.google.protobuf.ListValue.getDefaultInstance());
+      return getRowsFieldBuilder().addBuilder(com.google.protobuf.ListValue.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Each element in `rows` is a row whose format is defined by
      * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -1202,12 +1301,13 @@ public com.google.protobuf.ListValue.Builder addRowsBuilder() {
      *
      * repeated .google.protobuf.ListValue rows = 2;
      */
-    public com.google.protobuf.ListValue.Builder addRowsBuilder(
-        int index) {
-      return getRowsFieldBuilder().addBuilder(
-          index, com.google.protobuf.ListValue.getDefaultInstance());
+    public com.google.protobuf.ListValue.Builder addRowsBuilder(int index) {
+      return getRowsFieldBuilder()
+          .addBuilder(index, com.google.protobuf.ListValue.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Each element in `rows` is a row whose format is defined by
      * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -1219,20 +1319,22 @@ public com.google.protobuf.ListValue.Builder addRowsBuilder(
      *
      * repeated .google.protobuf.ListValue rows = 2;
      */
-    public java.util.List 
-         getRowsBuilderList() {
+    public java.util.List getRowsBuilderList() {
       return getRowsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.protobuf.ListValue, com.google.protobuf.ListValue.Builder, com.google.protobuf.ListValueOrBuilder> 
+            com.google.protobuf.ListValue,
+            com.google.protobuf.ListValue.Builder,
+            com.google.protobuf.ListValueOrBuilder>
         getRowsFieldBuilder() {
       if (rowsBuilder_ == null) {
-        rowsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.protobuf.ListValue, com.google.protobuf.ListValue.Builder, com.google.protobuf.ListValueOrBuilder>(
-                rows_,
-                ((bitField0_ & 0x00000002) != 0),
-                getParentForChildren(),
-                isClean());
+        rowsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.protobuf.ListValue,
+                com.google.protobuf.ListValue.Builder,
+                com.google.protobuf.ListValueOrBuilder>(
+                rows_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
         rows_ = null;
       }
       return rowsBuilder_;
@@ -1240,8 +1342,13 @@ public com.google.protobuf.ListValue.Builder addRowsBuilder(
 
     private com.google.spanner.v1.ResultSetStats stats_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.spanner.v1.ResultSetStats, com.google.spanner.v1.ResultSetStats.Builder, com.google.spanner.v1.ResultSetStatsOrBuilder> statsBuilder_;
+            com.google.spanner.v1.ResultSetStats,
+            com.google.spanner.v1.ResultSetStats.Builder,
+            com.google.spanner.v1.ResultSetStatsOrBuilder>
+        statsBuilder_;
     /**
+     *
+     *
      * 
      * Query plan and execution statistics for the SQL statement that
      * produced this result set. These can be requested by setting
@@ -1254,12 +1361,15 @@ public com.google.protobuf.ListValue.Builder addRowsBuilder(
      * 
* * .google.spanner.v1.ResultSetStats stats = 3; + * * @return Whether the stats field is set. */ public boolean hasStats() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Query plan and execution statistics for the SQL statement that
      * produced this result set. These can be requested by setting
@@ -1272,6 +1382,7 @@ public boolean hasStats() {
      * 
* * .google.spanner.v1.ResultSetStats stats = 3; + * * @return The stats. */ public com.google.spanner.v1.ResultSetStats getStats() { @@ -1282,6 +1393,8 @@ public com.google.spanner.v1.ResultSetStats getStats() { } } /** + * + * *
      * Query plan and execution statistics for the SQL statement that
      * produced this result set. These can be requested by setting
@@ -1309,6 +1422,8 @@ public Builder setStats(com.google.spanner.v1.ResultSetStats value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Query plan and execution statistics for the SQL statement that
      * produced this result set. These can be requested by setting
@@ -1322,8 +1437,7 @@ public Builder setStats(com.google.spanner.v1.ResultSetStats value) {
      *
      * .google.spanner.v1.ResultSetStats stats = 3;
      */
-    public Builder setStats(
-        com.google.spanner.v1.ResultSetStats.Builder builderForValue) {
+    public Builder setStats(com.google.spanner.v1.ResultSetStats.Builder builderForValue) {
       if (statsBuilder_ == null) {
         stats_ = builderForValue.build();
       } else {
@@ -1334,6 +1448,8 @@ public Builder setStats(
       return this;
     }
     /**
+     *
+     *
      * 
      * Query plan and execution statistics for the SQL statement that
      * produced this result set. These can be requested by setting
@@ -1349,9 +1465,9 @@ public Builder setStats(
      */
     public Builder mergeStats(com.google.spanner.v1.ResultSetStats value) {
       if (statsBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0) &&
-          stats_ != null &&
-          stats_ != com.google.spanner.v1.ResultSetStats.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0)
+            && stats_ != null
+            && stats_ != com.google.spanner.v1.ResultSetStats.getDefaultInstance()) {
           getStatsBuilder().mergeFrom(value);
         } else {
           stats_ = value;
@@ -1364,6 +1480,8 @@ public Builder mergeStats(com.google.spanner.v1.ResultSetStats value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Query plan and execution statistics for the SQL statement that
      * produced this result set. These can be requested by setting
@@ -1388,6 +1506,8 @@ public Builder clearStats() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Query plan and execution statistics for the SQL statement that
      * produced this result set. These can be requested by setting
@@ -1407,6 +1527,8 @@ public com.google.spanner.v1.ResultSetStats.Builder getStatsBuilder() {
       return getStatsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Query plan and execution statistics for the SQL statement that
      * produced this result set. These can be requested by setting
@@ -1424,11 +1546,12 @@ public com.google.spanner.v1.ResultSetStatsOrBuilder getStatsOrBuilder() {
       if (statsBuilder_ != null) {
         return statsBuilder_.getMessageOrBuilder();
       } else {
-        return stats_ == null ?
-            com.google.spanner.v1.ResultSetStats.getDefaultInstance() : stats_;
+        return stats_ == null ? com.google.spanner.v1.ResultSetStats.getDefaultInstance() : stats_;
       }
     }
     /**
+     *
+     *
      * 
      * Query plan and execution statistics for the SQL statement that
      * produced this result set. These can be requested by setting
@@ -1443,21 +1566,24 @@ public com.google.spanner.v1.ResultSetStatsOrBuilder getStatsOrBuilder() {
      * .google.spanner.v1.ResultSetStats stats = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.spanner.v1.ResultSetStats, com.google.spanner.v1.ResultSetStats.Builder, com.google.spanner.v1.ResultSetStatsOrBuilder> 
+            com.google.spanner.v1.ResultSetStats,
+            com.google.spanner.v1.ResultSetStats.Builder,
+            com.google.spanner.v1.ResultSetStatsOrBuilder>
         getStatsFieldBuilder() {
       if (statsBuilder_ == null) {
-        statsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.ResultSetStats, com.google.spanner.v1.ResultSetStats.Builder, com.google.spanner.v1.ResultSetStatsOrBuilder>(
-                getStats(),
-                getParentForChildren(),
-                isClean());
+        statsBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.spanner.v1.ResultSetStats,
+                com.google.spanner.v1.ResultSetStats.Builder,
+                com.google.spanner.v1.ResultSetStatsOrBuilder>(
+                getStats(), getParentForChildren(), isClean());
         stats_ = null;
       }
       return statsBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1467,12 +1593,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.spanner.v1.ResultSet)
   }
 
   // @@protoc_insertion_point(class_scope:google.spanner.v1.ResultSet)
   private static final com.google.spanner.v1.ResultSet DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.spanner.v1.ResultSet();
   }
@@ -1481,27 +1607,27 @@ public static com.google.spanner.v1.ResultSet getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public ResultSet parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public ResultSet parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1516,6 +1642,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.spanner.v1.ResultSet getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetMetadata.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetMetadata.java
similarity index 76%
rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetMetadata.java
rename to proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetMetadata.java
index 38cfe89af11..6c2261da657 100644
--- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetMetadata.java
+++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetMetadata.java
@@ -1,55 +1,75 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/v1/result_set.proto
 
 package com.google.spanner.v1;
 
 /**
+ *
+ *
  * 
  * Metadata about a [ResultSet][google.spanner.v1.ResultSet] or [PartialResultSet][google.spanner.v1.PartialResultSet].
  * 
* * Protobuf type {@code google.spanner.v1.ResultSetMetadata} */ -public final class ResultSetMetadata extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ResultSetMetadata extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.spanner.v1.ResultSetMetadata) ResultSetMetadataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ResultSetMetadata.newBuilder() to construct. private ResultSetMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ResultSetMetadata() { - } + + private ResultSetMetadata() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ResultSetMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.v1.ResultSetProto.internal_static_google_spanner_v1_ResultSetMetadata_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.v1.ResultSetProto + .internal_static_google_spanner_v1_ResultSetMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.ResultSetProto.internal_static_google_spanner_v1_ResultSetMetadata_fieldAccessorTable + return com.google.spanner.v1.ResultSetProto + .internal_static_google_spanner_v1_ResultSetMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.ResultSetMetadata.class, com.google.spanner.v1.ResultSetMetadata.Builder.class); + com.google.spanner.v1.ResultSetMetadata.class, + com.google.spanner.v1.ResultSetMetadata.Builder.class); } public static final int ROW_TYPE_FIELD_NUMBER = 1; private com.google.spanner.v1.StructType rowType_; /** + * + * *
    * Indicates the field names and types for the rows in the result
    * set.  For example, a SQL query like `"SELECT UserId, UserName FROM
@@ -61,6 +81,7 @@ protected java.lang.Object newInstance(
    * 
* * .google.spanner.v1.StructType row_type = 1; + * * @return Whether the rowType field is set. */ @java.lang.Override @@ -68,6 +89,8 @@ public boolean hasRowType() { return rowType_ != null; } /** + * + * *
    * Indicates the field names and types for the rows in the result
    * set.  For example, a SQL query like `"SELECT UserId, UserName FROM
@@ -79,6 +102,7 @@ public boolean hasRowType() {
    * 
* * .google.spanner.v1.StructType row_type = 1; + * * @return The rowType. */ @java.lang.Override @@ -86,6 +110,8 @@ public com.google.spanner.v1.StructType getRowType() { return rowType_ == null ? com.google.spanner.v1.StructType.getDefaultInstance() : rowType_; } /** + * + * *
    * Indicates the field names and types for the rows in the result
    * set.  For example, a SQL query like `"SELECT UserId, UserName FROM
@@ -106,12 +132,15 @@ public com.google.spanner.v1.StructTypeOrBuilder getRowTypeOrBuilder() {
   public static final int TRANSACTION_FIELD_NUMBER = 2;
   private com.google.spanner.v1.Transaction transaction_;
   /**
+   *
+   *
    * 
    * If the read or SQL query began a transaction as a side-effect, the
    * information about the new transaction is yielded here.
    * 
* * .google.spanner.v1.Transaction transaction = 2; + * * @return Whether the transaction field is set. */ @java.lang.Override @@ -119,19 +148,26 @@ public boolean hasTransaction() { return transaction_ != null; } /** + * + * *
    * If the read or SQL query began a transaction as a side-effect, the
    * information about the new transaction is yielded here.
    * 
* * .google.spanner.v1.Transaction transaction = 2; + * * @return The transaction. */ @java.lang.Override public com.google.spanner.v1.Transaction getTransaction() { - return transaction_ == null ? com.google.spanner.v1.Transaction.getDefaultInstance() : transaction_; + return transaction_ == null + ? com.google.spanner.v1.Transaction.getDefaultInstance() + : transaction_; } /** + * + * *
    * If the read or SQL query began a transaction as a side-effect, the
    * information about the new transaction is yielded here.
@@ -141,12 +177,16 @@ public com.google.spanner.v1.Transaction getTransaction() {
    */
   @java.lang.Override
   public com.google.spanner.v1.TransactionOrBuilder getTransactionOrBuilder() {
-    return transaction_ == null ? com.google.spanner.v1.Transaction.getDefaultInstance() : transaction_;
+    return transaction_ == null
+        ? com.google.spanner.v1.Transaction.getDefaultInstance()
+        : transaction_;
   }
 
   public static final int UNDECLARED_PARAMETERS_FIELD_NUMBER = 3;
   private com.google.spanner.v1.StructType undeclaredParameters_;
   /**
+   *
+   *
    * 
    * A SQL query can be parameterized. In PLAN mode, these parameters can be
    * undeclared. This indicates the field names and types for those undeclared
@@ -160,6 +200,7 @@ public com.google.spanner.v1.TransactionOrBuilder getTransactionOrBuilder() {
    * 
* * .google.spanner.v1.StructType undeclared_parameters = 3; + * * @return Whether the undeclaredParameters field is set. */ @java.lang.Override @@ -167,6 +208,8 @@ public boolean hasUndeclaredParameters() { return undeclaredParameters_ != null; } /** + * + * *
    * A SQL query can be parameterized. In PLAN mode, these parameters can be
    * undeclared. This indicates the field names and types for those undeclared
@@ -180,13 +223,18 @@ public boolean hasUndeclaredParameters() {
    * 
* * .google.spanner.v1.StructType undeclared_parameters = 3; + * * @return The undeclaredParameters. */ @java.lang.Override public com.google.spanner.v1.StructType getUndeclaredParameters() { - return undeclaredParameters_ == null ? com.google.spanner.v1.StructType.getDefaultInstance() : undeclaredParameters_; + return undeclaredParameters_ == null + ? com.google.spanner.v1.StructType.getDefaultInstance() + : undeclaredParameters_; } /** + * + * *
    * A SQL query can be parameterized. In PLAN mode, these parameters can be
    * undeclared. This indicates the field names and types for those undeclared
@@ -203,10 +251,13 @@ public com.google.spanner.v1.StructType getUndeclaredParameters() {
    */
   @java.lang.Override
   public com.google.spanner.v1.StructTypeOrBuilder getUndeclaredParametersOrBuilder() {
-    return undeclaredParameters_ == null ? com.google.spanner.v1.StructType.getDefaultInstance() : undeclaredParameters_;
+    return undeclaredParameters_ == null
+        ? com.google.spanner.v1.StructType.getDefaultInstance()
+        : undeclaredParameters_;
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -218,8 +269,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 (rowType_ != null) {
       output.writeMessage(1, getRowType());
     }
@@ -239,16 +289,14 @@ public int getSerializedSize() {
 
     size = 0;
     if (rowType_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getRowType());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRowType());
     }
     if (transaction_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getTransaction());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTransaction());
     }
     if (undeclaredParameters_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getUndeclaredParameters());
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUndeclaredParameters());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -258,7 +306,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.spanner.v1.ResultSetMetadata)) {
       return super.equals(obj);
@@ -267,18 +315,15 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasRowType() != other.hasRowType()) return false;
     if (hasRowType()) {
-      if (!getRowType()
-          .equals(other.getRowType())) return false;
+      if (!getRowType().equals(other.getRowType())) return false;
     }
     if (hasTransaction() != other.hasTransaction()) return false;
     if (hasTransaction()) {
-      if (!getTransaction()
-          .equals(other.getTransaction())) return false;
+      if (!getTransaction().equals(other.getTransaction())) return false;
     }
     if (hasUndeclaredParameters() != other.hasUndeclaredParameters()) return false;
     if (hasUndeclaredParameters()) {
-      if (!getUndeclaredParameters()
-          .equals(other.getUndeclaredParameters())) return false;
+      if (!getUndeclaredParameters().equals(other.getUndeclaredParameters())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -308,130 +353,136 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.spanner.v1.ResultSetMetadata parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.spanner.v1.ResultSetMetadata parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.spanner.v1.ResultSetMetadata parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.spanner.v1.ResultSetMetadata parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.spanner.v1.ResultSetMetadata parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.spanner.v1.ResultSetMetadata parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.spanner.v1.ResultSetMetadata parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.spanner.v1.ResultSetMetadata parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.spanner.v1.ResultSetMetadata parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.spanner.v1.ResultSetMetadata parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.spanner.v1.ResultSetMetadata parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.spanner.v1.ResultSetMetadata parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.spanner.v1.ResultSetMetadata parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.spanner.v1.ResultSetMetadata parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.spanner.v1.ResultSetMetadata prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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 about a [ResultSet][google.spanner.v1.ResultSet] or [PartialResultSet][google.spanner.v1.PartialResultSet].
    * 
* * Protobuf type {@code google.spanner.v1.ResultSetMetadata} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.ResultSetMetadata) com.google.spanner.v1.ResultSetMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.v1.ResultSetProto.internal_static_google_spanner_v1_ResultSetMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.v1.ResultSetProto + .internal_static_google_spanner_v1_ResultSetMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.ResultSetProto.internal_static_google_spanner_v1_ResultSetMetadata_fieldAccessorTable + return com.google.spanner.v1.ResultSetProto + .internal_static_google_spanner_v1_ResultSetMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.ResultSetMetadata.class, com.google.spanner.v1.ResultSetMetadata.Builder.class); + com.google.spanner.v1.ResultSetMetadata.class, + com.google.spanner.v1.ResultSetMetadata.Builder.class); } // Construct using com.google.spanner.v1.ResultSetMetadata.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - 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,9 +506,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.spanner.v1.ResultSetProto.internal_static_google_spanner_v1_ResultSetMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.spanner.v1.ResultSetProto + .internal_static_google_spanner_v1_ResultSetMetadata_descriptor; } @java.lang.Override @@ -476,8 +527,11 @@ public com.google.spanner.v1.ResultSetMetadata build() { @java.lang.Override public com.google.spanner.v1.ResultSetMetadata buildPartial() { - com.google.spanner.v1.ResultSetMetadata result = new com.google.spanner.v1.ResultSetMetadata(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.spanner.v1.ResultSetMetadata result = + new com.google.spanner.v1.ResultSetMetadata(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -485,19 +539,17 @@ public com.google.spanner.v1.ResultSetMetadata buildPartial() { private void buildPartial0(com.google.spanner.v1.ResultSetMetadata result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.rowType_ = rowTypeBuilder_ == null - ? rowType_ - : rowTypeBuilder_.build(); + result.rowType_ = rowTypeBuilder_ == null ? rowType_ : rowTypeBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.transaction_ = transactionBuilder_ == null - ? transaction_ - : transactionBuilder_.build(); + result.transaction_ = + transactionBuilder_ == null ? transaction_ : transactionBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.undeclaredParameters_ = undeclaredParametersBuilder_ == null - ? undeclaredParameters_ - : undeclaredParametersBuilder_.build(); + result.undeclaredParameters_ = + undeclaredParametersBuilder_ == null + ? undeclaredParameters_ + : undeclaredParametersBuilder_.build(); } } @@ -505,38 +557,39 @@ private void buildPartial0(com.google.spanner.v1.ResultSetMetadata 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.spanner.v1.ResultSetMetadata) { - return mergeFrom((com.google.spanner.v1.ResultSetMetadata)other); + return mergeFrom((com.google.spanner.v1.ResultSetMetadata) other); } else { super.mergeFrom(other); return this; @@ -580,33 +633,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getRowTypeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getTransactionFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getUndeclaredParametersFieldBuilder().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(getRowTypeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getTransactionFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage( + getUndeclaredParametersFieldBuilder().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) { @@ -616,12 +668,18 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.spanner.v1.StructType rowType_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.StructType, com.google.spanner.v1.StructType.Builder, com.google.spanner.v1.StructTypeOrBuilder> rowTypeBuilder_; + com.google.spanner.v1.StructType, + com.google.spanner.v1.StructType.Builder, + com.google.spanner.v1.StructTypeOrBuilder> + rowTypeBuilder_; /** + * + * *
      * Indicates the field names and types for the rows in the result
      * set.  For example, a SQL query like `"SELECT UserId, UserName FROM
@@ -633,12 +691,15 @@ public Builder mergeFrom(
      * 
* * .google.spanner.v1.StructType row_type = 1; + * * @return Whether the rowType field is set. */ public boolean hasRowType() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Indicates the field names and types for the rows in the result
      * set.  For example, a SQL query like `"SELECT UserId, UserName FROM
@@ -650,6 +711,7 @@ public boolean hasRowType() {
      * 
* * .google.spanner.v1.StructType row_type = 1; + * * @return The rowType. */ public com.google.spanner.v1.StructType getRowType() { @@ -660,6 +722,8 @@ public com.google.spanner.v1.StructType getRowType() { } } /** + * + * *
      * Indicates the field names and types for the rows in the result
      * set.  For example, a SQL query like `"SELECT UserId, UserName FROM
@@ -686,6 +750,8 @@ public Builder setRowType(com.google.spanner.v1.StructType value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Indicates the field names and types for the rows in the result
      * set.  For example, a SQL query like `"SELECT UserId, UserName FROM
@@ -698,8 +764,7 @@ public Builder setRowType(com.google.spanner.v1.StructType value) {
      *
      * .google.spanner.v1.StructType row_type = 1;
      */
-    public Builder setRowType(
-        com.google.spanner.v1.StructType.Builder builderForValue) {
+    public Builder setRowType(com.google.spanner.v1.StructType.Builder builderForValue) {
       if (rowTypeBuilder_ == null) {
         rowType_ = builderForValue.build();
       } else {
@@ -710,6 +775,8 @@ public Builder setRowType(
       return this;
     }
     /**
+     *
+     *
      * 
      * Indicates the field names and types for the rows in the result
      * set.  For example, a SQL query like `"SELECT UserId, UserName FROM
@@ -724,9 +791,9 @@ public Builder setRowType(
      */
     public Builder mergeRowType(com.google.spanner.v1.StructType value) {
       if (rowTypeBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0) &&
-          rowType_ != null &&
-          rowType_ != com.google.spanner.v1.StructType.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0)
+            && rowType_ != null
+            && rowType_ != com.google.spanner.v1.StructType.getDefaultInstance()) {
           getRowTypeBuilder().mergeFrom(value);
         } else {
           rowType_ = value;
@@ -739,6 +806,8 @@ public Builder mergeRowType(com.google.spanner.v1.StructType value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Indicates the field names and types for the rows in the result
      * set.  For example, a SQL query like `"SELECT UserId, UserName FROM
@@ -762,6 +831,8 @@ public Builder clearRowType() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Indicates the field names and types for the rows in the result
      * set.  For example, a SQL query like `"SELECT UserId, UserName FROM
@@ -780,6 +851,8 @@ public com.google.spanner.v1.StructType.Builder getRowTypeBuilder() {
       return getRowTypeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Indicates the field names and types for the rows in the result
      * set.  For example, a SQL query like `"SELECT UserId, UserName FROM
@@ -796,11 +869,12 @@ public com.google.spanner.v1.StructTypeOrBuilder getRowTypeOrBuilder() {
       if (rowTypeBuilder_ != null) {
         return rowTypeBuilder_.getMessageOrBuilder();
       } else {
-        return rowType_ == null ?
-            com.google.spanner.v1.StructType.getDefaultInstance() : rowType_;
+        return rowType_ == null ? com.google.spanner.v1.StructType.getDefaultInstance() : rowType_;
       }
     }
     /**
+     *
+     *
      * 
      * Indicates the field names and types for the rows in the result
      * set.  For example, a SQL query like `"SELECT UserId, UserName FROM
@@ -814,14 +888,17 @@ public com.google.spanner.v1.StructTypeOrBuilder getRowTypeOrBuilder() {
      * .google.spanner.v1.StructType row_type = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.spanner.v1.StructType, com.google.spanner.v1.StructType.Builder, com.google.spanner.v1.StructTypeOrBuilder> 
+            com.google.spanner.v1.StructType,
+            com.google.spanner.v1.StructType.Builder,
+            com.google.spanner.v1.StructTypeOrBuilder>
         getRowTypeFieldBuilder() {
       if (rowTypeBuilder_ == null) {
-        rowTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.StructType, com.google.spanner.v1.StructType.Builder, com.google.spanner.v1.StructTypeOrBuilder>(
-                getRowType(),
-                getParentForChildren(),
-                isClean());
+        rowTypeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.spanner.v1.StructType,
+                com.google.spanner.v1.StructType.Builder,
+                com.google.spanner.v1.StructTypeOrBuilder>(
+                getRowType(), getParentForChildren(), isClean());
         rowType_ = null;
       }
       return rowTypeBuilder_;
@@ -829,36 +906,49 @@ public com.google.spanner.v1.StructTypeOrBuilder getRowTypeOrBuilder() {
 
     private com.google.spanner.v1.Transaction transaction_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.spanner.v1.Transaction, com.google.spanner.v1.Transaction.Builder, com.google.spanner.v1.TransactionOrBuilder> transactionBuilder_;
+            com.google.spanner.v1.Transaction,
+            com.google.spanner.v1.Transaction.Builder,
+            com.google.spanner.v1.TransactionOrBuilder>
+        transactionBuilder_;
     /**
+     *
+     *
      * 
      * If the read or SQL query began a transaction as a side-effect, the
      * information about the new transaction is yielded here.
      * 
* * .google.spanner.v1.Transaction transaction = 2; + * * @return Whether the transaction field is set. */ public boolean hasTransaction() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * If the read or SQL query began a transaction as a side-effect, the
      * information about the new transaction is yielded here.
      * 
* * .google.spanner.v1.Transaction transaction = 2; + * * @return The transaction. */ public com.google.spanner.v1.Transaction getTransaction() { if (transactionBuilder_ == null) { - return transaction_ == null ? com.google.spanner.v1.Transaction.getDefaultInstance() : transaction_; + return transaction_ == null + ? com.google.spanner.v1.Transaction.getDefaultInstance() + : transaction_; } else { return transactionBuilder_.getMessage(); } } /** + * + * *
      * If the read or SQL query began a transaction as a side-effect, the
      * information about the new transaction is yielded here.
@@ -880,6 +970,8 @@ public Builder setTransaction(com.google.spanner.v1.Transaction value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If the read or SQL query began a transaction as a side-effect, the
      * information about the new transaction is yielded here.
@@ -887,8 +979,7 @@ public Builder setTransaction(com.google.spanner.v1.Transaction value) {
      *
      * .google.spanner.v1.Transaction transaction = 2;
      */
-    public Builder setTransaction(
-        com.google.spanner.v1.Transaction.Builder builderForValue) {
+    public Builder setTransaction(com.google.spanner.v1.Transaction.Builder builderForValue) {
       if (transactionBuilder_ == null) {
         transaction_ = builderForValue.build();
       } else {
@@ -899,6 +990,8 @@ public Builder setTransaction(
       return this;
     }
     /**
+     *
+     *
      * 
      * If the read or SQL query began a transaction as a side-effect, the
      * information about the new transaction is yielded here.
@@ -908,9 +1001,9 @@ public Builder setTransaction(
      */
     public Builder mergeTransaction(com.google.spanner.v1.Transaction value) {
       if (transactionBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0) &&
-          transaction_ != null &&
-          transaction_ != com.google.spanner.v1.Transaction.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0)
+            && transaction_ != null
+            && transaction_ != com.google.spanner.v1.Transaction.getDefaultInstance()) {
           getTransactionBuilder().mergeFrom(value);
         } else {
           transaction_ = value;
@@ -923,6 +1016,8 @@ public Builder mergeTransaction(com.google.spanner.v1.Transaction value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If the read or SQL query began a transaction as a side-effect, the
      * information about the new transaction is yielded here.
@@ -941,6 +1036,8 @@ public Builder clearTransaction() {
       return this;
     }
     /**
+     *
+     *
      * 
      * If the read or SQL query began a transaction as a side-effect, the
      * information about the new transaction is yielded here.
@@ -954,6 +1051,8 @@ public com.google.spanner.v1.Transaction.Builder getTransactionBuilder() {
       return getTransactionFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * If the read or SQL query began a transaction as a side-effect, the
      * information about the new transaction is yielded here.
@@ -965,11 +1064,14 @@ public com.google.spanner.v1.TransactionOrBuilder getTransactionOrBuilder() {
       if (transactionBuilder_ != null) {
         return transactionBuilder_.getMessageOrBuilder();
       } else {
-        return transaction_ == null ?
-            com.google.spanner.v1.Transaction.getDefaultInstance() : transaction_;
+        return transaction_ == null
+            ? com.google.spanner.v1.Transaction.getDefaultInstance()
+            : transaction_;
       }
     }
     /**
+     *
+     *
      * 
      * If the read or SQL query began a transaction as a side-effect, the
      * information about the new transaction is yielded here.
@@ -978,14 +1080,17 @@ public com.google.spanner.v1.TransactionOrBuilder getTransactionOrBuilder() {
      * .google.spanner.v1.Transaction transaction = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.spanner.v1.Transaction, com.google.spanner.v1.Transaction.Builder, com.google.spanner.v1.TransactionOrBuilder> 
+            com.google.spanner.v1.Transaction,
+            com.google.spanner.v1.Transaction.Builder,
+            com.google.spanner.v1.TransactionOrBuilder>
         getTransactionFieldBuilder() {
       if (transactionBuilder_ == null) {
-        transactionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.Transaction, com.google.spanner.v1.Transaction.Builder, com.google.spanner.v1.TransactionOrBuilder>(
-                getTransaction(),
-                getParentForChildren(),
-                isClean());
+        transactionBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.spanner.v1.Transaction,
+                com.google.spanner.v1.Transaction.Builder,
+                com.google.spanner.v1.TransactionOrBuilder>(
+                getTransaction(), getParentForChildren(), isClean());
         transaction_ = null;
       }
       return transactionBuilder_;
@@ -993,8 +1098,13 @@ public com.google.spanner.v1.TransactionOrBuilder getTransactionOrBuilder() {
 
     private com.google.spanner.v1.StructType undeclaredParameters_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.spanner.v1.StructType, com.google.spanner.v1.StructType.Builder, com.google.spanner.v1.StructTypeOrBuilder> undeclaredParametersBuilder_;
+            com.google.spanner.v1.StructType,
+            com.google.spanner.v1.StructType.Builder,
+            com.google.spanner.v1.StructTypeOrBuilder>
+        undeclaredParametersBuilder_;
     /**
+     *
+     *
      * 
      * A SQL query can be parameterized. In PLAN mode, these parameters can be
      * undeclared. This indicates the field names and types for those undeclared
@@ -1008,12 +1118,15 @@ public com.google.spanner.v1.TransactionOrBuilder getTransactionOrBuilder() {
      * 
* * .google.spanner.v1.StructType undeclared_parameters = 3; + * * @return Whether the undeclaredParameters field is set. */ public boolean hasUndeclaredParameters() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * A SQL query can be parameterized. In PLAN mode, these parameters can be
      * undeclared. This indicates the field names and types for those undeclared
@@ -1027,16 +1140,21 @@ public boolean hasUndeclaredParameters() {
      * 
* * .google.spanner.v1.StructType undeclared_parameters = 3; + * * @return The undeclaredParameters. */ public com.google.spanner.v1.StructType getUndeclaredParameters() { if (undeclaredParametersBuilder_ == null) { - return undeclaredParameters_ == null ? com.google.spanner.v1.StructType.getDefaultInstance() : undeclaredParameters_; + return undeclaredParameters_ == null + ? com.google.spanner.v1.StructType.getDefaultInstance() + : undeclaredParameters_; } else { return undeclaredParametersBuilder_.getMessage(); } } /** + * + * *
      * A SQL query can be parameterized. In PLAN mode, these parameters can be
      * undeclared. This indicates the field names and types for those undeclared
@@ -1065,6 +1183,8 @@ public Builder setUndeclaredParameters(com.google.spanner.v1.StructType value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A SQL query can be parameterized. In PLAN mode, these parameters can be
      * undeclared. This indicates the field names and types for those undeclared
@@ -1091,6 +1211,8 @@ public Builder setUndeclaredParameters(
       return this;
     }
     /**
+     *
+     *
      * 
      * A SQL query can be parameterized. In PLAN mode, these parameters can be
      * undeclared. This indicates the field names and types for those undeclared
@@ -1107,9 +1229,9 @@ public Builder setUndeclaredParameters(
      */
     public Builder mergeUndeclaredParameters(com.google.spanner.v1.StructType value) {
       if (undeclaredParametersBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0) &&
-          undeclaredParameters_ != null &&
-          undeclaredParameters_ != com.google.spanner.v1.StructType.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0)
+            && undeclaredParameters_ != null
+            && undeclaredParameters_ != com.google.spanner.v1.StructType.getDefaultInstance()) {
           getUndeclaredParametersBuilder().mergeFrom(value);
         } else {
           undeclaredParameters_ = value;
@@ -1122,6 +1244,8 @@ public Builder mergeUndeclaredParameters(com.google.spanner.v1.StructType value)
       return this;
     }
     /**
+     *
+     *
      * 
      * A SQL query can be parameterized. In PLAN mode, these parameters can be
      * undeclared. This indicates the field names and types for those undeclared
@@ -1147,6 +1271,8 @@ public Builder clearUndeclaredParameters() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A SQL query can be parameterized. In PLAN mode, these parameters can be
      * undeclared. This indicates the field names and types for those undeclared
@@ -1167,6 +1293,8 @@ public com.google.spanner.v1.StructType.Builder getUndeclaredParametersBuilder()
       return getUndeclaredParametersFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A SQL query can be parameterized. In PLAN mode, these parameters can be
      * undeclared. This indicates the field names and types for those undeclared
@@ -1185,11 +1313,14 @@ public com.google.spanner.v1.StructTypeOrBuilder getUndeclaredParametersOrBuilde
       if (undeclaredParametersBuilder_ != null) {
         return undeclaredParametersBuilder_.getMessageOrBuilder();
       } else {
-        return undeclaredParameters_ == null ?
-            com.google.spanner.v1.StructType.getDefaultInstance() : undeclaredParameters_;
+        return undeclaredParameters_ == null
+            ? com.google.spanner.v1.StructType.getDefaultInstance()
+            : undeclaredParameters_;
       }
     }
     /**
+     *
+     *
      * 
      * A SQL query can be parameterized. In PLAN mode, these parameters can be
      * undeclared. This indicates the field names and types for those undeclared
@@ -1205,21 +1336,24 @@ public com.google.spanner.v1.StructTypeOrBuilder getUndeclaredParametersOrBuilde
      * .google.spanner.v1.StructType undeclared_parameters = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.spanner.v1.StructType, com.google.spanner.v1.StructType.Builder, com.google.spanner.v1.StructTypeOrBuilder> 
+            com.google.spanner.v1.StructType,
+            com.google.spanner.v1.StructType.Builder,
+            com.google.spanner.v1.StructTypeOrBuilder>
         getUndeclaredParametersFieldBuilder() {
       if (undeclaredParametersBuilder_ == null) {
-        undeclaredParametersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.StructType, com.google.spanner.v1.StructType.Builder, com.google.spanner.v1.StructTypeOrBuilder>(
-                getUndeclaredParameters(),
-                getParentForChildren(),
-                isClean());
+        undeclaredParametersBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.spanner.v1.StructType,
+                com.google.spanner.v1.StructType.Builder,
+                com.google.spanner.v1.StructTypeOrBuilder>(
+                getUndeclaredParameters(), getParentForChildren(), isClean());
         undeclaredParameters_ = null;
       }
       return undeclaredParametersBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1229,12 +1363,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.spanner.v1.ResultSetMetadata)
   }
 
   // @@protoc_insertion_point(class_scope:google.spanner.v1.ResultSetMetadata)
   private static final com.google.spanner.v1.ResultSetMetadata DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.spanner.v1.ResultSetMetadata();
   }
@@ -1243,27 +1377,27 @@ public static com.google.spanner.v1.ResultSetMetadata getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public ResultSetMetadata parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public ResultSetMetadata parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1278,6 +1412,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.spanner.v1.ResultSetMetadata getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetMetadataOrBuilder.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetMetadataOrBuilder.java
similarity index 86%
rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetMetadataOrBuilder.java
rename to proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetMetadataOrBuilder.java
index 4ec6ab21f54..38216902ce7 100644
--- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetMetadataOrBuilder.java
+++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetMetadataOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/v1/result_set.proto
 
 package com.google.spanner.v1;
 
-public interface ResultSetMetadataOrBuilder extends
+public interface ResultSetMetadataOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.spanner.v1.ResultSetMetadata)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Indicates the field names and types for the rows in the result
    * set.  For example, a SQL query like `"SELECT UserId, UserName FROM
@@ -19,10 +37,13 @@ public interface ResultSetMetadataOrBuilder extends
    * 
* * .google.spanner.v1.StructType row_type = 1; + * * @return Whether the rowType field is set. */ boolean hasRowType(); /** + * + * *
    * Indicates the field names and types for the rows in the result
    * set.  For example, a SQL query like `"SELECT UserId, UserName FROM
@@ -34,10 +55,13 @@ public interface ResultSetMetadataOrBuilder extends
    * 
* * .google.spanner.v1.StructType row_type = 1; + * * @return The rowType. */ com.google.spanner.v1.StructType getRowType(); /** + * + * *
    * Indicates the field names and types for the rows in the result
    * set.  For example, a SQL query like `"SELECT UserId, UserName FROM
@@ -53,26 +77,34 @@ public interface ResultSetMetadataOrBuilder extends
   com.google.spanner.v1.StructTypeOrBuilder getRowTypeOrBuilder();
 
   /**
+   *
+   *
    * 
    * If the read or SQL query began a transaction as a side-effect, the
    * information about the new transaction is yielded here.
    * 
* * .google.spanner.v1.Transaction transaction = 2; + * * @return Whether the transaction field is set. */ boolean hasTransaction(); /** + * + * *
    * If the read or SQL query began a transaction as a side-effect, the
    * information about the new transaction is yielded here.
    * 
* * .google.spanner.v1.Transaction transaction = 2; + * * @return The transaction. */ com.google.spanner.v1.Transaction getTransaction(); /** + * + * *
    * If the read or SQL query began a transaction as a side-effect, the
    * information about the new transaction is yielded here.
@@ -83,6 +115,8 @@ public interface ResultSetMetadataOrBuilder extends
   com.google.spanner.v1.TransactionOrBuilder getTransactionOrBuilder();
 
   /**
+   *
+   *
    * 
    * A SQL query can be parameterized. In PLAN mode, these parameters can be
    * undeclared. This indicates the field names and types for those undeclared
@@ -96,10 +130,13 @@ public interface ResultSetMetadataOrBuilder extends
    * 
* * .google.spanner.v1.StructType undeclared_parameters = 3; + * * @return Whether the undeclaredParameters field is set. */ boolean hasUndeclaredParameters(); /** + * + * *
    * A SQL query can be parameterized. In PLAN mode, these parameters can be
    * undeclared. This indicates the field names and types for those undeclared
@@ -113,10 +150,13 @@ public interface ResultSetMetadataOrBuilder extends
    * 
* * .google.spanner.v1.StructType undeclared_parameters = 3; + * * @return The undeclaredParameters. */ com.google.spanner.v1.StructType getUndeclaredParameters(); /** + * + * *
    * A SQL query can be parameterized. In PLAN mode, these parameters can be
    * undeclared. This indicates the field names and types for those undeclared
diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetOrBuilder.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetOrBuilder.java
similarity index 86%
rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetOrBuilder.java
rename to proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetOrBuilder.java
index dd2a203c547..81a2f13afd3 100644
--- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetOrBuilder.java
+++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetOrBuilder.java
@@ -1,31 +1,55 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/v1/result_set.proto
 
 package com.google.spanner.v1;
 
-public interface ResultSetOrBuilder extends
+public interface ResultSetOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.spanner.v1.ResultSet)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Metadata about the result set, such as row type information.
    * 
* * .google.spanner.v1.ResultSetMetadata metadata = 1; + * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** + * + * *
    * Metadata about the result set, such as row type information.
    * 
* * .google.spanner.v1.ResultSetMetadata metadata = 1; + * * @return The metadata. */ com.google.spanner.v1.ResultSetMetadata getMetadata(); /** + * + * *
    * Metadata about the result set, such as row type information.
    * 
@@ -35,6 +59,8 @@ public interface ResultSetOrBuilder extends com.google.spanner.v1.ResultSetMetadataOrBuilder getMetadataOrBuilder(); /** + * + * *
    * Each element in `rows` is a row whose format is defined by
    * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -46,9 +72,10 @@ public interface ResultSetOrBuilder extends
    *
    * repeated .google.protobuf.ListValue rows = 2;
    */
-  java.util.List 
-      getRowsList();
+  java.util.List getRowsList();
   /**
+   *
+   *
    * 
    * Each element in `rows` is a row whose format is defined by
    * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -62,6 +89,8 @@ public interface ResultSetOrBuilder extends
    */
   com.google.protobuf.ListValue getRows(int index);
   /**
+   *
+   *
    * 
    * Each element in `rows` is a row whose format is defined by
    * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -75,6 +104,8 @@ public interface ResultSetOrBuilder extends
    */
   int getRowsCount();
   /**
+   *
+   *
    * 
    * Each element in `rows` is a row whose format is defined by
    * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -86,9 +117,10 @@ public interface ResultSetOrBuilder extends
    *
    * repeated .google.protobuf.ListValue rows = 2;
    */
-  java.util.List 
-      getRowsOrBuilderList();
+  java.util.List getRowsOrBuilderList();
   /**
+   *
+   *
    * 
    * Each element in `rows` is a row whose format is defined by
    * [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element
@@ -100,10 +132,11 @@ public interface ResultSetOrBuilder extends
    *
    * repeated .google.protobuf.ListValue rows = 2;
    */
-  com.google.protobuf.ListValueOrBuilder getRowsOrBuilder(
-      int index);
+  com.google.protobuf.ListValueOrBuilder getRowsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * Query plan and execution statistics for the SQL statement that
    * produced this result set. These can be requested by setting
@@ -116,10 +149,13 @@ com.google.protobuf.ListValueOrBuilder getRowsOrBuilder(
    * 
* * .google.spanner.v1.ResultSetStats stats = 3; + * * @return Whether the stats field is set. */ boolean hasStats(); /** + * + * *
    * Query plan and execution statistics for the SQL statement that
    * produced this result set. These can be requested by setting
@@ -132,10 +168,13 @@ com.google.protobuf.ListValueOrBuilder getRowsOrBuilder(
    * 
* * .google.spanner.v1.ResultSetStats stats = 3; + * * @return The stats. */ com.google.spanner.v1.ResultSetStats getStats(); /** + * + * *
    * Query plan and execution statistics for the SQL statement that
    * produced this result set. These can be requested by setting
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetProto.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetProto.java
new file mode 100644
index 00000000000..72abfc21124
--- /dev/null
+++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetProto.java
@@ -0,0 +1,133 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/spanner/v1/result_set.proto
+
+package com.google.spanner.v1;
+
+public final class ResultSetProto {
+  private ResultSetProto() {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_spanner_v1_ResultSet_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_spanner_v1_ResultSet_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_spanner_v1_PartialResultSet_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_spanner_v1_PartialResultSet_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_spanner_v1_ResultSetMetadata_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_spanner_v1_ResultSetMetadata_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_spanner_v1_ResultSetStats_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_spanner_v1_ResultSetStats_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+    return descriptor;
+  }
+
+  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
+
+  static {
+    java.lang.String[] descriptorData = {
+      "\n\"google/spanner/v1/result_set.proto\022\021go"
+          + "ogle.spanner.v1\032\034google/protobuf/struct."
+          + "proto\032\"google/spanner/v1/query_plan.prot"
+          + "o\032#google/spanner/v1/transaction.proto\032\034"
+          + "google/spanner/v1/type.proto\"\237\001\n\tResultS"
+          + "et\0226\n\010metadata\030\001 \001(\0132$.google.spanner.v1"
+          + ".ResultSetMetadata\022(\n\004rows\030\002 \003(\0132\032.googl"
+          + "e.protobuf.ListValue\0220\n\005stats\030\003 \001(\0132!.go"
+          + "ogle.spanner.v1.ResultSetStats\"\321\001\n\020Parti"
+          + "alResultSet\0226\n\010metadata\030\001 \001(\0132$.google.s"
+          + "panner.v1.ResultSetMetadata\022&\n\006values\030\002 "
+          + "\003(\0132\026.google.protobuf.Value\022\025\n\rchunked_v"
+          + "alue\030\003 \001(\010\022\024\n\014resume_token\030\004 \001(\014\0220\n\005stat"
+          + "s\030\005 \001(\0132!.google.spanner.v1.ResultSetSta"
+          + "ts\"\267\001\n\021ResultSetMetadata\022/\n\010row_type\030\001 \001"
+          + "(\0132\035.google.spanner.v1.StructType\0223\n\013tra"
+          + "nsaction\030\002 \001(\0132\036.google.spanner.v1.Trans"
+          + "action\022<\n\025undeclared_parameters\030\003 \001(\0132\035."
+          + "google.spanner.v1.StructType\"\271\001\n\016ResultS"
+          + "etStats\0220\n\nquery_plan\030\001 \001(\0132\034.google.spa"
+          + "nner.v1.QueryPlan\022,\n\013query_stats\030\002 \001(\0132\027"
+          + ".google.protobuf.Struct\022\031\n\017row_count_exa"
+          + "ct\030\003 \001(\003H\000\022\037\n\025row_count_lower_bound\030\004 \001("
+          + "\003H\000B\013\n\trow_countB\264\001\n\025com.google.spanner."
+          + "v1B\016ResultSetProtoP\001Z5cloud.google.com/g"
+          + "o/spanner/apiv1/spannerpb;spannerpb\370\001\001\252\002"
+          + "\027Google.Cloud.Spanner.V1\312\002\027Google\\Cloud\\"
+          + "Spanner\\V1\352\002\032Google::Cloud::Spanner::V1b"
+          + "\006proto3"
+    };
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData,
+            new com.google.protobuf.Descriptors.FileDescriptor[] {
+              com.google.protobuf.StructProto.getDescriptor(),
+              com.google.spanner.v1.QueryPlanProto.getDescriptor(),
+              com.google.spanner.v1.TransactionProto.getDescriptor(),
+              com.google.spanner.v1.TypeProto.getDescriptor(),
+            });
+    internal_static_google_spanner_v1_ResultSet_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_spanner_v1_ResultSet_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_spanner_v1_ResultSet_descriptor,
+            new java.lang.String[] {
+              "Metadata", "Rows", "Stats",
+            });
+    internal_static_google_spanner_v1_PartialResultSet_descriptor =
+        getDescriptor().getMessageTypes().get(1);
+    internal_static_google_spanner_v1_PartialResultSet_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_spanner_v1_PartialResultSet_descriptor,
+            new java.lang.String[] {
+              "Metadata", "Values", "ChunkedValue", "ResumeToken", "Stats",
+            });
+    internal_static_google_spanner_v1_ResultSetMetadata_descriptor =
+        getDescriptor().getMessageTypes().get(2);
+    internal_static_google_spanner_v1_ResultSetMetadata_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_spanner_v1_ResultSetMetadata_descriptor,
+            new java.lang.String[] {
+              "RowType", "Transaction", "UndeclaredParameters",
+            });
+    internal_static_google_spanner_v1_ResultSetStats_descriptor =
+        getDescriptor().getMessageTypes().get(3);
+    internal_static_google_spanner_v1_ResultSetStats_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_spanner_v1_ResultSetStats_descriptor,
+            new java.lang.String[] {
+              "QueryPlan", "QueryStats", "RowCountExact", "RowCountLowerBound", "RowCount",
+            });
+    com.google.protobuf.StructProto.getDescriptor();
+    com.google.spanner.v1.QueryPlanProto.getDescriptor();
+    com.google.spanner.v1.TransactionProto.getDescriptor();
+    com.google.spanner.v1.TypeProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetStats.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetStats.java
similarity index 73%
rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetStats.java
rename to proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetStats.java
index 67f1c4c8951..3c940cb8d13 100644
--- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetStats.java
+++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetStats.java
@@ -1,61 +1,82 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/v1/result_set.proto
 
 package com.google.spanner.v1;
 
 /**
+ *
+ *
  * 
  * Additional statistics about a [ResultSet][google.spanner.v1.ResultSet] or [PartialResultSet][google.spanner.v1.PartialResultSet].
  * 
* * Protobuf type {@code google.spanner.v1.ResultSetStats} */ -public final class ResultSetStats extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ResultSetStats extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.spanner.v1.ResultSetStats) ResultSetStatsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ResultSetStats.newBuilder() to construct. private ResultSetStats(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ResultSetStats() { - } + + private ResultSetStats() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ResultSetStats(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.v1.ResultSetProto.internal_static_google_spanner_v1_ResultSetStats_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.v1.ResultSetProto + .internal_static_google_spanner_v1_ResultSetStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.ResultSetProto.internal_static_google_spanner_v1_ResultSetStats_fieldAccessorTable + return com.google.spanner.v1.ResultSetProto + .internal_static_google_spanner_v1_ResultSetStats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.ResultSetStats.class, com.google.spanner.v1.ResultSetStats.Builder.class); + com.google.spanner.v1.ResultSetStats.class, + com.google.spanner.v1.ResultSetStats.Builder.class); } private int rowCountCase_ = 0; private java.lang.Object rowCount_; + public enum RowCountCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { ROW_COUNT_EXACT(3), ROW_COUNT_LOWER_BOUND(4), ROWCOUNT_NOT_SET(0); private final int value; + private RowCountCase(int value) { this.value = value; } @@ -71,31 +92,37 @@ public static RowCountCase valueOf(int value) { public static RowCountCase forNumber(int value) { switch (value) { - case 3: return ROW_COUNT_EXACT; - case 4: return ROW_COUNT_LOWER_BOUND; - case 0: return ROWCOUNT_NOT_SET; - default: return null; + case 3: + return ROW_COUNT_EXACT; + case 4: + return ROW_COUNT_LOWER_BOUND; + case 0: + return ROWCOUNT_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public RowCountCase - getRowCountCase() { - return RowCountCase.forNumber( - rowCountCase_); + public RowCountCase getRowCountCase() { + return RowCountCase.forNumber(rowCountCase_); } public static final int QUERY_PLAN_FIELD_NUMBER = 1; private com.google.spanner.v1.QueryPlan queryPlan_; /** + * + * *
    * [QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
    * 
* * .google.spanner.v1.QueryPlan query_plan = 1; + * * @return Whether the queryPlan field is set. */ @java.lang.Override @@ -103,11 +130,14 @@ public boolean hasQueryPlan() { return queryPlan_ != null; } /** + * + * *
    * [QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
    * 
* * .google.spanner.v1.QueryPlan query_plan = 1; + * * @return The queryPlan. */ @java.lang.Override @@ -115,6 +145,8 @@ public com.google.spanner.v1.QueryPlan getQueryPlan() { return queryPlan_ == null ? com.google.spanner.v1.QueryPlan.getDefaultInstance() : queryPlan_; } /** + * + * *
    * [QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
    * 
@@ -129,6 +161,8 @@ public com.google.spanner.v1.QueryPlanOrBuilder getQueryPlanOrBuilder() { public static final int QUERY_STATS_FIELD_NUMBER = 2; private com.google.protobuf.Struct queryStats_; /** + * + * *
    * Aggregated statistics from the execution of the query. Only present when
    * the query is profiled. For example, a query could return the statistics as
@@ -141,6 +175,7 @@ public com.google.spanner.v1.QueryPlanOrBuilder getQueryPlanOrBuilder() {
    * 
* * .google.protobuf.Struct query_stats = 2; + * * @return Whether the queryStats field is set. */ @java.lang.Override @@ -148,6 +183,8 @@ public boolean hasQueryStats() { return queryStats_ != null; } /** + * + * *
    * Aggregated statistics from the execution of the query. Only present when
    * the query is profiled. For example, a query could return the statistics as
@@ -160,6 +197,7 @@ public boolean hasQueryStats() {
    * 
* * .google.protobuf.Struct query_stats = 2; + * * @return The queryStats. */ @java.lang.Override @@ -167,6 +205,8 @@ public com.google.protobuf.Struct getQueryStats() { return queryStats_ == null ? com.google.protobuf.Struct.getDefaultInstance() : queryStats_; } /** + * + * *
    * Aggregated statistics from the execution of the query. Only present when
    * the query is profiled. For example, a query could return the statistics as
@@ -187,11 +227,14 @@ public com.google.protobuf.StructOrBuilder getQueryStatsOrBuilder() {
 
   public static final int ROW_COUNT_EXACT_FIELD_NUMBER = 3;
   /**
+   *
+   *
    * 
    * Standard DML returns an exact count of rows that were modified.
    * 
* * int64 row_count_exact = 3; + * * @return Whether the rowCountExact field is set. */ @java.lang.Override @@ -199,11 +242,14 @@ public boolean hasRowCountExact() { return rowCountCase_ == 3; } /** + * + * *
    * Standard DML returns an exact count of rows that were modified.
    * 
* * int64 row_count_exact = 3; + * * @return The rowCountExact. */ @java.lang.Override @@ -216,12 +262,15 @@ public long getRowCountExact() { public static final int ROW_COUNT_LOWER_BOUND_FIELD_NUMBER = 4; /** + * + * *
    * Partitioned DML does not offer exactly-once semantics, so it
    * returns a lower bound of the rows modified.
    * 
* * int64 row_count_lower_bound = 4; + * * @return Whether the rowCountLowerBound field is set. */ @java.lang.Override @@ -229,12 +278,15 @@ public boolean hasRowCountLowerBound() { return rowCountCase_ == 4; } /** + * + * *
    * Partitioned DML does not offer exactly-once semantics, so it
    * returns a lower bound of the rows modified.
    * 
* * int64 row_count_lower_bound = 4; + * * @return The rowCountLowerBound. */ @java.lang.Override @@ -246,6 +298,7 @@ public long getRowCountLowerBound() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -257,8 +310,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 (queryPlan_ != null) { output.writeMessage(1, getQueryPlan()); } @@ -266,12 +318,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeMessage(2, getQueryStats()); } if (rowCountCase_ == 3) { - output.writeInt64( - 3, (long)((java.lang.Long) rowCount_)); + output.writeInt64(3, (long) ((java.lang.Long) rowCount_)); } if (rowCountCase_ == 4) { - output.writeInt64( - 4, (long)((java.lang.Long) rowCount_)); + output.writeInt64(4, (long) ((java.lang.Long) rowCount_)); } getUnknownFields().writeTo(output); } @@ -283,22 +333,20 @@ public int getSerializedSize() { size = 0; if (queryPlan_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getQueryPlan()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getQueryPlan()); } if (queryStats_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getQueryStats()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getQueryStats()); } if (rowCountCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size( - 3, (long)((java.lang.Long) rowCount_)); + size += + com.google.protobuf.CodedOutputStream.computeInt64Size( + 3, (long) ((java.lang.Long) rowCount_)); } if (rowCountCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size( - 4, (long)((java.lang.Long) rowCount_)); + size += + com.google.protobuf.CodedOutputStream.computeInt64Size( + 4, (long) ((java.lang.Long) rowCount_)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -308,7 +356,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.spanner.v1.ResultSetStats)) { return super.equals(obj); @@ -317,23 +365,19 @@ public boolean equals(final java.lang.Object obj) { if (hasQueryPlan() != other.hasQueryPlan()) return false; if (hasQueryPlan()) { - if (!getQueryPlan() - .equals(other.getQueryPlan())) return false; + if (!getQueryPlan().equals(other.getQueryPlan())) return false; } if (hasQueryStats() != other.hasQueryStats()) return false; if (hasQueryStats()) { - if (!getQueryStats() - .equals(other.getQueryStats())) return false; + if (!getQueryStats().equals(other.getQueryStats())) return false; } if (!getRowCountCase().equals(other.getRowCountCase())) return false; switch (rowCountCase_) { case 3: - if (getRowCountExact() - != other.getRowCountExact()) return false; + if (getRowCountExact() != other.getRowCountExact()) return false; break; case 4: - if (getRowCountLowerBound() - != other.getRowCountLowerBound()) return false; + if (getRowCountLowerBound() != other.getRowCountLowerBound()) return false; break; case 0: default: @@ -360,13 +404,11 @@ public int hashCode() { switch (rowCountCase_) { case 3: hash = (37 * hash) + ROW_COUNT_EXACT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getRowCountExact()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getRowCountExact()); break; case 4: hash = (37 * hash) + ROW_COUNT_LOWER_BOUND_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getRowCountLowerBound()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getRowCountLowerBound()); break; case 0: default: @@ -376,130 +418,135 @@ public int hashCode() { return hash; } - public static com.google.spanner.v1.ResultSetStats parseFrom( - java.nio.ByteBuffer data) + public static com.google.spanner.v1.ResultSetStats parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.ResultSetStats parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.ResultSetStats parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.spanner.v1.ResultSetStats parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.ResultSetStats parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.v1.ResultSetStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.ResultSetStats parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.v1.ResultSetStats parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.v1.ResultSetStats parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.spanner.v1.ResultSetStats 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.spanner.v1.ResultSetStats parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.spanner.v1.ResultSetStats parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.v1.ResultSetStats parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.spanner.v1.ResultSetStats prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Additional statistics about a [ResultSet][google.spanner.v1.ResultSet] or [PartialResultSet][google.spanner.v1.PartialResultSet].
    * 
* * Protobuf type {@code google.spanner.v1.ResultSetStats} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.ResultSetStats) com.google.spanner.v1.ResultSetStatsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.v1.ResultSetProto.internal_static_google_spanner_v1_ResultSetStats_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.v1.ResultSetProto + .internal_static_google_spanner_v1_ResultSetStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.ResultSetProto.internal_static_google_spanner_v1_ResultSetStats_fieldAccessorTable + return com.google.spanner.v1.ResultSetProto + .internal_static_google_spanner_v1_ResultSetStats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.ResultSetStats.class, com.google.spanner.v1.ResultSetStats.Builder.class); + com.google.spanner.v1.ResultSetStats.class, + com.google.spanner.v1.ResultSetStats.Builder.class); } // Construct using com.google.spanner.v1.ResultSetStats.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - 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.spanner.v1.ResultSetProto.internal_static_google_spanner_v1_ResultSetStats_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.spanner.v1.ResultSetProto + .internal_static_google_spanner_v1_ResultSetStats_descriptor; } @java.lang.Override @@ -542,7 +589,9 @@ public com.google.spanner.v1.ResultSetStats build() { @java.lang.Override public com.google.spanner.v1.ResultSetStats buildPartial() { com.google.spanner.v1.ResultSetStats result = new com.google.spanner.v1.ResultSetStats(this); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -551,14 +600,10 @@ public com.google.spanner.v1.ResultSetStats buildPartial() { private void buildPartial0(com.google.spanner.v1.ResultSetStats result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.queryPlan_ = queryPlanBuilder_ == null - ? queryPlan_ - : queryPlanBuilder_.build(); + result.queryPlan_ = queryPlanBuilder_ == null ? queryPlan_ : queryPlanBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.queryStats_ = queryStatsBuilder_ == null - ? queryStats_ - : queryStatsBuilder_.build(); + result.queryStats_ = queryStatsBuilder_ == null ? queryStats_ : queryStatsBuilder_.build(); } } @@ -571,38 +616,39 @@ private void buildPartialOneofs(com.google.spanner.v1.ResultSetStats 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.spanner.v1.ResultSetStats) { - return mergeFrom((com.google.spanner.v1.ResultSetStats)other); + return mergeFrom((com.google.spanner.v1.ResultSetStats) other); } else { super.mergeFrom(other); return this; @@ -618,17 +664,20 @@ public Builder mergeFrom(com.google.spanner.v1.ResultSetStats other) { mergeQueryStats(other.getQueryStats()); } switch (other.getRowCountCase()) { - case ROW_COUNT_EXACT: { - setRowCountExact(other.getRowCountExact()); - break; - } - case ROW_COUNT_LOWER_BOUND: { - setRowCountLowerBound(other.getRowCountLowerBound()); - break; - } - case ROWCOUNT_NOT_SET: { - break; - } + case ROW_COUNT_EXACT: + { + setRowCountExact(other.getRowCountExact()); + break; + } + case ROW_COUNT_LOWER_BOUND: + { + setRowCountLowerBound(other.getRowCountLowerBound()); + break; + } + case ROWCOUNT_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -656,36 +705,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getQueryPlanFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getQueryStatsFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - rowCount_ = input.readInt64(); - rowCountCase_ = 3; - break; - } // case 24 - case 32: { - rowCount_ = input.readInt64(); - rowCountCase_ = 4; - break; - } // case 32 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getQueryPlanFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getQueryStatsFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + rowCount_ = input.readInt64(); + rowCountCase_ = 3; + break; + } // case 24 + case 32: + { + rowCount_ = input.readInt64(); + rowCountCase_ = 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) { @@ -695,12 +745,12 @@ public Builder mergeFrom( } // finally return this; } + private int rowCountCase_ = 0; private java.lang.Object rowCount_; - public RowCountCase - getRowCountCase() { - return RowCountCase.forNumber( - rowCountCase_); + + public RowCountCase getRowCountCase() { + return RowCountCase.forNumber(rowCountCase_); } public Builder clearRowCount() { @@ -714,34 +764,47 @@ public Builder clearRowCount() { private com.google.spanner.v1.QueryPlan queryPlan_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.QueryPlan, com.google.spanner.v1.QueryPlan.Builder, com.google.spanner.v1.QueryPlanOrBuilder> queryPlanBuilder_; + com.google.spanner.v1.QueryPlan, + com.google.spanner.v1.QueryPlan.Builder, + com.google.spanner.v1.QueryPlanOrBuilder> + queryPlanBuilder_; /** + * + * *
      * [QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
      * 
* * .google.spanner.v1.QueryPlan query_plan = 1; + * * @return Whether the queryPlan field is set. */ public boolean hasQueryPlan() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * [QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
      * 
* * .google.spanner.v1.QueryPlan query_plan = 1; + * * @return The queryPlan. */ public com.google.spanner.v1.QueryPlan getQueryPlan() { if (queryPlanBuilder_ == null) { - return queryPlan_ == null ? com.google.spanner.v1.QueryPlan.getDefaultInstance() : queryPlan_; + return queryPlan_ == null + ? com.google.spanner.v1.QueryPlan.getDefaultInstance() + : queryPlan_; } else { return queryPlanBuilder_.getMessage(); } } /** + * + * *
      * [QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
      * 
@@ -762,14 +825,15 @@ public Builder setQueryPlan(com.google.spanner.v1.QueryPlan value) { return this; } /** + * + * *
      * [QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
      * 
* * .google.spanner.v1.QueryPlan query_plan = 1; */ - public Builder setQueryPlan( - com.google.spanner.v1.QueryPlan.Builder builderForValue) { + public Builder setQueryPlan(com.google.spanner.v1.QueryPlan.Builder builderForValue) { if (queryPlanBuilder_ == null) { queryPlan_ = builderForValue.build(); } else { @@ -780,6 +844,8 @@ public Builder setQueryPlan( return this; } /** + * + * *
      * [QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
      * 
@@ -788,9 +854,9 @@ public Builder setQueryPlan( */ public Builder mergeQueryPlan(com.google.spanner.v1.QueryPlan value) { if (queryPlanBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - queryPlan_ != null && - queryPlan_ != com.google.spanner.v1.QueryPlan.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && queryPlan_ != null + && queryPlan_ != com.google.spanner.v1.QueryPlan.getDefaultInstance()) { getQueryPlanBuilder().mergeFrom(value); } else { queryPlan_ = value; @@ -803,6 +869,8 @@ public Builder mergeQueryPlan(com.google.spanner.v1.QueryPlan value) { return this; } /** + * + * *
      * [QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
      * 
@@ -820,6 +888,8 @@ public Builder clearQueryPlan() { return this; } /** + * + * *
      * [QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
      * 
@@ -832,6 +902,8 @@ public com.google.spanner.v1.QueryPlan.Builder getQueryPlanBuilder() { return getQueryPlanFieldBuilder().getBuilder(); } /** + * + * *
      * [QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
      * 
@@ -842,11 +914,14 @@ public com.google.spanner.v1.QueryPlanOrBuilder getQueryPlanOrBuilder() { if (queryPlanBuilder_ != null) { return queryPlanBuilder_.getMessageOrBuilder(); } else { - return queryPlan_ == null ? - com.google.spanner.v1.QueryPlan.getDefaultInstance() : queryPlan_; + return queryPlan_ == null + ? com.google.spanner.v1.QueryPlan.getDefaultInstance() + : queryPlan_; } } /** + * + * *
      * [QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
      * 
@@ -854,14 +929,17 @@ public com.google.spanner.v1.QueryPlanOrBuilder getQueryPlanOrBuilder() { * .google.spanner.v1.QueryPlan query_plan = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.QueryPlan, com.google.spanner.v1.QueryPlan.Builder, com.google.spanner.v1.QueryPlanOrBuilder> + com.google.spanner.v1.QueryPlan, + com.google.spanner.v1.QueryPlan.Builder, + com.google.spanner.v1.QueryPlanOrBuilder> getQueryPlanFieldBuilder() { if (queryPlanBuilder_ == null) { - queryPlanBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.QueryPlan, com.google.spanner.v1.QueryPlan.Builder, com.google.spanner.v1.QueryPlanOrBuilder>( - getQueryPlan(), - getParentForChildren(), - isClean()); + queryPlanBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.v1.QueryPlan, + com.google.spanner.v1.QueryPlan.Builder, + com.google.spanner.v1.QueryPlanOrBuilder>( + getQueryPlan(), getParentForChildren(), isClean()); queryPlan_ = null; } return queryPlanBuilder_; @@ -869,8 +947,13 @@ public com.google.spanner.v1.QueryPlanOrBuilder getQueryPlanOrBuilder() { private com.google.protobuf.Struct queryStats_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> queryStatsBuilder_; + com.google.protobuf.Struct, + com.google.protobuf.Struct.Builder, + com.google.protobuf.StructOrBuilder> + queryStatsBuilder_; /** + * + * *
      * Aggregated statistics from the execution of the query. Only present when
      * the query is profiled. For example, a query could return the statistics as
@@ -883,12 +966,15 @@ public com.google.spanner.v1.QueryPlanOrBuilder getQueryPlanOrBuilder() {
      * 
* * .google.protobuf.Struct query_stats = 2; + * * @return Whether the queryStats field is set. */ public boolean hasQueryStats() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Aggregated statistics from the execution of the query. Only present when
      * the query is profiled. For example, a query could return the statistics as
@@ -901,6 +987,7 @@ public boolean hasQueryStats() {
      * 
* * .google.protobuf.Struct query_stats = 2; + * * @return The queryStats. */ public com.google.protobuf.Struct getQueryStats() { @@ -911,6 +998,8 @@ public com.google.protobuf.Struct getQueryStats() { } } /** + * + * *
      * Aggregated statistics from the execution of the query. Only present when
      * the query is profiled. For example, a query could return the statistics as
@@ -938,6 +1027,8 @@ public Builder setQueryStats(com.google.protobuf.Struct value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Aggregated statistics from the execution of the query. Only present when
      * the query is profiled. For example, a query could return the statistics as
@@ -951,8 +1042,7 @@ public Builder setQueryStats(com.google.protobuf.Struct value) {
      *
      * .google.protobuf.Struct query_stats = 2;
      */
-    public Builder setQueryStats(
-        com.google.protobuf.Struct.Builder builderForValue) {
+    public Builder setQueryStats(com.google.protobuf.Struct.Builder builderForValue) {
       if (queryStatsBuilder_ == null) {
         queryStats_ = builderForValue.build();
       } else {
@@ -963,6 +1053,8 @@ public Builder setQueryStats(
       return this;
     }
     /**
+     *
+     *
      * 
      * Aggregated statistics from the execution of the query. Only present when
      * the query is profiled. For example, a query could return the statistics as
@@ -978,9 +1070,9 @@ public Builder setQueryStats(
      */
     public Builder mergeQueryStats(com.google.protobuf.Struct value) {
       if (queryStatsBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0) &&
-          queryStats_ != null &&
-          queryStats_ != com.google.protobuf.Struct.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0)
+            && queryStats_ != null
+            && queryStats_ != com.google.protobuf.Struct.getDefaultInstance()) {
           getQueryStatsBuilder().mergeFrom(value);
         } else {
           queryStats_ = value;
@@ -993,6 +1085,8 @@ public Builder mergeQueryStats(com.google.protobuf.Struct value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Aggregated statistics from the execution of the query. Only present when
      * the query is profiled. For example, a query could return the statistics as
@@ -1017,6 +1111,8 @@ public Builder clearQueryStats() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Aggregated statistics from the execution of the query. Only present when
      * the query is profiled. For example, a query could return the statistics as
@@ -1036,6 +1132,8 @@ public com.google.protobuf.Struct.Builder getQueryStatsBuilder() {
       return getQueryStatsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Aggregated statistics from the execution of the query. Only present when
      * the query is profiled. For example, a query could return the statistics as
@@ -1053,11 +1151,12 @@ public com.google.protobuf.StructOrBuilder getQueryStatsOrBuilder() {
       if (queryStatsBuilder_ != null) {
         return queryStatsBuilder_.getMessageOrBuilder();
       } else {
-        return queryStats_ == null ?
-            com.google.protobuf.Struct.getDefaultInstance() : queryStats_;
+        return queryStats_ == null ? com.google.protobuf.Struct.getDefaultInstance() : queryStats_;
       }
     }
     /**
+     *
+     *
      * 
      * Aggregated statistics from the execution of the query. Only present when
      * the query is profiled. For example, a query could return the statistics as
@@ -1072,36 +1171,45 @@ public com.google.protobuf.StructOrBuilder getQueryStatsOrBuilder() {
      * .google.protobuf.Struct query_stats = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> 
+            com.google.protobuf.Struct,
+            com.google.protobuf.Struct.Builder,
+            com.google.protobuf.StructOrBuilder>
         getQueryStatsFieldBuilder() {
       if (queryStatsBuilder_ == null) {
-        queryStatsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>(
-                getQueryStats(),
-                getParentForChildren(),
-                isClean());
+        queryStatsBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Struct,
+                com.google.protobuf.Struct.Builder,
+                com.google.protobuf.StructOrBuilder>(
+                getQueryStats(), getParentForChildren(), isClean());
         queryStats_ = null;
       }
       return queryStatsBuilder_;
     }
 
     /**
+     *
+     *
      * 
      * Standard DML returns an exact count of rows that were modified.
      * 
* * int64 row_count_exact = 3; + * * @return Whether the rowCountExact field is set. */ public boolean hasRowCountExact() { return rowCountCase_ == 3; } /** + * + * *
      * Standard DML returns an exact count of rows that were modified.
      * 
* * int64 row_count_exact = 3; + * * @return The rowCountExact. */ public long getRowCountExact() { @@ -1111,27 +1219,33 @@ public long getRowCountExact() { return 0L; } /** + * + * *
      * Standard DML returns an exact count of rows that were modified.
      * 
* * int64 row_count_exact = 3; + * * @param value The rowCountExact to set. * @return This builder for chaining. */ public Builder setRowCountExact(long value) { - + rowCountCase_ = 3; rowCount_ = value; onChanged(); return this; } /** + * + * *
      * Standard DML returns an exact count of rows that were modified.
      * 
* * int64 row_count_exact = 3; + * * @return This builder for chaining. */ public Builder clearRowCountExact() { @@ -1144,24 +1258,30 @@ public Builder clearRowCountExact() { } /** + * + * *
      * Partitioned DML does not offer exactly-once semantics, so it
      * returns a lower bound of the rows modified.
      * 
* * int64 row_count_lower_bound = 4; + * * @return Whether the rowCountLowerBound field is set. */ public boolean hasRowCountLowerBound() { return rowCountCase_ == 4; } /** + * + * *
      * Partitioned DML does not offer exactly-once semantics, so it
      * returns a lower bound of the rows modified.
      * 
* * int64 row_count_lower_bound = 4; + * * @return The rowCountLowerBound. */ public long getRowCountLowerBound() { @@ -1171,29 +1291,35 @@ public long getRowCountLowerBound() { return 0L; } /** + * + * *
      * Partitioned DML does not offer exactly-once semantics, so it
      * returns a lower bound of the rows modified.
      * 
* * int64 row_count_lower_bound = 4; + * * @param value The rowCountLowerBound to set. * @return This builder for chaining. */ public Builder setRowCountLowerBound(long value) { - + rowCountCase_ = 4; rowCount_ = value; onChanged(); return this; } /** + * + * *
      * Partitioned DML does not offer exactly-once semantics, so it
      * returns a lower bound of the rows modified.
      * 
* * int64 row_count_lower_bound = 4; + * * @return This builder for chaining. */ public Builder clearRowCountLowerBound() { @@ -1204,9 +1330,9 @@ public Builder clearRowCountLowerBound() { } return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1216,12 +1342,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.v1.ResultSetStats) } // @@protoc_insertion_point(class_scope:google.spanner.v1.ResultSetStats) private static final com.google.spanner.v1.ResultSetStats DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.v1.ResultSetStats(); } @@ -1230,27 +1356,27 @@ public static com.google.spanner.v1.ResultSetStats getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResultSetStats parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResultSetStats parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1265,6 +1391,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.ResultSetStats getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetStatsOrBuilder.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetStatsOrBuilder.java similarity index 82% rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetStatsOrBuilder.java rename to proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetStatsOrBuilder.java index 13f739a737f..9a01e754b41 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetStatsOrBuilder.java +++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ResultSetStatsOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/result_set.proto package com.google.spanner.v1; -public interface ResultSetStatsOrBuilder extends +public interface ResultSetStatsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.ResultSetStats) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * [QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
    * 
* * .google.spanner.v1.QueryPlan query_plan = 1; + * * @return Whether the queryPlan field is set. */ boolean hasQueryPlan(); /** + * + * *
    * [QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
    * 
* * .google.spanner.v1.QueryPlan query_plan = 1; + * * @return The queryPlan. */ com.google.spanner.v1.QueryPlan getQueryPlan(); /** + * + * *
    * [QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
    * 
@@ -35,6 +59,8 @@ public interface ResultSetStatsOrBuilder extends com.google.spanner.v1.QueryPlanOrBuilder getQueryPlanOrBuilder(); /** + * + * *
    * Aggregated statistics from the execution of the query. Only present when
    * the query is profiled. For example, a query could return the statistics as
@@ -47,10 +73,13 @@ public interface ResultSetStatsOrBuilder extends
    * 
* * .google.protobuf.Struct query_stats = 2; + * * @return Whether the queryStats field is set. */ boolean hasQueryStats(); /** + * + * *
    * Aggregated statistics from the execution of the query. Only present when
    * the query is profiled. For example, a query could return the statistics as
@@ -63,10 +92,13 @@ public interface ResultSetStatsOrBuilder extends
    * 
* * .google.protobuf.Struct query_stats = 2; + * * @return The queryStats. */ com.google.protobuf.Struct getQueryStats(); /** + * + * *
    * Aggregated statistics from the execution of the query. Only present when
    * the query is profiled. For example, a query could return the statistics as
@@ -83,41 +115,53 @@ public interface ResultSetStatsOrBuilder extends
   com.google.protobuf.StructOrBuilder getQueryStatsOrBuilder();
 
   /**
+   *
+   *
    * 
    * Standard DML returns an exact count of rows that were modified.
    * 
* * int64 row_count_exact = 3; + * * @return Whether the rowCountExact field is set. */ boolean hasRowCountExact(); /** + * + * *
    * Standard DML returns an exact count of rows that were modified.
    * 
* * int64 row_count_exact = 3; + * * @return The rowCountExact. */ long getRowCountExact(); /** + * + * *
    * Partitioned DML does not offer exactly-once semantics, so it
    * returns a lower bound of the rows modified.
    * 
* * int64 row_count_lower_bound = 4; + * * @return Whether the rowCountLowerBound field is set. */ boolean hasRowCountLowerBound(); /** + * + * *
    * Partitioned DML does not offer exactly-once semantics, so it
    * returns a lower bound of the rows modified.
    * 
* * int64 row_count_lower_bound = 4; + * * @return The rowCountLowerBound. */ long getRowCountLowerBound(); diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RollbackRequest.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RollbackRequest.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RollbackRequest.java rename to proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RollbackRequest.java index d6c0ff14bac..ceb4ac4591a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RollbackRequest.java +++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RollbackRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/spanner.proto package com.google.spanner.v1; /** + * + * *
  * The request for [Rollback][google.spanner.v1.Spanner.Rollback].
  * 
* * Protobuf type {@code google.spanner.v1.RollbackRequest} */ -public final class RollbackRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RollbackRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.spanner.v1.RollbackRequest) RollbackRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RollbackRequest.newBuilder() to construct. private RollbackRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RollbackRequest() { session_ = ""; transactionId_ = com.google.protobuf.ByteString.EMPTY; @@ -26,38 +44,45 @@ private RollbackRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RollbackRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_RollbackRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_RollbackRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_RollbackRequest_fieldAccessorTable + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_RollbackRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.RollbackRequest.class, com.google.spanner.v1.RollbackRequest.Builder.class); + com.google.spanner.v1.RollbackRequest.class, + com.google.spanner.v1.RollbackRequest.Builder.class); } public static final int SESSION_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object session_ = ""; /** + * + * *
    * Required. The session in which the transaction to roll back is running.
    * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The session. */ @java.lang.Override @@ -66,29 +91,31 @@ public java.lang.String getSession() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); session_ = s; return s; } } /** + * + * *
    * Required. The session in which the transaction to roll back is running.
    * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for session. */ @java.lang.Override - public com.google.protobuf.ByteString - getSessionBytes() { + public com.google.protobuf.ByteString getSessionBytes() { java.lang.Object ref = session_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); session_ = b; return b; } else { @@ -99,11 +126,14 @@ public java.lang.String getSession() { public static final int TRANSACTION_ID_FIELD_NUMBER = 2; private com.google.protobuf.ByteString transactionId_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
    * Required. The transaction to roll back.
    * 
* * bytes transaction_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The transactionId. */ @java.lang.Override @@ -112,6 +142,7 @@ public com.google.protobuf.ByteString getTransactionId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -123,8 +154,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(session_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, session_); } @@ -144,8 +174,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, session_); } if (!transactionId_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(2, transactionId_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(2, transactionId_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -155,17 +184,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.spanner.v1.RollbackRequest)) { return super.equals(obj); } com.google.spanner.v1.RollbackRequest other = (com.google.spanner.v1.RollbackRequest) obj; - if (!getSession() - .equals(other.getSession())) return false; - if (!getTransactionId() - .equals(other.getTransactionId())) return false; + if (!getSession().equals(other.getSession())) return false; + if (!getTransactionId().equals(other.getTransactionId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -186,130 +213,135 @@ public int hashCode() { return hash; } - public static com.google.spanner.v1.RollbackRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.spanner.v1.RollbackRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.RollbackRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.RollbackRequest parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.spanner.v1.RollbackRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.RollbackRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.v1.RollbackRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.RollbackRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.v1.RollbackRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.v1.RollbackRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.spanner.v1.RollbackRequest 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.spanner.v1.RollbackRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.spanner.v1.RollbackRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.v1.RollbackRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.spanner.v1.RollbackRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [Rollback][google.spanner.v1.Spanner.Rollback].
    * 
* * Protobuf type {@code google.spanner.v1.RollbackRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.RollbackRequest) com.google.spanner.v1.RollbackRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_RollbackRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_RollbackRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_RollbackRequest_fieldAccessorTable + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_RollbackRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.RollbackRequest.class, com.google.spanner.v1.RollbackRequest.Builder.class); + com.google.spanner.v1.RollbackRequest.class, + com.google.spanner.v1.RollbackRequest.Builder.class); } // Construct using com.google.spanner.v1.RollbackRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -320,9 +352,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_RollbackRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_RollbackRequest_descriptor; } @java.lang.Override @@ -341,8 +373,11 @@ public com.google.spanner.v1.RollbackRequest build() { @java.lang.Override public com.google.spanner.v1.RollbackRequest buildPartial() { - com.google.spanner.v1.RollbackRequest result = new com.google.spanner.v1.RollbackRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.spanner.v1.RollbackRequest result = + new com.google.spanner.v1.RollbackRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -361,38 +396,39 @@ private void buildPartial0(com.google.spanner.v1.RollbackRequest 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.spanner.v1.RollbackRequest) { - return mergeFrom((com.google.spanner.v1.RollbackRequest)other); + return mergeFrom((com.google.spanner.v1.RollbackRequest) other); } else { super.mergeFrom(other); return this; @@ -435,22 +471,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - session_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - transactionId_ = input.readBytes(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + session_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + transactionId_ = input.readBytes(); + 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) { @@ -460,22 +499,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object session_ = ""; /** + * + * *
      * Required. The session in which the transaction to roll back is running.
      * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The session. */ public java.lang.String getSession() { java.lang.Object ref = session_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); session_ = s; return s; @@ -484,20 +528,23 @@ public java.lang.String getSession() { } } /** + * + * *
      * Required. The session in which the transaction to roll back is running.
      * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for session. */ - public com.google.protobuf.ByteString - getSessionBytes() { + public com.google.protobuf.ByteString getSessionBytes() { java.lang.Object ref = session_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); session_ = b; return b; } else { @@ -505,28 +552,39 @@ public java.lang.String getSession() { } } /** + * + * *
      * Required. The session in which the transaction to roll back is running.
      * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The session to set. * @return This builder for chaining. */ - public Builder setSession( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSession(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } session_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The session in which the transaction to roll back is running.
      * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearSession() { @@ -536,17 +594,23 @@ public Builder clearSession() { return this; } /** + * + * *
      * Required. The session in which the transaction to roll back is running.
      * 
* - * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for session to set. * @return This builder for chaining. */ - public Builder setSessionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSessionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); session_ = value; bitField0_ |= 0x00000001; @@ -556,11 +620,14 @@ public Builder setSessionBytes( private com.google.protobuf.ByteString transactionId_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
      * Required. The transaction to roll back.
      * 
* * bytes transaction_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The transactionId. */ @java.lang.Override @@ -568,27 +635,35 @@ public com.google.protobuf.ByteString getTransactionId() { return transactionId_; } /** + * + * *
      * Required. The transaction to roll back.
      * 
* * bytes transaction_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The transactionId to set. * @return This builder for chaining. */ public Builder setTransactionId(com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + if (value == null) { + throw new NullPointerException(); + } transactionId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. The transaction to roll back.
      * 
* * bytes transaction_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearTransactionId() { @@ -597,9 +672,9 @@ public Builder clearTransactionId() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -609,12 +684,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.v1.RollbackRequest) } // @@protoc_insertion_point(class_scope:google.spanner.v1.RollbackRequest) private static final com.google.spanner.v1.RollbackRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.v1.RollbackRequest(); } @@ -623,27 +698,27 @@ public static com.google.spanner.v1.RollbackRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RollbackRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RollbackRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -658,6 +733,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.RollbackRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RollbackRequestOrBuilder.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RollbackRequestOrBuilder.java new file mode 100644 index 00000000000..06a29aeb00b --- /dev/null +++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/RollbackRequestOrBuilder.java @@ -0,0 +1,67 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/spanner/v1/spanner.proto + +package com.google.spanner.v1; + +public interface RollbackRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.spanner.v1.RollbackRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The session in which the transaction to roll back is running.
+   * 
+ * + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The session. + */ + java.lang.String getSession(); + /** + * + * + *
+   * Required. The session in which the transaction to roll back is running.
+   * 
+ * + * + * string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for session. + */ + com.google.protobuf.ByteString getSessionBytes(); + + /** + * + * + *
+   * Required. The transaction to roll back.
+   * 
+ * + * bytes transaction_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The transactionId. + */ + com.google.protobuf.ByteString getTransactionId(); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Session.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Session.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Session.java rename to proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Session.java index 58af4bdb4fa..60f04ef5517 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Session.java +++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Session.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/spanner.proto package com.google.spanner.v1; /** + * + * *
  * A session in the Cloud Spanner API.
  * 
* * Protobuf type {@code google.spanner.v1.Session} */ -public final class Session extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Session extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.spanner.v1.Session) SessionOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Session.newBuilder() to construct. private Session(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Session() { name_ = ""; creatorRole_ = ""; @@ -26,50 +44,52 @@ private Session() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Session(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_Session_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 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.spanner.v1.SpannerProto.internal_static_google_spanner_v1_Session_fieldAccessorTable + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_Session_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.spanner.v1.Session.class, com.google.spanner.v1.Session.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Output only. The name of the session. This is always system-assigned.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -78,29 +98,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; } } /** + * + * *
    * Output only. The name of the session. This is always system-assigned.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -109,32 +129,34 @@ public java.lang.String getName() { } public static final int LABELS_FIELD_NUMBER = 2; + 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.spanner.v1.SpannerProto.internal_static_google_spanner_v1_Session_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.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_Session_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(); } /** + * + * *
    * The labels for the session.
    *  * Label keys must be between 1 and 63 characters long and must conform to
@@ -148,20 +170,21 @@ public int getLabelsCount() {
    * map<string, string> labels = 2;
    */
   @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();
   }
   /**
+   *
+   *
    * 
    * The labels for the session.
    *  * Label keys must be between 1 and 63 characters long and must conform to
@@ -179,6 +202,8 @@ public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
+   *
+   *
    * 
    * The labels for the session.
    *  * Label keys must be between 1 and 63 characters long and must conform to
@@ -192,17 +217,19 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 2;
    */
   @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;
   }
   /**
+   *
+   *
    * 
    * The labels for the session.
    *  * Label keys must be between 1 and 63 characters long and must conform to
@@ -216,11 +243,11 @@ java.lang.String getLabelsOrDefault(
    * map<string, string> labels = 2;
    */
   @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();
     }
@@ -230,11 +257,15 @@ public java.lang.String getLabelsOrThrow(
   public static final int CREATE_TIME_FIELD_NUMBER = 3;
   private com.google.protobuf.Timestamp createTime_;
   /**
+   *
+   *
    * 
    * Output only. The timestamp when the session is created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -242,11 +273,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The timestamp when the session is created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -254,11 +289,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The timestamp when the session is created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -268,12 +306,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int APPROXIMATE_LAST_USE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp approximateLastUseTime_; /** + * + * *
    * Output only. The approximate timestamp when the session is last used. It is
    * typically earlier than the actual last use time.
    * 
* - * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the approximateLastUseTime field is set. */ @java.lang.Override @@ -281,40 +324,57 @@ public boolean hasApproximateLastUseTime() { return approximateLastUseTime_ != null; } /** + * + * *
    * Output only. The approximate timestamp when the session is last used. It is
    * typically earlier than the actual last use time.
    * 
* - * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The approximateLastUseTime. */ @java.lang.Override public com.google.protobuf.Timestamp getApproximateLastUseTime() { - return approximateLastUseTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : approximateLastUseTime_; + return approximateLastUseTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : approximateLastUseTime_; } /** + * + * *
    * Output only. The approximate timestamp when the session is last used. It is
    * typically earlier than the actual last use time.
    * 
* - * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getApproximateLastUseTimeOrBuilder() { - return approximateLastUseTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : approximateLastUseTime_; + return approximateLastUseTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : approximateLastUseTime_; } public static final int CREATOR_ROLE_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object creatorRole_ = ""; /** + * + * *
    * The database role which created this session.
    * 
* * string creator_role = 5; + * * @return The creatorRole. */ @java.lang.Override @@ -323,29 +383,29 @@ public java.lang.String getCreatorRole() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); creatorRole_ = s; return s; } } /** + * + * *
    * The database role which created this session.
    * 
* * string creator_role = 5; + * * @return The bytes for creatorRole. */ @java.lang.Override - public com.google.protobuf.ByteString - getCreatorRoleBytes() { + public com.google.protobuf.ByteString getCreatorRoleBytes() { java.lang.Object ref = creatorRole_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); creatorRole_ = b; return b; } else { @@ -354,6 +414,7 @@ public java.lang.String getCreatorRole() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -365,17 +426,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_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 2); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 2); if (createTime_ != null) { output.writeMessage(3, getCreateTime()); } @@ -397,23 +453,22 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - 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(2, labels__); + 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(2, labels__); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCreateTime()); } if (approximateLastUseTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getApproximateLastUseTime()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(4, getApproximateLastUseTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(creatorRole_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, creatorRole_); @@ -426,29 +481,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.spanner.v1.Session)) { return super.equals(obj); } com.google.spanner.v1.Session other = (com.google.spanner.v1.Session) obj; - if (!getName() - .equals(other.getName())) return false; - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; + if (!getName().equals(other.getName())) 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 (hasApproximateLastUseTime() != other.hasApproximateLastUseTime()) return false; if (hasApproximateLastUseTime()) { - if (!getApproximateLastUseTime() - .equals(other.getApproximateLastUseTime())) return false; + if (!getApproximateLastUseTime().equals(other.getApproximateLastUseTime())) return false; } - if (!getCreatorRole() - .equals(other.getCreatorRole())) return false; + if (!getCreatorRole().equals(other.getCreatorRole())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -481,152 +531,154 @@ public int hashCode() { return hash; } - public static com.google.spanner.v1.Session parseFrom( - java.nio.ByteBuffer data) + public static com.google.spanner.v1.Session parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.Session parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.Session parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.spanner.v1.Session parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.Session parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.v1.Session parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.Session parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.v1.Session parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.v1.Session parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.spanner.v1.Session 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.spanner.v1.Session parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.Session parseFrom( - com.google.protobuf.CodedInputStream input) + + public static com.google.spanner.v1.Session 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.spanner.v1.Session parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.spanner.v1.Session prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 session in the Cloud Spanner API.
    * 
* * Protobuf type {@code google.spanner.v1.Session} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.Session) com.google.spanner.v1.SessionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_Session_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_Session_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 2: 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 2: 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.spanner.v1.SpannerProto.internal_static_google_spanner_v1_Session_fieldAccessorTable + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_Session_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.spanner.v1.Session.class, com.google.spanner.v1.Session.Builder.class); } // Construct using com.google.spanner.v1.Session.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -648,9 +700,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_Session_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.spanner.v1.SpannerProto + .internal_static_google_spanner_v1_Session_descriptor; } @java.lang.Override @@ -670,7 +722,9 @@ public com.google.spanner.v1.Session build() { @java.lang.Override public com.google.spanner.v1.Session buildPartial() { com.google.spanner.v1.Session result = new com.google.spanner.v1.Session(this); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -685,14 +739,13 @@ private void buildPartial0(com.google.spanner.v1.Session result) { result.labels_.makeImmutable(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.createTime_ = createTimeBuilder_ == null - ? createTime_ - : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { - result.approximateLastUseTime_ = approximateLastUseTimeBuilder_ == null - ? approximateLastUseTime_ - : approximateLastUseTimeBuilder_.build(); + result.approximateLastUseTime_ = + approximateLastUseTimeBuilder_ == null + ? approximateLastUseTime_ + : approximateLastUseTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { result.creatorRole_ = creatorRole_; @@ -703,38 +756,39 @@ private void buildPartial0(com.google.spanner.v1.Session 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.spanner.v1.Session) { - return mergeFrom((com.google.spanner.v1.Session)other); + return mergeFrom((com.google.spanner.v1.Session) other); } else { super.mergeFrom(other); return this; @@ -748,8 +802,7 @@ public Builder mergeFrom(com.google.spanner.v1.Session other) { bitField0_ |= 0x00000001; onChanged(); } - internalGetMutableLabels().mergeFrom( - other.internalGetLabels()); + internalGetMutableLabels().mergeFrom(other.internalGetLabels()); bitField0_ |= 0x00000002; if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); @@ -788,45 +841,50 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - com.google.protobuf.MapEntry - labels__ = input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableLabels().getMutableMap().put( - labels__.getKey(), labels__.getValue()); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - input.readMessage( - getApproximateLastUseTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - creatorRole_ = 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: + { + com.google.protobuf.MapEntry labels__ = + input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableLabels() + .getMutableMap() + .put(labels__.getKey(), labels__.getValue()); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + input.readMessage( + getApproximateLastUseTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + creatorRole_ = 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) { @@ -836,22 +894,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Output only. The name of the session. This is always system-assigned.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @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; @@ -860,20 +921,21 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The name of the session. This is always system-assigned.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @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 { @@ -881,28 +943,35 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The name of the session. This is always system-assigned.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @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 name of the session. This is always system-assigned.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -912,17 +981,21 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. The name of the session. This is always system-assigned.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @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; @@ -930,21 +1003,19 @@ public Builder setNameBytes( 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(); @@ -953,10 +1024,13 @@ public Builder setNameBytes( onChanged(); return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * The labels for the session.
      *  * Label keys must be between 1 and 63 characters long and must conform to
@@ -970,20 +1044,21 @@ public int getLabelsCount() {
      * map<string, string> labels = 2;
      */
     @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();
     }
     /**
+     *
+     *
      * 
      * The labels for the session.
      *  * Label keys must be between 1 and 63 characters long and must conform to
@@ -1001,6 +1076,8 @@ public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
+     *
+     *
      * 
      * The labels for the session.
      *  * Label keys must be between 1 and 63 characters long and must conform to
@@ -1014,17 +1091,19 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 2;
      */
     @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;
     }
     /**
+     *
+     *
      * 
      * The labels for the session.
      *  * Label keys must be between 1 and 63 characters long and must conform to
@@ -1038,23 +1117,25 @@ java.lang.String getLabelsOrDefault(
      * map<string, string> labels = 2;
      */
     @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_ & ~0x00000002);
-      internalGetMutableLabels().getMutableMap()
-          .clear();
+      internalGetMutableLabels().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * The labels for the session.
      *  * Label keys must be between 1 and 63 characters long and must conform to
@@ -1067,23 +1148,22 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 2;
      */
-    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_ |= 0x00000002;
       return internalGetMutableLabels().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * The labels for the session.
      *  * Label keys must be between 1 and 63 characters long and must conform to
@@ -1096,17 +1176,20 @@ public Builder removeLabels(
      *
      * map<string, string> labels = 2;
      */
-    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_ |= 0x00000002;
       return this;
     }
     /**
+     *
+     *
      * 
      * The labels for the session.
      *  * Label keys must be between 1 and 63 characters long and must conform to
@@ -1119,49 +1202,66 @@ public Builder putLabels(
      *
      * map<string, string> labels = 2;
      */
-    public Builder putAllLabels(
-        java.util.Map values) {
-      internalGetMutableLabels().getMutableMap()
-          .putAll(values);
+    public Builder putAllLabels(java.util.Map values) {
+      internalGetMutableLabels().getMutableMap().putAll(values);
       bitField0_ |= 0x00000002;
       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. The timestamp when the session is created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Output only. The timestamp when the session is created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The timestamp when the session is created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1177,14 +1277,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The timestamp when the session is created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.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 { @@ -1195,17 +1298,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The timestamp when the session is created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -1218,11 +1325,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The timestamp when the session is created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1235,11 +1346,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The timestamp when the session is created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000004; @@ -1247,36 +1362,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The timestamp when the session is created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Output only. The timestamp when the session is created.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_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> 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_; @@ -1284,42 +1411,61 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp approximateLastUseTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> approximateLastUseTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + approximateLastUseTimeBuilder_; /** + * + * *
      * Output only. The approximate timestamp when the session is last used. It is
      * typically earlier than the actual last use time.
      * 
* - * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the approximateLastUseTime field is set. */ public boolean hasApproximateLastUseTime() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Output only. The approximate timestamp when the session is last used. It is
      * typically earlier than the actual last use time.
      * 
* - * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The approximateLastUseTime. */ public com.google.protobuf.Timestamp getApproximateLastUseTime() { if (approximateLastUseTimeBuilder_ == null) { - return approximateLastUseTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : approximateLastUseTime_; + return approximateLastUseTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : approximateLastUseTime_; } else { return approximateLastUseTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The approximate timestamp when the session is last used. It is
      * typically earlier than the actual last use time.
      * 
* - * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setApproximateLastUseTime(com.google.protobuf.Timestamp value) { if (approximateLastUseTimeBuilder_ == null) { @@ -1335,12 +1481,16 @@ public Builder setApproximateLastUseTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The approximate timestamp when the session is last used. It is
      * typically earlier than the actual last use time.
      * 
* - * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setApproximateLastUseTime( com.google.protobuf.Timestamp.Builder builderForValue) { @@ -1354,18 +1504,22 @@ public Builder setApproximateLastUseTime( return this; } /** + * + * *
      * Output only. The approximate timestamp when the session is last used. It is
      * typically earlier than the actual last use time.
      * 
* - * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeApproximateLastUseTime(com.google.protobuf.Timestamp value) { if (approximateLastUseTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - approximateLastUseTime_ != null && - approximateLastUseTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && approximateLastUseTime_ != null + && approximateLastUseTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getApproximateLastUseTimeBuilder().mergeFrom(value); } else { approximateLastUseTime_ = value; @@ -1378,12 +1532,16 @@ public Builder mergeApproximateLastUseTime(com.google.protobuf.Timestamp value) return this; } /** + * + * *
      * Output only. The approximate timestamp when the session is last used. It is
      * typically earlier than the actual last use time.
      * 
* - * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearApproximateLastUseTime() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1396,12 +1554,16 @@ public Builder clearApproximateLastUseTime() { return this; } /** + * + * *
      * Output only. The approximate timestamp when the session is last used. It is
      * typically earlier than the actual last use time.
      * 
* - * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getApproximateLastUseTimeBuilder() { bitField0_ |= 0x00000008; @@ -1409,38 +1571,50 @@ public com.google.protobuf.Timestamp.Builder getApproximateLastUseTimeBuilder() return getApproximateLastUseTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The approximate timestamp when the session is last used. It is
      * typically earlier than the actual last use time.
      * 
* - * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getApproximateLastUseTimeOrBuilder() { if (approximateLastUseTimeBuilder_ != null) { return approximateLastUseTimeBuilder_.getMessageOrBuilder(); } else { - return approximateLastUseTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : approximateLastUseTime_; + return approximateLastUseTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : approximateLastUseTime_; } } /** + * + * *
      * Output only. The approximate timestamp when the session is last used. It is
      * typically earlier than the actual last use time.
      * 
* - * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp approximate_last_use_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> getApproximateLastUseTimeFieldBuilder() { if (approximateLastUseTimeBuilder_ == null) { - approximateLastUseTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getApproximateLastUseTime(), - getParentForChildren(), - isClean()); + approximateLastUseTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getApproximateLastUseTime(), getParentForChildren(), isClean()); approximateLastUseTime_ = null; } return approximateLastUseTimeBuilder_; @@ -1448,18 +1622,20 @@ public com.google.protobuf.TimestampOrBuilder getApproximateLastUseTimeOrBuilder private java.lang.Object creatorRole_ = ""; /** + * + * *
      * The database role which created this session.
      * 
* * string creator_role = 5; + * * @return The creatorRole. */ public java.lang.String getCreatorRole() { java.lang.Object ref = creatorRole_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); creatorRole_ = s; return s; @@ -1468,20 +1644,21 @@ public java.lang.String getCreatorRole() { } } /** + * + * *
      * The database role which created this session.
      * 
* * string creator_role = 5; + * * @return The bytes for creatorRole. */ - public com.google.protobuf.ByteString - getCreatorRoleBytes() { + public com.google.protobuf.ByteString getCreatorRoleBytes() { java.lang.Object ref = creatorRole_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); creatorRole_ = b; return b; } else { @@ -1489,28 +1666,35 @@ public java.lang.String getCreatorRole() { } } /** + * + * *
      * The database role which created this session.
      * 
* * string creator_role = 5; + * * @param value The creatorRole to set. * @return This builder for chaining. */ - public Builder setCreatorRole( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCreatorRole(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } creatorRole_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * The database role which created this session.
      * 
* * string creator_role = 5; + * * @return This builder for chaining. */ public Builder clearCreatorRole() { @@ -1520,26 +1704,30 @@ public Builder clearCreatorRole() { return this; } /** + * + * *
      * The database role which created this session.
      * 
* * string creator_role = 5; + * * @param value The bytes for creatorRole to set. * @return This builder for chaining. */ - public Builder setCreatorRoleBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCreatorRoleBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); creatorRole_ = 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); } @@ -1549,12 +1737,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.v1.Session) } // @@protoc_insertion_point(class_scope:google.spanner.v1.Session) private static final com.google.spanner.v1.Session DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.v1.Session(); } @@ -1563,27 +1751,27 @@ public static com.google.spanner.v1.Session getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Session parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Session parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1598,6 +1786,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.Session getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SessionName.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SessionName.java similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SessionName.java rename to proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SessionName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SessionOrBuilder.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SessionOrBuilder.java similarity index 75% rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SessionOrBuilder.java rename to proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SessionOrBuilder.java index 96cc1a6357f..71da8b1240f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SessionOrBuilder.java +++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SessionOrBuilder.java @@ -1,33 +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/spanner/v1/spanner.proto package com.google.spanner.v1; -public interface SessionOrBuilder extends +public interface SessionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.Session) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The name of the session. This is always system-assigned.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The name of the session. This is always system-assigned.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The labels for the session.
    *  * Label keys must be between 1 and 63 characters long and must conform to
@@ -42,6 +65,8 @@ public interface SessionOrBuilder extends
    */
   int getLabelsCount();
   /**
+   *
+   *
    * 
    * The labels for the session.
    *  * Label keys must be between 1 and 63 characters long and must conform to
@@ -54,15 +79,13 @@ public interface SessionOrBuilder extends
    *
    * map<string, string> labels = 2;
    */
-  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();
   /**
+   *
+   *
    * 
    * The labels for the session.
    *  * Label keys must be between 1 and 63 characters long and must conform to
@@ -75,9 +98,10 @@ boolean containsLabels(
    *
    * map<string, string> labels = 2;
    */
-  java.util.Map
-  getLabelsMap();
+  java.util.Map getLabelsMap();
   /**
+   *
+   *
    * 
    * The labels for the session.
    *  * Label keys must be between 1 and 63 characters long and must conform to
@@ -91,11 +115,13 @@ boolean containsLabels(
    * map<string, string> labels = 2;
    */
   /* nullable */
-java.lang.String getLabelsOrDefault(
+  java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * The labels for the session.
    *  * Label keys must be between 1 and 63 characters long and must conform to
@@ -108,83 +134,112 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 2;
    */
-  java.lang.String getLabelsOrThrow(
-      java.lang.String key);
+  java.lang.String getLabelsOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * Output only. The timestamp when the session is created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The timestamp when the session is created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The timestamp when the session is created.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. The approximate timestamp when the session is last used. It is
    * typically earlier than the actual last use time.
    * 
* - * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the approximateLastUseTime field is set. */ boolean hasApproximateLastUseTime(); /** + * + * *
    * Output only. The approximate timestamp when the session is last used. It is
    * typically earlier than the actual last use time.
    * 
* - * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The approximateLastUseTime. */ com.google.protobuf.Timestamp getApproximateLastUseTime(); /** + * + * *
    * Output only. The approximate timestamp when the session is last used. It is
    * typically earlier than the actual last use time.
    * 
* - * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp approximate_last_use_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getApproximateLastUseTimeOrBuilder(); /** + * + * *
    * The database role which created this session.
    * 
* * string creator_role = 5; + * * @return The creatorRole. */ java.lang.String getCreatorRole(); /** + * + * *
    * The database role which created this session.
    * 
* * string creator_role = 5; + * * @return The bytes for creatorRole. */ - com.google.protobuf.ByteString - getCreatorRoleBytes(); + com.google.protobuf.ByteString getCreatorRoleBytes(); } diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SpannerProto.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SpannerProto.java new file mode 100644 index 00000000000..4cf68b20170 --- /dev/null +++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SpannerProto.java @@ -0,0 +1,652 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/spanner/v1/spanner.proto + +package com.google.spanner.v1; + +public final class SpannerProto { + private SpannerProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_CreateSessionRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_CreateSessionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_BatchCreateSessionsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_BatchCreateSessionsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_BatchCreateSessionsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_BatchCreateSessionsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_Session_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_Session_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_Session_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_Session_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_GetSessionRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_GetSessionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_ListSessionsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_ListSessionsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_ListSessionsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_ListSessionsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_DeleteSessionRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_DeleteSessionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_RequestOptions_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_RequestOptions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_ExecuteSqlRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_ExecuteSqlRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_ExecuteSqlRequest_QueryOptions_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_ExecuteSqlRequest_QueryOptions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_ExecuteSqlRequest_ParamTypesEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_ExecuteSqlRequest_ParamTypesEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_ExecuteBatchDmlRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_ExecuteBatchDmlRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_ParamTypesEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_ExecuteBatchDmlRequest_Statement_ParamTypesEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_ExecuteBatchDmlResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_ExecuteBatchDmlResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_PartitionOptions_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_PartitionOptions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_PartitionQueryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_PartitionQueryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_PartitionQueryRequest_ParamTypesEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_PartitionQueryRequest_ParamTypesEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_PartitionReadRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_PartitionReadRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_Partition_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_Partition_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_PartitionResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_PartitionResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_ReadRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_ReadRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_BeginTransactionRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_BeginTransactionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_CommitRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_CommitRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_RollbackRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_RollbackRequest_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\037google/spanner/v1/spanner.proto\022\021googl" + + "e.spanner.v1\032\034google/api/annotations.pro" + + "to\032\027google/api/client.proto\032\037google/api/" + + "field_behavior.proto\032\031google/api/resourc" + + "e.proto\032\033google/protobuf/empty.proto\032\034go" + + "ogle/protobuf/struct.proto\032\037google/proto" + + "buf/timestamp.proto\032\027google/rpc/status.p" + + "roto\032\'google/spanner/v1/commit_response." + + "proto\032\034google/spanner/v1/keys.proto\032 goo" + + "gle/spanner/v1/mutation.proto\032\"google/sp" + + "anner/v1/result_set.proto\032#google/spanne" + + "r/v1/transaction.proto\032\034google/spanner/v" + + "1/type.proto\"\203\001\n\024CreateSessionRequest\0229\n" + + "\010database\030\001 \001(\tB\'\340A\002\372A!\n\037spanner.googlea" + + "pis.com/Database\0220\n\007session\030\002 \001(\0132\032.goog" + + "le.spanner.v1.SessionB\003\340A\002\"\251\001\n\032BatchCrea" + + "teSessionsRequest\0229\n\010database\030\001 \001(\tB\'\340A\002" + + "\372A!\n\037spanner.googleapis.com/Database\0224\n\020" + + "session_template\030\002 \001(\0132\032.google.spanner." + + "v1.Session\022\032\n\rsession_count\030\003 \001(\005B\003\340A\002\"J" + + "\n\033BatchCreateSessionsResponse\022+\n\007session" + + "\030\001 \003(\0132\032.google.spanner.v1.Session\"\211\003\n\007S" + + "ession\022\021\n\004name\030\001 \001(\tB\003\340A\003\0226\n\006labels\030\002 \003(" + + "\0132&.google.spanner.v1.Session.LabelsEntr" + + "y\0224\n\013create_time\030\003 \001(\0132\032.google.protobuf" + + ".TimestampB\003\340A\003\022B\n\031approximate_last_use_" + + "time\030\004 \001(\0132\032.google.protobuf.TimestampB\003" + + "\340A\003\022\024\n\014creator_role\030\005 \001(\t\032-\n\013LabelsEntry" + + "\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:t\352Aq\n\036s" + + "panner.googleapis.com/Session\022Oprojects/" + + "{project}/instances/{instance}/databases" + + "/{database}/sessions/{session}\"I\n\021GetSes" + + "sionRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036spann" + + "er.googleapis.com/Session\"\207\001\n\023ListSessio" + + "nsRequest\0229\n\010database\030\001 \001(\tB\'\340A\002\372A!\n\037spa" + + "nner.googleapis.com/Database\022\021\n\tpage_siz" + + "e\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006filter\030\004 " + + "\001(\t\"]\n\024ListSessionsResponse\022,\n\010sessions\030" + + "\001 \003(\0132\032.google.spanner.v1.Session\022\027\n\017nex" + + "t_page_token\030\002 \001(\t\"L\n\024DeleteSessionReque" + + "st\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036spanner.google" + + "apis.com/Session\"\334\001\n\016RequestOptions\022<\n\010p" + + "riority\030\001 \001(\0162*.google.spanner.v1.Reques" + + "tOptions.Priority\022\023\n\013request_tag\030\002 \001(\t\022\027" + + "\n\017transaction_tag\030\003 \001(\t\"^\n\010Priority\022\030\n\024P" + + "RIORITY_UNSPECIFIED\020\000\022\020\n\014PRIORITY_LOW\020\001\022" + + "\023\n\017PRIORITY_MEDIUM\020\002\022\021\n\rPRIORITY_HIGH\020\003\"" + + "\200\006\n\021ExecuteSqlRequest\0227\n\007session\030\001 \001(\tB&" + + "\340A\002\372A \n\036spanner.googleapis.com/Session\022;" + + "\n\013transaction\030\002 \001(\0132&.google.spanner.v1." + + "TransactionSelector\022\020\n\003sql\030\003 \001(\tB\003\340A\002\022\'\n" + + "\006params\030\004 \001(\0132\027.google.protobuf.Struct\022I" + + "\n\013param_types\030\005 \003(\01324.google.spanner.v1." + + "ExecuteSqlRequest.ParamTypesEntry\022\024\n\014res" + + "ume_token\030\006 \001(\014\022B\n\nquery_mode\030\007 \001(\0162..go" + + "ogle.spanner.v1.ExecuteSqlRequest.QueryM" + + "ode\022\027\n\017partition_token\030\010 \001(\014\022\r\n\005seqno\030\t " + + "\001(\003\022H\n\rquery_options\030\n \001(\01321.google.span" + + "ner.v1.ExecuteSqlRequest.QueryOptions\022:\n" + + "\017request_options\030\013 \001(\0132!.google.spanner." + + "v1.RequestOptions\022\032\n\022data_boost_enabled\030" + + "\020 \001(\010\032O\n\014QueryOptions\022\031\n\021optimizer_versi" + + "on\030\001 \001(\t\022$\n\034optimizer_statistics_package" + + "\030\002 \001(\t\032J\n\017ParamTypesEntry\022\013\n\003key\030\001 \001(\t\022&" + + "\n\005value\030\002 \001(\0132\027.google.spanner.v1.Type:\002" + + "8\001\".\n\tQueryMode\022\n\n\006NORMAL\020\000\022\010\n\004PLAN\020\001\022\013\n" + + "\007PROFILE\020\002\"\240\004\n\026ExecuteBatchDmlRequest\0227\n" + + "\007session\030\001 \001(\tB&\340A\002\372A \n\036spanner.googleap" + + "is.com/Session\022@\n\013transaction\030\002 \001(\0132&.go" + + "ogle.spanner.v1.TransactionSelectorB\003\340A\002" + + "\022L\n\nstatements\030\003 \003(\01323.google.spanner.v1" + + ".ExecuteBatchDmlRequest.StatementB\003\340A\002\022\022" + + "\n\005seqno\030\004 \001(\003B\003\340A\002\022:\n\017request_options\030\005 " + + "\001(\0132!.google.spanner.v1.RequestOptions\032\354" + + "\001\n\tStatement\022\020\n\003sql\030\001 \001(\tB\003\340A\002\022\'\n\006params" + + "\030\002 \001(\0132\027.google.protobuf.Struct\022X\n\013param" + + "_types\030\003 \003(\0132C.google.spanner.v1.Execute" + + "BatchDmlRequest.Statement.ParamTypesEntr" + + "y\032J\n\017ParamTypesEntry\022\013\n\003key\030\001 \001(\t\022&\n\005val" + + "ue\030\002 \001(\0132\027.google.spanner.v1.Type:\0028\001\"p\n" + + "\027ExecuteBatchDmlResponse\0221\n\013result_sets\030" + + "\001 \003(\0132\034.google.spanner.v1.ResultSet\022\"\n\006s" + + "tatus\030\002 \001(\0132\022.google.rpc.Status\"H\n\020Parti" + + "tionOptions\022\034\n\024partition_size_bytes\030\001 \001(" + + "\003\022\026\n\016max_partitions\030\002 \001(\003\"\243\003\n\025PartitionQ" + + "ueryRequest\0227\n\007session\030\001 \001(\tB&\340A\002\372A \n\036sp" + + "anner.googleapis.com/Session\022;\n\013transact" + + "ion\030\002 \001(\0132&.google.spanner.v1.Transactio" + + "nSelector\022\020\n\003sql\030\003 \001(\tB\003\340A\002\022\'\n\006params\030\004 " + + "\001(\0132\027.google.protobuf.Struct\022M\n\013param_ty" + + "pes\030\005 \003(\01328.google.spanner.v1.PartitionQ" + + "ueryRequest.ParamTypesEntry\022>\n\021partition" + + "_options\030\006 \001(\0132#.google.spanner.v1.Parti" + + "tionOptions\032J\n\017ParamTypesEntry\022\013\n\003key\030\001 " + + "\001(\t\022&\n\005value\030\002 \001(\0132\027.google.spanner.v1.T" + + "ype:\0028\001\"\261\002\n\024PartitionReadRequest\0227\n\007sess" + + "ion\030\001 \001(\tB&\340A\002\372A \n\036spanner.googleapis.co" + + "m/Session\022;\n\013transaction\030\002 \001(\0132&.google." + + "spanner.v1.TransactionSelector\022\022\n\005table\030" + + "\003 \001(\tB\003\340A\002\022\r\n\005index\030\004 \001(\t\022\017\n\007columns\030\005 \003" + + "(\t\022/\n\007key_set\030\006 \001(\0132\031.google.spanner.v1." + + "KeySetB\003\340A\002\022>\n\021partition_options\030\t \001(\0132#" + + ".google.spanner.v1.PartitionOptions\"$\n\tP" + + "artition\022\027\n\017partition_token\030\001 \001(\014\"z\n\021Par" + + "titionResponse\0220\n\npartitions\030\001 \003(\0132\034.goo" + + "gle.spanner.v1.Partition\0223\n\013transaction\030" + + "\002 \001(\0132\036.google.spanner.v1.Transaction\"\203\003" + + "\n\013ReadRequest\0227\n\007session\030\001 \001(\tB&\340A\002\372A \n\036" + + "spanner.googleapis.com/Session\022;\n\013transa" + + "ction\030\002 \001(\0132&.google.spanner.v1.Transact" + + "ionSelector\022\022\n\005table\030\003 \001(\tB\003\340A\002\022\r\n\005index" + + "\030\004 \001(\t\022\024\n\007columns\030\005 \003(\tB\003\340A\002\022/\n\007key_set\030" + + "\006 \001(\0132\031.google.spanner.v1.KeySetB\003\340A\002\022\r\n" + + "\005limit\030\010 \001(\003\022\024\n\014resume_token\030\t \001(\014\022\027\n\017pa" + + "rtition_token\030\n \001(\014\022:\n\017request_options\030\013" + + " \001(\0132!.google.spanner.v1.RequestOptions\022" + + "\032\n\022data_boost_enabled\030\017 \001(\010\"\313\001\n\027BeginTra" + + "nsactionRequest\0227\n\007session\030\001 \001(\tB&\340A\002\372A " + + "\n\036spanner.googleapis.com/Session\022;\n\007opti" + + "ons\030\002 \001(\0132%.google.spanner.v1.Transactio" + + "nOptionsB\003\340A\002\022:\n\017request_options\030\003 \001(\0132!" + + ".google.spanner.v1.RequestOptions\"\303\002\n\rCo" + + "mmitRequest\0227\n\007session\030\001 \001(\tB&\340A\002\372A \n\036sp" + + "anner.googleapis.com/Session\022\030\n\016transact" + + "ion_id\030\002 \001(\014H\000\022G\n\026single_use_transaction" + + "\030\003 \001(\0132%.google.spanner.v1.TransactionOp" + + "tionsH\000\022.\n\tmutations\030\004 \003(\0132\033.google.span" + + "ner.v1.Mutation\022\033\n\023return_commit_stats\030\005" + + " \001(\010\022:\n\017request_options\030\006 \001(\0132!.google.s" + + "panner.v1.RequestOptionsB\r\n\013transaction\"" + + "g\n\017RollbackRequest\0227\n\007session\030\001 \001(\tB&\340A\002" + + "\372A \n\036spanner.googleapis.com/Session\022\033\n\016t" + + "ransaction_id\030\002 \001(\014B\003\340A\0022\300\026\n\007Spanner\022\246\001\n" + + "\rCreateSession\022\'.google.spanner.v1.Creat" + + "eSessionRequest\032\032.google.spanner.v1.Sess" + + "ion\"P\202\323\344\223\002?\":/v1/{database=projects/*/in" + + "stances/*/databases/*}/sessions:\001*\332A\010dat" + + "abase\022\340\001\n\023BatchCreateSessions\022-.google.s" + + "panner.v1.BatchCreateSessionsRequest\032..g" + + "oogle.spanner.v1.BatchCreateSessionsResp" + + "onse\"j\202\323\344\223\002K\"F/v1/{database=projects/*/i" + + "nstances/*/databases/*}/sessions:batchCr" + + "eate:\001*\332A\026database,session_count\022\227\001\n\nGet" + + "Session\022$.google.spanner.v1.GetSessionRe" + + "quest\032\032.google.spanner.v1.Session\"G\202\323\344\223\002" + + ":\0228/v1/{name=projects/*/instances/*/data" + + "bases/*/sessions/*}\332A\004name\022\256\001\n\014ListSessi" + + "ons\022&.google.spanner.v1.ListSessionsRequ" + + "est\032\'.google.spanner.v1.ListSessionsResp" + + "onse\"M\202\323\344\223\002<\022:/v1/{database=projects/*/i" + + "nstances/*/databases/*}/sessions\332A\010datab" + + "ase\022\231\001\n\rDeleteSession\022\'.google.spanner.v" + + "1.DeleteSessionRequest\032\026.google.protobuf" + + ".Empty\"G\202\323\344\223\002:*8/v1/{name=projects/*/ins" + + "tances/*/databases/*/sessions/*}\332A\004name\022" + + "\243\001\n\nExecuteSql\022$.google.spanner.v1.Execu" + + "teSqlRequest\032\034.google.spanner.v1.ResultS" + + "et\"Q\202\323\344\223\002K\"F/v1/{session=projects/*/inst" + + "ances/*/databases/*/sessions/*}:executeS" + + "ql:\001*\022\276\001\n\023ExecuteStreamingSql\022$.google.s" + + "panner.v1.ExecuteSqlRequest\032#.google.spa" + + "nner.v1.PartialResultSet\"Z\202\323\344\223\002T\"O/v1/{s" + + "ession=projects/*/instances/*/databases/" + + "*/sessions/*}:executeStreamingSql:\001*0\001\022\300" + + "\001\n\017ExecuteBatchDml\022).google.spanner.v1.E" + + "xecuteBatchDmlRequest\032*.google.spanner.v" + + "1.ExecuteBatchDmlResponse\"V\202\323\344\223\002P\"K/v1/{" + + "session=projects/*/instances/*/databases" + + "/*/sessions/*}:executeBatchDml:\001*\022\221\001\n\004Re" + + "ad\022\036.google.spanner.v1.ReadRequest\032\034.goo" + + "gle.spanner.v1.ResultSet\"K\202\323\344\223\002E\"@/v1/{s" + + "ession=projects/*/instances/*/databases/" + + "*/sessions/*}:read:\001*\022\254\001\n\rStreamingRead\022" + + "\036.google.spanner.v1.ReadRequest\032#.google" + + ".spanner.v1.PartialResultSet\"T\202\323\344\223\002N\"I/v" + + "1/{session=projects/*/instances/*/databa" + + "ses/*/sessions/*}:streamingRead:\001*0\001\022\311\001\n" + + "\020BeginTransaction\022*.google.spanner.v1.Be" + + "ginTransactionRequest\032\036.google.spanner.v" + + "1.Transaction\"i\202\323\344\223\002Q\"L/v1/{session=proj" + + "ects/*/instances/*/databases/*/sessions/" + + "*}:beginTransaction:\001*\332A\017session,options" + + "\022\353\001\n\006Commit\022 .google.spanner.v1.CommitRe" + + "quest\032!.google.spanner.v1.CommitResponse" + + "\"\233\001\202\323\344\223\002G\"B/v1/{session=projects/*/insta" + + "nces/*/databases/*/sessions/*}:commit:\001*" + + "\332A session,transaction_id,mutations\332A(se" + + "ssion,single_use_transaction,mutations\022\260" + + "\001\n\010Rollback\022\".google.spanner.v1.Rollback" + + "Request\032\026.google.protobuf.Empty\"h\202\323\344\223\002I\"" + + "D/v1/{session=projects/*/instances/*/dat" + + "abases/*/sessions/*}:rollback:\001*\332A\026sessi" + + "on,transaction_id\022\267\001\n\016PartitionQuery\022(.g" + + "oogle.spanner.v1.PartitionQueryRequest\032$" + + ".google.spanner.v1.PartitionResponse\"U\202\323" + + "\344\223\002O\"J/v1/{session=projects/*/instances/" + + "*/databases/*/sessions/*}:partitionQuery" + + ":\001*\022\264\001\n\rPartitionRead\022\'.google.spanner.v" + + "1.PartitionReadRequest\032$.google.spanner." + + "v1.PartitionResponse\"T\202\323\344\223\002N\"I/v1/{sessi" + + "on=projects/*/instances/*/databases/*/se" + + "ssions/*}:partitionRead:\001*\032w\312A\026spanner.g" + + "oogleapis.com\322A[https://www.googleapis.c" + + "om/auth/cloud-platform,https://www.googl" + + "eapis.com/auth/spanner.dataB\221\002\n\025com.goog" + + "le.spanner.v1B\014SpannerProtoP\001Z5cloud.goo" + + "gle.com/go/spanner/apiv1/spannerpb;spann" + + "erpb\252\002\027Google.Cloud.Spanner.V1\312\002\027Google\\" + + "Cloud\\Spanner\\V1\352\002\032Google::Cloud::Spanne" + + "r::V1\352A_\n\037spanner.googleapis.com/Databas" + + "e\022 * `StructType` defines the fields of a [STRUCT][google.spanner.v1.TypeCode.STRUCT] type. *
* * Protobuf type {@code google.spanner.v1.StructType} */ -public final class StructType extends - com.google.protobuf.GeneratedMessageV3 implements +public final class StructType extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.spanner.v1.StructType) StructTypeOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use StructType.newBuilder() to construct. private StructType(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private StructType() { fields_ = 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 StructType(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.spanner.v1.TypeProto.internal_static_google_spanner_v1_StructType_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.TypeProto.internal_static_google_spanner_v1_StructType_fieldAccessorTable + return com.google.spanner.v1.TypeProto + .internal_static_google_spanner_v1_StructType_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.spanner.v1.StructType.class, com.google.spanner.v1.StructType.Builder.class); } - public interface FieldOrBuilder extends + public interface FieldOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.StructType.Field) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The name of the field. For reads, this is the column name. For
      * SQL queries, it is the column alias (e.g., `"Word"` in the
@@ -64,10 +84,13 @@ public interface FieldOrBuilder extends
      * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
      * The name of the field. For reads, this is the column name. For
      * SQL queries, it is the column alias (e.g., `"Word"` in the
@@ -79,30 +102,38 @@ public interface FieldOrBuilder extends
      * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
      * The type of the field.
      * 
* * .google.spanner.v1.Type type = 2; + * * @return Whether the type field is set. */ boolean hasType(); /** + * + * *
      * The type of the field.
      * 
* * .google.spanner.v1.Type type = 2; + * * @return The type. */ com.google.spanner.v1.Type getType(); /** + * + * *
      * The type of the field.
      * 
@@ -112,54 +143,61 @@ public interface FieldOrBuilder extends com.google.spanner.v1.TypeOrBuilder getTypeOrBuilder(); } /** + * + * *
    * Message representing a single field of a struct.
    * 
* * Protobuf type {@code google.spanner.v1.StructType.Field} */ - public static final class Field extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Field extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.spanner.v1.StructType.Field) FieldOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Field.newBuilder() to construct. private Field(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Field() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Field(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.v1.TypeProto.internal_static_google_spanner_v1_StructType_Field_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.v1.TypeProto + .internal_static_google_spanner_v1_StructType_Field_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.TypeProto.internal_static_google_spanner_v1_StructType_Field_fieldAccessorTable + return com.google.spanner.v1.TypeProto + .internal_static_google_spanner_v1_StructType_Field_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.StructType.Field.class, com.google.spanner.v1.StructType.Field.Builder.class); + com.google.spanner.v1.StructType.Field.class, + com.google.spanner.v1.StructType.Field.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
      * The name of the field. For reads, this is the column name. For
      * SQL queries, it is the column alias (e.g., `"Word"` in the
@@ -171,6 +209,7 @@ protected java.lang.Object newInstance(
      * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -179,14 +218,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 name of the field. For reads, this is the column name. For
      * SQL queries, it is the column alias (e.g., `"Word"` in the
@@ -198,16 +238,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 { @@ -218,11 +257,14 @@ public java.lang.String getName() { public static final int TYPE_FIELD_NUMBER = 2; private com.google.spanner.v1.Type type_; /** + * + * *
      * The type of the field.
      * 
* * .google.spanner.v1.Type type = 2; + * * @return Whether the type field is set. */ @java.lang.Override @@ -230,11 +272,14 @@ public boolean hasType() { return type_ != null; } /** + * + * *
      * The type of the field.
      * 
* * .google.spanner.v1.Type type = 2; + * * @return The type. */ @java.lang.Override @@ -242,6 +287,8 @@ public com.google.spanner.v1.Type getType() { return type_ == null ? com.google.spanner.v1.Type.getDefaultInstance() : type_; } /** + * + * *
      * The type of the field.
      * 
@@ -254,6 +301,7 @@ public com.google.spanner.v1.TypeOrBuilder getTypeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -265,8 +313,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -286,8 +333,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (type_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getType()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getType()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -297,19 +343,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.spanner.v1.StructType.Field)) { return super.equals(obj); } com.google.spanner.v1.StructType.Field other = (com.google.spanner.v1.StructType.Field) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasType() != other.hasType()) return false; if (hasType()) { - if (!getType() - .equals(other.getType())) return false; + if (!getType().equals(other.getType())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -333,88 +377,94 @@ public int hashCode() { return hash; } - public static com.google.spanner.v1.StructType.Field parseFrom( - java.nio.ByteBuffer data) + public static com.google.spanner.v1.StructType.Field parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.StructType.Field parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.v1.StructType.Field parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.StructType.Field parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.v1.StructType.Field parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.StructType.Field parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.v1.StructType.Field parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.v1.StructType.Field parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.StructType.Field parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.spanner.v1.StructType.Field parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.spanner.v1.StructType.Field parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.spanner.v1.StructType.Field parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.v1.StructType.Field parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.spanner.v1.StructType.Field prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -424,39 +474,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Message representing a single field of a struct.
      * 
* * Protobuf type {@code google.spanner.v1.StructType.Field} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.StructType.Field) com.google.spanner.v1.StructType.FieldOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.v1.TypeProto.internal_static_google_spanner_v1_StructType_Field_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.v1.TypeProto + .internal_static_google_spanner_v1_StructType_Field_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.TypeProto.internal_static_google_spanner_v1_StructType_Field_fieldAccessorTable + return com.google.spanner.v1.TypeProto + .internal_static_google_spanner_v1_StructType_Field_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.StructType.Field.class, com.google.spanner.v1.StructType.Field.Builder.class); + com.google.spanner.v1.StructType.Field.class, + com.google.spanner.v1.StructType.Field.Builder.class); } // Construct using com.google.spanner.v1.StructType.Field.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -471,9 +523,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.spanner.v1.TypeProto.internal_static_google_spanner_v1_StructType_Field_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.spanner.v1.TypeProto + .internal_static_google_spanner_v1_StructType_Field_descriptor; } @java.lang.Override @@ -492,8 +544,11 @@ public com.google.spanner.v1.StructType.Field build() { @java.lang.Override public com.google.spanner.v1.StructType.Field buildPartial() { - com.google.spanner.v1.StructType.Field result = new com.google.spanner.v1.StructType.Field(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.spanner.v1.StructType.Field result = + new com.google.spanner.v1.StructType.Field(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -504,9 +559,7 @@ private void buildPartial0(com.google.spanner.v1.StructType.Field result) { result.name_ = name_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.type_ = typeBuilder_ == null - ? type_ - : typeBuilder_.build(); + result.type_ = typeBuilder_ == null ? type_ : typeBuilder_.build(); } } @@ -514,38 +567,41 @@ private void buildPartial0(com.google.spanner.v1.StructType.Field 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.spanner.v1.StructType.Field) { - return mergeFrom((com.google.spanner.v1.StructType.Field)other); + return mergeFrom((com.google.spanner.v1.StructType.Field) other); } else { super.mergeFrom(other); return this; @@ -588,24 +644,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getTypeFieldBuilder().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(getTypeFieldBuilder().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) { @@ -615,10 +672,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
        * The name of the field. For reads, this is the column name. For
        * SQL queries, it is the column alias (e.g., `"Word"` in the
@@ -630,13 +690,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; @@ -645,6 +705,8 @@ public java.lang.String getName() { } } /** + * + * *
        * The name of the field. For reads, this is the column name. For
        * SQL queries, it is the column alias (e.g., `"Word"` in the
@@ -656,15 +718,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 { @@ -672,6 +733,8 @@ public java.lang.String getName() { } } /** + * + * *
        * The name of the field. For reads, this is the column name. For
        * SQL queries, it is the column alias (e.g., `"Word"` in the
@@ -683,18 +746,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 name of the field. For reads, this is the column name. For
        * SQL queries, it is the column alias (e.g., `"Word"` in the
@@ -706,6 +773,7 @@ public Builder setName(
        * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -715,6 +783,8 @@ public Builder clearName() { return this; } /** + * + * *
        * The name of the field. For reads, this is the column name. For
        * SQL queries, it is the column alias (e.g., `"Word"` in the
@@ -726,12 +796,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; @@ -741,24 +813,33 @@ public Builder setNameBytes( private com.google.spanner.v1.Type type_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.Type, com.google.spanner.v1.Type.Builder, com.google.spanner.v1.TypeOrBuilder> typeBuilder_; + com.google.spanner.v1.Type, + com.google.spanner.v1.Type.Builder, + com.google.spanner.v1.TypeOrBuilder> + typeBuilder_; /** + * + * *
        * The type of the field.
        * 
* * .google.spanner.v1.Type type = 2; + * * @return Whether the type field is set. */ public boolean hasType() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
        * The type of the field.
        * 
* * .google.spanner.v1.Type type = 2; + * * @return The type. */ public com.google.spanner.v1.Type getType() { @@ -769,6 +850,8 @@ public com.google.spanner.v1.Type getType() { } } /** + * + * *
        * The type of the field.
        * 
@@ -789,14 +872,15 @@ public Builder setType(com.google.spanner.v1.Type value) { return this; } /** + * + * *
        * The type of the field.
        * 
* * .google.spanner.v1.Type type = 2; */ - public Builder setType( - com.google.spanner.v1.Type.Builder builderForValue) { + public Builder setType(com.google.spanner.v1.Type.Builder builderForValue) { if (typeBuilder_ == null) { type_ = builderForValue.build(); } else { @@ -807,6 +891,8 @@ public Builder setType( return this; } /** + * + * *
        * The type of the field.
        * 
@@ -815,9 +901,9 @@ public Builder setType( */ public Builder mergeType(com.google.spanner.v1.Type value) { if (typeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - type_ != null && - type_ != com.google.spanner.v1.Type.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && type_ != null + && type_ != com.google.spanner.v1.Type.getDefaultInstance()) { getTypeBuilder().mergeFrom(value); } else { type_ = value; @@ -830,6 +916,8 @@ public Builder mergeType(com.google.spanner.v1.Type value) { return this; } /** + * + * *
        * The type of the field.
        * 
@@ -847,6 +935,8 @@ public Builder clearType() { return this; } /** + * + * *
        * The type of the field.
        * 
@@ -859,6 +949,8 @@ public com.google.spanner.v1.Type.Builder getTypeBuilder() { return getTypeFieldBuilder().getBuilder(); } /** + * + * *
        * The type of the field.
        * 
@@ -869,11 +961,12 @@ public com.google.spanner.v1.TypeOrBuilder getTypeOrBuilder() { if (typeBuilder_ != null) { return typeBuilder_.getMessageOrBuilder(); } else { - return type_ == null ? - com.google.spanner.v1.Type.getDefaultInstance() : type_; + return type_ == null ? com.google.spanner.v1.Type.getDefaultInstance() : type_; } } /** + * + * *
        * The type of the field.
        * 
@@ -881,18 +974,22 @@ public com.google.spanner.v1.TypeOrBuilder getTypeOrBuilder() { * .google.spanner.v1.Type type = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.Type, com.google.spanner.v1.Type.Builder, com.google.spanner.v1.TypeOrBuilder> + com.google.spanner.v1.Type, + com.google.spanner.v1.Type.Builder, + com.google.spanner.v1.TypeOrBuilder> getTypeFieldBuilder() { if (typeBuilder_ == null) { - typeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.Type, com.google.spanner.v1.Type.Builder, com.google.spanner.v1.TypeOrBuilder>( - getType(), - getParentForChildren(), - isClean()); + typeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.spanner.v1.Type, + com.google.spanner.v1.Type.Builder, + com.google.spanner.v1.TypeOrBuilder>( + getType(), getParentForChildren(), isClean()); type_ = null; } return typeBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -905,12 +1002,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.v1.StructType.Field) } // @@protoc_insertion_point(class_scope:google.spanner.v1.StructType.Field) private static final com.google.spanner.v1.StructType.Field DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.v1.StructType.Field(); } @@ -919,27 +1016,28 @@ public static com.google.spanner.v1.StructType.Field getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Field parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Field parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,13 +1052,15 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.StructType.Field getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int FIELDS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List fields_; /** + * + * *
    * The list of fields that make up this struct. Order is
    * significant, because values of this struct type are represented as
@@ -977,6 +1077,8 @@ public java.util.List getFieldsList() {
     return fields_;
   }
   /**
+   *
+   *
    * 
    * The list of fields that make up this struct. Order is
    * significant, because values of this struct type are represented as
@@ -989,11 +1091,13 @@ public java.util.List getFieldsList() {
    * repeated .google.spanner.v1.StructType.Field fields = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getFieldsOrBuilderList() {
     return fields_;
   }
   /**
+   *
+   *
    * 
    * The list of fields that make up this struct. Order is
    * significant, because values of this struct type are represented as
@@ -1010,6 +1114,8 @@ public int getFieldsCount() {
     return fields_.size();
   }
   /**
+   *
+   *
    * 
    * The list of fields that make up this struct. Order is
    * significant, because values of this struct type are represented as
@@ -1026,6 +1132,8 @@ public com.google.spanner.v1.StructType.Field getFields(int index) {
     return fields_.get(index);
   }
   /**
+   *
+   *
    * 
    * The list of fields that make up this struct. Order is
    * significant, because values of this struct type are represented as
@@ -1038,12 +1146,12 @@ public com.google.spanner.v1.StructType.Field getFields(int index) {
    * repeated .google.spanner.v1.StructType.Field fields = 1;
    */
   @java.lang.Override
-  public com.google.spanner.v1.StructType.FieldOrBuilder getFieldsOrBuilder(
-      int index) {
+  public com.google.spanner.v1.StructType.FieldOrBuilder getFieldsOrBuilder(int index) {
     return fields_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -1055,8 +1163,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 < fields_.size(); i++) {
       output.writeMessage(1, fields_.get(i));
     }
@@ -1070,8 +1177,7 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < fields_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, fields_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, fields_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -1081,15 +1187,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.spanner.v1.StructType)) {
       return super.equals(obj);
     }
     com.google.spanner.v1.StructType other = (com.google.spanner.v1.StructType) obj;
 
-    if (!getFieldsList()
-        .equals(other.getFieldsList())) return false;
+    if (!getFieldsList().equals(other.getFieldsList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -1110,130 +1215,135 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.spanner.v1.StructType parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.spanner.v1.StructType parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.spanner.v1.StructType parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.spanner.v1.StructType parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.spanner.v1.StructType parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.spanner.v1.StructType parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.spanner.v1.StructType parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.spanner.v1.StructType parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.spanner.v1.StructType parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.spanner.v1.StructType parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.spanner.v1.StructType 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.spanner.v1.StructType parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.spanner.v1.StructType parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.spanner.v1.StructType parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.spanner.v1.StructType prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * `StructType` defines the fields of a [STRUCT][google.spanner.v1.TypeCode.STRUCT] type.
    * 
* * Protobuf type {@code google.spanner.v1.StructType} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.StructType) com.google.spanner.v1.StructTypeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.v1.TypeProto.internal_static_google_spanner_v1_StructType_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.v1.TypeProto + .internal_static_google_spanner_v1_StructType_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.TypeProto.internal_static_google_spanner_v1_StructType_fieldAccessorTable + return com.google.spanner.v1.TypeProto + .internal_static_google_spanner_v1_StructType_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.StructType.class, com.google.spanner.v1.StructType.Builder.class); + com.google.spanner.v1.StructType.class, + com.google.spanner.v1.StructType.Builder.class); } // Construct using com.google.spanner.v1.StructType.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1249,9 +1359,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.spanner.v1.TypeProto.internal_static_google_spanner_v1_StructType_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.spanner.v1.TypeProto + .internal_static_google_spanner_v1_StructType_descriptor; } @java.lang.Override @@ -1272,7 +1382,9 @@ public com.google.spanner.v1.StructType build() { public com.google.spanner.v1.StructType buildPartial() { com.google.spanner.v1.StructType result = new com.google.spanner.v1.StructType(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -1297,38 +1409,39 @@ private void buildPartial0(com.google.spanner.v1.StructType 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.spanner.v1.StructType) { - return mergeFrom((com.google.spanner.v1.StructType)other); + return mergeFrom((com.google.spanner.v1.StructType) other); } else { super.mergeFrom(other); return this; @@ -1355,9 +1468,10 @@ public Builder mergeFrom(com.google.spanner.v1.StructType other) { fieldsBuilder_ = null; fields_ = other.fields_; bitField0_ = (bitField0_ & ~0x00000001); - fieldsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getFieldsFieldBuilder() : null; + fieldsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getFieldsFieldBuilder() + : null; } else { fieldsBuilder_.addAllMessages(other.fields_); } @@ -1389,25 +1503,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.spanner.v1.StructType.Field m = - input.readMessage( - com.google.spanner.v1.StructType.Field.parser(), - extensionRegistry); - if (fieldsBuilder_ == null) { - ensureFieldsIsMutable(); - fields_.add(m); - } else { - fieldsBuilder_.addMessage(m); - } - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.spanner.v1.StructType.Field m = + input.readMessage( + com.google.spanner.v1.StructType.Field.parser(), extensionRegistry); + if (fieldsBuilder_ == null) { + ensureFieldsIsMutable(); + fields_.add(m); + } else { + fieldsBuilder_.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) { @@ -1417,21 +1532,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List fields_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureFieldsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { fields_ = new java.util.ArrayList(fields_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.spanner.v1.StructType.Field, com.google.spanner.v1.StructType.Field.Builder, com.google.spanner.v1.StructType.FieldOrBuilder> fieldsBuilder_; + com.google.spanner.v1.StructType.Field, + com.google.spanner.v1.StructType.Field.Builder, + com.google.spanner.v1.StructType.FieldOrBuilder> + fieldsBuilder_; /** + * + * *
      * The list of fields that make up this struct. Order is
      * significant, because values of this struct type are represented as
@@ -1451,6 +1573,8 @@ public java.util.List getFieldsList() {
       }
     }
     /**
+     *
+     *
      * 
      * The list of fields that make up this struct. Order is
      * significant, because values of this struct type are represented as
@@ -1470,6 +1594,8 @@ public int getFieldsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The list of fields that make up this struct. Order is
      * significant, because values of this struct type are represented as
@@ -1489,6 +1615,8 @@ public com.google.spanner.v1.StructType.Field getFields(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The list of fields that make up this struct. Order is
      * significant, because values of this struct type are represented as
@@ -1500,8 +1628,7 @@ public com.google.spanner.v1.StructType.Field getFields(int index) {
      *
      * repeated .google.spanner.v1.StructType.Field fields = 1;
      */
-    public Builder setFields(
-        int index, com.google.spanner.v1.StructType.Field value) {
+    public Builder setFields(int index, com.google.spanner.v1.StructType.Field value) {
       if (fieldsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1515,6 +1642,8 @@ public Builder setFields(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of fields that make up this struct. Order is
      * significant, because values of this struct type are represented as
@@ -1538,6 +1667,8 @@ public Builder setFields(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of fields that make up this struct. Order is
      * significant, because values of this struct type are represented as
@@ -1563,6 +1694,8 @@ public Builder addFields(com.google.spanner.v1.StructType.Field value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of fields that make up this struct. Order is
      * significant, because values of this struct type are represented as
@@ -1574,8 +1707,7 @@ public Builder addFields(com.google.spanner.v1.StructType.Field value) {
      *
      * repeated .google.spanner.v1.StructType.Field fields = 1;
      */
-    public Builder addFields(
-        int index, com.google.spanner.v1.StructType.Field value) {
+    public Builder addFields(int index, com.google.spanner.v1.StructType.Field value) {
       if (fieldsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1589,6 +1721,8 @@ public Builder addFields(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of fields that make up this struct. Order is
      * significant, because values of this struct type are represented as
@@ -1600,8 +1734,7 @@ public Builder addFields(
      *
      * repeated .google.spanner.v1.StructType.Field fields = 1;
      */
-    public Builder addFields(
-        com.google.spanner.v1.StructType.Field.Builder builderForValue) {
+    public Builder addFields(com.google.spanner.v1.StructType.Field.Builder builderForValue) {
       if (fieldsBuilder_ == null) {
         ensureFieldsIsMutable();
         fields_.add(builderForValue.build());
@@ -1612,6 +1745,8 @@ public Builder addFields(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of fields that make up this struct. Order is
      * significant, because values of this struct type are represented as
@@ -1635,6 +1770,8 @@ public Builder addFields(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of fields that make up this struct. Order is
      * significant, because values of this struct type are represented as
@@ -1650,8 +1787,7 @@ public Builder addAllFields(
         java.lang.Iterable values) {
       if (fieldsBuilder_ == null) {
         ensureFieldsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, fields_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, fields_);
         onChanged();
       } else {
         fieldsBuilder_.addAllMessages(values);
@@ -1659,6 +1795,8 @@ public Builder addAllFields(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of fields that make up this struct. Order is
      * significant, because values of this struct type are represented as
@@ -1681,6 +1819,8 @@ public Builder clearFields() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of fields that make up this struct. Order is
      * significant, because values of this struct type are represented as
@@ -1703,6 +1843,8 @@ public Builder removeFields(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of fields that make up this struct. Order is
      * significant, because values of this struct type are represented as
@@ -1714,11 +1856,12 @@ public Builder removeFields(int index) {
      *
      * repeated .google.spanner.v1.StructType.Field fields = 1;
      */
-    public com.google.spanner.v1.StructType.Field.Builder getFieldsBuilder(
-        int index) {
+    public com.google.spanner.v1.StructType.Field.Builder getFieldsBuilder(int index) {
       return getFieldsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The list of fields that make up this struct. Order is
      * significant, because values of this struct type are represented as
@@ -1730,14 +1873,16 @@ public com.google.spanner.v1.StructType.Field.Builder getFieldsBuilder(
      *
      * repeated .google.spanner.v1.StructType.Field fields = 1;
      */
-    public com.google.spanner.v1.StructType.FieldOrBuilder getFieldsOrBuilder(
-        int index) {
+    public com.google.spanner.v1.StructType.FieldOrBuilder getFieldsOrBuilder(int index) {
       if (fieldsBuilder_ == null) {
-        return fields_.get(index);  } else {
+        return fields_.get(index);
+      } else {
         return fieldsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The list of fields that make up this struct. Order is
      * significant, because values of this struct type are represented as
@@ -1749,8 +1894,8 @@ public com.google.spanner.v1.StructType.FieldOrBuilder getFieldsOrBuilder(
      *
      * repeated .google.spanner.v1.StructType.Field fields = 1;
      */
-    public java.util.List 
-         getFieldsOrBuilderList() {
+    public java.util.List
+        getFieldsOrBuilderList() {
       if (fieldsBuilder_ != null) {
         return fieldsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1758,6 +1903,8 @@ public com.google.spanner.v1.StructType.FieldOrBuilder getFieldsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * The list of fields that make up this struct. Order is
      * significant, because values of this struct type are represented as
@@ -1770,10 +1917,12 @@ public com.google.spanner.v1.StructType.FieldOrBuilder getFieldsOrBuilder(
      * repeated .google.spanner.v1.StructType.Field fields = 1;
      */
     public com.google.spanner.v1.StructType.Field.Builder addFieldsBuilder() {
-      return getFieldsFieldBuilder().addBuilder(
-          com.google.spanner.v1.StructType.Field.getDefaultInstance());
+      return getFieldsFieldBuilder()
+          .addBuilder(com.google.spanner.v1.StructType.Field.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The list of fields that make up this struct. Order is
      * significant, because values of this struct type are represented as
@@ -1785,12 +1934,13 @@ public com.google.spanner.v1.StructType.Field.Builder addFieldsBuilder() {
      *
      * repeated .google.spanner.v1.StructType.Field fields = 1;
      */
-    public com.google.spanner.v1.StructType.Field.Builder addFieldsBuilder(
-        int index) {
-      return getFieldsFieldBuilder().addBuilder(
-          index, com.google.spanner.v1.StructType.Field.getDefaultInstance());
+    public com.google.spanner.v1.StructType.Field.Builder addFieldsBuilder(int index) {
+      return getFieldsFieldBuilder()
+          .addBuilder(index, com.google.spanner.v1.StructType.Field.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The list of fields that make up this struct. Order is
      * significant, because values of this struct type are represented as
@@ -1802,27 +1952,29 @@ public com.google.spanner.v1.StructType.Field.Builder addFieldsBuilder(
      *
      * repeated .google.spanner.v1.StructType.Field fields = 1;
      */
-    public java.util.List 
-         getFieldsBuilderList() {
+    public java.util.List getFieldsBuilderList() {
       return getFieldsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.spanner.v1.StructType.Field, com.google.spanner.v1.StructType.Field.Builder, com.google.spanner.v1.StructType.FieldOrBuilder> 
+            com.google.spanner.v1.StructType.Field,
+            com.google.spanner.v1.StructType.Field.Builder,
+            com.google.spanner.v1.StructType.FieldOrBuilder>
         getFieldsFieldBuilder() {
       if (fieldsBuilder_ == null) {
-        fieldsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.spanner.v1.StructType.Field, com.google.spanner.v1.StructType.Field.Builder, com.google.spanner.v1.StructType.FieldOrBuilder>(
-                fields_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        fieldsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.spanner.v1.StructType.Field,
+                com.google.spanner.v1.StructType.Field.Builder,
+                com.google.spanner.v1.StructType.FieldOrBuilder>(
+                fields_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         fields_ = null;
       }
       return fieldsBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1832,12 +1984,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.spanner.v1.StructType)
   }
 
   // @@protoc_insertion_point(class_scope:google.spanner.v1.StructType)
   private static final com.google.spanner.v1.StructType DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.spanner.v1.StructType();
   }
@@ -1846,27 +1998,27 @@ public static com.google.spanner.v1.StructType getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public StructType parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public StructType parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1881,6 +2033,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.spanner.v1.StructType getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/StructTypeOrBuilder.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/StructTypeOrBuilder.java
similarity index 79%
rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/StructTypeOrBuilder.java
rename to proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/StructTypeOrBuilder.java
index 48a6535f177..97d70e9b0d7 100644
--- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/StructTypeOrBuilder.java
+++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/StructTypeOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/v1/type.proto
 
 package com.google.spanner.v1;
 
-public interface StructTypeOrBuilder extends
+public interface StructTypeOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.spanner.v1.StructType)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The list of fields that make up this struct. Order is
    * significant, because values of this struct type are represented as
@@ -19,9 +37,10 @@ public interface StructTypeOrBuilder extends
    *
    * repeated .google.spanner.v1.StructType.Field fields = 1;
    */
-  java.util.List 
-      getFieldsList();
+  java.util.List getFieldsList();
   /**
+   *
+   *
    * 
    * The list of fields that make up this struct. Order is
    * significant, because values of this struct type are represented as
@@ -35,6 +54,8 @@ public interface StructTypeOrBuilder extends
    */
   com.google.spanner.v1.StructType.Field getFields(int index);
   /**
+   *
+   *
    * 
    * The list of fields that make up this struct. Order is
    * significant, because values of this struct type are represented as
@@ -48,6 +69,8 @@ public interface StructTypeOrBuilder extends
    */
   int getFieldsCount();
   /**
+   *
+   *
    * 
    * The list of fields that make up this struct. Order is
    * significant, because values of this struct type are represented as
@@ -59,9 +82,11 @@ public interface StructTypeOrBuilder extends
    *
    * repeated .google.spanner.v1.StructType.Field fields = 1;
    */
-  java.util.List 
+  java.util.List
       getFieldsOrBuilderList();
   /**
+   *
+   *
    * 
    * The list of fields that make up this struct. Order is
    * significant, because values of this struct type are represented as
@@ -73,6 +98,5 @@ public interface StructTypeOrBuilder extends
    *
    * repeated .google.spanner.v1.StructType.Field fields = 1;
    */
-  com.google.spanner.v1.StructType.FieldOrBuilder getFieldsOrBuilder(
-      int index);
+  com.google.spanner.v1.StructType.FieldOrBuilder getFieldsOrBuilder(int index);
 }
diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Transaction.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Transaction.java
similarity index 72%
rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Transaction.java
rename to proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Transaction.java
index 041299057c5..3d33cd445b7 100644
--- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Transaction.java
+++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Transaction.java
@@ -1,56 +1,77 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/v1/transaction.proto
 
 package com.google.spanner.v1;
 
 /**
+ *
+ *
  * 
  * A transaction.
  * 
* * Protobuf type {@code google.spanner.v1.Transaction} */ -public final class Transaction extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Transaction extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.spanner.v1.Transaction) TransactionOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Transaction.newBuilder() to construct. private Transaction(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Transaction() { id_ = 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 Transaction(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_Transaction_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.v1.TransactionProto + .internal_static_google_spanner_v1_Transaction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_Transaction_fieldAccessorTable + return com.google.spanner.v1.TransactionProto + .internal_static_google_spanner_v1_Transaction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.Transaction.class, com.google.spanner.v1.Transaction.Builder.class); + com.google.spanner.v1.Transaction.class, + com.google.spanner.v1.Transaction.Builder.class); } public static final int ID_FIELD_NUMBER = 1; private com.google.protobuf.ByteString id_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
    * `id` may be used to identify the transaction in subsequent
    * [Read][google.spanner.v1.Spanner.Read],
@@ -62,6 +83,7 @@ protected java.lang.Object newInstance(
    * 
* * bytes id = 1; + * * @return The id. */ @java.lang.Override @@ -72,6 +94,8 @@ public com.google.protobuf.ByteString getId() { public static final int READ_TIMESTAMP_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp readTimestamp_; /** + * + * *
    * For snapshot read-only transactions, the read timestamp chosen
    * for the transaction. Not returned by default: see
@@ -81,6 +105,7 @@ public com.google.protobuf.ByteString getId() {
    * 
* * .google.protobuf.Timestamp read_timestamp = 2; + * * @return Whether the readTimestamp field is set. */ @java.lang.Override @@ -88,6 +113,8 @@ public boolean hasReadTimestamp() { return readTimestamp_ != null; } /** + * + * *
    * For snapshot read-only transactions, the read timestamp chosen
    * for the transaction. Not returned by default: see
@@ -97,13 +124,18 @@ public boolean hasReadTimestamp() {
    * 
* * .google.protobuf.Timestamp read_timestamp = 2; + * * @return The readTimestamp. */ @java.lang.Override public com.google.protobuf.Timestamp getReadTimestamp() { - return readTimestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTimestamp_; + return readTimestamp_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : readTimestamp_; } /** + * + * *
    * For snapshot read-only transactions, the read timestamp chosen
    * for the transaction. Not returned by default: see
@@ -116,10 +148,13 @@ public com.google.protobuf.Timestamp getReadTimestamp() {
    */
   @java.lang.Override
   public com.google.protobuf.TimestampOrBuilder getReadTimestampOrBuilder() {
-    return readTimestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTimestamp_;
+    return readTimestamp_ == null
+        ? com.google.protobuf.Timestamp.getDefaultInstance()
+        : readTimestamp_;
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -131,8 +166,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 (!id_.isEmpty()) {
       output.writeBytes(1, id_);
     }
@@ -149,12 +183,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (!id_.isEmpty()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeBytesSize(1, id_);
+      size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, id_);
     }
     if (readTimestamp_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getReadTimestamp());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getReadTimestamp());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -164,19 +196,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.spanner.v1.Transaction)) {
       return super.equals(obj);
     }
     com.google.spanner.v1.Transaction other = (com.google.spanner.v1.Transaction) obj;
 
-    if (!getId()
-        .equals(other.getId())) return false;
+    if (!getId().equals(other.getId())) return false;
     if (hasReadTimestamp() != other.hasReadTimestamp()) return false;
     if (hasReadTimestamp()) {
-      if (!getReadTimestamp()
-          .equals(other.getReadTimestamp())) return false;
+      if (!getReadTimestamp().equals(other.getReadTimestamp())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -200,130 +230,135 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.spanner.v1.Transaction parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.spanner.v1.Transaction parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.spanner.v1.Transaction parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.spanner.v1.Transaction parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.spanner.v1.Transaction parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.spanner.v1.Transaction parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.spanner.v1.Transaction parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.spanner.v1.Transaction parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.spanner.v1.Transaction parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.spanner.v1.Transaction parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.spanner.v1.Transaction 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.spanner.v1.Transaction parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.spanner.v1.Transaction parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.spanner.v1.Transaction parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.spanner.v1.Transaction prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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 transaction.
    * 
* * Protobuf type {@code google.spanner.v1.Transaction} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.Transaction) com.google.spanner.v1.TransactionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_Transaction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.v1.TransactionProto + .internal_static_google_spanner_v1_Transaction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_Transaction_fieldAccessorTable + return com.google.spanner.v1.TransactionProto + .internal_static_google_spanner_v1_Transaction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.Transaction.class, com.google.spanner.v1.Transaction.Builder.class); + com.google.spanner.v1.Transaction.class, + com.google.spanner.v1.Transaction.Builder.class); } // Construct using com.google.spanner.v1.Transaction.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -338,9 +373,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_Transaction_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.spanner.v1.TransactionProto + .internal_static_google_spanner_v1_Transaction_descriptor; } @java.lang.Override @@ -360,7 +395,9 @@ public com.google.spanner.v1.Transaction build() { @java.lang.Override public com.google.spanner.v1.Transaction buildPartial() { com.google.spanner.v1.Transaction result = new com.google.spanner.v1.Transaction(this); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -371,9 +408,8 @@ private void buildPartial0(com.google.spanner.v1.Transaction result) { result.id_ = id_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.readTimestamp_ = readTimestampBuilder_ == null - ? readTimestamp_ - : readTimestampBuilder_.build(); + result.readTimestamp_ = + readTimestampBuilder_ == null ? readTimestamp_ : readTimestampBuilder_.build(); } } @@ -381,38 +417,39 @@ private void buildPartial0(com.google.spanner.v1.Transaction 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.spanner.v1.Transaction) { - return mergeFrom((com.google.spanner.v1.Transaction)other); + return mergeFrom((com.google.spanner.v1.Transaction) other); } else { super.mergeFrom(other); return this; @@ -453,24 +490,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - id_ = input.readBytes(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getReadTimestampFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + id_ = input.readBytes(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getReadTimestampFieldBuilder().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) { @@ -480,10 +518,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.ByteString id_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
      * `id` may be used to identify the transaction in subsequent
      * [Read][google.spanner.v1.Spanner.Read],
@@ -495,6 +536,7 @@ public Builder mergeFrom(
      * 
* * bytes id = 1; + * * @return The id. */ @java.lang.Override @@ -502,6 +544,8 @@ public com.google.protobuf.ByteString getId() { return id_; } /** + * + * *
      * `id` may be used to identify the transaction in subsequent
      * [Read][google.spanner.v1.Spanner.Read],
@@ -513,17 +557,22 @@ public com.google.protobuf.ByteString getId() {
      * 
* * bytes id = 1; + * * @param value The id to set. * @return This builder for chaining. */ public Builder setId(com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + if (value == null) { + throw new NullPointerException(); + } id_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * `id` may be used to identify the transaction in subsequent
      * [Read][google.spanner.v1.Spanner.Read],
@@ -535,6 +584,7 @@ public Builder setId(com.google.protobuf.ByteString value) {
      * 
* * bytes id = 1; + * * @return This builder for chaining. */ public Builder clearId() { @@ -546,8 +596,13 @@ public Builder clearId() { private com.google.protobuf.Timestamp readTimestamp_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> readTimestampBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + readTimestampBuilder_; /** + * + * *
      * For snapshot read-only transactions, the read timestamp chosen
      * for the transaction. Not returned by default: see
@@ -557,12 +612,15 @@ public Builder clearId() {
      * 
* * .google.protobuf.Timestamp read_timestamp = 2; + * * @return Whether the readTimestamp field is set. */ public boolean hasReadTimestamp() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * For snapshot read-only transactions, the read timestamp chosen
      * for the transaction. Not returned by default: see
@@ -572,16 +630,21 @@ public boolean hasReadTimestamp() {
      * 
* * .google.protobuf.Timestamp read_timestamp = 2; + * * @return The readTimestamp. */ public com.google.protobuf.Timestamp getReadTimestamp() { if (readTimestampBuilder_ == null) { - return readTimestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTimestamp_; + return readTimestamp_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : readTimestamp_; } else { return readTimestampBuilder_.getMessage(); } } /** + * + * *
      * For snapshot read-only transactions, the read timestamp chosen
      * for the transaction. Not returned by default: see
@@ -606,6 +669,8 @@ public Builder setReadTimestamp(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * For snapshot read-only transactions, the read timestamp chosen
      * for the transaction. Not returned by default: see
@@ -616,8 +681,7 @@ public Builder setReadTimestamp(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp read_timestamp = 2;
      */
-    public Builder setReadTimestamp(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setReadTimestamp(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (readTimestampBuilder_ == null) {
         readTimestamp_ = builderForValue.build();
       } else {
@@ -628,6 +692,8 @@ public Builder setReadTimestamp(
       return this;
     }
     /**
+     *
+     *
      * 
      * For snapshot read-only transactions, the read timestamp chosen
      * for the transaction. Not returned by default: see
@@ -640,9 +706,9 @@ public Builder setReadTimestamp(
      */
     public Builder mergeReadTimestamp(com.google.protobuf.Timestamp value) {
       if (readTimestampBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0) &&
-          readTimestamp_ != null &&
-          readTimestamp_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0)
+            && readTimestamp_ != null
+            && readTimestamp_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getReadTimestampBuilder().mergeFrom(value);
         } else {
           readTimestamp_ = value;
@@ -655,6 +721,8 @@ public Builder mergeReadTimestamp(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * For snapshot read-only transactions, the read timestamp chosen
      * for the transaction. Not returned by default: see
@@ -676,6 +744,8 @@ public Builder clearReadTimestamp() {
       return this;
     }
     /**
+     *
+     *
      * 
      * For snapshot read-only transactions, the read timestamp chosen
      * for the transaction. Not returned by default: see
@@ -692,6 +762,8 @@ public com.google.protobuf.Timestamp.Builder getReadTimestampBuilder() {
       return getReadTimestampFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * For snapshot read-only transactions, the read timestamp chosen
      * for the transaction. Not returned by default: see
@@ -706,11 +778,14 @@ public com.google.protobuf.TimestampOrBuilder getReadTimestampOrBuilder() {
       if (readTimestampBuilder_ != null) {
         return readTimestampBuilder_.getMessageOrBuilder();
       } else {
-        return readTimestamp_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : readTimestamp_;
+        return readTimestamp_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : readTimestamp_;
       }
     }
     /**
+     *
+     *
      * 
      * For snapshot read-only transactions, the read timestamp chosen
      * for the transaction. Not returned by default: see
@@ -722,21 +797,24 @@ public com.google.protobuf.TimestampOrBuilder getReadTimestampOrBuilder() {
      * .google.protobuf.Timestamp read_timestamp = 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>
         getReadTimestampFieldBuilder() {
       if (readTimestampBuilder_ == null) {
-        readTimestampBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getReadTimestamp(),
-                getParentForChildren(),
-                isClean());
+        readTimestampBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getReadTimestamp(), getParentForChildren(), isClean());
         readTimestamp_ = null;
       }
       return readTimestampBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -746,12 +824,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.spanner.v1.Transaction)
   }
 
   // @@protoc_insertion_point(class_scope:google.spanner.v1.Transaction)
   private static final com.google.spanner.v1.Transaction DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.spanner.v1.Transaction();
   }
@@ -760,27 +838,27 @@ public static com.google.spanner.v1.Transaction getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public Transaction parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public Transaction parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -795,6 +873,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.spanner.v1.Transaction getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionOptions.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionOptions.java
similarity index 81%
rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionOptions.java
rename to proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionOptions.java
index d0d35b4d26b..85b7624ebe4 100644
--- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionOptions.java
+++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionOptions.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/v1/transaction.proto
 
 package com.google.spanner.v1;
 
 /**
+ *
+ *
  * 
  * Transactions:
  * Each session can have at most one active transaction at a time (note that
@@ -264,67 +281,77 @@
  *
  * Protobuf type {@code google.spanner.v1.TransactionOptions}
  */
-public final class TransactionOptions extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class TransactionOptions extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.spanner.v1.TransactionOptions)
     TransactionOptionsOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use TransactionOptions.newBuilder() to construct.
   private TransactionOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private TransactionOptions() {
-  }
+
+  private TransactionOptions() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new TransactionOptions();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_TransactionOptions_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.spanner.v1.TransactionProto
+        .internal_static_google_spanner_v1_TransactionOptions_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_TransactionOptions_fieldAccessorTable
+    return com.google.spanner.v1.TransactionProto
+        .internal_static_google_spanner_v1_TransactionOptions_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.v1.TransactionOptions.class, com.google.spanner.v1.TransactionOptions.Builder.class);
+            com.google.spanner.v1.TransactionOptions.class,
+            com.google.spanner.v1.TransactionOptions.Builder.class);
   }
 
-  public interface ReadWriteOrBuilder extends
+  public interface ReadWriteOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.spanner.v1.TransactionOptions.ReadWrite)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Read lock mode for the transaction.
      * 
* * .google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode read_lock_mode = 1; + * * @return The enum numeric value on the wire for readLockMode. */ int getReadLockModeValue(); /** + * + * *
      * Read lock mode for the transaction.
      * 
* * .google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode read_lock_mode = 1; + * * @return The readLockMode. */ com.google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode getReadLockMode(); } /** + * + * *
    * Message type to initiate a read-write transaction. Currently this
    * transaction type has no options.
@@ -332,45 +359,49 @@ public interface ReadWriteOrBuilder extends
    *
    * Protobuf type {@code google.spanner.v1.TransactionOptions.ReadWrite}
    */
-  public static final class ReadWrite extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class ReadWrite extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.spanner.v1.TransactionOptions.ReadWrite)
       ReadWriteOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use ReadWrite.newBuilder() to construct.
     private ReadWrite(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private ReadWrite() {
       readLockMode_ = 0;
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new ReadWrite();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_TransactionOptions_ReadWrite_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.spanner.v1.TransactionProto
+          .internal_static_google_spanner_v1_TransactionOptions_ReadWrite_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_TransactionOptions_ReadWrite_fieldAccessorTable
+      return com.google.spanner.v1.TransactionProto
+          .internal_static_google_spanner_v1_TransactionOptions_ReadWrite_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.v1.TransactionOptions.ReadWrite.class, com.google.spanner.v1.TransactionOptions.ReadWrite.Builder.class);
+              com.google.spanner.v1.TransactionOptions.ReadWrite.class,
+              com.google.spanner.v1.TransactionOptions.ReadWrite.Builder.class);
     }
 
     /**
+     *
+     *
      * 
      * `ReadLockMode` is used to set the read lock mode for read-write
      * transactions.
@@ -378,9 +409,10 @@ protected java.lang.Object newInstance(
      *
      * Protobuf enum {@code google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode}
      */
-    public enum ReadLockMode
-        implements com.google.protobuf.ProtocolMessageEnum {
+    public enum ReadLockMode implements com.google.protobuf.ProtocolMessageEnum {
       /**
+       *
+       *
        * 
        * Default value.
        * If the value is not specified, the pessimistic read lock is used.
@@ -390,6 +422,8 @@ public enum ReadLockMode
        */
       READ_LOCK_MODE_UNSPECIFIED(0),
       /**
+       *
+       *
        * 
        * Pessimistic lock mode.
        * Read locks are acquired immediately on read.
@@ -399,6 +433,8 @@ public enum ReadLockMode
        */
       PESSIMISTIC(1),
       /**
+       *
+       *
        * 
        * Optimistic lock mode.
        * Locks for reads within the transaction are not acquired on read.
@@ -413,6 +449,8 @@ public enum ReadLockMode
       ;
 
       /**
+       *
+       *
        * 
        * Default value.
        * If the value is not specified, the pessimistic read lock is used.
@@ -422,6 +460,8 @@ public enum ReadLockMode
        */
       public static final int READ_LOCK_MODE_UNSPECIFIED_VALUE = 0;
       /**
+       *
+       *
        * 
        * Pessimistic lock mode.
        * Read locks are acquired immediately on read.
@@ -431,6 +471,8 @@ public enum ReadLockMode
        */
       public static final int PESSIMISTIC_VALUE = 1;
       /**
+       *
+       *
        * 
        * Optimistic lock mode.
        * Locks for reads within the transaction are not acquired on read.
@@ -442,7 +484,6 @@ public enum ReadLockMode
        */
       public static final int OPTIMISTIC_VALUE = 2;
 
-
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -467,49 +508,51 @@ public static ReadLockMode valueOf(int value) {
        */
       public static ReadLockMode forNumber(int value) {
         switch (value) {
-          case 0: return READ_LOCK_MODE_UNSPECIFIED;
-          case 1: return PESSIMISTIC;
-          case 2: return OPTIMISTIC;
-          default: return null;
+          case 0:
+            return READ_LOCK_MODE_UNSPECIFIED;
+          case 1:
+            return PESSIMISTIC;
+          case 2:
+            return OPTIMISTIC;
+          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<
-          ReadLockMode> internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public ReadLockMode findValueByNumber(int number) {
-                return ReadLockMode.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 ReadLockMode findValueByNumber(int number) {
+              return ReadLockMode.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.spanner.v1.TransactionOptions.ReadWrite.getDescriptor().getEnumTypes().get(0);
+
+      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+        return com.google.spanner.v1.TransactionOptions.ReadWrite.getDescriptor()
+            .getEnumTypes()
+            .get(0);
       }
 
       private static final ReadLockMode[] VALUES = values();
 
-      public static ReadLockMode valueOf(
-          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+      public static ReadLockMode 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;
@@ -529,30 +572,42 @@ private ReadLockMode(int value) {
     public static final int READ_LOCK_MODE_FIELD_NUMBER = 1;
     private int readLockMode_ = 0;
     /**
+     *
+     *
      * 
      * Read lock mode for the transaction.
      * 
* * .google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode read_lock_mode = 1; + * * @return The enum numeric value on the wire for readLockMode. */ - @java.lang.Override public int getReadLockModeValue() { + @java.lang.Override + public int getReadLockModeValue() { return readLockMode_; } /** + * + * *
      * Read lock mode for the transaction.
      * 
* * .google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode read_lock_mode = 1; + * * @return The readLockMode. */ - @java.lang.Override public com.google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode getReadLockMode() { - com.google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode result = com.google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode.forNumber(readLockMode_); - return result == null ? com.google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode.UNRECOGNIZED : result; + @java.lang.Override + public com.google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode getReadLockMode() { + com.google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode result = + com.google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode.forNumber(readLockMode_); + return result == null + ? com.google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -564,9 +619,11 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (readLockMode_ != com.google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode.READ_LOCK_MODE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (readLockMode_ + != com.google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode + .READ_LOCK_MODE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, readLockMode_); } getUnknownFields().writeTo(output); @@ -578,9 +635,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (readLockMode_ != com.google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode.READ_LOCK_MODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, readLockMode_); + if (readLockMode_ + != com.google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode + .READ_LOCK_MODE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, readLockMode_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -590,12 +649,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.spanner.v1.TransactionOptions.ReadWrite)) { return super.equals(obj); } - com.google.spanner.v1.TransactionOptions.ReadWrite other = (com.google.spanner.v1.TransactionOptions.ReadWrite) obj; + com.google.spanner.v1.TransactionOptions.ReadWrite other = + (com.google.spanner.v1.TransactionOptions.ReadWrite) obj; if (readLockMode_ != other.readLockMode_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -617,87 +677,93 @@ public int hashCode() { } public static com.google.spanner.v1.TransactionOptions.ReadWrite parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.TransactionOptions.ReadWrite parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.v1.TransactionOptions.ReadWrite parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.TransactionOptions.ReadWrite parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.v1.TransactionOptions.ReadWrite parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.TransactionOptions.ReadWrite parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.TransactionOptions.ReadWrite parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.spanner.v1.TransactionOptions.ReadWrite parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.v1.TransactionOptions.ReadWrite parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.TransactionOptions.ReadWrite parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.spanner.v1.TransactionOptions.ReadWrite parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.spanner.v1.TransactionOptions.ReadWrite parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.spanner.v1.TransactionOptions.ReadWrite parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.v1.TransactionOptions.ReadWrite parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.spanner.v1.TransactionOptions.ReadWrite prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -707,6 +773,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Message type to initiate a read-write transaction. Currently this
      * transaction type has no options.
@@ -714,33 +782,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.spanner.v1.TransactionOptions.ReadWrite}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.spanner.v1.TransactionOptions.ReadWrite)
         com.google.spanner.v1.TransactionOptions.ReadWriteOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_TransactionOptions_ReadWrite_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.spanner.v1.TransactionProto
+            .internal_static_google_spanner_v1_TransactionOptions_ReadWrite_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_TransactionOptions_ReadWrite_fieldAccessorTable
+        return com.google.spanner.v1.TransactionProto
+            .internal_static_google_spanner_v1_TransactionOptions_ReadWrite_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.spanner.v1.TransactionOptions.ReadWrite.class, com.google.spanner.v1.TransactionOptions.ReadWrite.Builder.class);
+                com.google.spanner.v1.TransactionOptions.ReadWrite.class,
+                com.google.spanner.v1.TransactionOptions.ReadWrite.Builder.class);
       }
 
       // Construct using com.google.spanner.v1.TransactionOptions.ReadWrite.newBuilder()
-      private Builder() {
+      private Builder() {}
 
-      }
-
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -750,9 +818,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_TransactionOptions_ReadWrite_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.spanner.v1.TransactionProto
+            .internal_static_google_spanner_v1_TransactionOptions_ReadWrite_descriptor;
       }
 
       @java.lang.Override
@@ -771,8 +839,11 @@ public com.google.spanner.v1.TransactionOptions.ReadWrite build() {
 
       @java.lang.Override
       public com.google.spanner.v1.TransactionOptions.ReadWrite buildPartial() {
-        com.google.spanner.v1.TransactionOptions.ReadWrite result = new com.google.spanner.v1.TransactionOptions.ReadWrite(this);
-        if (bitField0_ != 0) { buildPartial0(result); }
+        com.google.spanner.v1.TransactionOptions.ReadWrite result =
+            new com.google.spanner.v1.TransactionOptions.ReadWrite(this);
+        if (bitField0_ != 0) {
+          buildPartial0(result);
+        }
         onBuilt();
         return result;
       }
@@ -788,38 +859,41 @@ private void buildPartial0(com.google.spanner.v1.TransactionOptions.ReadWrite 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.spanner.v1.TransactionOptions.ReadWrite) {
-          return mergeFrom((com.google.spanner.v1.TransactionOptions.ReadWrite)other);
+          return mergeFrom((com.google.spanner.v1.TransactionOptions.ReadWrite) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -827,7 +901,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.spanner.v1.TransactionOptions.ReadWrite other) {
-        if (other == com.google.spanner.v1.TransactionOptions.ReadWrite.getDefaultInstance()) return this;
+        if (other == com.google.spanner.v1.TransactionOptions.ReadWrite.getDefaultInstance())
+          return this;
         if (other.readLockMode_ != 0) {
           setReadLockModeValue(other.getReadLockModeValue());
         }
@@ -857,17 +932,19 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 8: {
-                readLockMode_ = input.readEnum();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 8
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              case 8:
+                {
+                  readLockMode_ = input.readEnum();
+                  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) {
@@ -877,26 +954,36 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int bitField0_;
 
       private int readLockMode_ = 0;
       /**
+       *
+       *
        * 
        * Read lock mode for the transaction.
        * 
* - * .google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode read_lock_mode = 1; + * .google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode read_lock_mode = 1; + * + * * @return The enum numeric value on the wire for readLockMode. */ - @java.lang.Override public int getReadLockModeValue() { + @java.lang.Override + public int getReadLockModeValue() { return readLockMode_; } /** + * + * *
        * Read lock mode for the transaction.
        * 
* - * .google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode read_lock_mode = 1; + * .google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode read_lock_mode = 1; + * + * * @param value The enum numeric value on the wire for readLockMode to set. * @return This builder for chaining. */ @@ -907,28 +994,41 @@ public Builder setReadLockModeValue(int value) { return this; } /** + * + * *
        * Read lock mode for the transaction.
        * 
* - * .google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode read_lock_mode = 1; + * .google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode read_lock_mode = 1; + * + * * @return The readLockMode. */ @java.lang.Override public com.google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode getReadLockMode() { - com.google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode result = com.google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode.forNumber(readLockMode_); - return result == null ? com.google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode.UNRECOGNIZED : result; + com.google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode result = + com.google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode.forNumber( + readLockMode_); + return result == null + ? com.google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode.UNRECOGNIZED + : result; } /** + * + * *
        * Read lock mode for the transaction.
        * 
* - * .google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode read_lock_mode = 1; + * .google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode read_lock_mode = 1; + * + * * @param value The readLockMode to set. * @return This builder for chaining. */ - public Builder setReadLockMode(com.google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode value) { + public Builder setReadLockMode( + com.google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode value) { if (value == null) { throw new NullPointerException(); } @@ -938,11 +1038,15 @@ public Builder setReadLockMode(com.google.spanner.v1.TransactionOptions.ReadWrit return this; } /** + * + * *
        * Read lock mode for the transaction.
        * 
* - * .google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode read_lock_mode = 1; + * .google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode read_lock_mode = 1; + * + * * @return This builder for chaining. */ public Builder clearReadLockMode() { @@ -951,6 +1055,7 @@ public Builder clearReadLockMode() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -963,12 +1068,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.v1.TransactionOptions.ReadWrite) } // @@protoc_insertion_point(class_scope:google.spanner.v1.TransactionOptions.ReadWrite) private static final com.google.spanner.v1.TransactionOptions.ReadWrite DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.v1.TransactionOptions.ReadWrite(); } @@ -977,27 +1082,28 @@ public static com.google.spanner.v1.TransactionOptions.ReadWrite getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReadWrite parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReadWrite parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,58 +1118,61 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.TransactionOptions.ReadWrite getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface PartitionedDmlOrBuilder extends + public interface PartitionedDmlOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.TransactionOptions.PartitionedDml) - com.google.protobuf.MessageOrBuilder { - } + com.google.protobuf.MessageOrBuilder {} /** + * + * *
    * Message type to initiate a Partitioned DML transaction.
    * 
* * Protobuf type {@code google.spanner.v1.TransactionOptions.PartitionedDml} */ - public static final class PartitionedDml extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class PartitionedDml extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.spanner.v1.TransactionOptions.PartitionedDml) PartitionedDmlOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PartitionedDml.newBuilder() to construct. private PartitionedDml(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PartitionedDml() { - } + + private PartitionedDml() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PartitionedDml(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_TransactionOptions_PartitionedDml_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.v1.TransactionProto + .internal_static_google_spanner_v1_TransactionOptions_PartitionedDml_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_TransactionOptions_PartitionedDml_fieldAccessorTable + return com.google.spanner.v1.TransactionProto + .internal_static_google_spanner_v1_TransactionOptions_PartitionedDml_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.TransactionOptions.PartitionedDml.class, com.google.spanner.v1.TransactionOptions.PartitionedDml.Builder.class); + com.google.spanner.v1.TransactionOptions.PartitionedDml.class, + com.google.spanner.v1.TransactionOptions.PartitionedDml.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1075,8 +1184,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); } @@ -1094,12 +1202,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.spanner.v1.TransactionOptions.PartitionedDml)) { return super.equals(obj); } - com.google.spanner.v1.TransactionOptions.PartitionedDml other = (com.google.spanner.v1.TransactionOptions.PartitionedDml) obj; + com.google.spanner.v1.TransactionOptions.PartitionedDml other = + (com.google.spanner.v1.TransactionOptions.PartitionedDml) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1118,87 +1227,94 @@ public int hashCode() { } public static com.google.spanner.v1.TransactionOptions.PartitionedDml parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.TransactionOptions.PartitionedDml parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.v1.TransactionOptions.PartitionedDml parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.TransactionOptions.PartitionedDml parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.v1.TransactionOptions.PartitionedDml parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.TransactionOptions.PartitionedDml parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.TransactionOptions.PartitionedDml parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.spanner.v1.TransactionOptions.PartitionedDml parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.v1.TransactionOptions.PartitionedDml parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.TransactionOptions.PartitionedDml parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.spanner.v1.TransactionOptions.PartitionedDml parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.spanner.v1.TransactionOptions.PartitionedDml parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.spanner.v1.TransactionOptions.PartitionedDml parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.v1.TransactionOptions.PartitionedDml parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.spanner.v1.TransactionOptions.PartitionedDml prototype) { + + public static Builder newBuilder( + com.google.spanner.v1.TransactionOptions.PartitionedDml prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1208,39 +1324,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Message type to initiate a Partitioned DML transaction.
      * 
* * Protobuf type {@code google.spanner.v1.TransactionOptions.PartitionedDml} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.TransactionOptions.PartitionedDml) com.google.spanner.v1.TransactionOptions.PartitionedDmlOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_TransactionOptions_PartitionedDml_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.v1.TransactionProto + .internal_static_google_spanner_v1_TransactionOptions_PartitionedDml_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_TransactionOptions_PartitionedDml_fieldAccessorTable + return com.google.spanner.v1.TransactionProto + .internal_static_google_spanner_v1_TransactionOptions_PartitionedDml_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.TransactionOptions.PartitionedDml.class, com.google.spanner.v1.TransactionOptions.PartitionedDml.Builder.class); + com.google.spanner.v1.TransactionOptions.PartitionedDml.class, + com.google.spanner.v1.TransactionOptions.PartitionedDml.Builder.class); } // Construct using com.google.spanner.v1.TransactionOptions.PartitionedDml.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1248,9 +1366,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_TransactionOptions_PartitionedDml_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.spanner.v1.TransactionProto + .internal_static_google_spanner_v1_TransactionOptions_PartitionedDml_descriptor; } @java.lang.Override @@ -1269,7 +1387,8 @@ public com.google.spanner.v1.TransactionOptions.PartitionedDml build() { @java.lang.Override public com.google.spanner.v1.TransactionOptions.PartitionedDml buildPartial() { - com.google.spanner.v1.TransactionOptions.PartitionedDml result = new com.google.spanner.v1.TransactionOptions.PartitionedDml(this); + com.google.spanner.v1.TransactionOptions.PartitionedDml result = + new com.google.spanner.v1.TransactionOptions.PartitionedDml(this); onBuilt(); return result; } @@ -1278,38 +1397,41 @@ public com.google.spanner.v1.TransactionOptions.PartitionedDml 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.spanner.v1.TransactionOptions.PartitionedDml) { - return mergeFrom((com.google.spanner.v1.TransactionOptions.PartitionedDml)other); + return mergeFrom((com.google.spanner.v1.TransactionOptions.PartitionedDml) other); } else { super.mergeFrom(other); return this; @@ -1317,7 +1439,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.v1.TransactionOptions.PartitionedDml other) { - if (other == com.google.spanner.v1.TransactionOptions.PartitionedDml.getDefaultInstance()) return this; + if (other == com.google.spanner.v1.TransactionOptions.PartitionedDml.getDefaultInstance()) + return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -1344,12 +1467,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) { @@ -1359,6 +1483,7 @@ public Builder mergeFrom( } // finally return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1371,12 +1496,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.v1.TransactionOptions.PartitionedDml) } // @@protoc_insertion_point(class_scope:google.spanner.v1.TransactionOptions.PartitionedDml) private static final com.google.spanner.v1.TransactionOptions.PartitionedDml DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.v1.TransactionOptions.PartitionedDml(); } @@ -1385,27 +1510,28 @@ public static com.google.spanner.v1.TransactionOptions.PartitionedDml getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PartitionedDml parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PartitionedDml parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1420,35 +1546,43 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.TransactionOptions.PartitionedDml getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ReadOnlyOrBuilder extends + public interface ReadOnlyOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.spanner.v1.TransactionOptions.ReadOnly) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Read at a timestamp where all previously committed transactions
      * are visible.
      * 
* * bool strong = 1; + * * @return Whether the strong field is set. */ boolean hasStrong(); /** + * + * *
      * Read at a timestamp where all previously committed transactions
      * are visible.
      * 
* * bool strong = 1; + * * @return The strong. */ boolean getStrong(); /** + * + * *
      * Executes all reads at a timestamp >= `min_read_timestamp`.
      * This is useful for requesting fresher data than some previous
@@ -1460,10 +1594,13 @@ public interface ReadOnlyOrBuilder extends
      * 
* * .google.protobuf.Timestamp min_read_timestamp = 2; + * * @return Whether the minReadTimestamp field is set. */ boolean hasMinReadTimestamp(); /** + * + * *
      * Executes all reads at a timestamp >= `min_read_timestamp`.
      * This is useful for requesting fresher data than some previous
@@ -1475,10 +1612,13 @@ public interface ReadOnlyOrBuilder extends
      * 
* * .google.protobuf.Timestamp min_read_timestamp = 2; + * * @return The minReadTimestamp. */ com.google.protobuf.Timestamp getMinReadTimestamp(); /** + * + * *
      * Executes all reads at a timestamp >= `min_read_timestamp`.
      * This is useful for requesting fresher data than some previous
@@ -1494,6 +1634,8 @@ public interface ReadOnlyOrBuilder extends
     com.google.protobuf.TimestampOrBuilder getMinReadTimestampOrBuilder();
 
     /**
+     *
+     *
      * 
      * Read data at a timestamp >= `NOW - max_staleness`
      * seconds. Guarantees that all writes that have committed more
@@ -1509,10 +1651,13 @@ public interface ReadOnlyOrBuilder extends
      * 
* * .google.protobuf.Duration max_staleness = 3; + * * @return Whether the maxStaleness field is set. */ boolean hasMaxStaleness(); /** + * + * *
      * Read data at a timestamp >= `NOW - max_staleness`
      * seconds. Guarantees that all writes that have committed more
@@ -1528,10 +1673,13 @@ public interface ReadOnlyOrBuilder extends
      * 
* * .google.protobuf.Duration max_staleness = 3; + * * @return The maxStaleness. */ com.google.protobuf.Duration getMaxStaleness(); /** + * + * *
      * Read data at a timestamp >= `NOW - max_staleness`
      * seconds. Guarantees that all writes that have committed more
@@ -1551,6 +1699,8 @@ public interface ReadOnlyOrBuilder extends
     com.google.protobuf.DurationOrBuilder getMaxStalenessOrBuilder();
 
     /**
+     *
+     *
      * 
      * Executes all reads at the given timestamp. Unlike other modes,
      * reads at a specific timestamp are repeatable; the same read at
@@ -1565,10 +1715,13 @@ public interface ReadOnlyOrBuilder extends
      * 
* * .google.protobuf.Timestamp read_timestamp = 4; + * * @return Whether the readTimestamp field is set. */ boolean hasReadTimestamp(); /** + * + * *
      * Executes all reads at the given timestamp. Unlike other modes,
      * reads at a specific timestamp are repeatable; the same read at
@@ -1583,10 +1736,13 @@ public interface ReadOnlyOrBuilder extends
      * 
* * .google.protobuf.Timestamp read_timestamp = 4; + * * @return The readTimestamp. */ com.google.protobuf.Timestamp getReadTimestamp(); /** + * + * *
      * Executes all reads at the given timestamp. Unlike other modes,
      * reads at a specific timestamp are repeatable; the same read at
@@ -1605,6 +1761,8 @@ public interface ReadOnlyOrBuilder extends
     com.google.protobuf.TimestampOrBuilder getReadTimestampOrBuilder();
 
     /**
+     *
+     *
      * 
      * Executes all reads at a timestamp that is `exact_staleness`
      * old. The timestamp is chosen soon after the read is started.
@@ -1618,10 +1776,13 @@ public interface ReadOnlyOrBuilder extends
      * 
* * .google.protobuf.Duration exact_staleness = 5; + * * @return Whether the exactStaleness field is set. */ boolean hasExactStaleness(); /** + * + * *
      * Executes all reads at a timestamp that is `exact_staleness`
      * old. The timestamp is chosen soon after the read is started.
@@ -1635,10 +1796,13 @@ public interface ReadOnlyOrBuilder extends
      * 
* * .google.protobuf.Duration exact_staleness = 5; + * * @return The exactStaleness. */ com.google.protobuf.Duration getExactStaleness(); /** + * + * *
      * Executes all reads at a timestamp that is `exact_staleness`
      * old. The timestamp is chosen soon after the read is started.
@@ -1656,6 +1820,8 @@ public interface ReadOnlyOrBuilder extends
     com.google.protobuf.DurationOrBuilder getExactStalenessOrBuilder();
 
     /**
+     *
+     *
      * 
      * If true, the Cloud Spanner-selected read timestamp is included in
      * the [Transaction][google.spanner.v1.Transaction] message that describes
@@ -1663,60 +1829,67 @@ public interface ReadOnlyOrBuilder extends
      * 
* * bool return_read_timestamp = 6; + * * @return The returnReadTimestamp. */ boolean getReturnReadTimestamp(); - public com.google.spanner.v1.TransactionOptions.ReadOnly.TimestampBoundCase getTimestampBoundCase(); + public com.google.spanner.v1.TransactionOptions.ReadOnly.TimestampBoundCase + getTimestampBoundCase(); } /** + * + * *
    * Message type to initiate a read-only transaction.
    * 
* * Protobuf type {@code google.spanner.v1.TransactionOptions.ReadOnly} */ - public static final class ReadOnly extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ReadOnly extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.spanner.v1.TransactionOptions.ReadOnly) ReadOnlyOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ReadOnly.newBuilder() to construct. private ReadOnly(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ReadOnly() { - } + + private ReadOnly() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ReadOnly(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_TransactionOptions_ReadOnly_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.v1.TransactionProto + .internal_static_google_spanner_v1_TransactionOptions_ReadOnly_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_TransactionOptions_ReadOnly_fieldAccessorTable + return com.google.spanner.v1.TransactionProto + .internal_static_google_spanner_v1_TransactionOptions_ReadOnly_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.TransactionOptions.ReadOnly.class, com.google.spanner.v1.TransactionOptions.ReadOnly.Builder.class); + com.google.spanner.v1.TransactionOptions.ReadOnly.class, + com.google.spanner.v1.TransactionOptions.ReadOnly.Builder.class); } private int timestampBoundCase_ = 0; private java.lang.Object timestampBound_; + public enum TimestampBoundCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { STRONG(1), MIN_READ_TIMESTAMP(2), @@ -1725,6 +1898,7 @@ public enum TimestampBoundCase EXACT_STALENESS(5), TIMESTAMPBOUND_NOT_SET(0); private final int value; + private TimestampBoundCase(int value) { this.value = value; } @@ -1740,34 +1914,43 @@ public static TimestampBoundCase valueOf(int value) { public static TimestampBoundCase forNumber(int value) { switch (value) { - case 1: return STRONG; - case 2: return MIN_READ_TIMESTAMP; - case 3: return MAX_STALENESS; - case 4: return READ_TIMESTAMP; - case 5: return EXACT_STALENESS; - case 0: return TIMESTAMPBOUND_NOT_SET; - default: return null; + case 1: + return STRONG; + case 2: + return MIN_READ_TIMESTAMP; + case 3: + return MAX_STALENESS; + case 4: + return READ_TIMESTAMP; + case 5: + return EXACT_STALENESS; + case 0: + return TIMESTAMPBOUND_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public TimestampBoundCase - getTimestampBoundCase() { - return TimestampBoundCase.forNumber( - timestampBoundCase_); + public TimestampBoundCase getTimestampBoundCase() { + return TimestampBoundCase.forNumber(timestampBoundCase_); } public static final int STRONG_FIELD_NUMBER = 1; /** + * + * *
      * Read at a timestamp where all previously committed transactions
      * are visible.
      * 
* * bool strong = 1; + * * @return Whether the strong field is set. */ @java.lang.Override @@ -1775,12 +1958,15 @@ public boolean hasStrong() { return timestampBoundCase_ == 1; } /** + * + * *
      * Read at a timestamp where all previously committed transactions
      * are visible.
      * 
* * bool strong = 1; + * * @return The strong. */ @java.lang.Override @@ -1793,6 +1979,8 @@ public boolean getStrong() { public static final int MIN_READ_TIMESTAMP_FIELD_NUMBER = 2; /** + * + * *
      * Executes all reads at a timestamp >= `min_read_timestamp`.
      * This is useful for requesting fresher data than some previous
@@ -1804,6 +1992,7 @@ public boolean getStrong() {
      * 
* * .google.protobuf.Timestamp min_read_timestamp = 2; + * * @return Whether the minReadTimestamp field is set. */ @java.lang.Override @@ -1811,6 +2000,8 @@ public boolean hasMinReadTimestamp() { return timestampBoundCase_ == 2; } /** + * + * *
      * Executes all reads at a timestamp >= `min_read_timestamp`.
      * This is useful for requesting fresher data than some previous
@@ -1822,16 +2013,19 @@ public boolean hasMinReadTimestamp() {
      * 
* * .google.protobuf.Timestamp min_read_timestamp = 2; + * * @return The minReadTimestamp. */ @java.lang.Override public com.google.protobuf.Timestamp getMinReadTimestamp() { if (timestampBoundCase_ == 2) { - return (com.google.protobuf.Timestamp) timestampBound_; + return (com.google.protobuf.Timestamp) timestampBound_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } /** + * + * *
      * Executes all reads at a timestamp >= `min_read_timestamp`.
      * This is useful for requesting fresher data than some previous
@@ -1847,13 +2041,15 @@ public com.google.protobuf.Timestamp getMinReadTimestamp() {
     @java.lang.Override
     public com.google.protobuf.TimestampOrBuilder getMinReadTimestampOrBuilder() {
       if (timestampBoundCase_ == 2) {
-         return (com.google.protobuf.Timestamp) timestampBound_;
+        return (com.google.protobuf.Timestamp) timestampBound_;
       }
       return com.google.protobuf.Timestamp.getDefaultInstance();
     }
 
     public static final int MAX_STALENESS_FIELD_NUMBER = 3;
     /**
+     *
+     *
      * 
      * Read data at a timestamp >= `NOW - max_staleness`
      * seconds. Guarantees that all writes that have committed more
@@ -1869,6 +2065,7 @@ public com.google.protobuf.TimestampOrBuilder getMinReadTimestampOrBuilder() {
      * 
* * .google.protobuf.Duration max_staleness = 3; + * * @return Whether the maxStaleness field is set. */ @java.lang.Override @@ -1876,6 +2073,8 @@ public boolean hasMaxStaleness() { return timestampBoundCase_ == 3; } /** + * + * *
      * Read data at a timestamp >= `NOW - max_staleness`
      * seconds. Guarantees that all writes that have committed more
@@ -1891,16 +2090,19 @@ public boolean hasMaxStaleness() {
      * 
* * .google.protobuf.Duration max_staleness = 3; + * * @return The maxStaleness. */ @java.lang.Override public com.google.protobuf.Duration getMaxStaleness() { if (timestampBoundCase_ == 3) { - return (com.google.protobuf.Duration) timestampBound_; + return (com.google.protobuf.Duration) timestampBound_; } return com.google.protobuf.Duration.getDefaultInstance(); } /** + * + * *
      * Read data at a timestamp >= `NOW - max_staleness`
      * seconds. Guarantees that all writes that have committed more
@@ -1920,13 +2122,15 @@ public com.google.protobuf.Duration getMaxStaleness() {
     @java.lang.Override
     public com.google.protobuf.DurationOrBuilder getMaxStalenessOrBuilder() {
       if (timestampBoundCase_ == 3) {
-         return (com.google.protobuf.Duration) timestampBound_;
+        return (com.google.protobuf.Duration) timestampBound_;
       }
       return com.google.protobuf.Duration.getDefaultInstance();
     }
 
     public static final int READ_TIMESTAMP_FIELD_NUMBER = 4;
     /**
+     *
+     *
      * 
      * Executes all reads at the given timestamp. Unlike other modes,
      * reads at a specific timestamp are repeatable; the same read at
@@ -1941,6 +2145,7 @@ public com.google.protobuf.DurationOrBuilder getMaxStalenessOrBuilder() {
      * 
* * .google.protobuf.Timestamp read_timestamp = 4; + * * @return Whether the readTimestamp field is set. */ @java.lang.Override @@ -1948,6 +2153,8 @@ public boolean hasReadTimestamp() { return timestampBoundCase_ == 4; } /** + * + * *
      * Executes all reads at the given timestamp. Unlike other modes,
      * reads at a specific timestamp are repeatable; the same read at
@@ -1962,16 +2169,19 @@ public boolean hasReadTimestamp() {
      * 
* * .google.protobuf.Timestamp read_timestamp = 4; + * * @return The readTimestamp. */ @java.lang.Override public com.google.protobuf.Timestamp getReadTimestamp() { if (timestampBoundCase_ == 4) { - return (com.google.protobuf.Timestamp) timestampBound_; + return (com.google.protobuf.Timestamp) timestampBound_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } /** + * + * *
      * Executes all reads at the given timestamp. Unlike other modes,
      * reads at a specific timestamp are repeatable; the same read at
@@ -1990,13 +2200,15 @@ public com.google.protobuf.Timestamp getReadTimestamp() {
     @java.lang.Override
     public com.google.protobuf.TimestampOrBuilder getReadTimestampOrBuilder() {
       if (timestampBoundCase_ == 4) {
-         return (com.google.protobuf.Timestamp) timestampBound_;
+        return (com.google.protobuf.Timestamp) timestampBound_;
       }
       return com.google.protobuf.Timestamp.getDefaultInstance();
     }
 
     public static final int EXACT_STALENESS_FIELD_NUMBER = 5;
     /**
+     *
+     *
      * 
      * Executes all reads at a timestamp that is `exact_staleness`
      * old. The timestamp is chosen soon after the read is started.
@@ -2010,6 +2222,7 @@ public com.google.protobuf.TimestampOrBuilder getReadTimestampOrBuilder() {
      * 
* * .google.protobuf.Duration exact_staleness = 5; + * * @return Whether the exactStaleness field is set. */ @java.lang.Override @@ -2017,6 +2230,8 @@ public boolean hasExactStaleness() { return timestampBoundCase_ == 5; } /** + * + * *
      * Executes all reads at a timestamp that is `exact_staleness`
      * old. The timestamp is chosen soon after the read is started.
@@ -2030,16 +2245,19 @@ public boolean hasExactStaleness() {
      * 
* * .google.protobuf.Duration exact_staleness = 5; + * * @return The exactStaleness. */ @java.lang.Override public com.google.protobuf.Duration getExactStaleness() { if (timestampBoundCase_ == 5) { - return (com.google.protobuf.Duration) timestampBound_; + return (com.google.protobuf.Duration) timestampBound_; } return com.google.protobuf.Duration.getDefaultInstance(); } /** + * + * *
      * Executes all reads at a timestamp that is `exact_staleness`
      * old. The timestamp is chosen soon after the read is started.
@@ -2057,7 +2275,7 @@ public com.google.protobuf.Duration getExactStaleness() {
     @java.lang.Override
     public com.google.protobuf.DurationOrBuilder getExactStalenessOrBuilder() {
       if (timestampBoundCase_ == 5) {
-         return (com.google.protobuf.Duration) timestampBound_;
+        return (com.google.protobuf.Duration) timestampBound_;
       }
       return com.google.protobuf.Duration.getDefaultInstance();
     }
@@ -2065,6 +2283,8 @@ public com.google.protobuf.DurationOrBuilder getExactStalenessOrBuilder() {
     public static final int RETURN_READ_TIMESTAMP_FIELD_NUMBER = 6;
     private boolean returnReadTimestamp_ = false;
     /**
+     *
+     *
      * 
      * If true, the Cloud Spanner-selected read timestamp is included in
      * the [Transaction][google.spanner.v1.Transaction] message that describes
@@ -2072,6 +2292,7 @@ public com.google.protobuf.DurationOrBuilder getExactStalenessOrBuilder() {
      * 
* * bool return_read_timestamp = 6; + * * @return The returnReadTimestamp. */ @java.lang.Override @@ -2080,6 +2301,7 @@ public boolean getReturnReadTimestamp() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2091,11 +2313,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 (timestampBoundCase_ == 1) { - output.writeBool( - 1, (boolean)((java.lang.Boolean) timestampBound_)); + output.writeBool(1, (boolean) ((java.lang.Boolean) timestampBound_)); } if (timestampBoundCase_ == 2) { output.writeMessage(2, (com.google.protobuf.Timestamp) timestampBound_); @@ -2122,29 +2342,32 @@ public int getSerializedSize() { size = 0; if (timestampBoundCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize( - 1, (boolean)((java.lang.Boolean) timestampBound_)); + size += + com.google.protobuf.CodedOutputStream.computeBoolSize( + 1, (boolean) ((java.lang.Boolean) timestampBound_)); } if (timestampBoundCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.protobuf.Timestamp) timestampBound_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.protobuf.Timestamp) timestampBound_); } if (timestampBoundCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.protobuf.Duration) timestampBound_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.protobuf.Duration) timestampBound_); } if (timestampBoundCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, (com.google.protobuf.Timestamp) timestampBound_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, (com.google.protobuf.Timestamp) timestampBound_); } if (timestampBoundCase_ == 5) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, (com.google.protobuf.Duration) timestampBound_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, (com.google.protobuf.Duration) timestampBound_); } if (returnReadTimestamp_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, returnReadTimestamp_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, returnReadTimestamp_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2154,36 +2377,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.spanner.v1.TransactionOptions.ReadOnly)) { return super.equals(obj); } - com.google.spanner.v1.TransactionOptions.ReadOnly other = (com.google.spanner.v1.TransactionOptions.ReadOnly) obj; + com.google.spanner.v1.TransactionOptions.ReadOnly other = + (com.google.spanner.v1.TransactionOptions.ReadOnly) obj; - if (getReturnReadTimestamp() - != other.getReturnReadTimestamp()) return false; + if (getReturnReadTimestamp() != other.getReturnReadTimestamp()) return false; if (!getTimestampBoundCase().equals(other.getTimestampBoundCase())) return false; switch (timestampBoundCase_) { case 1: - if (getStrong() - != other.getStrong()) return false; + if (getStrong() != other.getStrong()) return false; break; case 2: - if (!getMinReadTimestamp() - .equals(other.getMinReadTimestamp())) return false; + if (!getMinReadTimestamp().equals(other.getMinReadTimestamp())) return false; break; case 3: - if (!getMaxStaleness() - .equals(other.getMaxStaleness())) return false; + if (!getMaxStaleness().equals(other.getMaxStaleness())) return false; break; case 4: - if (!getReadTimestamp() - .equals(other.getReadTimestamp())) return false; + if (!getReadTimestamp().equals(other.getReadTimestamp())) return false; break; case 5: - if (!getExactStaleness() - .equals(other.getExactStaleness())) return false; + if (!getExactStaleness().equals(other.getExactStaleness())) return false; break; case 0: default: @@ -2200,13 +2418,11 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + RETURN_READ_TIMESTAMP_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getReturnReadTimestamp()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReturnReadTimestamp()); switch (timestampBoundCase_) { case 1: hash = (37 * hash) + STRONG_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getStrong()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getStrong()); break; case 2: hash = (37 * hash) + MIN_READ_TIMESTAMP_FIELD_NUMBER; @@ -2233,87 +2449,93 @@ public int hashCode() { } public static com.google.spanner.v1.TransactionOptions.ReadOnly parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.TransactionOptions.ReadOnly parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.v1.TransactionOptions.ReadOnly parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.TransactionOptions.ReadOnly parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.v1.TransactionOptions.ReadOnly parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.TransactionOptions.ReadOnly parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.TransactionOptions.ReadOnly parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.spanner.v1.TransactionOptions.ReadOnly parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.v1.TransactionOptions.ReadOnly parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.TransactionOptions.ReadOnly parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.spanner.v1.TransactionOptions.ReadOnly parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.spanner.v1.TransactionOptions.ReadOnly parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.spanner.v1.TransactionOptions.ReadOnly parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.v1.TransactionOptions.ReadOnly parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.spanner.v1.TransactionOptions.ReadOnly prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2323,39 +2545,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Message type to initiate a read-only transaction.
      * 
* * Protobuf type {@code google.spanner.v1.TransactionOptions.ReadOnly} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.spanner.v1.TransactionOptions.ReadOnly) com.google.spanner.v1.TransactionOptions.ReadOnlyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_TransactionOptions_ReadOnly_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.spanner.v1.TransactionProto + .internal_static_google_spanner_v1_TransactionOptions_ReadOnly_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_TransactionOptions_ReadOnly_fieldAccessorTable + return com.google.spanner.v1.TransactionProto + .internal_static_google_spanner_v1_TransactionOptions_ReadOnly_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.spanner.v1.TransactionOptions.ReadOnly.class, com.google.spanner.v1.TransactionOptions.ReadOnly.Builder.class); + com.google.spanner.v1.TransactionOptions.ReadOnly.class, + com.google.spanner.v1.TransactionOptions.ReadOnly.Builder.class); } // Construct using com.google.spanner.v1.TransactionOptions.ReadOnly.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -2379,9 +2603,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_TransactionOptions_ReadOnly_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.spanner.v1.TransactionProto + .internal_static_google_spanner_v1_TransactionOptions_ReadOnly_descriptor; } @java.lang.Override @@ -2400,8 +2624,11 @@ public com.google.spanner.v1.TransactionOptions.ReadOnly build() { @java.lang.Override public com.google.spanner.v1.TransactionOptions.ReadOnly buildPartial() { - com.google.spanner.v1.TransactionOptions.ReadOnly result = new com.google.spanner.v1.TransactionOptions.ReadOnly(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.spanner.v1.TransactionOptions.ReadOnly result = + new com.google.spanner.v1.TransactionOptions.ReadOnly(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -2417,20 +2644,16 @@ private void buildPartial0(com.google.spanner.v1.TransactionOptions.ReadOnly res private void buildPartialOneofs(com.google.spanner.v1.TransactionOptions.ReadOnly result) { result.timestampBoundCase_ = timestampBoundCase_; result.timestampBound_ = this.timestampBound_; - if (timestampBoundCase_ == 2 && - minReadTimestampBuilder_ != null) { + if (timestampBoundCase_ == 2 && minReadTimestampBuilder_ != null) { result.timestampBound_ = minReadTimestampBuilder_.build(); } - if (timestampBoundCase_ == 3 && - maxStalenessBuilder_ != null) { + if (timestampBoundCase_ == 3 && maxStalenessBuilder_ != null) { result.timestampBound_ = maxStalenessBuilder_.build(); } - if (timestampBoundCase_ == 4 && - readTimestampBuilder_ != null) { + if (timestampBoundCase_ == 4 && readTimestampBuilder_ != null) { result.timestampBound_ = readTimestampBuilder_.build(); } - if (timestampBoundCase_ == 5 && - exactStalenessBuilder_ != null) { + if (timestampBoundCase_ == 5 && exactStalenessBuilder_ != null) { result.timestampBound_ = exactStalenessBuilder_.build(); } } @@ -2439,38 +2662,41 @@ private void buildPartialOneofs(com.google.spanner.v1.TransactionOptions.ReadOnl public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.spanner.v1.TransactionOptions.ReadOnly) { - return mergeFrom((com.google.spanner.v1.TransactionOptions.ReadOnly)other); + return mergeFrom((com.google.spanner.v1.TransactionOptions.ReadOnly) other); } else { super.mergeFrom(other); return this; @@ -2478,34 +2704,41 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.spanner.v1.TransactionOptions.ReadOnly other) { - if (other == com.google.spanner.v1.TransactionOptions.ReadOnly.getDefaultInstance()) return this; + if (other == com.google.spanner.v1.TransactionOptions.ReadOnly.getDefaultInstance()) + return this; if (other.getReturnReadTimestamp() != false) { setReturnReadTimestamp(other.getReturnReadTimestamp()); } switch (other.getTimestampBoundCase()) { - case STRONG: { - setStrong(other.getStrong()); - break; - } - case MIN_READ_TIMESTAMP: { - mergeMinReadTimestamp(other.getMinReadTimestamp()); - break; - } - case MAX_STALENESS: { - mergeMaxStaleness(other.getMaxStaleness()); - break; - } - case READ_TIMESTAMP: { - mergeReadTimestamp(other.getReadTimestamp()); - break; - } - case EXACT_STALENESS: { - mergeExactStaleness(other.getExactStaleness()); - break; - } - case TIMESTAMPBOUND_NOT_SET: { - break; - } + case STRONG: + { + setStrong(other.getStrong()); + break; + } + case MIN_READ_TIMESTAMP: + { + mergeMinReadTimestamp(other.getMinReadTimestamp()); + break; + } + case MAX_STALENESS: + { + mergeMaxStaleness(other.getMaxStaleness()); + break; + } + case READ_TIMESTAMP: + { + mergeReadTimestamp(other.getReadTimestamp()); + break; + } + case EXACT_STALENESS: + { + mergeExactStaleness(other.getExactStaleness()); + break; + } + case TIMESTAMPBOUND_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -2533,50 +2766,51 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - timestampBound_ = input.readBool(); - timestampBoundCase_ = 1; - break; - } // case 8 - case 18: { - input.readMessage( - getMinReadTimestampFieldBuilder().getBuilder(), - extensionRegistry); - timestampBoundCase_ = 2; - break; - } // case 18 - case 26: { - input.readMessage( - getMaxStalenessFieldBuilder().getBuilder(), - extensionRegistry); - timestampBoundCase_ = 3; - break; - } // case 26 - case 34: { - input.readMessage( - getReadTimestampFieldBuilder().getBuilder(), - extensionRegistry); - timestampBoundCase_ = 4; - break; - } // case 34 - case 42: { - input.readMessage( - getExactStalenessFieldBuilder().getBuilder(), - extensionRegistry); - timestampBoundCase_ = 5; - break; - } // case 42 - case 48: { - returnReadTimestamp_ = input.readBool(); - bitField0_ |= 0x00000020; - break; - } // case 48 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + timestampBound_ = input.readBool(); + timestampBoundCase_ = 1; + break; + } // case 8 + case 18: + { + input.readMessage( + getMinReadTimestampFieldBuilder().getBuilder(), extensionRegistry); + timestampBoundCase_ = 2; + break; + } // case 18 + case 26: + { + input.readMessage(getMaxStalenessFieldBuilder().getBuilder(), extensionRegistry); + timestampBoundCase_ = 3; + break; + } // case 26 + case 34: + { + input.readMessage(getReadTimestampFieldBuilder().getBuilder(), extensionRegistry); + timestampBoundCase_ = 4; + break; + } // case 34 + case 42: + { + input.readMessage( + getExactStalenessFieldBuilder().getBuilder(), extensionRegistry); + timestampBoundCase_ = 5; + break; + } // case 42 + case 48: + { + returnReadTimestamp_ = input.readBool(); + bitField0_ |= 0x00000020; + break; + } // case 48 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2586,12 +2820,12 @@ public Builder mergeFrom( } // finally return this; } + private int timestampBoundCase_ = 0; private java.lang.Object timestampBound_; - public TimestampBoundCase - getTimestampBoundCase() { - return TimestampBoundCase.forNumber( - timestampBoundCase_); + + public TimestampBoundCase getTimestampBoundCase() { + return TimestampBoundCase.forNumber(timestampBoundCase_); } public Builder clearTimestampBound() { @@ -2604,24 +2838,30 @@ public Builder clearTimestampBound() { private int bitField0_; /** + * + * *
        * Read at a timestamp where all previously committed transactions
        * are visible.
        * 
* * bool strong = 1; + * * @return Whether the strong field is set. */ public boolean hasStrong() { return timestampBoundCase_ == 1; } /** + * + * *
        * Read at a timestamp where all previously committed transactions
        * are visible.
        * 
* * bool strong = 1; + * * @return The strong. */ public boolean getStrong() { @@ -2631,29 +2871,35 @@ public boolean getStrong() { return false; } /** + * + * *
        * Read at a timestamp where all previously committed transactions
        * are visible.
        * 
* * bool strong = 1; + * * @param value The strong to set. * @return This builder for chaining. */ public Builder setStrong(boolean value) { - + timestampBoundCase_ = 1; timestampBound_ = value; onChanged(); return this; } /** + * + * *
        * Read at a timestamp where all previously committed transactions
        * are visible.
        * 
* * bool strong = 1; + * * @return This builder for chaining. */ public Builder clearStrong() { @@ -2666,8 +2912,13 @@ public Builder clearStrong() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> minReadTimestampBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + minReadTimestampBuilder_; /** + * + * *
        * Executes all reads at a timestamp >= `min_read_timestamp`.
        * This is useful for requesting fresher data than some previous
@@ -2679,6 +2930,7 @@ public Builder clearStrong() {
        * 
* * .google.protobuf.Timestamp min_read_timestamp = 2; + * * @return Whether the minReadTimestamp field is set. */ @java.lang.Override @@ -2686,6 +2938,8 @@ public boolean hasMinReadTimestamp() { return timestampBoundCase_ == 2; } /** + * + * *
        * Executes all reads at a timestamp >= `min_read_timestamp`.
        * This is useful for requesting fresher data than some previous
@@ -2697,6 +2951,7 @@ public boolean hasMinReadTimestamp() {
        * 
* * .google.protobuf.Timestamp min_read_timestamp = 2; + * * @return The minReadTimestamp. */ @java.lang.Override @@ -2714,6 +2969,8 @@ public com.google.protobuf.Timestamp getMinReadTimestamp() { } } /** + * + * *
        * Executes all reads at a timestamp >= `min_read_timestamp`.
        * This is useful for requesting fresher data than some previous
@@ -2740,6 +2997,8 @@ public Builder setMinReadTimestamp(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Executes all reads at a timestamp >= `min_read_timestamp`.
        * This is useful for requesting fresher data than some previous
@@ -2752,8 +3011,7 @@ public Builder setMinReadTimestamp(com.google.protobuf.Timestamp value) {
        *
        * .google.protobuf.Timestamp min_read_timestamp = 2;
        */
-      public Builder setMinReadTimestamp(
-          com.google.protobuf.Timestamp.Builder builderForValue) {
+      public Builder setMinReadTimestamp(com.google.protobuf.Timestamp.Builder builderForValue) {
         if (minReadTimestampBuilder_ == null) {
           timestampBound_ = builderForValue.build();
           onChanged();
@@ -2764,6 +3022,8 @@ public Builder setMinReadTimestamp(
         return this;
       }
       /**
+       *
+       *
        * 
        * Executes all reads at a timestamp >= `min_read_timestamp`.
        * This is useful for requesting fresher data than some previous
@@ -2778,10 +3038,13 @@ public Builder setMinReadTimestamp(
        */
       public Builder mergeMinReadTimestamp(com.google.protobuf.Timestamp value) {
         if (minReadTimestampBuilder_ == null) {
-          if (timestampBoundCase_ == 2 &&
-              timestampBound_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
-            timestampBound_ = com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) timestampBound_)
-                .mergeFrom(value).buildPartial();
+          if (timestampBoundCase_ == 2
+              && timestampBound_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+            timestampBound_ =
+                com.google.protobuf.Timestamp.newBuilder(
+                        (com.google.protobuf.Timestamp) timestampBound_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             timestampBound_ = value;
           }
@@ -2797,6 +3060,8 @@ public Builder mergeMinReadTimestamp(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Executes all reads at a timestamp >= `min_read_timestamp`.
        * This is useful for requesting fresher data than some previous
@@ -2826,6 +3091,8 @@ public Builder clearMinReadTimestamp() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Executes all reads at a timestamp >= `min_read_timestamp`.
        * This is useful for requesting fresher data than some previous
@@ -2842,6 +3109,8 @@ public com.google.protobuf.Timestamp.Builder getMinReadTimestampBuilder() {
         return getMinReadTimestampFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Executes all reads at a timestamp >= `min_read_timestamp`.
        * This is useful for requesting fresher data than some previous
@@ -2866,6 +3135,8 @@ public com.google.protobuf.TimestampOrBuilder getMinReadTimestampOrBuilder() {
         }
       }
       /**
+       *
+       *
        * 
        * Executes all reads at a timestamp >= `min_read_timestamp`.
        * This is useful for requesting fresher data than some previous
@@ -2879,14 +3150,19 @@ public com.google.protobuf.TimestampOrBuilder getMinReadTimestampOrBuilder() {
        * .google.protobuf.Timestamp min_read_timestamp = 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>
           getMinReadTimestampFieldBuilder() {
         if (minReadTimestampBuilder_ == null) {
           if (!(timestampBoundCase_ == 2)) {
             timestampBound_ = com.google.protobuf.Timestamp.getDefaultInstance();
           }
-          minReadTimestampBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+          minReadTimestampBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.protobuf.Timestamp,
+                  com.google.protobuf.Timestamp.Builder,
+                  com.google.protobuf.TimestampOrBuilder>(
                   (com.google.protobuf.Timestamp) timestampBound_,
                   getParentForChildren(),
                   isClean());
@@ -2898,8 +3174,13 @@ public com.google.protobuf.TimestampOrBuilder getMinReadTimestampOrBuilder() {
       }
 
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> maxStalenessBuilder_;
+              com.google.protobuf.Duration,
+              com.google.protobuf.Duration.Builder,
+              com.google.protobuf.DurationOrBuilder>
+          maxStalenessBuilder_;
       /**
+       *
+       *
        * 
        * Read data at a timestamp >= `NOW - max_staleness`
        * seconds. Guarantees that all writes that have committed more
@@ -2915,6 +3196,7 @@ public com.google.protobuf.TimestampOrBuilder getMinReadTimestampOrBuilder() {
        * 
* * .google.protobuf.Duration max_staleness = 3; + * * @return Whether the maxStaleness field is set. */ @java.lang.Override @@ -2922,6 +3204,8 @@ public boolean hasMaxStaleness() { return timestampBoundCase_ == 3; } /** + * + * *
        * Read data at a timestamp >= `NOW - max_staleness`
        * seconds. Guarantees that all writes that have committed more
@@ -2937,6 +3221,7 @@ public boolean hasMaxStaleness() {
        * 
* * .google.protobuf.Duration max_staleness = 3; + * * @return The maxStaleness. */ @java.lang.Override @@ -2954,6 +3239,8 @@ public com.google.protobuf.Duration getMaxStaleness() { } } /** + * + * *
        * Read data at a timestamp >= `NOW - max_staleness`
        * seconds. Guarantees that all writes that have committed more
@@ -2984,6 +3271,8 @@ public Builder setMaxStaleness(com.google.protobuf.Duration value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Read data at a timestamp >= `NOW - max_staleness`
        * seconds. Guarantees that all writes that have committed more
@@ -3000,8 +3289,7 @@ public Builder setMaxStaleness(com.google.protobuf.Duration value) {
        *
        * .google.protobuf.Duration max_staleness = 3;
        */
-      public Builder setMaxStaleness(
-          com.google.protobuf.Duration.Builder builderForValue) {
+      public Builder setMaxStaleness(com.google.protobuf.Duration.Builder builderForValue) {
         if (maxStalenessBuilder_ == null) {
           timestampBound_ = builderForValue.build();
           onChanged();
@@ -3012,6 +3300,8 @@ public Builder setMaxStaleness(
         return this;
       }
       /**
+       *
+       *
        * 
        * Read data at a timestamp >= `NOW - max_staleness`
        * seconds. Guarantees that all writes that have committed more
@@ -3030,10 +3320,13 @@ public Builder setMaxStaleness(
        */
       public Builder mergeMaxStaleness(com.google.protobuf.Duration value) {
         if (maxStalenessBuilder_ == null) {
-          if (timestampBoundCase_ == 3 &&
-              timestampBound_ != com.google.protobuf.Duration.getDefaultInstance()) {
-            timestampBound_ = com.google.protobuf.Duration.newBuilder((com.google.protobuf.Duration) timestampBound_)
-                .mergeFrom(value).buildPartial();
+          if (timestampBoundCase_ == 3
+              && timestampBound_ != com.google.protobuf.Duration.getDefaultInstance()) {
+            timestampBound_ =
+                com.google.protobuf.Duration.newBuilder(
+                        (com.google.protobuf.Duration) timestampBound_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             timestampBound_ = value;
           }
@@ -3049,6 +3342,8 @@ public Builder mergeMaxStaleness(com.google.protobuf.Duration value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Read data at a timestamp >= `NOW - max_staleness`
        * seconds. Guarantees that all writes that have committed more
@@ -3082,6 +3377,8 @@ public Builder clearMaxStaleness() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Read data at a timestamp >= `NOW - max_staleness`
        * seconds. Guarantees that all writes that have committed more
@@ -3102,6 +3399,8 @@ public com.google.protobuf.Duration.Builder getMaxStalenessBuilder() {
         return getMaxStalenessFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Read data at a timestamp >= `NOW - max_staleness`
        * seconds. Guarantees that all writes that have committed more
@@ -3130,6 +3429,8 @@ public com.google.protobuf.DurationOrBuilder getMaxStalenessOrBuilder() {
         }
       }
       /**
+       *
+       *
        * 
        * Read data at a timestamp >= `NOW - max_staleness`
        * seconds. Guarantees that all writes that have committed more
@@ -3147,14 +3448,19 @@ public com.google.protobuf.DurationOrBuilder getMaxStalenessOrBuilder() {
        * .google.protobuf.Duration max_staleness = 3;
        */
       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>
           getMaxStalenessFieldBuilder() {
         if (maxStalenessBuilder_ == null) {
           if (!(timestampBoundCase_ == 3)) {
             timestampBound_ = com.google.protobuf.Duration.getDefaultInstance();
           }
-          maxStalenessBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+          maxStalenessBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.protobuf.Duration,
+                  com.google.protobuf.Duration.Builder,
+                  com.google.protobuf.DurationOrBuilder>(
                   (com.google.protobuf.Duration) timestampBound_,
                   getParentForChildren(),
                   isClean());
@@ -3166,8 +3472,13 @@ public com.google.protobuf.DurationOrBuilder getMaxStalenessOrBuilder() {
       }
 
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> readTimestampBuilder_;
+              com.google.protobuf.Timestamp,
+              com.google.protobuf.Timestamp.Builder,
+              com.google.protobuf.TimestampOrBuilder>
+          readTimestampBuilder_;
       /**
+       *
+       *
        * 
        * Executes all reads at the given timestamp. Unlike other modes,
        * reads at a specific timestamp are repeatable; the same read at
@@ -3182,6 +3493,7 @@ public com.google.protobuf.DurationOrBuilder getMaxStalenessOrBuilder() {
        * 
* * .google.protobuf.Timestamp read_timestamp = 4; + * * @return Whether the readTimestamp field is set. */ @java.lang.Override @@ -3189,6 +3501,8 @@ public boolean hasReadTimestamp() { return timestampBoundCase_ == 4; } /** + * + * *
        * Executes all reads at the given timestamp. Unlike other modes,
        * reads at a specific timestamp are repeatable; the same read at
@@ -3203,6 +3517,7 @@ public boolean hasReadTimestamp() {
        * 
* * .google.protobuf.Timestamp read_timestamp = 4; + * * @return The readTimestamp. */ @java.lang.Override @@ -3220,6 +3535,8 @@ public com.google.protobuf.Timestamp getReadTimestamp() { } } /** + * + * *
        * Executes all reads at the given timestamp. Unlike other modes,
        * reads at a specific timestamp are repeatable; the same read at
@@ -3249,6 +3566,8 @@ public Builder setReadTimestamp(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Executes all reads at the given timestamp. Unlike other modes,
        * reads at a specific timestamp are repeatable; the same read at
@@ -3264,8 +3583,7 @@ public Builder setReadTimestamp(com.google.protobuf.Timestamp value) {
        *
        * .google.protobuf.Timestamp read_timestamp = 4;
        */
-      public Builder setReadTimestamp(
-          com.google.protobuf.Timestamp.Builder builderForValue) {
+      public Builder setReadTimestamp(com.google.protobuf.Timestamp.Builder builderForValue) {
         if (readTimestampBuilder_ == null) {
           timestampBound_ = builderForValue.build();
           onChanged();
@@ -3276,6 +3594,8 @@ public Builder setReadTimestamp(
         return this;
       }
       /**
+       *
+       *
        * 
        * Executes all reads at the given timestamp. Unlike other modes,
        * reads at a specific timestamp are repeatable; the same read at
@@ -3293,10 +3613,13 @@ public Builder setReadTimestamp(
        */
       public Builder mergeReadTimestamp(com.google.protobuf.Timestamp value) {
         if (readTimestampBuilder_ == null) {
-          if (timestampBoundCase_ == 4 &&
-              timestampBound_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
-            timestampBound_ = com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) timestampBound_)
-                .mergeFrom(value).buildPartial();
+          if (timestampBoundCase_ == 4
+              && timestampBound_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+            timestampBound_ =
+                com.google.protobuf.Timestamp.newBuilder(
+                        (com.google.protobuf.Timestamp) timestampBound_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             timestampBound_ = value;
           }
@@ -3312,6 +3635,8 @@ public Builder mergeReadTimestamp(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Executes all reads at the given timestamp. Unlike other modes,
        * reads at a specific timestamp are repeatable; the same read at
@@ -3344,6 +3669,8 @@ public Builder clearReadTimestamp() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Executes all reads at the given timestamp. Unlike other modes,
        * reads at a specific timestamp are repeatable; the same read at
@@ -3363,6 +3690,8 @@ public com.google.protobuf.Timestamp.Builder getReadTimestampBuilder() {
         return getReadTimestampFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Executes all reads at the given timestamp. Unlike other modes,
        * reads at a specific timestamp are repeatable; the same read at
@@ -3390,6 +3719,8 @@ public com.google.protobuf.TimestampOrBuilder getReadTimestampOrBuilder() {
         }
       }
       /**
+       *
+       *
        * 
        * Executes all reads at the given timestamp. Unlike other modes,
        * reads at a specific timestamp are repeatable; the same read at
@@ -3406,14 +3737,19 @@ public com.google.protobuf.TimestampOrBuilder getReadTimestampOrBuilder() {
        * .google.protobuf.Timestamp read_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>
           getReadTimestampFieldBuilder() {
         if (readTimestampBuilder_ == null) {
           if (!(timestampBoundCase_ == 4)) {
             timestampBound_ = com.google.protobuf.Timestamp.getDefaultInstance();
           }
-          readTimestampBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+          readTimestampBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.protobuf.Timestamp,
+                  com.google.protobuf.Timestamp.Builder,
+                  com.google.protobuf.TimestampOrBuilder>(
                   (com.google.protobuf.Timestamp) timestampBound_,
                   getParentForChildren(),
                   isClean());
@@ -3425,8 +3761,13 @@ public com.google.protobuf.TimestampOrBuilder getReadTimestampOrBuilder() {
       }
 
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> exactStalenessBuilder_;
+              com.google.protobuf.Duration,
+              com.google.protobuf.Duration.Builder,
+              com.google.protobuf.DurationOrBuilder>
+          exactStalenessBuilder_;
       /**
+       *
+       *
        * 
        * Executes all reads at a timestamp that is `exact_staleness`
        * old. The timestamp is chosen soon after the read is started.
@@ -3440,6 +3781,7 @@ public com.google.protobuf.TimestampOrBuilder getReadTimestampOrBuilder() {
        * 
* * .google.protobuf.Duration exact_staleness = 5; + * * @return Whether the exactStaleness field is set. */ @java.lang.Override @@ -3447,6 +3789,8 @@ public boolean hasExactStaleness() { return timestampBoundCase_ == 5; } /** + * + * *
        * Executes all reads at a timestamp that is `exact_staleness`
        * old. The timestamp is chosen soon after the read is started.
@@ -3460,6 +3804,7 @@ public boolean hasExactStaleness() {
        * 
* * .google.protobuf.Duration exact_staleness = 5; + * * @return The exactStaleness. */ @java.lang.Override @@ -3477,6 +3822,8 @@ public com.google.protobuf.Duration getExactStaleness() { } } /** + * + * *
        * Executes all reads at a timestamp that is `exact_staleness`
        * old. The timestamp is chosen soon after the read is started.
@@ -3505,6 +3852,8 @@ public Builder setExactStaleness(com.google.protobuf.Duration value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Executes all reads at a timestamp that is `exact_staleness`
        * old. The timestamp is chosen soon after the read is started.
@@ -3519,8 +3868,7 @@ public Builder setExactStaleness(com.google.protobuf.Duration value) {
        *
        * .google.protobuf.Duration exact_staleness = 5;
        */
-      public Builder setExactStaleness(
-          com.google.protobuf.Duration.Builder builderForValue) {
+      public Builder setExactStaleness(com.google.protobuf.Duration.Builder builderForValue) {
         if (exactStalenessBuilder_ == null) {
           timestampBound_ = builderForValue.build();
           onChanged();
@@ -3531,6 +3879,8 @@ public Builder setExactStaleness(
         return this;
       }
       /**
+       *
+       *
        * 
        * Executes all reads at a timestamp that is `exact_staleness`
        * old. The timestamp is chosen soon after the read is started.
@@ -3547,10 +3897,13 @@ public Builder setExactStaleness(
        */
       public Builder mergeExactStaleness(com.google.protobuf.Duration value) {
         if (exactStalenessBuilder_ == null) {
-          if (timestampBoundCase_ == 5 &&
-              timestampBound_ != com.google.protobuf.Duration.getDefaultInstance()) {
-            timestampBound_ = com.google.protobuf.Duration.newBuilder((com.google.protobuf.Duration) timestampBound_)
-                .mergeFrom(value).buildPartial();
+          if (timestampBoundCase_ == 5
+              && timestampBound_ != com.google.protobuf.Duration.getDefaultInstance()) {
+            timestampBound_ =
+                com.google.protobuf.Duration.newBuilder(
+                        (com.google.protobuf.Duration) timestampBound_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             timestampBound_ = value;
           }
@@ -3566,6 +3919,8 @@ public Builder mergeExactStaleness(com.google.protobuf.Duration value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Executes all reads at a timestamp that is `exact_staleness`
        * old. The timestamp is chosen soon after the read is started.
@@ -3597,6 +3952,8 @@ public Builder clearExactStaleness() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Executes all reads at a timestamp that is `exact_staleness`
        * old. The timestamp is chosen soon after the read is started.
@@ -3615,6 +3972,8 @@ public com.google.protobuf.Duration.Builder getExactStalenessBuilder() {
         return getExactStalenessFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Executes all reads at a timestamp that is `exact_staleness`
        * old. The timestamp is chosen soon after the read is started.
@@ -3641,6 +4000,8 @@ public com.google.protobuf.DurationOrBuilder getExactStalenessOrBuilder() {
         }
       }
       /**
+       *
+       *
        * 
        * Executes all reads at a timestamp that is `exact_staleness`
        * old. The timestamp is chosen soon after the read is started.
@@ -3656,14 +4017,19 @@ public com.google.protobuf.DurationOrBuilder getExactStalenessOrBuilder() {
        * .google.protobuf.Duration exact_staleness = 5;
        */
       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>
           getExactStalenessFieldBuilder() {
         if (exactStalenessBuilder_ == null) {
           if (!(timestampBoundCase_ == 5)) {
             timestampBound_ = com.google.protobuf.Duration.getDefaultInstance();
           }
-          exactStalenessBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+          exactStalenessBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.protobuf.Duration,
+                  com.google.protobuf.Duration.Builder,
+                  com.google.protobuf.DurationOrBuilder>(
                   (com.google.protobuf.Duration) timestampBound_,
                   getParentForChildren(),
                   isClean());
@@ -3674,8 +4040,10 @@ public com.google.protobuf.DurationOrBuilder getExactStalenessOrBuilder() {
         return exactStalenessBuilder_;
       }
 
-      private boolean returnReadTimestamp_ ;
+      private boolean returnReadTimestamp_;
       /**
+       *
+       *
        * 
        * If true, the Cloud Spanner-selected read timestamp is included in
        * the [Transaction][google.spanner.v1.Transaction] message that describes
@@ -3683,6 +4051,7 @@ public com.google.protobuf.DurationOrBuilder getExactStalenessOrBuilder() {
        * 
* * bool return_read_timestamp = 6; + * * @return The returnReadTimestamp. */ @java.lang.Override @@ -3690,6 +4059,8 @@ public boolean getReturnReadTimestamp() { return returnReadTimestamp_; } /** + * + * *
        * If true, the Cloud Spanner-selected read timestamp is included in
        * the [Transaction][google.spanner.v1.Transaction] message that describes
@@ -3697,17 +4068,20 @@ public boolean getReturnReadTimestamp() {
        * 
* * bool return_read_timestamp = 6; + * * @param value The returnReadTimestamp to set. * @return This builder for chaining. */ public Builder setReturnReadTimestamp(boolean value) { - + returnReadTimestamp_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
        * If true, the Cloud Spanner-selected read timestamp is included in
        * the [Transaction][google.spanner.v1.Transaction] message that describes
@@ -3715,6 +4089,7 @@ public Builder setReturnReadTimestamp(boolean value) {
        * 
* * bool return_read_timestamp = 6; + * * @return This builder for chaining. */ public Builder clearReturnReadTimestamp() { @@ -3723,6 +4098,7 @@ public Builder clearReturnReadTimestamp() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3735,12 +4111,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.v1.TransactionOptions.ReadOnly) } // @@protoc_insertion_point(class_scope:google.spanner.v1.TransactionOptions.ReadOnly) private static final com.google.spanner.v1.TransactionOptions.ReadOnly DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.v1.TransactionOptions.ReadOnly(); } @@ -3749,27 +4125,28 @@ public static com.google.spanner.v1.TransactionOptions.ReadOnly getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReadOnly parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReadOnly parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3784,19 +4161,21 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.TransactionOptions.ReadOnly getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int modeCase_ = 0; private java.lang.Object mode_; + public enum ModeCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { READ_WRITE(1), PARTITIONED_DML(3), READ_ONLY(2), MODE_NOT_SET(0); private final int value; + private ModeCase(int value) { this.value = value; } @@ -3812,26 +4191,32 @@ public static ModeCase valueOf(int value) { public static ModeCase forNumber(int value) { switch (value) { - case 1: return READ_WRITE; - case 3: return PARTITIONED_DML; - case 2: return READ_ONLY; - case 0: return MODE_NOT_SET; - default: return null; + case 1: + return READ_WRITE; + case 3: + return PARTITIONED_DML; + case 2: + return READ_ONLY; + case 0: + return MODE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public ModeCase - getModeCase() { - return ModeCase.forNumber( - modeCase_); + public ModeCase getModeCase() { + return ModeCase.forNumber(modeCase_); } public static final int READ_WRITE_FIELD_NUMBER = 1; /** + * + * *
    * Transaction may write.
    * Authorization to begin a read-write transaction requires
@@ -3840,6 +4225,7 @@ public int getNumber() {
    * 
* * .google.spanner.v1.TransactionOptions.ReadWrite read_write = 1; + * * @return Whether the readWrite field is set. */ @java.lang.Override @@ -3847,6 +4233,8 @@ public boolean hasReadWrite() { return modeCase_ == 1; } /** + * + * *
    * Transaction may write.
    * Authorization to begin a read-write transaction requires
@@ -3855,16 +4243,19 @@ public boolean hasReadWrite() {
    * 
* * .google.spanner.v1.TransactionOptions.ReadWrite read_write = 1; + * * @return The readWrite. */ @java.lang.Override public com.google.spanner.v1.TransactionOptions.ReadWrite getReadWrite() { if (modeCase_ == 1) { - return (com.google.spanner.v1.TransactionOptions.ReadWrite) mode_; + return (com.google.spanner.v1.TransactionOptions.ReadWrite) mode_; } return com.google.spanner.v1.TransactionOptions.ReadWrite.getDefaultInstance(); } /** + * + * *
    * Transaction may write.
    * Authorization to begin a read-write transaction requires
@@ -3877,13 +4268,15 @@ public com.google.spanner.v1.TransactionOptions.ReadWrite getReadWrite() {
   @java.lang.Override
   public com.google.spanner.v1.TransactionOptions.ReadWriteOrBuilder getReadWriteOrBuilder() {
     if (modeCase_ == 1) {
-       return (com.google.spanner.v1.TransactionOptions.ReadWrite) mode_;
+      return (com.google.spanner.v1.TransactionOptions.ReadWrite) mode_;
     }
     return com.google.spanner.v1.TransactionOptions.ReadWrite.getDefaultInstance();
   }
 
   public static final int PARTITIONED_DML_FIELD_NUMBER = 3;
   /**
+   *
+   *
    * 
    * Partitioned DML transaction.
    * Authorization to begin a Partitioned DML transaction requires
@@ -3892,6 +4285,7 @@ public com.google.spanner.v1.TransactionOptions.ReadWriteOrBuilder getReadWriteO
    * 
* * .google.spanner.v1.TransactionOptions.PartitionedDml partitioned_dml = 3; + * * @return Whether the partitionedDml field is set. */ @java.lang.Override @@ -3899,6 +4293,8 @@ public boolean hasPartitionedDml() { return modeCase_ == 3; } /** + * + * *
    * Partitioned DML transaction.
    * Authorization to begin a Partitioned DML transaction requires
@@ -3907,16 +4303,19 @@ public boolean hasPartitionedDml() {
    * 
* * .google.spanner.v1.TransactionOptions.PartitionedDml partitioned_dml = 3; + * * @return The partitionedDml. */ @java.lang.Override public com.google.spanner.v1.TransactionOptions.PartitionedDml getPartitionedDml() { if (modeCase_ == 3) { - return (com.google.spanner.v1.TransactionOptions.PartitionedDml) mode_; + return (com.google.spanner.v1.TransactionOptions.PartitionedDml) mode_; } return com.google.spanner.v1.TransactionOptions.PartitionedDml.getDefaultInstance(); } /** + * + * *
    * Partitioned DML transaction.
    * Authorization to begin a Partitioned DML transaction requires
@@ -3927,15 +4326,18 @@ public com.google.spanner.v1.TransactionOptions.PartitionedDml getPartitionedDml
    * .google.spanner.v1.TransactionOptions.PartitionedDml partitioned_dml = 3;
    */
   @java.lang.Override
-  public com.google.spanner.v1.TransactionOptions.PartitionedDmlOrBuilder getPartitionedDmlOrBuilder() {
+  public com.google.spanner.v1.TransactionOptions.PartitionedDmlOrBuilder
+      getPartitionedDmlOrBuilder() {
     if (modeCase_ == 3) {
-       return (com.google.spanner.v1.TransactionOptions.PartitionedDml) mode_;
+      return (com.google.spanner.v1.TransactionOptions.PartitionedDml) mode_;
     }
     return com.google.spanner.v1.TransactionOptions.PartitionedDml.getDefaultInstance();
   }
 
   public static final int READ_ONLY_FIELD_NUMBER = 2;
   /**
+   *
+   *
    * 
    * Transaction will not write.
    * Authorization to begin a read-only transaction requires
@@ -3944,6 +4346,7 @@ public com.google.spanner.v1.TransactionOptions.PartitionedDmlOrBuilder getParti
    * 
* * .google.spanner.v1.TransactionOptions.ReadOnly read_only = 2; + * * @return Whether the readOnly field is set. */ @java.lang.Override @@ -3951,6 +4354,8 @@ public boolean hasReadOnly() { return modeCase_ == 2; } /** + * + * *
    * Transaction will not write.
    * Authorization to begin a read-only transaction requires
@@ -3959,16 +4364,19 @@ public boolean hasReadOnly() {
    * 
* * .google.spanner.v1.TransactionOptions.ReadOnly read_only = 2; + * * @return The readOnly. */ @java.lang.Override public com.google.spanner.v1.TransactionOptions.ReadOnly getReadOnly() { if (modeCase_ == 2) { - return (com.google.spanner.v1.TransactionOptions.ReadOnly) mode_; + return (com.google.spanner.v1.TransactionOptions.ReadOnly) mode_; } return com.google.spanner.v1.TransactionOptions.ReadOnly.getDefaultInstance(); } /** + * + * *
    * Transaction will not write.
    * Authorization to begin a read-only transaction requires
@@ -3981,12 +4389,13 @@ public com.google.spanner.v1.TransactionOptions.ReadOnly getReadOnly() {
   @java.lang.Override
   public com.google.spanner.v1.TransactionOptions.ReadOnlyOrBuilder getReadOnlyOrBuilder() {
     if (modeCase_ == 2) {
-       return (com.google.spanner.v1.TransactionOptions.ReadOnly) mode_;
+      return (com.google.spanner.v1.TransactionOptions.ReadOnly) mode_;
     }
     return com.google.spanner.v1.TransactionOptions.ReadOnly.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -3998,8 +4407,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 (modeCase_ == 1) {
       output.writeMessage(1, (com.google.spanner.v1.TransactionOptions.ReadWrite) mode_);
     }
@@ -4019,16 +4427,19 @@ public int getSerializedSize() {
 
     size = 0;
     if (modeCase_ == 1) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, (com.google.spanner.v1.TransactionOptions.ReadWrite) mode_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              1, (com.google.spanner.v1.TransactionOptions.ReadWrite) mode_);
     }
     if (modeCase_ == 2) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, (com.google.spanner.v1.TransactionOptions.ReadOnly) mode_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              2, (com.google.spanner.v1.TransactionOptions.ReadOnly) mode_);
     }
     if (modeCase_ == 3) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, (com.google.spanner.v1.TransactionOptions.PartitionedDml) mode_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              3, (com.google.spanner.v1.TransactionOptions.PartitionedDml) mode_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -4038,7 +4449,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.spanner.v1.TransactionOptions)) {
       return super.equals(obj);
@@ -4048,16 +4459,13 @@ public boolean equals(final java.lang.Object obj) {
     if (!getModeCase().equals(other.getModeCase())) return false;
     switch (modeCase_) {
       case 1:
-        if (!getReadWrite()
-            .equals(other.getReadWrite())) return false;
+        if (!getReadWrite().equals(other.getReadWrite())) return false;
         break;
       case 3:
-        if (!getPartitionedDml()
-            .equals(other.getPartitionedDml())) return false;
+        if (!getPartitionedDml().equals(other.getPartitionedDml())) return false;
         break;
       case 2:
-        if (!getReadOnly()
-            .equals(other.getReadOnly())) return false;
+        if (!getReadOnly().equals(other.getReadOnly())) return false;
         break;
       case 0:
       default:
@@ -4094,97 +4502,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.spanner.v1.TransactionOptions parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.spanner.v1.TransactionOptions parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.spanner.v1.TransactionOptions parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.spanner.v1.TransactionOptions parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.spanner.v1.TransactionOptions parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.spanner.v1.TransactionOptions parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.spanner.v1.TransactionOptions parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.spanner.v1.TransactionOptions parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.spanner.v1.TransactionOptions parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.spanner.v1.TransactionOptions parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.spanner.v1.TransactionOptions parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.spanner.v1.TransactionOptions parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.spanner.v1.TransactionOptions parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.spanner.v1.TransactionOptions parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.spanner.v1.TransactionOptions prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Transactions:
    * Each session can have at most one active transaction at a time (note that
@@ -4445,33 +4860,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.spanner.v1.TransactionOptions}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.spanner.v1.TransactionOptions)
       com.google.spanner.v1.TransactionOptionsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_TransactionOptions_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.spanner.v1.TransactionProto
+          .internal_static_google_spanner_v1_TransactionOptions_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_TransactionOptions_fieldAccessorTable
+      return com.google.spanner.v1.TransactionProto
+          .internal_static_google_spanner_v1_TransactionOptions_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.v1.TransactionOptions.class, com.google.spanner.v1.TransactionOptions.Builder.class);
+              com.google.spanner.v1.TransactionOptions.class,
+              com.google.spanner.v1.TransactionOptions.Builder.class);
     }
 
     // Construct using com.google.spanner.v1.TransactionOptions.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -4491,9 +4905,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_TransactionOptions_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.spanner.v1.TransactionProto
+          .internal_static_google_spanner_v1_TransactionOptions_descriptor;
     }
 
     @java.lang.Override
@@ -4512,8 +4926,11 @@ public com.google.spanner.v1.TransactionOptions build() {
 
     @java.lang.Override
     public com.google.spanner.v1.TransactionOptions buildPartial() {
-      com.google.spanner.v1.TransactionOptions result = new com.google.spanner.v1.TransactionOptions(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.spanner.v1.TransactionOptions result =
+          new com.google.spanner.v1.TransactionOptions(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -4526,16 +4943,13 @@ private void buildPartial0(com.google.spanner.v1.TransactionOptions result) {
     private void buildPartialOneofs(com.google.spanner.v1.TransactionOptions result) {
       result.modeCase_ = modeCase_;
       result.mode_ = this.mode_;
-      if (modeCase_ == 1 &&
-          readWriteBuilder_ != null) {
+      if (modeCase_ == 1 && readWriteBuilder_ != null) {
         result.mode_ = readWriteBuilder_.build();
       }
-      if (modeCase_ == 3 &&
-          partitionedDmlBuilder_ != null) {
+      if (modeCase_ == 3 && partitionedDmlBuilder_ != null) {
         result.mode_ = partitionedDmlBuilder_.build();
       }
-      if (modeCase_ == 2 &&
-          readOnlyBuilder_ != null) {
+      if (modeCase_ == 2 && readOnlyBuilder_ != null) {
         result.mode_ = readOnlyBuilder_.build();
       }
     }
@@ -4544,38 +4958,39 @@ private void buildPartialOneofs(com.google.spanner.v1.TransactionOptions 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.spanner.v1.TransactionOptions) {
-        return mergeFrom((com.google.spanner.v1.TransactionOptions)other);
+        return mergeFrom((com.google.spanner.v1.TransactionOptions) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -4585,21 +5000,25 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     public Builder mergeFrom(com.google.spanner.v1.TransactionOptions other) {
       if (other == com.google.spanner.v1.TransactionOptions.getDefaultInstance()) return this;
       switch (other.getModeCase()) {
-        case READ_WRITE: {
-          mergeReadWrite(other.getReadWrite());
-          break;
-        }
-        case PARTITIONED_DML: {
-          mergePartitionedDml(other.getPartitionedDml());
-          break;
-        }
-        case READ_ONLY: {
-          mergeReadOnly(other.getReadOnly());
-          break;
-        }
-        case MODE_NOT_SET: {
-          break;
-        }
+        case READ_WRITE:
+          {
+            mergeReadWrite(other.getReadWrite());
+            break;
+          }
+        case PARTITIONED_DML:
+          {
+            mergePartitionedDml(other.getPartitionedDml());
+            break;
+          }
+        case READ_ONLY:
+          {
+            mergeReadOnly(other.getReadOnly());
+            break;
+          }
+        case MODE_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -4627,33 +5046,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getReadWriteFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              modeCase_ = 1;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getReadOnlyFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              modeCase_ = 2;
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getPartitionedDmlFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              modeCase_ = 3;
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getReadWriteFieldBuilder().getBuilder(), extensionRegistry);
+                modeCase_ = 1;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getReadOnlyFieldBuilder().getBuilder(), extensionRegistry);
+                modeCase_ = 2;
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getPartitionedDmlFieldBuilder().getBuilder(), extensionRegistry);
+                modeCase_ = 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) {
@@ -4663,12 +5080,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int modeCase_ = 0;
     private java.lang.Object mode_;
-    public ModeCase
-        getModeCase() {
-      return ModeCase.forNumber(
-          modeCase_);
+
+    public ModeCase getModeCase() {
+      return ModeCase.forNumber(modeCase_);
     }
 
     public Builder clearMode() {
@@ -4681,8 +5098,13 @@ public Builder clearMode() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.spanner.v1.TransactionOptions.ReadWrite, com.google.spanner.v1.TransactionOptions.ReadWrite.Builder, com.google.spanner.v1.TransactionOptions.ReadWriteOrBuilder> readWriteBuilder_;
+            com.google.spanner.v1.TransactionOptions.ReadWrite,
+            com.google.spanner.v1.TransactionOptions.ReadWrite.Builder,
+            com.google.spanner.v1.TransactionOptions.ReadWriteOrBuilder>
+        readWriteBuilder_;
     /**
+     *
+     *
      * 
      * Transaction may write.
      * Authorization to begin a read-write transaction requires
@@ -4691,6 +5113,7 @@ public Builder clearMode() {
      * 
* * .google.spanner.v1.TransactionOptions.ReadWrite read_write = 1; + * * @return Whether the readWrite field is set. */ @java.lang.Override @@ -4698,6 +5121,8 @@ public boolean hasReadWrite() { return modeCase_ == 1; } /** + * + * *
      * Transaction may write.
      * Authorization to begin a read-write transaction requires
@@ -4706,6 +5131,7 @@ public boolean hasReadWrite() {
      * 
* * .google.spanner.v1.TransactionOptions.ReadWrite read_write = 1; + * * @return The readWrite. */ @java.lang.Override @@ -4723,6 +5149,8 @@ public com.google.spanner.v1.TransactionOptions.ReadWrite getReadWrite() { } } /** + * + * *
      * Transaction may write.
      * Authorization to begin a read-write transaction requires
@@ -4746,6 +5174,8 @@ public Builder setReadWrite(com.google.spanner.v1.TransactionOptions.ReadWrite v
       return this;
     }
     /**
+     *
+     *
      * 
      * Transaction may write.
      * Authorization to begin a read-write transaction requires
@@ -4767,6 +5197,8 @@ public Builder setReadWrite(
       return this;
     }
     /**
+     *
+     *
      * 
      * Transaction may write.
      * Authorization to begin a read-write transaction requires
@@ -4778,10 +5210,13 @@ public Builder setReadWrite(
      */
     public Builder mergeReadWrite(com.google.spanner.v1.TransactionOptions.ReadWrite value) {
       if (readWriteBuilder_ == null) {
-        if (modeCase_ == 1 &&
-            mode_ != com.google.spanner.v1.TransactionOptions.ReadWrite.getDefaultInstance()) {
-          mode_ = com.google.spanner.v1.TransactionOptions.ReadWrite.newBuilder((com.google.spanner.v1.TransactionOptions.ReadWrite) mode_)
-              .mergeFrom(value).buildPartial();
+        if (modeCase_ == 1
+            && mode_ != com.google.spanner.v1.TransactionOptions.ReadWrite.getDefaultInstance()) {
+          mode_ =
+              com.google.spanner.v1.TransactionOptions.ReadWrite.newBuilder(
+                      (com.google.spanner.v1.TransactionOptions.ReadWrite) mode_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           mode_ = value;
         }
@@ -4797,6 +5232,8 @@ public Builder mergeReadWrite(com.google.spanner.v1.TransactionOptions.ReadWrite
       return this;
     }
     /**
+     *
+     *
      * 
      * Transaction may write.
      * Authorization to begin a read-write transaction requires
@@ -4823,6 +5260,8 @@ public Builder clearReadWrite() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Transaction may write.
      * Authorization to begin a read-write transaction requires
@@ -4836,6 +5275,8 @@ public com.google.spanner.v1.TransactionOptions.ReadWrite.Builder getReadWriteBu
       return getReadWriteFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Transaction may write.
      * Authorization to begin a read-write transaction requires
@@ -4857,6 +5298,8 @@ public com.google.spanner.v1.TransactionOptions.ReadWriteOrBuilder getReadWriteO
       }
     }
     /**
+     *
+     *
      * 
      * Transaction may write.
      * Authorization to begin a read-write transaction requires
@@ -4867,14 +5310,19 @@ public com.google.spanner.v1.TransactionOptions.ReadWriteOrBuilder getReadWriteO
      * .google.spanner.v1.TransactionOptions.ReadWrite read_write = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.spanner.v1.TransactionOptions.ReadWrite, com.google.spanner.v1.TransactionOptions.ReadWrite.Builder, com.google.spanner.v1.TransactionOptions.ReadWriteOrBuilder> 
+            com.google.spanner.v1.TransactionOptions.ReadWrite,
+            com.google.spanner.v1.TransactionOptions.ReadWrite.Builder,
+            com.google.spanner.v1.TransactionOptions.ReadWriteOrBuilder>
         getReadWriteFieldBuilder() {
       if (readWriteBuilder_ == null) {
         if (!(modeCase_ == 1)) {
           mode_ = com.google.spanner.v1.TransactionOptions.ReadWrite.getDefaultInstance();
         }
-        readWriteBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.TransactionOptions.ReadWrite, com.google.spanner.v1.TransactionOptions.ReadWrite.Builder, com.google.spanner.v1.TransactionOptions.ReadWriteOrBuilder>(
+        readWriteBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.spanner.v1.TransactionOptions.ReadWrite,
+                com.google.spanner.v1.TransactionOptions.ReadWrite.Builder,
+                com.google.spanner.v1.TransactionOptions.ReadWriteOrBuilder>(
                 (com.google.spanner.v1.TransactionOptions.ReadWrite) mode_,
                 getParentForChildren(),
                 isClean());
@@ -4886,8 +5334,13 @@ public com.google.spanner.v1.TransactionOptions.ReadWriteOrBuilder getReadWriteO
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.spanner.v1.TransactionOptions.PartitionedDml, com.google.spanner.v1.TransactionOptions.PartitionedDml.Builder, com.google.spanner.v1.TransactionOptions.PartitionedDmlOrBuilder> partitionedDmlBuilder_;
+            com.google.spanner.v1.TransactionOptions.PartitionedDml,
+            com.google.spanner.v1.TransactionOptions.PartitionedDml.Builder,
+            com.google.spanner.v1.TransactionOptions.PartitionedDmlOrBuilder>
+        partitionedDmlBuilder_;
     /**
+     *
+     *
      * 
      * Partitioned DML transaction.
      * Authorization to begin a Partitioned DML transaction requires
@@ -4896,6 +5349,7 @@ public com.google.spanner.v1.TransactionOptions.ReadWriteOrBuilder getReadWriteO
      * 
* * .google.spanner.v1.TransactionOptions.PartitionedDml partitioned_dml = 3; + * * @return Whether the partitionedDml field is set. */ @java.lang.Override @@ -4903,6 +5357,8 @@ public boolean hasPartitionedDml() { return modeCase_ == 3; } /** + * + * *
      * Partitioned DML transaction.
      * Authorization to begin a Partitioned DML transaction requires
@@ -4911,6 +5367,7 @@ public boolean hasPartitionedDml() {
      * 
* * .google.spanner.v1.TransactionOptions.PartitionedDml partitioned_dml = 3; + * * @return The partitionedDml. */ @java.lang.Override @@ -4928,6 +5385,8 @@ public com.google.spanner.v1.TransactionOptions.PartitionedDml getPartitionedDml } } /** + * + * *
      * Partitioned DML transaction.
      * Authorization to begin a Partitioned DML transaction requires
@@ -4937,7 +5396,8 @@ public com.google.spanner.v1.TransactionOptions.PartitionedDml getPartitionedDml
      *
      * .google.spanner.v1.TransactionOptions.PartitionedDml partitioned_dml = 3;
      */
-    public Builder setPartitionedDml(com.google.spanner.v1.TransactionOptions.PartitionedDml value) {
+    public Builder setPartitionedDml(
+        com.google.spanner.v1.TransactionOptions.PartitionedDml value) {
       if (partitionedDmlBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -4951,6 +5411,8 @@ public Builder setPartitionedDml(com.google.spanner.v1.TransactionOptions.Partit
       return this;
     }
     /**
+     *
+     *
      * 
      * Partitioned DML transaction.
      * Authorization to begin a Partitioned DML transaction requires
@@ -4972,6 +5434,8 @@ public Builder setPartitionedDml(
       return this;
     }
     /**
+     *
+     *
      * 
      * Partitioned DML transaction.
      * Authorization to begin a Partitioned DML transaction requires
@@ -4981,12 +5445,17 @@ public Builder setPartitionedDml(
      *
      * .google.spanner.v1.TransactionOptions.PartitionedDml partitioned_dml = 3;
      */
-    public Builder mergePartitionedDml(com.google.spanner.v1.TransactionOptions.PartitionedDml value) {
+    public Builder mergePartitionedDml(
+        com.google.spanner.v1.TransactionOptions.PartitionedDml value) {
       if (partitionedDmlBuilder_ == null) {
-        if (modeCase_ == 3 &&
-            mode_ != com.google.spanner.v1.TransactionOptions.PartitionedDml.getDefaultInstance()) {
-          mode_ = com.google.spanner.v1.TransactionOptions.PartitionedDml.newBuilder((com.google.spanner.v1.TransactionOptions.PartitionedDml) mode_)
-              .mergeFrom(value).buildPartial();
+        if (modeCase_ == 3
+            && mode_
+                != com.google.spanner.v1.TransactionOptions.PartitionedDml.getDefaultInstance()) {
+          mode_ =
+              com.google.spanner.v1.TransactionOptions.PartitionedDml.newBuilder(
+                      (com.google.spanner.v1.TransactionOptions.PartitionedDml) mode_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           mode_ = value;
         }
@@ -5002,6 +5471,8 @@ public Builder mergePartitionedDml(com.google.spanner.v1.TransactionOptions.Part
       return this;
     }
     /**
+     *
+     *
      * 
      * Partitioned DML transaction.
      * Authorization to begin a Partitioned DML transaction requires
@@ -5028,6 +5499,8 @@ public Builder clearPartitionedDml() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Partitioned DML transaction.
      * Authorization to begin a Partitioned DML transaction requires
@@ -5037,10 +5510,13 @@ public Builder clearPartitionedDml() {
      *
      * .google.spanner.v1.TransactionOptions.PartitionedDml partitioned_dml = 3;
      */
-    public com.google.spanner.v1.TransactionOptions.PartitionedDml.Builder getPartitionedDmlBuilder() {
+    public com.google.spanner.v1.TransactionOptions.PartitionedDml.Builder
+        getPartitionedDmlBuilder() {
       return getPartitionedDmlFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Partitioned DML transaction.
      * Authorization to begin a Partitioned DML transaction requires
@@ -5051,7 +5527,8 @@ public com.google.spanner.v1.TransactionOptions.PartitionedDml.Builder getPartit
      * .google.spanner.v1.TransactionOptions.PartitionedDml partitioned_dml = 3;
      */
     @java.lang.Override
-    public com.google.spanner.v1.TransactionOptions.PartitionedDmlOrBuilder getPartitionedDmlOrBuilder() {
+    public com.google.spanner.v1.TransactionOptions.PartitionedDmlOrBuilder
+        getPartitionedDmlOrBuilder() {
       if ((modeCase_ == 3) && (partitionedDmlBuilder_ != null)) {
         return partitionedDmlBuilder_.getMessageOrBuilder();
       } else {
@@ -5062,6 +5539,8 @@ public com.google.spanner.v1.TransactionOptions.PartitionedDmlOrBuilder getParti
       }
     }
     /**
+     *
+     *
      * 
      * Partitioned DML transaction.
      * Authorization to begin a Partitioned DML transaction requires
@@ -5072,14 +5551,19 @@ public com.google.spanner.v1.TransactionOptions.PartitionedDmlOrBuilder getParti
      * .google.spanner.v1.TransactionOptions.PartitionedDml partitioned_dml = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.spanner.v1.TransactionOptions.PartitionedDml, com.google.spanner.v1.TransactionOptions.PartitionedDml.Builder, com.google.spanner.v1.TransactionOptions.PartitionedDmlOrBuilder> 
+            com.google.spanner.v1.TransactionOptions.PartitionedDml,
+            com.google.spanner.v1.TransactionOptions.PartitionedDml.Builder,
+            com.google.spanner.v1.TransactionOptions.PartitionedDmlOrBuilder>
         getPartitionedDmlFieldBuilder() {
       if (partitionedDmlBuilder_ == null) {
         if (!(modeCase_ == 3)) {
           mode_ = com.google.spanner.v1.TransactionOptions.PartitionedDml.getDefaultInstance();
         }
-        partitionedDmlBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.TransactionOptions.PartitionedDml, com.google.spanner.v1.TransactionOptions.PartitionedDml.Builder, com.google.spanner.v1.TransactionOptions.PartitionedDmlOrBuilder>(
+        partitionedDmlBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.spanner.v1.TransactionOptions.PartitionedDml,
+                com.google.spanner.v1.TransactionOptions.PartitionedDml.Builder,
+                com.google.spanner.v1.TransactionOptions.PartitionedDmlOrBuilder>(
                 (com.google.spanner.v1.TransactionOptions.PartitionedDml) mode_,
                 getParentForChildren(),
                 isClean());
@@ -5091,8 +5575,13 @@ public com.google.spanner.v1.TransactionOptions.PartitionedDmlOrBuilder getParti
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.spanner.v1.TransactionOptions.ReadOnly, com.google.spanner.v1.TransactionOptions.ReadOnly.Builder, com.google.spanner.v1.TransactionOptions.ReadOnlyOrBuilder> readOnlyBuilder_;
+            com.google.spanner.v1.TransactionOptions.ReadOnly,
+            com.google.spanner.v1.TransactionOptions.ReadOnly.Builder,
+            com.google.spanner.v1.TransactionOptions.ReadOnlyOrBuilder>
+        readOnlyBuilder_;
     /**
+     *
+     *
      * 
      * Transaction will not write.
      * Authorization to begin a read-only transaction requires
@@ -5101,6 +5590,7 @@ public com.google.spanner.v1.TransactionOptions.PartitionedDmlOrBuilder getParti
      * 
* * .google.spanner.v1.TransactionOptions.ReadOnly read_only = 2; + * * @return Whether the readOnly field is set. */ @java.lang.Override @@ -5108,6 +5598,8 @@ public boolean hasReadOnly() { return modeCase_ == 2; } /** + * + * *
      * Transaction will not write.
      * Authorization to begin a read-only transaction requires
@@ -5116,6 +5608,7 @@ public boolean hasReadOnly() {
      * 
* * .google.spanner.v1.TransactionOptions.ReadOnly read_only = 2; + * * @return The readOnly. */ @java.lang.Override @@ -5133,6 +5626,8 @@ public com.google.spanner.v1.TransactionOptions.ReadOnly getReadOnly() { } } /** + * + * *
      * Transaction will not write.
      * Authorization to begin a read-only transaction requires
@@ -5156,6 +5651,8 @@ public Builder setReadOnly(com.google.spanner.v1.TransactionOptions.ReadOnly val
       return this;
     }
     /**
+     *
+     *
      * 
      * Transaction will not write.
      * Authorization to begin a read-only transaction requires
@@ -5177,6 +5674,8 @@ public Builder setReadOnly(
       return this;
     }
     /**
+     *
+     *
      * 
      * Transaction will not write.
      * Authorization to begin a read-only transaction requires
@@ -5188,10 +5687,13 @@ public Builder setReadOnly(
      */
     public Builder mergeReadOnly(com.google.spanner.v1.TransactionOptions.ReadOnly value) {
       if (readOnlyBuilder_ == null) {
-        if (modeCase_ == 2 &&
-            mode_ != com.google.spanner.v1.TransactionOptions.ReadOnly.getDefaultInstance()) {
-          mode_ = com.google.spanner.v1.TransactionOptions.ReadOnly.newBuilder((com.google.spanner.v1.TransactionOptions.ReadOnly) mode_)
-              .mergeFrom(value).buildPartial();
+        if (modeCase_ == 2
+            && mode_ != com.google.spanner.v1.TransactionOptions.ReadOnly.getDefaultInstance()) {
+          mode_ =
+              com.google.spanner.v1.TransactionOptions.ReadOnly.newBuilder(
+                      (com.google.spanner.v1.TransactionOptions.ReadOnly) mode_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           mode_ = value;
         }
@@ -5207,6 +5709,8 @@ public Builder mergeReadOnly(com.google.spanner.v1.TransactionOptions.ReadOnly v
       return this;
     }
     /**
+     *
+     *
      * 
      * Transaction will not write.
      * Authorization to begin a read-only transaction requires
@@ -5233,6 +5737,8 @@ public Builder clearReadOnly() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Transaction will not write.
      * Authorization to begin a read-only transaction requires
@@ -5246,6 +5752,8 @@ public com.google.spanner.v1.TransactionOptions.ReadOnly.Builder getReadOnlyBuil
       return getReadOnlyFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Transaction will not write.
      * Authorization to begin a read-only transaction requires
@@ -5267,6 +5775,8 @@ public com.google.spanner.v1.TransactionOptions.ReadOnlyOrBuilder getReadOnlyOrB
       }
     }
     /**
+     *
+     *
      * 
      * Transaction will not write.
      * Authorization to begin a read-only transaction requires
@@ -5277,14 +5787,19 @@ public com.google.spanner.v1.TransactionOptions.ReadOnlyOrBuilder getReadOnlyOrB
      * .google.spanner.v1.TransactionOptions.ReadOnly read_only = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.spanner.v1.TransactionOptions.ReadOnly, com.google.spanner.v1.TransactionOptions.ReadOnly.Builder, com.google.spanner.v1.TransactionOptions.ReadOnlyOrBuilder> 
+            com.google.spanner.v1.TransactionOptions.ReadOnly,
+            com.google.spanner.v1.TransactionOptions.ReadOnly.Builder,
+            com.google.spanner.v1.TransactionOptions.ReadOnlyOrBuilder>
         getReadOnlyFieldBuilder() {
       if (readOnlyBuilder_ == null) {
         if (!(modeCase_ == 2)) {
           mode_ = com.google.spanner.v1.TransactionOptions.ReadOnly.getDefaultInstance();
         }
-        readOnlyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.TransactionOptions.ReadOnly, com.google.spanner.v1.TransactionOptions.ReadOnly.Builder, com.google.spanner.v1.TransactionOptions.ReadOnlyOrBuilder>(
+        readOnlyBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.spanner.v1.TransactionOptions.ReadOnly,
+                com.google.spanner.v1.TransactionOptions.ReadOnly.Builder,
+                com.google.spanner.v1.TransactionOptions.ReadOnlyOrBuilder>(
                 (com.google.spanner.v1.TransactionOptions.ReadOnly) mode_,
                 getParentForChildren(),
                 isClean());
@@ -5294,9 +5809,9 @@ public com.google.spanner.v1.TransactionOptions.ReadOnlyOrBuilder getReadOnlyOrB
       onChanged();
       return readOnlyBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -5306,12 +5821,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.spanner.v1.TransactionOptions)
   }
 
   // @@protoc_insertion_point(class_scope:google.spanner.v1.TransactionOptions)
   private static final com.google.spanner.v1.TransactionOptions DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.spanner.v1.TransactionOptions();
   }
@@ -5320,27 +5835,27 @@ public static com.google.spanner.v1.TransactionOptions getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public TransactionOptions parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public TransactionOptions parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -5355,6 +5870,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.spanner.v1.TransactionOptions getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionOptionsOrBuilder.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionOptionsOrBuilder.java
similarity index 83%
rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionOptionsOrBuilder.java
rename to proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionOptionsOrBuilder.java
index ee1f2f738c2..c7b46083a13 100644
--- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionOptionsOrBuilder.java
+++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionOptionsOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/v1/transaction.proto
 
 package com.google.spanner.v1;
 
-public interface TransactionOptionsOrBuilder extends
+public interface TransactionOptionsOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.spanner.v1.TransactionOptions)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Transaction may write.
    * Authorization to begin a read-write transaction requires
@@ -16,10 +34,13 @@ public interface TransactionOptionsOrBuilder extends
    * 
* * .google.spanner.v1.TransactionOptions.ReadWrite read_write = 1; + * * @return Whether the readWrite field is set. */ boolean hasReadWrite(); /** + * + * *
    * Transaction may write.
    * Authorization to begin a read-write transaction requires
@@ -28,10 +49,13 @@ public interface TransactionOptionsOrBuilder extends
    * 
* * .google.spanner.v1.TransactionOptions.ReadWrite read_write = 1; + * * @return The readWrite. */ com.google.spanner.v1.TransactionOptions.ReadWrite getReadWrite(); /** + * + * *
    * Transaction may write.
    * Authorization to begin a read-write transaction requires
@@ -44,6 +68,8 @@ public interface TransactionOptionsOrBuilder extends
   com.google.spanner.v1.TransactionOptions.ReadWriteOrBuilder getReadWriteOrBuilder();
 
   /**
+   *
+   *
    * 
    * Partitioned DML transaction.
    * Authorization to begin a Partitioned DML transaction requires
@@ -52,10 +78,13 @@ public interface TransactionOptionsOrBuilder extends
    * 
* * .google.spanner.v1.TransactionOptions.PartitionedDml partitioned_dml = 3; + * * @return Whether the partitionedDml field is set. */ boolean hasPartitionedDml(); /** + * + * *
    * Partitioned DML transaction.
    * Authorization to begin a Partitioned DML transaction requires
@@ -64,10 +93,13 @@ public interface TransactionOptionsOrBuilder extends
    * 
* * .google.spanner.v1.TransactionOptions.PartitionedDml partitioned_dml = 3; + * * @return The partitionedDml. */ com.google.spanner.v1.TransactionOptions.PartitionedDml getPartitionedDml(); /** + * + * *
    * Partitioned DML transaction.
    * Authorization to begin a Partitioned DML transaction requires
@@ -80,6 +112,8 @@ public interface TransactionOptionsOrBuilder extends
   com.google.spanner.v1.TransactionOptions.PartitionedDmlOrBuilder getPartitionedDmlOrBuilder();
 
   /**
+   *
+   *
    * 
    * Transaction will not write.
    * Authorization to begin a read-only transaction requires
@@ -88,10 +122,13 @@ public interface TransactionOptionsOrBuilder extends
    * 
* * .google.spanner.v1.TransactionOptions.ReadOnly read_only = 2; + * * @return Whether the readOnly field is set. */ boolean hasReadOnly(); /** + * + * *
    * Transaction will not write.
    * Authorization to begin a read-only transaction requires
@@ -100,10 +137,13 @@ public interface TransactionOptionsOrBuilder extends
    * 
* * .google.spanner.v1.TransactionOptions.ReadOnly read_only = 2; + * * @return The readOnly. */ com.google.spanner.v1.TransactionOptions.ReadOnly getReadOnly(); /** + * + * *
    * Transaction will not write.
    * Authorization to begin a read-only transaction requires
diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionOrBuilder.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionOrBuilder.java
similarity index 78%
rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionOrBuilder.java
rename to proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionOrBuilder.java
index 5f113d75604..24a9ee693d9 100644
--- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionOrBuilder.java
+++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/v1/transaction.proto
 
 package com.google.spanner.v1;
 
-public interface TransactionOrBuilder extends
+public interface TransactionOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.spanner.v1.Transaction)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * `id` may be used to identify the transaction in subsequent
    * [Read][google.spanner.v1.Spanner.Read],
@@ -19,11 +37,14 @@ public interface TransactionOrBuilder extends
    * 
* * bytes id = 1; + * * @return The id. */ com.google.protobuf.ByteString getId(); /** + * + * *
    * For snapshot read-only transactions, the read timestamp chosen
    * for the transaction. Not returned by default: see
@@ -33,10 +54,13 @@ public interface TransactionOrBuilder extends
    * 
* * .google.protobuf.Timestamp read_timestamp = 2; + * * @return Whether the readTimestamp field is set. */ boolean hasReadTimestamp(); /** + * + * *
    * For snapshot read-only transactions, the read timestamp chosen
    * for the transaction. Not returned by default: see
@@ -46,10 +70,13 @@ public interface TransactionOrBuilder extends
    * 
* * .google.protobuf.Timestamp read_timestamp = 2; + * * @return The readTimestamp. */ com.google.protobuf.Timestamp getReadTimestamp(); /** + * + * *
    * For snapshot read-only transactions, the read timestamp chosen
    * for the transaction. Not returned by default: see
diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionProto.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionProto.java
new file mode 100644
index 00000000000..31bf768c944
--- /dev/null
+++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionProto.java
@@ -0,0 +1,161 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/spanner/v1/transaction.proto
+
+package com.google.spanner.v1;
+
+public final class TransactionProto {
+  private TransactionProto() {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_spanner_v1_TransactionOptions_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_spanner_v1_TransactionOptions_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_spanner_v1_TransactionOptions_ReadWrite_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_spanner_v1_TransactionOptions_ReadWrite_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_spanner_v1_TransactionOptions_PartitionedDml_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_spanner_v1_TransactionOptions_PartitionedDml_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_spanner_v1_TransactionOptions_ReadOnly_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_spanner_v1_TransactionOptions_ReadOnly_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_spanner_v1_Transaction_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_spanner_v1_Transaction_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_spanner_v1_TransactionSelector_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_spanner_v1_TransactionSelector_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+    return descriptor;
+  }
+
+  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
+
+  static {
+    java.lang.String[] descriptorData = {
+      "\n#google/spanner/v1/transaction.proto\022\021g"
+          + "oogle.spanner.v1\032\036google/protobuf/durati"
+          + "on.proto\032\037google/protobuf/timestamp.prot"
+          + "o\"\353\005\n\022TransactionOptions\022E\n\nread_write\030\001"
+          + " \001(\0132/.google.spanner.v1.TransactionOpti"
+          + "ons.ReadWriteH\000\022O\n\017partitioned_dml\030\003 \001(\013"
+          + "24.google.spanner.v1.TransactionOptions."
+          + "PartitionedDmlH\000\022C\n\tread_only\030\002 \001(\0132..go"
+          + "ogle.spanner.v1.TransactionOptions.ReadO"
+          + "nlyH\000\032\262\001\n\tReadWrite\022T\n\016read_lock_mode\030\001 "
+          + "\001(\0162<.google.spanner.v1.TransactionOptio"
+          + "ns.ReadWrite.ReadLockMode\"O\n\014ReadLockMod"
+          + "e\022\036\n\032READ_LOCK_MODE_UNSPECIFIED\020\000\022\017\n\013PES"
+          + "SIMISTIC\020\001\022\016\n\nOPTIMISTIC\020\002\032\020\n\016Partitione"
+          + "dDml\032\250\002\n\010ReadOnly\022\020\n\006strong\030\001 \001(\010H\000\0228\n\022m"
+          + "in_read_timestamp\030\002 \001(\0132\032.google.protobu"
+          + "f.TimestampH\000\0222\n\rmax_staleness\030\003 \001(\0132\031.g"
+          + "oogle.protobuf.DurationH\000\0224\n\016read_timest"
+          + "amp\030\004 \001(\0132\032.google.protobuf.TimestampH\000\022"
+          + "4\n\017exact_staleness\030\005 \001(\0132\031.google.protob"
+          + "uf.DurationH\000\022\035\n\025return_read_timestamp\030\006"
+          + " \001(\010B\021\n\017timestamp_boundB\006\n\004mode\"M\n\013Trans"
+          + "action\022\n\n\002id\030\001 \001(\014\0222\n\016read_timestamp\030\002 \001"
+          + "(\0132\032.google.protobuf.Timestamp\"\244\001\n\023Trans"
+          + "actionSelector\022;\n\nsingle_use\030\001 \001(\0132%.goo"
+          + "gle.spanner.v1.TransactionOptionsH\000\022\014\n\002i"
+          + "d\030\002 \001(\014H\000\0226\n\005begin\030\003 \001(\0132%.google.spanne"
+          + "r.v1.TransactionOptionsH\000B\n\n\010selectorB\263\001"
+          + "\n\025com.google.spanner.v1B\020TransactionProt"
+          + "oP\001Z5cloud.google.com/go/spanner/apiv1/s"
+          + "pannerpb;spannerpb\252\002\027Google.Cloud.Spanne"
+          + "r.V1\312\002\027Google\\Cloud\\Spanner\\V1\352\002\032Google:"
+          + ":Cloud::Spanner::V1b\006proto3"
+    };
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData,
+            new com.google.protobuf.Descriptors.FileDescriptor[] {
+              com.google.protobuf.DurationProto.getDescriptor(),
+              com.google.protobuf.TimestampProto.getDescriptor(),
+            });
+    internal_static_google_spanner_v1_TransactionOptions_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_spanner_v1_TransactionOptions_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_spanner_v1_TransactionOptions_descriptor,
+            new java.lang.String[] {
+              "ReadWrite", "PartitionedDml", "ReadOnly", "Mode",
+            });
+    internal_static_google_spanner_v1_TransactionOptions_ReadWrite_descriptor =
+        internal_static_google_spanner_v1_TransactionOptions_descriptor.getNestedTypes().get(0);
+    internal_static_google_spanner_v1_TransactionOptions_ReadWrite_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_spanner_v1_TransactionOptions_ReadWrite_descriptor,
+            new java.lang.String[] {
+              "ReadLockMode",
+            });
+    internal_static_google_spanner_v1_TransactionOptions_PartitionedDml_descriptor =
+        internal_static_google_spanner_v1_TransactionOptions_descriptor.getNestedTypes().get(1);
+    internal_static_google_spanner_v1_TransactionOptions_PartitionedDml_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_spanner_v1_TransactionOptions_PartitionedDml_descriptor,
+            new java.lang.String[] {});
+    internal_static_google_spanner_v1_TransactionOptions_ReadOnly_descriptor =
+        internal_static_google_spanner_v1_TransactionOptions_descriptor.getNestedTypes().get(2);
+    internal_static_google_spanner_v1_TransactionOptions_ReadOnly_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_spanner_v1_TransactionOptions_ReadOnly_descriptor,
+            new java.lang.String[] {
+              "Strong",
+              "MinReadTimestamp",
+              "MaxStaleness",
+              "ReadTimestamp",
+              "ExactStaleness",
+              "ReturnReadTimestamp",
+              "TimestampBound",
+            });
+    internal_static_google_spanner_v1_Transaction_descriptor =
+        getDescriptor().getMessageTypes().get(1);
+    internal_static_google_spanner_v1_Transaction_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_spanner_v1_Transaction_descriptor,
+            new java.lang.String[] {
+              "Id", "ReadTimestamp",
+            });
+    internal_static_google_spanner_v1_TransactionSelector_descriptor =
+        getDescriptor().getMessageTypes().get(2);
+    internal_static_google_spanner_v1_TransactionSelector_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_spanner_v1_TransactionSelector_descriptor,
+            new java.lang.String[] {
+              "SingleUse", "Id", "Begin", "Selector",
+            });
+    com.google.protobuf.DurationProto.getDescriptor();
+    com.google.protobuf.TimestampProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionSelector.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionSelector.java
similarity index 73%
rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionSelector.java
rename to proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionSelector.java
index d1cc10a3af7..3d3062141b9 100644
--- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionSelector.java
+++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionSelector.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/v1/transaction.proto
 
 package com.google.spanner.v1;
 
 /**
+ *
+ *
  * 
  * This message is used to select the transaction in which a
  * [Read][google.spanner.v1.Spanner.Read] or
@@ -14,53 +31,57 @@
  *
  * Protobuf type {@code google.spanner.v1.TransactionSelector}
  */
-public final class TransactionSelector extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class TransactionSelector extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.spanner.v1.TransactionSelector)
     TransactionSelectorOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use TransactionSelector.newBuilder() to construct.
   private TransactionSelector(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private TransactionSelector() {
-  }
+
+  private TransactionSelector() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new TransactionSelector();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_TransactionSelector_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.spanner.v1.TransactionProto
+        .internal_static_google_spanner_v1_TransactionSelector_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_TransactionSelector_fieldAccessorTable
+    return com.google.spanner.v1.TransactionProto
+        .internal_static_google_spanner_v1_TransactionSelector_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.spanner.v1.TransactionSelector.class, com.google.spanner.v1.TransactionSelector.Builder.class);
+            com.google.spanner.v1.TransactionSelector.class,
+            com.google.spanner.v1.TransactionSelector.Builder.class);
   }
 
   private int selectorCase_ = 0;
   private java.lang.Object selector_;
+
   public enum SelectorCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     SINGLE_USE(1),
     ID(2),
     BEGIN(3),
     SELECTOR_NOT_SET(0);
     private final int value;
+
     private SelectorCase(int value) {
       this.value = value;
     }
@@ -76,26 +97,32 @@ public static SelectorCase valueOf(int value) {
 
     public static SelectorCase forNumber(int value) {
       switch (value) {
-        case 1: return SINGLE_USE;
-        case 2: return ID;
-        case 3: return BEGIN;
-        case 0: return SELECTOR_NOT_SET;
-        default: return null;
+        case 1:
+          return SINGLE_USE;
+        case 2:
+          return ID;
+        case 3:
+          return BEGIN;
+        case 0:
+          return SELECTOR_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public SelectorCase
-  getSelectorCase() {
-    return SelectorCase.forNumber(
-        selectorCase_);
+  public SelectorCase getSelectorCase() {
+    return SelectorCase.forNumber(selectorCase_);
   }
 
   public static final int SINGLE_USE_FIELD_NUMBER = 1;
   /**
+   *
+   *
    * 
    * Execute the read or SQL query in a temporary transaction.
    * This is the most efficient way to execute a transaction that
@@ -103,6 +130,7 @@ public int getNumber() {
    * 
* * .google.spanner.v1.TransactionOptions single_use = 1; + * * @return Whether the singleUse field is set. */ @java.lang.Override @@ -110,6 +138,8 @@ public boolean hasSingleUse() { return selectorCase_ == 1; } /** + * + * *
    * Execute the read or SQL query in a temporary transaction.
    * This is the most efficient way to execute a transaction that
@@ -117,16 +147,19 @@ public boolean hasSingleUse() {
    * 
* * .google.spanner.v1.TransactionOptions single_use = 1; + * * @return The singleUse. */ @java.lang.Override public com.google.spanner.v1.TransactionOptions getSingleUse() { if (selectorCase_ == 1) { - return (com.google.spanner.v1.TransactionOptions) selector_; + return (com.google.spanner.v1.TransactionOptions) selector_; } return com.google.spanner.v1.TransactionOptions.getDefaultInstance(); } /** + * + * *
    * Execute the read or SQL query in a temporary transaction.
    * This is the most efficient way to execute a transaction that
@@ -138,18 +171,21 @@ public com.google.spanner.v1.TransactionOptions getSingleUse() {
   @java.lang.Override
   public com.google.spanner.v1.TransactionOptionsOrBuilder getSingleUseOrBuilder() {
     if (selectorCase_ == 1) {
-       return (com.google.spanner.v1.TransactionOptions) selector_;
+      return (com.google.spanner.v1.TransactionOptions) selector_;
     }
     return com.google.spanner.v1.TransactionOptions.getDefaultInstance();
   }
 
   public static final int ID_FIELD_NUMBER = 2;
   /**
+   *
+   *
    * 
    * Execute the read or SQL query in a previously-started transaction.
    * 
* * bytes id = 2; + * * @return Whether the id field is set. */ @java.lang.Override @@ -157,11 +193,14 @@ public boolean hasId() { return selectorCase_ == 2; } /** + * + * *
    * Execute the read or SQL query in a previously-started transaction.
    * 
* * bytes id = 2; + * * @return The id. */ @java.lang.Override @@ -174,6 +213,8 @@ public com.google.protobuf.ByteString getId() { public static final int BEGIN_FIELD_NUMBER = 3; /** + * + * *
    * Begin a new transaction and execute this read or SQL query in
    * it. The transaction ID of the new transaction is returned in
@@ -182,6 +223,7 @@ public com.google.protobuf.ByteString getId() {
    * 
* * .google.spanner.v1.TransactionOptions begin = 3; + * * @return Whether the begin field is set. */ @java.lang.Override @@ -189,6 +231,8 @@ public boolean hasBegin() { return selectorCase_ == 3; } /** + * + * *
    * Begin a new transaction and execute this read or SQL query in
    * it. The transaction ID of the new transaction is returned in
@@ -197,16 +241,19 @@ public boolean hasBegin() {
    * 
* * .google.spanner.v1.TransactionOptions begin = 3; + * * @return The begin. */ @java.lang.Override public com.google.spanner.v1.TransactionOptions getBegin() { if (selectorCase_ == 3) { - return (com.google.spanner.v1.TransactionOptions) selector_; + return (com.google.spanner.v1.TransactionOptions) selector_; } return com.google.spanner.v1.TransactionOptions.getDefaultInstance(); } /** + * + * *
    * Begin a new transaction and execute this read or SQL query in
    * it. The transaction ID of the new transaction is returned in
@@ -219,12 +266,13 @@ public com.google.spanner.v1.TransactionOptions getBegin() {
   @java.lang.Override
   public com.google.spanner.v1.TransactionOptionsOrBuilder getBeginOrBuilder() {
     if (selectorCase_ == 3) {
-       return (com.google.spanner.v1.TransactionOptions) selector_;
+      return (com.google.spanner.v1.TransactionOptions) selector_;
     }
     return com.google.spanner.v1.TransactionOptions.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -236,14 +284,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 (selectorCase_ == 1) {
       output.writeMessage(1, (com.google.spanner.v1.TransactionOptions) selector_);
     }
     if (selectorCase_ == 2) {
-      output.writeBytes(
-          2, (com.google.protobuf.ByteString) selector_);
+      output.writeBytes(2, (com.google.protobuf.ByteString) selector_);
     }
     if (selectorCase_ == 3) {
       output.writeMessage(3, (com.google.spanner.v1.TransactionOptions) selector_);
@@ -258,17 +304,19 @@ public int getSerializedSize() {
 
     size = 0;
     if (selectorCase_ == 1) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, (com.google.spanner.v1.TransactionOptions) selector_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              1, (com.google.spanner.v1.TransactionOptions) selector_);
     }
     if (selectorCase_ == 2) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeBytesSize(
-            2, (com.google.protobuf.ByteString) selector_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeBytesSize(
+              2, (com.google.protobuf.ByteString) selector_);
     }
     if (selectorCase_ == 3) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, (com.google.spanner.v1.TransactionOptions) selector_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              3, (com.google.spanner.v1.TransactionOptions) selector_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -278,26 +326,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.spanner.v1.TransactionSelector)) {
       return super.equals(obj);
     }
-    com.google.spanner.v1.TransactionSelector other = (com.google.spanner.v1.TransactionSelector) obj;
+    com.google.spanner.v1.TransactionSelector other =
+        (com.google.spanner.v1.TransactionSelector) obj;
 
     if (!getSelectorCase().equals(other.getSelectorCase())) return false;
     switch (selectorCase_) {
       case 1:
-        if (!getSingleUse()
-            .equals(other.getSingleUse())) return false;
+        if (!getSingleUse().equals(other.getSingleUse())) return false;
         break;
       case 2:
-        if (!getId()
-            .equals(other.getId())) return false;
+        if (!getId().equals(other.getId())) return false;
         break;
       case 3:
-        if (!getBegin()
-            .equals(other.getBegin())) return false;
+        if (!getBegin().equals(other.getBegin())) return false;
         break;
       case 0:
       default:
@@ -334,97 +380,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.spanner.v1.TransactionSelector parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.spanner.v1.TransactionSelector parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.spanner.v1.TransactionSelector parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.spanner.v1.TransactionSelector parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.spanner.v1.TransactionSelector parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.spanner.v1.TransactionSelector parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.spanner.v1.TransactionSelector parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.spanner.v1.TransactionSelector parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.spanner.v1.TransactionSelector parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.spanner.v1.TransactionSelector parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.spanner.v1.TransactionSelector parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.spanner.v1.TransactionSelector parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.spanner.v1.TransactionSelector parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.spanner.v1.TransactionSelector parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.spanner.v1.TransactionSelector prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * This message is used to select the transaction in which a
    * [Read][google.spanner.v1.Spanner.Read] or
@@ -435,33 +488,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.spanner.v1.TransactionSelector}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.spanner.v1.TransactionSelector)
       com.google.spanner.v1.TransactionSelectorOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_TransactionSelector_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.spanner.v1.TransactionProto
+          .internal_static_google_spanner_v1_TransactionSelector_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_TransactionSelector_fieldAccessorTable
+      return com.google.spanner.v1.TransactionProto
+          .internal_static_google_spanner_v1_TransactionSelector_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.spanner.v1.TransactionSelector.class, com.google.spanner.v1.TransactionSelector.Builder.class);
+              com.google.spanner.v1.TransactionSelector.class,
+              com.google.spanner.v1.TransactionSelector.Builder.class);
     }
 
     // Construct using com.google.spanner.v1.TransactionSelector.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -478,9 +530,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.spanner.v1.TransactionProto.internal_static_google_spanner_v1_TransactionSelector_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.spanner.v1.TransactionProto
+          .internal_static_google_spanner_v1_TransactionSelector_descriptor;
     }
 
     @java.lang.Override
@@ -499,8 +551,11 @@ public com.google.spanner.v1.TransactionSelector build() {
 
     @java.lang.Override
     public com.google.spanner.v1.TransactionSelector buildPartial() {
-      com.google.spanner.v1.TransactionSelector result = new com.google.spanner.v1.TransactionSelector(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.spanner.v1.TransactionSelector result =
+          new com.google.spanner.v1.TransactionSelector(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -513,12 +568,10 @@ private void buildPartial0(com.google.spanner.v1.TransactionSelector result) {
     private void buildPartialOneofs(com.google.spanner.v1.TransactionSelector result) {
       result.selectorCase_ = selectorCase_;
       result.selector_ = this.selector_;
-      if (selectorCase_ == 1 &&
-          singleUseBuilder_ != null) {
+      if (selectorCase_ == 1 && singleUseBuilder_ != null) {
         result.selector_ = singleUseBuilder_.build();
       }
-      if (selectorCase_ == 3 &&
-          beginBuilder_ != null) {
+      if (selectorCase_ == 3 && beginBuilder_ != null) {
         result.selector_ = beginBuilder_.build();
       }
     }
@@ -527,38 +580,39 @@ private void buildPartialOneofs(com.google.spanner.v1.TransactionSelector 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.spanner.v1.TransactionSelector) {
-        return mergeFrom((com.google.spanner.v1.TransactionSelector)other);
+        return mergeFrom((com.google.spanner.v1.TransactionSelector) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -568,21 +622,25 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     public Builder mergeFrom(com.google.spanner.v1.TransactionSelector other) {
       if (other == com.google.spanner.v1.TransactionSelector.getDefaultInstance()) return this;
       switch (other.getSelectorCase()) {
-        case SINGLE_USE: {
-          mergeSingleUse(other.getSingleUse());
-          break;
-        }
-        case ID: {
-          setId(other.getId());
-          break;
-        }
-        case BEGIN: {
-          mergeBegin(other.getBegin());
-          break;
-        }
-        case SELECTOR_NOT_SET: {
-          break;
-        }
+        case SINGLE_USE:
+          {
+            mergeSingleUse(other.getSingleUse());
+            break;
+          }
+        case ID:
+          {
+            setId(other.getId());
+            break;
+          }
+        case BEGIN:
+          {
+            mergeBegin(other.getBegin());
+            break;
+          }
+        case SELECTOR_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -610,31 +668,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getSingleUseFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              selectorCase_ = 1;
-              break;
-            } // case 10
-            case 18: {
-              selector_ = input.readBytes();
-              selectorCase_ = 2;
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getBeginFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              selectorCase_ = 3;
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getSingleUseFieldBuilder().getBuilder(), extensionRegistry);
+                selectorCase_ = 1;
+                break;
+              } // case 10
+            case 18:
+              {
+                selector_ = input.readBytes();
+                selectorCase_ = 2;
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getBeginFieldBuilder().getBuilder(), extensionRegistry);
+                selectorCase_ = 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) {
@@ -644,12 +702,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int selectorCase_ = 0;
     private java.lang.Object selector_;
-    public SelectorCase
-        getSelectorCase() {
-      return SelectorCase.forNumber(
-          selectorCase_);
+
+    public SelectorCase getSelectorCase() {
+      return SelectorCase.forNumber(selectorCase_);
     }
 
     public Builder clearSelector() {
@@ -662,8 +720,13 @@ public Builder clearSelector() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.spanner.v1.TransactionOptions, com.google.spanner.v1.TransactionOptions.Builder, com.google.spanner.v1.TransactionOptionsOrBuilder> singleUseBuilder_;
+            com.google.spanner.v1.TransactionOptions,
+            com.google.spanner.v1.TransactionOptions.Builder,
+            com.google.spanner.v1.TransactionOptionsOrBuilder>
+        singleUseBuilder_;
     /**
+     *
+     *
      * 
      * Execute the read or SQL query in a temporary transaction.
      * This is the most efficient way to execute a transaction that
@@ -671,6 +734,7 @@ public Builder clearSelector() {
      * 
* * .google.spanner.v1.TransactionOptions single_use = 1; + * * @return Whether the singleUse field is set. */ @java.lang.Override @@ -678,6 +742,8 @@ public boolean hasSingleUse() { return selectorCase_ == 1; } /** + * + * *
      * Execute the read or SQL query in a temporary transaction.
      * This is the most efficient way to execute a transaction that
@@ -685,6 +751,7 @@ public boolean hasSingleUse() {
      * 
* * .google.spanner.v1.TransactionOptions single_use = 1; + * * @return The singleUse. */ @java.lang.Override @@ -702,6 +769,8 @@ public com.google.spanner.v1.TransactionOptions getSingleUse() { } } /** + * + * *
      * Execute the read or SQL query in a temporary transaction.
      * This is the most efficient way to execute a transaction that
@@ -724,6 +793,8 @@ public Builder setSingleUse(com.google.spanner.v1.TransactionOptions value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Execute the read or SQL query in a temporary transaction.
      * This is the most efficient way to execute a transaction that
@@ -732,8 +803,7 @@ public Builder setSingleUse(com.google.spanner.v1.TransactionOptions value) {
      *
      * .google.spanner.v1.TransactionOptions single_use = 1;
      */
-    public Builder setSingleUse(
-        com.google.spanner.v1.TransactionOptions.Builder builderForValue) {
+    public Builder setSingleUse(com.google.spanner.v1.TransactionOptions.Builder builderForValue) {
       if (singleUseBuilder_ == null) {
         selector_ = builderForValue.build();
         onChanged();
@@ -744,6 +814,8 @@ public Builder setSingleUse(
       return this;
     }
     /**
+     *
+     *
      * 
      * Execute the read or SQL query in a temporary transaction.
      * This is the most efficient way to execute a transaction that
@@ -754,10 +826,13 @@ public Builder setSingleUse(
      */
     public Builder mergeSingleUse(com.google.spanner.v1.TransactionOptions value) {
       if (singleUseBuilder_ == null) {
-        if (selectorCase_ == 1 &&
-            selector_ != com.google.spanner.v1.TransactionOptions.getDefaultInstance()) {
-          selector_ = com.google.spanner.v1.TransactionOptions.newBuilder((com.google.spanner.v1.TransactionOptions) selector_)
-              .mergeFrom(value).buildPartial();
+        if (selectorCase_ == 1
+            && selector_ != com.google.spanner.v1.TransactionOptions.getDefaultInstance()) {
+          selector_ =
+              com.google.spanner.v1.TransactionOptions.newBuilder(
+                      (com.google.spanner.v1.TransactionOptions) selector_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           selector_ = value;
         }
@@ -773,6 +848,8 @@ public Builder mergeSingleUse(com.google.spanner.v1.TransactionOptions value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Execute the read or SQL query in a temporary transaction.
      * This is the most efficient way to execute a transaction that
@@ -798,6 +875,8 @@ public Builder clearSingleUse() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Execute the read or SQL query in a temporary transaction.
      * This is the most efficient way to execute a transaction that
@@ -810,6 +889,8 @@ public com.google.spanner.v1.TransactionOptions.Builder getSingleUseBuilder() {
       return getSingleUseFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Execute the read or SQL query in a temporary transaction.
      * This is the most efficient way to execute a transaction that
@@ -830,6 +911,8 @@ public com.google.spanner.v1.TransactionOptionsOrBuilder getSingleUseOrBuilder()
       }
     }
     /**
+     *
+     *
      * 
      * Execute the read or SQL query in a temporary transaction.
      * This is the most efficient way to execute a transaction that
@@ -839,14 +922,19 @@ public com.google.spanner.v1.TransactionOptionsOrBuilder getSingleUseOrBuilder()
      * .google.spanner.v1.TransactionOptions single_use = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.spanner.v1.TransactionOptions, com.google.spanner.v1.TransactionOptions.Builder, com.google.spanner.v1.TransactionOptionsOrBuilder> 
+            com.google.spanner.v1.TransactionOptions,
+            com.google.spanner.v1.TransactionOptions.Builder,
+            com.google.spanner.v1.TransactionOptionsOrBuilder>
         getSingleUseFieldBuilder() {
       if (singleUseBuilder_ == null) {
         if (!(selectorCase_ == 1)) {
           selector_ = com.google.spanner.v1.TransactionOptions.getDefaultInstance();
         }
-        singleUseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.TransactionOptions, com.google.spanner.v1.TransactionOptions.Builder, com.google.spanner.v1.TransactionOptionsOrBuilder>(
+        singleUseBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.spanner.v1.TransactionOptions,
+                com.google.spanner.v1.TransactionOptions.Builder,
+                com.google.spanner.v1.TransactionOptionsOrBuilder>(
                 (com.google.spanner.v1.TransactionOptions) selector_,
                 getParentForChildren(),
                 isClean());
@@ -858,22 +946,28 @@ public com.google.spanner.v1.TransactionOptionsOrBuilder getSingleUseOrBuilder()
     }
 
     /**
+     *
+     *
      * 
      * Execute the read or SQL query in a previously-started transaction.
      * 
* * bytes id = 2; + * * @return Whether the id field is set. */ public boolean hasId() { return selectorCase_ == 2; } /** + * + * *
      * Execute the read or SQL query in a previously-started transaction.
      * 
* * bytes id = 2; + * * @return The id. */ public com.google.protobuf.ByteString getId() { @@ -883,27 +977,35 @@ public com.google.protobuf.ByteString getId() { return com.google.protobuf.ByteString.EMPTY; } /** + * + * *
      * Execute the read or SQL query in a previously-started transaction.
      * 
* * bytes id = 2; + * * @param value The id to set. * @return This builder for chaining. */ public Builder setId(com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + if (value == null) { + throw new NullPointerException(); + } selectorCase_ = 2; selector_ = value; onChanged(); return this; } /** + * + * *
      * Execute the read or SQL query in a previously-started transaction.
      * 
* * bytes id = 2; + * * @return This builder for chaining. */ public Builder clearId() { @@ -916,8 +1018,13 @@ public Builder clearId() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.TransactionOptions, com.google.spanner.v1.TransactionOptions.Builder, com.google.spanner.v1.TransactionOptionsOrBuilder> beginBuilder_; + com.google.spanner.v1.TransactionOptions, + com.google.spanner.v1.TransactionOptions.Builder, + com.google.spanner.v1.TransactionOptionsOrBuilder> + beginBuilder_; /** + * + * *
      * Begin a new transaction and execute this read or SQL query in
      * it. The transaction ID of the new transaction is returned in
@@ -926,6 +1033,7 @@ public Builder clearId() {
      * 
* * .google.spanner.v1.TransactionOptions begin = 3; + * * @return Whether the begin field is set. */ @java.lang.Override @@ -933,6 +1041,8 @@ public boolean hasBegin() { return selectorCase_ == 3; } /** + * + * *
      * Begin a new transaction and execute this read or SQL query in
      * it. The transaction ID of the new transaction is returned in
@@ -941,6 +1051,7 @@ public boolean hasBegin() {
      * 
* * .google.spanner.v1.TransactionOptions begin = 3; + * * @return The begin. */ @java.lang.Override @@ -958,6 +1069,8 @@ public com.google.spanner.v1.TransactionOptions getBegin() { } } /** + * + * *
      * Begin a new transaction and execute this read or SQL query in
      * it. The transaction ID of the new transaction is returned in
@@ -981,6 +1094,8 @@ public Builder setBegin(com.google.spanner.v1.TransactionOptions value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Begin a new transaction and execute this read or SQL query in
      * it. The transaction ID of the new transaction is returned in
@@ -990,8 +1105,7 @@ public Builder setBegin(com.google.spanner.v1.TransactionOptions value) {
      *
      * .google.spanner.v1.TransactionOptions begin = 3;
      */
-    public Builder setBegin(
-        com.google.spanner.v1.TransactionOptions.Builder builderForValue) {
+    public Builder setBegin(com.google.spanner.v1.TransactionOptions.Builder builderForValue) {
       if (beginBuilder_ == null) {
         selector_ = builderForValue.build();
         onChanged();
@@ -1002,6 +1116,8 @@ public Builder setBegin(
       return this;
     }
     /**
+     *
+     *
      * 
      * Begin a new transaction and execute this read or SQL query in
      * it. The transaction ID of the new transaction is returned in
@@ -1013,10 +1129,13 @@ public Builder setBegin(
      */
     public Builder mergeBegin(com.google.spanner.v1.TransactionOptions value) {
       if (beginBuilder_ == null) {
-        if (selectorCase_ == 3 &&
-            selector_ != com.google.spanner.v1.TransactionOptions.getDefaultInstance()) {
-          selector_ = com.google.spanner.v1.TransactionOptions.newBuilder((com.google.spanner.v1.TransactionOptions) selector_)
-              .mergeFrom(value).buildPartial();
+        if (selectorCase_ == 3
+            && selector_ != com.google.spanner.v1.TransactionOptions.getDefaultInstance()) {
+          selector_ =
+              com.google.spanner.v1.TransactionOptions.newBuilder(
+                      (com.google.spanner.v1.TransactionOptions) selector_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           selector_ = value;
         }
@@ -1032,6 +1151,8 @@ public Builder mergeBegin(com.google.spanner.v1.TransactionOptions value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Begin a new transaction and execute this read or SQL query in
      * it. The transaction ID of the new transaction is returned in
@@ -1058,6 +1179,8 @@ public Builder clearBegin() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Begin a new transaction and execute this read or SQL query in
      * it. The transaction ID of the new transaction is returned in
@@ -1071,6 +1194,8 @@ public com.google.spanner.v1.TransactionOptions.Builder getBeginBuilder() {
       return getBeginFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Begin a new transaction and execute this read or SQL query in
      * it. The transaction ID of the new transaction is returned in
@@ -1092,6 +1217,8 @@ public com.google.spanner.v1.TransactionOptionsOrBuilder getBeginOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * Begin a new transaction and execute this read or SQL query in
      * it. The transaction ID of the new transaction is returned in
@@ -1102,14 +1229,19 @@ public com.google.spanner.v1.TransactionOptionsOrBuilder getBeginOrBuilder() {
      * .google.spanner.v1.TransactionOptions begin = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.spanner.v1.TransactionOptions, com.google.spanner.v1.TransactionOptions.Builder, com.google.spanner.v1.TransactionOptionsOrBuilder> 
+            com.google.spanner.v1.TransactionOptions,
+            com.google.spanner.v1.TransactionOptions.Builder,
+            com.google.spanner.v1.TransactionOptionsOrBuilder>
         getBeginFieldBuilder() {
       if (beginBuilder_ == null) {
         if (!(selectorCase_ == 3)) {
           selector_ = com.google.spanner.v1.TransactionOptions.getDefaultInstance();
         }
-        beginBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.TransactionOptions, com.google.spanner.v1.TransactionOptions.Builder, com.google.spanner.v1.TransactionOptionsOrBuilder>(
+        beginBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.spanner.v1.TransactionOptions,
+                com.google.spanner.v1.TransactionOptions.Builder,
+                com.google.spanner.v1.TransactionOptionsOrBuilder>(
                 (com.google.spanner.v1.TransactionOptions) selector_,
                 getParentForChildren(),
                 isClean());
@@ -1119,9 +1251,9 @@ public com.google.spanner.v1.TransactionOptionsOrBuilder getBeginOrBuilder() {
       onChanged();
       return beginBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1131,12 +1263,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.spanner.v1.TransactionSelector)
   }
 
   // @@protoc_insertion_point(class_scope:google.spanner.v1.TransactionSelector)
   private static final com.google.spanner.v1.TransactionSelector DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.spanner.v1.TransactionSelector();
   }
@@ -1145,27 +1277,27 @@ public static com.google.spanner.v1.TransactionSelector getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public TransactionSelector parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public TransactionSelector parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1180,6 +1312,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.spanner.v1.TransactionSelector getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionSelectorOrBuilder.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionSelectorOrBuilder.java
similarity index 80%
rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionSelectorOrBuilder.java
rename to proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionSelectorOrBuilder.java
index c5e762ece65..ff10cc1510b 100644
--- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionSelectorOrBuilder.java
+++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TransactionSelectorOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/v1/transaction.proto
 
 package com.google.spanner.v1;
 
-public interface TransactionSelectorOrBuilder extends
+public interface TransactionSelectorOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.spanner.v1.TransactionSelector)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Execute the read or SQL query in a temporary transaction.
    * This is the most efficient way to execute a transaction that
@@ -15,10 +33,13 @@ public interface TransactionSelectorOrBuilder extends
    * 
* * .google.spanner.v1.TransactionOptions single_use = 1; + * * @return Whether the singleUse field is set. */ boolean hasSingleUse(); /** + * + * *
    * Execute the read or SQL query in a temporary transaction.
    * This is the most efficient way to execute a transaction that
@@ -26,10 +47,13 @@ public interface TransactionSelectorOrBuilder extends
    * 
* * .google.spanner.v1.TransactionOptions single_use = 1; + * * @return The singleUse. */ com.google.spanner.v1.TransactionOptions getSingleUse(); /** + * + * *
    * Execute the read or SQL query in a temporary transaction.
    * This is the most efficient way to execute a transaction that
@@ -41,25 +65,33 @@ public interface TransactionSelectorOrBuilder extends
   com.google.spanner.v1.TransactionOptionsOrBuilder getSingleUseOrBuilder();
 
   /**
+   *
+   *
    * 
    * Execute the read or SQL query in a previously-started transaction.
    * 
* * bytes id = 2; + * * @return Whether the id field is set. */ boolean hasId(); /** + * + * *
    * Execute the read or SQL query in a previously-started transaction.
    * 
* * bytes id = 2; + * * @return The id. */ com.google.protobuf.ByteString getId(); /** + * + * *
    * Begin a new transaction and execute this read or SQL query in
    * it. The transaction ID of the new transaction is returned in
@@ -68,10 +100,13 @@ public interface TransactionSelectorOrBuilder extends
    * 
* * .google.spanner.v1.TransactionOptions begin = 3; + * * @return Whether the begin field is set. */ boolean hasBegin(); /** + * + * *
    * Begin a new transaction and execute this read or SQL query in
    * it. The transaction ID of the new transaction is returned in
@@ -80,10 +115,13 @@ public interface TransactionSelectorOrBuilder extends
    * 
* * .google.spanner.v1.TransactionOptions begin = 3; + * * @return The begin. */ com.google.spanner.v1.TransactionOptions getBegin(); /** + * + * *
    * Begin a new transaction and execute this read or SQL query in
    * it. The transaction ID of the new transaction is returned in
diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Type.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Type.java
similarity index 75%
rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Type.java
rename to proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Type.java
index 9df16cec4d0..6785a32ef32 100644
--- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Type.java
+++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Type.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/v1/type.proto
 
 package com.google.spanner.v1;
 
 /**
+ *
+ *
  * 
  * `Type` indicates the type of a Cloud Spanner value, as might be stored in a
  * table cell or returned from an SQL query.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.spanner.v1.Type}
  */
-public final class Type extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Type extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.spanner.v1.Type)
     TypeOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Type.newBuilder() to construct.
   private Type(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Type() {
     code_ = 0;
     typeAnnotation_ = 0;
@@ -27,18 +45,16 @@ private Type() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Type();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.spanner.v1.TypeProto.internal_static_google_spanner_v1_Type_descriptor;
   }
 
@@ -53,25 +69,33 @@ protected java.lang.Object newInstance(
   public static final int CODE_FIELD_NUMBER = 1;
   private int code_ = 0;
   /**
+   *
+   *
    * 
    * Required. The [TypeCode][google.spanner.v1.TypeCode] for this type.
    * 
* * .google.spanner.v1.TypeCode code = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The enum numeric value on the wire for code. */ - @java.lang.Override public int getCodeValue() { + @java.lang.Override + public int getCodeValue() { return code_; } /** + * + * *
    * Required. The [TypeCode][google.spanner.v1.TypeCode] for this type.
    * 
* * .google.spanner.v1.TypeCode code = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The code. */ - @java.lang.Override public com.google.spanner.v1.TypeCode getCode() { + @java.lang.Override + public com.google.spanner.v1.TypeCode getCode() { com.google.spanner.v1.TypeCode result = com.google.spanner.v1.TypeCode.forNumber(code_); return result == null ? com.google.spanner.v1.TypeCode.UNRECOGNIZED : result; } @@ -79,12 +103,15 @@ protected java.lang.Object newInstance( public static final int ARRAY_ELEMENT_TYPE_FIELD_NUMBER = 2; private com.google.spanner.v1.Type arrayElementType_; /** + * + * *
    * If [code][google.spanner.v1.Type.code] == [ARRAY][google.spanner.v1.TypeCode.ARRAY], then `array_element_type`
    * is the type of the array elements.
    * 
* * .google.spanner.v1.Type array_element_type = 2; + * * @return Whether the arrayElementType field is set. */ @java.lang.Override @@ -92,19 +119,26 @@ public boolean hasArrayElementType() { return arrayElementType_ != null; } /** + * + * *
    * If [code][google.spanner.v1.Type.code] == [ARRAY][google.spanner.v1.TypeCode.ARRAY], then `array_element_type`
    * is the type of the array elements.
    * 
* * .google.spanner.v1.Type array_element_type = 2; + * * @return The arrayElementType. */ @java.lang.Override public com.google.spanner.v1.Type getArrayElementType() { - return arrayElementType_ == null ? com.google.spanner.v1.Type.getDefaultInstance() : arrayElementType_; + return arrayElementType_ == null + ? com.google.spanner.v1.Type.getDefaultInstance() + : arrayElementType_; } /** + * + * *
    * If [code][google.spanner.v1.Type.code] == [ARRAY][google.spanner.v1.TypeCode.ARRAY], then `array_element_type`
    * is the type of the array elements.
@@ -114,18 +148,23 @@ public com.google.spanner.v1.Type getArrayElementType() {
    */
   @java.lang.Override
   public com.google.spanner.v1.TypeOrBuilder getArrayElementTypeOrBuilder() {
-    return arrayElementType_ == null ? com.google.spanner.v1.Type.getDefaultInstance() : arrayElementType_;
+    return arrayElementType_ == null
+        ? com.google.spanner.v1.Type.getDefaultInstance()
+        : arrayElementType_;
   }
 
   public static final int STRUCT_TYPE_FIELD_NUMBER = 3;
   private com.google.spanner.v1.StructType structType_;
   /**
+   *
+   *
    * 
    * If [code][google.spanner.v1.Type.code] == [STRUCT][google.spanner.v1.TypeCode.STRUCT], then `struct_type`
    * provides type information for the struct's fields.
    * 
* * .google.spanner.v1.StructType struct_type = 3; + * * @return Whether the structType field is set. */ @java.lang.Override @@ -133,19 +172,26 @@ public boolean hasStructType() { return structType_ != null; } /** + * + * *
    * If [code][google.spanner.v1.Type.code] == [STRUCT][google.spanner.v1.TypeCode.STRUCT], then `struct_type`
    * provides type information for the struct's fields.
    * 
* * .google.spanner.v1.StructType struct_type = 3; + * * @return The structType. */ @java.lang.Override public com.google.spanner.v1.StructType getStructType() { - return structType_ == null ? com.google.spanner.v1.StructType.getDefaultInstance() : structType_; + return structType_ == null + ? com.google.spanner.v1.StructType.getDefaultInstance() + : structType_; } /** + * + * *
    * If [code][google.spanner.v1.Type.code] == [STRUCT][google.spanner.v1.TypeCode.STRUCT], then `struct_type`
    * provides type information for the struct's fields.
@@ -155,12 +201,16 @@ public com.google.spanner.v1.StructType getStructType() {
    */
   @java.lang.Override
   public com.google.spanner.v1.StructTypeOrBuilder getStructTypeOrBuilder() {
-    return structType_ == null ? com.google.spanner.v1.StructType.getDefaultInstance() : structType_;
+    return structType_ == null
+        ? com.google.spanner.v1.StructType.getDefaultInstance()
+        : structType_;
   }
 
   public static final int TYPE_ANNOTATION_FIELD_NUMBER = 4;
   private int typeAnnotation_ = 0;
   /**
+   *
+   *
    * 
    * The [TypeAnnotationCode][google.spanner.v1.TypeAnnotationCode] that disambiguates SQL type that Spanner will
    * use to represent values of this type during query processing. This is
@@ -171,12 +221,16 @@ public com.google.spanner.v1.StructTypeOrBuilder getStructTypeOrBuilder() {
    * 
* * .google.spanner.v1.TypeAnnotationCode type_annotation = 4; + * * @return The enum numeric value on the wire for typeAnnotation. */ - @java.lang.Override public int getTypeAnnotationValue() { + @java.lang.Override + public int getTypeAnnotationValue() { return typeAnnotation_; } /** + * + * *
    * The [TypeAnnotationCode][google.spanner.v1.TypeAnnotationCode] that disambiguates SQL type that Spanner will
    * use to represent values of this type during query processing. This is
@@ -187,14 +241,18 @@ public com.google.spanner.v1.StructTypeOrBuilder getStructTypeOrBuilder() {
    * 
* * .google.spanner.v1.TypeAnnotationCode type_annotation = 4; + * * @return The typeAnnotation. */ - @java.lang.Override public com.google.spanner.v1.TypeAnnotationCode getTypeAnnotation() { - com.google.spanner.v1.TypeAnnotationCode result = com.google.spanner.v1.TypeAnnotationCode.forNumber(typeAnnotation_); + @java.lang.Override + public com.google.spanner.v1.TypeAnnotationCode getTypeAnnotation() { + com.google.spanner.v1.TypeAnnotationCode result = + com.google.spanner.v1.TypeAnnotationCode.forNumber(typeAnnotation_); return result == null ? com.google.spanner.v1.TypeAnnotationCode.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,8 +264,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (code_ != com.google.spanner.v1.TypeCode.TYPE_CODE_UNSPECIFIED.getNumber()) { output.writeEnum(1, code_); } @@ -217,7 +274,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (structType_ != null) { output.writeMessage(3, getStructType()); } - if (typeAnnotation_ != com.google.spanner.v1.TypeAnnotationCode.TYPE_ANNOTATION_CODE_UNSPECIFIED.getNumber()) { + if (typeAnnotation_ + != com.google.spanner.v1.TypeAnnotationCode.TYPE_ANNOTATION_CODE_UNSPECIFIED.getNumber()) { output.writeEnum(4, typeAnnotation_); } getUnknownFields().writeTo(output); @@ -230,20 +288,17 @@ public int getSerializedSize() { size = 0; if (code_ != com.google.spanner.v1.TypeCode.TYPE_CODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, code_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, code_); } if (arrayElementType_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getArrayElementType()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getArrayElementType()); } if (structType_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getStructType()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getStructType()); } - if (typeAnnotation_ != com.google.spanner.v1.TypeAnnotationCode.TYPE_ANNOTATION_CODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, typeAnnotation_); + if (typeAnnotation_ + != com.google.spanner.v1.TypeAnnotationCode.TYPE_ANNOTATION_CODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, typeAnnotation_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -253,7 +308,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.spanner.v1.Type)) { return super.equals(obj); @@ -263,13 +318,11 @@ public boolean equals(final java.lang.Object obj) { if (code_ != other.code_) return false; if (hasArrayElementType() != other.hasArrayElementType()) return false; if (hasArrayElementType()) { - if (!getArrayElementType() - .equals(other.getArrayElementType())) return false; + if (!getArrayElementType().equals(other.getArrayElementType())) return false; } if (hasStructType() != other.hasStructType()) return false; if (hasStructType()) { - if (!getStructType() - .equals(other.getStructType())) return false; + if (!getStructType().equals(other.getStructType())) return false; } if (typeAnnotation_ != other.typeAnnotation_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -300,97 +353,103 @@ public int hashCode() { return hash; } - public static com.google.spanner.v1.Type parseFrom( - java.nio.ByteBuffer data) + public static com.google.spanner.v1.Type parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.Type parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.spanner.v1.Type parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.spanner.v1.Type parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.Type parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.v1.Type parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.spanner.v1.Type parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.spanner.v1.Type parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.spanner.v1.Type parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.spanner.v1.Type 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.spanner.v1.Type parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.spanner.v1.Type parseFrom( - com.google.protobuf.CodedInputStream input) + + public static com.google.spanner.v1.Type 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.spanner.v1.Type parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.spanner.v1.Type prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `Type` indicates the type of a Cloud Spanner value, as might be stored in a
    * table cell or returned from an SQL query.
@@ -398,33 +457,30 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.spanner.v1.Type}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.spanner.v1.Type)
       com.google.spanner.v1.TypeOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
       return com.google.spanner.v1.TypeProto.internal_static_google_spanner_v1_Type_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.spanner.v1.TypeProto.internal_static_google_spanner_v1_Type_fieldAccessorTable
+      return com.google.spanner.v1.TypeProto
+          .internal_static_google_spanner_v1_Type_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
               com.google.spanner.v1.Type.class, com.google.spanner.v1.Type.Builder.class);
     }
 
     // Construct using com.google.spanner.v1.Type.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -445,8 +501,7 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
       return com.google.spanner.v1.TypeProto.internal_static_google_spanner_v1_Type_descriptor;
     }
 
@@ -467,7 +522,9 @@ public com.google.spanner.v1.Type build() {
     @java.lang.Override
     public com.google.spanner.v1.Type buildPartial() {
       com.google.spanner.v1.Type result = new com.google.spanner.v1.Type(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -478,14 +535,11 @@ private void buildPartial0(com.google.spanner.v1.Type result) {
         result.code_ = code_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.arrayElementType_ = arrayElementTypeBuilder_ == null
-            ? arrayElementType_
-            : arrayElementTypeBuilder_.build();
+        result.arrayElementType_ =
+            arrayElementTypeBuilder_ == null ? arrayElementType_ : arrayElementTypeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.structType_ = structTypeBuilder_ == null
-            ? structType_
-            : structTypeBuilder_.build();
+        result.structType_ = structTypeBuilder_ == null ? structType_ : structTypeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
         result.typeAnnotation_ = typeAnnotation_;
@@ -496,38 +550,39 @@ private void buildPartial0(com.google.spanner.v1.Type 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.spanner.v1.Type) {
-        return mergeFrom((com.google.spanner.v1.Type)other);
+        return mergeFrom((com.google.spanner.v1.Type) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -574,36 +629,38 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              code_ = input.readEnum();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 8
-            case 18: {
-              input.readMessage(
-                  getArrayElementTypeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getStructTypeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 32: {
-              typeAnnotation_ = input.readEnum();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 32
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                code_ = input.readEnum();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 8
+            case 18:
+              {
+                input.readMessage(
+                    getArrayElementTypeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getStructTypeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 32:
+              {
+                typeAnnotation_ = input.readEnum();
+                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) {
@@ -613,26 +670,34 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private int code_ = 0;
     /**
+     *
+     *
      * 
      * Required. The [TypeCode][google.spanner.v1.TypeCode] for this type.
      * 
* * .google.spanner.v1.TypeCode code = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The enum numeric value on the wire for code. */ - @java.lang.Override public int getCodeValue() { + @java.lang.Override + public int getCodeValue() { return code_; } /** + * + * *
      * Required. The [TypeCode][google.spanner.v1.TypeCode] for this type.
      * 
* * .google.spanner.v1.TypeCode code = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The enum numeric value on the wire for code to set. * @return This builder for chaining. */ @@ -643,11 +708,14 @@ public Builder setCodeValue(int value) { return this; } /** + * + * *
      * Required. The [TypeCode][google.spanner.v1.TypeCode] for this type.
      * 
* * .google.spanner.v1.TypeCode code = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The code. */ @java.lang.Override @@ -656,11 +724,14 @@ public com.google.spanner.v1.TypeCode getCode() { return result == null ? com.google.spanner.v1.TypeCode.UNRECOGNIZED : result; } /** + * + * *
      * Required. The [TypeCode][google.spanner.v1.TypeCode] for this type.
      * 
* * .google.spanner.v1.TypeCode code = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The code to set. * @return This builder for chaining. */ @@ -674,11 +745,14 @@ public Builder setCode(com.google.spanner.v1.TypeCode value) { return this; } /** + * + * *
      * Required. The [TypeCode][google.spanner.v1.TypeCode] for this type.
      * 
* * .google.spanner.v1.TypeCode code = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearCode() { @@ -690,36 +764,49 @@ public Builder clearCode() { private com.google.spanner.v1.Type arrayElementType_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.spanner.v1.Type, com.google.spanner.v1.Type.Builder, com.google.spanner.v1.TypeOrBuilder> arrayElementTypeBuilder_; + com.google.spanner.v1.Type, + com.google.spanner.v1.Type.Builder, + com.google.spanner.v1.TypeOrBuilder> + arrayElementTypeBuilder_; /** + * + * *
      * If [code][google.spanner.v1.Type.code] == [ARRAY][google.spanner.v1.TypeCode.ARRAY], then `array_element_type`
      * is the type of the array elements.
      * 
* * .google.spanner.v1.Type array_element_type = 2; + * * @return Whether the arrayElementType field is set. */ public boolean hasArrayElementType() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * If [code][google.spanner.v1.Type.code] == [ARRAY][google.spanner.v1.TypeCode.ARRAY], then `array_element_type`
      * is the type of the array elements.
      * 
* * .google.spanner.v1.Type array_element_type = 2; + * * @return The arrayElementType. */ public com.google.spanner.v1.Type getArrayElementType() { if (arrayElementTypeBuilder_ == null) { - return arrayElementType_ == null ? com.google.spanner.v1.Type.getDefaultInstance() : arrayElementType_; + return arrayElementType_ == null + ? com.google.spanner.v1.Type.getDefaultInstance() + : arrayElementType_; } else { return arrayElementTypeBuilder_.getMessage(); } } /** + * + * *
      * If [code][google.spanner.v1.Type.code] == [ARRAY][google.spanner.v1.TypeCode.ARRAY], then `array_element_type`
      * is the type of the array elements.
@@ -741,6 +828,8 @@ public Builder setArrayElementType(com.google.spanner.v1.Type value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If [code][google.spanner.v1.Type.code] == [ARRAY][google.spanner.v1.TypeCode.ARRAY], then `array_element_type`
      * is the type of the array elements.
@@ -748,8 +837,7 @@ public Builder setArrayElementType(com.google.spanner.v1.Type value) {
      *
      * .google.spanner.v1.Type array_element_type = 2;
      */
-    public Builder setArrayElementType(
-        com.google.spanner.v1.Type.Builder builderForValue) {
+    public Builder setArrayElementType(com.google.spanner.v1.Type.Builder builderForValue) {
       if (arrayElementTypeBuilder_ == null) {
         arrayElementType_ = builderForValue.build();
       } else {
@@ -760,6 +848,8 @@ public Builder setArrayElementType(
       return this;
     }
     /**
+     *
+     *
      * 
      * If [code][google.spanner.v1.Type.code] == [ARRAY][google.spanner.v1.TypeCode.ARRAY], then `array_element_type`
      * is the type of the array elements.
@@ -769,9 +859,9 @@ public Builder setArrayElementType(
      */
     public Builder mergeArrayElementType(com.google.spanner.v1.Type value) {
       if (arrayElementTypeBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0) &&
-          arrayElementType_ != null &&
-          arrayElementType_ != com.google.spanner.v1.Type.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0)
+            && arrayElementType_ != null
+            && arrayElementType_ != com.google.spanner.v1.Type.getDefaultInstance()) {
           getArrayElementTypeBuilder().mergeFrom(value);
         } else {
           arrayElementType_ = value;
@@ -784,6 +874,8 @@ public Builder mergeArrayElementType(com.google.spanner.v1.Type value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If [code][google.spanner.v1.Type.code] == [ARRAY][google.spanner.v1.TypeCode.ARRAY], then `array_element_type`
      * is the type of the array elements.
@@ -802,6 +894,8 @@ public Builder clearArrayElementType() {
       return this;
     }
     /**
+     *
+     *
      * 
      * If [code][google.spanner.v1.Type.code] == [ARRAY][google.spanner.v1.TypeCode.ARRAY], then `array_element_type`
      * is the type of the array elements.
@@ -815,6 +909,8 @@ public com.google.spanner.v1.Type.Builder getArrayElementTypeBuilder() {
       return getArrayElementTypeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * If [code][google.spanner.v1.Type.code] == [ARRAY][google.spanner.v1.TypeCode.ARRAY], then `array_element_type`
      * is the type of the array elements.
@@ -826,11 +922,14 @@ public com.google.spanner.v1.TypeOrBuilder getArrayElementTypeOrBuilder() {
       if (arrayElementTypeBuilder_ != null) {
         return arrayElementTypeBuilder_.getMessageOrBuilder();
       } else {
-        return arrayElementType_ == null ?
-            com.google.spanner.v1.Type.getDefaultInstance() : arrayElementType_;
+        return arrayElementType_ == null
+            ? com.google.spanner.v1.Type.getDefaultInstance()
+            : arrayElementType_;
       }
     }
     /**
+     *
+     *
      * 
      * If [code][google.spanner.v1.Type.code] == [ARRAY][google.spanner.v1.TypeCode.ARRAY], then `array_element_type`
      * is the type of the array elements.
@@ -839,14 +938,17 @@ public com.google.spanner.v1.TypeOrBuilder getArrayElementTypeOrBuilder() {
      * .google.spanner.v1.Type array_element_type = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.spanner.v1.Type, com.google.spanner.v1.Type.Builder, com.google.spanner.v1.TypeOrBuilder> 
+            com.google.spanner.v1.Type,
+            com.google.spanner.v1.Type.Builder,
+            com.google.spanner.v1.TypeOrBuilder>
         getArrayElementTypeFieldBuilder() {
       if (arrayElementTypeBuilder_ == null) {
-        arrayElementTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.Type, com.google.spanner.v1.Type.Builder, com.google.spanner.v1.TypeOrBuilder>(
-                getArrayElementType(),
-                getParentForChildren(),
-                isClean());
+        arrayElementTypeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.spanner.v1.Type,
+                com.google.spanner.v1.Type.Builder,
+                com.google.spanner.v1.TypeOrBuilder>(
+                getArrayElementType(), getParentForChildren(), isClean());
         arrayElementType_ = null;
       }
       return arrayElementTypeBuilder_;
@@ -854,36 +956,49 @@ public com.google.spanner.v1.TypeOrBuilder getArrayElementTypeOrBuilder() {
 
     private com.google.spanner.v1.StructType structType_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.spanner.v1.StructType, com.google.spanner.v1.StructType.Builder, com.google.spanner.v1.StructTypeOrBuilder> structTypeBuilder_;
+            com.google.spanner.v1.StructType,
+            com.google.spanner.v1.StructType.Builder,
+            com.google.spanner.v1.StructTypeOrBuilder>
+        structTypeBuilder_;
     /**
+     *
+     *
      * 
      * If [code][google.spanner.v1.Type.code] == [STRUCT][google.spanner.v1.TypeCode.STRUCT], then `struct_type`
      * provides type information for the struct's fields.
      * 
* * .google.spanner.v1.StructType struct_type = 3; + * * @return Whether the structType field is set. */ public boolean hasStructType() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * If [code][google.spanner.v1.Type.code] == [STRUCT][google.spanner.v1.TypeCode.STRUCT], then `struct_type`
      * provides type information for the struct's fields.
      * 
* * .google.spanner.v1.StructType struct_type = 3; + * * @return The structType. */ public com.google.spanner.v1.StructType getStructType() { if (structTypeBuilder_ == null) { - return structType_ == null ? com.google.spanner.v1.StructType.getDefaultInstance() : structType_; + return structType_ == null + ? com.google.spanner.v1.StructType.getDefaultInstance() + : structType_; } else { return structTypeBuilder_.getMessage(); } } /** + * + * *
      * If [code][google.spanner.v1.Type.code] == [STRUCT][google.spanner.v1.TypeCode.STRUCT], then `struct_type`
      * provides type information for the struct's fields.
@@ -905,6 +1020,8 @@ public Builder setStructType(com.google.spanner.v1.StructType value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If [code][google.spanner.v1.Type.code] == [STRUCT][google.spanner.v1.TypeCode.STRUCT], then `struct_type`
      * provides type information for the struct's fields.
@@ -912,8 +1029,7 @@ public Builder setStructType(com.google.spanner.v1.StructType value) {
      *
      * .google.spanner.v1.StructType struct_type = 3;
      */
-    public Builder setStructType(
-        com.google.spanner.v1.StructType.Builder builderForValue) {
+    public Builder setStructType(com.google.spanner.v1.StructType.Builder builderForValue) {
       if (structTypeBuilder_ == null) {
         structType_ = builderForValue.build();
       } else {
@@ -924,6 +1040,8 @@ public Builder setStructType(
       return this;
     }
     /**
+     *
+     *
      * 
      * If [code][google.spanner.v1.Type.code] == [STRUCT][google.spanner.v1.TypeCode.STRUCT], then `struct_type`
      * provides type information for the struct's fields.
@@ -933,9 +1051,9 @@ public Builder setStructType(
      */
     public Builder mergeStructType(com.google.spanner.v1.StructType value) {
       if (structTypeBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0) &&
-          structType_ != null &&
-          structType_ != com.google.spanner.v1.StructType.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0)
+            && structType_ != null
+            && structType_ != com.google.spanner.v1.StructType.getDefaultInstance()) {
           getStructTypeBuilder().mergeFrom(value);
         } else {
           structType_ = value;
@@ -948,6 +1066,8 @@ public Builder mergeStructType(com.google.spanner.v1.StructType value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If [code][google.spanner.v1.Type.code] == [STRUCT][google.spanner.v1.TypeCode.STRUCT], then `struct_type`
      * provides type information for the struct's fields.
@@ -966,6 +1086,8 @@ public Builder clearStructType() {
       return this;
     }
     /**
+     *
+     *
      * 
      * If [code][google.spanner.v1.Type.code] == [STRUCT][google.spanner.v1.TypeCode.STRUCT], then `struct_type`
      * provides type information for the struct's fields.
@@ -979,6 +1101,8 @@ public com.google.spanner.v1.StructType.Builder getStructTypeBuilder() {
       return getStructTypeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * If [code][google.spanner.v1.Type.code] == [STRUCT][google.spanner.v1.TypeCode.STRUCT], then `struct_type`
      * provides type information for the struct's fields.
@@ -990,11 +1114,14 @@ public com.google.spanner.v1.StructTypeOrBuilder getStructTypeOrBuilder() {
       if (structTypeBuilder_ != null) {
         return structTypeBuilder_.getMessageOrBuilder();
       } else {
-        return structType_ == null ?
-            com.google.spanner.v1.StructType.getDefaultInstance() : structType_;
+        return structType_ == null
+            ? com.google.spanner.v1.StructType.getDefaultInstance()
+            : structType_;
       }
     }
     /**
+     *
+     *
      * 
      * If [code][google.spanner.v1.Type.code] == [STRUCT][google.spanner.v1.TypeCode.STRUCT], then `struct_type`
      * provides type information for the struct's fields.
@@ -1003,14 +1130,17 @@ public com.google.spanner.v1.StructTypeOrBuilder getStructTypeOrBuilder() {
      * .google.spanner.v1.StructType struct_type = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.spanner.v1.StructType, com.google.spanner.v1.StructType.Builder, com.google.spanner.v1.StructTypeOrBuilder> 
+            com.google.spanner.v1.StructType,
+            com.google.spanner.v1.StructType.Builder,
+            com.google.spanner.v1.StructTypeOrBuilder>
         getStructTypeFieldBuilder() {
       if (structTypeBuilder_ == null) {
-        structTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.spanner.v1.StructType, com.google.spanner.v1.StructType.Builder, com.google.spanner.v1.StructTypeOrBuilder>(
-                getStructType(),
-                getParentForChildren(),
-                isClean());
+        structTypeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.spanner.v1.StructType,
+                com.google.spanner.v1.StructType.Builder,
+                com.google.spanner.v1.StructTypeOrBuilder>(
+                getStructType(), getParentForChildren(), isClean());
         structType_ = null;
       }
       return structTypeBuilder_;
@@ -1018,6 +1148,8 @@ public com.google.spanner.v1.StructTypeOrBuilder getStructTypeOrBuilder() {
 
     private int typeAnnotation_ = 0;
     /**
+     *
+     *
      * 
      * The [TypeAnnotationCode][google.spanner.v1.TypeAnnotationCode] that disambiguates SQL type that Spanner will
      * use to represent values of this type during query processing. This is
@@ -1028,12 +1160,16 @@ public com.google.spanner.v1.StructTypeOrBuilder getStructTypeOrBuilder() {
      * 
* * .google.spanner.v1.TypeAnnotationCode type_annotation = 4; + * * @return The enum numeric value on the wire for typeAnnotation. */ - @java.lang.Override public int getTypeAnnotationValue() { + @java.lang.Override + public int getTypeAnnotationValue() { return typeAnnotation_; } /** + * + * *
      * The [TypeAnnotationCode][google.spanner.v1.TypeAnnotationCode] that disambiguates SQL type that Spanner will
      * use to represent values of this type during query processing. This is
@@ -1044,6 +1180,7 @@ public com.google.spanner.v1.StructTypeOrBuilder getStructTypeOrBuilder() {
      * 
* * .google.spanner.v1.TypeAnnotationCode type_annotation = 4; + * * @param value The enum numeric value on the wire for typeAnnotation to set. * @return This builder for chaining. */ @@ -1054,6 +1191,8 @@ public Builder setTypeAnnotationValue(int value) { return this; } /** + * + * *
      * The [TypeAnnotationCode][google.spanner.v1.TypeAnnotationCode] that disambiguates SQL type that Spanner will
      * use to represent values of this type during query processing. This is
@@ -1064,14 +1203,18 @@ public Builder setTypeAnnotationValue(int value) {
      * 
* * .google.spanner.v1.TypeAnnotationCode type_annotation = 4; + * * @return The typeAnnotation. */ @java.lang.Override public com.google.spanner.v1.TypeAnnotationCode getTypeAnnotation() { - com.google.spanner.v1.TypeAnnotationCode result = com.google.spanner.v1.TypeAnnotationCode.forNumber(typeAnnotation_); + com.google.spanner.v1.TypeAnnotationCode result = + com.google.spanner.v1.TypeAnnotationCode.forNumber(typeAnnotation_); return result == null ? com.google.spanner.v1.TypeAnnotationCode.UNRECOGNIZED : result; } /** + * + * *
      * The [TypeAnnotationCode][google.spanner.v1.TypeAnnotationCode] that disambiguates SQL type that Spanner will
      * use to represent values of this type during query processing. This is
@@ -1082,6 +1225,7 @@ public com.google.spanner.v1.TypeAnnotationCode getTypeAnnotation() {
      * 
* * .google.spanner.v1.TypeAnnotationCode type_annotation = 4; + * * @param value The typeAnnotation to set. * @return This builder for chaining. */ @@ -1095,6 +1239,8 @@ public Builder setTypeAnnotation(com.google.spanner.v1.TypeAnnotationCode value) return this; } /** + * + * *
      * The [TypeAnnotationCode][google.spanner.v1.TypeAnnotationCode] that disambiguates SQL type that Spanner will
      * use to represent values of this type during query processing. This is
@@ -1105,6 +1251,7 @@ public Builder setTypeAnnotation(com.google.spanner.v1.TypeAnnotationCode value)
      * 
* * .google.spanner.v1.TypeAnnotationCode type_annotation = 4; + * * @return This builder for chaining. */ public Builder clearTypeAnnotation() { @@ -1113,9 +1260,9 @@ public Builder clearTypeAnnotation() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1125,12 +1272,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.spanner.v1.Type) } // @@protoc_insertion_point(class_scope:google.spanner.v1.Type) private static final com.google.spanner.v1.Type DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.spanner.v1.Type(); } @@ -1139,27 +1286,27 @@ public static com.google.spanner.v1.Type getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Type parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Type parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1174,6 +1321,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.spanner.v1.Type getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeAnnotationCode.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeAnnotationCode.java similarity index 77% rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeAnnotationCode.java rename to proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeAnnotationCode.java index 349edb040d1..3c62b7ea1b2 100644 --- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeAnnotationCode.java +++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeAnnotationCode.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/spanner/v1/type.proto package com.google.spanner.v1; /** + * + * *
  * `TypeAnnotationCode` is used as a part of [Type][google.spanner.v1.Type] to
  * disambiguate SQL types that should be used for a given Cloud Spanner value.
@@ -14,9 +31,10 @@
  *
  * Protobuf enum {@code google.spanner.v1.TypeAnnotationCode}
  */
-public enum TypeAnnotationCode
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum TypeAnnotationCode implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * Not specified.
    * 
@@ -25,6 +43,8 @@ public enum TypeAnnotationCode */ TYPE_ANNOTATION_CODE_UNSPECIFIED(0), /** + * + * *
    * PostgreSQL compatible NUMERIC type. This annotation needs to be applied to
    * [Type][google.spanner.v1.Type] instances having [NUMERIC][google.spanner.v1.TypeCode.NUMERIC]
@@ -38,6 +58,8 @@ public enum TypeAnnotationCode
    */
   PG_NUMERIC(2),
   /**
+   *
+   *
    * 
    * PostgreSQL compatible JSONB type. This annotation needs to be applied to
    * [Type][google.spanner.v1.Type] instances having [JSON][google.spanner.v1.TypeCode.JSON]
@@ -54,6 +76,8 @@ public enum TypeAnnotationCode
   ;
 
   /**
+   *
+   *
    * 
    * Not specified.
    * 
@@ -62,6 +86,8 @@ public enum TypeAnnotationCode */ public static final int TYPE_ANNOTATION_CODE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * PostgreSQL compatible NUMERIC type. This annotation needs to be applied to
    * [Type][google.spanner.v1.Type] instances having [NUMERIC][google.spanner.v1.TypeCode.NUMERIC]
@@ -75,6 +101,8 @@ public enum TypeAnnotationCode
    */
   public static final int PG_NUMERIC_VALUE = 2;
   /**
+   *
+   *
    * 
    * PostgreSQL compatible JSONB type. This annotation needs to be applied to
    * [Type][google.spanner.v1.Type] instances having [JSON][google.spanner.v1.TypeCode.JSON]
@@ -88,7 +116,6 @@ public enum TypeAnnotationCode
    */
   public static final int PG_JSONB_VALUE = 3;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -113,39 +140,42 @@ public static TypeAnnotationCode valueOf(int value) {
    */
   public static TypeAnnotationCode forNumber(int value) {
     switch (value) {
-      case 0: return TYPE_ANNOTATION_CODE_UNSPECIFIED;
-      case 2: return PG_NUMERIC;
-      case 3: return PG_JSONB;
-      default: return null;
+      case 0:
+        return TYPE_ANNOTATION_CODE_UNSPECIFIED;
+      case 2:
+        return PG_NUMERIC;
+      case 3:
+        return PG_JSONB;
+      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<
-      TypeAnnotationCode> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public TypeAnnotationCode findValueByNumber(int number) {
-            return TypeAnnotationCode.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 TypeAnnotationCode findValueByNumber(int number) {
+              return TypeAnnotationCode.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.spanner.v1.TypeProto.getDescriptor().getEnumTypes().get(1);
   }
 
@@ -154,8 +184,7 @@ public TypeAnnotationCode findValueByNumber(int number) {
   public static TypeAnnotationCode 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;
@@ -171,4 +200,3 @@ private TypeAnnotationCode(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.spanner.v1.TypeAnnotationCode)
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeCode.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeCode.java
similarity index 80%
rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeCode.java
rename to proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeCode.java
index dbe8bcfdf0e..4b6561e9def 100644
--- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeCode.java
+++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeCode.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/v1/type.proto
 
 package com.google.spanner.v1;
 
 /**
+ *
+ *
  * 
  * `TypeCode` is used as part of [Type][google.spanner.v1.Type] to
  * indicate the type of a Cloud Spanner value.
@@ -15,9 +32,10 @@
  *
  * Protobuf enum {@code google.spanner.v1.TypeCode}
  */
-public enum TypeCode
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum TypeCode implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * Not specified.
    * 
@@ -26,6 +44,8 @@ public enum TypeCode */ TYPE_CODE_UNSPECIFIED(0), /** + * + * *
    * Encoded as JSON `true` or `false`.
    * 
@@ -34,6 +54,8 @@ public enum TypeCode */ BOOL(1), /** + * + * *
    * Encoded as `string`, in decimal format.
    * 
@@ -42,6 +64,8 @@ public enum TypeCode */ INT64(2), /** + * + * *
    * Encoded as `number`, or the strings `"NaN"`, `"Infinity"`, or
    * `"-Infinity"`.
@@ -51,6 +75,8 @@ public enum TypeCode
    */
   FLOAT64(3),
   /**
+   *
+   *
    * 
    * Encoded as `string` in RFC 3339 timestamp format. The time zone
    * must be present, and must be `"Z"`.
@@ -65,6 +91,8 @@ public enum TypeCode
    */
   TIMESTAMP(4),
   /**
+   *
+   *
    * 
    * Encoded as `string` in RFC 3339 date format.
    * 
@@ -73,6 +101,8 @@ public enum TypeCode */ DATE(5), /** + * + * *
    * Encoded as `string`.
    * 
@@ -81,6 +111,8 @@ public enum TypeCode */ STRING(6), /** + * + * *
    * Encoded as a base64-encoded `string`, as described in RFC 4648,
    * section 4.
@@ -90,6 +122,8 @@ public enum TypeCode
    */
   BYTES(7),
   /**
+   *
+   *
    * 
    * Encoded as `list`, where the list elements are represented
    * according to
@@ -100,6 +134,8 @@ public enum TypeCode
    */
   ARRAY(8),
   /**
+   *
+   *
    * 
    * Encoded as `list`, where list element `i` is represented according
    * to [struct_type.fields[i]][google.spanner.v1.StructType.fields].
@@ -109,6 +145,8 @@ public enum TypeCode
    */
   STRUCT(9),
   /**
+   *
+   *
    * 
    * Encoded as `string`, in decimal format or scientific notation format.
    * <br>Decimal format:
@@ -124,6 +162,8 @@ public enum TypeCode
    */
   NUMERIC(10),
   /**
+   *
+   *
    * 
    * Encoded as a JSON-formatted `string` as described in RFC 7159. The
    * following rules are applied when parsing JSON input:
@@ -141,6 +181,8 @@ public enum TypeCode
   ;
 
   /**
+   *
+   *
    * 
    * Not specified.
    * 
@@ -149,6 +191,8 @@ public enum TypeCode */ public static final int TYPE_CODE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Encoded as JSON `true` or `false`.
    * 
@@ -157,6 +201,8 @@ public enum TypeCode */ public static final int BOOL_VALUE = 1; /** + * + * *
    * Encoded as `string`, in decimal format.
    * 
@@ -165,6 +211,8 @@ public enum TypeCode */ public static final int INT64_VALUE = 2; /** + * + * *
    * Encoded as `number`, or the strings `"NaN"`, `"Infinity"`, or
    * `"-Infinity"`.
@@ -174,6 +222,8 @@ public enum TypeCode
    */
   public static final int FLOAT64_VALUE = 3;
   /**
+   *
+   *
    * 
    * Encoded as `string` in RFC 3339 timestamp format. The time zone
    * must be present, and must be `"Z"`.
@@ -188,6 +238,8 @@ public enum TypeCode
    */
   public static final int TIMESTAMP_VALUE = 4;
   /**
+   *
+   *
    * 
    * Encoded as `string` in RFC 3339 date format.
    * 
@@ -196,6 +248,8 @@ public enum TypeCode */ public static final int DATE_VALUE = 5; /** + * + * *
    * Encoded as `string`.
    * 
@@ -204,6 +258,8 @@ public enum TypeCode */ public static final int STRING_VALUE = 6; /** + * + * *
    * Encoded as a base64-encoded `string`, as described in RFC 4648,
    * section 4.
@@ -213,6 +269,8 @@ public enum TypeCode
    */
   public static final int BYTES_VALUE = 7;
   /**
+   *
+   *
    * 
    * Encoded as `list`, where the list elements are represented
    * according to
@@ -223,6 +281,8 @@ public enum TypeCode
    */
   public static final int ARRAY_VALUE = 8;
   /**
+   *
+   *
    * 
    * Encoded as `list`, where list element `i` is represented according
    * to [struct_type.fields[i]][google.spanner.v1.StructType.fields].
@@ -232,6 +292,8 @@ public enum TypeCode
    */
   public static final int STRUCT_VALUE = 9;
   /**
+   *
+   *
    * 
    * Encoded as `string`, in decimal format or scientific notation format.
    * <br>Decimal format:
@@ -247,6 +309,8 @@ public enum TypeCode
    */
   public static final int NUMERIC_VALUE = 10;
   /**
+   *
+   *
    * 
    * Encoded as a JSON-formatted `string` as described in RFC 7159. The
    * following rules are applied when parsing JSON input:
@@ -261,7 +325,6 @@ public enum TypeCode
    */
   public static final int JSON_VALUE = 11;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -286,58 +349,67 @@ public static TypeCode valueOf(int value) {
    */
   public static TypeCode forNumber(int value) {
     switch (value) {
-      case 0: return TYPE_CODE_UNSPECIFIED;
-      case 1: return BOOL;
-      case 2: return INT64;
-      case 3: return FLOAT64;
-      case 4: return TIMESTAMP;
-      case 5: return DATE;
-      case 6: return STRING;
-      case 7: return BYTES;
-      case 8: return ARRAY;
-      case 9: return STRUCT;
-      case 10: return NUMERIC;
-      case 11: return JSON;
-      default: return null;
+      case 0:
+        return TYPE_CODE_UNSPECIFIED;
+      case 1:
+        return BOOL;
+      case 2:
+        return INT64;
+      case 3:
+        return FLOAT64;
+      case 4:
+        return TIMESTAMP;
+      case 5:
+        return DATE;
+      case 6:
+        return STRING;
+      case 7:
+        return BYTES;
+      case 8:
+        return ARRAY;
+      case 9:
+        return STRUCT;
+      case 10:
+        return NUMERIC;
+      case 11:
+        return JSON;
+      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<
-      TypeCode> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public TypeCode findValueByNumber(int number) {
-            return TypeCode.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 TypeCode findValueByNumber(int number) {
+          return TypeCode.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.spanner.v1.TypeProto.getDescriptor().getEnumTypes().get(0);
   }
 
   private static final TypeCode[] VALUES = values();
 
-  public static TypeCode valueOf(
-      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static TypeCode 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;
@@ -353,4 +425,3 @@ private TypeCode(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.spanner.v1.TypeCode)
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeOrBuilder.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeOrBuilder.java
similarity index 85%
rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeOrBuilder.java
rename to proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeOrBuilder.java
index 90b67625756..4c78a470d6d 100644
--- a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeOrBuilder.java
+++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeOrBuilder.java
@@ -1,52 +1,82 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/spanner/v1/type.proto
 
 package com.google.spanner.v1;
 
-public interface TypeOrBuilder extends
+public interface TypeOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.spanner.v1.Type)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The [TypeCode][google.spanner.v1.TypeCode] for this type.
    * 
* * .google.spanner.v1.TypeCode code = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The enum numeric value on the wire for code. */ int getCodeValue(); /** + * + * *
    * Required. The [TypeCode][google.spanner.v1.TypeCode] for this type.
    * 
* * .google.spanner.v1.TypeCode code = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The code. */ com.google.spanner.v1.TypeCode getCode(); /** + * + * *
    * If [code][google.spanner.v1.Type.code] == [ARRAY][google.spanner.v1.TypeCode.ARRAY], then `array_element_type`
    * is the type of the array elements.
    * 
* * .google.spanner.v1.Type array_element_type = 2; + * * @return Whether the arrayElementType field is set. */ boolean hasArrayElementType(); /** + * + * *
    * If [code][google.spanner.v1.Type.code] == [ARRAY][google.spanner.v1.TypeCode.ARRAY], then `array_element_type`
    * is the type of the array elements.
    * 
* * .google.spanner.v1.Type array_element_type = 2; + * * @return The arrayElementType. */ com.google.spanner.v1.Type getArrayElementType(); /** + * + * *
    * If [code][google.spanner.v1.Type.code] == [ARRAY][google.spanner.v1.TypeCode.ARRAY], then `array_element_type`
    * is the type of the array elements.
@@ -57,26 +87,34 @@ public interface TypeOrBuilder extends
   com.google.spanner.v1.TypeOrBuilder getArrayElementTypeOrBuilder();
 
   /**
+   *
+   *
    * 
    * If [code][google.spanner.v1.Type.code] == [STRUCT][google.spanner.v1.TypeCode.STRUCT], then `struct_type`
    * provides type information for the struct's fields.
    * 
* * .google.spanner.v1.StructType struct_type = 3; + * * @return Whether the structType field is set. */ boolean hasStructType(); /** + * + * *
    * If [code][google.spanner.v1.Type.code] == [STRUCT][google.spanner.v1.TypeCode.STRUCT], then `struct_type`
    * provides type information for the struct's fields.
    * 
* * .google.spanner.v1.StructType struct_type = 3; + * * @return The structType. */ com.google.spanner.v1.StructType getStructType(); /** + * + * *
    * If [code][google.spanner.v1.Type.code] == [STRUCT][google.spanner.v1.TypeCode.STRUCT], then `struct_type`
    * provides type information for the struct's fields.
@@ -87,6 +125,8 @@ public interface TypeOrBuilder extends
   com.google.spanner.v1.StructTypeOrBuilder getStructTypeOrBuilder();
 
   /**
+   *
+   *
    * 
    * The [TypeAnnotationCode][google.spanner.v1.TypeAnnotationCode] that disambiguates SQL type that Spanner will
    * use to represent values of this type during query processing. This is
@@ -97,10 +137,13 @@ public interface TypeOrBuilder extends
    * 
* * .google.spanner.v1.TypeAnnotationCode type_annotation = 4; + * * @return The enum numeric value on the wire for typeAnnotation. */ int getTypeAnnotationValue(); /** + * + * *
    * The [TypeAnnotationCode][google.spanner.v1.TypeAnnotationCode] that disambiguates SQL type that Spanner will
    * use to represent values of this type during query processing. This is
@@ -111,6 +154,7 @@ public interface TypeOrBuilder extends
    * 
* * .google.spanner.v1.TypeAnnotationCode type_annotation = 4; + * * @return The typeAnnotation. */ com.google.spanner.v1.TypeAnnotationCode getTypeAnnotation(); diff --git a/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeProto.java b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeProto.java new file mode 100644 index 00000000000..cc18356b426 --- /dev/null +++ b/proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeProto.java @@ -0,0 +1,112 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/spanner/v1/type.proto + +package com.google.spanner.v1; + +public final class TypeProto { + private TypeProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_Type_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_Type_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_StructType_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_StructType_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_spanner_v1_StructType_Field_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_spanner_v1_StructType_Field_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\034google/spanner/v1/type.proto\022\021google.s" + + "panner.v1\032\037google/api/field_behavior.pro" + + "to\"\337\001\n\004Type\022.\n\004code\030\001 \001(\0162\033.google.spann" + + "er.v1.TypeCodeB\003\340A\002\0223\n\022array_element_typ" + + "e\030\002 \001(\0132\027.google.spanner.v1.Type\0222\n\013stru" + + "ct_type\030\003 \001(\0132\035.google.spanner.v1.Struct" + + "Type\022>\n\017type_annotation\030\004 \001(\0162%.google.s" + + "panner.v1.TypeAnnotationCode\"\177\n\nStructTy" + + "pe\0223\n\006fields\030\001 \003(\0132#.google.spanner.v1.S" + + "tructType.Field\032<\n\005Field\022\014\n\004name\030\001 \001(\t\022%" + + "\n\004type\030\002 \001(\0132\027.google.spanner.v1.Type*\245\001" + + "\n\010TypeCode\022\031\n\025TYPE_CODE_UNSPECIFIED\020\000\022\010\n" + + "\004BOOL\020\001\022\t\n\005INT64\020\002\022\013\n\007FLOAT64\020\003\022\r\n\tTIMES" + + "TAMP\020\004\022\010\n\004DATE\020\005\022\n\n\006STRING\020\006\022\t\n\005BYTES\020\007\022" + + "\t\n\005ARRAY\020\010\022\n\n\006STRUCT\020\t\022\013\n\007NUMERIC\020\n\022\010\n\004J" + + "SON\020\013*X\n\022TypeAnnotationCode\022$\n TYPE_ANNO" + + "TATION_CODE_UNSPECIFIED\020\000\022\016\n\nPG_NUMERIC\020" + + "\002\022\014\n\010PG_JSONB\020\003B\254\001\n\025com.google.spanner.v" + + "1B\tTypeProtoP\001Z5cloud.google.com/go/span" + + "ner/apiv1/spannerpb;spannerpb\252\002\027Google.C" + + "loud.Spanner.V1\312\002\027Google\\Cloud\\Spanner\\V" + + "1\352\002\032Google::Cloud::Spanner::V1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + }); + internal_static_google_spanner_v1_Type_descriptor = getDescriptor().getMessageTypes().get(0); + internal_static_google_spanner_v1_Type_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_v1_Type_descriptor, + new java.lang.String[] { + "Code", "ArrayElementType", "StructType", "TypeAnnotation", + }); + internal_static_google_spanner_v1_StructType_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_spanner_v1_StructType_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_v1_StructType_descriptor, + new java.lang.String[] { + "Fields", + }); + internal_static_google_spanner_v1_StructType_Field_descriptor = + internal_static_google_spanner_v1_StructType_descriptor.getNestedTypes().get(0); + internal_static_google_spanner_v1_StructType_Field_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_spanner_v1_StructType_Field_descriptor, + new java.lang.String[] { + "Name", "Type", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/commit_response.proto b/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/commit_response.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/commit_response.proto rename to proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/commit_response.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/keys.proto b/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/keys.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/keys.proto rename to proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/keys.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/mutation.proto b/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/mutation.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/mutation.proto rename to proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/mutation.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/query_plan.proto b/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/query_plan.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/query_plan.proto rename to proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/query_plan.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/result_set.proto b/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/result_set.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/result_set.proto rename to proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/result_set.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/spanner.proto b/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/spanner.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/spanner.proto rename to proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/spanner.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/transaction.proto b/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/transaction.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/transaction.proto rename to proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/transaction.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/type.proto b/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/type.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/type.proto rename to proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/type.proto